@claudiolabs/claudin 0.6.13 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunks/AgentTool-0.7.0-9peg6t20.mjs +1 -0
- package/dist/chunks/App-0.7.0-q5hygb50.mjs +1 -0
- package/dist/chunks/ApproveApiKey-0.7.0-pdj2vakp.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-0.7.0-190csm4h.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-0.7.0-khhh5rz9.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-0.7.0-4n7jcjsf.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.7.0-vf636a5p.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-0.7.0-z9h5bckg.mjs +1 -0
- package/dist/chunks/DiffDialog-0.7.0-3kqmdg48.mjs +7 -0
- package/dist/chunks/Doctor-0.7.0-gep401wn.mjs +1 -0
- package/dist/chunks/ExplorerDialog-0.7.0-2t408ngs.mjs +6 -0
- package/dist/chunks/Grove-0.7.0-3knq53k5.mjs +1 -0
- package/dist/chunks/ITermBackend-0.7.0-by807q13.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-0.7.0-maxj2b37.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-0.7.0-2atqejbc.mjs +1 -0
- package/dist/chunks/MigrationDialog-0.7.0-wqtqgs70.mjs +1 -0
- package/dist/chunks/Onboarding-0.7.0-xe2s643k.mjs +1 -0
- package/dist/chunks/ProviderManager-0.7.0-4tbbvacv.mjs +1 -0
- package/dist/chunks/REPL-0.7.0-tvn2epfh.mjs +1 -0
- package/dist/chunks/ResumeConversation-0.7.0-6ycqmhh2.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-0.7.0-xwjwtj2z.mjs +1 -0
- package/dist/chunks/TeleportProgress-0.7.0-mwbsjw08.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-0.7.0-szdbz9rf.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-0.7.0-sg1whfhh.mjs +1 -0
- package/dist/chunks/TmuxBackend-0.7.0-jdkh4z1a.mjs +9 -0
- package/dist/chunks/ToolSearchTool-0.7.0-f557bcbq.mjs +1 -0
- package/dist/chunks/TrustDialog-0.7.0-gfmvgcwc.mjs +1 -0
- package/dist/chunks/activeProvider-0.7.0-vvs597t9.mjs +1 -0
- package/dist/chunks/add-dir-0.7.0-tqy1qj7k.mjs +1 -0
- package/dist/chunks/agents-0.7.0-7mz67ymz.mjs +110 -0
- package/dist/chunks/agents-0.7.0-rzfq4nj1.mjs +3 -0
- package/dist/chunks/api-0.7.0-3ddtm43n.mjs +1 -0
- package/dist/chunks/asciicast-0.7.0-4hfhh3bz.mjs +1 -0
- package/dist/chunks/assistant-0.7.0-hq9qp39j.mjs +1 -0
- package/dist/chunks/auth-0.7.0-j0ecrgmw.mjs +1 -0
- package/dist/chunks/auth-0.7.0-q33dw9jq.mjs +1 -0
- package/dist/chunks/autoMode-0.7.0-jt8mnf1a.mjs +48 -0
- package/dist/chunks/autoUpdater-0.7.0-pk6cxrr5.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-0.7.0-n50bjkpa.mjs +1 -0
- package/dist/chunks/branch-0.7.0-2nvgp1ch.mjs +4 -0
- package/dist/chunks/bridge-0.7.0-n76zrpx7.mjs +2 -0
- package/dist/chunks/bridgeConfig-0.7.0-wavdtzat.mjs +1 -0
- package/dist/chunks/bridgeEnabled-0.7.0-eqjw3fax.mjs +1 -0
- package/dist/chunks/bridgeMain-0.7.0-7n73zfpq.mjs +88 -0
- package/dist/chunks/bridgePointer-0.7.0-49x6tn3y.mjs +1 -0
- package/dist/chunks/btw-0.7.0-d2cavbgh.mjs +1 -0
- package/dist/chunks/buddy-0.7.0-3r0qt58d.mjs +3 -0
- package/dist/chunks/cacache-0.7.0-tsq5tf6t.mjs +1 -0
- package/dist/chunks/cache-probe-0.7.0-521yf1je.mjs +21 -0
- package/dist/chunks/cacheStats-0.7.0-xrpkvgry.mjs +4 -0
- package/dist/chunks/caches-0.7.0-khrzrs38.mjs +1 -0
- package/dist/chunks/claudeDesktop-0.7.0-9vm9zdzp.mjs +1 -0
- package/dist/chunks/claudemd-0.7.0-06x6wykt.mjs +1 -0
- package/dist/chunks/clear-0.7.0-0hkt8avg.mjs +1 -0
- package/dist/chunks/clearTerminal-0.7.0-np2er6we.mjs +1 -0
- package/dist/chunks/cli-0.7.0-0bzz8t89.mjs +2 -0
- package/dist/chunks/cli-0.7.0-0cp32djm.mjs +2 -0
- package/dist/chunks/cli-0.7.0-0hzevdxp.mjs +8 -0
- package/dist/chunks/cli-0.7.0-0r9dgw51.mjs +3 -0
- package/dist/chunks/cli-0.7.0-0vdrrv1g.mjs +2 -0
- package/dist/chunks/cli-0.7.0-154gmfg4.mjs +2 -0
- package/dist/chunks/cli-0.7.0-15wmymmf.mjs +2 -0
- package/dist/chunks/cli-0.7.0-19swb9c9.mjs +2 -0
- package/dist/chunks/cli-0.7.0-1b6xe3b3.mjs +3 -0
- package/dist/chunks/cli-0.7.0-1evcxwvq.mjs +9 -0
- package/dist/chunks/cli-0.7.0-1tb38zvv.mjs +2 -0
- package/dist/chunks/cli-0.7.0-1vvj7vh2.mjs +4 -0
- package/dist/chunks/cli-0.7.0-21zw08ne.mjs +4 -0
- package/dist/chunks/cli-0.7.0-24z25c8v.mjs +2 -0
- package/dist/chunks/cli-0.7.0-252v8s5n.mjs +20 -0
- package/dist/chunks/cli-0.7.0-29zphpz9.mjs +2 -0
- package/dist/chunks/cli-0.7.0-2cdwx892.mjs +3 -0
- package/dist/chunks/cli-0.7.0-2etvr47t.mjs +24 -0
- package/dist/chunks/cli-0.7.0-2nytysyy.mjs +2 -0
- package/dist/chunks/cli-0.7.0-383nrwhr.mjs +18 -0
- package/dist/chunks/cli-0.7.0-3fnqxks0.mjs +5 -0
- package/dist/chunks/cli-0.7.0-3knzsvn6.mjs +2 -0
- package/dist/chunks/cli-0.7.0-3n9nagt9.mjs +2 -0
- package/dist/chunks/cli-0.7.0-3stm3k7p.mjs +12 -0
- package/dist/chunks/cli-0.7.0-3xtc467b.mjs +2 -0
- package/dist/chunks/cli-0.7.0-48ycf0c3.mjs +2 -0
- package/dist/chunks/cli-0.7.0-48yfvx4w.mjs +2 -0
- package/dist/chunks/cli-0.7.0-49k0drxj.mjs +2 -0
- package/dist/chunks/cli-0.7.0-4d58csqr.mjs +2 -0
- package/dist/chunks/cli-0.7.0-4s9f320h.mjs +2 -0
- package/dist/chunks/cli-0.7.0-4t41vxc0.mjs +2 -0
- package/dist/chunks/cli-0.7.0-4z8583dp.mjs +2 -0
- package/dist/chunks/cli-0.7.0-4z9nwzzv.mjs +2 -0
- package/dist/chunks/cli-0.7.0-4zvtjdd8.mjs +2 -0
- package/dist/chunks/cli-0.7.0-5df67dbk.mjs +2 -0
- package/dist/chunks/cli-0.7.0-5fx679he.mjs +2 -0
- package/dist/chunks/cli-0.7.0-5ktz31fq.mjs +67 -0
- package/dist/chunks/cli-0.7.0-5yvefnpr.mjs +3 -0
- package/dist/chunks/cli-0.7.0-68mgyfr7.mjs +2 -0
- package/dist/chunks/cli-0.7.0-6v89j1h0.mjs +2 -0
- package/dist/chunks/cli-0.7.0-747esby6.mjs +2 -0
- package/dist/chunks/cli-0.7.0-7c24mbsm.mjs +2 -0
- package/dist/chunks/cli-0.7.0-7g132rdj.mjs +5420 -0
- package/dist/chunks/cli-0.7.0-83nm3wtf.mjs +2 -0
- package/dist/chunks/cli-0.7.0-89798mg3.mjs +2 -0
- package/dist/chunks/cli-0.7.0-8begebnr.mjs +3 -0
- package/dist/chunks/cli-0.7.0-8p56ked8.mjs +2 -0
- package/dist/chunks/cli-0.7.0-8qwe028y.mjs +2 -0
- package/dist/chunks/cli-0.7.0-9jzkqcfv.mjs +16 -0
- package/dist/chunks/cli-0.7.0-9mk6sjcz.mjs +4 -0
- package/dist/chunks/cli-0.7.0-9p8vefz6.mjs +18 -0
- package/dist/chunks/cli-0.7.0-a088q8ep.mjs +2 -0
- package/dist/chunks/cli-0.7.0-a0dt04a7.mjs +2 -0
- package/dist/chunks/cli-0.7.0-a7rry8ha.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ad4z1hfv.mjs +50 -0
- package/dist/chunks/cli-0.7.0-aewz8nz4.mjs +2 -0
- package/dist/chunks/cli-0.7.0-apkk9390.mjs +3 -0
- package/dist/chunks/cli-0.7.0-asw5nd1q.mjs +2 -0
- package/dist/chunks/cli-0.7.0-avczxk44.mjs +2 -0
- package/dist/chunks/cli-0.7.0-avw5kb07.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ba1xb8x3.mjs +4 -0
- package/dist/chunks/cli-0.7.0-bacjkqga.mjs +2 -0
- package/dist/chunks/cli-0.7.0-bn0k1nzk.mjs +2 -0
- package/dist/chunks/cli-0.7.0-cb16hgkh.mjs +2 -0
- package/dist/chunks/cli-0.7.0-cjxpqpns.mjs +3 -0
- package/dist/chunks/cli-0.7.0-ct2kfpct.mjs +2 -0
- package/dist/chunks/cli-0.7.0-cwxeffcg.mjs +2 -0
- package/dist/chunks/cli-0.7.0-d56bajvn.mjs +2 -0
- package/dist/chunks/cli-0.7.0-d5bt2ahd.mjs +2 -0
- package/dist/chunks/cli-0.7.0-d6h4eqtj.mjs +2 -0
- package/dist/chunks/cli-0.7.0-d8vr3j93.mjs +2 -0
- package/dist/chunks/cli-0.7.0-dem9bmt6.mjs +2 -0
- package/dist/chunks/cli-0.7.0-dpaewdhn.mjs +2 -0
- package/dist/chunks/cli-0.7.0-dszmq0g3.mjs +2 -0
- package/dist/chunks/cli-0.7.0-dtxyc2mt.mjs +2 -0
- package/dist/chunks/cli-0.7.0-dxnyr5rv.mjs +2 -0
- package/dist/chunks/cli-0.7.0-dyhamqem.mjs +2 -0
- package/dist/chunks/cli-0.7.0-e1esnrzt.mjs +42 -0
- package/dist/chunks/cli-0.7.0-e1mycvjk.mjs +2 -0
- package/dist/chunks/cli-0.7.0-e39zcyhp.mjs +4 -0
- package/dist/chunks/cli-0.7.0-e6mves6r.mjs +2 -0
- package/dist/chunks/cli-0.7.0-eayr3nfv.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ecwta6mh.mjs +2 -0
- package/dist/chunks/cli-0.7.0-eddwmcdn.mjs +2 -0
- package/dist/chunks/cli-0.7.0-es6y6s82.mjs +12 -0
- package/dist/chunks/cli-0.7.0-ewbn59cm.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ewcemx0m.mjs +2 -0
- package/dist/chunks/cli-0.7.0-f62gcsfa.mjs +2 -0
- package/dist/chunks/cli-0.7.0-f7mqc27p.mjs +6 -0
- package/dist/chunks/cli-0.7.0-ffy8few4.mjs +3 -0
- package/dist/chunks/cli-0.7.0-ft5gef81.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ftjagwyg.mjs +2 -0
- package/dist/chunks/cli-0.7.0-fxv77y2t.mjs +12 -0
- package/dist/chunks/cli-0.7.0-g2ekvm09.mjs +6 -0
- package/dist/chunks/cli-0.7.0-g46gs4dx.mjs +2 -0
- package/dist/chunks/cli-0.7.0-g5qxznar.mjs +2 -0
- package/dist/chunks/cli-0.7.0-gafgf0er.mjs +2 -0
- package/dist/chunks/cli-0.7.0-gkssrwr6.mjs +34 -0
- package/dist/chunks/cli-0.7.0-h6kfhzzd.mjs +193 -0
- package/dist/chunks/cli-0.7.0-hmjg8yfx.mjs +2 -0
- package/dist/chunks/cli-0.7.0-hrtdae85.mjs +6 -0
- package/dist/chunks/cli-0.7.0-hxf1ckjt.mjs +12 -0
- package/dist/chunks/cli-0.7.0-hxph4t80.mjs +2 -0
- package/dist/chunks/cli-0.7.0-j4jzhywr.mjs +3 -0
- package/dist/chunks/cli-0.7.0-je29e78f.mjs +2 -0
- package/dist/chunks/cli-0.7.0-jmsrj8j2.mjs +4 -0
- package/dist/chunks/cli-0.7.0-jvkyhn8x.mjs +2 -0
- package/dist/chunks/cli-0.7.0-k3qqc7gx.mjs +2 -0
- package/dist/chunks/cli-0.7.0-k7w5n7pe.mjs +2 -0
- package/dist/chunks/cli-0.7.0-kkpf8bhn.mjs +2 -0
- package/dist/chunks/cli-0.7.0-kngw06pw.mjs +4 -0
- package/dist/chunks/cli-0.7.0-kp7f47zq.mjs +2 -0
- package/dist/chunks/cli-0.7.0-kpfe5dkw.mjs +2 -0
- package/dist/chunks/cli-0.7.0-kr6jdp53.mjs +133 -0
- package/dist/chunks/cli-0.7.0-kw0wp8vs.mjs +2 -0
- package/dist/chunks/cli-0.7.0-kw554ntj.mjs +3 -0
- package/dist/chunks/cli-0.7.0-m07xma4d.mjs +2 -0
- package/dist/chunks/cli-0.7.0-m6ysmj08.mjs +39 -0
- package/dist/chunks/cli-0.7.0-mea2neea.mjs +133 -0
- package/dist/chunks/cli-0.7.0-mn3gdwp2.mjs +17 -0
- package/dist/chunks/cli-0.7.0-mnbdk339.mjs +3 -0
- package/dist/chunks/cli-0.7.0-n0s94kev.mjs +2 -0
- package/dist/chunks/cli-0.7.0-n0twknfk.mjs +2 -0
- package/dist/chunks/cli-0.7.0-na9s209m.mjs +2 -0
- package/dist/chunks/cli-0.7.0-p96azep2.mjs +7 -0
- package/dist/chunks/cli-0.7.0-p9c7eask.mjs +2 -0
- package/dist/chunks/cli-0.7.0-p9q4x3f1.mjs +59 -0
- package/dist/chunks/cli-0.7.0-pbs0cx53.mjs +2 -0
- package/dist/chunks/cli-0.7.0-petmjdha.mjs +2 -0
- package/dist/chunks/cli-0.7.0-pf2fr5cc.mjs +4 -0
- package/dist/chunks/cli-0.7.0-pfcabga3.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ppqzq0zp.mjs +2 -0
- package/dist/chunks/cli-0.7.0-q5sbn5b2.mjs +4 -0
- package/dist/chunks/cli-0.7.0-q70ex7jy.mjs +2 -0
- package/dist/chunks/cli-0.7.0-qeg8v19s.mjs +2 -0
- package/dist/chunks/cli-0.7.0-qftredzy.mjs +2 -0
- package/dist/chunks/cli-0.7.0-qmckaxpm.mjs +2 -0
- package/dist/chunks/cli-0.7.0-r8g195r8.mjs +15 -0
- package/dist/chunks/cli-0.7.0-rmprwgax.mjs +2 -0
- package/dist/chunks/cli-0.7.0-rnahtcw9.mjs +5 -0
- package/dist/chunks/cli-0.7.0-rxhbb3ca.mjs +2 -0
- package/dist/chunks/cli-0.7.0-s0b5jjrj.mjs +2 -0
- package/dist/chunks/cli-0.7.0-s14kw5d6.mjs +2 -0
- package/dist/chunks/cli-0.7.0-s4at7t0q.mjs +2 -0
- package/dist/chunks/cli-0.7.0-s8rt9fpg.mjs +2 -0
- package/dist/chunks/cli-0.7.0-s9hgep30.mjs +3 -0
- package/dist/chunks/cli-0.7.0-sbwhas5a.mjs +18 -0
- package/dist/chunks/cli-0.7.0-tcxmyk2w.mjs +2 -0
- package/dist/chunks/cli-0.7.0-tjpp46xm.mjs +2 -0
- package/dist/chunks/cli-0.7.0-tvwks6zm.mjs +2 -0
- package/dist/chunks/cli-0.7.0-twxrndmz.mjs +4 -0
- package/dist/chunks/cli-0.7.0-v6ceqq5f.mjs +2 -0
- package/dist/chunks/cli-0.7.0-v7hc34ad.mjs +2 -0
- package/dist/chunks/cli-0.7.0-v92q5ffm.mjs +2 -0
- package/dist/chunks/cli-0.7.0-vf7bbn80.mjs +5 -0
- package/dist/chunks/cli-0.7.0-vfzbn5qv.mjs +2 -0
- package/dist/chunks/cli-0.7.0-vp89ypch.mjs +24 -0
- package/dist/chunks/cli-0.7.0-vvb9pc7x.mjs +3 -0
- package/dist/chunks/cli-0.7.0-vzpjsnyh.mjs +2 -0
- package/dist/chunks/cli-0.7.0-vzvrhx5c.mjs +2 -0
- package/dist/chunks/cli-0.7.0-w0nw2kkk.mjs +17 -0
- package/dist/chunks/cli-0.7.0-wb82h4c2.mjs +2 -0
- package/dist/chunks/cli-0.7.0-wf8v2b4s.mjs +15 -0
- package/dist/chunks/cli-0.7.0-wgy69726.mjs +2 -0
- package/dist/chunks/cli-0.7.0-wm0enq59.mjs +2 -0
- package/dist/chunks/cli-0.7.0-wntkecma.mjs +2 -0
- package/dist/chunks/cli-0.7.0-wspeyepj.mjs +2 -0
- package/dist/chunks/cli-0.7.0-wvpty7mm.mjs +2 -0
- package/dist/chunks/cli-0.7.0-wxynfqax.mjs +2 -0
- package/dist/chunks/cli-0.7.0-wzjrm1a0.mjs +2 -0
- package/dist/chunks/cli-0.7.0-x1xdxk52.mjs +2 -0
- package/dist/chunks/cli-0.7.0-x2vc8nds.mjs +2 -0
- package/dist/chunks/cli-0.7.0-xb864qfd.mjs +2 -0
- package/dist/chunks/cli-0.7.0-xfxprc47.mjs +2 -0
- package/dist/chunks/cli-0.7.0-xpzg1xfc.mjs +2 -0
- package/dist/chunks/cli-0.7.0-xvjaw51n.mjs +15 -0
- package/dist/chunks/cli-0.7.0-y003ay15.mjs +2 -0
- package/dist/chunks/cli-0.7.0-y6nkrrpn.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ybdk9aq6.mjs +21 -0
- package/dist/chunks/cli-0.7.0-ybwa4x6g.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ycew6bek.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ye6sm33j.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ytqbgtvc.mjs +2 -0
- package/dist/chunks/cli-0.7.0-yts7snkm.mjs +45 -0
- package/dist/chunks/cli-0.7.0-yw6r7fw4.mjs +58 -0
- package/dist/chunks/cli-0.7.0-z15a5zq0.mjs +2 -0
- package/dist/chunks/cli-0.7.0-z7sydqy8.mjs +2 -0
- package/dist/chunks/cli-0.7.0-z93va7tf.mjs +2 -0
- package/dist/chunks/cli-0.7.0-zd1q68sv.mjs +2 -0
- package/dist/chunks/cli-0.7.0-zdbaf370.mjs +10 -0
- package/dist/chunks/cli-0.7.0-zf3jaceq.mjs +2 -0
- package/dist/chunks/cli-0.7.0-zh93d2ez.mjs +2 -0
- package/dist/chunks/cli-0.7.0-zjfpqpke.mjs +1 -0
- package/dist/chunks/cli-0.7.0-zmfejrs2.mjs +25 -0
- package/dist/chunks/cli-0.7.0-zn444tdk.mjs +2 -0
- package/dist/chunks/cli-0.7.0-zqv149an.mjs +6 -0
- package/dist/chunks/cli-0.7.0-zscdr61q.mjs +2 -0
- package/dist/chunks/cli-0.7.0-ztc21898.mjs +2 -0
- package/dist/chunks/client-0.7.0-mxq1x2gd.mjs +1 -0
- package/dist/chunks/color-0.7.0-q8kx1h5f.mjs +1 -0
- package/dist/chunks/compact-0.7.0-wej8t29a.mjs +3 -0
- package/dist/chunks/config-0.7.0-1vqyzdss.mjs +1 -0
- package/dist/chunks/config-0.7.0-29b2exhr.mjs +1 -0
- package/dist/chunks/constants-0.7.0-cwe25jjg.mjs +1 -0
- package/dist/chunks/context-0.7.0-wzkh0ek3.mjs +1 -0
- package/dist/chunks/context-noninteractive-0.7.0-3knrv7yy.mjs +1 -0
- package/dist/chunks/conversation-0.7.0-5gwkat1n.mjs +1 -0
- package/dist/chunks/copilotHeaders-0.7.0-k7qbvwa0.mjs +1 -0
- package/dist/chunks/copy-0.7.0-g9547w2e.mjs +9 -0
- package/dist/chunks/cost-0.7.0-g07zzraf.mjs +1 -0
- package/dist/chunks/createSSHSession-0.7.0-x69ccesr.mjs +1 -0
- package/dist/chunks/createSession-0.7.0-eythrhrd.mjs +1 -0
- package/dist/chunks/debug-0.7.0-grf8etmz.mjs +1 -0
- package/dist/chunks/defaultActionDeps-0.7.0-3msvjhye.mjs +1367 -0
- package/dist/chunks/desktop-0.7.0-qv2bt4fq.mjs +1 -0
- package/dist/chunks/detectRepository-0.7.0-8kzz057x.mjs +1 -0
- package/dist/chunks/detection-0.7.0-d8z59p8p.mjs +1 -0
- package/dist/chunks/diff-0.7.0-wx4fgtnt.mjs +1 -0
- package/dist/chunks/doctor-0.7.0-dzm456q1.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-0.7.0-jysj36mx.mjs +1 -0
- package/dist/chunks/earlyInput-0.7.0-31tzwhjp.mjs +1 -0
- package/dist/chunks/effort-0.7.0-w94qsmp1.mjs +10 -0
- package/dist/chunks/envLessBridgeConfig-0.7.0-2vzfvw7j.mjs +1 -0
- package/dist/chunks/envUtils-0.7.0-wak5qkkv.mjs +1 -0
- package/dist/chunks/environmentSelection-0.7.0-xe6h6x4v.mjs +1 -0
- package/dist/chunks/environments-0.7.0-cdxqsbrp.mjs +1 -0
- package/dist/chunks/errors-0.7.0-hrt3tamp.mjs +1 -0
- package/dist/chunks/exampleCommands-0.7.0-v49vtt40.mjs +1 -0
- package/dist/chunks/exit-0.7.0-xpc13d1z.mjs +1 -0
- package/dist/chunks/explorer-0.7.0-yy3jawy1.mjs +1 -0
- package/dist/chunks/export-0.7.0-689scwyv.mjs +2 -0
- package/dist/chunks/extra-usage-0.7.0-675a7x8f.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-0.7.0-2h542mq6.mjs +1 -0
- package/dist/chunks/fast-0.7.0-dwxy8xan.mjs +1 -0
- package/dist/chunks/feedback-0.7.0-kms98grz.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-0.7.0-5gy0hbjg.mjs +1 -0
- package/dist/chunks/git-0.7.0-bsn50mym.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-0.7.0-f9n1jk8g.mjs +1 -0
- package/dist/chunks/goal-0.7.0-ben8pbys.mjs +4 -0
- package/dist/chunks/grove-0.7.0-5vca5g43.mjs +1 -0
- package/dist/chunks/growthbook-0.7.0-ged09pjv.mjs +1 -0
- package/dist/chunks/headless-0.7.0-6gxn4ya0.mjs +2 -0
- package/dist/chunks/heapdump-0.7.0-jbnb1enq.mjs +6 -0
- package/dist/chunks/help-0.7.0-s11djcbq.mjs +1 -0
- package/dist/chunks/hookChains-0.7.0-q104805z.mjs +3 -0
- package/dist/chunks/hooks-0.7.0-3tzcnyt1.mjs +1 -0
- package/dist/chunks/hooks-0.7.0-m0qzy27a.mjs +79 -0
- package/dist/chunks/ide-0.7.0-rqh7pczf.mjs +3 -0
- package/dist/chunks/image-processor-napi-0.7.0-t874vmrb.mjs +1 -0
- package/dist/chunks/inboundAttachments-0.7.0-9h4k1v8p.mjs +1 -0
- package/dist/chunks/index-0.7.0-0pb4fykd.mjs +1 -0
- package/dist/chunks/index-0.7.0-339ebzg3.mjs +1 -0
- package/dist/chunks/index-0.7.0-3qc9y7vs.mjs +1 -0
- package/dist/chunks/index-0.7.0-8xaka5b5.mjs +1 -0
- package/dist/chunks/index-0.7.0-aghbrz36.mjs +1 -0
- package/dist/chunks/index-0.7.0-asx0vcnp.mjs +1 -0
- package/dist/chunks/index-0.7.0-at8f760s.mjs +2 -0
- package/dist/chunks/index-0.7.0-aw15r8m5.mjs +1 -0
- package/dist/chunks/index-0.7.0-b95077ct.mjs +1 -0
- package/dist/chunks/index-0.7.0-etmdkstm.mjs +1 -0
- package/dist/chunks/index-0.7.0-fhnz63fp.mjs +1 -0
- package/dist/chunks/index-0.7.0-fx8935ev.mjs +5 -0
- package/dist/chunks/index-0.7.0-hwyk7tea.mjs +30 -0
- package/dist/chunks/index-0.7.0-nb6m1jch.mjs +1 -0
- package/dist/chunks/index-0.7.0-p4n8wp5y.mjs +9 -0
- package/dist/chunks/index-0.7.0-rbb0bwpy.mjs +1 -0
- package/dist/chunks/index-0.7.0-rq05kg71.mjs +17 -0
- package/dist/chunks/index-0.7.0-vk7vxjae.mjs +1 -0
- package/dist/chunks/index-0.7.0-wjsr1d6k.mjs +2 -0
- package/dist/chunks/index-0.7.0-x03pfhyx.mjs +9 -0
- package/dist/chunks/index-0.7.0-y22a1z29.mjs +1 -0
- package/dist/chunks/index-0.7.0-yx3335f1.mjs +1 -0
- package/dist/chunks/index-0.7.0-zsw19y1x.mjs +1 -0
- package/dist/chunks/init-0.7.0-f0taef1q.mjs +1 -0
- package/dist/chunks/initReplBridge-0.7.0-wcvxy8w8.mjs +1 -0
- package/dist/chunks/ink-0.7.0-xpha78d8.mjs +1 -0
- package/dist/chunks/insights-0.7.0-x0rwvydg.mjs +870 -0
- package/dist/chunks/install-0.7.0-ncp2pec7.mjs +1 -0
- package/dist/chunks/install-github-app-0.7.0-trt9558z.mjs +149 -0
- package/dist/chunks/install-slack-app-0.7.0-kjz97cdh.mjs +1 -0
- package/dist/chunks/instrumentation-0.7.0-bey09njh.mjs +1 -0
- package/dist/chunks/interactiveHelpers-0.7.0-1qs1kree.mjs +1 -0
- package/dist/chunks/keybindings-0.7.0-ekf19qhh.mjs +2 -0
- package/dist/chunks/knowledge-0.7.0-adck5x26.mjs +2 -0
- package/dist/chunks/latestVersionCache-0.7.0-ark5pmnp.mjs +1 -0
- package/dist/chunks/loadAgentsDir-0.7.0-5ae7wa3t.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.0-vhwhvb6f.mjs +1 -0
- package/dist/chunks/loadPluginHooks-0.7.0-xb4qdrg0.mjs +1 -0
- package/dist/chunks/log-0.7.0-6mtk9ch7.mjs +1 -0
- package/dist/chunks/main-0.7.0-v0y4hrdm.mjs +1 -0
- package/dist/chunks/managedEnv-0.7.0-n64hpsst.mjs +1 -0
- package/dist/chunks/mcp-0.7.0-2j3bkwz5.mjs +1 -0
- package/dist/chunks/mcp-0.7.0-rqwvyycg.mjs +4 -0
- package/dist/chunks/mcp-0.7.0-t0pqt6hy.mjs +17 -0
- package/dist/chunks/mcpb-0.7.0-wmg0861b.mjs +1 -0
- package/dist/chunks/memory-0.7.0-gfe3p8h2.mjs +3 -0
- package/dist/chunks/model-0.7.0-anb8mgtp.mjs +2 -0
- package/dist/chunks/model-0.7.0-jxz0n7g1.mjs +1 -0
- package/dist/chunks/node-0.7.0-4sagcnk2.mjs +12 -0
- package/dist/chunks/oauth-0.7.0-n3tj8amn.mjs +1 -0
- package/dist/chunks/openaiShim-0.7.0-9bq5572t.mjs +14 -0
- package/dist/chunks/output-style-0.7.0-wmxwqrx6.mjs +1 -0
- package/dist/chunks/package-GCDC7LJR-0.7.0-fke68t3z.mjs +1 -0
- package/dist/chunks/parseConnectUrl-0.7.0-p5aq0xy4.mjs +1 -0
- package/dist/chunks/parser-0.7.0-a4qhvrn9.mjs +1 -0
- package/dist/chunks/passes-0.7.0-4wxjh63r.mjs +1 -0
- package/dist/chunks/permissions-0.7.0-cth9pb19.mjs +3 -0
- package/dist/chunks/permissions-0.7.0-nxre3gew.mjs +1 -0
- package/dist/chunks/plan-0.7.0-0t3hxxwf.mjs +1 -0
- package/dist/chunks/plist-0.7.0-ptbkp7b8.mjs +1 -0
- package/dist/chunks/plugin-0.7.0-4zewdh7s.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-0.7.0-3zvpdbjz.mjs +1 -0
- package/dist/chunks/plugins-0.7.0-dyrrfzzb.mjs +9 -0
- package/dist/chunks/preActionHook-0.7.0-agzbsqyv.mjs +2 -0
- package/dist/chunks/print-0.7.0-m81z10rw.mjs +57 -0
- package/dist/chunks/privacy-settings-0.7.0-qvrhcvbv.mjs +1 -0
- package/dist/chunks/process-0.7.0-4rnq2g80.mjs +1 -0
- package/dist/chunks/processBashCommand-0.7.0-htmch7xm.mjs +1 -0
- package/dist/chunks/processSlashCommand-0.7.0-gj7mbd0a.mjs +9 -0
- package/dist/chunks/prompt-0.7.0-2d4qsrq9.mjs +1 -0
- package/dist/chunks/prompt-0.7.0-rkefqrwh.mjs +1 -0
- package/dist/chunks/prompts-0.7.0-ty3k4n75.mjs +1 -0
- package/dist/chunks/protocolHandler-0.7.0-aqsa4ph2.mjs +13 -0
- package/dist/chunks/provider-0.7.0-yw5h323y.mjs +2 -0
- package/dist/chunks/providerProfiles-0.7.0-vdm0m870.mjs +1 -0
- package/dist/chunks/providerValidation-0.7.0-rtzpgzra.mjs +6 -0
- package/dist/chunks/rate-limit-options-0.7.0-dqtjdpft.mjs +1 -0
- package/dist/chunks/registerSubcommands-0.7.0-r5wmbkz9.mjs +34 -0
- package/dist/chunks/registry-0.7.0-jjaxz6ve.mjs +1 -0
- package/dist/chunks/release-notes-0.7.0-h6me5mww.mjs +5 -0
- package/dist/chunks/reload-plugins-0.7.0-vtr0cnwe.mjs +2 -0
- package/dist/chunks/remote-env-0.7.0-h013vass.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-0.7.0-fmh34c6f.mjs +1 -0
- package/dist/chunks/remoteSession-0.7.0-40yqbh78.mjs +1 -0
- package/dist/chunks/rename-0.7.0-wqs6kjb7.mjs +1 -0
- package/dist/chunks/replBridgeHandle-0.7.0-d192ahyh.mjs +1 -0
- package/dist/chunks/replLauncher-0.7.0-gtmcyxgm.mjs +1 -0
- package/dist/chunks/resume-0.7.0-6cy3j2e8.mjs +2 -0
- package/dist/chunks/rewind-0.7.0-kepxqnvs.mjs +1 -0
- package/dist/chunks/rootOptions-0.7.0-00ekm71j.mjs +1 -0
- package/dist/chunks/sandbox-adapter-0.7.0-env8r2gg.mjs +1 -0
- package/dist/chunks/sandbox-toggle-0.7.0-wk296sbw.mjs +1 -0
- package/dist/chunks/session-0.7.0-qbmq7k37.mjs +2 -0
- package/dist/chunks/sessionDiscovery-0.7.0-xf03hmpk.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-0.7.0-gw8qw3zp.mjs +1 -0
- package/dist/chunks/sessionStorage-0.7.0-vcyz3dw7.mjs +1 -0
- package/dist/chunks/settings-0.7.0-3k9dr8ys.mjs +1 -0
- package/dist/chunks/setup-0.7.0-9ync2tk7.mjs +5 -0
- package/dist/chunks/sinks-0.7.0-g1bwkwh0.mjs +1 -0
- package/dist/chunks/skills-0.7.0-hjdx42cr.mjs +1 -0
- package/dist/chunks/startupProfiler-0.7.0-b32wtvbf.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-0.7.0-m55han8a.mjs +1 -0
- package/dist/chunks/state-0.7.0-g9nbt1zn.mjs +1 -0
- package/dist/chunks/stats-0.7.0-429ntw0k.mjs +6 -0
- package/dist/chunks/status-0.7.0-h19n5a31.mjs +1 -0
- package/dist/chunks/stickers-0.7.0-q34hs61c.mjs +1 -0
- package/dist/chunks/subprocessEnv-0.7.0-gz4xjdce.mjs +1 -0
- package/dist/chunks/tasks-0.7.0-e2rrgr6x.mjs +1 -0
- package/dist/chunks/teamHelpers-0.7.0-jss9q0ak.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-0.7.0-c7ekrdae.mjs +1 -0
- package/dist/chunks/teleport-0.7.0-n0h6pqs8.mjs +1 -0
- package/dist/chunks/terminalSetup-0.7.0-ycw8nd2k.mjs +1 -0
- package/dist/chunks/theme-0.7.0-2dzcdk7a.mjs +1 -0
- package/dist/chunks/thinkback-0.7.0-9xhfd6ab.mjs +1 -0
- package/dist/chunks/thinkback-play-0.7.0-yqj7b8tt.mjs +1 -0
- package/dist/chunks/toolPool-0.7.0-xes3fby4.mjs +1 -0
- package/dist/chunks/toolSearch-0.7.0-wkaae53k.mjs +1 -0
- package/dist/chunks/tools-0.7.0-7qjq03x9.mjs +1 -0
- package/dist/chunks/trustedDevice-0.7.0-0jcs8sag.mjs +1 -0
- package/dist/chunks/turndown.cjs-0.7.0-evvr9k3e.mjs +69 -0
- package/dist/chunks/types-0.7.0-7t30qdm7.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-0.7.0-mt2gyqrs.mjs +4 -0
- package/dist/chunks/update-0.7.0-d79xsjyx.mjs +86 -0
- package/dist/chunks/upgrade-0.7.0-29j99fm4.mjs +1 -0
- package/dist/chunks/upload-0.7.0-c88xwfr6.mjs +7 -0
- package/dist/chunks/upstreamproxy-0.7.0-qha2t9zm.mjs +14 -0
- package/dist/chunks/url-handler-napi-0.7.0-d2khwe8w.mjs +1 -0
- package/dist/chunks/usage-0.7.0-fz211dwp.mjs +1 -0
- package/dist/chunks/util-0.7.0-kre9h9qa.mjs +1 -0
- package/dist/chunks/utils-0.7.0-vw4eq452.mjs +1 -0
- package/dist/chunks/vim-0.7.0-2tzpxf7d.mjs +1 -0
- package/dist/chunks/watcher-0.7.0-dbb0csvt.mjs +1 -0
- package/dist/chunks/wiki-0.7.0-etkhyz2p.mjs +132 -0
- package/dist/chunks/worktree-0.7.0-ntn0xdnq.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-0.7.0-h5ak3bk5.mjs +1 -0
- package/dist/chunks/wrapper-0.7.0-zvn0r75t.mjs +7 -0
- package/dist/claudin-vscode.vsix +0 -0
- package/dist/cli.mjs +2 -2
- package/package.json +14 -14
- package/dist/chunks/AgentTool-0.6.13-372t6jvm.mjs +0 -1
- package/dist/chunks/App-0.6.13-qvfyfba9.mjs +0 -1
- package/dist/chunks/ApproveApiKey-0.6.13-6nmfyyev.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-0.6.13-b6yfhres.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-0.6.13-dyqtw95c.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-0.6.13-5pgva0rj.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-0.6.13-waw1tn55.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-0.6.13-hjwa1fbn.mjs +0 -1
- package/dist/chunks/DiffDialog-0.6.13-dk52swdy.mjs +0 -7
- package/dist/chunks/Doctor-0.6.13-1a58bmer.mjs +0 -1
- package/dist/chunks/ExplorerDialog-0.6.13-2jsr1kdp.mjs +0 -6
- package/dist/chunks/Grove-0.6.13-ndwmcy2m.mjs +0 -1
- package/dist/chunks/ITermBackend-0.6.13-nf00ba9t.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-0.6.13-5tjcywmj.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-0.6.13-hfvttszy.mjs +0 -1
- package/dist/chunks/MigrationDialog-0.6.13-8kny4cnv.mjs +0 -1
- package/dist/chunks/Onboarding-0.6.13-kq8ksp1e.mjs +0 -1
- package/dist/chunks/ProviderManager-0.6.13-qk3hqkes.mjs +0 -1
- package/dist/chunks/REPL-0.6.13-61en5qve.mjs +0 -1
- package/dist/chunks/ResumeConversation-0.6.13-3fqxexjm.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-0.6.13-62cd6tth.mjs +0 -1
- package/dist/chunks/TeleportProgress-0.6.13-15xb363h.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-0.6.13-dsedgexe.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-0.6.13-9j8hn55r.mjs +0 -1
- package/dist/chunks/TmuxBackend-0.6.13-8vwnn7q5.mjs +0 -9
- package/dist/chunks/ToolSearchTool-0.6.13-zh1xxj19.mjs +0 -1
- package/dist/chunks/TrustDialog-0.6.13-bxhrfq4g.mjs +0 -1
- package/dist/chunks/activeProvider-0.6.13-czzs1epn.mjs +0 -1
- package/dist/chunks/add-dir-0.6.13-j5n5k274.mjs +0 -1
- package/dist/chunks/agents-0.6.13-0m0b4n5a.mjs +0 -3
- package/dist/chunks/agents-0.6.13-v7mba2z1.mjs +0 -110
- package/dist/chunks/api-0.6.13-1s3mg09p.mjs +0 -1
- package/dist/chunks/asciicast-0.6.13-3mbwg05w.mjs +0 -1
- package/dist/chunks/assistant-0.6.13-bg17bbaf.mjs +0 -1
- package/dist/chunks/auth-0.6.13-586trvnj.mjs +0 -1
- package/dist/chunks/auth-0.6.13-jkzs3jr4.mjs +0 -1
- package/dist/chunks/autoMode-0.6.13-9sxgpw8z.mjs +0 -48
- package/dist/chunks/autoUpdater-0.6.13-0rtsfmyq.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-0.6.13-dfn3gpk2.mjs +0 -1
- package/dist/chunks/branch-0.6.13-nncg27cq.mjs +0 -4
- package/dist/chunks/bridge-0.6.13-p1vtbdeq.mjs +0 -2
- package/dist/chunks/bridgeConfig-0.6.13-99p1h4gg.mjs +0 -1
- package/dist/chunks/bridgeEnabled-0.6.13-jxfgwjry.mjs +0 -1
- package/dist/chunks/bridgeMain-0.6.13-fthkw7s3.mjs +0 -88
- package/dist/chunks/bridgePointer-0.6.13-zs37h6xx.mjs +0 -1
- package/dist/chunks/btw-0.6.13-hhztcxbv.mjs +0 -1
- package/dist/chunks/buddy-0.6.13-0j9feqm5.mjs +0 -3
- package/dist/chunks/cacache-0.6.13-kqpn2432.mjs +0 -1
- package/dist/chunks/cache-probe-0.6.13-d98620ds.mjs +0 -21
- package/dist/chunks/cacheStats-0.6.13-yktwg0rm.mjs +0 -4
- package/dist/chunks/caches-0.6.13-5s0az6ex.mjs +0 -1
- package/dist/chunks/claudeDesktop-0.6.13-ecqnvr2j.mjs +0 -1
- package/dist/chunks/claudemd-0.6.13-yae0af2s.mjs +0 -1
- package/dist/chunks/clear-0.6.13-nqy8a9yn.mjs +0 -1
- package/dist/chunks/clearTerminal-0.6.13-72xf6n5m.mjs +0 -1
- package/dist/chunks/cli-0.6.13-004msxtb.mjs +0 -2
- package/dist/chunks/cli-0.6.13-03nk0m3d.mjs +0 -24
- package/dist/chunks/cli-0.6.13-05yxsqtw.mjs +0 -2
- package/dist/chunks/cli-0.6.13-0602v59h.mjs +0 -2
- package/dist/chunks/cli-0.6.13-0fqa9efa.mjs +0 -2
- package/dist/chunks/cli-0.6.13-0k53jyws.mjs +0 -2
- package/dist/chunks/cli-0.6.13-0q2ceerc.mjs +0 -2
- package/dist/chunks/cli-0.6.13-0xg54q0q.mjs +0 -3
- package/dist/chunks/cli-0.6.13-15925v1q.mjs +0 -2
- package/dist/chunks/cli-0.6.13-17fmkp6v.mjs +0 -3
- package/dist/chunks/cli-0.6.13-1ax2v1qb.mjs +0 -24
- package/dist/chunks/cli-0.6.13-1hj4de9z.mjs +0 -18
- package/dist/chunks/cli-0.6.13-1jhzkjnr.mjs +0 -2
- package/dist/chunks/cli-0.6.13-1pb6yp4f.mjs +0 -2
- package/dist/chunks/cli-0.6.13-27ey3345.mjs +0 -17
- package/dist/chunks/cli-0.6.13-2999v1f0.mjs +0 -5
- package/dist/chunks/cli-0.6.13-2d7gmnka.mjs +0 -2
- package/dist/chunks/cli-0.6.13-2k50jqzf.mjs +0 -2
- package/dist/chunks/cli-0.6.13-2s33ahe4.mjs +0 -5420
- package/dist/chunks/cli-0.6.13-31zhsxsz.mjs +0 -2
- package/dist/chunks/cli-0.6.13-35rszksn.mjs +0 -2
- package/dist/chunks/cli-0.6.13-3812a7q8.mjs +0 -34
- package/dist/chunks/cli-0.6.13-3c8w16xp.mjs +0 -3
- package/dist/chunks/cli-0.6.13-3w1r3c0v.mjs +0 -2
- package/dist/chunks/cli-0.6.13-45x35nyh.mjs +0 -2
- package/dist/chunks/cli-0.6.13-46hqxeb7.mjs +0 -2
- package/dist/chunks/cli-0.6.13-4hknb5dd.mjs +0 -2
- package/dist/chunks/cli-0.6.13-50wr9g3w.mjs +0 -2
- package/dist/chunks/cli-0.6.13-56b3061c.mjs +0 -18
- package/dist/chunks/cli-0.6.13-56j5q7d2.mjs +0 -42
- package/dist/chunks/cli-0.6.13-5gh7ptbm.mjs +0 -4
- package/dist/chunks/cli-0.6.13-5qvssn7h.mjs +0 -2
- package/dist/chunks/cli-0.6.13-5t9gd5mv.mjs +0 -2
- package/dist/chunks/cli-0.6.13-643zsnv9.mjs +0 -2
- package/dist/chunks/cli-0.6.13-667dsr1w.mjs +0 -2
- package/dist/chunks/cli-0.6.13-77hs0qtg.mjs +0 -2
- package/dist/chunks/cli-0.6.13-79mne5jt.mjs +0 -2
- package/dist/chunks/cli-0.6.13-7c9n56f7.mjs +0 -2
- package/dist/chunks/cli-0.6.13-7ga8d4j1.mjs +0 -2
- package/dist/chunks/cli-0.6.13-7pva2mmr.mjs +0 -3
- package/dist/chunks/cli-0.6.13-7vd0kdw5.mjs +0 -2
- package/dist/chunks/cli-0.6.13-82datd4w.mjs +0 -2
- package/dist/chunks/cli-0.6.13-86pqnjyd.mjs +0 -2
- package/dist/chunks/cli-0.6.13-881js45c.mjs +0 -2
- package/dist/chunks/cli-0.6.13-8t0ttrk7.mjs +0 -2
- package/dist/chunks/cli-0.6.13-8ws8a2xy.mjs +0 -3
- package/dist/chunks/cli-0.6.13-949racwr.mjs +0 -7
- package/dist/chunks/cli-0.6.13-94nwan0d.mjs +0 -2
- package/dist/chunks/cli-0.6.13-97cs7c2r.mjs +0 -2
- package/dist/chunks/cli-0.6.13-9h9fp7zs.mjs +0 -2
- package/dist/chunks/cli-0.6.13-9wktvaax.mjs +0 -50
- package/dist/chunks/cli-0.6.13-ac8nyfp1.mjs +0 -58
- package/dist/chunks/cli-0.6.13-aekttw5a.mjs +0 -2
- package/dist/chunks/cli-0.6.13-ajc8203j.mjs +0 -2
- package/dist/chunks/cli-0.6.13-axsf5w7q.mjs +0 -2
- package/dist/chunks/cli-0.6.13-aztg2ca1.mjs +0 -2
- package/dist/chunks/cli-0.6.13-b3zncvcq.mjs +0 -16
- package/dist/chunks/cli-0.6.13-b55baxv4.mjs +0 -2
- package/dist/chunks/cli-0.6.13-bthkgbv5.mjs +0 -2
- package/dist/chunks/cli-0.6.13-c3452432.mjs +0 -5
- package/dist/chunks/cli-0.6.13-cc118njq.mjs +0 -2
- package/dist/chunks/cli-0.6.13-cc2eb8bm.mjs +0 -2
- package/dist/chunks/cli-0.6.13-cwm0q4km.mjs +0 -2
- package/dist/chunks/cli-0.6.13-cxnnt8b1.mjs +0 -2
- package/dist/chunks/cli-0.6.13-d2rfg5mp.mjs +0 -2
- package/dist/chunks/cli-0.6.13-da6fhpes.mjs +0 -133
- package/dist/chunks/cli-0.6.13-dada1afp.mjs +0 -6
- package/dist/chunks/cli-0.6.13-dayy1aa4.mjs +0 -2
- package/dist/chunks/cli-0.6.13-dh1skxhh.mjs +0 -2
- package/dist/chunks/cli-0.6.13-dvfmqzm9.mjs +0 -2
- package/dist/chunks/cli-0.6.13-e1t2dda2.mjs +0 -2
- package/dist/chunks/cli-0.6.13-ea52zrzt.mjs +0 -2
- package/dist/chunks/cli-0.6.13-eaev9cr7.mjs +0 -2
- package/dist/chunks/cli-0.6.13-erzcm5hv.mjs +0 -2
- package/dist/chunks/cli-0.6.13-esv4y00y.mjs +0 -2
- package/dist/chunks/cli-0.6.13-etytm730.mjs +0 -2
- package/dist/chunks/cli-0.6.13-ew05qjsa.mjs +0 -4
- package/dist/chunks/cli-0.6.13-f58v0vk7.mjs +0 -6
- package/dist/chunks/cli-0.6.13-f67v536f.mjs +0 -59
- package/dist/chunks/cli-0.6.13-f6qwz2h0.mjs +0 -2
- package/dist/chunks/cli-0.6.13-fkaxh655.mjs +0 -2
- package/dist/chunks/cli-0.6.13-fspszw8w.mjs +0 -2
- package/dist/chunks/cli-0.6.13-fw6m0fbm.mjs +0 -10
- package/dist/chunks/cli-0.6.13-fxj1zytn.mjs +0 -2
- package/dist/chunks/cli-0.6.13-fy3vgkpz.mjs +0 -2
- package/dist/chunks/cli-0.6.13-fzzdrhms.mjs +0 -4
- package/dist/chunks/cli-0.6.13-g65dfg11.mjs +0 -6
- package/dist/chunks/cli-0.6.13-gkfcc3c2.mjs +0 -2
- package/dist/chunks/cli-0.6.13-gpb93cvz.mjs +0 -2
- package/dist/chunks/cli-0.6.13-grrshx1z.mjs +0 -2
- package/dist/chunks/cli-0.6.13-gsfs6kre.mjs +0 -2
- package/dist/chunks/cli-0.6.13-gyq9mepg.mjs +0 -2
- package/dist/chunks/cli-0.6.13-h3ymv3nd.mjs +0 -2
- package/dist/chunks/cli-0.6.13-h5dej6se.mjs +0 -3
- package/dist/chunks/cli-0.6.13-hd0sd535.mjs +0 -193
- package/dist/chunks/cli-0.6.13-hp0r1ftj.mjs +0 -12
- package/dist/chunks/cli-0.6.13-hx71w6e6.mjs +0 -3
- package/dist/chunks/cli-0.6.13-hxfvksxq.mjs +0 -2
- package/dist/chunks/cli-0.6.13-j6mr3jmk.mjs +0 -4
- package/dist/chunks/cli-0.6.13-jhhmjq66.mjs +0 -133
- package/dist/chunks/cli-0.6.13-jjx7jq0w.mjs +0 -2
- package/dist/chunks/cli-0.6.13-jmzvtd06.mjs +0 -2
- package/dist/chunks/cli-0.6.13-jrdsk8wb.mjs +0 -3
- package/dist/chunks/cli-0.6.13-k0kyv254.mjs +0 -2
- package/dist/chunks/cli-0.6.13-kd5h1s1s.mjs +0 -2
- package/dist/chunks/cli-0.6.13-kdm4832x.mjs +0 -2
- package/dist/chunks/cli-0.6.13-kekrwb08.mjs +0 -45
- package/dist/chunks/cli-0.6.13-kmg491hy.mjs +0 -2
- package/dist/chunks/cli-0.6.13-kqq5n5q3.mjs +0 -12
- package/dist/chunks/cli-0.6.13-kxjmrbfd.mjs +0 -3
- package/dist/chunks/cli-0.6.13-m4pb5k9v.mjs +0 -2
- package/dist/chunks/cli-0.6.13-me17wefv.mjs +0 -2
- package/dist/chunks/cli-0.6.13-mreqrsw2.mjs +0 -2
- package/dist/chunks/cli-0.6.13-mt7jkjdp.mjs +0 -39
- package/dist/chunks/cli-0.6.13-mxr0y1kd.mjs +0 -2
- package/dist/chunks/cli-0.6.13-n4qwe0a1.mjs +0 -2
- package/dist/chunks/cli-0.6.13-n67mrj2g.mjs +0 -15
- package/dist/chunks/cli-0.6.13-n9fz7y3a.mjs +0 -4
- package/dist/chunks/cli-0.6.13-nqd696hv.mjs +0 -2
- package/dist/chunks/cli-0.6.13-nvcr131g.mjs +0 -4
- package/dist/chunks/cli-0.6.13-p02kfjzd.mjs +0 -8
- package/dist/chunks/cli-0.6.13-p2k33k0d.mjs +0 -2
- package/dist/chunks/cli-0.6.13-p5xafpx4.mjs +0 -3
- package/dist/chunks/cli-0.6.13-pa4yv2ra.mjs +0 -2
- package/dist/chunks/cli-0.6.13-pbk4h5n3.mjs +0 -3
- package/dist/chunks/cli-0.6.13-pezf5r7h.mjs +0 -2
- package/dist/chunks/cli-0.6.13-pmwrb4jf.mjs +0 -2
- package/dist/chunks/cli-0.6.13-prh9py3z.mjs +0 -2
- package/dist/chunks/cli-0.6.13-pyh5s43x.mjs +0 -2
- package/dist/chunks/cli-0.6.13-q161snt1.mjs +0 -2
- package/dist/chunks/cli-0.6.13-q2ssb82w.mjs +0 -2
- package/dist/chunks/cli-0.6.13-q4spcjyn.mjs +0 -2
- package/dist/chunks/cli-0.6.13-q8qzja14.mjs +0 -2
- package/dist/chunks/cli-0.6.13-qbn7xx3z.mjs +0 -2
- package/dist/chunks/cli-0.6.13-qemvn3t7.mjs +0 -4
- package/dist/chunks/cli-0.6.13-qfh8s56n.mjs +0 -2
- package/dist/chunks/cli-0.6.13-qj9zpvjy.mjs +0 -2
- package/dist/chunks/cli-0.6.13-qtea9rcg.mjs +0 -2
- package/dist/chunks/cli-0.6.13-qyd73z97.mjs +0 -2
- package/dist/chunks/cli-0.6.13-r043ksv1.mjs +0 -1
- package/dist/chunks/cli-0.6.13-r1exgbp8.mjs +0 -4
- package/dist/chunks/cli-0.6.13-r2w3m6g9.mjs +0 -2
- package/dist/chunks/cli-0.6.13-r4z5mchw.mjs +0 -2
- package/dist/chunks/cli-0.6.13-r7gkf1df.mjs +0 -2
- package/dist/chunks/cli-0.6.13-rkm2drsy.mjs +0 -6
- package/dist/chunks/cli-0.6.13-s2vxndky.mjs +0 -2
- package/dist/chunks/cli-0.6.13-s3r638fw.mjs +0 -2
- package/dist/chunks/cli-0.6.13-s9rv2pr3.mjs +0 -4
- package/dist/chunks/cli-0.6.13-sa8gmxxv.mjs +0 -3
- package/dist/chunks/cli-0.6.13-t5bkdhfz.mjs +0 -2
- package/dist/chunks/cli-0.6.13-tbg0cceg.mjs +0 -15
- package/dist/chunks/cli-0.6.13-tecj2x0d.mjs +0 -2
- package/dist/chunks/cli-0.6.13-tfaydn5r.mjs +0 -2
- package/dist/chunks/cli-0.6.13-tj2kvtza.mjs +0 -2
- package/dist/chunks/cli-0.6.13-tss2yk53.mjs +0 -2
- package/dist/chunks/cli-0.6.13-tvy6tmhe.mjs +0 -2
- package/dist/chunks/cli-0.6.13-tyd40vcz.mjs +0 -2
- package/dist/chunks/cli-0.6.13-tzsj5e1c.mjs +0 -17
- package/dist/chunks/cli-0.6.13-v05nfcar.mjs +0 -2
- package/dist/chunks/cli-0.6.13-v160yjcc.mjs +0 -2
- package/dist/chunks/cli-0.6.13-v2vt3snq.mjs +0 -2
- package/dist/chunks/cli-0.6.13-v7kg9gbp.mjs +0 -2
- package/dist/chunks/cli-0.6.13-v824ppa4.mjs +0 -3
- package/dist/chunks/cli-0.6.13-v83qp6b0.mjs +0 -2
- package/dist/chunks/cli-0.6.13-v8ksdm64.mjs +0 -2
- package/dist/chunks/cli-0.6.13-vkbwqnxx.mjs +0 -2
- package/dist/chunks/cli-0.6.13-vv2qqj0d.mjs +0 -2
- package/dist/chunks/cli-0.6.13-vxq8z40t.mjs +0 -2
- package/dist/chunks/cli-0.6.13-w039mymy.mjs +0 -2
- package/dist/chunks/cli-0.6.13-w0qrn825.mjs +0 -2
- package/dist/chunks/cli-0.6.13-w1jqswyq.mjs +0 -2
- package/dist/chunks/cli-0.6.13-w91d8mwx.mjs +0 -2
- package/dist/chunks/cli-0.6.13-waf5mvv3.mjs +0 -5
- package/dist/chunks/cli-0.6.13-wer1zp9j.mjs +0 -20
- package/dist/chunks/cli-0.6.13-wtc8585b.mjs +0 -2
- package/dist/chunks/cli-0.6.13-x28t8s6n.mjs +0 -2
- package/dist/chunks/cli-0.6.13-xc81kqm2.mjs +0 -2
- package/dist/chunks/cli-0.6.13-xdedyafk.mjs +0 -12
- package/dist/chunks/cli-0.6.13-xf37gba3.mjs +0 -21
- package/dist/chunks/cli-0.6.13-xkw3qe38.mjs +0 -2
- package/dist/chunks/cli-0.6.13-xpjrhgmy.mjs +0 -2
- package/dist/chunks/cli-0.6.13-y1j0jnkt.mjs +0 -2
- package/dist/chunks/cli-0.6.13-y20earfr.mjs +0 -2
- package/dist/chunks/cli-0.6.13-y4v6kta5.mjs +0 -2
- package/dist/chunks/cli-0.6.13-y6xnb20z.mjs +0 -28
- package/dist/chunks/cli-0.6.13-y8bhbkcr.mjs +0 -2
- package/dist/chunks/cli-0.6.13-yamxpaqw.mjs +0 -67
- package/dist/chunks/cli-0.6.13-ykg1yrfj.mjs +0 -2
- package/dist/chunks/cli-0.6.13-yrjy4at4.mjs +0 -2
- package/dist/chunks/cli-0.6.13-ytn0a18c.mjs +0 -2
- package/dist/chunks/cli-0.6.13-ywdbvmgd.mjs +0 -2
- package/dist/chunks/cli-0.6.13-z8s5yfv6.mjs +0 -9
- package/dist/chunks/cli-0.6.13-zcy8dsbx.mjs +0 -25
- package/dist/chunks/cli-0.6.13-zd9jp62z.mjs +0 -15
- package/dist/chunks/cli-0.6.13-ze0ah657.mjs +0 -4
- package/dist/chunks/cli-0.6.13-zktd03aq.mjs +0 -2
- package/dist/chunks/cli-0.6.13-zw3t7bxg.mjs +0 -2
- package/dist/chunks/client-0.6.13-apag8p3w.mjs +0 -1
- package/dist/chunks/color-0.6.13-m7e3xes9.mjs +0 -1
- package/dist/chunks/compact-0.6.13-064k380y.mjs +0 -3
- package/dist/chunks/config-0.6.13-2gskfa7r.mjs +0 -1
- package/dist/chunks/config-0.6.13-m7tbch3j.mjs +0 -1
- package/dist/chunks/constants-0.6.13-bq183whd.mjs +0 -1
- package/dist/chunks/context-0.6.13-4jm66js8.mjs +0 -1
- package/dist/chunks/context-noninteractive-0.6.13-2c2pa7c4.mjs +0 -1
- package/dist/chunks/conversation-0.6.13-gb8qd0a6.mjs +0 -1
- package/dist/chunks/copilotHeaders-0.6.13-sdz00vtr.mjs +0 -1
- package/dist/chunks/copy-0.6.13-11ksdws3.mjs +0 -9
- package/dist/chunks/cost-0.6.13-ht9hjse5.mjs +0 -1
- package/dist/chunks/createSSHSession-0.6.13-9nj8wxrq.mjs +0 -1
- package/dist/chunks/createSession-0.6.13-zx0ak0ar.mjs +0 -1
- package/dist/chunks/debug-0.6.13-1b2b2vfp.mjs +0 -1
- package/dist/chunks/defaultActionDeps-0.6.13-4ypccnwe.mjs +0 -1367
- package/dist/chunks/desktop-0.6.13-5jae65dg.mjs +0 -1
- package/dist/chunks/detectRepository-0.6.13-e3va8684.mjs +0 -1
- package/dist/chunks/detection-0.6.13-5kdd4ryt.mjs +0 -1
- package/dist/chunks/diff-0.6.13-3qr723e3.mjs +0 -1
- package/dist/chunks/doctor-0.6.13-ykby6vex.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-0.6.13-m5tnyxr2.mjs +0 -1
- package/dist/chunks/earlyInput-0.6.13-e90ax06h.mjs +0 -1
- package/dist/chunks/effort-0.6.13-tqkv5tt7.mjs +0 -10
- package/dist/chunks/envLessBridgeConfig-0.6.13-m8pp5emf.mjs +0 -1
- package/dist/chunks/envUtils-0.6.13-6q29pewb.mjs +0 -1
- package/dist/chunks/environmentSelection-0.6.13-ajfa3pm0.mjs +0 -1
- package/dist/chunks/environments-0.6.13-gpjjpygt.mjs +0 -1
- package/dist/chunks/errors-0.6.13-amqhpv1w.mjs +0 -1
- package/dist/chunks/exampleCommands-0.6.13-yscjfr02.mjs +0 -1
- package/dist/chunks/exit-0.6.13-aex1mh9r.mjs +0 -1
- package/dist/chunks/explorer-0.6.13-g670396m.mjs +0 -1
- package/dist/chunks/export-0.6.13-zytxcpn5.mjs +0 -2
- package/dist/chunks/extra-usage-0.6.13-js9s3mpg.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-0.6.13-1y21hfpz.mjs +0 -1
- package/dist/chunks/fast-0.6.13-eqx76m6v.mjs +0 -1
- package/dist/chunks/feedback-0.6.13-b2yh5zgv.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-0.6.13-29x54d6r.mjs +0 -1
- package/dist/chunks/git-0.6.13-r45r70q4.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-0.6.13-3saqxp80.mjs +0 -1
- package/dist/chunks/goal-0.6.13-jm5f9y8r.mjs +0 -4
- package/dist/chunks/grove-0.6.13-9vr9ry8t.mjs +0 -1
- package/dist/chunks/growthbook-0.6.13-r6367yym.mjs +0 -1
- package/dist/chunks/headless-0.6.13-gfageb5h.mjs +0 -2
- package/dist/chunks/heapdump-0.6.13-m8g832m5.mjs +0 -6
- package/dist/chunks/help-0.6.13-781b4zzf.mjs +0 -1
- package/dist/chunks/hookChains-0.6.13-ztaa33k2.mjs +0 -3
- package/dist/chunks/hooks-0.6.13-2vp3h6tg.mjs +0 -1
- package/dist/chunks/hooks-0.6.13-ma0g96bd.mjs +0 -79
- package/dist/chunks/ide-0.6.13-ev74eqfz.mjs +0 -3
- package/dist/chunks/image-processor-napi-0.6.13-1yfk6729.mjs +0 -1
- package/dist/chunks/inboundAttachments-0.6.13-15y4n0ap.mjs +0 -1
- package/dist/chunks/index-0.6.13-22g8yp33.mjs +0 -1
- package/dist/chunks/index-0.6.13-3d9rd6ba.mjs +0 -1
- package/dist/chunks/index-0.6.13-3yrze12y.mjs +0 -2
- package/dist/chunks/index-0.6.13-4mx71hjt.mjs +0 -2
- package/dist/chunks/index-0.6.13-68g8rnf9.mjs +0 -1
- package/dist/chunks/index-0.6.13-6t8yz88d.mjs +0 -1
- package/dist/chunks/index-0.6.13-af1dgcmj.mjs +0 -1
- package/dist/chunks/index-0.6.13-afmvxwx2.mjs +0 -1
- package/dist/chunks/index-0.6.13-by0wfak3.mjs +0 -9
- package/dist/chunks/index-0.6.13-cx9jy8c2.mjs +0 -1
- package/dist/chunks/index-0.6.13-fd4kgsd2.mjs +0 -1
- package/dist/chunks/index-0.6.13-jte6phkv.mjs +0 -1
- package/dist/chunks/index-0.6.13-m632g3gy.mjs +0 -1
- package/dist/chunks/index-0.6.13-mwpm4arf.mjs +0 -5
- package/dist/chunks/index-0.6.13-nwvcwdkk.mjs +0 -30
- package/dist/chunks/index-0.6.13-nwy6gtkk.mjs +0 -1
- package/dist/chunks/index-0.6.13-ptnyngf8.mjs +0 -1
- package/dist/chunks/index-0.6.13-q3shbg14.mjs +0 -1
- package/dist/chunks/index-0.6.13-qbgadtxv.mjs +0 -1
- package/dist/chunks/index-0.6.13-sv4q66cp.mjs +0 -1
- package/dist/chunks/index-0.6.13-waxz0ekk.mjs +0 -1
- package/dist/chunks/index-0.6.13-why7ggz3.mjs +0 -9
- package/dist/chunks/index-0.6.13-y16k48ab.mjs +0 -1
- package/dist/chunks/init-0.6.13-4hnytb22.mjs +0 -1
- package/dist/chunks/initReplBridge-0.6.13-7zgngybp.mjs +0 -1
- package/dist/chunks/ink-0.6.13-tzqbb17q.mjs +0 -1
- package/dist/chunks/insights-0.6.13-jydg844c.mjs +0 -870
- package/dist/chunks/install-0.6.13-n2sd9y79.mjs +0 -1
- package/dist/chunks/install-github-app-0.6.13-e0f07703.mjs +0 -149
- package/dist/chunks/install-slack-app-0.6.13-bf4yjq6t.mjs +0 -1
- package/dist/chunks/instrumentation-0.6.13-adfxdg5f.mjs +0 -1
- package/dist/chunks/interactiveHelpers-0.6.13-xp328y9v.mjs +0 -1
- package/dist/chunks/keybindings-0.6.13-ktc3mjr7.mjs +0 -2
- package/dist/chunks/knowledge-0.6.13-187esqxd.mjs +0 -2
- package/dist/chunks/latestVersionCache-0.6.13-m4bhcjqa.mjs +0 -1
- package/dist/chunks/loadAgentsDir-0.6.13-6zpt11ke.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.13-828skfe0.mjs +0 -1
- package/dist/chunks/loadPluginHooks-0.6.13-aft854e2.mjs +0 -1
- package/dist/chunks/log-0.6.13-k8w72xt1.mjs +0 -1
- package/dist/chunks/main-0.6.13-g9fjc6sv.mjs +0 -1
- package/dist/chunks/managedEnv-0.6.13-gqrx16t7.mjs +0 -1
- package/dist/chunks/mcp-0.6.13-dyg98wmq.mjs +0 -1
- package/dist/chunks/mcp-0.6.13-mzkm1215.mjs +0 -4
- package/dist/chunks/mcp-0.6.13-zkt6y77x.mjs +0 -17
- package/dist/chunks/mcpb-0.6.13-dre8w2ra.mjs +0 -1
- package/dist/chunks/memory-0.6.13-atsckryz.mjs +0 -3
- package/dist/chunks/model-0.6.13-0atttv57.mjs +0 -1
- package/dist/chunks/model-0.6.13-2jvx0cgc.mjs +0 -2
- package/dist/chunks/node-0.6.13-x2bbeer9.mjs +0 -12
- package/dist/chunks/oauth-0.6.13-57mmwqmy.mjs +0 -1
- package/dist/chunks/openaiShim-0.6.13-yb751f6g.mjs +0 -14
- package/dist/chunks/output-style-0.6.13-m28me769.mjs +0 -1
- package/dist/chunks/package-FMOR3ELU-0.6.13-dfhez176.mjs +0 -1
- package/dist/chunks/parseConnectUrl-0.6.13-6ckj0vmf.mjs +0 -1
- package/dist/chunks/parser-0.6.13-cmp0vgjm.mjs +0 -1
- package/dist/chunks/passes-0.6.13-q60h610m.mjs +0 -1
- package/dist/chunks/permissions-0.6.13-9cf5bca2.mjs +0 -3
- package/dist/chunks/permissions-0.6.13-nqms1fh9.mjs +0 -1
- package/dist/chunks/plan-0.6.13-jnph14bx.mjs +0 -1
- package/dist/chunks/plist-0.6.13-fwm9pvp5.mjs +0 -1
- package/dist/chunks/plugin-0.6.13-4hpbymfw.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-0.6.13-yftpxhh1.mjs +0 -1
- package/dist/chunks/plugins-0.6.13-jkptkxsv.mjs +0 -9
- package/dist/chunks/preActionHook-0.6.13-jxg6wxk8.mjs +0 -2
- package/dist/chunks/print-0.6.13-7cpe5d4z.mjs +0 -57
- package/dist/chunks/privacy-settings-0.6.13-5a5rxfdv.mjs +0 -1
- package/dist/chunks/process-0.6.13-38dsvzca.mjs +0 -1
- package/dist/chunks/processBashCommand-0.6.13-2hx0q8zw.mjs +0 -1
- package/dist/chunks/processSlashCommand-0.6.13-5r7afr4g.mjs +0 -9
- package/dist/chunks/prompt-0.6.13-pafq1qab.mjs +0 -1
- package/dist/chunks/prompt-0.6.13-y81g0m1b.mjs +0 -1
- package/dist/chunks/prompts-0.6.13-702ak30b.mjs +0 -1
- package/dist/chunks/protocolHandler-0.6.13-t8f8haqj.mjs +0 -13
- package/dist/chunks/provider-0.6.13-2sx115qq.mjs +0 -2
- package/dist/chunks/providerProfiles-0.6.13-f8x8hr6k.mjs +0 -1
- package/dist/chunks/providerValidation-0.6.13-tf07v3tj.mjs +0 -6
- package/dist/chunks/rate-limit-options-0.6.13-aensbess.mjs +0 -1
- package/dist/chunks/registerSubcommands-0.6.13-656h79d4.mjs +0 -34
- package/dist/chunks/registry-0.6.13-pstf339a.mjs +0 -1
- package/dist/chunks/release-notes-0.6.13-hrppyszt.mjs +0 -5
- package/dist/chunks/reload-plugins-0.6.13-je6wrn33.mjs +0 -2
- package/dist/chunks/remote-env-0.6.13-z246d03z.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-0.6.13-ynnqhw07.mjs +0 -1
- package/dist/chunks/remoteSession-0.6.13-mv8v6s9c.mjs +0 -1
- package/dist/chunks/rename-0.6.13-xpt0c85z.mjs +0 -1
- package/dist/chunks/replBridgeHandle-0.6.13-rrpbzf13.mjs +0 -1
- package/dist/chunks/replLauncher-0.6.13-waeszqvx.mjs +0 -1
- package/dist/chunks/resume-0.6.13-sr7y57a2.mjs +0 -2
- package/dist/chunks/rewind-0.6.13-8czd98jc.mjs +0 -1
- package/dist/chunks/rootOptions-0.6.13-9h4cq5pq.mjs +0 -1
- package/dist/chunks/sandbox-adapter-0.6.13-hs1rvj4e.mjs +0 -1
- package/dist/chunks/sandbox-toggle-0.6.13-8j9r0wf9.mjs +0 -1
- package/dist/chunks/session-0.6.13-83jr96cj.mjs +0 -2
- package/dist/chunks/sessionDiscovery-0.6.13-wvzp1v01.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-0.6.13-4fkbba35.mjs +0 -1
- package/dist/chunks/sessionStorage-0.6.13-rswa4zsd.mjs +0 -1
- package/dist/chunks/settings-0.6.13-6t3fk1ch.mjs +0 -1
- package/dist/chunks/setup-0.6.13-q8jrvatq.mjs +0 -5
- package/dist/chunks/sinks-0.6.13-zatt5gaw.mjs +0 -1
- package/dist/chunks/skills-0.6.13-3c0whjxb.mjs +0 -1
- package/dist/chunks/startupProfiler-0.6.13-cphqp37f.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-0.6.13-hstp7str.mjs +0 -1
- package/dist/chunks/state-0.6.13-257cjw4h.mjs +0 -1
- package/dist/chunks/stats-0.6.13-cg0xacnc.mjs +0 -6
- package/dist/chunks/status-0.6.13-cefspgtr.mjs +0 -1
- package/dist/chunks/stickers-0.6.13-6e4t4ej1.mjs +0 -1
- package/dist/chunks/subprocessEnv-0.6.13-am2fa4tp.mjs +0 -1
- package/dist/chunks/tasks-0.6.13-2v9gfhwe.mjs +0 -1
- package/dist/chunks/teamHelpers-0.6.13-nesaxh5h.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-0.6.13-s8fahdkf.mjs +0 -1
- package/dist/chunks/teleport-0.6.13-15chrxd3.mjs +0 -1
- package/dist/chunks/terminalSetup-0.6.13-45tchntj.mjs +0 -1
- package/dist/chunks/theme-0.6.13-xzb35tqq.mjs +0 -1
- package/dist/chunks/thinkback-0.6.13-t9v5q33p.mjs +0 -1
- package/dist/chunks/thinkback-play-0.6.13-3zft02zv.mjs +0 -1
- package/dist/chunks/toolPool-0.6.13-v9s7e0g9.mjs +0 -1
- package/dist/chunks/toolSearch-0.6.13-yx9rjn17.mjs +0 -1
- package/dist/chunks/tools-0.6.13-heefxcxe.mjs +0 -1
- package/dist/chunks/trustedDevice-0.6.13-x08npyhs.mjs +0 -1
- package/dist/chunks/turndown.cjs-0.6.13-tqfk5xkj.mjs +0 -69
- package/dist/chunks/types-0.6.13-26eegce9.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-0.6.13-pg8b86h2.mjs +0 -4
- package/dist/chunks/update-0.6.13-tj94pp6r.mjs +0 -86
- package/dist/chunks/upgrade-0.6.13-3qy3gqyq.mjs +0 -1
- package/dist/chunks/upload-0.6.13-jgydpvy4.mjs +0 -7
- package/dist/chunks/upstreamproxy-0.6.13-3jmepw2f.mjs +0 -14
- package/dist/chunks/url-handler-napi-0.6.13-cqr9xp6y.mjs +0 -1
- package/dist/chunks/usage-0.6.13-whrgny68.mjs +0 -1
- package/dist/chunks/util-0.6.13-dcwcf9pm.mjs +0 -1
- package/dist/chunks/utils-0.6.13-jybbphy0.mjs +0 -1
- package/dist/chunks/vim-0.6.13-rt1g3nw1.mjs +0 -1
- package/dist/chunks/watcher-0.6.13-jr5jxn5j.mjs +0 -1
- package/dist/chunks/wiki-0.6.13-pt6cr77j.mjs +0 -132
- package/dist/chunks/worktree-0.6.13-efnvp677.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-0.6.13-zdfe46d8.mjs +0 -1
- package/dist/chunks/wrapper-0.6.13-w672jy5j.mjs +0 -7
- /package/dist/chunks/{cli-0.6.13-s9yqkgwe.mjs → cli-0.7.0-59h7jbfm.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.13-e3h2z83b.mjs → cli-0.7.0-5vszg5ys.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.13-tsz6mx5f.mjs → cli-0.7.0-76wj8x34.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.13-rmzzvjt2.mjs → cli-0.7.0-brqbb2d5.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.13-p839x5sj.mjs → cli-0.7.0-jt2afswt.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.13-h2yxttam.mjs → cli-0.7.0-m9eza7ry.mjs} +0 -0
- /package/dist/chunks/{cli-0.6.13-1dwgndg5.mjs → cli-0.7.0-z555y4ap.mjs} +0 -0
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import{qc as Kc,rc as da}from"./cli-0.7.0-d5bt2ahd.mjs";import{sc as An,tc as Ht,uc as Xt,vc as Zc,xc as ea}from"./cli-0.7.0-k3qqc7gx.mjs";import{Bc as ma,yc as wt}from"./cli-0.7.0-rmprwgax.mjs";import{Ap as mn,Bp as Uu,Cp as Lc,Ep as zc,Fp as Nc,Hp as fc,OF as nc,PF as Gu,QF as cc,RF as uc,SF as ac,TF as Vu,Yp as Mc,Zp as aa,ly as Gc,mH as Hn,my as Vc,nF as yt,nH as Au,ny as Yc,oF as Kn,oy as Jc,pH as la,py as ra,qH as oa,tp as yc,up as Wu,vp as Cc,wp as bc,wv as Qc,xF as V,xp as wc,yF as gu,yp as Oc,yv as ha,zF as ia,zp as D}from"./cli-0.7.0-7g132rdj.mjs";import{PW as v,RW as ca,bX as Fc,cX as ua}from"./cli-0.7.0-a7rry8ha.mjs";import{RZ as Ln,kZ as g,mZ as i}from"./cli-0.7.0-p9q4x3f1.mjs";import{U0 as Nn,V0 as Mn,W0 as Qn,X0 as Gn,Y0 as Vn,Z0 as su,a1 as Yn,e1 as Jn,f1 as $c,g1 as Zn}from"./cli-0.7.0-vzvrhx5c.mjs";import{W1 as dt,X1 as u,Y1 as y,Z1 as Qt}from"./cli-0.7.0-wgy69726.mjs";import{_1 as Vt}from"./cli-0.7.0-asw5nd1q.mjs";import{v2 as lc,w2 as Hu}from"./cli-0.7.0-kw554ntj.mjs";import{M2 as $n,O2 as Ou}from"./cli-0.7.0-9jzkqcfv.mjs";import{$ca as ft,Ada as tc,Bda as Qu,Cda as On,Dda as rc,Eda as sn,Gda as ic,Ida as Sc,Jda as gn,Sca as qc,Tca as bt,Uca as ta,Vca as Tt,Wca as nt,Xda as na,Yca as W,Zca as Kt,ada as Cn,bda as ct,cda as At,f8 as Ct,g8 as vu,gda as Rt,hda as bn,jda as wn,nda as Fn,sda as hn,tda as xn,uda as jn,vda as Yt,wda as rn,xda as Dn,yda as an,zda as vn}from"./cli-0.7.0-h6kfhzzd.mjs";import{Fia as ut,Nia as on}from"./cli-0.7.0-na9s209m.mjs";import{Vpa as Gt,Wpa as Du,Zpa as j}from"./cli-0.7.0-8p56ked8.mjs";function zu(t,c=tn,a){let r=nt().find((m)=>m.provider==="openai"&&m.extras?.githubToken!==void 0);if(r)return At(r.id,{provider:"openai",name:r.name,baseUrl:a||r.baseUrl,model:r.model||c,apiKey:t,extras:{...r.extras,githubToken:t}}),Rt(r.id),{mode:"updated"};return ct({provider:"openai",name:"GitHub Copilot",baseUrl:a||Ru,model:c,apiKey:t,extras:{githubToken:t}},{makeActive:!0}),{mode:"created"}}function Tn({onDone:t,onBack:c,onChangeAPIKey:a}){let r=Yn()?.trim()?"already-authed":"menu",[m,e]=E.useState(r),[A,O]=E.useState(null),[X,w]=E.useState(""),[z,S]=E.useState(0),[L,Z]=E.useState(null),N=E.useCallback(async(Y,q=tn,tt,f)=>{let T=Jn(Y,tt,f?.enterpriseDomain);if(!T.success){O(T.warning??"Could not save token to secure storage."),e("error");return}zu(Y,q,f?.baseUrl),$n(),a?.(),t("GitHub Copilot onboard complete. Copilot token stored in secure storage and as the active /provider profile.",{display:"user"})},[a,t]),C=E.useCallback(async(Y)=>{e("device-busy"),O(null),Z(null);try{let q=await Mn({domain:Y});Z({user_code:q.user_code,verification_uri:q.verification_uri}),await Gn(q.verification_uri);let tt=await Qn(q.device_code,{initialInterval:q.interval,timeoutSeconds:q.expires_in,domain:Y}),f=await Vn(tt,{domain:Y});await N(f.token,tn,tt,{baseUrl:f.endpoints.api?.replace(/\/+$/,"")||void 0,enterpriseDomain:Y})}catch(q){O(q instanceof Error?q.message:String(q)),e("error")}},[N]);if(m==="already-authed")return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Copilot"}),u(i,{children:"You are already signed in to GitHub Copilot."}),u(i,{dimColor:!0,children:'Choose "Sign in again" to refresh your token, or go back to the provider menu.'}),u(V,{options:[{label:"Sign in again",value:"sign-in-again"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:c?"Back to /provider menu":"Cancel",value:"back"}],onChange:(q)=>{if(q==="sign-in-again"){C();return}if(q==="enterprise"){e("enterprise-domain");return}if(c){c();return}t("GitHub onboard cancelled",{display:"system"})}})]});if(m==="enterprise-domain")return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Enterprise sign-in"}),u(i,{dimColor:!0,children:"Enter your GitHub Enterprise domain (e.g. github.acme.com). Leave empty for github.com."}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:">"}),u(yt,{value:X,onChange:w,onSubmit:()=>{let q=Nn(X);if(!q){C();return}C(q)},onExit:()=>e(r),focus:!0,showCursor:!0,placeholder:"github.acme.com",columns:80,cursorOffset:z,onChangeCursorOffset:S})]}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]});if(m==="error"&&A)return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"red",children:A}),u(V,{options:[{label:c?"Back to /provider menu":"Back to menu",value:"back"},{label:"Exit",value:"exit"}],onChange:(q)=>{if(q==="back"){if(c){c();return}e("menu"),O(null);return}t("GitHub onboard cancelled",{display:"system"})}})]});if(m==="device-busy")return y(g,{flexDirection:"column",gap:1,children:[u(i,{children:"GitHub Copilot sign-in"}),L?y(dt,{children:[y(i,{children:["Enter code ",u(i,{bold:!0,children:L.user_code})," at"," ",L.verification_uri]}),u(i,{dimColor:!0,children:"A browser window may have opened. Waiting for authorization..."})]}):u(i,{dimColor:!0,children:"Requesting device code from GitHub..."}),u(Hn,{})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{bold:!0,children:"GitHub Copilot setup"}),u(i,{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."}),u(V,{options:[{label:"Sign in with browser",value:"device"},{label:"Sign in with GitHub Enterprise",value:"enterprise"},{label:c?"Back to /provider menu":"Cancel",value:"cancel"}],onChange:(Y)=>{if(Y==="cancel"){if(c){c();return}t("GitHub onboard cancelled",{display:"system"});return}if(Y==="enterprise"){e("enterprise-domain");return}C()}})]})}var E,tn="github:copilot",Ru="https://api.githubcopilot.com";var Wn=j(()=>{gu();Au();Kn();Ln();su();Zn();Ou();Fn();Qt();E=Gt(Vt(),1)});function En(t){return[t.name,t.family??"",...t.families??[],t.parameterSize??"",t.quantizationLevel??""].join(" ").toLowerCase()}function zt(t,c){return c.some((a)=>t.includes(a))}function _u(t){return!zt(En(t),Un)}function qu(t){return t.find(_u)??null}function nn(t){let a=`${t.parameterSize??""} ${t.name}`.toLowerCase().match(/(\d+(?:\.\d+)?)\s*b\b/);if(a?.[1])return Number(a[1]);if(typeof t.sizeBytes==="number"&&t.sizeBytes>0)return Number((t.sizeBytes/1e9).toFixed(1));return null}function Su(t){return(t.quantizationLevel??t.name).toLowerCase()}function Fu(t,c,a){if(t===null)return a.push("unknown size"),0;if(c==="latency"){if(t<=4)return a.push("tiny model for low latency"),32;if(t<=8)return a.push("small model for fast responses"),26;if(t<=14)return a.push("mid-sized model with acceptable latency"),16;if(t<=24)return a.push("larger model may be slower"),8;return a.push("large model likely slower locally"),t<=40?0:-8}if(c==="coding"){if(t>=7&&t<=14)return a.push("strong coding size tier"),24;if(t>14&&t<=34)return a.push("large coding-capable size tier"),28;if(t>34)return a.push("very large model with higher quality potential"),18;return a.push("compact model may trade off coding depth"),12}if(t>=7&&t<=14)return a.push("great balanced size tier"),26;if(t>=3&&t<7)return a.push("compact balanced size tier"),18;if(t>14&&t<=24)return a.push("high quality balanced size tier"),20;if(t>24)return a.push("large model for quality-first usage"),10;return a.push("very small model for general usage"),8}function $u(t,c,a){let r=Su(t);if(r.includes("q4"))return a.push("efficient Q4 quantization"),c==="latency"?8:4;if(r.includes("q5"))return a.push("balanced Q5 quantization"),c==="latency"?6:5;if(r.includes("q8"))return a.push("higher quality Q8 quantization"),c==="latency"?2:5;return 0}function Lu(t,c,a){if(c.score!==t.score)return c.score-t.score;let r=nn(t)??Number.POSITIVE_INFINITY,m=nn(c)??Number.POSITIVE_INFINITY;if(a==="latency")return r-m;if(a==="coding")return m-r;let e=14;return Math.abs(r-e)-Math.abs(m-e)}function cn(t,c){return t.map((a)=>{let r=En(a),m=[],e=0;if(zt(r,Un))e-=40,m.push("not a chat-first model");if(zt(r,fu))e+=c==="coding"?24:c==="balanced"?10:4,m.push("coding-oriented model family");if(zt(r,Xu))e+=c==="latency"?4:c==="coding"?6:8,m.push("strong general-purpose model family");if(zt(r,ku))e+=c==="latency"?2:6,m.push("chat/instruct tuned");if(r.includes("vision")||r.includes("vl"))e-=2,m.push("vision model adds extra overhead");e+=Fu(nn(a),c,m),e+=$u(a,c,m);let A=m.slice(0,3).join(", ");return{...a,score:e,reasons:m,summary:A}}).sort((a,r)=>Lu(a,r,c))}function Pn(t,c){return qu(cn(t,c))}var fu,Xu,ku,Un;var Bn=j(()=>{fu=["coder","codellama","codegemma","codestral","devstral","starcoder","deepseek-coder","qwen2.5-coder","qwen-coder"],Xu=["llama","qwen","mistral","gemma","phi","deepseek"],ku=["instruct","chat","assistant"],Un=["embed","embedding","rerank","bge","whisper"]});function Mu(t){let c=t.toLowerCase();return Nu.some((a)=>c.includes(a))}function un(t){try{let c=new URL(t);if(c.username)c.username="redacted";if(c.password)c.password="redacted";for(let a of c.searchParams.keys())if(Mu(a))c.searchParams.set(a,"redacted");return c.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 Nu;var In=j(()=>{Nu=["api_key","apikey","key","token","access_token","refresh_token","signature","sig","secret","password","passwd","pwd","auth","authorization"]});function Yu(t){let c=`http://localhost:${t.port}/auth/callback`,a=new URL(`${hn}/oauth/authorize`);return a.searchParams.append("response_type","code"),a.searchParams.append("client_id",rn()),a.searchParams.append("redirect_uri",c),a.searchParams.append("scope",xn),a.searchParams.append("code_challenge",t.codeChallenge),a.searchParams.append("code_challenge_method","S256"),a.searchParams.append("id_token_add_organizations","true"),a.searchParams.append("codex_cli_simplified_flow","true"),a.searchParams.append("state",t.state),a.searchParams.append("originator",jn),a.toString()}function Ju(){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 Zu(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>${vn(t)}</p>
|
|
31
|
+
<p>You can close this window and try again in Claudin.</p>
|
|
32
|
+
</body>
|
|
33
|
+
</html>`}function pn(){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 Ku(t){let c=`http://localhost:${t.port}/auth/callback`,a=new URLSearchParams({grant_type:"authorization_code",code:t.authorizationCode,redirect_uri:c,client_id:rn(),code_verifier:t.codeVerifier}),r=await fetch(`${hn}/oauth/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:a,signal:t.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000)});if(!r.ok){let w=await r.text().catch(()=>"");throw Error(w.trim()?`Codex OAuth token exchange failed (${r.status}): ${w.trim()}`:`Codex OAuth token exchange failed with status ${r.status}.`)}let m=await r.json(),e=Yt(m.access_token),A=Yt(m.refresh_token);if(!e||!A)throw Error("Codex OAuth completed, but the token response was missing credentials.");let O=Yt(m.id_token);return{apiKey:O?await tc(O).catch(()=>{return}):void 0,accessToken:e,refreshToken:A,idToken:O,accountId:an(O)??an(e)}}class ln{authCodeListener=null;port=null;tokenExchangeAbortController=null;buildCancellationError(){return Error("Codex OAuth flow was cancelled.")}async startOAuthFlow(t){let c=cc(),a=Dn(),r=new nc("/auth/callback");this.authCodeListener=r,this.port=null;try{let m=await r.start(a);this.port=m;let e=ac(),A=await uc(c),O=Yu({port:m,codeChallenge:A,state:e});try{let X=await r.waitForAuthorization(e,async()=>{await t(O)}),w=new AbortController;this.tokenExchangeAbortController=w;let z;try{z=await Ku({authorizationCode:X,codeVerifier:c,port:m,signal:w.signal})}finally{if(this.tokenExchangeAbortController===w)this.tokenExchangeAbortController=null}if(this.authCodeListener!==r)throw this.buildCancellationError();return r.handleSuccessRedirect([],(S)=>{S.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),S.end(Ju())}),z}catch(X){let w=this.authCodeListener===r?X:this.buildCancellationError();if(r.hasPendingResponse()){let z=w instanceof Error&&w.message==="Codex OAuth flow was cancelled.";r.handleErrorRedirect((S)=>{S.writeHead(z?200:400,{"Content-Type":"text/html; charset=utf-8"}),S.end(z?pn():Zu(w instanceof Error?w.message:String(w)))})}throw w}finally{this.cleanup()}}catch(m){let e=m instanceof Error?m.message:String(m);if(e.includes("EADDRINUSE")||e.includes(String(a)))throw Error(`Codex OAuth needs localhost:${a} for its callback. Close any app already using that port and try again.`);throw m}}cleanup(){let t=this.buildCancellationError();if(this.tokenExchangeAbortController?.abort(t),this.tokenExchangeAbortController=null,this.authCodeListener?.hasPendingResponse())this.authCodeListener.handleErrorRedirect((c)=>{c.writeHead(200,{"Content-Type":"text/html; charset=utf-8"}),c.end(pn())});this.authCodeListener?.cancelPendingAuthorization(t),this.authCodeListener=null,this.port=null}}var hc=j(()=>{Gu();Vu();Qu()});function Tu(){return new ln}function oc(t){let{onAuthenticated:c}=t,a=t.deps?.createOAuthService??Tu,r=t.deps?.openBrowser??lc,m=t.deps?.saveCodexCredentials??rc,e=t.deps?.isBareMode??ut,[A,O]=Jt.useState({state:"starting"});return Jt.useEffect(()=>{if(e()){O({state:"error",message:"Codex OAuth is unavailable in --bare because secure storage is disabled."});return}let X=!1,w=a();return w.startOAuthFlow(async(z)=>{if(X)return;O({state:"waiting",authUrl:z,browserOpened:null});let S=await r(z);if(X)return;O({state:"waiting",authUrl:z,browserOpened:S})}).then(async(z)=>{if(X)return;await c(z,(L)=>{let Z=m({apiKey:z.apiKey,accessToken:z.accessToken,refreshToken:z.refreshToken,idToken:z.idToken,accountId:z.accountId,profileId:L?.profileId});if(!Z.success)throw Error(Z.warning??"Codex OAuth succeeded, but credentials could not be saved securely.")})}).catch((z)=>{if(X)return;O({state:"error",message:z instanceof Error?z.message:String(z)})}),()=>{X=!0,w.cleanup()}},[a,e,c,r,m]),A}var Jt;var mc=j(()=>{hc();Hu();ic();on();Jt=Gt(Vt(),1)});function Ac(){return{"Content-Type":"application/x-www-form-urlencoded",Accept:"application/json","User-Agent":yc()}}function dc(t,c){let a=Number(t);return Number.isFinite(a)&&a>0?a*1000:c}function Iu(t,c){if(c?.aborted)return Promise.resolve();return new Promise((a)=>{let r=setTimeout(()=>{c?.removeEventListener("abort",m),a()},t),m=()=>{clearTimeout(r),a()};c?.addEventListener("abort",m,{once:!0})})}async function pu(t){let c=t?.fetchImpl??fetch,a=t?.signal?AbortSignal.any([t.signal,AbortSignal.timeout(15000)]):AbortSignal.timeout(15000),r=await c(bc,{method:"POST",headers:Ac(),body:new URLSearchParams({client_id:mn(),scope:Oc}).toString(),signal:a});if(!r.ok){let X=await r.text().catch(()=>"");throw Error(`xAI device code request failed (${r.status})${X?`: ${X.trim()}`:""}`)}let m=await r.json(),e=D(m.device_code),A=D(m.user_code),O=D(m.verification_uri);if(!e||!A||!O)throw Error("xAI device code response is missing device_code / user_code / verification_uri.");return{device_code:e,user_code:A,verification_uri:O,verification_uri_complete:D(m.verification_uri_complete),expires_in:typeof m.expires_in==="number"&&m.expires_in>0?m.expires_in:gc/1000,interval:typeof m.interval==="number"&&m.interval>0?m.interval:sc/1000}}async function xu(t,c){let a=c?.fetchImpl??fetch,r=c?.sleep??Iu,m=c?.now??(()=>Date.now()),e=dc(t.expires_in,gc),A=m()+e,O=Math.max(dc(t.interval,sc),Eu);while(m()<A){if(c?.signal?.aborted)throw Error("xAI device authorization was cancelled.");let X=await a(Cc,{method:"POST",headers:Ac(),body:new URLSearchParams({grant_type:wc,client_id:mn(),device_code:t.device_code}).toString(),signal:c?.signal});if(X.ok){let L=await X.json(),Z=D(L.access_token),N=D(L.refresh_token);if(!Z||!N)throw Error("xAI OAuth completed, but the token response was missing credentials.");let C=typeof L.expires_in==="number"&&Number.isFinite(L.expires_in)&&L.expires_in>0?L.expires_in:3600;return{accessToken:Z,refreshToken:N,idToken:D(L.id_token),expiresAt:m()+C*1000}}let w=await X.json().catch(()=>({})),z=Math.max(0,A-m());if(w.error==="authorization_pending"){await r(Math.min(O+ec,z),c?.signal);continue}if(w.error==="slow_down"){O=Math.min(O+Pu,Bu),await r(Math.min(O+ec,z),c?.signal);continue}if(w.error==="access_denied"||w.error==="authorization_denied")throw Error("xAI device authorization was denied.");if(w.error==="expired_token")throw Error("xAI device code expired - please re-run login.");let S=w.error_description??w.error??"";throw Error(`xAI device token exchange failed (${X.status})${S?`: ${S}`:""}`)}throw Error("xAI device authorization timed out.")}class en{abortController=null;async startDeviceFlow(t){let c=new AbortController;this.abortController=c;try{let a=await pu({signal:c.signal});return await t(a),await xu(a,{signal:c.signal})}finally{if(this.abortController===c)this.abortController=null}}cleanup(){this.abortController?.abort(Error("xAI device authorization was cancelled.")),this.abortController=null}}var sc=5000,Eu=1000,Pu=5000,Bu=60000,gc=300000,ec=3000;var Rc=j(()=>{Wu();Uu()});function ju(){return new en}function Xc(t){let{onAuthenticated:c}=t,a=t.deps?.createOAuthService??ju,r=t.deps?.saveXaiCredentials??zc,m=t.deps?.isBareMode??ut,[e,A]=Zt.useState({state:"starting"});return Zt.useEffect(()=>{if(m()){A({state:"error",message:"xAI OAuth is unavailable in --bare because secure storage is disabled."});return}let O=!1,X=a();return X.startDeviceFlow(async(w)=>{if(O)return;A({state:"waiting",userCode:w.user_code,verificationUri:w.verification_uri,verificationUriComplete:w.verification_uri_complete})}).then(async(w)=>{if(O)return;await c(w,(S)=>{let L=r({accessToken:w.accessToken,refreshToken:w.refreshToken,idToken:w.idToken,expiresAt:w.expiresAt,profileId:S?.profileId});if(!L.success)throw Error(L.warning??"xAI OAuth succeeded, but credentials could not be saved securely.")})}).catch((w)=>{if(O)return;A({state:"error",message:w instanceof Error?w.message:String(w)})}),()=>{O=!0,X.cleanup()}},[a,m,c,r]),e}var Zt;var kc=j(()=>{Rc();on();fc();Zt=Gt(Vt(),1)});function sa(t){return{name:t.name,baseUrl:t.baseUrl,model:t.model,apiKey:t.apiKey??""}}function ga(t){let c=Tt(t);return{name:c.name,baseUrl:c.baseUrl,model:c.model,apiKey:c.apiKey??""}}function Aa(t){let c={};for(let a of t.split(/\r?\n/)){let r=a.trim();if(!r)continue;let m=r.indexOf(":");if(m<=0)continue;let e=r.slice(0,m).trim(),A=r.slice(m+1).trim();if(e&&A)c[e]=A}return c}function Ra(t){if(!t)return"";return Object.entries(t).map(([c,a])=>`${c}: ${a}`).join(`
|
|
49
|
+
`)}function za(t,c){let a={},r=t.awsRegion?.trim();if(r)a.awsRegion=r;let m=t.gcpProject?.trim();if(m)a.gcpProject=m;let e=t.gcpRegion?.trim();if(e)a.gcpRegion=e;let A=t.azureResource?.trim();if(A)a.azureResource=A;let O=Aa(c);if(Object.keys(O).length>0)a.customHeaders=O;return Object.keys(a).length>0?a:void 0}function Xa(t,c){let a=c?" (active)":"",r=t.apiKey?"key set":"no key",m=t.provider==="anthropic"?"anthropic":"openai-compatible",e=qc(t.model),A=e.length<=3?e.join(", "):`${e[0]}, ${e[1]} + ${e.length-2} more`;return`${m} · ${t.baseUrl} · ${A} · ${r}${a}`}function ka(t,c){if(t.state==="unreachable")return`Could not reach Atomic Chat at ${un(c)}. 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 _a(t,c){if(t.state==="unreachable")return`Could not reach Ollama at ${un(c)}. 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 a=t.probeModel??"the selected model",r=t.detail?` Details: ${t.detail}.`:"";return`Ollama is reachable and models are installed, but a generation probe failed for ${a}.${r} Run "ollama run ${a}" once and retry, or enter details manually.`}return""}function yn(t,c){if(!c)return;return t.find((a)=>a.id===c)}function _c(t,c){return Boolean(t&&c&&t.id===c)}function qa({onBack:t,onConfigured:c}){let a=b.useCallback(async(m,e)=>{await c(m,e)},[c]);v("confirm:no",t,[t]);let r=oc({onAuthenticated:a});if(r.state==="error")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"error",bold:!0,children:"Codex OAuth failed"}),u(i,{children:r.message}),u(i,{dimColor:!0,children:"Press Enter or Esc to go back."}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Codex OAuth"}),u(i,{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."}),r.state==="starting"?u(i,{dimColor:!0,children:"Starting local callback and preparing your browser..."}):r.browserOpened===!1?y(dt,{children:[u(i,{color:"warning",children:"Browser did not open automatically. Visit this URL to continue:"}),u(i,{children:r.authUrl})]}):r.browserOpened===!0?y(dt,{children:[u(i,{dimColor:!0,children:"Browser opened. Finish the ChatGPT sign-in there and this setup will complete automatically."}),u(i,{children:r.authUrl})]}):u(i,{dimColor:!0,children:"Opening your browser..."}),u(i,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Sa({onBack:t,onConfigured:c}){let a=b.useCallback(async(m,e)=>{await c(m,e)},[c]);v("confirm:no",t,[t]);let r=Xc({onAuthenticated:a});if(r.state==="error")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"error",bold:!0,children:"xAI OAuth failed"}),u(i,{children:r.message}),u(i,{dimColor:!0,children:"Press Enter or Esc to go back."}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider presets"}],onChange:t,onCancel:t,visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"xAI / Grok OAuth"}),r.state==="starting"?u(i,{dimColor:!0,children:"Requesting a device code from xAI..."}):y(dt,{children:[y(i,{children:["Open this URL on any device:"," ",u(i,{bold:!0,children:r.verificationUri})]}),y(i,{children:["Enter code ",u(i,{bold:!0,children:r.userCode})]}),r.verificationUriComplete&&r.verificationUriComplete!==r.verificationUri?y(i,{dimColor:!0,children:["Or open this prefilled URL: ",r.verificationUriComplete]}):null,u(i,{dimColor:!0,children:"Waiting for you to authorize in the browser..."})]}),u(i,{dimColor:!0,children:"Press Esc to cancel and go back."})]})}function Sh({mode:t,onDone:c}){let a=Qc(),[r,m]=b.useState([]),[e,A]=b.useState(),[O,X]=b.useState(),[w,z]=b.useState(!1),[S,L]=b.useState(),Z=b.useRef(0),[N,C]=b.useState(t==="first-run"?"select-preset":"menu"),[ht,Y]=b.useState(null),[q,tt]=b.useState("openai"),[f,T]=b.useState(()=>ga("ollama")),[Wt,kt]=b.useState({}),[Rn,Ut]=b.useState(""),[Hc,Tc]=b.useState(0),[Wc,Uc]=b.useState(0),[Et,zn]=b.useState(null),[rt,Ot]=b.useState(0),[it,P]=b.useState(0),[Ec,B]=b.useState(0),[fn,M]=b.useState(),[lt,R]=b.useState(),[Pc,Bc]=b.useState(),[Xn,_t]=b.useState(!1),[st,gt]=b.useState(),[I,qt]=b.useState({state:"idle"}),[p,St]=b.useState({state:"idle"}),[x,Pt]=b.useState({state:"idle"}),[Ic,pc]=b.useState(!0),[xc,H]=b.useState(!1),Bt=b.useRef(!1),[It,pt]=b.useState(()=>Xt()),[kn,jc]=b.useState(()=>Zc());b.useEffect(()=>{queueMicrotask(()=>{let n=nt(),h=W()?.id;m(n),A(h),X(Kt()),L(Cn()),z(ft()),pc(!1)})},[]);let ot=at[it]??at[0],Ft=ot.key,Dc=f[Ft],xt=r.length>0,$t=xt,_n=b.useMemo(()=>[{value:"add",label:"Add provider",description:"Create a new provider profile"},...It?[{value:"import-legacy",label:"Import from Claude Code",description:"Copy ~/.claude/ tokens, settings, skills, agents, plugins."}]:[],{value:"activate",label:"Set active provider (Global)",description:S?`Currently: ${r.find((n)=>n.id===S)?.name??"unknown"}`:"Default profile for projects without an override",disabled:!$t},{value:"activate-project",label:"Set active provider (Project)",description:O?`Currently: ${r.find((n)=>n.id===O)?.name??"unknown"} (this project)`:"Override the global default for this project only",disabled:!$t},...w?[{value:"clear-project-override",label:"Clear project provider override",description:O?"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:!xt},{value:"delete",label:"Delete provider",description:"Remove a provider profile",disabled:!$t},...Xn?[{value:"logout-codex-oauth",label:"Log out Codex OAuth",description:"Clear securely stored Codex OAuth credentials"}]:[],{value:"done",label:"Done",description:"Return to chat"}],[$t,xt,Xn,It,S,O,r]),jt=b.useCallback(()=>{if(ut()){Z.current+=1,_t(!1),gt(void 0);return}let n=++Z.current;(async()=>{let h=await On();if(n!==Z.current)return;_t(Boolean(h?.apiKey||h?.accessToken||h?.refreshToken||h?.idToken)),gt(h?.profileId)})()},[]);b.useEffect(()=>{return jt(),()=>{Z.current+=1}},[jt]),b.useEffect(()=>{if(N!=="select-ollama-model")return;let n=!1;return qt({state:"loading"}),(async()=>{let h=await Jc({baseUrl:f.baseUrl});if(h.state!=="ready"){if(!n)qt({state:"unavailable",message:_a(h,f.baseUrl)});return}let o=cn(h.models,"balanced"),l=Pn(h.models,"balanced");if(!n)qt({state:"ready",defaultValue:l?.name??o[0]?.name,options:o.map((d)=>({label:d.name,value:d.name,description:d.summary}))})})(),()=>{n=!0}},[f.baseUrl,N]),b.useEffect(()=>{if(N!=="select-atomic-chat-model")return;let n=!1;return St({state:"loading"}),(async()=>{let h=await Yc({baseUrl:f.baseUrl});if(h.state!=="ready"){if(!n)St({state:"unavailable",message:ka(h,f.baseUrl)});return}if(!n)St({state:"ready",defaultValue:h.models[0],options:h.models.map((o)=>({label:o,value:o}))})})(),()=>{n=!0}},[f.baseUrl,N]),b.useEffect(()=>{if(N!=="select-openai-model")return;let n=!1;return Pt({state:"loading"}),(async()=>{let h=await Gc({baseUrl:f.baseUrl,apiKey:f.apiKey||void 0});if(n)return;if(!h||h.length===0){Pt({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:o,defaultValue:l}=Vc(h,f.model);Pt({state:"ready",options:o,defaultValue:l})})(),()=>{n=!0}},[f.baseUrl,f.apiKey,N]);function Q(){if(Bt.current)return;Bt.current=!0,queueMicrotask(()=>{let n=nt();m(n),A(W()?.id),X(Kt()),L(Cn()),z(ft()),jt(),Bt.current=!1})}function mt(){return null}function Dt(n){if(n.activationWarning)return`${n.prefix}. Saved for next startup. Warning: ${n.warnings.join("; ")}.`;if(n.warnings.length>0)return`${n.prefix}. Claudin switched to it for this session with warnings: ${n.warnings.join("; ")}.`;return`${n.prefix}. Claudin switched to it for this session.`}async function vt(n){if(n?.accessToken&&n.accountId)return null;let h=await On();if(!h)return"stored Codex OAuth credentials could not be loaded";if(!h.accountId)return"stored Codex OAuth credentials are missing a ChatGPT account id";return null}function qn(){Mc()}async function vc(n){let h="provider";H(!0),M("Activating provider...");try{await new Promise((U)=>queueMicrotask(U));let o=ft(),l=Rt(n);if(!l){R("Could not change active provider."),H(!1),k();return}let d=o?W()??l:l,s=bt(d.model);if(!o)a((U)=>({...U,mainLoopModel:s,mainLoopModelForSession:null}));h=l.name;let _=mt(),J=_c(l,st),$=J?await vt():null;Q();let K=o&&d.id!==l.id?` (project override still active — this project keeps using ${d.name}; use "Clear project provider override" to apply the new default here)`:"",F=J?Dt({prefix:`Active provider: ${l.name}${K}`,activationWarning:$,warnings:[$,_?`could not clear startup provider override (${_})`:null].filter((U)=>Boolean(U))}):_?`Active provider: ${l.name}${K}. Warning: could not clear startup provider override (${_}).`:`Active provider: ${l.name}${K}`;M(F),H(!1),c({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:s,message:`Provider switched to ${l.name} (${s})`}),k()}catch(o){Q(),M(void 0),H(!1);let l=o instanceof Error?o.message:String(o);R(`Could not finish activating ${h}: ${l}`),k()}}async function tu(){H(!0),M("Clearing project provider override...");try{await new Promise((h)=>queueMicrotask(h)),bn(null),Q();let n=W();if(n){let h=bt(n.model);wt(),a((o)=>({...o,mainLoopModel:h,mainLoopModelForSession:null})),M(`Project override cleared. Using global default: ${n.name}.`),H(!1),c({action:"activated",activeProfileId:n.id,activeProviderName:n.name,activeProviderModel:h,message:`Project override cleared — using ${n.name} (${h})`}),k()}else M("Project provider override cleared. No global default set."),H(!1),c({action:"saved",message:"Project provider override cleared. No global default set."}),k()}catch(n){Q(),M(void 0),H(!1);let h=n instanceof Error?n.message:String(n);R(`Could not clear project provider override: ${h}`),k()}}async function nu(n){let h="provider";H(!0),M("Setting provider for this project...");try{await new Promise((F)=>queueMicrotask(F));let o=Kt(),l=bn(n);if(!l){R("Could not set project provider override."),H(!1),k();return}let d=bt(l.model);if(o===l.id)wt();a((F)=>({...F,mainLoopModel:d,mainLoopModelForSession:null})),h=l.name;let s=mt(),_=_c(l,st),J=_?await vt():null;Q();let $=`Active provider for this project: ${l.name}. Other projects keep the global default.`,K=_?Dt({prefix:$,activationWarning:J,warnings:[J,s?`could not clear startup provider override (${s})`:null].filter((F)=>Boolean(F))}):s?`${$} Warning: could not clear startup provider override (${s}).`:$;M(K),H(!1),c({action:"activated",activeProfileId:l.id,activeProviderName:l.name,activeProviderModel:d,message:`Provider switched to ${l.name} (${d}) for this project`}),k()}catch(o){Q(),M(void 0),H(!1);let l=o instanceof Error?o.message:String(o);R(`Could not finish setting ${h} for this project: ${l}`),k()}}function k(){Bc("done"),C("menu")}function Lt(n){c({action:"cancelled",message:n})}function cu(n){let h=Tt(n),o={name:h.name,baseUrl:h.baseUrl,model:h.model,apiKey:h.apiKey??""};if(Y(null),tt(h.provider??"openai"),T(o),kt({}),Ut(""),zn(n),P(0),Ot(0),B(o.name.length),R(void 0),n==="ollama"){qt({state:"loading"}),C("select-ollama-model");return}if(n==="atomic-chat"){St({state:"loading"}),C("select-atomic-chat-model");return}if(n==="anthropic"){C("anthropic-auth-choice");return}if(n==="bedrock"||n==="vertex"||n==="foundry"){C("cloud-extras");return}C("form")}function uu(n){let h=r.find((l)=>l.id===n);if(!h)return;let o=sa(h);Y(n),tt(h.provider??"openai"),T(o),kt({awsRegion:h.extras?.awsRegion,gcpProject:h.extras?.gcpProject,gcpRegion:h.extras?.gcpRegion,azureResource:h.extras?.azureResource}),Ut(Ra(h.extras?.customHeaders)),zn(null),P(0),Ot(0),B(o.name.length),R(void 0),C("form")}function Nt(n=f){let h=za(Wt,Rn),o={provider:q,name:n.name,baseUrl:n.baseUrl,model:n.model,apiKey:n.apiKey,extras:h},l=ht?At(ht,o):ct(o,{makeActive:!0});if(!l){R("Could not save provider. Fill all required fields.");return}let d=W()?.id===l.id;if(d)wt(),a((K)=>({...K,mainLoopModel:bt(l.model),mainLoopModelForSession:null}));let s=d?mt():null;Q();let _=!ht&&ft()&&!d,J=_?W()?.name??"override target":null,$=ht?`Updated provider: ${l.name}`:_?`Added provider: ${l.name} (now global default — project keeps using ${J}; use "Clear project provider override" to apply here)`:`Added provider: ${l.name} (now active)`;if(M(s?`${$}. Warning: could not clear startup provider override (${s}).`:$),t==="first-run"){c({action:"saved",activeProfileId:l.id,message:`Provider configured: ${l.name}`});return}Y(null),P(0),R(void 0),k()}function au(){if(p.state==="loading"||p.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Checking Atomic Chat"}),u(i,{dimColor:!0,children:"Looking for loaded Atomic Chat models..."})]});if(p.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Atomic Chat setup"}),u(i,{dimColor:!0,children:p.message}),u(V,{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:(n)=>{if(n==="manual"){P(0),B(f.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose an Atomic Chat model"}),u(i,{dimColor:!0,children:"Pick one of the models loaded in Atomic Chat to save into a local provider profile."}),u(V,{options:p.options,defaultValue:p.defaultValue,defaultFocusValue:p.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,p.options.length),onChange:(n)=>{let h={...f,model:n};T(h),Nt(h)},onCancel:()=>C("select-preset")})]})}function hu(){if(I.state==="loading"||I.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Checking Ollama"}),u(i,{dimColor:!0,children:"Looking for installed Ollama models..."})]});if(I.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Ollama setup"}),u(i,{dimColor:!0,children:I.message}),u(V,{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:(n)=>{if(n==="manual"){P(0),B(f.name.length),C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:2})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose an Ollama model"}),u(i,{dimColor:!0,children:"Pick one of the installed Ollama models to save into a local provider profile."}),u(V,{options:I.options,defaultValue:I.defaultValue,defaultFocusValue:I.defaultValue,inlineDescriptions:!0,visibleOptionCount:Math.min(8,I.options.length),onChange:(n)=>{let h={...f,model:n};T(h),Nt(h)},onCancel:()=>C("select-preset")})]})}function et(n){let h=at.findIndex((o)=>o.key===n);P(h<0?0:h),B(f[n].length),R(void 0),C("form")}function ru(){if(x.state==="loading"||x.state==="idle")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Fetching models"}),u(i,{dimColor:!0,children:"Looking for models on your OpenAI-compatible provider…"}),u(i,{dimColor:!0,children:"Press Esc to enter the model manually."})]});if(x.state==="unavailable")return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose a model"}),u(i,{dimColor:!0,children:x.message}),u(V,{options:[{value:"manual",label:"Enter manually",description:"Type the model id yourself"},{value:"back",label:"Back",description:"Return to the API key step"}],onChange:(o)=>{if(o==="manual"){et("model");return}et("apiKey")},onCancel:()=>et("apiKey"),visibleOptionCount:2})]});let n=[...x.options,{value:dn,label:"Enter a model id manually",description:"Type an id the provider did not list"}],h=x.defaultValue??dn;return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Choose a model"}),u(i,{dimColor:!0,children:"Models from your OpenAI-compatible provider."}),u(V,{options:n,defaultValue:h,defaultFocusValue:h,inlineDescriptions:!0,visibleOptionCount:Math.min(8,n.length),onChange:(o)=>{if(o===dn){et("model");return}let l={...f,model:o};T(l),Sn(l)},onCancel:()=>et("apiKey")}),u(i,{dimColor:!0,children:"Enter to select · Esc to go back"})]})}function Sn(n){if(Et==="anthropic"||Et==="custom"){T(n),C("custom-headers");return}Nt(n)}function iu(n){let h=n.trim();if(!ot.optional&&h.length===0){R(`${ot.label} is required.`);return}let o={...f,[Ft]:h};if(T(o),R(void 0),it<at.length-1){let l=it+1,d=at[l]?.key??"name";if(d==="model"&&!ya.has(q)&&o.baseUrl.trim().length>0){C("select-openai-model");return}P(l),B(o[d].length);return}Sn(o)}function lu(){if(R(void 0),it>0){let n=it-1,h=at[n]?.key??"name";P(n),B(f[h].length);return}if(t==="first-run"){C("select-preset");return}k()}v("confirm:no",lu,{context:"Settings",isActive:N==="form"}),v("confirm:no",()=>et("model"),{context:"Settings",isActive:N==="select-openai-model"&&(x.state==="loading"||x.state==="idle")});function ou(){if(R(void 0),rt>0){Ot(rt-1);return}C("select-preset")}v("confirm:no",ou,{context:"Settings",isActive:N==="cloud-extras"}),v("confirm:no",()=>C("form"),{context:"Settings",isActive:N==="custom-headers"}),v("confirm:no",()=>C("select-preset"),{context:"Settings",isActive:N==="anthropic-auth-choice"||N==="anthropic-oauth"});function mu(){let n=!ut(),h=[...It?[{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"},...n?[{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 - API",description:"Moonshot AI - API endpoint"},{value:"kimi-code",label:"Moonshot AI - Kimi Code",description:"Moonshot AI - Kimi Code Subscription endpoint"},{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 y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:t==="first-run"?"Set up provider":"Choose provider preset"}),u(i,{dimColor:!0,children:"Pick a preset, then confirm base URL, model, and API key."}),u(V,{options:h,onChange:(o)=>{if(o==="skip"){Lt("Provider setup skipped");return}if(o==="codex-oauth"){C("codex-oauth");return}if(o==="xai-oauth"){C("xai-oauth");return}if(o==="github-onboard"){C("github-onboard");return}if(o==="import-legacy"){(async()=>{let l=await An({force:!0});pt(Xt()),Q();let d=Ht(l);if(l.errors.length>0){R(d);return}let s=W();if(t==="first-run"&&s){c({action:"saved",activeProfileId:s.id,activeProviderName:s.name,activeProviderModel:s.model,message:d});return}if(M(d),R(void 0),t==="manage")k()})();return}cu(o)},onCancel:()=>{if(t==="first-run"){Lt("Provider setup skipped");return}k()},visibleOptionCount:Math.min(13,h.length)})]})}function eu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Anthropic — choose authentication"}),u(i,{dimColor:!0,children:"Sign in with your Anthropic account in the browser, or paste an API key."}),u(V,{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:(n)=>{if(n==="oauth"){C("anthropic-oauth");return}if(n==="apiKey"){C("form");return}C("select-preset")},onCancel:()=>C("select-preset"),visibleOptionCount:3})]})}function du(){let n=(oa(),Du(la)).ConsoleOAuthFlow;return u(g,{flexDirection:"column",gap:1,children:u(n,{mode:"login",onDone:()=>{let h=Tt("anthropic"),o={provider:"anthropic",name:h.name,baseUrl:h.baseUrl,model:h.model},l=ct(o,{makeActive:!0});if(!l){R("OAuth completed, but the Anthropic profile could not be saved."),C("select-preset");return}let d=`Anthropic OAuth configured: ${l.name}`;if(Q(),t==="first-run"){c({action:"saved",activeProfileId:l.id,message:d});return}M(d),R(void 0),k()}})})}function yu(){let n=Et;if(n!=="bedrock"&&n!=="vertex"&&n!=="foundry")return null;let h=fa[n],o=h[rt]??h[0],l=Wt[o.key]??"";function d(s){let _=s.trim();if(_.length===0){R(`${o.label} is required.`);return}let J={...Wt,[o.key]:_};if(kt(J),R(void 0),rt<h.length-1){Ot(rt+1);return}Ot(0),C("form")}return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:`${n==="bedrock"?"AWS Bedrock":n==="vertex"?"Google Vertex AI":"Azure AI Foundry"} setup`}),u(i,{dimColor:!0,children:o.helpText}),y(i,{dimColor:!0,children:["Step ",rt+1," of ",h.length,": ",o.label]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:l,onChange:(s)=>kt((_)=>({..._,[o.key]:s})),onSubmit:d,focus:!0,showCursor:!0,placeholder:`${o.placeholder}${Ct.ellipsis}`,columns:80,cursorOffset:Hc,onChangeCursorOffset:Tc})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function Cu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Custom headers (optional)"}),y(i,{dimColor:!0,children:["Add HTTP headers sent on every request. One header per line as"," ",u(i,{children:"Header: Value"}),". Leave empty to skip."]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:Rn,onChange:Ut,onSubmit:()=>Nt(f),focus:!0,showCursor:!0,placeholder:"X-Header: value",columns:80,multiline:!0,cursorOffset:Wc,onChangeCursorOffset:Uc})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter on a blank line to save. Press Esc to go back."})]})}function bu(){return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:ht?"Edit provider profile":"Create provider profile"}),u(i,{dimColor:!0,children:ot.helpText}),y(i,{dimColor:!0,children:["Provider type:"," ",q==="anthropic"?"Anthropic native API":"OpenAI-compatible API"]}),y(i,{dimColor:!0,children:["Step ",it+1," of ",at.length,": ",ot.label]}),y(g,{flexDirection:"row",gap:1,children:[u(i,{children:Ct.pointer}),u(yt,{value:Dc,onChange:(n)=>T((h)=>({...h,[Ft]:n})),onSubmit:iu,focus:!0,showCursor:!0,placeholder:`${ot.placeholder}${Ct.ellipsis}`,mask:Ft==="apiKey"?"*":void 0,columns:80,cursorOffset:Ec,onChangeCursorOffset:B})]}),lt&&u(i,{color:"error",children:lt}),u(i,{dimColor:!0,children:"Press Enter to continue. Press Esc to go back."})]})}function wu(){let n=r.length>0,h=n;return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Provider manager"}),u(i,{dimColor:!0,children:"Active profile controls base URL, model, and API key used by this session."}),fn&&u(i,{children:fn}),u(g,{flexDirection:"column",children:r.length===0?u(i,{dimColor:!0,children:"No provider profiles configured yet."}):r.map((o)=>y(i,{dimColor:!0,children:["- ",o.name,": ",Xa(o,o.id===e)]},o.id))}),u(V,{options:_n,onChange:(o)=>{switch(R(void 0),o){case"add":C("select-preset");break;case"import-legacy":{(async()=>{let l=await An({force:!0});if(pt(Xt()),Q(),l.errors.length>0)R(Ht(l));else M(Ht(l))})();break}case"activate":if(h)C("select-active");break;case"activate-project":if(h)C("select-active-project");break;case"clear-project-override":tu();break;case"edit":if(n)C("select-edit");break;case"delete":if(h)C("select-delete");break;case"logout-codex-oauth":{let l=sn();if(!l.success){R(l.warning??"Could not clear Codex OAuth credentials.");break}_t(!1),gt(void 0);let d=yn(nt(),st),s=null;if(d){let _=wn(d.id);if(!_.removed){R("Codex OAuth credentials were cleared, but the Codex profile could not be removed."),Q();break}qn(),s=_.activeProfileId?mt():null}Q(),M(s?`Codex OAuth logged out. Warning: could not clear startup provider override (${s}).`:"Codex OAuth logged out.");break}default:Lt("Provider manager closed");break}},onCancel:()=>Lt("Provider manager closed"),defaultFocusValue:Pc,visibleOptionCount:_n.length})]})}function Mt(n,h,o){let l=r.map((d)=>{let s=[];if(d.id===e)s.push("active");if(O&&d.id===O)s.push("this project");if(S&&d.id===S)s.push("global default");let _=s.length>0?` (${s.join(", ")})`:"";return{value:d.id,label:`${d.name}${_}`,description:`${d.provider==="anthropic"?"anthropic":"openai-compatible"} · ${d.baseUrl} · ${d.model}`}});if(l.length===0)return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:n}),u(i,{dimColor:!0,children:h}),u(V,{options:[{value:"back",label:"Back",description:"Return to provider manager"}],onChange:()=>k(),onCancel:()=>k(),visibleOptionCount:1})]});return y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:n}),u(V,{options:l,onChange:o,onCancel:()=>k(),visibleOptionCount:Math.min(10,Math.max(2,l.length))})]})}let G;switch(N){case"select-preset":G=mu();break;case"select-ollama-model":G=hu();break;case"select-openai-model":G=ru();break;case"select-atomic-chat-model":G=au();break;case"codex-oauth":G=u(qa,{onBack:()=>C("select-preset"),onConfigured:async(n,h)=>{let o={provider:"openai",name:Ca,baseUrl:Sc,model:ba,apiKey:""},l=yn(nt(),st),d=l?At(l.id,o):ct(o,{makeActive:!0});if(!d){R("Codex OAuth login finished, but the provider profile could not be saved."),k();return}let s=l&&e!==d.id?Rt(d.id):d;if(!s){R("Codex OAuth login finished, but the provider could not be set as the startup provider."),k();return}h({profileId:d.id});let _=mt(),J=await vt(n);_t(!0),gt(d.id),Q();let $=[J,_?`could not clear startup provider override (${_})`:null].filter((F)=>Boolean(F)),K=Dt({prefix:"Codex OAuth configured",activationWarning:J,warnings:$});if(t==="first-run"){c({action:"saved",activeProfileId:s.id,message:K});return}M(K),R(void 0),k()}});break;case"xai-oauth":G=u(Sa,{onBack:()=>C("select-preset"),onConfigured:async(n,h)=>{let l=ct({provider:"openai",name:wa,baseUrl:gn,model:Oa,apiKey:""},{makeActive:!0});if(!l){R("xAI OAuth login finished, but the provider profile could not be saved."),k();return}try{h({profileId:l.id})}catch(s){R(s instanceof Error?s.message:String(s)),k();return}Q();let d="xAI / Grok configured. Claudin switched to it for this session.";if(t==="first-run"){c({action:"saved",activeProfileId:l.id,message:d});return}M(d),R(void 0),k()}});break;case"github-onboard":G=u(Tn,{onDone:(n)=>{if(n)M(n),R(void 0);Q(),k()},onBack:()=>C("select-preset"),onChangeAPIKey:Q});break;case"anthropic-auth-choice":G=eu();break;case"anthropic-oauth":G=du();break;case"cloud-extras":G=yu();break;case"custom-headers":G=Cu();break;case"form":G=bu();break;case"select-active":G=Mt("Set active provider (Global)","No providers available. Add one first.",(n)=>{vc(n)});break;case"select-active-project":G=Mt("Set active provider (Project)","No providers available. Add one first.",(n)=>{nu(n)});break;case"select-edit":G=Mt("Edit provider","No providers available. Add one first.",(n)=>{uu(n)});break;case"select-delete":G=Mt("Delete provider","No providers available. Add one first.",(n)=>{let h=r.find(($)=>$.id===n),o=h?.provider==="openai"&&h?.extras?.githubToken!==void 0,l=yn(r,st)?.id===n,d=Lc()?.profileId,s=h?.provider==="openai"&&h.baseUrl===gn&&!h.apiKey&&d===n,_=W()?.id===n,J=wn(n);if(!J.removed)R("Could not delete provider.");else{let $=[];if(l){let F=sn();if(!F.success)$.push(F.warning??"could not clear Codex OAuth credentials");else gt(void 0);qn()}if(o){let F=$c();if(!F.success)$.push(F.warning??"could not clear GitHub Copilot token")}if(s){let F=Nc();if(!F.success)$.push(F.warning??"could not clear xAI OAuth credentials")}let K=J.activeProfileId?mt():null;if(K)$.push(`could not clear startup provider override (${K})`);if(Q(),_){let F=W();if(F)wt(),a((U)=>({...U,mainLoopModel:bt(F.model),mainLoopModelForSession:null}));else wt(),a((U)=>({...U,mainLoopModel:null,mainLoopModelForSession:null}))}M($.length>0?`Provider deleted. Warning: ${$.join("; ")}.`:"Provider deleted")}k()});break;case"menu":default:G=wu();break}return y(Fc,{color:"permission",children:[u(Kc,{enabled:kn,onDismiss:(n)=>{pt(Xt()),jc(!1),Q();let h=W();if(n==="migrated"&&t==="first-run"&&h)c({action:"saved",activeProfileId:h.id,activeProviderName:h.name,activeProviderModel:h.model})}}),kn?null:Ic?y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Loading providers..."}),u(i,{dimColor:!0,children:"Reading provider profiles from disk."})]}):xc?y(g,{flexDirection:"column",gap:1,children:[u(i,{color:"remember",bold:!0,children:"Activating provider..."}),u(i,{dimColor:!0,children:"Please wait while the provider is being configured."})]}):G]})}var b,at,dn="\x00__manual__",ya,Ca="Codex OAuth",ba="codexplan",wa="xAI / Grok (OAuth)",Oa="grok-4",fa;var Fa=j(()=>{vu();Wn();na();Ln();ca();ha();ma();ic();on();ta();aa();Fn();Zn();ra();Bn();In();ia();ua();da();Kn();mc();kc();fc();ea();Qt();b=Gt(Vt(),1),at=[{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.'}],ya=new Set(["anthropic","bedrock","vertex","foundry"]);fa={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{un as lc,In as mc,Aa as nc,Sh as oc,Fa as pc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Zpa as o}from"./cli-0.7.0-8p56ked8.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 b7,i as c7,n as d7,s as e7,c as f7,r as g7,a as h7,p as i7,_ as j7,S as k7,E as l7,e as m7};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Al as N,Dl as d,El as M,Jn as l,Kl as Of,Kn as $f,LB as X,MB as qf,Xl as V,am as Yf,bS as Hf,cS as If,mH as v,nH as Bf,pl as c,qk as m,rk as pf,wQ as r,xF as S,yF as zf,yQ as Zf}from"./cli-0.7.0-7g132rdj.mjs";import{lT as u,mT as Kf}from"./cli-0.7.0-5df67dbk.mjs";import{RX as Jf,RZ as Af,kZ as D,mZ as T}from"./cli-0.7.0-p9q4x3f1.mjs";import{X1 as A,Y1 as R,Z1 as L}from"./cli-0.7.0-wgy69726.mjs";import{_1 as _f}from"./cli-0.7.0-asw5nd1q.mjs";import{w8 as W,y8 as yf}from"./cli-0.7.0-h6kfhzzd.mjs";import{Vga as F,Yga as ff}from"./cli-0.7.0-0cp32djm.mjs";import{$ha as Gf,Yha as b}from"./cli-0.7.0-hrtdae85.mjs";import{Vpa as g,Wpa as e,Zpa as k}from"./cli-0.7.0-8p56ked8.mjs";function E(){(If(),e(Hf)).saveWorktreeState(null),m()}function a({onDone:J,onCancel:O}){let[Y,y]=$.useState("loading"),[p,H]=$.useState([]),[G,q]=$.useState(0),[Z,_]=$.useState(),f=c();if($.useEffect(()=>{async function z(){let I=[],B=await W("git",["status","--porcelain"]);if(B.stdout)I=B.stdout.split(`
|
|
2
|
+
`).filter((Q)=>Q.trim()!==""),H(I);if(f){let{stdout:Q}=await W("git",["rev-list","--count",`${f.originalHeadCommit}..HEAD`]),w=parseInt(Q.trim())||0;if(q(w),I.length===0&&w===0){y("removing"),M().then(()=>{process.chdir(f.originalCwd),X(f.originalCwd),V.cache.clear?.(),_("Worktree removed (no changes)")}).catch((s)=>{b(`Failed to clean up worktree: ${s}`,{level:"error"}),_("Worktree cleanup failed, exiting anyway")}).finally(()=>{E()}).then(()=>{y("done")});return}else y("asking")}}z()},[f]),$.useEffect(()=>{if(Y==="done")J(Z)},[Y,J,Z]),!f)return J("No active worktree session found",{display:"system"}),null;if(Y==="loading"||Y==="done")return null;async function j(z){if(!f)return;let I=Boolean(f.tmuxSessionName);if(z==="keep"||z==="keep-with-tmux"){y("keeping"),F("tengu_worktree_kept",{commits:G,changed_files:p.length}),await d();try{process.chdir(f.originalCwd),X(f.originalCwd)}finally{E()}if(V.cache.clear?.(),I)_(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}. Reattach to tmux session with: tmux attach -t ${f.tmuxSessionName}`);else _(`Worktree kept. Your work is saved at ${f.worktreePath} on branch ${f.worktreeBranch}`);y("done")}else if(z==="keep-kill-tmux"){if(y("keeping"),F("tengu_worktree_kept",{commits:G,changed_files:p.length}),f.tmuxSessionName)await N(f.tmuxSessionName);await d();try{process.chdir(f.originalCwd),X(f.originalCwd)}finally{E()}V.cache.clear?.(),_(`Worktree kept at ${f.worktreePath} on branch ${f.worktreeBranch}. Tmux session terminated.`),y("done")}else if(z==="remove"||z==="remove-with-tmux"){if(y("removing"),F("tengu_worktree_removed",{commits:G,changed_files:p.length}),f.tmuxSessionName)await N(f.tmuxSessionName);try{await M(),process.chdir(f.originalCwd),X(f.originalCwd),V.cache.clear?.()}catch(Q){b(`Failed to clean up worktree: ${Q}`,{level:"error"}),_("Worktree cleanup failed, exiting anyway"),y("done");return}finally{E()}let B=I?" Tmux session terminated.":"";if(G>0&&p.length>0)_(`Worktree removed. ${G} ${G===1?"commit":"commits"} and uncommitted changes were discarded.${B}`);else if(G>0)_(`Worktree removed. ${G} ${G===1?"commit":"commits"} on ${f.worktreeBranch} ${G===1?"was":"were"} discarded.${B}`);else if(p.length>0)_(`Worktree removed. Uncommitted changes were discarded.${B}`);else _(`Worktree removed.${B}`);y("done")}}if(Y==="keeping")return R(D,{flexDirection:"row",marginY:1,children:[A(v,{}),A(T,{children:"Keeping worktree…"})]});if(Y==="removing")return R(D,{flexDirection:"row",marginY:1,children:[A(v,{}),A(T,{children:"Removing worktree…"})]});let x=f.worktreeBranch,P=p.length>0,U=G>0,K="";if(P&&U)K=`You have ${p.length} uncommitted ${p.length===1?"file":"files"} and ${G} ${G===1?"commit":"commits"} on ${x}. All will be lost if you remove.`;else if(P)K=`You have ${p.length} uncommitted ${p.length===1?"file":"files"}. These will be lost if you remove the worktree.`;else if(U)K=`You have ${G} ${G===1?"commit":"commits"} on ${x}. The branch will be deleted if you remove the worktree.`;else K="You are working in a worktree. Keep it to continue working there, or remove it to clean up.";function o(){if(O){O();return}j("keep")}let h=P||U?"All changes and commits will be lost.":"Clean up the worktree directory.",C=Boolean(f.tmuxSessionName),t=C?[{label:"Keep worktree and tmux session",value:"keep-with-tmux",description:`Stays at ${f.worktreePath}. Reattach with: tmux attach -t ${f.tmuxSessionName}`},{label:"Keep worktree, kill tmux session",value:"keep-kill-tmux",description:`Keeps worktree at ${f.worktreePath}, terminates tmux session.`},{label:"Remove worktree and tmux session",value:"remove-with-tmux",description:h}]:[{label:"Keep worktree",value:"keep",description:`Stays at ${f.worktreePath}`},{label:"Remove worktree",value:"remove",description:h}];return A(l,{title:"Exiting worktree session",subtitle:K,onCancel:o,children:A(S,{defaultFocusValue:C?"keep-with-tmux":"keep",options:t,onChange:j})})}var $;var i=k(()=>{ff();Gf();Af();yf();Yf();pf();qf();Of();zf();$f();Bf();L();$=g(_f(),1)});function Vf(){return u(Qf)??"Goodbye!"}function wf(J){let O=n.c(5),{showWorktree:Y,onDone:y,onCancel:p}=J,H;if(O[0]!==y)H=async function(Z){y(Z??Vf()),await r(0,"prompt_input_exit")},O[0]=y,O[1]=H;else H=O[1];let G=H;if(Y){let q;if(O[2]!==p||O[3]!==G)q=A(a,{onDone:G,onCancel:p}),O[2]=p,O[3]=G,O[4]=q;else q=O[4];return q}return null}var n,Qf;var Xf=k(()=>{Kf();Zf();i();L();n=g(Jf(),1),Qf=["Goodbye!","See ya!","Bye!","Catch you later!"]});
|
|
3
|
+
export{wf as cc,Xf as dc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Xpa as j}from"./cli-0.7.0-8p56ked8.mjs";var Lt=j((Q)=>{var y=Symbol.for("react.transitional.element"),$=Symbol.for("react.portal"),I=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),M=Symbol.for("react.profiler"),Y=Symbol.for("react.consumer"),L=Symbol.for("react.context"),k=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),b=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),D=Symbol.for("react.activity"),m=Symbol.iterator;function q(t){if(t===null||typeof t!=="object")return null;return t=m&&t[m]||t["@@iterator"],typeof t==="function"?t:null}var S={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,w={};function l(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}l.prototype.isReactComponent={};l.prototype.setState=function(t,e){if(typeof t!=="object"&&typeof t!=="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")};l.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function P(){}P.prototype=l.prototype;function v(t,e,n){this.props=t,this.context=e,this.refs=w,this.updater=n||S}var T=v.prototype=new P;T.constructor=v;g(T,l.prototype);T.isPureReactComponent=!0;var C=Array.isArray;function E(){}var f={H:null,A:null,T:null,S:null},H=Object.prototype.hasOwnProperty;function R(t,e,n){var r=n.ref;return{$$typeof:y,type:t,key:e,ref:r!==void 0?r:null,props:n}}function z(t,e){return R(t.type,e,t.props)}function x(t){return typeof t==="object"&&t!==null&&t.$$typeof===y}function G(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var d=/\/+/g;function a(t,e){return typeof t==="object"&&t!==null&&t.key!=null?G(""+t.key):e.toString(36)}function K(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status==="string"?t.then(E,E):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function p(t,e,n,r,o){var u=typeof t;if(u==="undefined"||u==="boolean")t=null;var s=!1;if(t===null)s=!0;else switch(u){case"bigint":case"string":case"number":s=!0;break;case"object":switch(t.$$typeof){case y:case $:s=!0;break;case h:return s=t._init,p(s(t._payload),e,n,r,o)}}if(s)return o=o(t),s=r===""?"."+a(t,0):r,C(o)?(n="",s!=null&&(n=s.replace(d,"$&/")+"/"),p(o,e,n,"",function(O){return O})):o!=null&&(x(o)&&(o=z(o,n+(o.key==null||t&&t.key===o.key?"":(""+o.key).replace(d,"$&/")+"/")+s)),e.push(o)),1;s=0;var c=r===""?".":r+":";if(C(t))for(var i=0;i<t.length;i++)r=t[i],u=c+a(r,i),s+=p(r,e,n,u,o);else if(i=q(t),typeof i==="function")for(t=i.call(t),i=0;!(r=t.next()).done;)r=r.value,u=c+a(r,i++),s+=p(r,e,n,u,o);else if(u==="object"){if(typeof t.then==="function")return p(K(t),e,n,r,o);throw e=String(t),Error("Objects are not valid as a React child (found: "+(e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.")}return s}function _(t,e,n){if(t==null)return t;var r=[],o=0;return p(t,r,"","",function(u){return e.call(n,u,o++)}),r}function B(t){if(t._status===-1){var e=t._result;e=e(),e.then(function(n){if(t._status===0||t._status===-1)t._status=1,t._result=n},function(n){if(t._status===0||t._status===-1)t._status=2,t._result=n}),t._status===-1&&(t._status=0,t._result=e)}if(t._status===1)return t._result.default;throw t._result}var A=typeof reportError==="function"?reportError:function(t){if(typeof window==="object"&&typeof window.ErrorEvent==="function"){var e=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof t==="object"&&t!==null&&typeof t.message==="string"?String(t.message):String(t),error:t});if(!window.dispatchEvent(e))return}else if(typeof process==="object"&&typeof process.emit==="function"){process.emit("uncaughtException",t);return}console.error(t)},W={map:_,forEach:function(t,e,n){_(t,function(){e.apply(this,arguments)},n)},count:function(t){var e=0;return _(t,function(){e++}),e},toArray:function(t){return _(t,function(e){return e})||[]},only:function(t){if(!x(t))throw Error("React.Children.only expected to receive a single React element child.");return t}};Q.Activity=D;Q.Children=W;Q.Component=l;Q.Fragment=I;Q.Profiler=M;Q.PureComponent=v;Q.StrictMode=N;Q.Suspense=U;Q.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f;Q.__COMPILER_RUNTIME={__proto__:null,c:function(t){return f.H.useMemoCache(t)}};Q.cache=function(t){return function(){return t.apply(null,arguments)}};Q.cacheSignal=function(){return null};Q.cloneElement=function(t,e,n){if(t===null||t===void 0)throw Error("The argument must be a React element, but you passed "+t+".");var r=g({},t.props),o=t.key;if(e!=null)for(u in e.key!==void 0&&(o=""+e.key),e)!H.call(e,u)||u==="key"||u==="__self"||u==="__source"||u==="ref"&&e.ref===void 0||(r[u]=e[u]);var u=arguments.length-2;if(u===1)r.children=n;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];r.children=s}return R(t.type,o,r)};Q.createContext=function(t){return t={$$typeof:L,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null},t.Provider=t,t.Consumer={$$typeof:Y,_context:t},t};Q.createElement=function(t,e,n){var r,o={},u=null;if(e!=null)for(r in e.key!==void 0&&(u=""+e.key),e)H.call(e,r)&&r!=="key"&&r!=="__self"&&r!=="__source"&&(o[r]=e[r]);var s=arguments.length-2;if(s===1)o.children=n;else if(1<s){for(var c=Array(s),i=0;i<s;i++)c[i]=arguments[i+2];o.children=c}if(t&&t.defaultProps)for(r in s=t.defaultProps,s)o[r]===void 0&&(o[r]=s[r]);return R(t,u,o)};Q.createRef=function(){return{current:null}};Q.forwardRef=function(t){return{$$typeof:k,render:t}};Q.isValidElement=x;Q.lazy=function(t){return{$$typeof:h,_payload:{_status:-1,_result:t},_init:B}};Q.memo=function(t,e){return{$$typeof:b,type:t,compare:e===void 0?null:e}};Q.startTransition=function(t){var e=f.T,n={};f.T=n;try{var r=t(),o=f.S;o!==null&&o(n,r),typeof r==="object"&&r!==null&&typeof r.then==="function"&&r.then(E,A)}catch(u){A(u)}finally{e!==null&&n.types!==null&&(e.types=n.types),f.T=e}};Q.unstable_useCacheRefresh=function(){return f.H.useCacheRefresh()};Q.use=function(t){return f.H.use(t)};Q.useActionState=function(t,e,n){return f.H.useActionState(t,e,n)};Q.useCallback=function(t,e){return f.H.useCallback(t,e)};Q.useContext=function(t){return f.H.useContext(t)};Q.useDebugValue=function(){};Q.useDeferredValue=function(t,e){return f.H.useDeferredValue(t,e)};Q.useEffect=function(t,e){return f.H.useEffect(t,e)};Q.useEffectEvent=function(t){return f.H.useEffectEvent(t)};Q.useId=function(){return f.H.useId()};Q.useImperativeHandle=function(t,e,n){return f.H.useImperativeHandle(t,e,n)};Q.useInsertionEffect=function(t,e){return f.H.useInsertionEffect(t,e)};Q.useLayoutEffect=function(t,e){return f.H.useLayoutEffect(t,e)};Q.useMemo=function(t,e){return f.H.useMemo(t,e)};Q.useOptimistic=function(t,e){return f.H.useOptimistic(t,e)};Q.useReducer=function(t,e,n){return f.H.useReducer(t,e,n)};Q.useRef=function(t){return f.H.useRef(t)};Q.useState=function(t){return f.H.useState(t)};Q.useSyncExternalStore=function(t,e,n){return f.H.useSyncExternalStore(t,e,n)};Q.useTransition=function(){return f.H.useTransition()};Q.version="19.2.7"});
|
|
2
|
+
export{Lt as _1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{RX as s,RZ as f,mZ as t}from"./cli-0.7.0-p9q4x3f1.mjs";import{X1 as n,Y1 as c,Z1 as r}from"./cli-0.7.0-wgy69726.mjs";import{Vpa as m,Zpa as l}from"./cli-0.7.0-8p56ked8.mjs";function T(){let o=i.c(1),e;if(o[0]===Symbol.for("react.memo_cache_sentinel"))e=c(t,{color:"permission",children:["Press ",n(t,{bold:!0,children:"Enter"})," to continue…"]}),o[0]=e;else e=o[0];return e}var i;var p=l(()=>{f();r();i=m(s(),1)});
|
|
2
|
+
export{T as eg,p as fg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Zpa as H}from"./cli-0.7.0-8p56ked8.mjs";function F(){if(!A)A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return A}function K(b){if(!b)return"";return F().segment(b)[Symbol.iterator]().next().value?.segment??""}function M(b){if(!b)return"";let j="";for(let{segment:q}of F().segment(b))j=q;return j}function N(){if(!B)B=new Intl.Segmenter(void 0,{granularity:"word"});return B}function O(b,j){let q=`${b}:${j}`,z=E.get(q);if(!z)z=new Intl.RelativeTimeFormat("en",{style:b,numeric:j}),E.set(q,z);return z}function P(){if(!D)D=Intl.DateTimeFormat().resolvedOptions().timeZone;return D}var A=null,B=null,E,D=null;var J=H(()=>{E=new Map});
|
|
2
|
+
export{F as bfa,K as cfa,M as dfa,N as efa,O as ffa,P as gfa,J as hfa};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Uoa as K,hpa as Y}from"./cli-0.7.0-e1esnrzt.mjs";import{Zpa as X}from"./cli-0.7.0-8p56ked8.mjs";function T(j){return j instanceof Q||j instanceof K||j instanceof Error&&j.name==="AbortError"}function D(j,z){return j instanceof Error&&j.message===z}function U(j){return j instanceof Error?j:Error(String(j))}function B(j){return j instanceof Error?j.message:String(j)}function V(j){if(j&&typeof j==="object"&&"code"in j&&typeof j.code==="string")return j.code;return}function O(j){return V(j)==="ENOENT"}function P(j){if(j&&typeof j==="object"&&"path"in j&&typeof j.path==="string")return j.path;return}function R(j,z=5){if(!(j instanceof Error))return String(j);if(!j.stack)return j.message;let G=j.stack.split(`
|
|
2
|
+
`),H=G[0]??j.message,J=G.slice(1).filter((W)=>W.trim().startsWith("at "));if(J.length<=z)return j.stack;return[H,...J.slice(0,z)].join(`
|
|
3
|
+
`)}function b(j){let z=V(j);return z==="ENOENT"||z==="EACCES"||z==="EPERM"||z==="ENOTDIR"||z==="ELOOP"}function N(j){let z=B(j);if(!j||typeof j!=="object"||!("isAxiosError"in j)||!j.isAxiosError)return{kind:"other",message:z};let G=j,H=G.response?.status;if(H===401||H===403)return{kind:"auth",status:H,message:z};if(G.code==="ECONNABORTED")return{kind:"timeout",status:H,message:z};if(G.code==="ECONNREFUSED"||G.code==="ENOTFOUND")return{kind:"network",status:H,message:z};return{kind:"http",status:H,message:z}}var Z,_,Q,$,q,v,w;var I=X(()=>{Y();Z=class Z extends Error{constructor(j,z){super(j,z);this.name=this.constructor.name}};_=class _ extends Error{};Q=class Q extends Error{constructor(j){super(j);this.name="AbortError"}};$=class $ extends Error{filePath;defaultConfig;constructor(j,z,G){super(j);this.name="ConfigParseError",this.filePath=z,this.defaultConfig=G}};q=class q extends Error{stdout;stderr;code;interrupted;constructor(j,z,G,H){super("Shell command failed");this.stdout=j;this.stderr=z;this.code=G;this.interrupted=H;this.name="ShellError"}};v=class v extends Error{formattedMessage;constructor(j,z){super(j);this.formattedMessage=z;this.name="TeleportOperationError"}};w=class w extends Error{telemetryMessage;constructor(j,z){super(j);this.name="TelemetrySafeError",this.telemetryMessage=z??j}}});
|
|
4
|
+
export{Z as gia,_ as hia,Q as iia,T as jia,$ as kia,q as lia,v as mia,w as nia,D as oia,U as pia,B as qia,V as ria,O as sia,P as tia,R as uia,b as via,N as wia,I as xia};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Jn as g,Kn as k,xF as h,zF as I}from"./cli-0.7.0-7g132rdj.mjs";import{RX as S,RZ as _,mZ as s}from"./cli-0.7.0-p9q4x3f1.mjs";import{X1 as c,Y1 as m,Z1 as T}from"./cli-0.7.0-wgy69726.mjs";import{Rca as P,tca as b}from"./cli-0.7.0-h6kfhzzd.mjs";import{Vpa as D}from"./cli-0.7.0-8p56ked8.mjs";_();P();I();k();T();var v=D(S(),1);function E(C){let e=v.c(17),{customApiKeyTruncated:o,onDone:p}=C,r;if(e[0]!==o||e[1]!==p)r=function(R){e:switch(R){case"yes":{b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,approved:[...n.customApiKeyResponses?.approved??[],o]}})),p(!0);break e}case"no":b((n)=>({...n,customApiKeyResponses:{...n.customApiKeyResponses,rejected:[...n.customApiKeyResponses?.rejected??[],o]}})),p(!1)}},e[0]=o,e[1]=p,e[2]=r;else r=e[2];let t=r,l;if(e[3]!==t)l=()=>t("no"),e[3]=t,e[4]=l;else l=e[4];let f;if(e[5]===Symbol.for("react.memo_cache_sentinel"))f=c(s,{bold:!0,children:"ANTHROPIC_API_KEY"}),e[5]=f;else f=e[5];let i;if(e[6]!==o)i=m(s,{children:[f,m(s,{children:[": sk-ant-...",o]})]}),e[6]=o,e[7]=i;else i=e[7];let u;if(e[8]===Symbol.for("react.memo_cache_sentinel"))u=c(s,{children:"Do you want to use this API key?"}),e[8]=u;else u=e[8];let y;if(e[9]===Symbol.for("react.memo_cache_sentinel"))y={label:"Yes",value:"yes"},e[9]=y;else y=e[9];let d;if(e[10]===Symbol.for("react.memo_cache_sentinel"))d=[y,{label:m(s,{children:["No (",c(s,{bold:!0,children:"recommended"}),")"]}),value:"no"}],e[10]=d;else d=e[10];let a;if(e[11]!==t)a=c(h,{defaultValue:"no",defaultFocusValue:"no",options:d,onChange:(K)=>t(K),onCancel:()=>t("no")}),e[11]=t,e[12]=a;else a=e[12];let A;if(e[13]!==l||e[14]!==i||e[15]!==a)A=m(g,{title:"Detected a custom API key in your environment",color:"warning",onCancel:l,children:[i,u,a]}),e[13]=l,e[14]=i,e[15]=a,e[16]=A;else A=e[16];return A}
|
|
2
|
+
export{E as N};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ni as M,Oi as W,QM as O,RM as P,SM as Q,TM as U,WM as X}from"./cli-0.7.0-7g132rdj.mjs";import{Zpa as V}from"./cli-0.7.0-8p56ked8.mjs";function Y(f){return f==="projectSettings"||f==="policySettings"||f==="command"}function J(f){return O(f)}function L(f,G,q){let v=J(G.source),z=J(q.source),j=G.ruleValue.toolName;if(f==="deny")return`Remove the "${j}" deny rule from ${v}, or remove the specific allow rule from ${z}`;return`Remove the "${j}" ask rule from ${v}, or remove the specific allow rule from ${z}`}function Z(f,G,q){let{toolName:v,ruleContent:z}=f.ruleValue;if(z===void 0)return{shadowed:!1};let j=G.find((E)=>E.ruleValue.toolName===v&&E.ruleValue.ruleContent===void 0);if(!j)return{shadowed:!1};if(v===M&&q.sandboxAutoAllowEnabled){if(!Y(j.source))return{shadowed:!1}}return{shadowed:!0,shadowedBy:j,shadowType:"ask"}}function _(f,G){let{toolName:q,ruleContent:v}=f.ruleValue;if(v===void 0)return{shadowed:!1};let z=G.find((j)=>j.ruleValue.toolName===q&&j.ruleValue.ruleContent===void 0);if(!z)return{shadowed:!1};return{shadowed:!0,shadowedBy:z,shadowType:"deny"}}function F(f,G){let q=[],v=P(f),z=U(f),j=Q(f);for(let E of v){let H=_(E,j);if(H.shadowed){let K=J(H.shadowedBy.source);q.push({rule:E,reason:`Blocked by "${H.shadowedBy.ruleValue.toolName}" deny rule (from ${K})`,shadowedBy:H.shadowedBy,shadowType:"deny",fix:L("deny",H.shadowedBy,E)});continue}let I=Z(E,z,G);if(I.shadowed){let K=J(I.shadowedBy.source);q.push({rule:E,reason:`Shadowed by "${I.shadowedBy.ruleValue.toolName}" ask rule (from ${K})`,shadowedBy:I.shadowedBy,shadowType:"ask",fix:L("ask",I.shadowedBy,E)})}}return q}var $=V(()=>{W();X()});
|
|
2
|
+
export{F as ig,$ as jg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{AW as X,yW as M}from"./cli-0.7.0-4d58csqr.mjs";import{Gba as W,K_ as B,T_ as V,rba as K,xba as L}from"./cli-0.7.0-h6kfhzzd.mjs";import{Zpa as Q}from"./cli-0.7.0-8p56ked8.mjs";async function F(){let b=await M();if(b.length===0)return{availableEnvironments:[],selectedEnvironment:null,selectedEnvironmentSource:null};let z=L()?.remote?.defaultEnvironmentId,H=b.find((x)=>x.kind!=="bridge")??b[0],J=null;if(z){let x=b.find((q)=>q.environment_id===z);if(x){H=x;for(let q=B.length-1;q>=0;q--){let y=B[q];if(!y||y==="flagSettings")continue;if(K(y)?.remote?.defaultEnvironmentId===z){J=y;break}}}}return{availableEnvironments:b,selectedEnvironment:H,selectedEnvironmentSource:J}}var Y=Q(()=>{V();W();X()});
|
|
2
|
+
export{F as Sb,Y as Tb};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{M0 as k,O0 as w}from"./cli-0.7.0-ftjagwyg.mjs";import{E6 as v,k6 as j}from"./cli-0.7.0-9jzkqcfv.mjs";import{Gfa as h,Hfa as s,vfa as d}from"./cli-0.7.0-m07xma4d.mjs";import{Nia as q}from"./cli-0.7.0-na9s209m.mjs";import{Zpa as p}from"./cli-0.7.0-8p56ked8.mjs";function m(){return y()||!!process.env.CLAUDE_BRIDGE_OAUTH_TOKEN}function x(){return m()}async function O(){return x()}async function P(){if(!m())return"Remote Control needs an Anthropic web login (a claude.ai OAuth token with the user:profile scope). Run `/provider` and sign in with your claude.ai account. Note: an inference API key alone is not enough — the bridge token is separate.";return null}function y(){try{return j()}catch{return!1}}function Q(){return d("tengu_bridge_repl_v2",!1)}function R(){return d("tengu_bridge_repl_v2_cse_shim_enabled",!0)}function U(){{let b=h("tengu_bridge_min_version",{minVersion:"0.0.0"});if(b.minVersion&&k("99.0.0",b.minVersion))return`Your version of Claudin (99.0.0) is too old for Remote Control.
|
|
2
|
+
Version ${b.minVersion} or higher is required. Run \`claudin update\` to update.`}return null}function W(){return!1}function X(){return!1}var z=p(()=>{s();v();q();w()});
|
|
3
|
+
export{x as eV,O as fV,P as gV,Q as hV,R as iV,U as jV,W as kV,X as lV,z as mV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Fw as T,YN as f,ZN as L,cC as K,eC as I,fC as _,hC as p,hO as r,lB as P,rB as b,sQ as i,xB as j}from"./cli-0.7.0-7g132rdj.mjs";import{DU as A,EU as n}from"./cli-0.7.0-qeg8v19s.mjs";import{Vga as E,Yga as C}from"./cli-0.7.0-0cp32djm.mjs";import{$ga as F,$ha as u,Kha as M,Oha as m,Yha as Z,bha as S}from"./cli-0.7.0-hrtdae85.mjs";import{Sna as v,nka as Y,oka as k,ooa as c}from"./cli-0.7.0-x2vc8nds.mjs";n();c();r();C();p();P();S();u();m();i();k();import*as H from"path";var d=1000,o=500,l=300,e=2000,h=typeof Bun<"u",x=null,y=null,Q=new Set,B=!1,D=!1,V=!1,X=null,W=Y(),U=null;async function t(){if(B||D)return;if(B=!0,!V)V=!0,_(()=>{f(),W.emit()});let q=await a();if(q.length===0)return;Z(`Watching for changes in skill/command directories: ${q.join(", ")}...`),x=A.watch(q,{persistent:!1,ignoreInitial:!0,depth:2,awaitWriteFinish:{stabilityThreshold:U?.stabilityThreshold??d,pollInterval:U?.pollInterval??o},ignored:(w,z)=>{if(z&&!z.isFile()&&!z.isDirectory())return!0;return w.split(H.sep).some((J)=>J===".git")},ignorePermissionErrors:!0,usePolling:h,interval:U?.chokidarInterval??e,atomic:!0}),x.on("add",$),x.on("change",$),x.on("unlink",$),X=F(async()=>{await g()})}function g(){if(D=!0,X)X(),X=null;let q=Promise.resolve();if(x)q=x.close(),x=null;if(y)clearTimeout(y),y=null;return Q.clear(),W.clear(),q}var s=W.subscribe;async function a(){let q=M(),w=[],z=K("userSettings","skills");if(z)try{await q.stat(z),w.push(z)}catch{}let J=K("userSettings","commands");if(J)try{await q.stat(J),w.push(J)}catch{}let N=K("projectSettings","skills");if(N)try{let G=H.resolve(N);await q.stat(G),w.push(G)}catch{}let O=K("projectSettings","commands");if(O)try{let G=H.resolve(O);await q.stat(G),w.push(G)}catch{}for(let G of v()){let R=H.join(G,".claudin","skills");try{await q.stat(R),w.push(R)}catch{}}return w}function $(q){Z(`Detected skill change: ${q}`),E("tengu_skill_file_changed",{source:"chokidar"}),qq(q)}function qq(q){if(Q.add(q),y)clearTimeout(y);y=setTimeout(async()=>{y=null;let w=[...Q];Q.clear();let z=await j("skills",w[0]);if(b(z)){Z(`ConfigChange hook blocked skill reload (${w.length} paths)`);return}I(),L(),T(),W.emit()},U?.reloadDebounce??l)}async function wq(q){if(x)await x.close(),x=null;if(y)clearTimeout(y),y=null;Q.clear(),W.clear(),B=!1,D=!1,U=q??null}var Zq={initialize:t,dispose:g,subscribe:s,resetForTesting:wq};
|
|
2
|
+
export{Zq as Qa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{e9 as Q,u9 as _}from"./cli-0.7.0-h6kfhzzd.mjs";import{fga as I,gga as X}from"./cli-0.7.0-v6ceqq5f.mjs";import{$ha as V,Yha as B}from"./cli-0.7.0-hrtdae85.mjs";import{Zpa as T}from"./cli-0.7.0-8p56ked8.mjs";function j(){A.clear()}async function P(){let f=await Y();if(!f)return null;if(f.host!=="github.com")return null;return`${f.owner}/${f.name}`}async function Y(){let f=I();if(A.has(f))return A.get(f)??null;try{let q=await Q();if(B(`Git remote URL: ${q}`),!q)return B("No git remote URL found"),A.set(f,null),null;let x=O(q);return B(`Parsed repository: ${x?`${x.host}/${x.owner}/${x.name}`:null} from URL: ${q}`),A.set(f,x),x}catch(q){return B(`Error detecting repository: ${q}`),A.set(f,null),null}}function S(){let f=A.get(I());if(!f||f.host!=="github.com")return null;return`${f.owner}/${f.name}`}function O(f){let q=f.trim(),x=q.match(/^git@([^:]+):([^/]+)\/([^/]+?)(?:\.git)?$/);if(x?.[1]&&x[2]&&x[3]){if(!N(x[1]))return null;return{host:x[1],owner:x[2],name:x[3]}}let z=q.match(/^(https?|ssh|git):\/\/(?:[^@]+@)?([^/:]+(?::\d+)?)\/([^/]+)\/([^/]+?)(?:\.git)?$/);if(z?.[1]&&z[2]&&z[3]&&z[4]){let E=z[1],J=z[2],K=J.split(":")[0]??"";if(!N(K))return null;return{host:E==="https"||E==="http"?J:K,owner:z[3],name:z[4]}}return null}function D(f){let q=f.trim(),x=O(q);if(x){if(x.host!=="github.com")return null;return`${x.owner}/${x.name}`}if(!q.includes("://")&&!q.includes("@")&&q.includes("/")){let z=q.split("/");if(z.length===2&&z[0]&&z[1]){let E=z[1].replace(/\.git$/,"");return`${z[0]}/${E}`}}return B(`Could not parse repository from: ${q}`),null}function N(f){if(!f.includes("."))return!1;let q=f.split(".").pop();if(!q)return!1;return/^[a-zA-Z]+$/.test(q)}var A;var Z=T(()=>{X();V();_();A=new Map});
|
|
2
|
+
export{j as S7,P as T7,Y as U7,S as V7,O as W7,D as X7,Z as Y7};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{T7 as Z,X7 as _,Y7 as w}from"./cli-0.7.0-cwxeffcg.mjs";import{B_ as D,H8 as Y,I8 as U,Rca as j,T8 as $,e_ as k,tca as W,u9 as T,wca as V}from"./cli-0.7.0-h6kfhzzd.mjs";import{$ha as M,Yha as N}from"./cli-0.7.0-hrtdae85.mjs";import{ooa as O,xka as X}from"./cli-0.7.0-x2vc8nds.mjs";O();j();M();w();D();U();T();import{realpath as v}from"fs/promises";async function b(){try{let q=await Z();if(!q){N("Not in a GitHub repository, skipping path mapping update");return}let A=X(),z=$(A)??A,B;try{B=(await v(z)).normalize("NFC")}catch{B=z}let J=q.toLowerCase(),L=V().githubRepoPaths?.[J]??[];if(L[0]===B){N(`Path ${B} already tracked for repo ${J}`);return}let E=L.filter((S)=>S!==B),H=[B,...E];W((S)=>({...S,githubRepoPaths:{...S.githubRepoPaths,[J]:H}})),N(`Added ${B} to tracked paths for repo ${J}`)}catch(q){N(`Error updating repo path mapping: ${q}`)}}function y(q){let A=V(),I=q.toLowerCase();return A.githubRepoPaths?.[I]??[]}async function P(q){let A=await Promise.all(q.map(k));return q.filter((I,z)=>A[z])}async function d(q,A){try{let I=await Y(q);if(!I)return!1;let z=_(I);if(!z)return!1;return z.toLowerCase()===A.toLowerCase()}catch{return!1}}function c(q,A){let I=V(),z=q.toLowerCase(),B=I.githubRepoPaths?.[z]??[],J=B.filter((L)=>L!==A);if(J.length===B.length)return;let Q={...I.githubRepoPaths};if(J.length===0)delete Q[z];else Q[z]=J;W((L)=>({...L,githubRepoPaths:Q})),N(`Removed ${A} from tracked paths for repo ${z}`)}
|
|
2
|
+
export{b as Jb,y as Kb,P as Lb,d as Mb,c as Nb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{sc as l,tc as m,wc as u,xc as y}from"./cli-0.7.0-k3qqc7gx.mjs";import{xF as p,zF as b}from"./cli-0.7.0-7g132rdj.mjs";import{RZ as C,kZ as s,mZ as e}from"./cli-0.7.0-p9q4x3f1.mjs";import{X1 as i,Y1 as r,Z1 as g}from"./cli-0.7.0-wgy69726.mjs";import{_1 as M}from"./cli-0.7.0-asw5nd1q.mjs";import{Vpa as h,Zpa as f}from"./cli-0.7.0-8p56ked8.mjs";function T({enabled:c,onDismiss:a}){let[n,t]=k.useState(()=>c?{kind:"prompt"}:{kind:"hidden"});if(!c||n.kind==="hidden")return null;if(n.kind==="running")return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Migrating ~/.claude/ to ~/.claudin/..."}),i(e,{dimColor:!0,children:"Copying tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings."})]});if(n.kind==="success"||n.kind==="error"){let d=n.kind==="success"?"success":"warning",o=n.kind==="success"?"Migration complete":"Migration finished with warnings";return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:d,bold:!0,children:o}),i(e,{children:m(n.report)})]})}return r(s,{flexDirection:"column",marginBottom:1,children:[i(e,{color:"warning",bold:!0,children:"Found Claude Code config at ~/.claude/"}),i(e,{children:"Import API tokens, settings, theme, MCP servers, skills, agents, slash commands, plugins, and keybindings into ~/.claudin/?"}),i(p,{options:[{value:"migrate",label:"Migrate now",description:"Copy tokens, settings, CLAUDE.md, skills, agents, commands, plugins, keybindings."},{value:"skip",label:"Skip — start fresh",description:"Don't ask again this profile."}],onChange:(d)=>{if(d==="skip"){u(),t({kind:"hidden"}),a?.("skipped");return}t({kind:"running"}),(async()=>{let o=await l();t({kind:o.errors.length===0?"success":"error",report:o}),a?.("migrated")})()},onCancel:()=>{t({kind:"hidden"}),a?.("skipped")},visibleOptionCount:2})]})}var k;var w=f(()=>{C();y();b();g();k=h(M(),1)});
|
|
2
|
+
export{T as qc,w as rc};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ci as R,Ei as y,Fi as v}from"./cli-0.7.0-xpzg1xfc.mjs";import{RX as c,RZ as E,mZ as K}from"./cli-0.7.0-p9q4x3f1.mjs";import{W1 as O,X1 as N,Y1 as M,Z1 as U}from"./cli-0.7.0-wgy69726.mjs";import{_1 as G}from"./cli-0.7.0-asw5nd1q.mjs";import{Rca as b,wca as L}from"./cli-0.7.0-h6kfhzzd.mjs";import{Gea as Z,Sea as W}from"./cli-0.7.0-twxrndmz.mjs";import{Yga as p}from"./cli-0.7.0-0cp32djm.mjs";import{Vpa as F,Zpa as j}from"./cli-0.7.0-8p56ked8.mjs";function f(){let q=R();if(!q||!q.available||q.granted)return!1;return y(q)!==null}function r(){if(!f())return!1;let q=L();if(q.hasVisitedExtraUsage)return!1;if((q.overageCreditUpsellSeenCount??0)>=T)return!1;return!0}function C(q){return`${q} in extra usage for third-party apps · /extra-usage`}function w(q){return`${q} in extra usage`}function n(q){let k=S.c(8),{maxWidth:z,twoLine:P}=q,Q,H;if(k[0]!==z||k[1]!==P){H=Symbol.for("react.early_return_sentinel");k:{let A=R();if(!A){H=null;break k}let V=y(A);if(!V){H=null;break k}if(P){let I=w(V),J;if(k[4]!==z)J=z?Z(_,z):_,k[4]=z,k[5]=J;else J=k[5];let Y;if(k[6]!==J)Y=N(K,{dimColor:!0,children:J}),k[6]=J,k[7]=Y;else Y=k[7];H=M(O,{children:[N(K,{color:"claude",children:z?Z(I,z):I}),Y]});break k}let B=C(V),X=z?Z(B,z):B,D=Math.min(w(V).length,X.length);Q=M(K,{dimColor:!0,children:[N(K,{color:"claude",children:X.slice(0,D)}),X.slice(D)]})}k[0]=z,k[1]=P,k[2]=Q,k[3]=H}else Q=k[2],H=k[3];if(H!==Symbol.for("react.early_return_sentinel"))return H;return Q}var S,$,T=3,_="On us. Works on third-party apps · /extra-usage";var l=j(()=>{E();p();v();b();W();U();S=F(c(),1),$=F(G(),1)});
|
|
2
|
+
export{f as Dg,r as Eg,n as Fg,l as Gg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{E6 as D,e6 as q}from"./cli-0.7.0-9jzkqcfv.mjs";import{Tga as m,Uga as z}from"./cli-0.7.0-y003ay15.mjs";import{Zpa as x}from"./cli-0.7.0-8p56ked8.mjs";function E(){return process.env.CLAUDE_BRIDGE_OAUTH_TOKEN||void 0}function F(){return process.env.CLAUDE_BRIDGE_BASE_URL||void 0}function K(){return E()??q()?.accessToken}function M(){return F()??m().BASE_API_URL}var G=x(()=>{z();D()});
|
|
2
|
+
export{E as ci,F as di,K as ei,M as fi,G as gi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{RX as u2,RZ as e2,_X as Z,kZ as Y,mZ as u}from"./cli-0.7.0-p9q4x3f1.mjs";import{X1 as t,Y1 as o,Z1 as U}from"./cli-0.7.0-wgy69726.mjs";import{f$ as X,h$ as j}from"./cli-0.7.0-h6kfhzzd.mjs";import{Vpa as s}from"./cli-0.7.0-8p56ked8.mjs";e2();j();U();var Q=s(u2(),1),K=58;function c2(){let l=Q.c(35),[e]=Z();if(X.terminal==="Apple_Terminal"){let c;if(l[0]!==e)c=t(t2,{theme:e,welcomeMessage:"Welcome to Claude Code"}),l[0]=e,l[1]=c;else c=l[1];return c}if(["light","light-daltonized","light-ansi"].includes(e)){let c,R,k,p,A,a,I,i,M;if(l[2]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.7.0"," "]})]}),R=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),k=t(u,{children:" "}),p=t(u,{children:" "}),A=t(u,{children:" "}),a=t(u,{children:" ░░░░░░ "}),I=t(u,{children:" ░░░ ░░░░░░░░░░ "}),i=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),M=t(u,{children:" "}),l[2]=c,l[3]=R,l[4]=k,l[5]=p,l[6]=A,l[7]=a,l[8]=I,l[9]=i,l[10]=M;else c=l[2],R=l[3],k=l[4],p=l[5],A=l[6],a=l[7],I=l[8],i=l[9],M=l[10];let V;if(l[11]===Symbol.for("react.memo_cache_sentinel"))V=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),l[11]=V;else V=l[11];let E,N;if(l[12]===Symbol.for("react.memo_cache_sentinel"))E=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),N=t(u,{children:" ▒▒ ██ ▒"}),l[12]=E,l[13]=N;else E=l[12],N=l[13];let W;if(l[14]===Symbol.for("react.memo_cache_sentinel"))W=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ▒▒░░▒▒ ▒ ▒▒"]}),l[14]=W;else W=l[14];let L;if(l[15]===Symbol.for("react.memo_cache_sentinel"))L=o(u,{children:[" ",t(u,{color:"clawd_body",backgroundColor:"clawd_background",children:"██▄█████▄██"})," ▒▒ ▒▒ "]}),l[15]=L;else L=l[15];let v;if(l[16]===Symbol.for("react.memo_cache_sentinel"))v=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," ░ ▒ "]}),l[16]=v;else v=l[16];let B;if(l[17]===Symbol.for("react.memo_cache_sentinel"))B=t(Y,{width:K,children:o(u,{children:[c,R,k,p,A,a,I,i,M,V,E,N,W,L,v,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"……………………………………………………………………░…………………………▒…………"]})]})}),l[17]=B;else B=l[17];return B}let D,r,P,T,d,m,n;if(l[18]===Symbol.for("react.memo_cache_sentinel"))D=o(u,{children:[o(u,{color:"claude",children:["Welcome to Claudin"," "]}),o(u,{dimColor:!0,children:["v","0.7.0"," "]})]}),r=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),P=t(u,{children:" "}),T=t(u,{children:" * █████▓▓░ "}),d=t(u,{children:" * ███▓░ ░░ "}),m=t(u,{children:" ░░░░░░ ███▓░ "}),n=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),l[18]=D,l[19]=r,l[20]=P,l[21]=T,l[22]=d,l[23]=m,l[24]=n;else D=l[18],r=l[19],P=l[20],T=l[21],d=l[22],m=l[23],n=l[24];let b,f,_,y,h;if(l[25]===Symbol.for("react.memo_cache_sentinel"))_=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),y=t(u,{children:" ░▓▓███▓▓░ "}),h=t(u,{dimColor:!0,children:" * ░░░░ "}),b=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),f=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),l[25]=b,l[26]=f,l[27]=_,l[28]=y,l[29]=h;else b=l[25],f=l[26],_=l[27],y=l[28],h=l[29];let C;if(l[30]===Symbol.for("react.memo_cache_sentinel"))C=t(u,{color:"clawd_body",children:" █████████ "}),l[30]=C;else C=l[30];let S;if(l[31]===Symbol.for("react.memo_cache_sentinel"))S=o(u,{children:[" ",C," ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),l[31]=S;else S=l[31];let w;if(l[32]===Symbol.for("react.memo_cache_sentinel"))w=o(u,{children:[" ",t(u,{color:"clawd_body",children:"██▄█████▄██"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),l[32]=w;else w=l[32];let g;if(l[33]===Symbol.for("react.memo_cache_sentinel"))g=o(u,{children:[" ",t(u,{color:"clawd_body",children:" █████████ "})," * "]}),l[33]=g;else g=l[33];let O;if(l[34]===Symbol.for("react.memo_cache_sentinel"))O=t(Y,{width:K,children:o(u,{children:[D,r,P,T,d,m,n,_,y,h,b,f,S,w,g,o(u,{children:["…………………",t(u,{color:"clawd_body",children:"█ █ █ █"}),"………………………………………………………………………………………………………………"]})]})}),l[34]=O;else O=l[34];return O}function t2(l){let e=Q.c(44),{theme:D,welcomeMessage:r}=l;if(["light","light-daltonized","light-ansi"].includes(D)){let a;if(e[0]!==r)a=o(u,{color:"claude",children:[r," "]}),e[0]=r,e[1]=a;else a=e[1];let I;if(e[2]===Symbol.for("react.memo_cache_sentinel"))I=o(u,{dimColor:!0,children:["v","0.7.0"," "]}),e[2]=I;else I=e[2];let i;if(e[3]!==a)i=o(u,{children:[a,I]}),e[3]=a,e[4]=i;else i=e[4];let M,V,E,N,W,L,v,B;if(e[5]===Symbol.for("react.memo_cache_sentinel"))E=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),N=t(u,{children:" "}),W=t(u,{children:" "}),L=t(u,{children:" "}),v=t(u,{children:" ░░░░░░ "}),B=t(u,{children:" ░░░ ░░░░░░░░░░ "}),M=t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),V=t(u,{children:" "}),e[5]=M,e[6]=V,e[7]=E,e[8]=N,e[9]=W,e[10]=L,e[11]=v,e[12]=B;else M=e[5],V=e[6],E=e[7],N=e[8],W=e[9],L=e[10],v=e[11],B=e[12];let z;if(e[13]===Symbol.for("react.memo_cache_sentinel"))z=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░"}),t(u,{children:" ██ "})]}),e[13]=z;else z=e[13];let $,x,H;if(e[14]===Symbol.for("react.memo_cache_sentinel"))$=o(u,{children:[t(u,{dimColor:!0,children:" ░░░░░░░░░░"}),t(u,{children:" ██▒▒██ "})]}),x=t(u,{children:" ▒▒ ██ ▒"}),H=t(u,{children:" ▒▒░░▒▒ ▒ ▒▒"}),e[14]=$,e[15]=x,e[16]=H;else $=e[14],x=e[15],H=e[16];let q;if(e[17]===Symbol.for("react.memo_cache_sentinel"))q=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"})," ▒▒ ▒▒ "]}),e[17]=q;else q=e[17];let F;if(e[18]===Symbol.for("react.memo_cache_sentinel"))F=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," ░ ▒ "]}),e[18]=F;else F=e[18];let G;if(e[19]===Symbol.for("react.memo_cache_sentinel"))G=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"……………………………………………………………………░…………………………▒…………"]}),e[19]=G;else G=e[19];let J;if(e[20]!==i)J=t(Y,{width:K,children:o(u,{children:[i,E,N,W,L,v,B,M,V,z,$,x,H,q,F,G]})}),e[20]=i,e[21]=J;else J=e[21];return J}let T;if(e[22]!==r)T=o(u,{color:"claude",children:[r," "]}),e[22]=r,e[23]=T;else T=e[23];let d;if(e[24]===Symbol.for("react.memo_cache_sentinel"))d=o(u,{dimColor:!0,children:["v","0.7.0"," "]}),e[24]=d;else d=e[24];let m;if(e[25]!==T)m=o(u,{children:[T,d]}),e[25]=T,e[26]=m;else m=e[26];let n,b,f,_,y,h;if(e[27]===Symbol.for("react.memo_cache_sentinel"))n=t(u,{children:"…………………………………………………………………………………………………………………………………………………………"}),b=t(u,{children:" "}),f=t(u,{children:" * █████▓▓░ "}),_=t(u,{children:" * ███▓░ ░░ "}),y=t(u,{children:" ░░░░░░ ███▓░ "}),h=t(u,{children:" ░░░ ░░░░░░░░░░ ███▓░ "}),e[27]=n,e[28]=b,e[29]=f,e[30]=_,e[31]=y,e[32]=h;else n=e[27],b=e[28],f=e[29],_=e[30],y=e[31],h=e[32];let C,S,w,g,O;if(e[33]===Symbol.for("react.memo_cache_sentinel"))C=o(u,{children:[t(u,{children:" ░░░░░░░░░░░░░░░░░░░ "}),t(u,{bold:!0,children:"*"}),t(u,{children:" ██▓░░ ▓ "})]}),S=t(u,{children:" ░▓▓███▓▓░ "}),w=t(u,{dimColor:!0,children:" * ░░░░ "}),g=t(u,{dimColor:!0,children:" ░░░░░░░░ "}),O=t(u,{dimColor:!0,children:" ░░░░░░░░░░░░░░░░ "}),e[33]=C,e[34]=S,e[35]=w,e[36]=g,e[37]=O;else C=e[33],S=e[34],w=e[35],g=e[36],O=e[37];let c;if(e[38]===Symbol.for("react.memo_cache_sentinel"))c=o(u,{children:[" ",t(u,{dimColor:!0,children:"*"}),t(u,{children:" "})]}),e[38]=c;else c=e[38];let R;if(e[39]===Symbol.for("react.memo_cache_sentinel"))R=o(u,{children:[" ",t(u,{color:"clawd_body",children:"▗"}),o(u,{color:"clawd_background",backgroundColor:"clawd_body",children:[" ","▗"," ","▖"," "]}),t(u,{color:"clawd_body",children:"▖"}),t(u,{children:" "}),t(u,{bold:!0,children:"*"}),t(u,{children:" "})]}),e[39]=R;else R=e[39];let k;if(e[40]===Symbol.for("react.memo_cache_sentinel"))k=o(u,{children:[" ",t(u,{backgroundColor:"clawd_body",children:" ".repeat(9)})," * "]}),e[40]=k;else k=e[40];let p;if(e[41]===Symbol.for("react.memo_cache_sentinel"))p=o(u,{children:["…………………",t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),t(u,{children:" "}),t(u,{backgroundColor:"clawd_body",children:" "}),"………………………………………………………………………………………………………………"]}),e[41]=p;else p=e[41];let A;if(e[42]!==m)A=t(Y,{width:K,children:o(u,{children:[m,n,b,f,_,y,h,C,S,w,g,O,c,R,k,p]})}),e[42]=m,e[43]=A;else A=e[43];return A}
|
|
2
|
+
export{c2 as O};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Zpa as y}from"./cli-0.7.0-8p56ked8.mjs";function $(q){return typeof q==="number"&&Number.isFinite(q)?q:0}function F(q,z){let B=q;for(let K of z){if(B==null||typeof B!=="object")return;B=B[K]}return B}function x(q){if(!q)return!1;let z="";try{z=new URL(q).hostname.toLowerCase()}catch{}if(!z){let W=q.toLowerCase();return W.includes("localhost")||W.includes("127.0.0.1")||W.includes("::1")}let B=z.startsWith("[")&&z.endsWith("]")?z.slice(1,-1):z;if(B==="localhost"||B.endsWith(".localhost")||B.endsWith(".local")||B.endsWith(".lan")||B.endsWith(".internal")||B.endsWith(".intranet")||B.endsWith(".home.arpa"))return!0;let K=B.match(U);if(K){let W=Number(K[1]),j=Number(K[2]);if(W===10)return!0;if(W===172&&j>=16&&j<=31)return!0;if(W===192&&j===168)return!0;if(W===127)return!0;if(W===169&&j===254)return!0;if(W===100&&j>=64&&j<=127)return!0}if(B==="::1"||B==="::")return!0;if(B.startsWith("fe80:")||f.test(B)||A.test(B))return!0;return!1}function N(q,z){if(q==="github")return z?.githubNativeAnthropic?"copilot-claude":"copilot";if(q==="firstParty"||q==="bedrock"||q==="vertex"||q==="foundry")return"anthropic";if(q==="gemini")return"gemini";if(q==="codex")return"codex";if(q==="openai"){let B=z?.openAiBaseUrl??"";if(x(B))return"self-hosted";let K=B.toLowerCase();if(K.includes(":11434"))return"ollama";if(K.includes("moonshot")||K.includes("kimi"))return"kimi";if(K.includes("deepseek"))return"deepseek";return"openai"}return"openai"}function D(q){if(!q||typeof q!=="object")return 0;let z=q,B=$(z.cache_read_input_tokens);if(B>0)return B;let K=$(F(q,["input_tokens_details","cached_tokens"]))||$(F(q,["prompt_tokens_details","cached_tokens"]));if(K>0)return K;let W=$(z.cached_tokens);if(W>0)return W;let j=$(z.prompt_cache_hit_tokens);if(j>0)return j;let Q=$(z.cached_content_token_count);if(Q>0)return Q;return 0}function Y(q){if(!q||typeof q!=="object")return 0;let B=$(q.cache_creation_input_tokens);if(B>0)return B;return $(F(q,["cache_creation","ephemeral_5m_input_tokens"]))+$(F(q,["cache_creation","ephemeral_1h_input_tokens"]))}function P(q){let z=D(q),B=q??{},K=$(B.input_tokens)||$(B.prompt_tokens),W=K>=z?K-z:K,j=$(B.output_tokens)||$(B.completion_tokens);return{input_tokens:W,output_tokens:j,cache_creation_input_tokens:Y(q),cache_read_input_tokens:z}}function M(q,z){if(!q||typeof q!=="object")return X;let B=q,K=$(B.cache_read_input_tokens),W=$(B.cache_creation_input_tokens),j=$(B.input_tokens);if(z==="copilot"||z==="ollama")return X;if(z==="self-hosted"&&K===0&&W===0)return X;let Q=K+W+j;return{read:K,created:W,total:Q,hitRate:Q>0?Math.min(1,K/Q):null,supported:!0}}function C(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";if(q.read===0&&q.created===0)return"[Cache: cold]";let z=[`${G(q.read)} read`];if(q.hitRate!==null)z.push(`hit ${Math.round(q.hitRate*100)}%`);return`[Cache: ${z.join(" • ")}]`}function I(q){if(!q)return"[Cache: N/A]";if(!q.supported)return"[Cache: N/A]";let z=[`read=${G(q.read)}`,`created=${G(q.created)}`];if(q.hitRate!==null)z.push(`hit=${Math.round(q.hitRate*100)}%`);else z.push("hit=n/a");return`[Cache: ${z.join(" ")}]`}function G(q){if(q<1000)return String(q);if(q<1e6)return`${(q/1000).toFixed(1).replace(Z,"")}k`;return`${(q/1e6).toFixed(1).replace(Z,"")}m`}function H(q,z){if(!q.supported&&!z.supported)return X;if(!q.supported)return z;if(!z.supported)return q;let B=q.read+z.read,K=q.created+z.created,W=q.total+z.total;return{read:B,created:K,total:W,hitRate:W>0?B/W:null,supported:!0}}var X,U,f,A,Z;var L=y(()=>{X={read:0,created:0,total:0,hitRate:null,supported:!1};U=/^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/,f=/^fc[0-9a-f]{0,2}:/,A=/^fd[0-9a-f]{0,2}:/,Z=/\.0$/});function S(q){return{currentTurn:V,session:V,history:Array(q),historyWriteIdx:0,historySize:0,historyMax:q}}function w(q,z){J.currentTurn=H(J.currentTurn,q),J.session=H(J.session,q);let B={timestamp:Date.now(),label:z,metrics:q};if(J.history[J.historyWriteIdx]=B,J.historyWriteIdx=(J.historyWriteIdx+1)%J.historyMax,J.historySize<J.historyMax)J.historySize++}function T(){J.currentTurn=V}function R(){J.currentTurn=V,J.session=V,J.history=Array(J.historyMax),J.historyWriteIdx=0,J.historySize=0}function b(){return J.currentTurn}function g(){return J.session}function l(){if(J.historySize<J.historyMax)return J.history.slice(0,J.historySize);let q=J.history.slice(J.historyWriteIdx),z=J.history.slice(0,J.historyWriteIdx);return q.concat(z)}var O=500,V,J;var k=y(()=>{L();V={read:0,created:0,total:0,hitRate:null,supported:!1};J=S(O)});
|
|
2
|
+
export{N as h1,P as i1,M as j1,C as k1,I as l1,L as m1,w as n1,T as o1,R as p1,b as q1,g as r1,l as s1,k as t1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{RX as Z,RZ as k,mZ as K}from"./cli-0.7.0-p9q4x3f1.mjs";import{Y1 as J,Z1 as H}from"./cli-0.7.0-wgy69726.mjs";import{f8 as v,g8 as Y}from"./cli-0.7.0-h6kfhzzd.mjs";import{Vpa as V,Zpa as X}from"./cli-0.7.0-8p56ked8.mjs";function N(M){let b=L.c(5),{status:P,withSpace:D}=M,Q=D===void 0?!1:D,q=A[P],z=!q.color,B=Q&&" ",y;if(b[0]!==q.color||b[1]!==q.icon||b[2]!==z||b[3]!==B)y=J(K,{color:q.color,dimColor:z,children:[q.icon,B]}),b[0]=q.color,b[1]=q.icon,b[2]=z,b[3]=B,b[4]=y;else y=b[4];return y}var L,A;var C=X(()=>{Y();k();H();L=V(Z(),1),A={success:{icon:v.tick,color:"success"},error:{icon:v.cross,color:"error"},warning:{icon:v.warning,color:"warning"},info:{icon:v.info,color:"suggestion"},pending:{icon:v.circle,color:void 0},loading:{icon:"…",color:void 0}}});
|
|
2
|
+
export{N as gh,C as hh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{ld as t,md as pJ}from"./cli-0.7.0-eddwmcdn.mjs";import{Qh as r,Rh as DJ}from"./cli-0.7.0-yw6r7fw4.mjs";import{Ay as x,Az as AJ,Hl as g,JE as l,JM as I,KE as HJ,Kl as _J,RP as P,TC as VJ,cS as OJ,hD as PJ,hm as c,iD as jJ,iG as T,mG as i,mj as u,nD as o,nG as n,nm as MJ,oD as yJ,oG as RJ,un as h,vk as zJ,zz as a}from"./cli-0.7.0-7g132rdj.mjs";import{X4 as YJ}from"./cli-0.7.0-9jzkqcfv.mjs";import{Fba as f,Gba as wJ,Rba as UJ,b_ as QJ,eea as O,fea as NJ,nea as B,vea as H,xba as m}from"./cli-0.7.0-h6kfhzzd.mjs";import{Hfa as ZJ}from"./cli-0.7.0-m07xma4d.mjs";import{gga as qJ}from"./cli-0.7.0-v6ceqq5f.mjs";import{Vga as R,Yga as y}from"./cli-0.7.0-0cp32djm.mjs";import{$ha as LJ,Gha as KJ,Kha as V,Oha as BJ,Yha as d}from"./cli-0.7.0-hrtdae85.mjs";import{xia as C}from"./cli-0.7.0-ba1xb8x3.mjs";import{Aia as U,Nia as WJ}from"./cli-0.7.0-na9s209m.mjs";import{fma as b,ooa as j,wla as F}from"./cli-0.7.0-x2vc8nds.mjs";import{Wpa as IJ}from"./cli-0.7.0-8p56ked8.mjs";yJ();DJ();j();ZJ();y();I();zJ();h();QJ();qJ();C();H();P();YJ();KJ();x();I();h();H();C();P();x();VJ();function D(){}j();y();NJ();LJ();WJ();BJ();AJ();UJ();H();i();HJ();OJ();RJ();wJ();MJ();_J();import{join as Q}from"path";var TJ=30;function L(){let q=((m()||{}).cleanupPeriodDays??TJ)*24*60*60*1000;return new Date(Date.now()-q)}function vJ(X,J){return{messages:X.messages+J.messages,errors:X.errors+J.errors}}function FJ(X){let J=X.split(".")[0].replace(/T(\d{2})-(\d{2})-(\d{2})-(\d{3})Z/,"T$1:$2:$3.$4Z");return new Date(J)}async function p(X,J,q){let $={messages:0,errors:0};try{let G=await V().readdir(X);for(let K of G)try{if(FJ(K.name)<J)if(await V().unlink(Q(X,K.name)),q)$.messages++;else $.errors++}catch(Y){B(Y)}}catch(G){if(G instanceof Error&&"code"in G&&G.code!=="ENOENT")B(G)}return $}async function bJ(){let X=V(),J=L(),q=O.errors(),$=O.baseLogs(),G=await p(q,J,!1);try{let K;try{K=await X.readdir($)}catch{return G}let Y=K.filter((Z)=>Z.isDirectory()&&Z.name.startsWith("mcp-logs-")).map((Z)=>Q($,Z.name));for(let Z of Y)G=vJ(G,await p(Z,J,!0)),await z(Z,X)}catch(K){if(K instanceof Error&&"code"in K&&K.code!=="ENOENT")B(K)}return G}async function w(X,J,q){if((await q.stat(X)).mtime<J)return await q.unlink(X),!0;return!1}async function z(X,J){try{await J.rmdir(X)}catch{}}async function SJ(){let X=L(),J={messages:0,errors:0},q=u(),$=V(),G;try{G=await $.readdir(q)}catch{return J}for(let K of G){if(!K.isDirectory())continue;let Y=Q(q,K.name),Z;try{Z=await $.readdir(Y)}catch{J.errors++;continue}for(let W of Z)if(W.isFile()){if(!W.name.endsWith(".jsonl")&&!W.name.endsWith(".cast"))continue;try{if(await w(Q(Y,W.name),X,$))J.messages++}catch{J.errors++}}else if(W.isDirectory()){let M=Q(Y,W.name),N=Q(M,c),S;try{S=await $.readdir(N)}catch{await z(M,$);continue}for(let _ of S)if(_.isFile())try{if(await w(Q(N,_.name),X,$))J.messages++}catch{J.errors++}else if(_.isDirectory()){let A=Q(N,_.name),k;try{k=await $.readdir(A)}catch{continue}for(let E of k){if(!E.isFile())continue;try{if(await w(Q(A,E.name),X,$))J.messages++}catch{J.errors++}}await z(A,$)}await z(N,$),await z(M,$)}await z(Y,$)}return J}async function kJ(X,J,q=!0){let $=L(),G={messages:0,errors:0},K=V(),Y;try{Y=await K.readdir(X)}catch{return G}for(let Z of Y){if(!Z.isFile()||!Z.name.endsWith(J))continue;try{if(await w(Q(X,Z.name),$,K))G.messages++}catch{G.errors++}}if(q)await z(X,K);return G}function EJ(){let X=Q(U(),"plans");return kJ(X,".md")}async function CJ(){let X=L(),J={messages:0,errors:0},q=V();try{let $=U(),G=Q($,"file-history"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Z)=>Z.isDirectory()).map((Z)=>Q(G,Z.name));await Promise.all(Y.map(async(Z)=>{try{if((await q.stat(Z)).mtime<X)await q.rm(Z,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}})),await z(G,q)}catch($){B($)}return J}async function hJ(){let X=L(),J={messages:0,errors:0},q=V();try{let $=U(),G=Q($,"session-env"),K;try{K=await q.readdir(G)}catch{return J}let Y=K.filter((Z)=>Z.isDirectory()).map((Z)=>Q(G,Z.name));for(let Z of Y)try{if((await q.stat(Z)).mtime<X)await q.rm(Z,{recursive:!0,force:!0}),J.messages++}catch{J.errors++}await z(G,q)}catch($){B($)}return J}async function xJ(){let X=L(),J={messages:0,errors:0},q=V(),$=Q(U(),"debug"),G;try{G=await q.readdir($)}catch{return J}for(let K of G){if(!K.isFile()||!K.name.endsWith(".txt")||K.name==="latest")continue;try{if(await w(Q($,K.name),X,q))J.messages++}catch{J.errors++}}return J}async function s(){let{errors:X}=n();if(X.length>0&&f("cleanupPeriodDays")){d("Skipping cleanup: settings have validation errors but cleanupPeriodDays was explicitly set. Fix settings errors to enable cleanup.");return}await bJ(),await SJ(),await EJ(),await CJ(),await hJ(),await xJ(),await a(),await l(L());let J=await g(L());if(J>0)R("tengu_worktree_cleanup",{removed:J})}i();pJ();var dJ=(jJ(),IJ(PJ));var v=600000;function iX(){r(),D(),dJ.initExtractMemories(),o(),t();let X=!0;async function J(){if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}if(X)X=!1,await s();if(b()&&F()>Date.now()-60000){setTimeout(J,v).unref();return}await T()}setTimeout(J,v).unref()}
|
|
2
|
+
export{iX as Y};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{f2 as N,g2 as V,h2 as D}from"./cli-0.7.0-zd1q68sv.mjs";import{E6 as x,F5 as Z,P2 as Y,U2 as _,e6 as J,g6 as $,j6 as B}from"./cli-0.7.0-9jzkqcfv.mjs";import{Oga as Q,Uga as P}from"./cli-0.7.0-y003ay15.mjs";import{Apa as R,ipa as X}from"./cli-0.7.0-sbwhas5a.mjs";import{Zpa as W}from"./cli-0.7.0-8p56ked8.mjs";function E(){let z=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",F=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claude-cli/99.0.0 (${process.env.CLAUDE_CODE_ENTRYPOINT??"cli"}${z}${F})`}function I(){let z=[];if(process.env.CLAUDE_CODE_ENTRYPOINT)z.push(process.env.CLAUDE_CODE_ENTRYPOINT);if(process.env.CLAUDE_AGENT_SDK_VERSION)z.push(`agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`);if(process.env.CLAUDE_AGENT_SDK_CLIENT_APP)z.push(`client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`);return`claude-code/99.0.0${z.length>0?` (${z.join(", ")})`:""}`}function w(){if(Y()==="firstParty")return`Claude-User (${N()}; +https://support.anthropic.com/)`;return`Claudin-User (${V()})`}function C(){if(B()){let F=J();if(!F?.accessToken)return{headers:{},error:"No OAuth token available"};return{headers:{Authorization:`Bearer ${F.accessToken}`,"anthropic-beta":Q}}}let z=Z();if(!z)return{headers:{},error:"No API key available"};return{headers:{"x-api-key":z}}}async function O(z,F){try{return await z()}catch(G){if(!X.isAxiosError(G))throw G;let L=G.response?.status;if(!(L===401||F?.also403Revoked&&L===403&&typeof G.response?.data==="string"&&G.response.data.includes("OAuth token has been revoked")))throw G;let M=J()?.accessToken;if(!M)throw G;return await $(M),await z()}}var H=W(()=>{R();P();x();_();D()});
|
|
2
|
+
export{E as $1,I as a2,w as b2,C as c2,O as d2,H as e2};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Zc as K,_c as Y}from"./cli-0.7.0-e1mycvjk.mjs";import{dl as G,el as B,il as U,jl as V,np as H,op as W,rL as J,zL as X}from"./cli-0.7.0-7g132rdj.mjs";import{Wpa as q,Zpa as v}from"./cli-0.7.0-8p56ked8.mjs";function P(h){return x.some((g)=>h.endsWith(g))}function C(h){return h.filter((g)=>G.has(g.name)||P(g.name))}function A(h,g,E){let[Q,Z]=K(H([...h,...g],"name"),J),k=($,j)=>$.name.localeCompare(j.name),w=[...Z.sort(k),...Q.sort(k)];if(z){if(z.isCoordinatorMode())return C(w)}return w}var x,z;var D=v(()=>{Y();W();B();X();x=["subscribe_pr_activity","unsubscribe_pr_activity"];z=(V(),q(U))});
|
|
2
|
+
export{P as Vc,C as Wc,A as Xc,D as Yc};
|