@claudiolabs/claudin 1.1.2 → 1.1.4
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/README.md +28 -24
- package/dist/chunks/AgentTool-1.1.4-3bagecge.mjs +1 -0
- package/dist/chunks/App-1.1.4-4g3dh0nx.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.4-jxeaz5zn.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.4-9w92vdx4.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.4-x17tymwk.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.4-7fg80a35.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.4-094y677a.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.4-y4jsq70q.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.4-wwr5yxnw.mjs +7 -0
- package/dist/chunks/Doctor-1.1.4-6z4qt6jr.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.4-e5w2phrt.mjs +6 -0
- package/dist/chunks/Grove-1.1.4-yj7xbcnq.mjs +1 -0
- package/dist/chunks/ITermBackend-1.1.4-rgme07qr.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.4-nyd8ja4h.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.4-899r2pfm.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.4-749tfrvg.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.4-f019rkkj.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.4-9239x3zp.mjs +1 -0
- package/dist/chunks/REPL-1.1.4-9nb68maq.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.4-7sr86ks3.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.4-av1tzhr1.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.4-s1g49h7t.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.4-xq8vmgey.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.4-nh55ntyd.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.4-5gtjmz82.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.4-wk88hvrf.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.4-zvk6f63e.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.4-3st8cbec.mjs +1 -0
- package/dist/chunks/add-dir-1.1.4-09gsa25v.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.4-ee7w7dt5.mjs +1 -0
- package/dist/chunks/agents-1.1.4-8k4mrjt7.mjs +110 -0
- package/dist/chunks/agents-1.1.4-w929h9g2.mjs +3 -0
- package/dist/chunks/api-1.1.4-p7hbrnd7.mjs +1 -0
- package/dist/chunks/asciicast-1.1.4-7e877hqq.mjs +1 -0
- package/dist/chunks/assistant-1.1.4-jq08j7n1.mjs +1 -0
- package/dist/chunks/auth-1.1.4-d8jp870f.mjs +1 -0
- package/dist/chunks/auth-1.1.4-pjxgyew6.mjs +1 -0
- package/dist/chunks/autoMode-1.1.4-ar2t9451.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.4-6ywqc8jc.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.4-ymj2akh8.mjs +1 -0
- package/dist/chunks/branch-1.1.4-m28a3gah.mjs +4 -0
- package/dist/chunks/bridge-1.1.4-n515vy2d.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.4-p3jq4sh0.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.4-0mda1at6.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.4-pya2apxm.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.4-qw0te2bm.mjs +1 -0
- package/dist/chunks/btw-1.1.4-fyx7t7q6.mjs +1 -0
- package/dist/chunks/buddy-1.1.4-hg600pq6.mjs +3 -0
- package/dist/chunks/cacache-1.1.4-ezqx7zp6.mjs +1 -0
- package/dist/chunks/cache-probe-1.1.4-zq67w2hp.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.4-w4g7f1sd.mjs +4 -0
- package/dist/chunks/caches-1.1.4-smgwny8k.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.4-09az178f.mjs +1 -0
- package/dist/chunks/claudemd-1.1.4-zkyggtev.mjs +1 -0
- package/dist/chunks/clear-1.1.4-jpcr7zvx.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.4-ncdjyhkh.mjs +1 -0
- package/dist/chunks/cli-1.1.4-081g3k6v.mjs +2 -0
- package/dist/chunks/cli-1.1.4-08dh9fvb.mjs +2 -0
- package/dist/chunks/cli-1.1.4-0a20jx5n.mjs +18 -0
- package/dist/chunks/cli-1.1.4-0earmzgk.mjs +12 -0
- package/dist/chunks/cli-1.1.4-0efkjzrt.mjs +18 -0
- package/dist/chunks/cli-1.1.4-0k0btfq4.mjs +2 -0
- package/dist/chunks/cli-1.1.4-0nxqjpe0.mjs +133 -0
- package/dist/chunks/cli-1.1.4-0r232fpm.mjs +2 -0
- package/dist/chunks/cli-1.1.4-0smy947g.mjs +2 -0
- package/dist/chunks/cli-1.1.4-0wp3qgzs.mjs +2 -0
- package/dist/chunks/cli-1.1.4-114zcxgj.mjs +2 -0
- package/dist/chunks/cli-1.1.4-17x2wrkx.mjs +2 -0
- package/dist/chunks/cli-1.1.4-181vbtfh.mjs +2 -0
- package/dist/chunks/cli-1.1.4-1bd9da9p.mjs +4 -0
- package/dist/chunks/cli-1.1.4-1f9d29qw.mjs +2 -0
- package/dist/chunks/cli-1.1.4-1gz31tm3.mjs +2 -0
- package/dist/chunks/cli-1.1.4-1kfdt9jy.mjs +2 -0
- package/dist/chunks/cli-1.1.4-2sdcr2b4.mjs +2 -0
- package/dist/chunks/cli-1.1.4-31av4ynk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-3556r6d1.mjs +2 -0
- package/dist/chunks/cli-1.1.4-3d01w53d.mjs +2 -0
- package/dist/chunks/cli-1.1.4-3yy14yyg.mjs +2 -0
- package/dist/chunks/cli-1.1.4-3zzdhas7.mjs +2 -0
- package/dist/chunks/cli-1.1.4-40z19hth.mjs +2 -0
- package/dist/chunks/cli-1.1.4-4cg8jz3d.mjs +2 -0
- package/dist/chunks/cli-1.1.4-4esthaz8.mjs +21 -0
- package/dist/chunks/cli-1.1.4-4qsk7zj5.mjs +2 -0
- package/dist/chunks/cli-1.1.4-4tywpfrb.mjs +3 -0
- package/dist/chunks/cli-1.1.4-4yte7brd.mjs +25 -0
- package/dist/chunks/cli-1.1.4-50ktv3m1.mjs +2 -0
- package/dist/chunks/cli-1.1.4-53fvpymg.mjs +6 -0
- package/dist/chunks/cli-1.1.4-56nffz3p.mjs +17 -0
- package/dist/chunks/cli-1.1.4-5dc9c513.mjs +3 -0
- package/dist/chunks/cli-1.1.4-5ebh6981.mjs +2 -0
- package/dist/chunks/cli-1.1.4-5g0b74dj.mjs +2 -0
- package/dist/chunks/cli-1.1.4-5hz878ns.mjs +2 -0
- package/dist/chunks/cli-1.1.4-64y9aspn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6c3fshef.mjs +202 -0
- package/dist/chunks/cli-1.1.4-6c5tryej.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6eacj91j.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6f472s2j.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6h6yt6jp.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6raycx0k.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6rkzmmby.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6z69geef.mjs +5649 -0
- package/dist/chunks/cli-1.1.4-788c63fn.mjs +7 -0
- package/dist/chunks/cli-1.1.4-79y1pxkd.mjs +4 -0
- package/dist/chunks/cli-1.1.4-83vy9tsv.mjs +2 -0
- package/dist/chunks/cli-1.1.4-8hmaxd0s.mjs +2 -0
- package/dist/chunks/cli-1.1.4-8hr73xp2.mjs +2 -0
- package/dist/chunks/cli-1.1.4-8kx358k9.mjs +2 -0
- package/dist/chunks/cli-1.1.4-8rzb4wqq.mjs +4 -0
- package/dist/chunks/cli-1.1.4-99ept1n4.mjs +2 -0
- package/dist/chunks/cli-1.1.4-9cw2608s.mjs +2 -0
- package/dist/chunks/cli-1.1.4-9ms3b4tc.mjs +2 -0
- package/dist/chunks/cli-1.1.4-9tej4g5v.mjs +2 -0
- package/dist/chunks/cli-1.1.4-9x9a885k.mjs +17 -0
- package/dist/chunks/cli-1.1.4-a4fsxp91.mjs +2 -0
- package/dist/chunks/cli-1.1.4-aj4f4c5s.mjs +24 -0
- package/dist/chunks/cli-1.1.4-axp071a4.mjs +2 -0
- package/dist/chunks/cli-1.1.4-bhazhxsz.mjs +1 -0
- package/dist/chunks/cli-1.1.4-bnk38sjx.mjs +2 -0
- package/dist/chunks/cli-1.1.4-bx7r8yn5.mjs +2 -0
- package/dist/chunks/cli-1.1.4-bxd06hws.mjs +2 -0
- package/dist/chunks/cli-1.1.4-bxtvw0wr.mjs +2 -0
- package/dist/chunks/cli-1.1.4-c7a7aezt.mjs +2 -0
- package/dist/chunks/cli-1.1.4-cjw4z35m.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ck3xhtdn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ckmk4b1r.mjs +2 -0
- package/dist/chunks/cli-1.1.4-cknrfh5p.mjs +6 -0
- package/dist/chunks/cli-1.1.4-cp707f4g.mjs +2 -0
- package/dist/chunks/cli-1.1.4-cst0a515.mjs +3 -0
- package/dist/chunks/cli-1.1.4-cwnt4by7.mjs +2 -0
- package/dist/chunks/cli-1.1.4-cyy7hkcy.mjs +2 -0
- package/dist/chunks/cli-1.1.4-d5vhgtz3.mjs +2 -0
- package/dist/chunks/cli-1.1.4-d8mes9hb.mjs +2 -0
- package/dist/chunks/cli-1.1.4-da50kprz.mjs +2 -0
- package/dist/chunks/cli-1.1.4-dapq2czd.mjs +3 -0
- package/dist/chunks/cli-1.1.4-dnypqpw6.mjs +3 -0
- package/dist/chunks/cli-1.1.4-dwez6b01.mjs +2 -0
- package/dist/chunks/cli-1.1.4-e73hv9nk.mjs +4 -0
- package/dist/chunks/cli-1.1.4-edegax48.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ekbns70t.mjs +2 -0
- package/dist/chunks/cli-1.1.4-esw78wsd.mjs +2 -0
- package/dist/chunks/cli-1.1.4-etajychz.mjs +2 -0
- package/dist/chunks/cli-1.1.4-evye603x.mjs +5 -0
- package/dist/chunks/cli-1.1.4-ewczzrrj.mjs +24 -0
- package/dist/chunks/cli-1.1.4-f0ysrk67.mjs +2 -0
- package/dist/chunks/cli-1.1.4-f7y4b0px.mjs +2 -0
- package/dist/chunks/cli-1.1.4-fa18654s.mjs +2 -0
- package/dist/chunks/cli-1.1.4-fap2565a.mjs +15 -0
- package/dist/chunks/cli-1.1.4-fejb0548.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ffgmpsez.mjs +133 -0
- package/dist/chunks/cli-1.1.4-fk420f57.mjs +16 -0
- package/dist/chunks/cli-1.1.4-g21fhx9n.mjs +9 -0
- package/dist/chunks/cli-1.1.4-g6nryz17.mjs +2 -0
- package/dist/chunks/cli-1.1.4-g8kh8f9a.mjs +2 -0
- package/dist/chunks/cli-1.1.4-gag1dbkn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-gc3kgy7y.mjs +2 -0
- package/dist/chunks/cli-1.1.4-gey397p1.mjs +2 -0
- package/dist/chunks/cli-1.1.4-gfbktjpn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ghf3bx8w.mjs +20 -0
- package/dist/chunks/cli-1.1.4-gpskbg68.mjs +2 -0
- package/dist/chunks/cli-1.1.4-h2a0peqc.mjs +18 -0
- package/dist/chunks/cli-1.1.4-h3nq6gg2.mjs +12 -0
- package/dist/chunks/cli-1.1.4-h4pjzspp.mjs +58 -0
- package/dist/chunks/cli-1.1.4-ha2bfn8a.mjs +2 -0
- package/dist/chunks/cli-1.1.4-hbx9ye2g.mjs +2 -0
- package/dist/chunks/cli-1.1.4-hcp2cxz5.mjs +25 -0
- package/dist/chunks/cli-1.1.4-hdwdbbzk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-hmg1r8h3.mjs +12 -0
- package/dist/chunks/cli-1.1.4-hzx821eq.mjs +4 -0
- package/dist/chunks/cli-1.1.4-j2khf9zj.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ja9ebt3p.mjs +2 -0
- package/dist/chunks/cli-1.1.4-jbsj8fj7.mjs +2 -0
- package/dist/chunks/cli-1.1.4-je9x0pvr.mjs +2 -0
- package/dist/chunks/cli-1.1.4-jeyegjk6.mjs +2 -0
- package/dist/chunks/cli-1.1.4-jf48e5ft.mjs +24 -0
- package/dist/chunks/cli-1.1.4-jn9kbkbv.mjs +2 -0
- package/dist/chunks/cli-1.1.4-jscqx4px.mjs +2 -0
- package/dist/chunks/cli-1.1.4-k65j1mxk.mjs +9 -0
- package/dist/chunks/cli-1.1.4-k6ebhyp0.mjs +2 -0
- package/dist/chunks/cli-1.1.4-kcm529kx.mjs +2 -0
- package/dist/chunks/cli-1.1.4-m11fz0v8.mjs +2 -0
- package/dist/chunks/cli-1.1.4-m312ygm6.mjs +2 -0
- package/dist/chunks/cli-1.1.4-m3gsmnfa.mjs +2 -0
- package/dist/chunks/cli-1.1.4-m3hgkj60.mjs +2 -0
- package/dist/chunks/cli-1.1.4-memqhcjv.mjs +2 -0
- package/dist/chunks/cli-1.1.4-mjhchkyc.mjs +50 -0
- package/dist/chunks/cli-1.1.4-mjtadp4r.mjs +2 -0
- package/dist/chunks/cli-1.1.4-mkk6fe3z.mjs +2 -0
- package/dist/chunks/cli-1.1.4-mvy2zgjw.mjs +3 -0
- package/dist/chunks/cli-1.1.4-my1g33fn.mjs +3 -0
- package/dist/chunks/cli-1.1.4-mzzr964a.mjs +67 -0
- package/dist/chunks/cli-1.1.4-n1e8vyg8.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ncmgrms7.mjs +2 -0
- package/dist/chunks/cli-1.1.4-nh3sscxn.mjs +59 -0
- package/dist/chunks/cli-1.1.4-nkf9c3yn.mjs +5 -0
- package/dist/chunks/cli-1.1.4-nmjtqjhh.mjs +2 -0
- package/dist/chunks/cli-1.1.4-p2223zcm.mjs +2 -0
- package/dist/chunks/cli-1.1.4-p7tcq8ah.mjs +6 -0
- package/dist/chunks/cli-1.1.4-p7xh8tgn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-p81w8zaj.mjs +8 -0
- package/dist/chunks/cli-1.1.4-phjb22vy.mjs +2 -0
- package/dist/chunks/cli-1.1.4-phv78vpk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-pq6xvrw7.mjs +15 -0
- package/dist/chunks/cli-1.1.4-q0acv376.mjs +3 -0
- package/dist/chunks/cli-1.1.4-q6cngbfg.mjs +2 -0
- package/dist/chunks/cli-1.1.4-qe35eyha.mjs +6 -0
- package/dist/chunks/cli-1.1.4-qecgken2.mjs +2 -0
- package/dist/chunks/cli-1.1.4-qf46ypfr.mjs +2 -0
- package/dist/chunks/cli-1.1.4-qjgn7a4a.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rc28sjtd.mjs +4 -0
- package/dist/chunks/cli-1.1.4-rh4x4rv5.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rhexcyth.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rmpkkwfr.mjs +42 -0
- package/dist/chunks/cli-1.1.4-rqwqskb2.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rv3se129.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rwz7t3ph.mjs +2 -0
- package/dist/chunks/cli-1.1.4-s26ny46b.mjs +4 -0
- package/dist/chunks/cli-1.1.4-scm26s6m.mjs +34 -0
- package/dist/chunks/cli-1.1.4-shrznr3s.mjs +2 -0
- package/dist/chunks/cli-1.1.4-sm3xmtbn.mjs +6 -0
- package/dist/chunks/cli-1.1.4-smjkhzzj.mjs +4 -0
- package/dist/chunks/cli-1.1.4-ss2jxen1.mjs +2 -0
- package/dist/chunks/cli-1.1.4-te2372tc.mjs +2 -0
- package/dist/chunks/cli-1.1.4-tmrxfcjm.mjs +2 -0
- package/dist/chunks/cli-1.1.4-tsspgj1c.mjs +2 -0
- package/dist/chunks/cli-1.1.4-v67jx2fw.mjs +2 -0
- package/dist/chunks/cli-1.1.4-v85q5z49.mjs +3 -0
- package/dist/chunks/cli-1.1.4-vajq2dgc.mjs +4 -0
- package/dist/chunks/cli-1.1.4-vcg96p1c.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vdd43cyp.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vgk1xqxb.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vjfpgnyr.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vk7mw9e1.mjs +39 -0
- package/dist/chunks/cli-1.1.4-vpkm2gfp.mjs +4 -0
- package/dist/chunks/cli-1.1.4-vq2bkg07.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vye1xark.mjs +2 -0
- package/dist/chunks/cli-1.1.4-w06xm7pk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-w11nd4na.mjs +2 -0
- package/dist/chunks/cli-1.1.4-w4b4vhj9.mjs +2 -0
- package/dist/chunks/cli-1.1.4-wqxnhcfg.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ws4wcqma.mjs +2 -0
- package/dist/chunks/cli-1.1.4-wt23b5bp.mjs +2 -0
- package/dist/chunks/cli-1.1.4-wtcyy8sp.mjs +4 -0
- package/dist/chunks/cli-1.1.4-wx5t4xvj.mjs +3 -0
- package/dist/chunks/cli-1.1.4-x6hb06sj.mjs +2 -0
- package/dist/chunks/cli-1.1.4-x8m7spde.mjs +2 -0
- package/dist/chunks/cli-1.1.4-x90d3r95.mjs +2 -0
- package/dist/chunks/cli-1.1.4-xdqj8a4v.mjs +45 -0
- package/dist/chunks/cli-1.1.4-xxe2ztwq.mjs +2 -0
- package/dist/chunks/cli-1.1.4-y94ewbpk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ymrjsf78.mjs +2 -0
- package/dist/chunks/cli-1.1.4-yncbc1sd.mjs +2 -0
- package/dist/chunks/cli-1.1.4-yprszvr2.mjs +2 -0
- package/dist/chunks/cli-1.1.4-yz3t1wmd.mjs +2 -0
- package/dist/chunks/cli-1.1.4-z6qrcsfa.mjs +2 -0
- package/dist/chunks/cli-1.1.4-z8f8hc8t.mjs +12 -0
- package/dist/chunks/cli-1.1.4-z9z0gn83.mjs +15 -0
- package/dist/chunks/cli-1.1.4-zavkgdrm.mjs +2 -0
- package/dist/chunks/cli-1.1.4-zc29khqe.mjs +3 -0
- package/dist/chunks/cli-1.1.4-zp0vvhas.mjs +3 -0
- package/dist/chunks/client-1.1.4-pb5ebapt.mjs +1 -0
- package/dist/chunks/color-1.1.4-f1seyygj.mjs +1 -0
- package/dist/chunks/compact-1.1.4-2a7cwaxp.mjs +3 -0
- package/dist/chunks/config-1.1.4-j2wjnxkk.mjs +1 -0
- package/dist/chunks/config-1.1.4-jb46a3qp.mjs +1 -0
- package/dist/chunks/constants-1.1.4-cspjb06k.mjs +1 -0
- package/dist/chunks/context-1.1.4-dmyt4w9f.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.4-ckp0m156.mjs +1 -0
- package/dist/chunks/conversation-1.1.4-2grxgxr1.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.4-chappesc.mjs +1 -0
- package/dist/chunks/copy-1.1.4-7hw0khh4.mjs +9 -0
- package/dist/chunks/cost-1.1.4-kqvvdsab.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.4-ezqvt66q.mjs +1 -0
- package/dist/chunks/createSession-1.1.4-739bg1q2.mjs +1 -0
- package/dist/chunks/debug-1.1.4-4v8k6t8p.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.4-07fhy4qs.mjs +1446 -0
- package/dist/chunks/desktop-1.1.4-z8nhvfc9.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.4-qs08vv7k.mjs +1 -0
- package/dist/chunks/detection-1.1.4-knvchyz7.mjs +1 -0
- package/dist/chunks/diff-1.1.4-9k603anv.mjs +1 -0
- package/dist/chunks/doctor-1.1.4-76x4k1e3.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.4-dw4gjch2.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.4-wmn2wrxh.mjs +1 -0
- package/dist/chunks/effort-1.1.4-2bfyta5f.mjs +13 -0
- package/dist/chunks/engine-1.1.4-ds4tzxqb.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.4-k2f2p556.mjs +1 -0
- package/dist/chunks/envUtils-1.1.4-h0e2k0kk.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.4-zgvjnc3b.mjs +1 -0
- package/dist/chunks/environments-1.1.4-vvw6w76p.mjs +1 -0
- package/dist/chunks/errors-1.1.4-k81rbfst.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.4-7d1r2j0f.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.4-txkdgph9.mjs +1 -0
- package/dist/chunks/exit-1.1.4-nmtqhsmh.mjs +1 -0
- package/dist/chunks/explorer-1.1.4-z2tjcn1k.mjs +1 -0
- package/dist/chunks/export-1.1.4-sqtrqjrr.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.4-9vjje6h3.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.4-x9nwrrw4.mjs +1 -0
- package/dist/chunks/fast-1.1.4-2jebnd2f.mjs +1 -0
- package/dist/chunks/feedback-1.1.4-axgmd5k0.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.4-ftjf0rjy.mjs +1 -0
- package/dist/chunks/git-1.1.4-ress16mq.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.4-dvpz9d06.mjs +1 -0
- package/dist/chunks/goal-1.1.4-d5hgcz3t.mjs +4 -0
- package/dist/chunks/grove-1.1.4-ag51yh4b.mjs +1 -0
- package/dist/chunks/growthbook-1.1.4-2khgq1sm.mjs +1 -0
- package/dist/chunks/headless-1.1.4-833q6qkz.mjs +2 -0
- package/dist/chunks/heapdump-1.1.4-d7hqys06.mjs +6 -0
- package/dist/chunks/help-1.1.4-35bcy608.mjs +1 -0
- package/dist/chunks/hookChains-1.1.4-fcp2d666.mjs +3 -0
- package/dist/chunks/hooks-1.1.4-h1zy1fdm.mjs +1 -0
- package/dist/chunks/hooks-1.1.4-mwnf6vn4.mjs +79 -0
- package/dist/chunks/ide-1.1.4-5bagw4sy.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.4-rfdtmnfq.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.4-kj5ne7t9.mjs +1 -0
- package/dist/chunks/index-1.1.4-0mcg1bj0.mjs +1 -0
- package/dist/chunks/index-1.1.4-0tamkcjt.mjs +1 -0
- package/dist/chunks/index-1.1.4-2czk0cj2.mjs +2 -0
- package/dist/chunks/index-1.1.4-4pzf6k4d.mjs +1 -0
- package/dist/chunks/index-1.1.4-5ff5qxrs.mjs +1 -0
- package/dist/chunks/index-1.1.4-6gmnecfx.mjs +1 -0
- package/dist/chunks/index-1.1.4-6xgr5zyz.mjs +1 -0
- package/dist/chunks/index-1.1.4-9yayje25.mjs +1 -0
- package/dist/chunks/index-1.1.4-ekp3k254.mjs +1 -0
- package/dist/chunks/index-1.1.4-g4bsry7f.mjs +1 -0
- package/dist/chunks/index-1.1.4-gfbrd9p0.mjs +1 -0
- package/dist/chunks/index-1.1.4-jk66219f.mjs +30 -0
- package/dist/chunks/index-1.1.4-m5859ars.mjs +5 -0
- package/dist/chunks/index-1.1.4-m5kxdznq.mjs +1 -0
- package/dist/chunks/index-1.1.4-mr07jhdc.mjs +1 -0
- package/dist/chunks/index-1.1.4-mw4k6wk5.mjs +17 -0
- package/dist/chunks/index-1.1.4-nx0c7851.mjs +9 -0
- package/dist/chunks/index-1.1.4-p4az8jd4.mjs +9 -0
- package/dist/chunks/index-1.1.4-s48qa1fv.mjs +1 -0
- package/dist/chunks/index-1.1.4-svjv72c1.mjs +1 -0
- package/dist/chunks/index-1.1.4-tjmw2wk0.mjs +1 -0
- package/dist/chunks/index-1.1.4-v1z11db7.mjs +1 -0
- package/dist/chunks/index-1.1.4-wkgybs2k.mjs +2 -0
- package/dist/chunks/init-1.1.4-gggf2npg.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.4-0sk4h8a1.mjs +1 -0
- package/dist/chunks/ink-1.1.4-vw46vbtt.mjs +1 -0
- package/dist/chunks/insights-1.1.4-vjtfwa5p.mjs +870 -0
- package/dist/chunks/install-1.1.4-2ckjxcbg.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.4-e0tfdyjj.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.4-j30f897r.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.4-3dd1n7rj.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.4-mz31r39t.mjs +1 -0
- package/dist/chunks/keybindings-1.1.4-3rx2vnv0.mjs +2 -0
- package/dist/chunks/knowledge-1.1.4-c30znbjx.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.4-ftdcy7g4.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.4-mqdb78s1.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.4-72qxyq0t.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.4-b0wchh9x.mjs +1 -0
- package/dist/chunks/log-1.1.4-2xexxfy0.mjs +1 -0
- package/dist/chunks/main-1.1.4-wapb45da.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.4-qyy8p7f2.mjs +1 -0
- package/dist/chunks/mcp-1.1.4-h54pt8v1.mjs +1 -0
- package/dist/chunks/mcp-1.1.4-rc4pdtng.mjs +4 -0
- package/dist/chunks/mcp-1.1.4-yfnk4mfe.mjs +17 -0
- package/dist/chunks/mcpb-1.1.4-cw5mvq0x.mjs +1 -0
- package/dist/chunks/memory-1.1.4-eqm9fevt.mjs +72 -0
- package/dist/chunks/model-1.1.4-v0jfcnn8.mjs +2 -0
- package/dist/chunks/model-1.1.4-x8a7yhj1.mjs +1 -0
- package/dist/chunks/node-1.1.4-zfc18psp.mjs +12 -0
- package/dist/chunks/oauth-1.1.4-8spjkywn.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.4-k4q3wjsg.mjs +14 -0
- package/dist/chunks/output-style-1.1.4-36tkstrg.mjs +1 -0
- package/dist/chunks/package-2VNCXFNY-1.1.4-b7m4p873.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.4-g49z58pt.mjs +1 -0
- package/dist/chunks/parser-1.1.4-f8fmbx75.mjs +1 -0
- package/dist/chunks/passes-1.1.4-fps8mejy.mjs +1 -0
- package/dist/chunks/permissions-1.1.4-38svh1zd.mjs +3 -0
- package/dist/chunks/permissions-1.1.4-4g141c3c.mjs +1 -0
- package/dist/chunks/plan-1.1.4-66evqh4y.mjs +1 -0
- package/dist/chunks/plist-1.1.4-fx2qbcnp.mjs +1 -0
- package/dist/chunks/plugin-1.1.4-jjtcjgyk.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.4-fhbmfyn5.mjs +1 -0
- package/dist/chunks/plugins-1.1.4-thxg4cdf.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.4-042npmm1.mjs +2 -0
- package/dist/chunks/print-1.1.4-fxrwvp78.mjs +57 -0
- package/dist/chunks/privacy-settings-1.1.4-mmhqzkda.mjs +1 -0
- package/dist/chunks/process-1.1.4-pjq03ry2.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.4-1f4rqd6y.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.4-rpcrfdgr.mjs +9 -0
- package/dist/chunks/prompt-1.1.4-29b0dwtk.mjs +1 -0
- package/dist/chunks/prompt-1.1.4-r7wxvh91.mjs +1 -0
- package/dist/chunks/prompts-1.1.4-26y972y6.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.4-7zfqar8j.mjs +13 -0
- package/dist/chunks/provider-1.1.4-g97havfk.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.4-v8yppf0j.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.4-sr2vhead.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.4-bndvfd35.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.4-abyv44kq.mjs +34 -0
- package/dist/chunks/registry-1.1.4-2dkk6scg.mjs +1 -0
- package/dist/chunks/release-notes-1.1.4-0aqxbex3.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.4-gat28fq4.mjs +2 -0
- package/dist/chunks/remote-env-1.1.4-sn5rdvx2.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.4-pd63jnee.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.4-0wk0yffw.mjs +1 -0
- package/dist/chunks/rename-1.1.4-r9a1zc1y.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.4-rb9fzpda.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.4-cvcyz94s.mjs +1 -0
- package/dist/chunks/resume-1.1.4-3qy136p1.mjs +2 -0
- package/dist/chunks/rewind-1.1.4-c9gdxp13.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.4-6zd74fce.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.4-mvj2fn0p.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.4-j6cfgrhj.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.4-4a59zac7.mjs +1 -0
- package/dist/chunks/session-1.1.4-5504ewv9.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.4-0jmcbvvb.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.4-bkw8bzvd.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.4-jrxy5nwv.mjs +1 -0
- package/dist/chunks/settings-1.1.4-x2nhddwq.mjs +1 -0
- package/dist/chunks/setup-1.1.4-kaet4ypb.mjs +5 -0
- package/dist/chunks/sinks-1.1.4-9g0pah73.mjs +1 -0
- package/dist/chunks/skills-1.1.4-0p66nwxp.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.4-8jnqyvyn.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.4-98n3b718.mjs +1 -0
- package/dist/chunks/state-1.1.4-rm5651xg.mjs +1 -0
- package/dist/chunks/stats-1.1.4-e1vedz6r.mjs +6 -0
- package/dist/chunks/status-1.1.4-v47t86mv.mjs +1 -0
- package/dist/chunks/stickers-1.1.4-5d457j1w.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.4-svxhss0m.mjs +1 -0
- package/dist/chunks/tasks-1.1.4-cvza9kpf.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.4-v21fjxgf.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.4-8075wryx.mjs +1 -0
- package/dist/chunks/teleport-1.1.4-6rxc18rz.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.4-sd7720mx.mjs +1 -0
- package/dist/chunks/theme-1.1.4-6pphnv8h.mjs +1 -0
- package/dist/chunks/thinkback-1.1.4-wd6fcgyw.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.4-ydvvq4y6.mjs +1 -0
- package/dist/chunks/toolPool-1.1.4-v050m5b8.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.4-wg2kk5a2.mjs +1 -0
- package/dist/chunks/tools-1.1.4-g181kv47.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.4-tdeqsy06.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.4-sj3ajz7z.mjs +69 -0
- package/dist/chunks/types-1.1.4-ggcwt1pq.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.4-nrnrb8c3.mjs +4 -0
- package/dist/chunks/update-1.1.4-z8g0pneq.mjs +72 -0
- package/dist/chunks/upgrade-1.1.4-e34ebc9z.mjs +1 -0
- package/dist/chunks/upload-1.1.4-2av9969z.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.4-e3t0n54y.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.4-hghknwdd.mjs +1 -0
- package/dist/chunks/usage-1.1.4-wc38b22t.mjs +1 -0
- package/dist/chunks/util-1.1.4-re2ggpra.mjs +1 -0
- package/dist/chunks/utils-1.1.4-xzem7sm6.mjs +1 -0
- package/dist/chunks/vim-1.1.4-ybw4ky04.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.4-mshcfcqq.mjs +13 -0
- package/dist/chunks/watcher-1.1.4-fbr5em87.mjs +1 -0
- package/dist/chunks/wiki-1.1.4-hddnvztx.mjs +132 -0
- package/dist/chunks/workflows-1.1.4-5zm6r9s5.mjs +1 -0
- package/dist/chunks/worktree-1.1.4-6xqk6k5z.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.4-axxnvhc8.mjs +1 -0
- package/dist/chunks/wrapper-1.1.4-y14g4zah.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.2-6zb8pht6.mjs +0 -1
- package/dist/chunks/App-1.1.2-8j8hmwy9.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.2-ejb1881w.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.2-y7hdgasp.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.2-b2ckdy5h.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.2-nk59yp5m.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.2-t6wsf59z.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.2-ehy8cjkp.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.2-2834m4pm.mjs +0 -7
- package/dist/chunks/Doctor-1.1.2-rrjcjsbd.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.2-a4eqp58y.mjs +0 -6
- package/dist/chunks/Grove-1.1.2-e07ta9pa.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.2-mdqpkv6t.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.2-fwghx005.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.2-47vmakv0.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.2-tphw5gq9.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.2-a645a6a2.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.2-48xvht72.mjs +0 -1
- package/dist/chunks/REPL-1.1.2-a2z2r0kz.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.2-avb3zbsn.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.2-r8c624d9.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.2-1mmfypbv.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.2-ky4az8t9.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.2-w72b36j1.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.2-ejx4rvac.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.2-5m2ekdy4.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.2-b7q0fb2j.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.2-j0pztex4.mjs +0 -1
- package/dist/chunks/add-dir-1.1.2-fzpmgh1h.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.2-vr9770fz.mjs +0 -1
- package/dist/chunks/agents-1.1.2-n6dejn00.mjs +0 -3
- package/dist/chunks/agents-1.1.2-rxkey856.mjs +0 -110
- package/dist/chunks/api-1.1.2-fpd74byc.mjs +0 -1
- package/dist/chunks/asciicast-1.1.2-0nvcvhqa.mjs +0 -1
- package/dist/chunks/assistant-1.1.2-ywzgwzmt.mjs +0 -1
- package/dist/chunks/auth-1.1.2-cg0svgv7.mjs +0 -1
- package/dist/chunks/auth-1.1.2-s45hhsck.mjs +0 -1
- package/dist/chunks/autoMode-1.1.2-6q0pp71h.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.2-bnwzvzbf.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.2-meh5zm3k.mjs +0 -1
- package/dist/chunks/branch-1.1.2-exyc66rb.mjs +0 -4
- package/dist/chunks/bridge-1.1.2-zvk3eymq.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.2-mr20ypjr.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.2-s41251vp.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.2-tse9m0x8.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.2-grjrm008.mjs +0 -1
- package/dist/chunks/btw-1.1.2-6xz6s5f3.mjs +0 -1
- package/dist/chunks/buddy-1.1.2-zsy6mntg.mjs +0 -3
- package/dist/chunks/cacache-1.1.2-pr00fyac.mjs +0 -1
- package/dist/chunks/cache-probe-1.1.2-dd1ch184.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.2-xnm7ts60.mjs +0 -4
- package/dist/chunks/caches-1.1.2-s4tektt8.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.2-krejmvza.mjs +0 -1
- package/dist/chunks/claudemd-1.1.2-g1dwsxtx.mjs +0 -1
- package/dist/chunks/clear-1.1.2-5fz98qqy.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.2-heqmh2ay.mjs +0 -1
- package/dist/chunks/cli-1.1.2-00hggnnf.mjs +0 -9
- package/dist/chunks/cli-1.1.2-06gbqkw3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-06wg9ep0.mjs +0 -2
- package/dist/chunks/cli-1.1.2-0q8k3447.mjs +0 -2
- package/dist/chunks/cli-1.1.2-10g0wy7w.mjs +0 -2
- package/dist/chunks/cli-1.1.2-12xajsdg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-1a35rnqk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-1kqxt2v2.mjs +0 -2
- package/dist/chunks/cli-1.1.2-1rh7zj2h.mjs +0 -133
- package/dist/chunks/cli-1.1.2-1v80dsr5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-1z8yre0p.mjs +0 -2
- package/dist/chunks/cli-1.1.2-22w1aakd.mjs +0 -17
- package/dist/chunks/cli-1.1.2-26xrf159.mjs +0 -2
- package/dist/chunks/cli-1.1.2-2d3dw4nn.mjs +0 -25
- package/dist/chunks/cli-1.1.2-2rf4g79b.mjs +0 -3
- package/dist/chunks/cli-1.1.2-2vzy6fgr.mjs +0 -4
- package/dist/chunks/cli-1.1.2-2x9dcdpq.mjs +0 -2
- package/dist/chunks/cli-1.1.2-2ya2s94w.mjs +0 -15
- package/dist/chunks/cli-1.1.2-2ygaa01s.mjs +0 -3
- package/dist/chunks/cli-1.1.2-312r29db.mjs +0 -2
- package/dist/chunks/cli-1.1.2-38rgkyw3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-39xjjhsf.mjs +0 -24
- package/dist/chunks/cli-1.1.2-3mhsnff4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-3mpy81rn.mjs +0 -2
- package/dist/chunks/cli-1.1.2-3v91jtm9.mjs +0 -2
- package/dist/chunks/cli-1.1.2-3vhc8676.mjs +0 -2
- package/dist/chunks/cli-1.1.2-3w0nbdtc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-45nwkmpy.mjs +0 -2
- package/dist/chunks/cli-1.1.2-4d1hhyqs.mjs +0 -2
- package/dist/chunks/cli-1.1.2-4e3xrjth.mjs +0 -2
- package/dist/chunks/cli-1.1.2-4skhxaf4.mjs +0 -6
- package/dist/chunks/cli-1.1.2-4x5wz1xq.mjs +0 -67
- package/dist/chunks/cli-1.1.2-51pdt76x.mjs +0 -2
- package/dist/chunks/cli-1.1.2-526csky8.mjs +0 -2
- package/dist/chunks/cli-1.1.2-5dbzz1pp.mjs +0 -12
- package/dist/chunks/cli-1.1.2-5pe3b93k.mjs +0 -25
- package/dist/chunks/cli-1.1.2-5w2m33hk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-5wfgzqgc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-61nmeckv.mjs +0 -4
- package/dist/chunks/cli-1.1.2-63p3yvzk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-64bjkwj9.mjs +0 -2
- package/dist/chunks/cli-1.1.2-6cj9ggma.mjs +0 -5638
- package/dist/chunks/cli-1.1.2-6kq0hmvj.mjs +0 -2
- package/dist/chunks/cli-1.1.2-6r2ybktd.mjs +0 -18
- package/dist/chunks/cli-1.1.2-79hm6s3a.mjs +0 -7
- package/dist/chunks/cli-1.1.2-7fe75jd9.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7fjx7f8d.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7jcscwh5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7m5zhsrs.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7q8cqbtc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7swa79jc.mjs +0 -24
- package/dist/chunks/cli-1.1.2-7xwayv2p.mjs +0 -20
- package/dist/chunks/cli-1.1.2-8d3m4zhf.mjs +0 -2
- package/dist/chunks/cli-1.1.2-8fsex5c8.mjs +0 -2
- package/dist/chunks/cli-1.1.2-8trsbckp.mjs +0 -2
- package/dist/chunks/cli-1.1.2-8wc2wcne.mjs +0 -3
- package/dist/chunks/cli-1.1.2-94nsdbgk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-96wg2gfk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-99rcxvch.mjs +0 -2
- package/dist/chunks/cli-1.1.2-9ash84j3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-9ke8m3ex.mjs +0 -2
- package/dist/chunks/cli-1.1.2-9rh5p8p5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-a69xymn7.mjs +0 -2
- package/dist/chunks/cli-1.1.2-a9n9p929.mjs +0 -2
- package/dist/chunks/cli-1.1.2-aav0ncfm.mjs +0 -2
- package/dist/chunks/cli-1.1.2-ad1q4yds.mjs +0 -4
- package/dist/chunks/cli-1.1.2-aq3e6kg7.mjs +0 -2
- package/dist/chunks/cli-1.1.2-ax711ayq.mjs +0 -2
- package/dist/chunks/cli-1.1.2-b850wzhk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-b9tdyfz3.mjs +0 -21
- package/dist/chunks/cli-1.1.2-bhjzjkag.mjs +0 -4
- package/dist/chunks/cli-1.1.2-bvvn3mfz.mjs +0 -2
- package/dist/chunks/cli-1.1.2-cs3wpy5m.mjs +0 -2
- package/dist/chunks/cli-1.1.2-d0dmaqaz.mjs +0 -2
- package/dist/chunks/cli-1.1.2-d3vc56eg.mjs +0 -4
- package/dist/chunks/cli-1.1.2-d9r7gv39.mjs +0 -2
- package/dist/chunks/cli-1.1.2-dg1134n2.mjs +0 -2
- package/dist/chunks/cli-1.1.2-dgw89jzs.mjs +0 -4
- package/dist/chunks/cli-1.1.2-e9bnprf3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-efe0402v.mjs +0 -2
- package/dist/chunks/cli-1.1.2-em7hye78.mjs +0 -4
- package/dist/chunks/cli-1.1.2-eqyyfzzp.mjs +0 -2
- package/dist/chunks/cli-1.1.2-evsw8rmv.mjs +0 -2
- package/dist/chunks/cli-1.1.2-f5bj8nyg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-f8pc3h46.mjs +0 -16
- package/dist/chunks/cli-1.1.2-fcjvcn8t.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fmrgtbj6.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fnfay3zd.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fnp913tz.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fq7w78vq.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fs1t9yw3.mjs +0 -15
- package/dist/chunks/cli-1.1.2-fwcddg2k.mjs +0 -3
- package/dist/chunks/cli-1.1.2-g3dcz46h.mjs +0 -2
- package/dist/chunks/cli-1.1.2-g3ms995y.mjs +0 -2
- package/dist/chunks/cli-1.1.2-g9cs3fkf.mjs +0 -24
- package/dist/chunks/cli-1.1.2-gb52rdfa.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gb58q1j1.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gdcv810d.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gqdaxfvm.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gtjv8yhc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gvwc8kmd.mjs +0 -6
- package/dist/chunks/cli-1.1.2-gws9nr18.mjs +0 -9
- package/dist/chunks/cli-1.1.2-gxzwceae.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gy0p2qqf.mjs +0 -4
- package/dist/chunks/cli-1.1.2-h2avr3ya.mjs +0 -2
- package/dist/chunks/cli-1.1.2-h9csstnw.mjs +0 -2
- package/dist/chunks/cli-1.1.2-hpx774ph.mjs +0 -3
- package/dist/chunks/cli-1.1.2-hzaqg545.mjs +0 -17
- package/dist/chunks/cli-1.1.2-j9n5qd1w.mjs +0 -2
- package/dist/chunks/cli-1.1.2-jpgqkhxd.mjs +0 -59
- package/dist/chunks/cli-1.1.2-js4s7tq5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-jv9f8r52.mjs +0 -3
- package/dist/chunks/cli-1.1.2-jxkffay4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-k077a0s0.mjs +0 -2
- package/dist/chunks/cli-1.1.2-k3tsqm2p.mjs +0 -2
- package/dist/chunks/cli-1.1.2-k4bpvm06.mjs +0 -2
- package/dist/chunks/cli-1.1.2-k61a86d8.mjs +0 -3
- package/dist/chunks/cli-1.1.2-kahqzzrg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-kav702qr.mjs +0 -2
- package/dist/chunks/cli-1.1.2-kcfzd7n8.mjs +0 -2
- package/dist/chunks/cli-1.1.2-kkgf4hyc.mjs +0 -3
- package/dist/chunks/cli-1.1.2-kq402xqd.mjs +0 -2
- package/dist/chunks/cli-1.1.2-m0529q09.mjs +0 -45
- package/dist/chunks/cli-1.1.2-m2ar3b2y.mjs +0 -18
- package/dist/chunks/cli-1.1.2-m4ksha3b.mjs +0 -2
- package/dist/chunks/cli-1.1.2-m7d5acdw.mjs +0 -2
- package/dist/chunks/cli-1.1.2-ma8mh6tb.mjs +0 -2
- package/dist/chunks/cli-1.1.2-mnp59g5q.mjs +0 -12
- package/dist/chunks/cli-1.1.2-mr55880g.mjs +0 -2
- package/dist/chunks/cli-1.1.2-mtztdv5m.mjs +0 -2
- package/dist/chunks/cli-1.1.2-n2f8jkwd.mjs +0 -2
- package/dist/chunks/cli-1.1.2-n2k1y1rv.mjs +0 -2
- package/dist/chunks/cli-1.1.2-nd5g2z1v.mjs +0 -2
- package/dist/chunks/cli-1.1.2-nskkg1h5.mjs +0 -5
- package/dist/chunks/cli-1.1.2-p8amxd73.mjs +0 -4
- package/dist/chunks/cli-1.1.2-pbtymf0g.mjs +0 -2
- package/dist/chunks/cli-1.1.2-pgt1vydc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-qg5xbb38.mjs +0 -2
- package/dist/chunks/cli-1.1.2-qge4zbeg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-qm56km1n.mjs +0 -4
- package/dist/chunks/cli-1.1.2-qxjs641v.mjs +0 -2
- package/dist/chunks/cli-1.1.2-r32per66.mjs +0 -2
- package/dist/chunks/cli-1.1.2-r39g5zy8.mjs +0 -2
- package/dist/chunks/cli-1.1.2-re4qc97z.mjs +0 -6
- package/dist/chunks/cli-1.1.2-rm27fqp7.mjs +0 -2
- package/dist/chunks/cli-1.1.2-rp3kb2k1.mjs +0 -2
- package/dist/chunks/cli-1.1.2-rwfksv3e.mjs +0 -8
- package/dist/chunks/cli-1.1.2-rx0kctyq.mjs +0 -15
- package/dist/chunks/cli-1.1.2-ryw7gagg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-s2xde2xb.mjs +0 -2
- package/dist/chunks/cli-1.1.2-s6et33a5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-s76jqr70.mjs +0 -2
- package/dist/chunks/cli-1.1.2-sd7xc4s3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-sdra9y0x.mjs +0 -34
- package/dist/chunks/cli-1.1.2-se3yz188.mjs +0 -2
- package/dist/chunks/cli-1.1.2-sk8gpfnw.mjs +0 -2
- package/dist/chunks/cli-1.1.2-sxp48xhs.mjs +0 -133
- package/dist/chunks/cli-1.1.2-t4aw8heb.mjs +0 -2
- package/dist/chunks/cli-1.1.2-t9knn0qp.mjs +0 -2
- package/dist/chunks/cli-1.1.2-tepjwp3h.mjs +0 -2
- package/dist/chunks/cli-1.1.2-thb8wh7v.mjs +0 -2
- package/dist/chunks/cli-1.1.2-tk5pscqh.mjs +0 -12
- package/dist/chunks/cli-1.1.2-tkr9thek.mjs +0 -6
- package/dist/chunks/cli-1.1.2-tn2dw7tr.mjs +0 -2
- package/dist/chunks/cli-1.1.2-tyx76ya3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-v4dexj9m.mjs +0 -2
- package/dist/chunks/cli-1.1.2-v5aq687d.mjs +0 -4
- package/dist/chunks/cli-1.1.2-vdnvxk7d.mjs +0 -2
- package/dist/chunks/cli-1.1.2-vdtd8tyw.mjs +0 -3
- package/dist/chunks/cli-1.1.2-vedfryrw.mjs +0 -39
- package/dist/chunks/cli-1.1.2-vkw3t6e1.mjs +0 -2
- package/dist/chunks/cli-1.1.2-vn5a5kng.mjs +0 -2
- package/dist/chunks/cli-1.1.2-vqhs2nfg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-w39dxwaq.mjs +0 -5
- package/dist/chunks/cli-1.1.2-w6e54y3j.mjs +0 -2
- package/dist/chunks/cli-1.1.2-wd7anmzt.mjs +0 -2
- package/dist/chunks/cli-1.1.2-wfh9694n.mjs +0 -42
- package/dist/chunks/cli-1.1.2-whyrn26g.mjs +0 -2
- package/dist/chunks/cli-1.1.2-wtjpdxah.mjs +0 -2
- package/dist/chunks/cli-1.1.2-wz2q0wq7.mjs +0 -2
- package/dist/chunks/cli-1.1.2-x6tg8d4f.mjs +0 -58
- package/dist/chunks/cli-1.1.2-x7pdyv4r.mjs +0 -3
- package/dist/chunks/cli-1.1.2-x7qa1qq3.mjs +0 -50
- package/dist/chunks/cli-1.1.2-xbpjh8ph.mjs +0 -2
- package/dist/chunks/cli-1.1.2-xpf1bbmk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-xrfe457w.mjs +0 -2
- package/dist/chunks/cli-1.1.2-y2eet2t4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-y8dhsas4.mjs +0 -12
- package/dist/chunks/cli-1.1.2-yajs5n37.mjs +0 -18
- package/dist/chunks/cli-1.1.2-yh44qbw4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-yj8m159m.mjs +0 -2
- package/dist/chunks/cli-1.1.2-z2m1x4a9.mjs +0 -2
- package/dist/chunks/cli-1.1.2-z31tqg0s.mjs +0 -202
- package/dist/chunks/cli-1.1.2-z56w3mhn.mjs +0 -3
- package/dist/chunks/cli-1.1.2-z7ha6v3f.mjs +0 -2
- package/dist/chunks/cli-1.1.2-ze70ftw0.mjs +0 -1
- package/dist/chunks/cli-1.1.2-zm6bk4ph.mjs +0 -2
- package/dist/chunks/cli-1.1.2-zn8nzq9g.mjs +0 -2
- package/dist/chunks/cli-1.1.2-zv4bhn4s.mjs +0 -6
- package/dist/chunks/cli-1.1.2-zy0pbg7t.mjs +0 -3
- package/dist/chunks/cli-1.1.2-zy7bxchk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-zy8c0mk4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-zzd75gm6.mjs +0 -2
- package/dist/chunks/client-1.1.2-cfb4as3w.mjs +0 -1
- package/dist/chunks/color-1.1.2-1sf55h7k.mjs +0 -1
- package/dist/chunks/compact-1.1.2-dd3f57yj.mjs +0 -3
- package/dist/chunks/config-1.1.2-6bc1gc6c.mjs +0 -1
- package/dist/chunks/config-1.1.2-p9t1wpdw.mjs +0 -1
- package/dist/chunks/constants-1.1.2-tkm4c60r.mjs +0 -1
- package/dist/chunks/context-1.1.2-rw4msk80.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.2-c5hbr649.mjs +0 -1
- package/dist/chunks/conversation-1.1.2-h9dvper4.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.2-nv81crna.mjs +0 -1
- package/dist/chunks/copy-1.1.2-hr7v2mx9.mjs +0 -9
- package/dist/chunks/cost-1.1.2-hdy89g4q.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.2-6v2x5eg0.mjs +0 -1
- package/dist/chunks/createSession-1.1.2-ygyb7e8j.mjs +0 -1
- package/dist/chunks/debug-1.1.2-wk2d9rj6.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.2-gjp00h29.mjs +0 -1446
- package/dist/chunks/desktop-1.1.2-egp65wej.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.2-qh9nf9kg.mjs +0 -1
- package/dist/chunks/detection-1.1.2-02zpqkt2.mjs +0 -1
- package/dist/chunks/diff-1.1.2-29snp7ez.mjs +0 -1
- package/dist/chunks/doctor-1.1.2-b321t9z0.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.2-214xq5kx.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.2-n8b9n8hj.mjs +0 -1
- package/dist/chunks/effort-1.1.2-42pxj2ke.mjs +0 -13
- package/dist/chunks/engine-1.1.2-071c5ycx.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.2-90nzxgap.mjs +0 -1
- package/dist/chunks/envUtils-1.1.2-rdsjbb4f.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.2-eeacbnpj.mjs +0 -1
- package/dist/chunks/environments-1.1.2-e0a09brc.mjs +0 -1
- package/dist/chunks/errors-1.1.2-1fp0w76h.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.2-prrwcbkh.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.2-61na3ack.mjs +0 -1
- package/dist/chunks/exit-1.1.2-eh7t4pcy.mjs +0 -1
- package/dist/chunks/explorer-1.1.2-7brsg8bj.mjs +0 -1
- package/dist/chunks/export-1.1.2-2m0sfme0.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.2-akf4qvp0.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.2-ysbmggsv.mjs +0 -1
- package/dist/chunks/fast-1.1.2-43wzezv3.mjs +0 -1
- package/dist/chunks/feedback-1.1.2-92k099e0.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.2-ksq42qwt.mjs +0 -1
- package/dist/chunks/git-1.1.2-fgm2kpjd.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.2-vj6dwy2c.mjs +0 -1
- package/dist/chunks/goal-1.1.2-hnd6dfnz.mjs +0 -4
- package/dist/chunks/grove-1.1.2-74zq9th4.mjs +0 -1
- package/dist/chunks/growthbook-1.1.2-x4pfbgm2.mjs +0 -1
- package/dist/chunks/headless-1.1.2-rhab73x2.mjs +0 -2
- package/dist/chunks/heapdump-1.1.2-a698r5c6.mjs +0 -6
- package/dist/chunks/help-1.1.2-er6xvvy0.mjs +0 -1
- package/dist/chunks/hookChains-1.1.2-yh3dmw0j.mjs +0 -3
- package/dist/chunks/hooks-1.1.2-63zxxjj9.mjs +0 -79
- package/dist/chunks/hooks-1.1.2-ez3kc0p2.mjs +0 -1
- package/dist/chunks/ide-1.1.2-je812srr.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.2-xe8n5srr.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.2-qywwkc7m.mjs +0 -1
- package/dist/chunks/index-1.1.2-3evh58r7.mjs +0 -1
- package/dist/chunks/index-1.1.2-69bhefzj.mjs +0 -1
- package/dist/chunks/index-1.1.2-7kya3jrk.mjs +0 -1
- package/dist/chunks/index-1.1.2-7sphewt0.mjs +0 -5
- package/dist/chunks/index-1.1.2-947wna4y.mjs +0 -1
- package/dist/chunks/index-1.1.2-95c20hmc.mjs +0 -1
- package/dist/chunks/index-1.1.2-9xdx0kw2.mjs +0 -1
- package/dist/chunks/index-1.1.2-bvpaf73z.mjs +0 -2
- package/dist/chunks/index-1.1.2-dkvq5y5c.mjs +0 -1
- package/dist/chunks/index-1.1.2-ebc3q9cn.mjs +0 -9
- package/dist/chunks/index-1.1.2-htmnqkfh.mjs +0 -1
- package/dist/chunks/index-1.1.2-kdaazhrb.mjs +0 -1
- package/dist/chunks/index-1.1.2-kzzb5289.mjs +0 -1
- package/dist/chunks/index-1.1.2-madt9yt1.mjs +0 -1
- package/dist/chunks/index-1.1.2-mvhaw48f.mjs +0 -2
- package/dist/chunks/index-1.1.2-pzx0977r.mjs +0 -1
- package/dist/chunks/index-1.1.2-r1zg7fm1.mjs +0 -1
- package/dist/chunks/index-1.1.2-s1rqf88d.mjs +0 -1
- package/dist/chunks/index-1.1.2-t2gvqgcr.mjs +0 -1
- package/dist/chunks/index-1.1.2-thaazk19.mjs +0 -17
- package/dist/chunks/index-1.1.2-wey7e6ag.mjs +0 -30
- package/dist/chunks/index-1.1.2-y8ab1zbc.mjs +0 -1
- package/dist/chunks/index-1.1.2-zzrwyq5p.mjs +0 -9
- package/dist/chunks/init-1.1.2-85zbvgkj.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.2-de5jg8xg.mjs +0 -1
- package/dist/chunks/ink-1.1.2-dqpj9964.mjs +0 -1
- package/dist/chunks/insights-1.1.2-y73zf53m.mjs +0 -870
- package/dist/chunks/install-1.1.2-89hhj53e.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.2-qvppzny7.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.2-3h092m6m.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.2-knbaf11q.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.2-1ef73k1d.mjs +0 -1
- package/dist/chunks/keybindings-1.1.2-k2t8cv4v.mjs +0 -2
- package/dist/chunks/knowledge-1.1.2-ssv0qdb3.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.2-hjg7gvvk.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.2-s1ff144v.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.2-byf6cjm1.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.2-yvdv9pjd.mjs +0 -1
- package/dist/chunks/log-1.1.2-8cc3djq5.mjs +0 -1
- package/dist/chunks/main-1.1.2-th8b6kt4.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.2-z470j86z.mjs +0 -1
- package/dist/chunks/mcp-1.1.2-86tk8ay8.mjs +0 -1
- package/dist/chunks/mcp-1.1.2-g64z89y6.mjs +0 -17
- package/dist/chunks/mcp-1.1.2-snaa1cjv.mjs +0 -4
- package/dist/chunks/mcpb-1.1.2-4mdrmbnx.mjs +0 -1
- package/dist/chunks/memory-1.1.2-habj4cwz.mjs +0 -72
- package/dist/chunks/model-1.1.2-vdjmatpe.mjs +0 -1
- package/dist/chunks/model-1.1.2-y4qnzr5d.mjs +0 -2
- package/dist/chunks/node-1.1.2-msn09mvf.mjs +0 -12
- package/dist/chunks/oauth-1.1.2-95md8es8.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.2-swxk5w2d.mjs +0 -14
- package/dist/chunks/output-style-1.1.2-gk5rwyf3.mjs +0 -1
- package/dist/chunks/package-2VNCXFNY-1.1.2-t2qeqjq8.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.2-kh0kdj72.mjs +0 -1
- package/dist/chunks/parser-1.1.2-bq2yyqcn.mjs +0 -1
- package/dist/chunks/passes-1.1.2-z98me43k.mjs +0 -1
- package/dist/chunks/permissions-1.1.2-4q31d83k.mjs +0 -3
- package/dist/chunks/permissions-1.1.2-yj6ep04t.mjs +0 -1
- package/dist/chunks/plan-1.1.2-aq6tkcvx.mjs +0 -1
- package/dist/chunks/plist-1.1.2-wtdpfgrq.mjs +0 -1
- package/dist/chunks/plugin-1.1.2-9h7564kc.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.2-xs7cvmve.mjs +0 -1
- package/dist/chunks/plugins-1.1.2-gktqysmr.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.2-zbm0ahc2.mjs +0 -2
- package/dist/chunks/print-1.1.2-9xz8kk84.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.2-9w8bvgmp.mjs +0 -1
- package/dist/chunks/process-1.1.2-4ha9kngp.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.2-t1abzpg8.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.2-krgryjdy.mjs +0 -9
- package/dist/chunks/prompt-1.1.2-exabd70s.mjs +0 -1
- package/dist/chunks/prompt-1.1.2-qbhgy60q.mjs +0 -1
- package/dist/chunks/prompts-1.1.2-z5xqs93q.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.2-jzdef7t2.mjs +0 -13
- package/dist/chunks/provider-1.1.2-q784s7t1.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.2-hgq6ezmt.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.2-6svgbwp4.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.2-pdk8r710.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.2-ja3famgz.mjs +0 -34
- package/dist/chunks/registry-1.1.2-bteqae43.mjs +0 -1
- package/dist/chunks/release-notes-1.1.2-m864etmn.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.2-xgc8eghm.mjs +0 -2
- package/dist/chunks/remote-env-1.1.2-jy20nnyn.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.2-wrzz2zme.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.2-2ms5x1xn.mjs +0 -1
- package/dist/chunks/rename-1.1.2-99a39m1m.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.2-6qx7my8a.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.2-8aq6b75y.mjs +0 -1
- package/dist/chunks/resume-1.1.2-n0d6rgp7.mjs +0 -2
- package/dist/chunks/rewind-1.1.2-4mrqvf42.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.2-3vma1kzy.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.2-qpb0brgp.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.2-985g3rtd.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.2-h5bx372x.mjs +0 -1
- package/dist/chunks/session-1.1.2-q3ahqvyx.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.2-qcyr8b8w.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.2-2y6b014f.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.2-6vk4ryr3.mjs +0 -1
- package/dist/chunks/settings-1.1.2-nf07eg97.mjs +0 -1
- package/dist/chunks/setup-1.1.2-5f344krn.mjs +0 -5
- package/dist/chunks/sinks-1.1.2-xq2d5k0p.mjs +0 -1
- package/dist/chunks/skills-1.1.2-2e8x03xz.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.2-vbw0t7zn.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.2-7xtv2jhz.mjs +0 -1
- package/dist/chunks/state-1.1.2-4stfxgxw.mjs +0 -1
- package/dist/chunks/stats-1.1.2-x2men93c.mjs +0 -6
- package/dist/chunks/status-1.1.2-k6342tq7.mjs +0 -1
- package/dist/chunks/stickers-1.1.2-m2ee29wd.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.2-gfsm4m3z.mjs +0 -1
- package/dist/chunks/tasks-1.1.2-52bgwvvk.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.2-fcfqve0r.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.2-s2qw8rtp.mjs +0 -1
- package/dist/chunks/teleport-1.1.2-mxjmy1bj.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.2-376p31n2.mjs +0 -1
- package/dist/chunks/theme-1.1.2-vhrm8pkz.mjs +0 -1
- package/dist/chunks/thinkback-1.1.2-2k5azpda.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.2-w3xe66qy.mjs +0 -1
- package/dist/chunks/toolPool-1.1.2-th0e7c3p.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.2-5vbh7tfs.mjs +0 -1
- package/dist/chunks/tools-1.1.2-0tdzn87s.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.2-s31a3mdh.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.2-aj5hafxn.mjs +0 -69
- package/dist/chunks/types-1.1.2-vst16v9y.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.2-3tcemmrp.mjs +0 -4
- package/dist/chunks/update-1.1.2-7daxbkja.mjs +0 -72
- package/dist/chunks/upgrade-1.1.2-paz816ha.mjs +0 -1
- package/dist/chunks/upload-1.1.2-tb2wafs2.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.2-k3w1snzk.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.2-2w62pdbp.mjs +0 -1
- package/dist/chunks/usage-1.1.2-xa0p51ga.mjs +0 -1
- package/dist/chunks/util-1.1.2-790z163z.mjs +0 -1
- package/dist/chunks/utils-1.1.2-vs0h9jny.mjs +0 -1
- package/dist/chunks/vim-1.1.2-c8e520z8.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.2-e4ehn07s.mjs +0 -13
- package/dist/chunks/watcher-1.1.2-731rkpjz.mjs +0 -1
- package/dist/chunks/wiki-1.1.2-zbc6h2h9.mjs +0 -132
- package/dist/chunks/workflows-1.1.2-g3w76nrf.mjs +0 -1
- package/dist/chunks/worktree-1.1.2-7nptnzv3.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.2-kgnb2ck1.mjs +0 -1
- package/dist/chunks/wrapper-1.1.2-3pstqzgw.mjs +0 -7
- /package/dist/chunks/{cli-1.1.2-8t8veykp.mjs → cli-1.1.4-1f3p70jj.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-3vyt3jw9.mjs → cli-1.1.4-ez4xtmvg.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-6jbsqbdw.mjs → cli-1.1.4-gp99zrz4.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-btgmqahb.mjs → cli-1.1.4-gpvz5jfv.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-6d3jf0sj.mjs → cli-1.1.4-n0dzwv49.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-r4rfggdk.mjs → cli-1.1.4-q1mcaeav.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-pgz05ddc.mjs → cli-1.1.4-tg5t7jrb.mjs} +0 -0
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{DZ as u,H1 as a,P0 as QQ,Q0 as uQ,a1 as g,c1 as h,i1 as RQ,r1 as jQ,s1 as aQ,w1 as d}from"./cli-1.1.4-nh3sscxn.mjs";import{o4 as S,p4 as k,q4 as f}from"./cli-1.1.4-40z19hth.mjs";import{r4 as v}from"./cli-1.1.4-9ms3b4tc.mjs";import{F4 as n,H4 as t,M4 as YV}from"./cli-1.1.4-g6nryz17.mjs";import{H8 as $Q,K8 as P,N8 as bQ,a9 as XV}from"./cli-1.1.4-fk420f57.mjs";import{Qga as CQ,Uea as mQ,Xea as x,Yga as VV,qea as fQ,qfa as QV,rea as eQ}from"./cli-1.1.4-6c3fshef.mjs";import{bha as AQ,cha as sQ}from"./cli-1.1.4-rc28sjtd.mjs";import{uja as r,vja as nQ}from"./cli-1.1.4-m312ygm6.mjs";import{Cka as iQ,zka as D}from"./cli-1.1.4-53fvpymg.mjs";import{Tra as i,jsa as tQ}from"./cli-1.1.4-0a20jx5n.mjs";import{Esa as M,Isa as F}from"./cli-1.1.4-xxe2ztwq.mjs";function XQ(){let X=VQ.useContext(QQ);if(!X)throw Error("useTerminalSize must be used within an Ink App component");return X}var VQ;var YQ=F(()=>{uQ();VQ=M(v(),1)});function ZQ(X,Q){if(Q.escape)return"escape";if(Q.return)return"enter";if(Q.tab)return"tab";if(Q.backspace)return"backspace";if(Q.delete)return"delete";if(Q.upArrow)return"up";if(Q.downArrow)return"down";if(Q.leftArrow)return"left";if(Q.rightArrow)return"right";if(Q.pageUp)return"pageup";if(Q.pageDown)return"pagedown";if(Q.wheelUp)return"wheelup";if(Q.wheelDown)return"wheeldown";if(Q.home)return"home";if(Q.end)return"end";if(X.length===1)return X.toLowerCase();return null}var JQ=()=>{};function GQ(X){let Q=X.split("+"),V={key:"",ctrl:!1,alt:!1,shift:!1,meta:!1,super:!1};for(let Z of Q){let Y=Z.toLowerCase();switch(Y){case"ctrl":case"control":V.ctrl=!0;break;case"alt":case"opt":case"option":V.alt=!0;break;case"shift":V.shift=!0;break;case"meta":V.meta=!0;break;case"cmd":case"command":case"super":case"win":V.super=!0;break;case"esc":V.key="escape";break;case"return":V.key="enter";break;case"space":V.key=" ";break;case"↑":V.key="up";break;case"↓":V.key="down";break;case"←":V.key="left";break;case"→":V.key="right";break;default:V.key=Y;break}}return V}function yQ(X){if(X===" ")return[GQ("space")];return X.trim().split(/\s+/).map(GQ)}function hQ(X){let Q=[];if(X.ctrl)Q.push("ctrl");if(X.alt)Q.push("alt");if(X.shift)Q.push("shift");if(X.meta)Q.push("meta");if(X.super)Q.push("cmd");let V=kQ(X.key);return Q.push(V),Q.join("+")}function kQ(X){switch(X){case"escape":return"Esc";case" ":return"Space";case"tab":return"tab";case"enter":return"Enter";case"backspace":return"Backspace";case"delete":return"Delete";case"up":return"↑";case"down":return"↓";case"left":return"←";case"right":return"→";case"pageup":return"PageUp";case"pagedown":return"PageDown";case"home":return"Home";case"end":return"End";default:return X}}function l(X){return X.map(hQ).join(" ")}function BV(X){let Q=[];for(let V of X)for(let[Z,Y]of Object.entries(V.bindings))Q.push({chord:yQ(Z),action:Y,context:V.context});return Q}var qQ=()=>{};function LQ(X,Q,V){let Z=V.findLast((Y)=>Y.action===X&&Y.context===Q);return Z?l(Z.chord):void 0}function gQ(X,Q){let V=ZQ(X,Q);if(!V)return null;let Z=Q.escape?!1:Q.meta;return{key:V,ctrl:Q.ctrl,alt:Z,shift:Q.shift,meta:Z,super:Q.super}}function HQ(X,Q){return X.key===Q.key&&X.ctrl===Q.ctrl&&X.shift===Q.shift&&(X.alt||X.meta)===(Q.alt||Q.meta)&&X.super===Q.super}function lQ(X,Q){if(X.length>=Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function cQ(X,Q){if(X.length!==Q.chord.length)return!1;for(let V=0;V<X.length;V++){let Z=X[V],Y=Q.chord[V];if(!Z||!Y)return!1;if(!HQ(Z,Y))return!1}return!0}function zQ(X,Q,V,Z,Y){if(Q.escape&&Y!==null)return{type:"chord_cancelled"};let J=gQ(X,Q);if(!J){if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}let G=Y?[...Y,J]:[J],q=new Set(V),B=Z.filter((L)=>q.has(L.context)),z=new Map;for(let L of B)if(L.chord.length>G.length&&lQ(G,L))z.set(l(L.chord),L.action);let N=!1;for(let L of z.values())if(L!==null){N=!0;break}if(N)return{type:"chord_started",pending:G};let H;for(let L of B)if(cQ(G,L))H=L;if(H){if(H.action===null)return{type:"unbound"};return{type:"match",action:H.action}}if(Y!==null)return{type:"chord_cancelled"};return{type:"none"}}var BQ=F(()=>{JQ();qQ()});function MV(X){let Q=c.c(24),{bindings:V,pendingChordRef:Z,pendingChord:Y,setPendingChord:J,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,handlerRegistryRef:z,children:N}=X,H;if(Q[0]!==V)H=(U,O)=>LQ(U,O,V),Q[0]=V,Q[1]=H;else H=Q[1];let L=H,_;if(Q[2]!==z)_=(U)=>{let O=z.current;if(!O)return dQ;if(!O.has(U.action))O.set(U.action,new Set);return O.get(U.action).add(U),()=>{let I=O.get(U.action);if(I){if(I.delete(U),I.size===0)O.delete(U.action)}}},Q[2]=z,Q[3]=_;else _=Q[3];let b=_,E;if(Q[4]!==G||Q[5]!==z)E=(U)=>{let O=z.current;if(!O)return!1;let I=O.get(U);if(!I||I.size===0)return!1;for(let e of I)if(G.has(e.context))return e.handler(),!0;return!1},Q[4]=G,Q[5]=z,Q[6]=E;else E=Q[6];let K=E,j;if(Q[7]!==V||Q[8]!==Z)j=(U,O,I)=>zQ(U,O,I,V,Z.current),Q[7]=V,Q[8]=Z,Q[9]=j;else j=Q[9];let A;if(Q[10]!==G||Q[11]!==V||Q[12]!==L||Q[13]!==K||Q[14]!==Y||Q[15]!==q||Q[16]!==b||Q[17]!==J||Q[18]!==j||Q[19]!==B)A={resolve:j,setPendingChord:J,getDisplayText:L,bindings:V,pendingChord:Y,activeContexts:G,registerActiveContext:q,unregisterActiveContext:B,registerHandler:b,invokeAction:K},Q[10]=G,Q[11]=V,Q[12]=L,Q[13]=K,Q[14]=Y,Q[15]=q,Q[16]=b,Q[17]=J,Q[18]=j,Q[19]=B,Q[20]=A;else A=Q[20];let w=A,W;if(Q[21]!==N||Q[22]!==w)W=S(NQ.Provider,{value:w,children:N}),Q[21]=N,Q[22]=w,Q[23]=W;else W=Q[23];return W}function dQ(){}function y(){return m.useContext(NQ)}function SV(X,Q){let V=c.c(5),Z=Q===void 0?!0:Q,Y=y(),J,G;if(V[0]!==X||V[1]!==Z||V[2]!==Y)J=()=>{if(!Y||!Z)return;return Y.registerActiveContext(X),()=>{Y.unregisterActiveContext(X)}},G=[X,Y,Z],V[0]=X,V[1]=Z,V[2]=Y,V[3]=J,V[4]=G;else J=V[3],G=V[4];m.useLayoutEffect(J,G)}var c,m,NQ;var UQ=F(()=>{BQ();f();c=M(u(),1),m=M(v(),1),NQ=m.createContext(null)});function TV(X,Q,V={}){let{context:Z="Global",isActive:Y=!0}=V,J=y();C.useEffect(()=>{if(!J||!Y)return;return J.registerHandler({action:X,context:Z,handler:Q})},[X,Z,Q,J,Y]);let G=C.useCallback((q,B,z)=>{if(!J)return;let N=[...J.activeContexts,Z,"Global"],H=[...new Set(N)],L=J.resolve(q,B,H);switch(L.type){case"match":if(J.setPendingChord(null),L.action===X){if(Q()!==!1)z.stopImmediatePropagation()}break;case"chord_started":J.setPendingChord(L.pending),z.stopImmediatePropagation();break;case"chord_cancelled":J.setPendingChord(null);break;case"unbound":J.setPendingChord(null),z.stopImmediatePropagation();break;case"none":break}},[X,Z,Q,J]);d(G,{isActive:Y})}function OQ(X,Q={}){let{context:V="Global",isActive:Z=!0}=Q,Y=y();C.useEffect(()=>{if(!Y||!Z)return;let G=[];for(let[q,B]of Object.entries(X))G.push(Y.registerHandler({action:q,context:V,handler:B}));return()=>{for(let q of G)q()}},[V,X,Y,Z]);let J=C.useCallback((G,q,B)=>{if(!Y)return;let z=[...Y.activeContexts,V,"Global"],N=[...new Set(z)],H=Y.resolve(G,q,N);switch(H.type){case"match":if(Y.setPendingChord(null),H.action in X){let L=X[H.action];if(L&&L()!==!1)B.stopImmediatePropagation()}break;case"chord_started":Y.setPendingChord(H.pending),B.stopImmediatePropagation();break;case"chord_cancelled":Y.setPendingChord(null);break;case"unbound":Y.setPendingChord(null),B.stopImmediatePropagation();break;case"none":break}},[V,X,Y]);d(J,{isActive:Z})}var C;var _Q=F(()=>{a();UQ();C=M(v(),1)});function o(X,Q,V){let Z=R.useRef(0),Y=R.useRef(void 0),J=R.useCallback(()=>{if(Y.current)clearTimeout(Y.current),Y.current=void 0},[]);return R.useEffect(()=>{return()=>{J()}},[J]),R.useCallback(()=>{let G=Date.now();if(G-Z.current<=FQ&&Y.current!==void 0)J(),X(!1),Q();else V?.(),X(!0),J(),Y.current=setTimeout((z,N)=>{z(!1),N.current=void 0},FQ,X,Y);Z.current=G},[X,Q,V,J])}var R,FQ=800;var WQ=F(()=>{R=M(v(),1)});function wQ(X,Q,V,Z=!0){let{exit:Y}=jQ(),[J,G]=T.useState({pending:!1,keyName:null}),q=T.useMemo(()=>V??Y,[V,Y]),B=o((_)=>G({pending:_,keyName:"Ctrl-C"}),q),z=o((_)=>G({pending:_,keyName:"Ctrl-D"}),q),N=T.useCallback(()=>{if(Q?.())return;B()},[B,Q]),H=T.useCallback(()=>{z()},[z]),L=T.useMemo(()=>({"app:interrupt":N,"app:exit":H}),[N,H]);return X(L,{context:"Global",isActive:Z}),J}var T;var MQ=F(()=>{aQ();WQ();T=M(v(),1)});function $V(X,Q,V){return wQ(OQ,Q,X,V)}var oQ=F(()=>{_Q();MQ()});function IQ(){return $.useContext(s)!==null}function pV(X){let Q=SQ.c(3),V=$.useContext(s),Z;if(Q[0]!==V||Q[1]!==X)Z=V?{rows:V.rows,columns:V.columns}:X,Q[0]=V,Q[1]=X,Q[2]=Z;else Z=Q[2];return Z}function xV(){return $.useContext(s)?.scrollRef??null}var SQ,$,s;var KQ=F(()=>{SQ=M(u(),1),$=M(v(),1),s=$.createContext(null)});function EQ(X){let Q=TQ.c(21),{width:V,color:Z,char:Y,padding:J,title:G}=X,q=Y===void 0?"─":Y,B=J===void 0?0:J,{columns:z}=XQ(),N=Math.max(0,(V??z)-B);if(G){let b=AQ(G)+2,E=Math.max(0,N-b),K=Math.floor(E/2),j=E-K,A=!Z,w;if(Q[0]!==q||Q[1]!==K)w=q.repeat(K),Q[0]=q,Q[1]=K,Q[2]=w;else w=Q[2];let W;if(Q[3]!==G)W=S(h,{dimColor:!0,children:S(RQ,{children:G})}),Q[3]=G,Q[4]=W;else W=Q[4];let U;if(Q[5]!==q||Q[6]!==j)U=q.repeat(j),Q[5]=q,Q[6]=j,Q[7]=U;else U=Q[7];let O;if(Q[8]!==Z||Q[9]!==A||Q[10]!==w||Q[11]!==W||Q[12]!==U)O=k(h,{color:Z,dimColor:A,children:[w," ",W," ",U]}),Q[8]=Z,Q[9]=A,Q[10]=w,Q[11]=W,Q[12]=U,Q[13]=O;else O=Q[13];return O}let H=!Z,L;if(Q[14]!==q||Q[15]!==N)L=q.repeat(N),Q[14]=q,Q[15]=N,Q[16]=L;else L=Q[16];let _;if(Q[17]!==Z||Q[18]!==H||Q[19]!==L)_=S(h,{color:Z,dimColor:H,children:L}),Q[17]=Z,Q[18]=H,Q[19]=L,Q[20]=_;else _=Q[20];return _}var TQ;var DQ=F(()=>{YQ();sQ();a();f();TQ=M(u(),1)});function oV(X){let Q=PQ.c(9),{children:V,color:Z}=X;if(IQ()){let q;if(Q[0]!==V)q=S(g,{flexDirection:"column",paddingX:1,flexShrink:0,children:V}),Q[0]=V,Q[1]=q;else q=Q[1];return q}let Y;if(Q[2]!==Z)Y=S(EQ,{color:Z}),Q[2]=Z,Q[3]=Y;else Y=Q[3];let J;if(Q[4]!==V)J=S(g,{flexDirection:"column",paddingX:2,children:V}),Q[4]=V,Q[5]=J;else J=Q[5];let G;if(Q[6]!==Y||Q[7]!==J)G=k(g,{flexDirection:"column",paddingTop:1,children:[Y,J]}),Q[6]=Y,Q[7]=J,Q[8]=G;else G=Q[8];return G}var PQ;var rQ=F(()=>{KQ();a();DQ();f();PQ=M(u(),1)});async function ZV(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/eligibility`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:5000})).data}async function ZX(X="claude_code_guest_pass"){let{accessToken:Q,orgUUID:V}=await n(),Z={...t(Q),"x-organization-uuid":V},Y=`${r().BASE_API_URL}/api/oauth/organizations/${V}/referral/redemptions`;return(await i.get(Y,{headers:Z,params:{campaign:X},timeout:1e4})).data}function xQ(){return!!(P()?.organizationUuid&&$Q()&&bQ()==="max")}function JX(){if(!xQ())return{eligible:!1,needsRefresh:!1,hasCache:!1};let X=P()?.organizationUuid;if(!X)return{eligible:!1,needsRefresh:!1,hasCache:!1};let V=x().passesEligibilityCache?.[X];if(!V)return{eligible:!1,needsRefresh:!0,hasCache:!1};let{eligible:Z,timestamp:Y}=V,G=Date.now()-Y>pQ;return{eligible:Z,needsRefresh:G,hasCache:!0}}function GX(X){let Q=JV[X.currency]??`${X.currency} `,V=X.amount_minor_units/100,Z=V%1===0?V.toString():V.toFixed(2);return`${Q}${Z}`}function qX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.referrer_reward??null}function LX(){let X=P()?.organizationUuid;if(!X)return null;return x().passesEligibilityCache?.[X]?.remaining_passes??null}async function vQ(){if(p)return D("Passes: Reusing in-flight eligibility fetch"),p;let X=P()?.organizationUuid;if(!X)return null;return p=(async()=>{try{let Q=await ZV(),V={...Q,timestamp:Date.now()};return mQ((Z)=>({...Z,passesEligibilityCache:{...Z.passesEligibilityCache,[X]:V}})),D(`Passes eligibility cached for org ${X}: ${Q.eligible}`),Q}catch(Q){return D("Failed to fetch and cache passes eligibility"),CQ(Q),null}finally{p=null}})(),p}async function GV(){if(!xQ())return null;let X=P()?.organizationUuid;if(!X)return null;let V=x().passesEligibilityCache?.[X],Z=Date.now();if(!V)return D("Passes: No cache, fetching eligibility in background (command unavailable this session)"),vQ(),null;if(Z-V.timestamp>pQ){D("Passes: Cache stale, returning cached data and refreshing in background"),vQ();let{timestamp:G,...q}=V;return q}D("Passes: Using fresh cached eligibility data");let{timestamp:Y,...J}=V;return J}async function HX(){if(fQ())return;GV()}var pQ=86400000,p=null,JV;var qV=F(()=>{tQ();nQ();XV();QV();iQ();VV();eQ();YV();JV={USD:"$",EUR:"€",GBP:"£",BRL:"R$",CAD:"CA$",AUD:"A$",NZD:"NZ$",SGD:"S$"}});
|
|
2
|
+
export{XQ as nY,YQ as oY,GQ as pY,yQ as qY,l as rY,BV as sY,qQ as tY,LQ as uY,zQ as vY,BQ as wY,MV as xY,y as yY,SV as zY,UQ as AY,TV as BY,OQ as CY,_Q as DY,o as EY,WQ as FY,$V as GY,oQ as HY,s as IY,IQ as JY,pV as KY,xV as LY,KQ as MY,EQ as NY,DQ as OY,oV as PY,rQ as QY,ZX as RY,JX as SY,GX as TY,qX as UY,LX as VY,GV as WY,HX as XY,qV as YY};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Isa as J}from"./cli-1.1.4-xxe2ztwq.mjs";import v from"node:path";function Z(q){if(q.endsWith(v.sep)||q.endsWith("/"))return K;let j=v.basename(q).toLowerCase();if(j.startsWith("readme"))return B[".md"];if(j.startsWith(".env"))return Q;let z=U[j];if(z)return z;let H=v.extname(j);return B[H]??P}var K="",Y="",P="",Q="",U,B;var V=J(()=>{U={"package.json":"",dockerfile:"",".dockerignore":"",".gitignore":"",".gitattributes":"",license:"","bun.lock":""},B={".ts":"",".tsx":"",".js":"",".jsx":"",".mjs":"",".cjs":"",".json":"",".md":"",".markdown":"",".toml":"",".yaml":"",".yml":"",".py":"",".rs":"",".go":"",".sh":"",".bash":"",".zsh":"",".css":"",".scss":"",".html":"",".htm":"",".png":"",".jpg":"",".jpeg":"",".gif":"",".svg":"",".webp":"",".lock":""}});
|
|
2
|
+
export{K as Mh,Y as Nh,Z as Oh,V as Ph};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Isa as o}from"./cli-1.1.4-xxe2ztwq.mjs";var t="https://api.githubcopilot.com",i=3,n=1,s=32,c="generativelanguage.googleapis.com",r,a="api.kimi.com",p,_,S,E;var e=o(()=>{r=new Set(["api.moonshot.ai","api.moonshot.cn"]),p=new Set(["api.z.ai","open.bigmodel.cn","bigmodel.cn","api.zhipuai.cn","opencode.ai"]),_=new Set(["api.deepseek.com"]),S={"User-Agent":"GitHubCopilotChat/0.26.7","Editor-Version":"vscode/1.99.3","Editor-Plugin-Version":"copilot-chat/0.26.7","Copilot-Integration-Id":"vscode-chat"},E=["api_key","key","token","access_token","refresh_token","signature","sig","secret","password","authorization"]});
|
|
2
|
+
export{t as z9,i as A9,n as B9,s as C9,c as D9,r as E9,a as F9,p as G9,_ as H9,S as I9,E as J9,e as K9};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Isa as M}from"./cli-1.1.4-xxe2ztwq.mjs";function J(){return"prod"}function W(){if(process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL)return"-custom-oauth";switch(J()){case"local":return"-local-oauth";case"staging":return"-staging-oauth";case"prod":return""}}function $(){let k=process.env.CLAUDE_LOCAL_OAUTH_API_BASE?.replace(/\/$/,"")??"http://localhost:8000",x=process.env.CLAUDE_LOCAL_OAUTH_APPS_BASE?.replace(/\/$/,"")??"http://localhost:4000",q=process.env.CLAUDE_LOCAL_OAUTH_CONSOLE_BASE?.replace(/\/$/,"")??"http://localhost:3000";return{BASE_API_URL:k,CONSOLE_AUTHORIZE_URL:`${q}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${x}/oauth/authorize`,CLAUDE_AI_ORIGIN:x,TOKEN_URL:`${k}/v1/oauth/token`,API_KEY_URL:`${k}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${k}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${q}/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code`,CLAUDEAI_SUCCESS_URL:`${q}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${q}/oauth/code/callback`,CLIENT_ID:"22422756-60c9-4084-8eb7-27705fd5cf9a",OAUTH_FILE_SUFFIX:"-local-oauth",MCP_PROXY_URL:"http://localhost:8205",MCP_PROXY_PATH:"/v1/toolbox/shttp/mcp/{server_id}"}}function h(){let k=(()=>{switch(J()){case"local":return $();case"staging":return z;case"prod":return z}})(),x=process.env.CLAUDE_CODE_CUSTOM_OAUTH_URL;if(x){let j=x.replace(/\/$/,"");if(!m.includes(j))throw Error("CLAUDE_CODE_CUSTOM_OAUTH_URL is not an approved endpoint.");k={...k,BASE_API_URL:j,CONSOLE_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_AUTHORIZE_URL:`${j}/oauth/authorize`,CLAUDE_AI_ORIGIN:j,TOKEN_URL:`${j}/v1/oauth/token`,API_KEY_URL:`${j}/api/oauth/claude_cli/create_api_key`,ROLES_URL:`${j}/api/oauth/claude_cli/roles`,CONSOLE_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,CLAUDEAI_SUCCESS_URL:`${j}/oauth/code/success?app=claude-code`,MANUAL_REDIRECT_URL:`${j}/oauth/code/callback`,OAUTH_FILE_SUFFIX:"-custom-oauth"}}let q=process.env.CLAUDE_CODE_OAUTH_CLIENT_ID;if(q)k={...k,CLIENT_ID:q};return k}var Q="user:inference",K="user:profile",V="org:create_api_key",X="oauth-2025-04-20",Y,Z,y,z,G="https://claude.ai/oauth/claude-code-client-metadata",m;var w=M(()=>{Y=[V,K],Z=[K,Q,"user:sessions:claude_code","user:mcp_servers","user:file_upload"],y=Array.from(new Set([...Y,...Z])),z={BASE_API_URL:"https://api.anthropic.com",CONSOLE_AUTHORIZE_URL:"https://platform.claude.com/oauth/authorize",CLAUDE_AI_AUTHORIZE_URL:"https://claude.com/cai/oauth/authorize",CLAUDE_AI_ORIGIN:"https://claude.ai",TOKEN_URL:"https://platform.claude.com/v1/oauth/token",API_KEY_URL:"https://api.anthropic.com/api/oauth/claude_cli/create_api_key",ROLES_URL:"https://api.anthropic.com/api/oauth/claude_cli/roles",CONSOLE_SUCCESS_URL:"https://platform.claude.com/buy_credits?returnUrl=/oauth/code/success%3Fapp%3Dclaude-code",CLAUDEAI_SUCCESS_URL:"https://platform.claude.com/oauth/code/success?app=claude-code",MANUAL_REDIRECT_URL:"https://platform.claude.com/oauth/code/callback",CLIENT_ID:"9d1c250a-e61b-44d9-88ed-5944d1962f5e",OAUTH_FILE_SUFFIX:"",MCP_PROXY_URL:"https://mcp-proxy.anthropic.com",MCP_PROXY_PATH:"/v1/mcp/{server_id}"};m=["https://beacon.claude-ai.staging.ant.dev","https://claude.fedstart.com","https://claude-staging.fedstart.com"]});
|
|
2
|
+
export{W as mja,Q as nja,K as oja,X as pja,Y as qja,Z as rja,y as sja,G as tja,h as uja,w as vja};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Gsa as H,Isa as UJ}from"./cli-1.1.4-xxe2ztwq.mjs";var N=H((IJ,Oq)=>{var K1=Number.MAX_SAFE_INTEGER||9007199254740991,j1=["major","premajor","minor","preminor","patch","prepatch","prerelease"];Oq.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:K1,RELEASE_TYPES:j1,SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var S=H((OJ,Hq)=>{var z1=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...q)=>console.error("SEMVER",...q):()=>{};Hq.exports=z1});var C=H((L,wq)=>{var{MAX_SAFE_COMPONENT_LENGTH:i,MAX_SAFE_BUILD_LENGTH:Y1,MAX_LENGTH:U1}=N(),F1=S();L=wq.exports={};var I1=L.re=[],O1=L.safeRe=[],j=L.src=[],H1=L.safeSrc=[],z=L.t={},w1=0,r="[a-zA-Z0-9-]",y1=[["\\s",1],["\\d",U1],[r,Y1]],B1=(q)=>{for(let[$,J]of y1)q=q.split(`${$}*`).join(`${$}{0,${J}}`).split(`${$}+`).join(`${$}{1,${J}}`);return q},w=(q,$,J)=>{let Q=B1($),Z=w1++;F1(q,Z,$),z[q]=Z,j[Z]=$,H1[Z]=Q,I1[Z]=new RegExp($,J?"g":void 0),O1[Z]=new RegExp(Q,J?"g":void 0)};w("NUMERICIDENTIFIER","0|[1-9]\\d*");w("NUMERICIDENTIFIERLOOSE","\\d+");w("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${r}*`);w("MAINVERSION",`(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})\\.(${j[z.NUMERICIDENTIFIER]})`);w("MAINVERSIONLOOSE",`(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})\\.(${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASEIDENTIFIER",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIER]})`);w("PRERELEASEIDENTIFIERLOOSE",`(?:${j[z.NONNUMERICIDENTIFIER]}|${j[z.NUMERICIDENTIFIERLOOSE]})`);w("PRERELEASE",`(?:-(${j[z.PRERELEASEIDENTIFIER]}(?:\\.${j[z.PRERELEASEIDENTIFIER]})*))`);w("PRERELEASELOOSE",`(?:-?(${j[z.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${j[z.PRERELEASEIDENTIFIERLOOSE]})*))`);w("BUILDIDENTIFIER",`${r}+`);w("BUILD",`(?:\\+(${j[z.BUILDIDENTIFIER]}(?:\\.${j[z.BUILDIDENTIFIER]})*))`);w("FULLPLAIN",`v?${j[z.MAINVERSION]}${j[z.PRERELEASE]}?${j[z.BUILD]}?`);w("FULL",`^${j[z.FULLPLAIN]}$`);w("LOOSEPLAIN",`[v=\\s]*${j[z.MAINVERSIONLOOSE]}${j[z.PRERELEASELOOSE]}?${j[z.BUILD]}?`);w("LOOSE",`^${j[z.LOOSEPLAIN]}$`);w("GTLT","((?:<|>)?=?)");w("XRANGEIDENTIFIERLOOSE",`${j[z.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);w("XRANGEIDENTIFIER",`${j[z.NUMERICIDENTIFIER]}|x|X|\\*`);w("XRANGEPLAIN",`[v=\\s]*(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:\\.(${j[z.XRANGEIDENTIFIER]})(?:${j[z.PRERELEASE]})?${j[z.BUILD]}?)?)?`);w("XRANGEPLAINLOOSE",`[v=\\s]*(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:\\.(${j[z.XRANGEIDENTIFIERLOOSE]})(?:${j[z.PRERELEASELOOSE]})?${j[z.BUILD]}?)?)?`);w("XRANGE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAIN]}$`);w("XRANGELOOSE",`^${j[z.GTLT]}\\s*${j[z.XRANGEPLAINLOOSE]}$`);w("COERCEPLAIN",`(^|[^\\d])(\\d{1,${i}})(?:\\.(\\d{1,${i}}))?(?:\\.(\\d{1,${i}}))?`);w("COERCE",`${j[z.COERCEPLAIN]}(?:$|[^\\d])`);w("COERCEFULL",j[z.COERCEPLAIN]+`(?:${j[z.PRERELEASE]})?(?:${j[z.BUILD]})?(?:$|[^\\d])`);w("COERCERTL",j[z.COERCE],!0);w("COERCERTLFULL",j[z.COERCEFULL],!0);w("LONETILDE","(?:~>?)");w("TILDETRIM",`(\\s*)${j[z.LONETILDE]}\\s+`,!0);L.tildeTrimReplace="$1~";w("TILDE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAIN]}$`);w("TILDELOOSE",`^${j[z.LONETILDE]}${j[z.XRANGEPLAINLOOSE]}$`);w("LONECARET","(?:\\^)");w("CARETTRIM",`(\\s*)${j[z.LONECARET]}\\s+`,!0);L.caretTrimReplace="$1^";w("CARET",`^${j[z.LONECARET]}${j[z.XRANGEPLAIN]}$`);w("CARETLOOSE",`^${j[z.LONECARET]}${j[z.XRANGEPLAINLOOSE]}$`);w("COMPARATORLOOSE",`^${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]})$|^$`);w("COMPARATOR",`^${j[z.GTLT]}\\s*(${j[z.FULLPLAIN]})$|^$`);w("COMPARATORTRIM",`(\\s*)${j[z.GTLT]}\\s*(${j[z.LOOSEPLAIN]}|${j[z.XRANGEPLAIN]})`,!0);L.comparatorTrimReplace="$1$2$3";w("HYPHENRANGE",`^\\s*(${j[z.XRANGEPLAIN]})\\s+-\\s+(${j[z.XRANGEPLAIN]})\\s*$`);w("HYPHENRANGELOOSE",`^\\s*(${j[z.XRANGEPLAINLOOSE]})\\s+-\\s+(${j[z.XRANGEPLAINLOOSE]})\\s*$`);w("STAR","(<|>)?=?\\s*\\*");w("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");w("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var b=H((HJ,yq)=>{var x1=Object.freeze({loose:!0}),D1=Object.freeze({}),G1=(q)=>{if(!q)return D1;if(typeof q!=="object")return x1;return q};yq.exports=G1});var o=H((wJ,Dq)=>{var Bq=/^[0-9]+$/,xq=(q,$)=>{if(typeof q==="number"&&typeof $==="number")return q===$?0:q<$?-1:1;let J=Bq.test(q),Q=Bq.test($);if(J&&Q)q=+q,$=+$;return q===$?0:J&&!Q?-1:Q&&!J?1:q<$?-1:1},V1=(q,$)=>xq($,q);Dq.exports={compareIdentifiers:xq,rcompareIdentifiers:V1}});var G=H((yJ,Vq)=>{var h=S(),{MAX_LENGTH:Gq,MAX_SAFE_INTEGER:f}=N(),{safeRe:v,t:d}=C(),P1=b(),{compareIdentifiers:e}=o(),_1=(q,$)=>{let J=$.split(".");if(J.length>q.length)return!1;for(let Q=0;Q<J.length;Q++)if(e(q[Q],J[Q])!==0)return!1;return!0};class A{constructor(q,$){if($=P1($),q instanceof A)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else q=q.version;else if(typeof q!=="string")throw TypeError(`Invalid version. Must be a string. Got type "${typeof q}".`);if(q.length>Gq)throw TypeError(`version is longer than ${Gq} characters`);h("SemVer",q,$),this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease;let J=q.trim().match($.loose?v[d.LOOSE]:v[d.FULL]);if(!J)throw TypeError(`Invalid Version: ${q}`);if(this.raw=q,this.major=+J[1],this.minor=+J[2],this.patch=+J[3],this.major>f||this.major<0)throw TypeError("Invalid major version");if(this.minor>f||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>f||this.patch<0)throw TypeError("Invalid patch version");if(!J[4])this.prerelease=[];else this.prerelease=J[4].split(".").map((Q)=>{if(/^[0-9]+$/.test(Q)){let Z=+Q;if(Z>=0&&Z<f)return Z}return Q});this.build=J[5]?J[5].split("."):[],this.format()}format(){if(this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length)this.version+=`-${this.prerelease.join(".")}`;return this.version}toString(){return this.version}compare(q){if(h("SemVer.compare",this.version,this.options,q),!(q instanceof A)){if(typeof q==="string"&&q===this.version)return 0;q=new A(q,this.options)}if(q.version===this.version)return 0;return this.compareMain(q)||this.comparePre(q)}compareMain(q){if(!(q instanceof A))q=new A(q,this.options);if(this.major<q.major)return-1;if(this.major>q.major)return 1;if(this.minor<q.minor)return-1;if(this.minor>q.minor)return 1;if(this.patch<q.patch)return-1;if(this.patch>q.patch)return 1;return 0}comparePre(q){if(!(q instanceof A))q=new A(q,this.options);if(this.prerelease.length&&!q.prerelease.length)return-1;else if(!this.prerelease.length&&q.prerelease.length)return 1;else if(!this.prerelease.length&&!q.prerelease.length)return 0;let $=0;do{let J=this.prerelease[$],Q=q.prerelease[$];if(h("prerelease compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}compareBuild(q){if(!(q instanceof A))q=new A(q,this.options);let $=0;do{let J=this.build[$],Q=q.build[$];if(h("build compare",$,J,Q),J===void 0&&Q===void 0)return 0;else if(Q===void 0)return 1;else if(J===void 0)return-1;else if(J===Q)continue;else return e(J,Q)}while(++$)}inc(q,$,J){if(q.startsWith("pre")){if(!$&&J===!1)throw Error("invalid increment argument: identifier is empty");if($){let Q=`-${$}`.match(this.options.loose?v[d.PRERELEASELOOSE]:v[d.PRERELEASE]);if(!Q||Q[1]!==$)throw Error(`invalid identifier: ${$}`)}}switch(q){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",$,J);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",$,J);break;case"prepatch":this.prerelease.length=0,this.inc("patch",$,J),this.inc("pre",$,J);break;case"prerelease":if(this.prerelease.length===0)this.inc("patch",$,J);this.inc("pre",$,J);break;case"release":if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0)this.major++;this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0)this.minor++;this.patch=0,this.prerelease=[];break;case"patch":if(this.prerelease.length===0)this.patch++;this.prerelease=[];break;case"pre":{let Q=Number(J)?1:0;if(this.prerelease.length===0)this.prerelease=[Q];else{let Z=this.prerelease.length;while(--Z>=0)if(typeof this.prerelease[Z]==="number")this.prerelease[Z]++,Z=-2;if(Z===-1){if($===this.prerelease.join(".")&&J===!1)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(Q)}}if($){let Z=[$,Q];if(J===!1)Z=[$];if(_1(this.prerelease,$)){let W=this.prerelease[$.split(".").length];if(isNaN(W))this.prerelease=Z}else this.prerelease=Z}break}default:throw Error(`invalid increment argument: ${q}`)}if(this.raw=this.format(),this.build.length)this.raw+=`+${this.build.join(".")}`;return this}}Vq.exports=A});var E=H((BJ,_q)=>{var Pq=G(),X1=(q,$,J=!1)=>{if(q instanceof Pq)return q;try{return new Pq(q,$)}catch(Q){if(!J)return null;throw Q}};_q.exports=X1});var Aq=H((xJ,Xq)=>{var A1=E(),L1=(q,$)=>{let J=A1(q,$);return J?J.version:null};Xq.exports=L1});var Eq=H((DJ,Lq)=>{var E1=E(),N1=(q,$)=>{let J=E1(q.trim().replace(/^[=v]+/,""),$);return J?J.version:null};Lq.exports=N1});var Sq=H((GJ,Cq)=>{var Nq=G(),C1=(q,$,J,Q,Z)=>{if(typeof J==="string")Z=Q,Q=J,J=void 0;try{return new Nq(q instanceof Nq?q.version:q,J).inc($,Q,Z).version}catch(W){return null}};Cq.exports=C1});var uq=H((VJ,kq)=>{var Rq=E(),S1=(q,$)=>{let J=Rq(q,null,!0),Q=Rq($,null,!0),Z=J.compare(Q);if(Z===0)return null;let W=Z>0,K=W?J:Q,Y=W?Q:J,F=!!K.prerelease.length;if(!!Y.prerelease.length&&!F){if(!Y.patch&&!Y.minor)return"major";if(Y.compareMain(K)===0){if(Y.minor&&!Y.patch)return"minor";return"patch"}}let I=F?"pre":"";if(J.major!==Q.major)return I+"major";if(J.minor!==Q.minor)return I+"minor";if(J.patch!==Q.patch)return I+"patch";return"prerelease"};kq.exports=S1});var Mq=H((PJ,Tq)=>{var R1=G(),k1=(q,$)=>new R1(q,$).major;Tq.exports=k1});var hq=H((_J,bq)=>{var u1=G(),T1=(q,$)=>new u1(q,$).minor;bq.exports=T1});var vq=H((XJ,fq)=>{var M1=G(),b1=(q,$)=>new M1(q,$).patch;fq.exports=b1});var lq=H((AJ,dq)=>{var h1=E(),f1=(q,$)=>{let J=h1(q,$);return J&&J.prerelease.length?J.prerelease:null};dq.exports=f1});var _=H((LJ,cq)=>{var gq=G(),v1=(q,$,J)=>new gq(q,J).compare(new gq($,J));cq.exports=v1});var pq=H((EJ,mq)=>{var d1=_(),l1=(q,$,J)=>d1($,q,J);mq.exports=l1});var aq=H((NJ,sq)=>{var g1=_(),c1=(q,$)=>g1(q,$,!0);sq.exports=c1});var l=H((CJ,tq)=>{var nq=G(),m1=(q,$,J)=>{let Q=new nq(q,J),Z=new nq($,J);return Q.compare(Z)||Q.compareBuild(Z)};tq.exports=m1});var rq=H((SJ,iq)=>{var p1=l(),s1=(q,$)=>q.sort((J,Q)=>p1(J,Q,$));iq.exports=s1});var eq=H((RJ,oq)=>{var a1=l(),n1=(q,$)=>q.sort((J,Q)=>a1(Q,J,$));oq.exports=n1});var R=H((kJ,q0)=>{var t1=_(),i1=(q,$,J)=>t1(q,$,J)>0;q0.exports=i1});var g=H((uJ,$0)=>{var r1=_(),o1=(q,$,J)=>r1(q,$,J)<0;$0.exports=o1});var qq=H((TJ,J0)=>{var e1=_(),q$=(q,$,J)=>e1(q,$,J)===0;J0.exports=q$});var $q=H((MJ,Q0)=>{var $$=_(),J$=(q,$,J)=>$$(q,$,J)!==0;Q0.exports=J$});var c=H((bJ,W0)=>{var Q$=_(),W$=(q,$,J)=>Q$(q,$,J)>=0;W0.exports=W$});var m=H((hJ,Z0)=>{var Z$=_(),K$=(q,$,J)=>Z$(q,$,J)<=0;Z0.exports=K$});var Jq=H((fJ,K0)=>{var j$=qq(),z$=$q(),Y$=R(),U$=c(),F$=g(),I$=m(),O$=(q,$,J,Q)=>{switch($){case"===":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q===J;case"!==":if(typeof q==="object")q=q.version;if(typeof J==="object")J=J.version;return q!==J;case"":case"=":case"==":return j$(q,J,Q);case"!=":return z$(q,J,Q);case">":return Y$(q,J,Q);case">=":return U$(q,J,Q);case"<":return F$(q,J,Q);case"<=":return I$(q,J,Q);default:throw TypeError(`Invalid operator: ${$}`)}};K0.exports=O$});var z0=H((vJ,j0)=>{var H$=G(),w$=E(),{safeRe:p,t:s}=C(),y$=(q,$)=>{if(q instanceof H$)return q;if(typeof q==="number")q=String(q);if(typeof q!=="string")return null;$=$||{};let J=null;if(!$.rtl)J=q.match($.includePrerelease?p[s.COERCEFULL]:p[s.COERCE]);else{let F=$.includePrerelease?p[s.COERCERTLFULL]:p[s.COERCERTL],U;while((U=F.exec(q))&&(!J||J.index+J[0].length!==q.length)){if(!J||U.index+U[0].length!==J.index+J[0].length)J=U;F.lastIndex=U.index+U[1].length+U[2].length}F.lastIndex=-1}if(J===null)return null;let Q=J[2],Z=J[3]||"0",W=J[4]||"0",K=$.includePrerelease&&J[5]?`-${J[5]}`:"",Y=$.includePrerelease&&J[6]?`+${J[6]}`:"";return w$(`${Q}.${Z}.${W}${K}${Y}`,$)};j0.exports=y$});var U0=H((dJ,Y0)=>{var B$=E(),x$=N(),D$=G(),G$=(q,$,J)=>{if(!x$.RELEASE_TYPES.includes($))return null;let Q=V$(q,J);return Q&&P$(Q,$)},V$=(q,$)=>{let J=q instanceof D$?q.version:q;return B$(J,$)},P$=(q,$)=>{if(_$($))return q.version;switch(q.prerelease=[],$){case"major":q.minor=0,q.patch=0;break;case"minor":q.patch=0;break}return q.format()},_$=(q)=>{return q.startsWith("pre")};Y0.exports=G$});var O0=H((lJ,I0)=>{class F0{constructor(){this.max=1000,this.map=new Map}get(q){let $=this.map.get(q);if($===void 0)return;else return this.map.delete(q),this.map.set(q,$),$}delete(q){return this.map.delete(q)}set(q,$){if(!this.delete(q)&&$!==void 0){if(this.map.size>=this.max){let Q=this.map.keys().next().value;this.delete(Q)}this.map.set(q,$)}return this}}I0.exports=F0});var X=H((gJ,B0)=>{var X$=/\s+/g;class k{constructor(q,$){if($=L$($),q instanceof k)if(q.loose===!!$.loose&&q.includePrerelease===!!$.includePrerelease)return q;else return new k(q.raw,$);if(q instanceof Qq)return this.raw=q.value,this.set=[[q]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=q.trim().replace(X$," "),this.set=this.raw.split("||").map((J)=>this.parseRange(J.trim())).filter((J)=>J.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let J=this.set[0];if(this.set=this.set.filter((Q)=>!w0(Q[0])),this.set.length===0)this.set=[J];else if(this.set.length>1){for(let Q of this.set)if(Q.length===1&&M$(Q[0])){this.set=[Q];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let q=0;q<this.set.length;q++){if(q>0)this.formatted+="||";let $=this.set[q];for(let J=0;J<$.length;J++){if(J>0)this.formatted+=" ";this.formatted+=$[J].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(q){q=q.replace(T$,"");let J=((this.options.includePrerelease&&k$)|(this.options.loose&&u$))+":"+q,Q=H0.get(J);if(Q)return Q;let Z=this.options.loose,W=Z?P[V.HYPHENRANGELOOSE]:P[V.HYPHENRANGE];q=q.replace(W,s$(this.options.includePrerelease)),B("hyphen replace",q),q=q.replace(P[V.COMPARATORTRIM],C$),B("comparator trim",q),q=q.replace(P[V.TILDETRIM],S$),B("tilde trim",q),q=q.replace(P[V.CARETTRIM],R$),B("caret trim",q);let K=q.split(" ").map((I)=>b$(I,this.options)).join(" ").split(/\s+/).map((I)=>p$(I,this.options));if(Z)K=K.filter((I)=>{return B("loose invalid filter",I,this.options),!!I.match(P[V.COMPARATORLOOSE])});B("range list",K);let Y=new Map,F=K.map((I)=>new Qq(I,this.options));for(let I of F){if(w0(I))return[I];Y.set(I.value,I)}if(Y.size>1&&Y.has(""))Y.delete("");let U=[...Y.values()];return H0.set(J,U),U}intersects(q,$){if(!(q instanceof k))throw TypeError("a Range is required");return this.set.some((J)=>{return y0(J,$)&&q.set.some((Q)=>{return y0(Q,$)&&J.every((Z)=>{return Q.every((W)=>{return Z.intersects(W,$)})})})})}test(q){if(!q)return!1;if(typeof q==="string")try{q=new E$(q,this.options)}catch($){return!1}for(let $=0;$<this.set.length;$++)if(a$(this.set[$],q,this.options))return!0;return!1}}B0.exports=k;var A$=O0(),H0=new A$,L$=b(),Qq=u(),B=S(),E$=G(),{safeRe:P,src:N$,t:V,comparatorTrimReplace:C$,tildeTrimReplace:S$,caretTrimReplace:R$}=C(),{FLAG_INCLUDE_PRERELEASE:k$,FLAG_LOOSE:u$}=N(),T$=new RegExp(N$[V.BUILD],"g"),w0=(q)=>q.value==="<0.0.0-0",M$=(q)=>q.value==="",y0=(q,$)=>{let J=!0,Q=q.slice(),Z=Q.pop();while(J&&Q.length)J=Q.every((W)=>{return Z.intersects(W,$)}),Z=Q.pop();return J},b$=(q,$)=>{return q=q.replace(P[V.BUILD],""),B("comp",q,$),q=d$(q,$),B("caret",q),q=f$(q,$),B("tildes",q),q=g$(q,$),B("xrange",q),q=m$(q,$),B("stars",q),q},D=(q)=>!q||q.toLowerCase()==="x"||q==="*",h$=(q,$,J)=>D(q)&&!D($)||D($)&&J&&!D(J),f$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>v$(J,$)).join(" ")},v$=(q,$)=>{let J=$.loose?P[V.TILDELOOSE]:P[V.TILDE],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("tilde",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else if(F)B("replaceTilde pr",F),U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;return B("tilde return",U),U})},d$=(q,$)=>{return q.trim().split(/\s+/).map((J)=>l$(J,$)).join(" ")},l$=(q,$)=>{B("caret",q,$);let J=$.loose?P[V.CARETLOOSE]:P[V.CARET],Q=$.includePrerelease?"-0":"";return q.replace(J,(Z,W,K,Y,F)=>{B("caret",q,Z,W,K,Y,F);let U;if(D(W))U="";else if(D(K))U=`>=${W}.0.0${Q} <${+W+1}.0.0-0`;else if(D(Y))if(W==="0")U=`>=${W}.${K}.0${Q} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.0${Q} <${+W+1}.0.0-0`;else if(F)if(B("replaceCaret pr",F),W==="0")if(K==="0")U=`>=${W}.${K}.${Y}-${F} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y}-${F} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y}-${F} <${+W+1}.0.0-0`;else if(B("no pr"),W==="0")if(K==="0")U=`>=${W}.${K}.${Y} <${W}.${K}.${+Y+1}-0`;else U=`>=${W}.${K}.${Y} <${W}.${+K+1}.0-0`;else U=`>=${W}.${K}.${Y} <${+W+1}.0.0-0`;return B("caret return",U),U})},g$=(q,$)=>{return B("replaceXRanges",q,$),q.split(/\s+/).map((J)=>c$(J,$)).join(" ")},c$=(q,$)=>{q=q.trim();let J=$.loose?P[V.XRANGELOOSE]:P[V.XRANGE];return q.replace(J,(Q,Z,W,K,Y,F)=>{if(B("xRange",q,Q,Z,W,K,Y,F),h$(W,K,Y))return q;let U=D(W),I=U||D(K),y=I||D(Y),x=y;if(Z==="="&&x)Z="";if(F=$.includePrerelease?"-0":"",U)if(Z===">"||Z==="<")Q="<0.0.0-0";else Q="*";else if(Z&&x){if(I)K=0;if(Y=0,Z===">")if(Z=">=",I)W=+W+1,K=0,Y=0;else K=+K+1,Y=0;else if(Z==="<=")if(Z="<",I)W=+W+1;else K=+K+1;if(Z==="<")F="-0";Q=`${Z+W}.${K}.${Y}${F}`}else if(I)Q=`>=${W}.0.0${F} <${+W+1}.0.0-0`;else if(y)Q=`>=${W}.${K}.0${F} <${W}.${+K+1}.0-0`;return B("xRange return",Q),Q})},m$=(q,$)=>{return B("replaceStars",q,$),q.trim().replace(P[V.STAR],"")},p$=(q,$)=>{return B("replaceGTE0",q,$),q.trim().replace(P[$.includePrerelease?V.GTE0PRE:V.GTE0],"")},s$=(q)=>($,J,Q,Z,W,K,Y,F,U,I,y,x)=>{if(D(Q))J="";else if(D(Z))J=`>=${Q}.0.0${q?"-0":""}`;else if(D(W))J=`>=${Q}.${Z}.0${q?"-0":""}`;else if(K)J=`>=${J}`;else J=`>=${J}${q?"-0":""}`;if(D(U))F="";else if(D(I))F=`<${+U+1}.0.0-0`;else if(D(y))F=`<${U}.${+I+1}.0-0`;else if(x)F=`<=${U}.${I}.${y}-${x}`;else if(q)F=`<${U}.${I}.${+y+1}-0`;else F=`<=${F}`;return`${J} ${F}`.trim()},a$=(q,$,J)=>{for(let Q=0;Q<q.length;Q++)if(!q[Q].test($))return!1;if($.prerelease.length&&!J.includePrerelease){for(let Q=0;Q<q.length;Q++){if(B(q[Q].semver),q[Q].semver===Qq.ANY)continue;if(q[Q].semver.prerelease.length>0){let Z=q[Q].semver;if(Z.major===$.major&&Z.minor===$.minor&&Z.patch===$.patch)return!0}}return!1}return!0}});var u=H((cJ,_0)=>{var T=Symbol("SemVer ANY");class a{static get ANY(){return T}constructor(q,$){if($=x0($),q instanceof a)if(q.loose===!!$.loose)return q;else q=q.value;if(q=q.trim().split(/\s+/).join(" "),Zq("comparator",q,$),this.options=$,this.loose=!!$.loose,this.parse(q),this.semver===T)this.value="";else this.value=this.operator+this.semver.version;Zq("comp",this)}parse(q){let $=this.options.loose?D0[G0.COMPARATORLOOSE]:D0[G0.COMPARATOR],J=q.match($);if(!J)throw TypeError(`Invalid comparator: ${q}`);if(this.operator=J[1]!==void 0?J[1]:"",this.operator==="=")this.operator="";if(!J[2])this.semver=T;else this.semver=new V0(J[2],this.options.loose)}toString(){return this.value}test(q){if(Zq("Comparator.test",q,this.options.loose),this.semver===T||q===T)return!0;if(typeof q==="string")try{q=new V0(q,this.options)}catch($){return!1}return Wq(q,this.operator,this.semver,this.options)}intersects(q,$){if(!(q instanceof a))throw TypeError("a Comparator is required");if(this.operator===""){if(this.value==="")return!0;return new P0(q.value,$).test(this.value)}else if(q.operator===""){if(q.value==="")return!0;return new P0(this.value,$).test(q.semver)}if($=x0($),$.includePrerelease&&(this.value==="<0.0.0-0"||q.value==="<0.0.0-0"))return!1;if(!$.includePrerelease&&(this.value.startsWith("<0.0.0")||q.value.startsWith("<0.0.0")))return!1;if(this.operator.startsWith(">")&&q.operator.startsWith(">"))return!0;if(this.operator.startsWith("<")&&q.operator.startsWith("<"))return!0;if(this.semver.version===q.semver.version&&this.operator.includes("=")&&q.operator.includes("="))return!0;if(Wq(this.semver,"<",q.semver,$)&&this.operator.startsWith(">")&&q.operator.startsWith("<"))return!0;if(Wq(this.semver,">",q.semver,$)&&this.operator.startsWith("<")&&q.operator.startsWith(">"))return!0;return!1}}_0.exports=a;var x0=b(),{safeRe:D0,t:G0}=C(),Wq=Jq(),Zq=S(),V0=G(),P0=X()});var M=H((mJ,X0)=>{var n$=X(),t$=(q,$,J)=>{try{$=new n$($,J)}catch(Q){return!1}return $.test(q)};X0.exports=t$});var L0=H((pJ,A0)=>{var i$=X(),r$=(q,$)=>new i$(q,$).set.map((J)=>J.map((Q)=>Q.value).join(" ").trim().split(" "));A0.exports=r$});var N0=H((sJ,E0)=>{var o$=G(),e$=X(),q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new e$($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===-1)Q=K,Z=new o$(Q,J)}}),Q};E0.exports=q9});var S0=H((aJ,C0)=>{var $9=G(),J9=X(),Q9=(q,$,J)=>{let Q=null,Z=null,W=null;try{W=new J9($,J)}catch(K){return null}return q.forEach((K)=>{if(W.test(K)){if(!Q||Z.compare(K)===1)Q=K,Z=new $9(Q,J)}}),Q};C0.exports=Q9});var u0=H((nJ,k0)=>{var Kq=G(),W9=X(),R0=R(),Z9=(q,$)=>{q=new W9(q,$);let J=new Kq("0.0.0");if(q.test(J))return J;if(J=new Kq("0.0.0-0"),q.test(J))return J;J=null;for(let Q=0;Q<q.set.length;++Q){let Z=q.set[Q],W=null;if(Z.forEach((K)=>{let Y=new Kq(K.semver.version);switch(K.operator){case">":if(Y.prerelease.length===0)Y.patch++;else Y.prerelease.push(0);Y.raw=Y.format();case"":case">=":if(!W||R0(Y,W))W=Y;break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${K.operator}`)}}),W&&(!J||R0(J,W)))J=W}if(J&&q.test(J))return J;return null};k0.exports=Z9});var M0=H((tJ,T0)=>{var K9=X(),j9=(q,$)=>{try{return new K9(q,$).range||"*"}catch(J){return null}};T0.exports=j9});var n=H((iJ,v0)=>{var z9=G(),f0=u(),{ANY:Y9}=f0,U9=X(),F9=M(),b0=R(),h0=g(),I9=m(),O9=c(),H9=(q,$,J,Q)=>{q=new z9(q,Q),$=new U9($,Q);let Z,W,K,Y,F;switch(J){case">":Z=b0,W=I9,K=h0,Y=">",F=">=";break;case"<":Z=h0,W=O9,K=b0,Y="<",F="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(F9(q,$,Q))return!1;for(let U=0;U<$.set.length;++U){let I=$.set[U],y=null,x=null;if(I.forEach((O)=>{if(O.semver===Y9)O=new f0(">=0.0.0");if(y=y||O,x=x||O,Z(O.semver,y.semver,Q))y=O;else if(K(O.semver,x.semver,Q))x=O}),y.operator===Y||y.operator===F)return!1;if((!x.operator||x.operator===Y)&&W(q,x.semver))return!1;else if(x.operator===F&&K(q,x.semver))return!1}return!0};v0.exports=H9});var l0=H((rJ,d0)=>{var w9=n(),y9=(q,$,J)=>w9(q,$,">",J);d0.exports=y9});var c0=H((oJ,g0)=>{var B9=n(),x9=(q,$,J)=>B9(q,$,"<",J);g0.exports=x9});var s0=H((eJ,p0)=>{var m0=X(),D9=(q,$,J)=>{return q=new m0(q,J),$=new m0($,J),q.intersects($,J)};p0.exports=D9});var n0=H((qQ,a0)=>{var G9=M(),V9=_();a0.exports=(q,$,J)=>{let Q=[],Z=null,W=null,K=q.sort((I,y)=>V9(I,y,J));for(let I of K)if(G9(I,$,J)){if(W=I,!Z)Z=I}else{if(W)Q.push([Z,W]);W=null,Z=null}if(Z)Q.push([Z,null]);let Y=[];for(let[I,y]of Q)if(I===y)Y.push(I);else if(!y&&I===K[0])Y.push("*");else if(!y)Y.push(`>=${I}`);else if(I===K[0])Y.push(`<=${y}`);else Y.push(`${I} - ${y}`);let F=Y.join(" || "),U=typeof $.raw==="string"?$.raw:String($);return F.length<U.length?F:$}});var q1=H(($Q,e0)=>{var t0=X(),Yq=u(),{ANY:jq}=Yq,zq=M(),Uq=_(),P9=(q,$,J={})=>{if(q===$)return!0;q=new t0(q,J),$=new t0($,J);let Q=!1;q:for(let Z of q.set){for(let W of $.set){let K=X9(Z,W,J);if(Q=Q||K!==null,K)continue q}if(Q)return!1}return!0},_9=[new Yq(">=0.0.0-0")],i0=[new Yq(">=0.0.0")],X9=(q,$,J)=>{if(q===$)return!0;if(q.length===1&&q[0].semver===jq)if($.length===1&&$[0].semver===jq)return!0;else if(J.includePrerelease)q=_9;else q=i0;if($.length===1&&$[0].semver===jq)if(J.includePrerelease)return!0;else $=i0;let Q=new Set,Z,W;for(let O of q)if(O.operator===">"||O.operator===">=")Z=r0(Z,O,J);else if(O.operator==="<"||O.operator==="<=")W=o0(W,O,J);else Q.add(O.semver);if(Q.size>1)return null;let K;if(Z&&W){if(K=Uq(Z.semver,W.semver,J),K>0)return null;else if(K===0&&(Z.operator!==">="||W.operator!=="<="))return null}for(let O of Q){if(Z&&!zq(O,String(Z),J))return null;if(W&&!zq(O,String(W),J))return null;for(let Z1 of $)if(!zq(O,String(Z1),J))return!1;return!0}let Y,F,U,I,y=W&&!J.includePrerelease&&W.semver.prerelease.length?W.semver:!1,x=Z&&!J.includePrerelease&&Z.semver.prerelease.length?Z.semver:!1;if(y&&y.prerelease.length===1&&W.operator==="<"&&y.prerelease[0]===0)y=!1;for(let O of $){if(I=I||O.operator===">"||O.operator===">=",U=U||O.operator==="<"||O.operator==="<=",Z){if(x){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===x.major&&O.semver.minor===x.minor&&O.semver.patch===x.patch)x=!1}if(O.operator===">"||O.operator===">="){if(Y=r0(Z,O,J),Y===O&&Y!==Z)return!1}else if(Z.operator===">="&&!O.test(Z.semver))return!1}if(W){if(y){if(O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===y.major&&O.semver.minor===y.minor&&O.semver.patch===y.patch)y=!1}if(O.operator==="<"||O.operator==="<="){if(F=o0(W,O,J),F===O&&F!==W)return!1}else if(W.operator==="<="&&!O.test(W.semver))return!1}if(!O.operator&&(W||Z)&&K!==0)return!1}if(Z&&U&&!W&&K!==0)return!1;if(W&&I&&!Z&&K!==0)return!1;if(x||y)return!1;return!0},r0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q>0?q:Q<0?$:$.operator===">"&&q.operator===">="?$:q},o0=(q,$,J)=>{if(!q)return $;let Q=Uq(q.semver,$.semver,J);return Q<0?q:Q>0?$:$.operator==="<"&&q.operator==="<="?$:q};e0.exports=P9});var W1=H((JQ,Q1)=>{var Fq=C(),$1=N(),A9=G(),J1=o(),L9=E(),E9=Aq(),N9=Eq(),C9=Sq(),S9=uq(),R9=Mq(),k9=hq(),u9=vq(),T9=lq(),M9=_(),b9=pq(),h9=aq(),f9=l(),v9=rq(),d9=eq(),l9=R(),g9=g(),c9=qq(),m9=$q(),p9=c(),s9=m(),a9=Jq(),n9=z0(),t9=U0(),i9=u(),r9=X(),o9=M(),e9=L0(),qJ=N0(),$J=S0(),JJ=u0(),QJ=M0(),WJ=n(),ZJ=l0(),KJ=c0(),jJ=s0(),zJ=n0(),YJ=q1();Q1.exports={parse:L9,valid:E9,clean:N9,inc:C9,diff:S9,major:R9,minor:k9,patch:u9,prerelease:T9,compare:M9,rcompare:b9,compareLoose:h9,compareBuild:f9,sort:v9,rsort:d9,gt:l9,lt:g9,eq:c9,neq:m9,gte:p9,lte:s9,cmp:a9,coerce:n9,truncate:t9,Comparator:i9,Range:r9,satisfies:o9,toComparators:e9,maxSatisfying:qJ,minSatisfying:$J,minVersion:JJ,validRange:QJ,outside:WJ,gtr:ZJ,ltr:KJ,intersects:jJ,simplifyRange:zJ,subset:YJ,SemVer:A9,re:Fq.re,src:Fq.src,tokens:Fq.t,SEMVER_SPEC_VERSION:$1.SEMVER_SPEC_VERSION,RELEASE_TYPES:$1.RELEASE_TYPES,compareIdentifiers:J1.compareIdentifiers,rcompareIdentifiers:J1.rcompareIdentifiers}});function t(){if(!Iq)Iq=W1();return Iq}function QQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===1;return t().gt(q,$,{loose:!0})}function WQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)>=0;return t().gte(q,$,{loose:!0})}function ZQ(q,$){if(typeof Bun<"u")return Bun.semver.order(q,$)===-1;return t().lt(q,$,{loose:!0})}function KQ(q,$){if(typeof Bun<"u")return Bun.semver.satisfies(q,$);return t().satisfies(q,$,{loose:!0})}var Iq;var FJ=()=>{};
|
|
2
|
+
export{W1 as z2,QQ as A2,WQ as B2,ZQ as C2,KQ as D2,FJ as E2};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$h as j,bi as l}from"./cli-1.1.4-h4pjzspp.mjs";import{li as W,ri as i}from"./cli-1.1.4-smjkhzzj.mjs";import{$O as o,BO as n,GQ as s,Lx as U,Mx as m,WT as G,Xw as B,Yj as Z,Zj as P,_O as b,aj as Y,aw as $,ax as p,bj as A,bw as D,dx as N,eD as L,ex as g,fD as h,hU as r,iU as R,jC as d,jU as f,kU as F,lU as u,mU as t,nC as E,oC as C,wQ as x,wv as _,wz as V,yz as S,zO as M}from"./cli-1.1.4-6z69geef.mjs";import{o_ as Q,u_ as k}from"./cli-1.1.4-cwnt4by7.mjs";import{Aaa as X,Baa as v,Z_ as O,e$ as I}from"./cli-1.1.4-6c3fshef.mjs";import{Aqa as K,Zqa as T,oqa as J}from"./cli-1.1.4-0r232fpm.mjs";import{Isa as y,Jsa as w}from"./cli-1.1.4-xxe2ztwq.mjs";function Mq(H=new Set){let z=H.size>0;if(u.cache.clear?.(),F.cache.clear?.(),f.cache.clear?.(),Y.cache.clear?.(),W(),x(),!z)N();if(R(null),K(null),b(),_(),G("session_start"),V(),X.clear(),Z(),!z)B();if(Q(),M(),!z)U();J(H),O(),L(),$(),j(),E(),import("./utils-1.1.4-xzem7sm6.mjs").then(({clearWebFetchCache:q})=>q()),import("./ToolSearchTool-1.1.4-wk88hvrf.mjs").then(({clearToolSearchDescriptionCache:q})=>q()),import("./loadAgentsDir-1.1.4-mqdb78s1.mjs").then(({clearAgentDefinitionsCache:q})=>q()),import("./prompt-1.1.4-r7wxvh91.mjs").then(({clearPromptCache:q})=>q())}var c=y(()=>{T();s();A();t();i();p();m();g();P();o();D();l();h();d();n();r();k();I();v();S();C()});
|
|
2
|
+
export{Mq as Zh,c as _h};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Za as S}from"./cli-1.1.4-q1mcaeav.mjs";import{$a as c}from"./cli-1.1.4-w06xm7pk.mjs";import{Dd as P,Hd as Vq}from"./cli-1.1.4-mkk6fe3z.mjs";import{Ld as I,Md as v,Nd as $,Od as Wq}from"./cli-1.1.4-5g0b74dj.mjs";import{Bz as A,Cz as Bq,FF as M,GF as Jq,GM as f,Gu as N,Gz as _,Hu as e,Iz as Gq,JM as Tq,iy as L,jy as h,lp as C,ly as qq,np as r,oL as E,pL as Qq}from"./cli-1.1.4-6z69geef.mjs";import{r4 as s}from"./cli-1.1.4-9ms3b4tc.mjs";import{P_ as D,Qga as F,R_ as n,Yga as a,xaa as w,zaa as t}from"./cli-1.1.4-6c3fshef.mjs";import{wja as x,zja as d}from"./cli-1.1.4-te2372tc.mjs";import{Cka as o,zka as j}from"./cli-1.1.4-53fvpymg.mjs";import{Yka as y,ela as l}from"./cli-1.1.4-hzx821eq.mjs";import{Esa as p}from"./cli-1.1.4-xxe2ztwq.mjs";Jq();d();Gq();qq();Wq();t();o();n();l();a();e();Qq();var V=p(s(),1);Bq();r();Vq();Tq();function Lq({enabled:W=!0}={}){let b=V.useSyncExternalStore(v,I,I),H=h(),O=L((J)=>J.plugins.needsRefresh),{addNotification:z}=M(),R=V.useCallback(async()=>{try{let{enabled:J,disabled:T,errors:Q}=await f();await c();let X=P();if(Object.keys(X).length>0)z({key:"plugin-delisted-flagged",text:"Plugins flagged. Check /plugins",color:"warning",priority:"high"});let Y=[],Z=[];try{Y=await E(),$(Y)}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-commands",error:`Failed to load plugin commands: ${B}`}),$([])}try{Z=await N()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-agents",error:`Failed to load plugin agents: ${B}`})}try{await S()}catch(q){let B=q instanceof Error?q.message:String(q);Q.push({type:"generic-error",source:"plugin-hooks",error:`Failed to load plugin hooks: ${B}`})}let u=(await Promise.all(J.map(async(q)=>{if(q.mcpServers)return Object.keys(q.mcpServers).length;let B=await C(q,Q);if(B)q.mcpServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0),m=(await Promise.all(J.map(async(q)=>{if(q.lspServers)return Object.keys(q.lspServers).length;let B=await A(q,Q);if(B)q.lspServers=B;return B?Object.keys(B).length:0}))).reduce((q,B)=>q+B,0);_(),H((q)=>{let B=q.plugins.errors.filter((G)=>G.source==="lsp-manager"||G.source.startsWith("plugin:")),K=new Set(Q.map((G)=>G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`)),U=[...B.filter((G)=>{let i=G.type==="generic-error"?`generic-error:${G.source}:${G.error}`:`${G.type}:${G.source}`;return!K.has(i)}),...Q];return{...q,plugins:{...q.plugins,enabled:J,disabled:T,commands:[],errors:U}}}),j(`Loaded plugins - Enabled: ${J.length}, Disabled: ${T.length}, Commands: ${Y.length}, Agents: ${Z.length}, Errors: ${Q.length}`);let g=J.reduce((q,B)=>{if(!B.hooksConfig)return q;return q+Object.values(B.hooksConfig).reduce((K,k)=>K+(k?.reduce((U,G)=>U+G.hooks.length,0)??0),0)},0);return{enabled_count:J.length,disabled_count:T.length,inline_count:w(J,(q)=>q.source.endsWith("@inline")),marketplace_count:w(J,(q)=>!q.source.endsWith("@inline")),error_count:Q.length,skill_count:Y.length,agent_count:Z.length,hook_count:g,mcp_count:u,lsp_count:m}}catch(J){let T=y(J);return F(T),j(`Error loading plugins: ${J}`),$([]),H((Q)=>{let X=Q.plugins.errors.filter((Z)=>Z.source==="lsp-manager"||Z.source.startsWith("plugin:")),Y={type:"generic-error",source:"plugin-system",error:T.message};return{...Q,plugins:{...Q.plugins,enabled:[],disabled:[],commands:[],errors:[...X,Y]}}}),{enabled_count:0,disabled_count:0,inline_count:0,marketplace_count:0,error_count:1,skill_count:0,agent_count:0,hook_count:0,mcp_count:0,lsp_count:0,load_failed:!0,ant_enabled_names:void 0}}},[H,z]);return V.useEffect(()=>{if(!W)return;R().then((J)=>{let{ant_enabled_names:T,...Q}=J,X={...Q,has_custom_plugin_cache_dir:!!process.env.CLAUDE_CODE_PLUGIN_CACHE_DIR};x("tengu_plugins_loaded",{...X,...T!==void 0&&{enabled_names:T}}),D("info","tengu_plugins_loaded",X)})},[R,W]),V.useEffect(()=>{if(W)return;$([])},[W]),V.useEffect(()=>{if(!W||!O)return;z({key:"plugin-reload-pending",text:"Plugins changed. Run /reload-plugins to activate.",color:"suggestion",priority:"low"})},[W,O,z]),W?b:[]}
|
|
2
|
+
export{Lq as Ya};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import{Fc as zc,Gc as on}from"./cli-1.1.4-08dh9fvb.mjs";import{Hc as Vh,Ic as jt,Jc as Vt,Kc as Oc,Mc as jn}from"./cli-1.1.4-1gz31tm3.mjs";import{Nc as ft,Qc as Dn}from"./cli-1.1.4-83vy9tsv.mjs";import{$p as Ln,OG as bu,PG as ln,QG as Ou,RG as zu,SG as Ru,Sp as Mu,TG as rn,Tp as Tu,Up as Uu,Vp as Eu,Wp as nc,Xp as Ct,Yp as Xh,Zp as Pu,_p as Bu,aq as Nh,cq as ou,dq as ac,fq as pu,iq as ku,jq as An,jy as bc,kI as eh,kq as Lu,lI as jc,lq as Qu,ly as Pn,mq as Nu,nG as Xt,nI as In,nq as Ju,oG as sh,oI as xn,oq as at,pq as Ah,qq as gn,rq as Jh,sx as Cc,tq as Gu,tx as lc,uq as mc,ux as rc,vr as yc,vx as wc,wq as Su,wr as Un,wx as En,xG as S,yG as Dc,zG as Bn}from"./cli-1.1.4-6z69geef.mjs";import{BY as D,DY as Mn,PY as uc,QY as Tn}from"./cli-1.1.4-k6ebhyp0.mjs";import{H1 as Eh,a1 as F,c1 as y}from"./cli-1.1.4-nh3sscxn.mjs";import{K2 as Ph,L2 as Bh,M2 as Ih,N2 as xh,O2 as Dh,P2 as xc,S2 as jh,W2 as oh,X2 as cc,Y2 as ph}from"./cli-1.1.4-6h6yt6jp.mjs";import{n4 as yt,o4 as n,p4 as z,q4 as Tt}from"./cli-1.1.4-40z19hth.mjs";import{r4 as Qt}from"./cli-1.1.4-9ms3b4tc.mjs";import{O4 as Pt,P4 as qu}from"./cli-1.1.4-my1g33fn.mjs";import{_6 as Dt,d5 as Uh,f5 as Ic,r7 as Wn}from"./cli-1.1.4-fk420f57.mjs";import{$fa as wu,Afa as Jt,Bfa as Fh,Cfa as ut,D_ as qt,Dfa as ct,E_ as Sn,Hfa as nt,Ifa as _h,Kfa as kh,Ofa as Th,Tfa as Oh,Ufa as yu,Vfa as Cu,Wfa as Ut,Xfa as zh,Yfa as lu,Zfa as bh,_fa as ru,aga as Cn,bga as Lh,cga as gu,dga as Qh,fga as Xu,hga as hc,iga as pt,rfa as tc,sfa as $t,tfa as Hn,ufa as ot,vfa as x,xfa as B,yfa as xt,yga as Kn}from"./cli-1.1.4-6c3fshef.mjs";import{mla as o,ula as Et}from"./cli-1.1.4-c7a7aezt.mjs";import{Esa as Lt,Fsa as Gn,Isa as I}from"./cli-1.1.4-xxe2ztwq.mjs";function pc(t,h=Ch,u){let a=x().find((w)=>w.provider==="openai"&&w.extras?.githubToken!==void 0);if(a){if(!ct(a.id,{provider:"openai",name:a.name,baseUrl:u||a.baseUrl,model:a.model||h,apiKey:t,extras:{...a.extras,githubToken:t}}))return{mode:"failed"};return nt(a.id),{mode:"updated"}}if(!ut({provider:"openai",name:"GitHub Copilot",baseUrl:u||oc,model:h,apiKey:t,extras:{githubToken:t}},{makeActive:!0}))return{mode:"failed"};return{mode:"created"}}function vh({onDone:t,onBack:h,onChangeAPIKey:u}){let a=jh()?.trim()?"already-authed":"menu",[C,w]=j.useState(a),[f,A]=j.useState(null),[$,R]=j.useState(""),[X,J]=j.useState(0),[Q,H]=j.useState(null),V=j.useCallback(async(i,Z=Ch,mt,N)=>{let P=oh(i,mt,N?.enterpriseDomain);if(!P.success){A(P.warning??"Could not save token to secure storage."),w("error");return}if(pc(i,Z,N?.baseUrl).mode==="failed"){A("Could not save the GitHub Copilot provider profile."),w("error");return}Uh(),u?.(),t("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[u,t]),O=j.useCallback(async(i)=>{w("device-busy"),A(null),H(null);try{let Z=await Bh({domain:i});H({user_code:Z.user_code,verification_uri:Z.verification_uri}),await xh(Z.verification_uri);let mt=await Ih(Z.device_code,{initialInterval:Z.interval,timeoutSeconds:Z.expires_in,domain:i}),N=await Dh(mt,{domain:i});await V(N.token,Ch,mt,{baseUrl:N.endpoints.api?.replace(/\/+$/,"")||void 0,enterpriseDomain:i})}catch(Z){A(Z instanceof Error?Z.message:String(Z)),w("error")}},[V]);if(C==="already-authed")return z(F,{flexDirection:"column",gap:1,children:[n(y,{bold:!0,children:"GitHub Copilot"}),n(y,{children:"You are already signed in to GitHub Copilot."}),n(y,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'}),n(S,{options:[{label:"Sign in again",value:"sign-in-again"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:h?"Back to /provider menu":"Cancel",value:"back"}],onChange:(Z)=>{if(Z==="sign-in-again"){O();return}if(Z==="enterprise"){w("enterprise-domain");return}if(h){h();return}t("GitHub onboard cancelled",{display:"system"})}})]});if(C==="enterprise-domain")return z(F,{flexDirection:"column",gap:1,children:[n(y,{bold:!0,children:"GitHub Enterprise sign-in"}),n(y,{dimColor:!0,children:"Enter your GitHub Enterprise domain (e.g. github.acme.com). Leave empty for github.com."}),z(F,{flexDirection:"row",gap:1,children:[n(y,{children:">"}),n(Xt,{value:$,onChange:R,onSubmit:()=>{let Z=Ph($);if(!Z){O();return}O(Z)},onExit:()=>w(a),focus:!0,showCursor:!0,placeholder:"github.acme.com",columns:80,cursorOffset:X,onChangeCursorOffset:J})]}),n(y,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]});if(C==="error"&&f)return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"red",children:f}),n(S,{options:[{label:h?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(Z)=>{if(Z==="back"){if(h){h();return}w("menu"),A(null);return}t("GitHub onboard cancelled",{display:"system"})}})]});if(C==="device-busy")return z(F,{flexDirection:"column",gap:1,children:[n(y,{children:"GitHub Copilot sign-in"}),Q?z(yt,{children:[z(y,{children:["Enter code ",n(y,{bold:!0,children:Q.user_code})," at"," ",Q.verification_uri]}),n(y,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."})]}):n(y,{dimColor:!0,children:"Requesting device code from GitHub..."}),n(eh,{})]});return z(F,{flexDirection:"column",gap:1,children:[n(y,{bold:!0,children:"GitHub Copilot setup"}),n(y,{dimColor:!0,children:"Stores your token in the OS credential store (macOS Keychain when available) and creates a /provider profile so Copilot is the active provider — no manual env exports required."}),n(S,{options:[{label:"Sign in with browser",value:"device"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:h?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(i)=>{if(i==="cancel"){if(h){h();return}t("GitHub onboard cancelled",{display:"system"});return}if(i==="enterprise"){w("enterprise-domain");return}O()}})]})}var j,Ch="github:copilot",oc="https://api.githubcopilot.com";var tu=I(()=>{Dc();jc();sh();Eh();xc();ph();Ic();Th();Tt();j=Lt(Qt(),1)});function uu(t){return[t.name,t.family??"",...t.families??[],t.parameterSize??"",t.quantizationLevel??""].join(" ").toLowerCase()}function Nt(t,h){return h.some((u)=>t.includes(u))}function tn(t){return!Nt(uu(t),hu)}function hn(t){return t.find(tn)??null}function lh(t){let u=`${t.parameterSize??""} ${t.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(u?.[1])return Number(u[1]);if(typeof t.sizeBytes==="number"&&t.sizeBytes>0)return Number((t.sizeBytes/1e9).toFixed(1));return null}function un(t){return(t.quantizationLevel??t.name).toLowerCase()}function cn(t,h,u){if(t===null)return u.push("unknown size"),0;if(h==="latency"){if(t<=4)return u.push("tiny model for low latency"),32;if(t<=8)return u.push("small model for fast responses"),26;if(t<=14)return u.push("mid-sized model with acceptable latency"),16;if(t<=24)return u.push("larger model may be slower"),8;return u.push("large model likely slower locally"),t<=40?0:-8}if(h==="coding"){if(t>=7&&t<=14)return u.push("strong coding size tier"),24;if(t>14&&t<=34)return u.push("large coding-capable size tier"),28;if(t>34)return u.push("very large model with higher quality potential"),18;return u.push("compact model may trade off coding depth"),12}if(t>=7&&t<=14)return u.push("great balanced size tier"),26;if(t>=3&&t<7)return u.push("compact balanced size tier"),18;if(t>14&&t<=24)return u.push("high quality balanced size tier"),20;if(t>24)return u.push("large model for quality-first usage"),10;return u.push("very small model for general usage"),8}function nn(t,h,u){let a=un(t);if(a.includes("q4"))return u.push("efficient Q4 quantization"),h==="latency"?8:4;if(a.includes("q5"))return u.push("balanced Q5 quantization"),h==="latency"?6:5;if(a.includes("q8"))return u.push("higher quality Q8 quantization"),h==="latency"?2:5;return 0}function an(t,h,u){if(h.score!==t.score)return h.score-t.score;let a=lh(t)??Number.POSITIVE_INFINITY,C=lh(h)??Number.POSITIVE_INFINITY;if(u==="latency")return a-C;if(u==="coding")return C-a;let w=14;return Math.abs(a-w)-Math.abs(C-w)}function rh(t,h){return t.map((u)=>{let a=uu(u),C=[],w=0;if(Nt(a,hu))w-=40,C.push("not a chat-first model");if(Nt(a,sc))w+=h==="coding"?24:h==="balanced"?10:4,C.push("coding-oriented model family");if(Nt(a,ec))w+=h==="latency"?4:h==="coding"?6:8,C.push("strong general-purpose model family");if(Nt(a,vc))w+=h==="latency"?2:6,C.push("chat/instruct tuned");if(a.includes("vision")||a.includes("vl"))w-=2,C.push("vision model adds extra overhead");w+=cn(lh(u),h,C),w+=nn(u,h,C);let f=C.slice(0,3).join(", ");return{...u,score:w,reasons:C,summary:f}}).sort((u,a)=>an(u,a,h))}function cu(t,h){return hn(rh(t,h))}var sc,ec,vc,hu;var nu=I(()=>{sc=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],ec=["llama","qwen","mistral","gemma","phi","deepseek"],vc=["instruct","chat","assistant"],hu=["embed","embedding","rerank","bge","whisper"]});function yn(t){let h=t.toLowerCase();return mn.some((u)=>h.includes(u))}function wh(t){try{let h=new URL(t);if(h.username)h.username="redacted";if(h.password)h.password="redacted";for(let u of h.searchParams.keys())if(yn(u))h.searchParams.set(u,"redacted");return h.toString()}catch{return t.replace(/\/\/[^/@\s]+(?::[^/@\s]*)?@/g,"//redacted@").replace(/([?&](?:token|access_token|refresh_token|api_key|apikey|key|password|passwd|pwd|auth|authorization|signature|sig|secret)=)[^&#]*/gi,"$1redacted")}}var mn;var au=I(()=>{mn=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function wn(t){let h=`http://localhost:${t.port}/auth/callback`,u=new URL(`${Oh}/oauth/authorize`);return u.searchParams.append("response_type","code"),u.searchParams.append("client_id",zh()),u.searchParams.append("redirect_uri",h),u.searchParams.append("scope",yu),u.searchParams.append("code_challenge",t.codeChallenge),u.searchParams.append("code_challenge_method","S256"),u.searchParams.append("id_token_add_organizations","true"),u.searchParams.append("codex_cli_simplified_flow","true"),u.searchParams.append("state",t.state),u.searchParams.append("originator",Cu),u.toString()}function bn(){return`<!doctype html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>Codex Login Complete</title>
|
|
6
|
+
<style>
|
|
7
|
+
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
8
|
+
h1 { margin: 0 0 12px; font-size: 22px; }
|
|
9
|
+
p { margin: 0 0 10px; }
|
|
10
|
+
</style>
|
|
11
|
+
</head>
|
|
12
|
+
<body>
|
|
13
|
+
<h1>Codex login complete</h1>
|
|
14
|
+
<p>You can return to Claudin now.</p>
|
|
15
|
+
<p>Claudin will finish activating your new Codex OAuth login.</p>
|
|
16
|
+
</body>
|
|
17
|
+
</html>`}function On(t){return`<!doctype html>
|
|
18
|
+
<html lang="en">
|
|
19
|
+
<head>
|
|
20
|
+
<meta charset="utf-8" />
|
|
21
|
+
<title>Codex Login Failed</title>
|
|
22
|
+
<style>
|
|
23
|
+
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
24
|
+
h1 { margin: 0 0 12px; font-size: 22px; color: #991b1b; }
|
|
25
|
+
p { margin: 0 0 10px; }
|
|
26
|
+
</style>
|
|
27
|
+
</head>
|
|
28
|
+
<body>
|
|
29
|
+
<h1>Codex login failed</h1>
|
|
30
|
+
<p>${ru(t)}</p>
|
|
31
|
+
<p>You can close this window and try again in Claudin.</p>
|
|
32
|
+
</body>
|
|
33
|
+
</html>`}function mu(){return`<!doctype html>
|
|
34
|
+
<html lang="en">
|
|
35
|
+
<head>
|
|
36
|
+
<meta charset="utf-8" />
|
|
37
|
+
<title>Codex Login Cancelled</title>
|
|
38
|
+
<style>
|
|
39
|
+
body { font-family: sans-serif; padding: 32px; line-height: 1.5; color: #111827; }
|
|
40
|
+
h1 { margin: 0 0 12px; font-size: 22px; }
|
|
41
|
+
p { margin: 0 0 10px; }
|
|
42
|
+
</style>
|
|
43
|
+
</head>
|
|
44
|
+
<body>
|
|
45
|
+
<h1>Codex login cancelled</h1>
|
|
46
|
+
<p>You can close this window and retry in Claudin.</p>
|
|
47
|
+
</body>
|
|
48
|
+
</html>`}async function zn(t){let h=`http://localhost:${t.port}/auth/callback`,u=new URLSearchParams({grant_type:"authorization_code",code:t.authorizationCode,redirect_uri:h,client_id:zh(),code_verifier:t.codeVerifier}),a=await fetch(`${Oh}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:u,signal:t.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!a.ok){let R=await a.text().catch(()=>"");throw Error(R.trim()?`Codex OAuth token exchange failed (${a.status}): ${R.trim()}`:`Codex OAuth token exchange failed with status ${a.status}.`)}let C=await a.json(),w=Ut(C.access_token),f=Ut(C.refresh_token);if(!w||!f)throw Error("Codex OAuth completed, but the token response was missing credentials.");let A=Ut(C.id_token);return{apiKey:A?await wu(A).catch(()=>{return}):void 0,accessToken:w,refreshToken:f,idToken:A,accountId:bh(A)??bh(w)}}class Rh{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(t){let h=Ou(),u=lu(),a=new bu("/auth/callback");this.authCodeListener=a,this.port=null;try{let C=await a.start(u);this.port=C;let w=Ru(),f=await zu(h),A=wn({port:C,codeChallenge:f,state:w});try{let $=await a.waitForAuthorization(w,async()=>{await t(A)}),R=new AbortController;this.tokenExchangeAbortController=R;let X;try{X=await zn({authorizationCode:$,codeVerifier:h,port:C,signal:R.signal})}finally{if(this.tokenExchangeAbortController===R)this.tokenExchangeAbortController=null}if(this.authCodeListener!==a)throw this.buildCancellationError();return a.handleSuccessRedirect([],(J)=>{J.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),J.end(bn())}),X}catch($){let R=this.authCodeListener===a?$:this.buildCancellationError();if(a.hasPendingResponse()){let X=R instanceof Error&&R.message==="Codex OAuth flow was cancelled.";a.handleErrorRedirect((J)=>{J.writeHead(X?200:400,{"Content-Type":"text/html; charset=utf-8"}),J.end(X?mu():On(R instanceof Error?R.message:String(R)))})}throw R}finally{this.cleanup()}}catch(C){let w=C instanceof Error?C.message:String(C);if(w.includes("EADDRINUSE")||w.includes(String(u)))throw Error(`Codex OAuth needs localhost:${u} for its callback. Close any app already using that port and try again.`);throw C}}cleanup(){let t=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(t),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((h)=>{h.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),h.end(mu())});this.authCodeListener?.cancelPendingAuthorization(t),this.authCodeListener=null,this.port=null}}var Au=I(()=>{ln();rn();Cn()});function Rn(){return new Rh}function $u(t){let{onAuthenticated:h}=t,u=t.deps?.createOAuthService??Rn,a=t.deps?.openBrowser??Pt,C=t.deps?.saveCodexCredentials??gu,w=t.deps?.isBareMode??o,[f,A]=Bt.useState({state:"starting"});return Bt.useEffect(()=>{if(w()){A({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let $=!1,R=u();return R.startOAuthFlow(async(X)=>{if($)return;A({state:"waiting",authUrl:X,browserOpened:null});let J=await a(X);if($)return;A({state:"waiting",authUrl:X,browserOpened:J})}).then(async(X)=>{if($)return;await h(X,(Q)=>{let H=C({apiKey:X.apiKey,accessToken:X.accessToken,refreshToken:X.refreshToken,idToken:X.idToken,accountId:X.accountId,profileId:Q?.profileId});if(!H.success)throw Error(H.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((X)=>{if($)return;A({state:"error",message:X instanceof Error?X.message:String(X)})}),()=>{$=!0,R.cleanup()}},[u,w,h,a,C]),f}var Bt;var fu=I(()=>{Au();qu();Xu();Et();Bt=Lt(Qt(),1)});function du(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":ku()}}function _u(t,h){let u=Number(t);return Number.isFinite(u)&&u>0?u*1000:h}function fn(t,h){if(h?.aborted)return Promise.resolve();return new Promise((u)=>{let a=setTimeout(()=>{h?.removeEventListener("abort",C),u()},t),C=()=>{clearTimeout(a),u()};h?.addEventListener("abort",C,{once:!0})})}async function Fn(t){let h=t?.fetchImpl??fetch,u=t?.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),a=await h(Qu,{method:"POST",headers:du(),body:new URLSearchParams({client_id:Ah(),scope:Ju}).toString(),signal:u});if(!a.ok){let $=await a.text().catch(()=>"");throw Error(`xAI device code request failed (${a.status})${$?`: ${$.trim()}`:""}`)}let C=await a.json(),w=at(C.device_code),f=at(C.user_code),A=at(C.verification_uri);if(!w||!f||!A)throw Error("xAI device code response is missing device_code / user_code / verification_uri.");return{device_code:w,user_code:f,verification_uri:A,verification_uri_complete:at(C.verification_uri_complete),expires_in:typeof C.expires_in==="number"&&C.expires_in>0?C.expires_in:Zu/1000,interval:typeof C.interval==="number"&&C.interval>0?C.interval:Vu/1000}}async function _n(t,h){let u=h?.fetchImpl??fetch,a=h?.sleep??fn,C=h?.now??(()=>Date.now()),w=_u(t.expires_in,Zu),f=C()+w,A=Math.max(_u(t.interval,Vu),Xn);while(C()<f){if(h?.signal?.aborted)throw Error("xAI device authorization was cancelled.");let $=await u(Lu,{method:"POST",headers:du(),body:new URLSearchParams({grant_type:Nu,client_id:Ah(),device_code:t.device_code}).toString(),signal:h?.signal});if($.ok){let Q=await $.json(),H=at(Q.access_token),V=at(Q.refresh_token);if(!H||!V)throw Error("xAI OAuth completed, but the token response was missing credentials.");let O=typeof Q.expires_in==="number"&&Number.isFinite(Q.expires_in)&&Q.expires_in>0?Q.expires_in:3600;return{accessToken:H,refreshToken:V,idToken:at(Q.id_token),expiresAt:C()+O*1000}}let R=await $.json().catch(()=>({})),X=Math.max(0,f-C());if(R.error==="authorization_pending"){await a(Math.min(A+Fu,X),h?.signal);continue}if(R.error==="slow_down"){A=Math.min(A+qn,$n),await a(Math.min(A+Fu,X),h?.signal);continue}if(R.error==="access_denied"||R.error==="authorization_denied")throw Error("xAI device authorization was denied.");if(R.error==="expired_token")throw Error("xAI device code expired - please re-run login.");let J=R.error_description??R.error??"";throw Error(`xAI device token exchange failed (${$.status})${J?`: ${J}`:""}`)}throw Error("xAI device authorization timed out.")}class gh{abortController=null;async startDeviceFlow(t){let h=new AbortController;this.abortController=h;try{let u=await Fn({signal:h.signal});return await t(u),await _n(u,{signal:h.signal})}finally{if(this.abortController===h)this.abortController=null}}cleanup(){this.abortController?.abort(Error("xAI device authorization was cancelled.")),this.abortController=null}}var Vu=5000,Xn=1000,qn=5000,$n=60000,Zu=300000,Fu=3000;var Yu=I(()=>{An();gn()});function kn(){return new gh}function Hu(t){let{onAuthenticated:h}=t,u=t.deps?.createOAuthService??kn,a=t.deps?.saveXaiCredentials??Gu,C=t.deps?.isBareMode??o,[w,f]=It.useState({state:"starting"});return It.useEffect(()=>{if(C()){f({state:"error",message:"xAI OAuth is unavailable in --bare because secure storage is disabled."});return}let A=!1,$=u();return $.startDeviceFlow(async(R)=>{if(A)return;f({state:"waiting",userCode:R.user_code,verificationUri:R.verification_uri,verificationUriComplete:R.verification_uri_complete})}).then(async(R)=>{if(A)return;await h(R,(J)=>{let Q=a({accessToken:R.accessToken,refreshToken:R.refreshToken,idToken:R.idToken,expiresAt:R.expiresAt,profileId:J?.profileId});if(!Q.success)throw Error(Q.warning??"xAI OAuth succeeded, but credentials could not be saved securely.")})}).catch((R)=>{if(A)return;f({state:"error",message:R instanceof Error?R.message:String(R)})}),()=>{A=!0,$.cleanup()}},[u,C,h,a]),w}var It;var Ku=I(()=>{Yu();Et();Su();It=Lt(Qt(),1)});async function Du(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":Eu,...await Bu()}}function iu(t,h){let u=Number(t);return Number.isFinite(u)&&u>0?u*1000:h}function Vn(t,h){if(h?.aborted)return Promise.resolve();return new Promise((u)=>{let a=setTimeout(()=>{h?.removeEventListener("abort",C),u()},t),C=()=>{clearTimeout(a),u()};h?.addEventListener("abort",C,{once:!0})})}async function Zn(t){let h=t?.fetchImpl??fetch,u=t?.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),a=await h(Mu,{method:"POST",headers:await Du(),body:new URLSearchParams({client_id:Xh()}).toString(),signal:u});if(!a.ok){let $=await a.text().catch(()=>"");throw Error(`Kimi device code request failed (${a.status})${$?`: ${$.trim()}`:""}`)}let C=await a.json(),w=Ct(C.device_code),f=Ct(C.user_code),A=Ct(C.verification_uri);if(!w||!f||!A)throw Error("Kimi device code response is missing device_code / user_code / verification_uri.");return{device_code:w,user_code:f,verification_uri:A,verification_uri_complete:Ct(C.verification_uri_complete),expires_in:typeof C.expires_in==="number"&&C.expires_in>0?C.expires_in:xu/1000,interval:typeof C.interval==="number"&&C.interval>0?C.interval:Iu/1000}}async function dn(t,h){let u=h?.fetchImpl??fetch,a=h?.sleep??Vn,C=h?.now??(()=>Date.now()),w=iu(t.expires_in,xu),f=C()+w,A=Math.max(iu(t.interval,Iu),Qn);while(C()<f){if(h?.signal?.aborted)throw Error("Kimi device authorization was cancelled.");let $=await u(Tu,{method:"POST",headers:await Du(),body:new URLSearchParams({grant_type:Uu,client_id:Xh(),device_code:t.device_code}).toString(),signal:h?.signal});if($.ok){let Q=await $.json(),H=Ct(Q.access_token),V=Ct(Q.refresh_token);if(!H||!V)throw Error("Kimi OAuth completed, but the token response was missing credentials.");let O=typeof Q.expires_in==="number"&&Number.isFinite(Q.expires_in)&&Q.expires_in>0?Q.expires_in:900;return{accessToken:H,refreshToken:V,expiresAt:C()+O*1000}}let R=await $.json().catch(()=>({})),X=Math.max(0,f-C());if(R.error==="authorization_pending"){await a(Math.min(A+Wu,X),h?.signal);continue}if(R.error==="slow_down"){A=Math.min(A+Nn,Jn),await a(Math.min(A+Wu,X),h?.signal);continue}if(R.error==="access_denied"||R.error==="authorization_denied")throw Error("Kimi device authorization was denied.");if(R.error==="expired_token")throw Error("Kimi device code expired - please re-run login.");let J=R.error_description??R.error??"";throw Error(`Kimi device token exchange failed (${$.status})${J?`: ${J}`:""}`)}throw Error("Kimi device authorization timed out.")}class qh{abortController=null;async startDeviceFlow(t){let h=new AbortController;this.abortController=h;try{let u=await Zn({signal:h.signal});return await t(u),await dn(u,{signal:h.signal})}finally{if(this.abortController===h)this.abortController=null}}cleanup(){this.abortController?.abort(Error("Kimi device authorization was cancelled.")),this.abortController=null}}var Iu=5000,Qn=1000,Nn=5000,Jn=60000,xu=1800000,Wu=3000;var ju=I(()=>{Ln();Pu()});function Yn(){return new qh}function su(t){let{onAuthenticated:h}=t,u=t.deps?.createOAuthService??Yn,a=t.deps?.saveKimiCredentials??ou,C=t.deps?.isBareMode??o,[w,f]=lt.useState({state:"starting"}),A=lt.useRef(!1);return lt.useEffect(()=>{if(C()){f({state:"error",message:"Kimi Code OAuth is unavailable in --bare because secure storage is disabled."});return}let $=!1,R=u();return R.startDeviceFlow(async(X)=>{if($)return;f({state:"waiting",userCode:X.user_code,verificationUri:X.verification_uri,verificationUriComplete:X.verification_uri_complete})}).then(async(X)=>{if($)return;await h(X,(Q)=>{let H=a({accessToken:X.accessToken,refreshToken:X.refreshToken,expiresAt:X.expiresAt,profileId:Q?.profileId});if(!H.success)throw Error(H.warning??"Kimi Code OAuth succeeded, but credentials could not be saved securely.")})}).catch((X)=>{if($)return;f({state:"error",message:X instanceof Error?X.message:String(X)})}),()=>{$=!0,R.cleanup()}},[u,C,h,a]),lt.useEffect(()=>{if(w.state!=="waiting")return;if(A.current)return;let $=w.verificationUriComplete??w.verificationUri;if(!$)return;A.current=!0,Pt($).catch(()=>{})},[w]),w}var lt;var eu=I(()=>{ju();qu();Et();pu();lt=Lt(Qt(),1)});function ca(t){return{name:t.name,baseUrl:t.baseUrl,model:t.model,apiKey:t.apiKey??""}}function na(t){let h=ot(t);return{name:h.name,baseUrl:h.baseUrl,model:h.model,apiKey:h.apiKey??""}}function aa(t){let h={};for(let u of t.split(/\r?\n/)){let a=u.trim();if(!a)continue;let C=a.indexOf(":");if(C<=0)continue;let w=a.slice(0,C).trim(),f=a.slice(C+1).trim();if(w&&f)h[w]=f}return h}function ma(t){if(!t)return"";return Object.entries(t).map(([h,u])=>`${h}: ${u}`).join(`
|
|
49
|
+
`)}function ya(t,h){let u={},a=t.awsRegion?.trim();if(a)u.awsRegion=a;let C=t.gcpProject?.trim();if(C)u.gcpProject=C;let w=t.gcpRegion?.trim();if(w)u.gcpRegion=w;let f=t.azureResource?.trim();if(f)u.azureResource=f;let A=aa(h);if(Object.keys(A).length>0)u.customHeaders=A;return Object.keys(u).length>0?u:void 0}function la(t,h){let u=h?" (active)":"",a=t.apiKey?"key set":"no key",C=t.provider==="anthropic"?"anthropic":"openai-compatible",w=tc(t.model),f=w.length<=3?w.join(", "):`${w[0]}, ${w[1]} + ${w.length-2} more`;return`${C} · ${t.baseUrl} · ${f} · ${a}${u}`}function ra(t,h){if(t.state==="unreachable")return`Could not reach Atomic Chat at ${wh(h)}. Start the Atomic Chat app first, or enter the endpoint manually.`;if(t.state==="no_models")return"Atomic Chat is running, but no models are loaded. Download and load a model inside the Atomic Chat app first, or enter details manually.";return""}function wa(t,h){if(t.state==="unreachable")return`Could not reach Ollama at ${wh(h)}. Start Ollama first, or enter the endpoint manually.`;if(t.state==="no_models")return"Ollama is running, but no installed models were found. Pull a chat model such as qwen2.5-coder:7b or llama3.1:8b first, or enter details manually.";if(t.state==="generation_failed"){let u=t.probeModel??"the selected model",a=t.detail?` Details: ${t.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${u}.${a} Run "ollama run ${u}" once and retry, or enter details manually.`}return""}function fh(t,h){if(!h)return;return t.find((u)=>u.id===h)}function vu(t,h){return Boolean(t&&h&&t.id===h)}function ba(t,h){if(h){let u=t.find((a)=>a.id===h);if(u)return u}return t.find((u)=>u.provider==="openai"&&u.baseUrl===Zh&&!u.apiKey)}function Oa(t,h){if(h){let u=t.find((a)=>a.id===h);if(u)return u}return t.find((u)=>u.provider==="openai"&&u.baseUrl===pt&&!u.apiKey)}function za(t,h){return t.find((u)=>u.provider==="anthropic"&&u.baseUrl===h&&!u.apiKey)}function Ra({onBack:t,onConfigured:h}){let u=g.useCallback(async(C,w)=>{await h(C,w)},[h]);D("confirm:no",t,[t]);let a=$u({onAuthenticated:u});if(a.state==="error")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"error",bold:!0,children:"Codex OAuth failed"}),n(y,{children:a.message}),n(y,{dimColor:!0,children:"Press Enter or Esc to go back."}),n(S,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Codex OAuth"}),n(y,{children:"Sign in with your ChatGPT account in the browser. Claudin will store the resulting Codex credentials securely and switch this session to the new Codex login when setup completes."}),a.state==="starting"?n(y,{dimColor:!0,children:"Starting local callback and preparing your browser..."}):a.browserOpened===!1?z(yt,{children:[n(y,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"}),n(y,{children:a.authUrl})]}):a.browserOpened===!0?z(yt,{children:[n(y,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."}),n(y,{children:a.authUrl})]}):n(y,{dimColor:!0,children:"Opening your browser..."}),n(y,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Aa({onBack:t,onConfigured:h}){let u=g.useCallback(async(C,w)=>{await h(C,w)},[h]);D("confirm:no",t,[t]);let a=Hu({onAuthenticated:u});if(a.state==="error")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"error",bold:!0,children:"xAI OAuth failed"}),n(y,{children:a.message}),n(y,{dimColor:!0,children:"Press Enter or Esc to go back."}),n(S,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"xAI / Grok OAuth"}),a.state==="starting"?n(y,{dimColor:!0,children:"Requesting a device code from xAI..."}):z(yt,{children:[z(y,{children:["Open this URL on any device:"," ",n(y,{bold:!0,children:a.verificationUri})]}),z(y,{children:["Enter code ",n(y,{bold:!0,children:a.userCode})]}),a.verificationUriComplete&&a.verificationUriComplete!==a.verificationUri?z(y,{dimColor:!0,children:["Or open this prefilled URL: ",a.verificationUriComplete]}):null,n(y,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),n(y,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function ga({onBack:t,onConfigured:h}){let u=g.useCallback(async(C,w)=>{await h(C,w)},[h]);D("confirm:no",t);let a=su({onAuthenticated:u});if(a.state==="error")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"error",bold:!0,children:"Kimi Code OAuth failed"}),n(y,{children:a.message}),n(y,{dimColor:!0,children:"Press Enter or Esc to go back."}),n(S,{options:[{value:"back",label:"Back",description:"Return to Moonshot AI authentication choices"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Moonshot AI · Kimi Code"}),a.state==="starting"?n(y,{dimColor:!0,children:"Requesting a device code from Kimi..."}):z(yt,{children:[z(y,{children:["Open this URL on any device:"," ",n(y,{bold:!0,children:a.verificationUri})]}),z(y,{children:["Enter code ",n(y,{bold:!0,children:a.userCode})]}),a.verificationUriComplete&&a.verificationUriComplete!==a.verificationUri?z(y,{dimColor:!0,children:["Or open this prefilled URL: ",a.verificationUriComplete]}):null,n(y,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),n(y,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Vm({mode:t,onDone:h}){let u=bc(),[a,C]=g.useState([]),[w,f]=g.useState(),[A,$]=g.useState(),[R,X]=g.useState(!1),[J,Q]=g.useState(),H=g.useRef(0),[V,O]=g.useState(t==="first-run"?"select-preset":"menu"),[wt,i]=g.useState(null),[Z,mt]=g.useState("openai"),[N,P]=g.useState(()=>na("ollama")),[Zt,dt]=g.useState({}),[dh,st]=g.useState(""),[Rc,Ac]=g.useState(0),[gc,Xc]=g.useState(0),[et,Yh]=g.useState(null),[bt,Ft]=g.useState(0),[Ot,p]=g.useState(0),[qc,s]=g.useState(0),[Gh,Y]=g.useState(),[zt,_]=g.useState(),[$c,fc]=g.useState(),[Sh,Yt]=g.useState(!1),[_t,kt]=g.useState(),[e,Gt]=g.useState({state:"idle"}),[v,St]=g.useState({state:"idle"}),[tt,vt]=g.useState({state:"idle"}),[Fc,_c]=g.useState(!0),[kc,E]=g.useState(!1),th=g.useRef(!1),[hh,uh]=g.useState(()=>Vt()),[Hh,Lc]=g.useState(()=>Oc());g.useEffect(()=>{queueMicrotask(()=>{let c=x(),m=B()?.id;C(c),f(m),$(xt()),Q(Fh()),X(Jt()),_c(!1)})},[]);let Rt=rt[Ot]??rt[0],Ht=Rt.key,Qc=N[Ht],ch=a.length>0,Kt=ch,Kh=g.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...hh?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{value:"activate",label:"Set active provider (Global)",description:J?`Currently: ${a.find((c)=>c.id===J)?.name??"unknown"}`:"Default profile for projects without an override",disabled:!Kt},{value:"activate-project",label:"Set active provider (Project)",description:A?`Currently: ${a.find((c)=>c.id===A)?.name??"unknown"} (this project)`:"Override the global default for this project only",disabled:!Kt},...R?[{value:"clear-project-override",label:"Clear project provider override",description:A?"Stop overriding for this project; fall back to global":"Project override points to a missing profile; clear it"}]:[],{value:"edit",label:"Edit provider",description:"Update URL, model, or key",disabled:!ch},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!Kt},...Sh?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[Kt,ch,Sh,hh,J,A,a]),nh=g.useCallback(()=>{if(o()){H.current+=1,Yt(!1),kt(void 0);return}let c=++H.current;(async()=>{let m=await Lh();if(c!==H.current)return;Yt(Boolean(m?.apiKey||m?.accessToken||m?.refreshToken||m?.idToken)),kt(m?.profileId)})()},[]);g.useEffect(()=>{return nh(),()=>{H.current+=1}},[nh]),g.useEffect(()=>{if(V!=="select-ollama-model")return;let c=!1;return Gt({state:"loading"}),(async()=>{let m=await wc({baseUrl:N.baseUrl});if(m.state!=="ready"){if(!c)Gt({state:"unavailable",message:wa(m,N.baseUrl)});return}let l=rh(m.models,"balanced"),r=cu(m.models,"balanced");if(!c)Gt({state:"ready",defaultValue:r?.name??l[0]?.name,options:l.map((b)=>({label:b.name,value:b.name,description:b.summary}))})})(),()=>{c=!0}},[N.baseUrl,V]),g.useEffect(()=>{if(V!=="select-atomic-chat-model")return;let c=!1;return St({state:"loading"}),(async()=>{let m=await rc({baseUrl:N.baseUrl});if(m.state!=="ready"){if(!c)St({state:"unavailable",message:ra(m,N.baseUrl)});return}if(!c)St({state:"ready",defaultValue:m.models[0],options:m.models.map((l)=>({label:l,value:l}))})})(),()=>{c=!0}},[N.baseUrl,V]),g.useEffect(()=>{if(V!=="select-openai-model")return;let c=!1;return vt({state:"loading"}),(async()=>{let m=await Cc({baseUrl:N.baseUrl,apiKey:N.apiKey||void 0});if(c)return;if(!m||m.length===0){vt({state:"unavailable",message:"Couldn't list models from this provider. Enter the model id manually, or go back to check the base URL and API key."});return}let{options:l,defaultValue:r}=lc(m,N.model);vt({state:"ready",options:l,defaultValue:r})})(),()=>{c=!0}},[N.baseUrl,N.apiKey,V]);function K(){if(th.current)return;th.current=!0,queueMicrotask(()=>{let c=x();C(c),f(B()?.id),$(xt()),Q(Fh()),X(Jt()),nh(),th.current=!1})}function At(){return null}function ah(c){if(c.activationWarning)return`${c.prefix}. Saved for next startup. Warning: ${c.warnings.join("; ")}.`;if(c.warnings.length>0)return`${c.prefix}. Claudin switched to it for this session with warnings: ${c.warnings.join("; ")}.`;return`${c.prefix}. Claudin switched to it for this session.`}async function mh(c){if(c?.accessToken&&c.accountId)return null;let m=await Lh();if(!m)return"stored Codex OAuth credentials could not be loaded";if(!m.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function Wh(){yc()}async function Nc(c){let m="provider";E(!0),Y("Activating provider...");try{await new Promise((ht)=>queueMicrotask(ht));let l=Jt(),r=nt(c);if(!r){_("Could not change active provider."),E(!1),L();return}let b=l?B()??r:r,q=$t(b.model)||Dt();if(!l)u((ht)=>({...ht,mainLoopModel:q,mainLoopModelForSession:null}));m=r.name;let k=At(),d=vu(r,_t),T=d?await mh():null;K();let U=l&&b.id!==r.id?` (project override still active — this project keeps using ${b.name}; use "Clear project provider override" to apply the new default here)`:"",W=d?ah({prefix:`Active provider: ${r.name}${U}`,activationWarning:T,warnings:[T,k?`could not clear startup provider override (${k})`:null].filter((ht)=>Boolean(ht))}):k?`Active provider: ${r.name}${U}. Warning: could not clear startup provider override (${k}).`:`Active provider: ${r.name}${U}`;Y(W),E(!1),h({action:"activated",activeProfileId:r.id,activeProviderName:r.name,activeProviderModel:q,message:`Provider switched to ${r.name} (${q})`}),L()}catch(l){K(),Y(void 0),E(!1);let r=l instanceof Error?l.message:String(l);_(`Could not finish activating ${m}: ${r}`),L()}}async function Jc(){E(!0),Y("Clearing project provider override...");try{await new Promise((m)=>queueMicrotask(m)),_h(null),K();let c=B();if(c){let m=$t(c.model)||Dt();ft(),u((l)=>({...l,mainLoopModel:m,mainLoopModelForSession:null})),Y(`Project override cleared. Using global default: ${c.name}.`),E(!1),h({action:"activated",activeProfileId:c.id,activeProviderName:c.name,activeProviderModel:m,message:`Project override cleared — using ${c.name} (${m})`}),L()}else Y("Project provider override cleared. No global default set."),E(!1),h({action:"saved",message:"Project provider override cleared. No global default set."}),L()}catch(c){K(),Y(void 0),E(!1);let m=c instanceof Error?c.message:String(c);_(`Could not clear project provider override: ${m}`),L()}}async function Vc(c){let m="provider";E(!0),Y("Setting provider for this project...");try{await new Promise((W)=>queueMicrotask(W));let l=xt(),r=_h(c);if(!r){_("Could not set project provider override."),E(!1),L();return}let b=$t(r.model)||Dt();if(l===r.id)ft();u((W)=>({...W,mainLoopModel:b,mainLoopModelForSession:null})),m=r.name;let q=At(),k=vu(r,_t),d=k?await mh():null;K();let T=`Active provider for this project: ${r.name}. Other projects keep the global default.`,U=k?ah({prefix:T,activationWarning:d,warnings:[d,q?`could not clear startup provider override (${q})`:null].filter((W)=>Boolean(W))}):q?`${T} Warning: could not clear startup provider override (${q}).`:T;Y(U),E(!1),h({action:"activated",activeProfileId:r.id,activeProviderName:r.name,activeProviderModel:b,message:`Provider switched to ${r.name} (${b}) for this project`}),L()}catch(l){K(),Y(void 0),E(!1);let r=l instanceof Error?l.message:String(l);_(`Could not finish setting ${m} for this project: ${r}`),L()}}function L(){fc("done"),O("menu")}function Wt(c){h({action:"cancelled",message:c})}function ih(c){let m=ot(c),l={name:m.name,baseUrl:m.baseUrl,model:m.model,apiKey:m.apiKey??""};if(i(null),mt(m.provider??"openai"),P(l),dt({}),st(""),Yh(c),p(0),Ft(0),s(l.name.length),_(void 0),c==="ollama"){Gt({state:"loading"}),O("select-ollama-model");return}if(c==="atomic-chat"){St({state:"loading"}),O("select-atomic-chat-model");return}if(c==="anthropic"){O("anthropic-auth-choice");return}if(c==="bedrock"||c==="vertex"||c==="foundry"){O("cloud-extras");return}O("form")}function Zc(c){let m=a.find((r)=>r.id===c);if(!m)return;let l=ca(m);i(c),mt(m.provider??"openai"),P(l),dt({awsRegion:m.extras?.awsRegion,gcpProject:m.extras?.gcpProject,gcpRegion:m.extras?.gcpRegion,azureResource:m.extras?.azureResource}),st(ma(m.extras?.customHeaders)),Yh(null),p(0),Ft(0),s(l.name.length),_(void 0),O("form")}function it(c=N){let m=ya(Zt,dh),l={provider:Z,name:c.name,baseUrl:c.baseUrl,model:c.model,apiKey:c.apiKey,extras:m},r=wt?ct(wt,l):ut(l,{makeActive:!0});if(!r){_("Could not save provider. Fill all required fields.");return}let b=B()?.id===r.id;if(b)ft(),u((U)=>({...U,mainLoopModel:$t(r.model),mainLoopModelForSession:null}));let q=b?At():null;K();let k=!wt&&Jt()&&!b,d=k?B()?.name??"override target":null,T=wt?`Updated provider: ${r.name}`:k?`Added provider: ${r.name} (now global default — project keeps using ${d}; use "Clear project provider override" to apply here)`:`Added provider: ${r.name} (now active)`;if(Y(q?`${T}. Warning: could not clear startup provider override (${q}).`:T),t==="first-run"){h({action:"saved",activeProfileId:r.id,message:`Provider configured: ${r.name}`});return}i(null),p(0),_(void 0),L()}function dc(){if(v.state==="loading"||v.state==="idle")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Checking Atomic Chat"}),n(y,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."})]});if(v.state==="unavailable")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Atomic Chat setup"}),n(y,{dimColor:!0,children:v.message}),n(S,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(c)=>{if(c==="manual"){p(0),s(N.name.length),O("form");return}O("select-preset")},onCancel:()=>O("select-preset"),visibleOptionCount:2})]});return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"}),n(y,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."}),n(S,{options:v.options,defaultValue:v.defaultValue,defaultFocusValue:v.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,v.options.length),onChange:(c)=>{let m={...N,model:c};P(m),it(m)},onCancel:()=>O("select-preset")})]})}function Yc(){if(e.state==="loading"||e.state==="idle")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Checking Ollama"}),n(y,{dimColor:!0,children:"Looking for installed Ollama models..."})]});if(e.state==="unavailable")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Ollama setup"}),n(y,{dimColor:!0,children:e.message}),n(S,{options:[{value:"manual",label:"Enter manually",description:"Fill in the base URL and model yourself"},{value:"back",label:"Back",description:"Choose another provider preset"}],onChange:(c)=>{if(c==="manual"){p(0),s(N.name.length),O("form");return}O("select-preset")},onCancel:()=>O("select-preset"),visibleOptionCount:2})]});return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Choose an Ollama model"}),n(y,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."}),n(S,{options:e.options,defaultValue:e.defaultValue,defaultFocusValue:e.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,e.options.length),onChange:(c)=>{let m={...N,model:c};P(m),it(m)},onCancel:()=>O("select-preset")})]})}function gt(c){let m=rt.findIndex((l)=>l.key===c);p(m<0?0:m),s(N[c].length),_(void 0),O("form")}function Gc(){if(tt.state==="loading"||tt.state==="idle")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Fetching models"}),n(y,{dimColor:!0,children:"Looking for models on your OpenAI-compatible provider…"}),n(y,{dimColor:!0,children:"Press Esc to enter the model manually."})]});if(tt.state==="unavailable")return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Choose a model"}),n(y,{dimColor:!0,children:tt.message}),n(S,{options:[{value:"manual",label:"Enter manually",description:"Type the model id yourself"},{value:"back",label:"Back",description:"Return to the API key step"}],onChange:(l)=>{if(l==="manual"){gt("model");return}gt("apiKey")},onCancel:()=>gt("apiKey"),visibleOptionCount:2})]});let c=[...tt.options,{value:$h,label:"Enter a model id manually",description:"Type an id the provider did not list"}],m=tt.defaultValue??$h;return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Choose a model"}),n(y,{dimColor:!0,children:"Models from your OpenAI-compatible provider."}),n(S,{options:c,defaultValue:m,defaultFocusValue:m,inlineDescriptions:!0,visibleOptionCount:Math.min(8,c.length),onChange:(l)=>{if(l===$h){gt("model");return}let r={...N,model:l};P(r),Mh(r)},onCancel:()=>gt("apiKey")}),n(y,{dimColor:!0,children:"Enter to select · Esc to go back"})]})}function Mh(c){if(et==="anthropic"||et==="custom"){P(c),O("custom-headers");return}it(c)}function Sc(c){let m=c.trim();if(!Rt.optional&&m.length===0){_(`${Rt.label} is required.`);return}let l={...N,[Ht]:m};if(P(l),_(void 0),Ot<rt.length-1){let r=Ot+1,b=rt[r]?.key??"name";if(b==="model"&&!pn.has(Z)&&l.baseUrl.trim().length>0){O("select-openai-model");return}p(r),s(l[b].length);return}Mh(l)}function Hc(){if(_(void 0),Ot>0){let c=Ot-1,m=rt[c]?.key??"name";p(c),s(N[m].length);return}if(t==="first-run"){O("select-preset");return}L()}D("confirm:no",Hc,{context:"Settings",isActive:V==="form"}),D("confirm:no",()=>gt("model"),{context:"Settings",isActive:V==="select-openai-model"&&(tt.state==="loading"||tt.state==="idle")});function Kc(){if(_(void 0),bt>0){Ft(bt-1);return}O("select-preset")}D("confirm:no",Kc,{context:"Settings",isActive:V==="cloud-extras"}),D("confirm:no",()=>O("form"),{context:"Settings",isActive:V==="custom-headers"}),D("confirm:no",()=>O("select-preset"),{context:"Settings",isActive:V==="anthropic-auth-choice"||V==="anthropic-oauth"||V==="kimi-auth-choice"}),D("confirm:no",()=>O("kimi-auth-choice"),{context:"Settings",isActive:V==="kimi-oauth"});function Wc(){let c=!o(),m=[...hh?[{value:"import-legacy",label:"Import from Claude Code",description:"Reuse ~/.claude/ tokens, settings, theme, MCP, skills, agents, plugins."}]:[],{value:"dashscope-intl",label:"Alibaba Coding Plan",description:"Alibaba DashScope International endpoint"},{value:"dashscope-cn",label:"Alibaba Coding Plan (China)",description:"Alibaba DashScope China endpoint"},{value:"anthropic",label:"Anthropic",description:"Native Claude API (x-api-key auth)"},{value:"atomic-chat",label:"Atomic Chat",description:"Local Model Provider"},{value:"azure-openai",label:"Azure OpenAI",description:"Azure OpenAI endpoint (model=deployment name)"},{value:"foundry",label:"Azure AI Foundry",description:"Anthropic models hosted on Azure AI Foundry (resource-scoped)"},{value:"bedrock",label:"AWS Bedrock",description:"Anthropic models on AWS Bedrock (region-scoped, AWS creds)"},{value:"bankr",label:"Bankr",description:"Bankr LLM Gateway (OpenAI-compatible)"},{value:"cloudflare-workers-ai",label:"Cloudflare Workers AI",description:"Cloudflare Workers AI (OpenAI-compatible); set your account ID in the base URL"},{value:"cloudflare-ai-gateway",label:"Cloudflare AI Gateway",description:"Cloudflare AI Gateway unified endpoint; set your account ID in the base URL"},...c?[{value:"codex-oauth",label:"Codex OAuth",description:"Sign in with ChatGPT in your browser and store Codex credentials securely"},{value:"xai-oauth",label:"xAI / Grok (OAuth)",description:"Sign in with xAI in your browser and store Grok credentials securely"}]:[],{value:"github-onboard",label:"GitHub Copilot",description:"Sign in with GitHub in your browser to use Copilot models"},{value:"deepseek",label:"DeepSeek",description:"DeepSeek OpenAI-compatible endpoint"},{value:"gemini",label:"Google Gemini",description:"Gemini OpenAI-compatible endpoint"},{value:"vertex",label:"Google Vertex AI",description:"Anthropic models on Vertex AI (project + region, ADC)"},{value:"groq",label:"Groq",description:"Groq OpenAI-compatible endpoint"},{value:"lmstudio",label:"LM Studio",description:"Local LM Studio endpoint"},{value:"minimax",label:"MiniMax",description:"MiniMax API endpoint"},{value:"mistral",label:"Mistral",description:"Mistral OpenAI-compatible endpoint"},{value:"moonshotai",label:"Moonshot AI",description:"API key or Kimi Code OAuth sign-in"},{value:"nvidia-nim",label:"NVIDIA NIM",description:"NVIDIA NIM endpoint"},{value:"opencode-go",label:"OpenCode GO",description:"OpenCode GO OpenAI-compatible endpoint"},{value:"opencode-zen",label:"OpenCode Zen",description:"OpenCode Zen OpenAI-compatible endpoint"},{value:"ollama",label:"Ollama",description:"Local or remote Ollama endpoint"},{value:"openai",label:"OpenAI",description:"OpenAI API with API key"},{value:"openrouter",label:"OpenRouter",description:"OpenRouter OpenAI-compatible endpoint"},{value:"together",label:"Together AI",description:"Together chat/completions endpoint"},{value:"zai",label:"Z.AI (GLM Coding Plan)",description:"Z.AI GLM Coding Plan (OpenAI-compatible)"},{value:"custom",label:"Custom",description:"Any OpenAI-compatible provider"},...t==="first-run"?[{value:"skip",label:"Skip for now",description:"Continue with current defaults"}]:[]];return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:t==="first-run"?"Set up provider":"Choose provider preset"}),n(y,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."}),n(S,{options:m,onChange:(l)=>{if(l==="skip"){Wt("Provider setup skipped");return}if(l==="codex-oauth"){O("codex-oauth");return}if(l==="xai-oauth"){O("xai-oauth");return}if(l==="moonshotai"){O("kimi-auth-choice");return}if(l==="github-onboard"){O("github-onboard");return}if(l==="import-legacy"){(async()=>{let r=await Vh({force:!0});uh(Vt()),K();let b=jt(r);if(r.errors.length>0){_(b);return}let q=B();if(t==="first-run"&&q){h({action:"saved",activeProfileId:q.id,activeProviderName:q.name,activeProviderModel:q.model,message:b});return}if(Y(b),_(void 0),t==="manage")L()})();return}ih(l)},onCancel:()=>{if(t==="first-run"){Wt("Provider setup skipped");return}L()},visibleOptionCount:Math.min(13,m.length)})]})}function ic(){return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Anthropic — choose authentication"}),n(y,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."}),n(S,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Claude, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste an x-api-key value (sk-ant-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(c)=>{if(c==="oauth"){O("anthropic-oauth");return}if(c==="apiKey"){O("form");return}O("select-preset")},onCancel:()=>O("select-preset"),visibleOptionCount:3})]})}function Mc(){return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Moonshot AI — choose authentication"}),n(y,{dimColor:!0,children:"Sign in with your Kimi Code subscription in the browser, or paste a Moonshot AI API key."}),n(S,{options:[{value:"oauth",label:"Sign in with web (OAuth)",description:"Open a browser, sign in to Kimi Code, and store tokens in ~/.claudin/.credentials.json"},{value:"apiKey",label:"Use API key",description:"Paste a Moonshot AI API key (sk-…)"},{value:"back",label:"Back",description:"Choose a different provider"}],onChange:(c)=>{if(c==="oauth"){O("kimi-oauth");return}if(c==="apiKey"){ih("moonshotai");return}O("select-preset")},onCancel:()=>O("select-preset"),visibleOptionCount:3})]})}function Tc(){let c=(xn(),Gn(In)).ConsoleOAuthFlow;return n(F,{flexDirection:"column",gap:1,children:n(c,{mode:"login",onDone:()=>{let m=ot("anthropic"),l={provider:"anthropic",name:m.name,baseUrl:m.baseUrl,model:m.model},r=za(x(),m.baseUrl),b=r?ct(r.id,l):ut(l,{makeActive:!0});if(!b){_("OAuth completed, but the Anthropic profile could not be saved."),O("select-preset");return}let q=r&&w!==b.id?nt(b.id):b;if(!q){_("OAuth completed, but the Anthropic profile could not be set as the startup provider."),O("select-preset");return}let k=`Anthropic OAuth configured: ${q.name}`;if(K(),t==="first-run"){h({action:"saved",activeProfileId:q.id,message:k});return}Y(k),_(void 0),L()}})})}function Uc(){let c=et;if(c!=="bedrock"&&c!=="vertex"&&c!=="foundry")return null;let m=Ca[c],l=m[bt]??m[0],r=Zt[l.key]??"";function b(q){let k=q.trim();if(k.length===0){_(`${l.label} is required.`);return}let d={...Zt,[l.key]:k};if(dt(d),_(void 0),bt<m.length-1){Ft(bt+1);return}Ft(0),O("form")}return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:`${c==="bedrock"?"AWS Bedrock":c==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`}),n(y,{dimColor:!0,children:l.helpText}),z(y,{dimColor:!0,children:["Step ",bt+1," of ",m.length,": ",l.label]}),z(F,{flexDirection:"row",gap:1,children:[n(y,{children:qt.pointer}),n(Xt,{value:r,onChange:(q)=>dt((k)=>({...k,[l.key]:q})),onSubmit:b,focus:!0,showCursor:!0,placeholder:`${l.placeholder}${qt.ellipsis}`,columns:80,cursorOffset:Rc,onChangeCursorOffset:Ac})]}),zt&&n(y,{color:"error",children:zt}),n(y,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function Ec(){return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Custom headers (optional)"}),z(y,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",n(y,{children:"Header: Value"}),". Leave empty to skip."]}),z(F,{flexDirection:"row",gap:1,children:[n(y,{children:qt.pointer}),n(Xt,{value:dh,onChange:st,onSubmit:()=>it(N),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:gc,onChangeCursorOffset:Xc})]}),zt&&n(y,{color:"error",children:zt}),n(y,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function Pc(){return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:wt?"Edit provider profile":"Create provider profile"}),n(y,{dimColor:!0,children:Rt.helpText}),z(y,{dimColor:!0,children:["Provider type:"," ",Z==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]}),z(y,{dimColor:!0,children:["Step ",Ot+1," of ",rt.length,": ",Rt.label]}),z(F,{flexDirection:"row",gap:1,children:[n(y,{children:qt.pointer}),n(Xt,{value:Qc,onChange:(c)=>P((m)=>({...m,[Ht]:c})),onSubmit:Sc,focus:!0,showCursor:!0,placeholder:`${Rt.placeholder}${qt.ellipsis}`,mask:Ht==="apiKey"?"*":void 0,columns:80,cursorOffset:qc,onChangeCursorOffset:s})]}),zt&&n(y,{color:"error",children:zt}),n(y,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function Bc(){let c=a.length>0,m=c;return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Provider manager"}),n(y,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."}),Gh&&n(y,{children:Gh}),n(F,{flexDirection:"column",children:a.length===0?n(y,{dimColor:!0,children:"No provider profiles configured yet."}):a.map((l)=>z(y,{dimColor:!0,children:["- ",l.name,": ",la(l,l.id===w)]},l.id))}),n(S,{options:Kh,onChange:(l)=>{switch(_(void 0),l){case"add":O("select-preset");break;case"import-legacy":{(async()=>{let r=await Vh({force:!0});if(uh(Vt()),K(),r.errors.length>0)_(jt(r));else Y(jt(r))})();break}case"activate":if(m)O("select-active");break;case"activate-project":if(m)O("select-active-project");break;case"clear-project-override":Jc();break;case"edit":if(c)O("select-edit");break;case"delete":if(m)O("select-delete");break;case"logout-codex-oauth":{let r=Qh();if(!r.success){_(r.warning??"Could not clear Codex OAuth credentials.");break}Yt(!1),kt(void 0);let b=fh(x(),_t),q=null;if(b){let k=kh(b.id);if(!k.removed){_("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),K();break}Wh(),q=k.activeProfileId?At():null}K(),Y(q?`Codex OAuth logged out. Warning: could not clear startup provider override (${q}).`:"Codex OAuth logged out.");break}default:Wt("Provider manager closed");break}},onCancel:()=>Wt("Provider manager closed"),defaultFocusValue:$c,visibleOptionCount:Kh.length})]})}function Mt(c,m,l){let r=a.map((b)=>{let q=[];if(b.id===w)q.push("active");if(A&&b.id===A)q.push("this project");if(J&&b.id===J)q.push("global default");let k=q.length>0?` (${q.join(", ")})`:"";return{value:b.id,label:`${b.name}${k}`,description:`${b.provider==="anthropic"?"anthropic":"openai-compatible"} · ${b.baseUrl} · ${b.model}`}});if(r.length===0)return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:c}),n(y,{dimColor:!0,children:m}),n(S,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>L(),onCancel:()=>L(),visibleOptionCount:1})]});return z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:c}),n(S,{options:r,onChange:l,onCancel:()=>L(),visibleOptionCount:Math.min(10,Math.max(2,r.length))})]})}let G;switch(V){case"select-preset":G=Wc();break;case"select-ollama-model":G=Yc();break;case"select-openai-model":G=Gc();break;case"select-atomic-chat-model":G=dc();break;case"codex-oauth":G=n(Ra,{onBack:()=>O("select-preset"),onConfigured:async(c,m)=>{let l={provider:"openai",name:sn,baseUrl:hc,model:en,apiKey:""},r=fh(x(),_t),b=r?ct(r.id,l):ut(l,{makeActive:!0});if(!b){_("Codex OAuth login finished, but the provider profile could not be saved."),L();return}let q=r&&w!==b.id?nt(b.id):b;if(!q){_("Codex OAuth login finished, but the provider could not be set as the startup provider."),L();return}m({profileId:b.id});let k=At(),d=await mh(c);Yt(!0),kt(b.id),K();let T=[d,k?`could not clear startup provider override (${k})`:null].filter((W)=>Boolean(W)),U=ah({prefix:"Codex OAuth configured",activationWarning:d,warnings:T});if(t==="first-run"){h({action:"saved",activeProfileId:q.id,message:U});return}Y(U),_(void 0),L()}});break;case"xai-oauth":G=n(Aa,{onBack:()=>O("select-preset"),onConfigured:async(c,m)=>{let l={provider:"openai",name:vn,baseUrl:pt,model:ta,apiKey:""},r=Oa(x(),Jh()?.profileId),b=r?ct(r.id,l):ut(l,{makeActive:!0});if(!b){_("xAI OAuth login finished, but the provider profile could not be saved."),L();return}let q=r&&w!==b.id?nt(b.id):b;if(!q){_("xAI OAuth login finished, but the provider could not be set as the startup provider."),L();return}try{m({profileId:b.id})}catch(d){_(d instanceof Error?d.message:String(d)),L();return}K();let k="xAI / Grok configured. Claudin switched to it for this session.";if(t==="first-run"){h({action:"saved",activeProfileId:q.id,message:k});return}Y(k),_(void 0),L()}});break;case"kimi-auth-choice":G=Mc();break;case"kimi-oauth":G=n(ga,{onBack:()=>O("kimi-auth-choice"),onConfigured:async(c,m)=>{let l={provider:"openai",name:ha,baseUrl:Zh,model:ua,apiKey:""},r=ba(x(),Nh()?.profileId),b=r?ct(r.id,l):ut(l,{makeActive:!0});if(!b){_("Kimi Code OAuth login finished, but the provider profile could not be saved."),L();return}let q=r&&w!==b.id?nt(b.id):b;if(!q){_("Kimi Code OAuth login finished, but the provider could not be set as the startup provider."),L();return}try{m({profileId:b.id})}catch(d){_(d instanceof Error?d.message:String(d)),L();return}K();let k="Kimi Code configured. Claudin switched to it for this session.";if(t==="first-run"){h({action:"saved",activeProfileId:q.id,message:k});return}Y(k),_(void 0),L()}});break;case"github-onboard":G=n(vh,{onDone:(c)=>{if(c)Y(c),_(void 0);K(),L()},onBack:()=>O("select-preset"),onChangeAPIKey:K});break;case"anthropic-auth-choice":G=ic();break;case"anthropic-oauth":G=Tc();break;case"cloud-extras":G=Uc();break;case"custom-headers":G=Ec();break;case"form":G=Pc();break;case"select-active":G=Mt("Set active provider (Global)","No providers available. Add one first.",(c)=>{Nc(c)});break;case"select-active-project":G=Mt("Set active provider (Project)","No providers available. Add one first.",(c)=>{Vc(c)});break;case"select-edit":G=Mt("Edit provider","No providers available. Add one first.",(c)=>{Zc(c)});break;case"select-delete":G=Mt("Delete provider","No providers available. Add one first.",(c)=>{let m=a.find((W)=>W.id===c),l=m?.provider==="openai"&&m?.extras?.githubToken!==void 0,r=fh(a,_t)?.id===c,b=Jh()?.profileId,q=m?.provider==="openai"&&m.baseUrl===pt&&!m.apiKey&&b===c,k=Nh()?.profileId,d=m?.provider==="openai"&&m.baseUrl===Zh&&!m.apiKey&&k===c,T=B()?.id===c,U=kh(c);if(!U.removed)_("Could not delete provider.");else{let W=[];if(r){let M=Qh();if(!M.success)W.push(M.warning??"could not clear Codex OAuth credentials");else kt(void 0);Wh()}if(l){let M=cc();if(!M.success)W.push(M.warning??"could not clear GitHub Copilot token")}if(q){let M=mc();if(!M.success)W.push(M.warning??"could not clear xAI OAuth credentials")}if(d){let M=ac();if(!M.success)W.push(M.warning??"could not clear Kimi Code OAuth credentials")}let ht=U.activeProfileId?At():null;if(ht)W.push(`could not clear startup provider override (${ht})`);if(K(),T){let M=B();if(M)ft(),u((yh)=>({...yh,mainLoopModel:$t(M.model),mainLoopModelForSession:null}));else ft(),u((yh)=>({...yh,mainLoopModel:null,mainLoopModelForSession:null}))}Y(W.length>0?`Provider deleted. Warning: ${W.join("; ")}.`:"Provider deleted")}L()});break;case"menu":default:G=Bc();break}return z(uc,{color:"permission",children:[n(zc,{enabled:Hh,onDismiss:(c)=>{uh(Vt()),Lc(!1),K();let m=B();if(c==="migrated"&&t==="first-run"&&m)h({action:"saved",activeProfileId:m.id,activeProviderName:m.name,activeProviderModel:m.model})}}),Hh?null:Fc?z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Loading providers..."}),n(y,{dimColor:!0,children:"Reading provider profiles from disk."})]}):kc?z(F,{flexDirection:"column",gap:1,children:[n(y,{color:"remember",bold:!0,children:"Activating provider..."}),n(y,{dimColor:!0,children:"Please wait while the provider is being configured."})]}):G]})}var g,rt,$h="\x00__manual__",pn,sn="Codex OAuth",en="codexplan",vn="xAI / Grok (OAuth)",ta="grok-4",ha="Moonshot AI",ua,Zh="https://api.kimi.com/coding/v1",Ca;var Xa=I(()=>{Sn();tu();Kn();Eh();Mn();Pn();Dn();Xu();Et();Hn();Wn();Un();Th();ph();En();nu();au();Bn();Tn();on();sh();fu();Ku();eu();Su();pu();Pu();jn();Tt();g=Lt(Qt(),1),rt=[{key:"name",label:"Provider name",placeholder:"e.g. Ollama Home, OpenAI Work",helpText:"A short label shown in /provider and startup setup."},{key:"baseUrl",label:"Base URL",placeholder:"e.g. http://localhost:11434/v1",helpText:"API base URL used for this provider profile."},{key:"apiKey",label:"API key",placeholder:"Leave empty if your provider does not require one",helpText:"Optional. Press Enter with empty value to skip.",optional:!0},{key:"model",label:"Default model",placeholder:"e.g. llama3.1:8b or glm-4.7; glm-4.7-flash",helpText:'Model name(s) to use. Separate multiple with ";" or ","; first is default.'}],pn=new Set(["anthropic","bedrock","vertex","foundry"]),ua=nc;Ca={bedrock:[{key:"awsRegion",label:"AWS region",placeholder:"e.g. us-east-1",helpText:"Region of your Bedrock-enabled AWS account. Credentials are picked up from the AWS SDK chain."}],vertex:[{key:"gcpProject",label:"GCP project ID",placeholder:"e.g. my-project-123456",helpText:"Google Cloud project where Vertex AI is enabled. Credentials are picked up from ADC."},{key:"gcpRegion",label:"GCP region",placeholder:"e.g. us-central1",helpText:"Vertex AI region for the model."}],foundry:[{key:"azureResource",label:"Azure resource",placeholder:"e.g. my-foundry-resource",helpText:"Name of your Azure AI Foundry resource. Credentials are picked up from DefaultAzureCredential."}]}});
|
|
50
|
+
export{wh as Ac,au as Bc,aa as Cc,Vm as Dc,Xa as Ec};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{K0 as v,L0 as Z,M0 as D,r0 as T,s0 as X,t0 as I,v0 as Y,w0 as p}from"./cli-1.1.4-nh3sscxn.mjs";import{o4 as P,q4 as V}from"./cli-1.1.4-40z19hth.mjs";import{r4 as H}from"./cli-1.1.4-9ms3b4tc.mjs";import{Zqa as F,goa as W}from"./cli-1.1.4-0r232fpm.mjs";import{Esa as A,Isa as C}from"./cli-1.1.4-xxe2ztwq.mjs";function B({children:_,ref:$,stickyScroll:g,...K}){let E=J.useRef(null),[,w]=J.useState(0),L=J.useRef(new Set),N=J.useRef(!1),U=()=>{for(let q of L.current)q()};function O(q){if(W(),T(q),Y(),U(),N.current)return;N.current=!0,queueMicrotask(()=>{N.current=!1,X(q)})}return J.useImperativeHandle($,()=>({scrollTo(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.pendingScrollDelta=void 0,z.scrollAnchor=void 0,z.scrollTop=Math.max(0,Math.floor(q)),O(z)},scrollToElement(q,z=0){let G=E.current;if(!G)return;G.stickyScroll=!1,G.pendingScrollDelta=void 0,G.scrollAnchor={el:q,offset:z},O(G)},scrollBy(q){let z=E.current;if(!z)return;z.stickyScroll=!1,z.scrollAnchor=void 0,z.pendingScrollDelta=(z.pendingScrollDelta??0)+Math.floor(q),O(z)},scrollToBottom(){let q=E.current;if(!q)return;q.pendingScrollDelta=void 0,q.stickyScroll=!0,T(q),U(),w((z)=>z+1)},getScrollTop(){return E.current?.scrollTop??0},getPendingDelta(){return E.current?.pendingScrollDelta??0},getScrollHeight(){return E.current?.scrollHeight??0},getFreshScrollHeight(){return E.current?.childNodes[0]?.yogaNode?.getComputedHeight()??E.current?.scrollHeight??0},getViewportHeight(){return E.current?.scrollViewportHeight??0},getViewportTop(){return E.current?.scrollViewportTop??0},isSticky(){let q=E.current;if(!q)return!1;return q.stickyScroll??Boolean(q.attributes.stickyScroll)},subscribe(q){return L.current.add(q),()=>L.current.delete(q)},setClampBounds(q,z){let G=E.current;if(!G)return;G.scrollClampMin=q,G.scrollClampMax=z}}),[]),P("ink-box",{ref:(q)=>{if(E.current=q,q)q.scrollTop??=0},style:{flexWrap:"nowrap",flexDirection:K.flexDirection??"row",flexGrow:K.flexGrow??0,flexShrink:K.flexShrink??1,...K,overflowX:"scroll",overflowY:"scroll"},...g?{stickyScroll:!0}:{},children:P(Z,{flexDirection:"column",flexGrow:1,flexShrink:0,width:"100%",children:_})})}var J,u;var M=C(()=>{F();I();p();v();D();V();J=A(H(),1);u=B});
|
|
2
|
+
export{u as Vh,M as Wh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ap as Z,fp as G}from"./cli-1.1.4-6z69geef.mjs";import{Qga as X,Yga as R}from"./cli-1.1.4-6c3fshef.mjs";import{Cka as O,cka as v,dka as B,hka as A,lka as C,pka as M,zka as U}from"./cli-1.1.4-53fvpymg.mjs";import{Isa as b}from"./cli-1.1.4-xxe2ztwq.mjs";import{randomBytes as L}from"crypto";import{readFile as N,rename as S,unlink as T,writeFile as _}from"fs/promises";import{join as E}from"path";function Y(){return E(Z(),j)}function k(q){let x=B(q);if(typeof x!=="object"||x===null||!("plugins"in x)||typeof x.plugins!=="object"||x.plugins===null)return{};let z=x.plugins,J={};for(let[Q,K]of Object.entries(z))if(K&&typeof K==="object"&&"flaggedAt"in K&&typeof K.flaggedAt==="string"){let $={flaggedAt:K.flaggedAt};if("seenAt"in K&&typeof K.seenAt==="string")$.seenAt=K.seenAt;J[Q]=$}return J}async function V(){try{let q=await N(Y(),{encoding:"utf-8"});return k(q)}catch{return{}}}async function W(q){let x=Y(),z=`${x}.${L(8).toString("hex")}.tmp`;try{await C().mkdir(Z());let J=v({plugins:q},null,2);await _(z,J,{encoding:"utf-8",mode:384}),await S(z,x),H=q}catch(J){X(J);try{await T(z)}catch{}}}async function o(){let q=await V(),x=Date.now(),z=!1;for(let[J,Q]of Object.entries(q))if(Q.seenAt&&x-new Date(Q.seenAt).getTime()>=f)delete q[J],z=!0;if(H=q,z)await W(q)}function c(){return H??{}}async function p(q){if(H===null)H=await V();let x={...H,[q]:{flaggedAt:new Date().toISOString()}};await W(x),U(`Flagged plugin: ${q}`)}async function d(q){if(H===null)H=await V();let x=new Date().toISOString(),z=!1,J={...H};for(let Q of q){let K=J[Q];if(K&&!K.seenAt)J[Q]={...K,seenAt:x},z=!0}if(z)await W(J)}async function g(q){if(H===null)H=await V();if(!(q in H))return;let{[q]:x,...z}=H;H=z,await W(z)}var j="flagged-plugins.json",f=172800000,H=null;var w=b(()=>{O();M();R();A();G()});
|
|
2
|
+
export{o as Cd,c as Dd,p as Ed,d as Fd,g as Gd,w as Hd};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{A2 as X,E2 as N,z2 as d}from"./cli-1.1.4-m3gsmnfa.mjs";import{Qga as B,Uea as U,Xea as G,Yga as y,qea as O,qfa as p,rea as f}from"./cli-1.1.4-6c3fshef.mjs";import{Yka as x,ela as b}from"./cli-1.1.4-hzx821eq.mjs";import{hla as H,ula as E}from"./cli-1.1.4-c7a7aezt.mjs";import{Poa as w,Zqa as P}from"./cli-1.1.4-0r232fpm.mjs";import{Tra as k,jsa as S}from"./cli-1.1.4-0a20jx5n.mjs";import{Esa as M,Isa as R}from"./cli-1.1.4-xxe2ztwq.mjs";import{mkdir as _,readFile as V,writeFile as A}from"fs/promises";import{dirname as L,join as m}from"path";function W(){return m(H(),"cache","changelog.md")}async function Jq(){let J=G();if(!J.cachedChangelog)return;let q=W();try{await _(L(q),{recursive:!0}),await A(q,J.cachedChangelog,{encoding:"utf-8",flag:"wx"})}catch{}U(({cachedChangelog:Y,...z})=>z)}async function C(){if(w())return;if(O())return;let J=await k.get(v);if(J.status===200){let q=J.data;if(q===$)return;let Y=W();await _(L(Y),{recursive:!0}),await A(Y,q,{encoding:"utf-8"}),$=q;let z=Date.now();U((K)=>({...K,changelogLastFetched:z}))}}async function h(){if($!==null)return $;let J=W();try{let q=await V(J,"utf-8");return $=q,q}catch{return $="",""}}function j(){return $??""}function F(J){try{if(!J)return{};let q={},Y=J.split(/^## /gm).slice(1);for(let z of Y){let K=z.trim().split(`
|
|
2
|
+
`);if(K.length===0)continue;let Q=K[0];if(!Q)continue;let Z=Q.split(" - ")[0]?.trim()||"";if(!Z)continue;let D=K.slice(1).filter((I)=>I.trim().startsWith("- ")).map((I)=>I.trim().substring(2).trim()).filter(Boolean);if(D.length>0)q[Z]=D}return q}catch(q){return B(x(q)),{}}}function l(J,q,Y=j()){try{let z=F(Y),K=T.coerce(J),Q=q?T.coerce(q):null;if(!Q||K&&X(K.version,Q.version))return Object.entries(z).filter(([Z])=>!Q||X(Z,Q.version)).sort(([Z],[D])=>X(Z,D)?-1:1).flatMap(([Z,D])=>D).filter(Boolean).slice(0,u)}catch(z){return B(x(z)),[]}return[]}function Kq(J=j()){try{let q=F(J);return Object.keys(q).sort((z,K)=>X(z,K)?1:-1).map((z)=>{let K=q[z];if(!K||K.length===0)return null;let Q=K.filter(Boolean);if(Q.length===0)return null;return[z,Q]}).filter((z)=>z!==null)}catch(q){return B(x(q)),[]}}async function Qq(J,q="99.0.0"){let Y=await h();if(J!==q||!Y)C().catch((Q)=>B(x(Q)));let z=l(q,J,Y);return{hasReleaseNotes:z.length>0,releaseNotes:z}}var T,u=5,zq="https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md",v="https://raw.githubusercontent.com/anthropics/claude-code/refs/heads/main/CHANGELOG.md",$=null;var g=R(()=>{S();P();p();E();b();y();f();N();T=M(d(),1)});
|
|
3
|
+
export{zq as nf,Jq as of,C as pf,h as qf,Kq as rf,Qq as sf,g as tf};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{U_ as Q,W_ as M,Xea as P,qfa as R}from"./cli-1.1.4-6c3fshef.mjs";import{Cka as C,zka as G}from"./cli-1.1.4-53fvpymg.mjs";import{Isa as j}from"./cli-1.1.4-xxe2ztwq.mjs";import{promises as I}from"node:fs";import{homedir as y}from"node:os";import K from"node:path";function O(q){let z;try{z=new URL(q)}catch(A){throw Error(`Invalid URL format: ${q}`)}if(z.protocol!=="http:"&&z.protocol!=="https:")throw Error(`Invalid URL protocol: must use http:// or https://, got ${z.protocol}`)}async function g(q){try{let z=process.platform;if(z==="win32"){let{code:V}=await Q("explorer",[q]);return V===0}let A=z==="darwin"?"open":"xdg-open",{code:J}=await Q(A,[q]);return J===0}catch(z){return!1}}function U(){let q=process.env.XDG_DATA_HOME&&process.env.XDG_DATA_HOME.length>0?process.env.XDG_DATA_HOME:K.join(y(),".local","share");return[K.join(q,"applications"),"/usr/local/share/applications","/usr/share/applications","/var/lib/snapd/desktop/applications","/var/lib/flatpak/exports/share/applications"]}function k(q){let z=q.split(`
|
|
2
|
+
`),A=!1;for(let J of z){let V=J.trim();if(V.startsWith("[")){A=V==="[Desktop Entry]";continue}if(!A)continue;if(!V.startsWith("Exec="))continue;let $=V.slice(5).replace(S,"").replace(/%%/g,"%").trim();if($.length===0)return null;let Y=$.match(/^"([^"]+)"|^(\S+)/);if(!Y)return null;return Y[1]??Y[2]??null}return null}async function L(q){for(let z of U()){let A=K.join(z,q);try{return await I.readFile(A,"utf8")}catch(J){}}return null}async function _(q){let{code:z}=await Q("which",[q],{timeout:X,useCwd:!1});return z===0}async function N(){let{code:q,stdout:z}=await Q("xdg-settings",["get","default-web-browser"],{timeout:X,useCwd:!1});if(q!==0)return null;let A=z.trim();if(A.length===0||!A.endsWith(".desktop"))return null;let J=await L(A);if(J==null)return null;return k(J)}async function B(){for(let q of v)if(await _(q))return q;return null}async function m(){if(Z!==void 0)return Z;try{let q=await N();if(q)return Z=q,q}catch(q){G(`browser: xdg-settings detection failed: ${String(q)}`)}try{let q=await B();return Z=q,q}catch(q){return G(`browser: probe list failed: ${String(q)}`),Z=null,null}}async function W(q,z){let{code:A}=await Q(q,[z]);return A===0}async function w(q){try{O(q);let z=process.env.BROWSER,A=process.platform;if(A==="win32"){if(z){let{code:H}=await Q(z,[`"${q}"`]);return H===0}let{code:Y}=await Q("rundll32",["url,OpenURL",q],{});return Y===0}if(A==="darwin"){let Y=z||"open",{code:H}=await Q(Y,[q]);return H===0}if(z){if(await W(z,q))return!0}let J;try{J=P().oauthBrowser}catch(Y){G(`browser: failed to read oauthBrowser setting: ${String(Y)}`)}if(J&&J.length>0){if(await W(J,q))return!0}let V=await m();if(V){if(await W(V,q))return!0}let{code:$}=await Q("xdg-open",[q]);return $===0}catch(z){return!1}}var S,v,X=2000,Z=void 0;var f=j(()=>{M();C();R();S=/%[fFuUdDnNickvm]/g,v=["brave-browser","brave","firefox","chromium","google-chrome","microsoft-edge"]});
|
|
3
|
+
export{g as N4,w as O4,f as P4};
|