@claudiolabs/claudin 1.1.2 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +28 -24
- package/dist/chunks/AgentTool-1.1.4-3bagecge.mjs +1 -0
- package/dist/chunks/App-1.1.4-4g3dh0nx.mjs +1 -0
- package/dist/chunks/ApproveApiKey-1.1.4-jxeaz5zn.mjs +1 -0
- package/dist/chunks/AssistantSessionChooser-1.1.4-9w92vdx4.mjs +1 -0
- package/dist/chunks/AutoModeOptInDialog-1.1.4-x17tymwk.mjs +1 -0
- package/dist/chunks/BypassPermissionsModeDialog-1.1.4-7fg80a35.mjs +1 -0
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.4-094y677a.mjs +1 -0
- package/dist/chunks/ConsoleOAuthFlow-1.1.4-y4jsq70q.mjs +1 -0
- package/dist/chunks/DiffDialog-1.1.4-wwr5yxnw.mjs +7 -0
- package/dist/chunks/Doctor-1.1.4-6z4qt6jr.mjs +1 -0
- package/dist/chunks/ExplorerDialog-1.1.4-e5w2phrt.mjs +6 -0
- package/dist/chunks/Grove-1.1.4-yj7xbcnq.mjs +1 -0
- package/dist/chunks/ITermBackend-1.1.4-rgme07qr.mjs +1 -0
- package/dist/chunks/InvalidConfigDialog-1.1.4-nyd8ja4h.mjs +1 -0
- package/dist/chunks/InvalidSettingsDialog-1.1.4-899r2pfm.mjs +1 -0
- package/dist/chunks/MigrationDialog-1.1.4-749tfrvg.mjs +1 -0
- package/dist/chunks/Onboarding-1.1.4-f019rkkj.mjs +1 -0
- package/dist/chunks/ProviderManager-1.1.4-9239x3zp.mjs +1 -0
- package/dist/chunks/REPL-1.1.4-9nb68maq.mjs +1 -0
- package/dist/chunks/ResumeConversation-1.1.4-7sr86ks3.mjs +1 -0
- package/dist/chunks/SnapshotUpdateDialog-1.1.4-av1tzhr1.mjs +1 -0
- package/dist/chunks/TeleportProgress-1.1.4-s1g49h7t.mjs +1 -0
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.4-xq8vmgey.mjs +1 -0
- package/dist/chunks/TeleportResumeWrapper-1.1.4-nh55ntyd.mjs +1 -0
- package/dist/chunks/TmuxBackend-1.1.4-5gtjmz82.mjs +9 -0
- package/dist/chunks/ToolSearchTool-1.1.4-wk88hvrf.mjs +1 -0
- package/dist/chunks/TrustDialog-1.1.4-zvk6f63e.mjs +1 -0
- package/dist/chunks/activeProvider-1.1.4-3st8cbec.mjs +1 -0
- package/dist/chunks/add-dir-1.1.4-09gsa25v.mjs +1 -0
- package/dist/chunks/agentTypes-1.1.4-ee7w7dt5.mjs +1 -0
- package/dist/chunks/agents-1.1.4-8k4mrjt7.mjs +110 -0
- package/dist/chunks/agents-1.1.4-w929h9g2.mjs +3 -0
- package/dist/chunks/api-1.1.4-p7hbrnd7.mjs +1 -0
- package/dist/chunks/asciicast-1.1.4-7e877hqq.mjs +1 -0
- package/dist/chunks/assistant-1.1.4-jq08j7n1.mjs +1 -0
- package/dist/chunks/auth-1.1.4-d8jp870f.mjs +1 -0
- package/dist/chunks/auth-1.1.4-pjxgyew6.mjs +1 -0
- package/dist/chunks/autoMode-1.1.4-ar2t9451.mjs +48 -0
- package/dist/chunks/autoUpdater-1.1.4-6ywqc8jc.mjs +1 -0
- package/dist/chunks/backgroundHousekeeping-1.1.4-ymj2akh8.mjs +1 -0
- package/dist/chunks/branch-1.1.4-m28a3gah.mjs +4 -0
- package/dist/chunks/bridge-1.1.4-n515vy2d.mjs +2 -0
- package/dist/chunks/bridgeConfig-1.1.4-p3jq4sh0.mjs +1 -0
- package/dist/chunks/bridgeEnabled-1.1.4-0mda1at6.mjs +1 -0
- package/dist/chunks/bridgeMain-1.1.4-pya2apxm.mjs +88 -0
- package/dist/chunks/bridgePointer-1.1.4-qw0te2bm.mjs +1 -0
- package/dist/chunks/btw-1.1.4-fyx7t7q6.mjs +1 -0
- package/dist/chunks/buddy-1.1.4-hg600pq6.mjs +3 -0
- package/dist/chunks/cacache-1.1.4-ezqx7zp6.mjs +1 -0
- package/dist/chunks/cache-probe-1.1.4-zq67w2hp.mjs +21 -0
- package/dist/chunks/cacheStats-1.1.4-w4g7f1sd.mjs +4 -0
- package/dist/chunks/caches-1.1.4-smgwny8k.mjs +1 -0
- package/dist/chunks/claudeDesktop-1.1.4-09az178f.mjs +1 -0
- package/dist/chunks/claudemd-1.1.4-zkyggtev.mjs +1 -0
- package/dist/chunks/clear-1.1.4-jpcr7zvx.mjs +1 -0
- package/dist/chunks/clearTerminal-1.1.4-ncdjyhkh.mjs +1 -0
- package/dist/chunks/cli-1.1.4-081g3k6v.mjs +2 -0
- package/dist/chunks/cli-1.1.4-08dh9fvb.mjs +2 -0
- package/dist/chunks/cli-1.1.4-0a20jx5n.mjs +18 -0
- package/dist/chunks/cli-1.1.4-0earmzgk.mjs +12 -0
- package/dist/chunks/cli-1.1.4-0efkjzrt.mjs +18 -0
- package/dist/chunks/cli-1.1.4-0k0btfq4.mjs +2 -0
- package/dist/chunks/cli-1.1.4-0nxqjpe0.mjs +133 -0
- package/dist/chunks/cli-1.1.4-0r232fpm.mjs +2 -0
- package/dist/chunks/cli-1.1.4-0smy947g.mjs +2 -0
- package/dist/chunks/cli-1.1.4-0wp3qgzs.mjs +2 -0
- package/dist/chunks/cli-1.1.4-114zcxgj.mjs +2 -0
- package/dist/chunks/cli-1.1.4-17x2wrkx.mjs +2 -0
- package/dist/chunks/cli-1.1.4-181vbtfh.mjs +2 -0
- package/dist/chunks/cli-1.1.4-1bd9da9p.mjs +4 -0
- package/dist/chunks/cli-1.1.4-1f9d29qw.mjs +2 -0
- package/dist/chunks/cli-1.1.4-1gz31tm3.mjs +2 -0
- package/dist/chunks/cli-1.1.4-1kfdt9jy.mjs +2 -0
- package/dist/chunks/cli-1.1.4-2sdcr2b4.mjs +2 -0
- package/dist/chunks/cli-1.1.4-31av4ynk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-3556r6d1.mjs +2 -0
- package/dist/chunks/cli-1.1.4-3d01w53d.mjs +2 -0
- package/dist/chunks/cli-1.1.4-3yy14yyg.mjs +2 -0
- package/dist/chunks/cli-1.1.4-3zzdhas7.mjs +2 -0
- package/dist/chunks/cli-1.1.4-40z19hth.mjs +2 -0
- package/dist/chunks/cli-1.1.4-4cg8jz3d.mjs +2 -0
- package/dist/chunks/cli-1.1.4-4esthaz8.mjs +21 -0
- package/dist/chunks/cli-1.1.4-4qsk7zj5.mjs +2 -0
- package/dist/chunks/cli-1.1.4-4tywpfrb.mjs +3 -0
- package/dist/chunks/cli-1.1.4-4yte7brd.mjs +25 -0
- package/dist/chunks/cli-1.1.4-50ktv3m1.mjs +2 -0
- package/dist/chunks/cli-1.1.4-53fvpymg.mjs +6 -0
- package/dist/chunks/cli-1.1.4-56nffz3p.mjs +17 -0
- package/dist/chunks/cli-1.1.4-5dc9c513.mjs +3 -0
- package/dist/chunks/cli-1.1.4-5ebh6981.mjs +2 -0
- package/dist/chunks/cli-1.1.4-5g0b74dj.mjs +2 -0
- package/dist/chunks/cli-1.1.4-5hz878ns.mjs +2 -0
- package/dist/chunks/cli-1.1.4-64y9aspn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6c3fshef.mjs +202 -0
- package/dist/chunks/cli-1.1.4-6c5tryej.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6eacj91j.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6f472s2j.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6h6yt6jp.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6raycx0k.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6rkzmmby.mjs +2 -0
- package/dist/chunks/cli-1.1.4-6z69geef.mjs +5649 -0
- package/dist/chunks/cli-1.1.4-788c63fn.mjs +7 -0
- package/dist/chunks/cli-1.1.4-79y1pxkd.mjs +4 -0
- package/dist/chunks/cli-1.1.4-83vy9tsv.mjs +2 -0
- package/dist/chunks/cli-1.1.4-8hmaxd0s.mjs +2 -0
- package/dist/chunks/cli-1.1.4-8hr73xp2.mjs +2 -0
- package/dist/chunks/cli-1.1.4-8kx358k9.mjs +2 -0
- package/dist/chunks/cli-1.1.4-8rzb4wqq.mjs +4 -0
- package/dist/chunks/cli-1.1.4-99ept1n4.mjs +2 -0
- package/dist/chunks/cli-1.1.4-9cw2608s.mjs +2 -0
- package/dist/chunks/cli-1.1.4-9ms3b4tc.mjs +2 -0
- package/dist/chunks/cli-1.1.4-9tej4g5v.mjs +2 -0
- package/dist/chunks/cli-1.1.4-9x9a885k.mjs +17 -0
- package/dist/chunks/cli-1.1.4-a4fsxp91.mjs +2 -0
- package/dist/chunks/cli-1.1.4-aj4f4c5s.mjs +24 -0
- package/dist/chunks/cli-1.1.4-axp071a4.mjs +2 -0
- package/dist/chunks/cli-1.1.4-bhazhxsz.mjs +1 -0
- package/dist/chunks/cli-1.1.4-bnk38sjx.mjs +2 -0
- package/dist/chunks/cli-1.1.4-bx7r8yn5.mjs +2 -0
- package/dist/chunks/cli-1.1.4-bxd06hws.mjs +2 -0
- package/dist/chunks/cli-1.1.4-bxtvw0wr.mjs +2 -0
- package/dist/chunks/cli-1.1.4-c7a7aezt.mjs +2 -0
- package/dist/chunks/cli-1.1.4-cjw4z35m.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ck3xhtdn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ckmk4b1r.mjs +2 -0
- package/dist/chunks/cli-1.1.4-cknrfh5p.mjs +6 -0
- package/dist/chunks/cli-1.1.4-cp707f4g.mjs +2 -0
- package/dist/chunks/cli-1.1.4-cst0a515.mjs +3 -0
- package/dist/chunks/cli-1.1.4-cwnt4by7.mjs +2 -0
- package/dist/chunks/cli-1.1.4-cyy7hkcy.mjs +2 -0
- package/dist/chunks/cli-1.1.4-d5vhgtz3.mjs +2 -0
- package/dist/chunks/cli-1.1.4-d8mes9hb.mjs +2 -0
- package/dist/chunks/cli-1.1.4-da50kprz.mjs +2 -0
- package/dist/chunks/cli-1.1.4-dapq2czd.mjs +3 -0
- package/dist/chunks/cli-1.1.4-dnypqpw6.mjs +3 -0
- package/dist/chunks/cli-1.1.4-dwez6b01.mjs +2 -0
- package/dist/chunks/cli-1.1.4-e73hv9nk.mjs +4 -0
- package/dist/chunks/cli-1.1.4-edegax48.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ekbns70t.mjs +2 -0
- package/dist/chunks/cli-1.1.4-esw78wsd.mjs +2 -0
- package/dist/chunks/cli-1.1.4-etajychz.mjs +2 -0
- package/dist/chunks/cli-1.1.4-evye603x.mjs +5 -0
- package/dist/chunks/cli-1.1.4-ewczzrrj.mjs +24 -0
- package/dist/chunks/cli-1.1.4-f0ysrk67.mjs +2 -0
- package/dist/chunks/cli-1.1.4-f7y4b0px.mjs +2 -0
- package/dist/chunks/cli-1.1.4-fa18654s.mjs +2 -0
- package/dist/chunks/cli-1.1.4-fap2565a.mjs +15 -0
- package/dist/chunks/cli-1.1.4-fejb0548.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ffgmpsez.mjs +133 -0
- package/dist/chunks/cli-1.1.4-fk420f57.mjs +16 -0
- package/dist/chunks/cli-1.1.4-g21fhx9n.mjs +9 -0
- package/dist/chunks/cli-1.1.4-g6nryz17.mjs +2 -0
- package/dist/chunks/cli-1.1.4-g8kh8f9a.mjs +2 -0
- package/dist/chunks/cli-1.1.4-gag1dbkn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-gc3kgy7y.mjs +2 -0
- package/dist/chunks/cli-1.1.4-gey397p1.mjs +2 -0
- package/dist/chunks/cli-1.1.4-gfbktjpn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ghf3bx8w.mjs +20 -0
- package/dist/chunks/cli-1.1.4-gpskbg68.mjs +2 -0
- package/dist/chunks/cli-1.1.4-h2a0peqc.mjs +18 -0
- package/dist/chunks/cli-1.1.4-h3nq6gg2.mjs +12 -0
- package/dist/chunks/cli-1.1.4-h4pjzspp.mjs +58 -0
- package/dist/chunks/cli-1.1.4-ha2bfn8a.mjs +2 -0
- package/dist/chunks/cli-1.1.4-hbx9ye2g.mjs +2 -0
- package/dist/chunks/cli-1.1.4-hcp2cxz5.mjs +25 -0
- package/dist/chunks/cli-1.1.4-hdwdbbzk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-hmg1r8h3.mjs +12 -0
- package/dist/chunks/cli-1.1.4-hzx821eq.mjs +4 -0
- package/dist/chunks/cli-1.1.4-j2khf9zj.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ja9ebt3p.mjs +2 -0
- package/dist/chunks/cli-1.1.4-jbsj8fj7.mjs +2 -0
- package/dist/chunks/cli-1.1.4-je9x0pvr.mjs +2 -0
- package/dist/chunks/cli-1.1.4-jeyegjk6.mjs +2 -0
- package/dist/chunks/cli-1.1.4-jf48e5ft.mjs +24 -0
- package/dist/chunks/cli-1.1.4-jn9kbkbv.mjs +2 -0
- package/dist/chunks/cli-1.1.4-jscqx4px.mjs +2 -0
- package/dist/chunks/cli-1.1.4-k65j1mxk.mjs +9 -0
- package/dist/chunks/cli-1.1.4-k6ebhyp0.mjs +2 -0
- package/dist/chunks/cli-1.1.4-kcm529kx.mjs +2 -0
- package/dist/chunks/cli-1.1.4-m11fz0v8.mjs +2 -0
- package/dist/chunks/cli-1.1.4-m312ygm6.mjs +2 -0
- package/dist/chunks/cli-1.1.4-m3gsmnfa.mjs +2 -0
- package/dist/chunks/cli-1.1.4-m3hgkj60.mjs +2 -0
- package/dist/chunks/cli-1.1.4-memqhcjv.mjs +2 -0
- package/dist/chunks/cli-1.1.4-mjhchkyc.mjs +50 -0
- package/dist/chunks/cli-1.1.4-mjtadp4r.mjs +2 -0
- package/dist/chunks/cli-1.1.4-mkk6fe3z.mjs +2 -0
- package/dist/chunks/cli-1.1.4-mvy2zgjw.mjs +3 -0
- package/dist/chunks/cli-1.1.4-my1g33fn.mjs +3 -0
- package/dist/chunks/cli-1.1.4-mzzr964a.mjs +67 -0
- package/dist/chunks/cli-1.1.4-n1e8vyg8.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ncmgrms7.mjs +2 -0
- package/dist/chunks/cli-1.1.4-nh3sscxn.mjs +59 -0
- package/dist/chunks/cli-1.1.4-nkf9c3yn.mjs +5 -0
- package/dist/chunks/cli-1.1.4-nmjtqjhh.mjs +2 -0
- package/dist/chunks/cli-1.1.4-p2223zcm.mjs +2 -0
- package/dist/chunks/cli-1.1.4-p7tcq8ah.mjs +6 -0
- package/dist/chunks/cli-1.1.4-p7xh8tgn.mjs +2 -0
- package/dist/chunks/cli-1.1.4-p81w8zaj.mjs +8 -0
- package/dist/chunks/cli-1.1.4-phjb22vy.mjs +2 -0
- package/dist/chunks/cli-1.1.4-phv78vpk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-pq6xvrw7.mjs +15 -0
- package/dist/chunks/cli-1.1.4-q0acv376.mjs +3 -0
- package/dist/chunks/cli-1.1.4-q6cngbfg.mjs +2 -0
- package/dist/chunks/cli-1.1.4-qe35eyha.mjs +6 -0
- package/dist/chunks/cli-1.1.4-qecgken2.mjs +2 -0
- package/dist/chunks/cli-1.1.4-qf46ypfr.mjs +2 -0
- package/dist/chunks/cli-1.1.4-qjgn7a4a.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rc28sjtd.mjs +4 -0
- package/dist/chunks/cli-1.1.4-rh4x4rv5.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rhexcyth.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rmpkkwfr.mjs +42 -0
- package/dist/chunks/cli-1.1.4-rqwqskb2.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rv3se129.mjs +2 -0
- package/dist/chunks/cli-1.1.4-rwz7t3ph.mjs +2 -0
- package/dist/chunks/cli-1.1.4-s26ny46b.mjs +4 -0
- package/dist/chunks/cli-1.1.4-scm26s6m.mjs +34 -0
- package/dist/chunks/cli-1.1.4-shrznr3s.mjs +2 -0
- package/dist/chunks/cli-1.1.4-sm3xmtbn.mjs +6 -0
- package/dist/chunks/cli-1.1.4-smjkhzzj.mjs +4 -0
- package/dist/chunks/cli-1.1.4-ss2jxen1.mjs +2 -0
- package/dist/chunks/cli-1.1.4-te2372tc.mjs +2 -0
- package/dist/chunks/cli-1.1.4-tmrxfcjm.mjs +2 -0
- package/dist/chunks/cli-1.1.4-tsspgj1c.mjs +2 -0
- package/dist/chunks/cli-1.1.4-v67jx2fw.mjs +2 -0
- package/dist/chunks/cli-1.1.4-v85q5z49.mjs +3 -0
- package/dist/chunks/cli-1.1.4-vajq2dgc.mjs +4 -0
- package/dist/chunks/cli-1.1.4-vcg96p1c.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vdd43cyp.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vgk1xqxb.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vjfpgnyr.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vk7mw9e1.mjs +39 -0
- package/dist/chunks/cli-1.1.4-vpkm2gfp.mjs +4 -0
- package/dist/chunks/cli-1.1.4-vq2bkg07.mjs +2 -0
- package/dist/chunks/cli-1.1.4-vye1xark.mjs +2 -0
- package/dist/chunks/cli-1.1.4-w06xm7pk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-w11nd4na.mjs +2 -0
- package/dist/chunks/cli-1.1.4-w4b4vhj9.mjs +2 -0
- package/dist/chunks/cli-1.1.4-wqxnhcfg.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ws4wcqma.mjs +2 -0
- package/dist/chunks/cli-1.1.4-wt23b5bp.mjs +2 -0
- package/dist/chunks/cli-1.1.4-wtcyy8sp.mjs +4 -0
- package/dist/chunks/cli-1.1.4-wx5t4xvj.mjs +3 -0
- package/dist/chunks/cli-1.1.4-x6hb06sj.mjs +2 -0
- package/dist/chunks/cli-1.1.4-x8m7spde.mjs +2 -0
- package/dist/chunks/cli-1.1.4-x90d3r95.mjs +2 -0
- package/dist/chunks/cli-1.1.4-xdqj8a4v.mjs +45 -0
- package/dist/chunks/cli-1.1.4-xxe2ztwq.mjs +2 -0
- package/dist/chunks/cli-1.1.4-y94ewbpk.mjs +2 -0
- package/dist/chunks/cli-1.1.4-ymrjsf78.mjs +2 -0
- package/dist/chunks/cli-1.1.4-yncbc1sd.mjs +2 -0
- package/dist/chunks/cli-1.1.4-yprszvr2.mjs +2 -0
- package/dist/chunks/cli-1.1.4-yz3t1wmd.mjs +2 -0
- package/dist/chunks/cli-1.1.4-z6qrcsfa.mjs +2 -0
- package/dist/chunks/cli-1.1.4-z8f8hc8t.mjs +12 -0
- package/dist/chunks/cli-1.1.4-z9z0gn83.mjs +15 -0
- package/dist/chunks/cli-1.1.4-zavkgdrm.mjs +2 -0
- package/dist/chunks/cli-1.1.4-zc29khqe.mjs +3 -0
- package/dist/chunks/cli-1.1.4-zp0vvhas.mjs +3 -0
- package/dist/chunks/client-1.1.4-pb5ebapt.mjs +1 -0
- package/dist/chunks/color-1.1.4-f1seyygj.mjs +1 -0
- package/dist/chunks/compact-1.1.4-2a7cwaxp.mjs +3 -0
- package/dist/chunks/config-1.1.4-j2wjnxkk.mjs +1 -0
- package/dist/chunks/config-1.1.4-jb46a3qp.mjs +1 -0
- package/dist/chunks/constants-1.1.4-cspjb06k.mjs +1 -0
- package/dist/chunks/context-1.1.4-dmyt4w9f.mjs +1 -0
- package/dist/chunks/context-noninteractive-1.1.4-ckp0m156.mjs +1 -0
- package/dist/chunks/conversation-1.1.4-2grxgxr1.mjs +1 -0
- package/dist/chunks/copilotHeaders-1.1.4-chappesc.mjs +1 -0
- package/dist/chunks/copy-1.1.4-7hw0khh4.mjs +9 -0
- package/dist/chunks/cost-1.1.4-kqvvdsab.mjs +1 -0
- package/dist/chunks/createSSHSession-1.1.4-ezqvt66q.mjs +1 -0
- package/dist/chunks/createSession-1.1.4-739bg1q2.mjs +1 -0
- package/dist/chunks/debug-1.1.4-4v8k6t8p.mjs +1 -0
- package/dist/chunks/defaultActionDeps-1.1.4-07fhy4qs.mjs +1446 -0
- package/dist/chunks/desktop-1.1.4-z8nhvfc9.mjs +1 -0
- package/dist/chunks/detectRepository-1.1.4-qs08vv7k.mjs +1 -0
- package/dist/chunks/detection-1.1.4-knvchyz7.mjs +1 -0
- package/dist/chunks/diff-1.1.4-9k603anv.mjs +1 -0
- package/dist/chunks/doctor-1.1.4-76x4k1e3.mjs +1 -0
- package/dist/chunks/doctorDiagnostic-1.1.4-dw4gjch2.mjs +1 -0
- package/dist/chunks/earlyInput-1.1.4-wmn2wrxh.mjs +1 -0
- package/dist/chunks/effort-1.1.4-2bfyta5f.mjs +13 -0
- package/dist/chunks/engine-1.1.4-ds4tzxqb.mjs +1 -0
- package/dist/chunks/envLessBridgeConfig-1.1.4-k2f2p556.mjs +1 -0
- package/dist/chunks/envUtils-1.1.4-h0e2k0kk.mjs +1 -0
- package/dist/chunks/environmentSelection-1.1.4-zgvjnc3b.mjs +1 -0
- package/dist/chunks/environments-1.1.4-vvw6w76p.mjs +1 -0
- package/dist/chunks/errors-1.1.4-k81rbfst.mjs +1 -0
- package/dist/chunks/exampleCommands-1.1.4-7d1r2j0f.mjs +1 -0
- package/dist/chunks/execFileNoThrow-1.1.4-txkdgph9.mjs +1 -0
- package/dist/chunks/exit-1.1.4-nmtqhsmh.mjs +1 -0
- package/dist/chunks/explorer-1.1.4-z2tjcn1k.mjs +1 -0
- package/dist/chunks/export-1.1.4-sqtrqjrr.mjs +2 -0
- package/dist/chunks/extra-usage-1.1.4-9vjje6h3.mjs +1 -0
- package/dist/chunks/extra-usage-noninteractive-1.1.4-x9nwrrw4.mjs +1 -0
- package/dist/chunks/fast-1.1.4-2jebnd2f.mjs +1 -0
- package/dist/chunks/feedback-1.1.4-axgmd5k0.mjs +14 -0
- package/dist/chunks/firstPartyEventLogger-1.1.4-ftjf0rjy.mjs +1 -0
- package/dist/chunks/git-1.1.4-ress16mq.mjs +1 -0
- package/dist/chunks/githubModelsCredentials-1.1.4-dvpz9d06.mjs +1 -0
- package/dist/chunks/goal-1.1.4-d5hgcz3t.mjs +4 -0
- package/dist/chunks/grove-1.1.4-ag51yh4b.mjs +1 -0
- package/dist/chunks/growthbook-1.1.4-2khgq1sm.mjs +1 -0
- package/dist/chunks/headless-1.1.4-833q6qkz.mjs +2 -0
- package/dist/chunks/heapdump-1.1.4-d7hqys06.mjs +6 -0
- package/dist/chunks/help-1.1.4-35bcy608.mjs +1 -0
- package/dist/chunks/hookChains-1.1.4-fcp2d666.mjs +3 -0
- package/dist/chunks/hooks-1.1.4-h1zy1fdm.mjs +1 -0
- package/dist/chunks/hooks-1.1.4-mwnf6vn4.mjs +79 -0
- package/dist/chunks/ide-1.1.4-5bagw4sy.mjs +3 -0
- package/dist/chunks/image-processor-napi-1.1.4-rfdtmnfq.mjs +1 -0
- package/dist/chunks/inboundAttachments-1.1.4-kj5ne7t9.mjs +1 -0
- package/dist/chunks/index-1.1.4-0mcg1bj0.mjs +1 -0
- package/dist/chunks/index-1.1.4-0tamkcjt.mjs +1 -0
- package/dist/chunks/index-1.1.4-2czk0cj2.mjs +2 -0
- package/dist/chunks/index-1.1.4-4pzf6k4d.mjs +1 -0
- package/dist/chunks/index-1.1.4-5ff5qxrs.mjs +1 -0
- package/dist/chunks/index-1.1.4-6gmnecfx.mjs +1 -0
- package/dist/chunks/index-1.1.4-6xgr5zyz.mjs +1 -0
- package/dist/chunks/index-1.1.4-9yayje25.mjs +1 -0
- package/dist/chunks/index-1.1.4-ekp3k254.mjs +1 -0
- package/dist/chunks/index-1.1.4-g4bsry7f.mjs +1 -0
- package/dist/chunks/index-1.1.4-gfbrd9p0.mjs +1 -0
- package/dist/chunks/index-1.1.4-jk66219f.mjs +30 -0
- package/dist/chunks/index-1.1.4-m5859ars.mjs +5 -0
- package/dist/chunks/index-1.1.4-m5kxdznq.mjs +1 -0
- package/dist/chunks/index-1.1.4-mr07jhdc.mjs +1 -0
- package/dist/chunks/index-1.1.4-mw4k6wk5.mjs +17 -0
- package/dist/chunks/index-1.1.4-nx0c7851.mjs +9 -0
- package/dist/chunks/index-1.1.4-p4az8jd4.mjs +9 -0
- package/dist/chunks/index-1.1.4-s48qa1fv.mjs +1 -0
- package/dist/chunks/index-1.1.4-svjv72c1.mjs +1 -0
- package/dist/chunks/index-1.1.4-tjmw2wk0.mjs +1 -0
- package/dist/chunks/index-1.1.4-v1z11db7.mjs +1 -0
- package/dist/chunks/index-1.1.4-wkgybs2k.mjs +2 -0
- package/dist/chunks/init-1.1.4-gggf2npg.mjs +1 -0
- package/dist/chunks/initReplBridge-1.1.4-0sk4h8a1.mjs +1 -0
- package/dist/chunks/ink-1.1.4-vw46vbtt.mjs +1 -0
- package/dist/chunks/insights-1.1.4-vjtfwa5p.mjs +870 -0
- package/dist/chunks/install-1.1.4-2ckjxcbg.mjs +1 -0
- package/dist/chunks/install-github-app-1.1.4-e0tfdyjj.mjs +149 -0
- package/dist/chunks/install-slack-app-1.1.4-j30f897r.mjs +1 -0
- package/dist/chunks/instrumentation-1.1.4-3dd1n7rj.mjs +1 -0
- package/dist/chunks/interactiveHelpers-1.1.4-mz31r39t.mjs +1 -0
- package/dist/chunks/keybindings-1.1.4-3rx2vnv0.mjs +2 -0
- package/dist/chunks/knowledge-1.1.4-c30znbjx.mjs +2 -0
- package/dist/chunks/latestVersionCache-1.1.4-ftdcy7g4.mjs +1 -0
- package/dist/chunks/loadAgentsDir-1.1.4-mqdb78s1.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.4-72qxyq0t.mjs +1 -0
- package/dist/chunks/loadPluginHooks-1.1.4-b0wchh9x.mjs +1 -0
- package/dist/chunks/log-1.1.4-2xexxfy0.mjs +1 -0
- package/dist/chunks/main-1.1.4-wapb45da.mjs +1 -0
- package/dist/chunks/managedEnv-1.1.4-qyy8p7f2.mjs +1 -0
- package/dist/chunks/mcp-1.1.4-h54pt8v1.mjs +1 -0
- package/dist/chunks/mcp-1.1.4-rc4pdtng.mjs +4 -0
- package/dist/chunks/mcp-1.1.4-yfnk4mfe.mjs +17 -0
- package/dist/chunks/mcpb-1.1.4-cw5mvq0x.mjs +1 -0
- package/dist/chunks/memory-1.1.4-eqm9fevt.mjs +72 -0
- package/dist/chunks/model-1.1.4-v0jfcnn8.mjs +2 -0
- package/dist/chunks/model-1.1.4-x8a7yhj1.mjs +1 -0
- package/dist/chunks/node-1.1.4-zfc18psp.mjs +12 -0
- package/dist/chunks/oauth-1.1.4-8spjkywn.mjs +1 -0
- package/dist/chunks/openaiShim-1.1.4-k4q3wjsg.mjs +14 -0
- package/dist/chunks/output-style-1.1.4-36tkstrg.mjs +1 -0
- package/dist/chunks/package-2VNCXFNY-1.1.4-b7m4p873.mjs +1 -0
- package/dist/chunks/parseConnectUrl-1.1.4-g49z58pt.mjs +1 -0
- package/dist/chunks/parser-1.1.4-f8fmbx75.mjs +1 -0
- package/dist/chunks/passes-1.1.4-fps8mejy.mjs +1 -0
- package/dist/chunks/permissions-1.1.4-38svh1zd.mjs +3 -0
- package/dist/chunks/permissions-1.1.4-4g141c3c.mjs +1 -0
- package/dist/chunks/plan-1.1.4-66evqh4y.mjs +1 -0
- package/dist/chunks/plist-1.1.4-fx2qbcnp.mjs +1 -0
- package/dist/chunks/plugin-1.1.4-jjtcjgyk.mjs +29 -0
- package/dist/chunks/pluginStartupCheck-1.1.4-fhbmfyn5.mjs +1 -0
- package/dist/chunks/plugins-1.1.4-thxg4cdf.mjs +9 -0
- package/dist/chunks/preActionHook-1.1.4-042npmm1.mjs +2 -0
- package/dist/chunks/print-1.1.4-fxrwvp78.mjs +57 -0
- package/dist/chunks/privacy-settings-1.1.4-mmhqzkda.mjs +1 -0
- package/dist/chunks/process-1.1.4-pjq03ry2.mjs +1 -0
- package/dist/chunks/processBashCommand-1.1.4-1f4rqd6y.mjs +1 -0
- package/dist/chunks/processSlashCommand-1.1.4-rpcrfdgr.mjs +9 -0
- package/dist/chunks/prompt-1.1.4-29b0dwtk.mjs +1 -0
- package/dist/chunks/prompt-1.1.4-r7wxvh91.mjs +1 -0
- package/dist/chunks/prompts-1.1.4-26y972y6.mjs +1 -0
- package/dist/chunks/protocolHandler-1.1.4-7zfqar8j.mjs +13 -0
- package/dist/chunks/provider-1.1.4-g97havfk.mjs +2 -0
- package/dist/chunks/providerProfiles-1.1.4-v8yppf0j.mjs +1 -0
- package/dist/chunks/providerValidation-1.1.4-sr2vhead.mjs +6 -0
- package/dist/chunks/rate-limit-options-1.1.4-bndvfd35.mjs +1 -0
- package/dist/chunks/registerSubcommands-1.1.4-abyv44kq.mjs +34 -0
- package/dist/chunks/registry-1.1.4-2dkk6scg.mjs +1 -0
- package/dist/chunks/release-notes-1.1.4-0aqxbex3.mjs +5 -0
- package/dist/chunks/reload-plugins-1.1.4-gat28fq4.mjs +2 -0
- package/dist/chunks/remote-env-1.1.4-sn5rdvx2.mjs +1 -0
- package/dist/chunks/remoteBridgeCore-1.1.4-pd63jnee.mjs +1 -0
- package/dist/chunks/remoteSession-1.1.4-0wk0yffw.mjs +1 -0
- package/dist/chunks/rename-1.1.4-r9a1zc1y.mjs +1 -0
- package/dist/chunks/replBridgeHandle-1.1.4-rb9fzpda.mjs +1 -0
- package/dist/chunks/replLauncher-1.1.4-cvcyz94s.mjs +1 -0
- package/dist/chunks/resume-1.1.4-3qy136p1.mjs +2 -0
- package/dist/chunks/rewind-1.1.4-c9gdxp13.mjs +1 -0
- package/dist/chunks/rootOptions-1.1.4-6zd74fce.mjs +1 -0
- package/dist/chunks/runWorkflowHeadless-1.1.4-mvj2fn0p.mjs +10 -0
- package/dist/chunks/sandbox-adapter-1.1.4-j6cfgrhj.mjs +1 -0
- package/dist/chunks/sandbox-toggle-1.1.4-4a59zac7.mjs +1 -0
- package/dist/chunks/session-1.1.4-5504ewv9.mjs +2 -0
- package/dist/chunks/sessionDiscovery-1.1.4-0jmcbvvb.mjs +1 -0
- package/dist/chunks/sessionFileAccessHooks-1.1.4-bkw8bzvd.mjs +1 -0
- package/dist/chunks/sessionStorage-1.1.4-jrxy5nwv.mjs +1 -0
- package/dist/chunks/settings-1.1.4-x2nhddwq.mjs +1 -0
- package/dist/chunks/setup-1.1.4-kaet4ypb.mjs +5 -0
- package/dist/chunks/sinks-1.1.4-9g0pah73.mjs +1 -0
- package/dist/chunks/skills-1.1.4-0p66nwxp.mjs +1 -0
- package/dist/chunks/startupProfiler-1.1.4-8jnqyvyn.mjs +1 -0
- package/dist/chunks/startupUpdateCheck-1.1.4-98n3b718.mjs +1 -0
- package/dist/chunks/state-1.1.4-rm5651xg.mjs +1 -0
- package/dist/chunks/stats-1.1.4-e1vedz6r.mjs +6 -0
- package/dist/chunks/status-1.1.4-v47t86mv.mjs +1 -0
- package/dist/chunks/stickers-1.1.4-5d457j1w.mjs +1 -0
- package/dist/chunks/subprocessEnv-1.1.4-svxhss0m.mjs +1 -0
- package/dist/chunks/tasks-1.1.4-cvza9kpf.mjs +1 -0
- package/dist/chunks/teamHelpers-1.1.4-v21fjxgf.mjs +1 -0
- package/dist/chunks/teammateModeSnapshot-1.1.4-8075wryx.mjs +1 -0
- package/dist/chunks/teleport-1.1.4-6rxc18rz.mjs +1 -0
- package/dist/chunks/terminalSetup-1.1.4-sd7720mx.mjs +1 -0
- package/dist/chunks/theme-1.1.4-6pphnv8h.mjs +1 -0
- package/dist/chunks/thinkback-1.1.4-wd6fcgyw.mjs +1 -0
- package/dist/chunks/thinkback-play-1.1.4-ydvvq4y6.mjs +1 -0
- package/dist/chunks/toolPool-1.1.4-v050m5b8.mjs +1 -0
- package/dist/chunks/toolSearch-1.1.4-wg2kk5a2.mjs +1 -0
- package/dist/chunks/tools-1.1.4-g181kv47.mjs +1 -0
- package/dist/chunks/trustedDevice-1.1.4-tdeqsy06.mjs +1 -0
- package/dist/chunks/turndown.cjs-1.1.4-sj3ajz7z.mjs +69 -0
- package/dist/chunks/types-1.1.4-ggcwt1pq.mjs +1 -0
- package/dist/chunks/ultrareviewCommand-1.1.4-nrnrb8c3.mjs +4 -0
- package/dist/chunks/update-1.1.4-z8g0pneq.mjs +72 -0
- package/dist/chunks/upgrade-1.1.4-e34ebc9z.mjs +1 -0
- package/dist/chunks/upload-1.1.4-2av9969z.mjs +7 -0
- package/dist/chunks/upstreamproxy-1.1.4-e3t0n54y.mjs +14 -0
- package/dist/chunks/url-handler-napi-1.1.4-hghknwdd.mjs +1 -0
- package/dist/chunks/usage-1.1.4-wc38b22t.mjs +1 -0
- package/dist/chunks/util-1.1.4-re2ggpra.mjs +1 -0
- package/dist/chunks/utils-1.1.4-xzem7sm6.mjs +1 -0
- package/dist/chunks/vim-1.1.4-ybw4ky04.mjs +1 -0
- package/dist/chunks/watchLoop-1.1.4-mshcfcqq.mjs +13 -0
- package/dist/chunks/watcher-1.1.4-fbr5em87.mjs +1 -0
- package/dist/chunks/wiki-1.1.4-hddnvztx.mjs +132 -0
- package/dist/chunks/workflows-1.1.4-5zm6r9s5.mjs +1 -0
- package/dist/chunks/worktree-1.1.4-6xqk6k5z.mjs +1 -0
- package/dist/chunks/worktreeModeEnabled-1.1.4-axxnvhc8.mjs +1 -0
- package/dist/chunks/wrapper-1.1.4-y14g4zah.mjs +7 -0
- package/dist/cli.mjs +2 -2
- package/package.json +9 -9
- package/dist/chunks/AgentTool-1.1.2-6zb8pht6.mjs +0 -1
- package/dist/chunks/App-1.1.2-8j8hmwy9.mjs +0 -1
- package/dist/chunks/ApproveApiKey-1.1.2-ejb1881w.mjs +0 -1
- package/dist/chunks/AssistantSessionChooser-1.1.2-y7hdgasp.mjs +0 -1
- package/dist/chunks/AutoModeOptInDialog-1.1.2-b2ckdy5h.mjs +0 -1
- package/dist/chunks/BypassPermissionsModeDialog-1.1.2-nk59yp5m.mjs +0 -1
- package/dist/chunks/ClaudeMdExternalIncludesDialog-1.1.2-t6wsf59z.mjs +0 -1
- package/dist/chunks/ConsoleOAuthFlow-1.1.2-ehy8cjkp.mjs +0 -1
- package/dist/chunks/DiffDialog-1.1.2-2834m4pm.mjs +0 -7
- package/dist/chunks/Doctor-1.1.2-rrjcjsbd.mjs +0 -1
- package/dist/chunks/ExplorerDialog-1.1.2-a4eqp58y.mjs +0 -6
- package/dist/chunks/Grove-1.1.2-e07ta9pa.mjs +0 -1
- package/dist/chunks/ITermBackend-1.1.2-mdqpkv6t.mjs +0 -1
- package/dist/chunks/InvalidConfigDialog-1.1.2-fwghx005.mjs +0 -1
- package/dist/chunks/InvalidSettingsDialog-1.1.2-47vmakv0.mjs +0 -1
- package/dist/chunks/MigrationDialog-1.1.2-tphw5gq9.mjs +0 -1
- package/dist/chunks/Onboarding-1.1.2-a645a6a2.mjs +0 -1
- package/dist/chunks/ProviderManager-1.1.2-48xvht72.mjs +0 -1
- package/dist/chunks/REPL-1.1.2-a2z2r0kz.mjs +0 -1
- package/dist/chunks/ResumeConversation-1.1.2-avb3zbsn.mjs +0 -1
- package/dist/chunks/SnapshotUpdateDialog-1.1.2-r8c624d9.mjs +0 -1
- package/dist/chunks/TeleportProgress-1.1.2-1mmfypbv.mjs +0 -1
- package/dist/chunks/TeleportRepoMismatchDialog-1.1.2-ky4az8t9.mjs +0 -1
- package/dist/chunks/TeleportResumeWrapper-1.1.2-w72b36j1.mjs +0 -1
- package/dist/chunks/TmuxBackend-1.1.2-ejx4rvac.mjs +0 -9
- package/dist/chunks/ToolSearchTool-1.1.2-5m2ekdy4.mjs +0 -1
- package/dist/chunks/TrustDialog-1.1.2-b7q0fb2j.mjs +0 -1
- package/dist/chunks/activeProvider-1.1.2-j0pztex4.mjs +0 -1
- package/dist/chunks/add-dir-1.1.2-fzpmgh1h.mjs +0 -1
- package/dist/chunks/agentTypes-1.1.2-vr9770fz.mjs +0 -1
- package/dist/chunks/agents-1.1.2-n6dejn00.mjs +0 -3
- package/dist/chunks/agents-1.1.2-rxkey856.mjs +0 -110
- package/dist/chunks/api-1.1.2-fpd74byc.mjs +0 -1
- package/dist/chunks/asciicast-1.1.2-0nvcvhqa.mjs +0 -1
- package/dist/chunks/assistant-1.1.2-ywzgwzmt.mjs +0 -1
- package/dist/chunks/auth-1.1.2-cg0svgv7.mjs +0 -1
- package/dist/chunks/auth-1.1.2-s45hhsck.mjs +0 -1
- package/dist/chunks/autoMode-1.1.2-6q0pp71h.mjs +0 -48
- package/dist/chunks/autoUpdater-1.1.2-bnwzvzbf.mjs +0 -1
- package/dist/chunks/backgroundHousekeeping-1.1.2-meh5zm3k.mjs +0 -1
- package/dist/chunks/branch-1.1.2-exyc66rb.mjs +0 -4
- package/dist/chunks/bridge-1.1.2-zvk3eymq.mjs +0 -2
- package/dist/chunks/bridgeConfig-1.1.2-mr20ypjr.mjs +0 -1
- package/dist/chunks/bridgeEnabled-1.1.2-s41251vp.mjs +0 -1
- package/dist/chunks/bridgeMain-1.1.2-tse9m0x8.mjs +0 -88
- package/dist/chunks/bridgePointer-1.1.2-grjrm008.mjs +0 -1
- package/dist/chunks/btw-1.1.2-6xz6s5f3.mjs +0 -1
- package/dist/chunks/buddy-1.1.2-zsy6mntg.mjs +0 -3
- package/dist/chunks/cacache-1.1.2-pr00fyac.mjs +0 -1
- package/dist/chunks/cache-probe-1.1.2-dd1ch184.mjs +0 -21
- package/dist/chunks/cacheStats-1.1.2-xnm7ts60.mjs +0 -4
- package/dist/chunks/caches-1.1.2-s4tektt8.mjs +0 -1
- package/dist/chunks/claudeDesktop-1.1.2-krejmvza.mjs +0 -1
- package/dist/chunks/claudemd-1.1.2-g1dwsxtx.mjs +0 -1
- package/dist/chunks/clear-1.1.2-5fz98qqy.mjs +0 -1
- package/dist/chunks/clearTerminal-1.1.2-heqmh2ay.mjs +0 -1
- package/dist/chunks/cli-1.1.2-00hggnnf.mjs +0 -9
- package/dist/chunks/cli-1.1.2-06gbqkw3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-06wg9ep0.mjs +0 -2
- package/dist/chunks/cli-1.1.2-0q8k3447.mjs +0 -2
- package/dist/chunks/cli-1.1.2-10g0wy7w.mjs +0 -2
- package/dist/chunks/cli-1.1.2-12xajsdg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-1a35rnqk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-1kqxt2v2.mjs +0 -2
- package/dist/chunks/cli-1.1.2-1rh7zj2h.mjs +0 -133
- package/dist/chunks/cli-1.1.2-1v80dsr5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-1z8yre0p.mjs +0 -2
- package/dist/chunks/cli-1.1.2-22w1aakd.mjs +0 -17
- package/dist/chunks/cli-1.1.2-26xrf159.mjs +0 -2
- package/dist/chunks/cli-1.1.2-2d3dw4nn.mjs +0 -25
- package/dist/chunks/cli-1.1.2-2rf4g79b.mjs +0 -3
- package/dist/chunks/cli-1.1.2-2vzy6fgr.mjs +0 -4
- package/dist/chunks/cli-1.1.2-2x9dcdpq.mjs +0 -2
- package/dist/chunks/cli-1.1.2-2ya2s94w.mjs +0 -15
- package/dist/chunks/cli-1.1.2-2ygaa01s.mjs +0 -3
- package/dist/chunks/cli-1.1.2-312r29db.mjs +0 -2
- package/dist/chunks/cli-1.1.2-38rgkyw3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-39xjjhsf.mjs +0 -24
- package/dist/chunks/cli-1.1.2-3mhsnff4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-3mpy81rn.mjs +0 -2
- package/dist/chunks/cli-1.1.2-3v91jtm9.mjs +0 -2
- package/dist/chunks/cli-1.1.2-3vhc8676.mjs +0 -2
- package/dist/chunks/cli-1.1.2-3w0nbdtc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-45nwkmpy.mjs +0 -2
- package/dist/chunks/cli-1.1.2-4d1hhyqs.mjs +0 -2
- package/dist/chunks/cli-1.1.2-4e3xrjth.mjs +0 -2
- package/dist/chunks/cli-1.1.2-4skhxaf4.mjs +0 -6
- package/dist/chunks/cli-1.1.2-4x5wz1xq.mjs +0 -67
- package/dist/chunks/cli-1.1.2-51pdt76x.mjs +0 -2
- package/dist/chunks/cli-1.1.2-526csky8.mjs +0 -2
- package/dist/chunks/cli-1.1.2-5dbzz1pp.mjs +0 -12
- package/dist/chunks/cli-1.1.2-5pe3b93k.mjs +0 -25
- package/dist/chunks/cli-1.1.2-5w2m33hk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-5wfgzqgc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-61nmeckv.mjs +0 -4
- package/dist/chunks/cli-1.1.2-63p3yvzk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-64bjkwj9.mjs +0 -2
- package/dist/chunks/cli-1.1.2-6cj9ggma.mjs +0 -5638
- package/dist/chunks/cli-1.1.2-6kq0hmvj.mjs +0 -2
- package/dist/chunks/cli-1.1.2-6r2ybktd.mjs +0 -18
- package/dist/chunks/cli-1.1.2-79hm6s3a.mjs +0 -7
- package/dist/chunks/cli-1.1.2-7fe75jd9.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7fjx7f8d.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7jcscwh5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7m5zhsrs.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7q8cqbtc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-7swa79jc.mjs +0 -24
- package/dist/chunks/cli-1.1.2-7xwayv2p.mjs +0 -20
- package/dist/chunks/cli-1.1.2-8d3m4zhf.mjs +0 -2
- package/dist/chunks/cli-1.1.2-8fsex5c8.mjs +0 -2
- package/dist/chunks/cli-1.1.2-8trsbckp.mjs +0 -2
- package/dist/chunks/cli-1.1.2-8wc2wcne.mjs +0 -3
- package/dist/chunks/cli-1.1.2-94nsdbgk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-96wg2gfk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-99rcxvch.mjs +0 -2
- package/dist/chunks/cli-1.1.2-9ash84j3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-9ke8m3ex.mjs +0 -2
- package/dist/chunks/cli-1.1.2-9rh5p8p5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-a69xymn7.mjs +0 -2
- package/dist/chunks/cli-1.1.2-a9n9p929.mjs +0 -2
- package/dist/chunks/cli-1.1.2-aav0ncfm.mjs +0 -2
- package/dist/chunks/cli-1.1.2-ad1q4yds.mjs +0 -4
- package/dist/chunks/cli-1.1.2-aq3e6kg7.mjs +0 -2
- package/dist/chunks/cli-1.1.2-ax711ayq.mjs +0 -2
- package/dist/chunks/cli-1.1.2-b850wzhk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-b9tdyfz3.mjs +0 -21
- package/dist/chunks/cli-1.1.2-bhjzjkag.mjs +0 -4
- package/dist/chunks/cli-1.1.2-bvvn3mfz.mjs +0 -2
- package/dist/chunks/cli-1.1.2-cs3wpy5m.mjs +0 -2
- package/dist/chunks/cli-1.1.2-d0dmaqaz.mjs +0 -2
- package/dist/chunks/cli-1.1.2-d3vc56eg.mjs +0 -4
- package/dist/chunks/cli-1.1.2-d9r7gv39.mjs +0 -2
- package/dist/chunks/cli-1.1.2-dg1134n2.mjs +0 -2
- package/dist/chunks/cli-1.1.2-dgw89jzs.mjs +0 -4
- package/dist/chunks/cli-1.1.2-e9bnprf3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-efe0402v.mjs +0 -2
- package/dist/chunks/cli-1.1.2-em7hye78.mjs +0 -4
- package/dist/chunks/cli-1.1.2-eqyyfzzp.mjs +0 -2
- package/dist/chunks/cli-1.1.2-evsw8rmv.mjs +0 -2
- package/dist/chunks/cli-1.1.2-f5bj8nyg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-f8pc3h46.mjs +0 -16
- package/dist/chunks/cli-1.1.2-fcjvcn8t.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fmrgtbj6.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fnfay3zd.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fnp913tz.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fq7w78vq.mjs +0 -2
- package/dist/chunks/cli-1.1.2-fs1t9yw3.mjs +0 -15
- package/dist/chunks/cli-1.1.2-fwcddg2k.mjs +0 -3
- package/dist/chunks/cli-1.1.2-g3dcz46h.mjs +0 -2
- package/dist/chunks/cli-1.1.2-g3ms995y.mjs +0 -2
- package/dist/chunks/cli-1.1.2-g9cs3fkf.mjs +0 -24
- package/dist/chunks/cli-1.1.2-gb52rdfa.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gb58q1j1.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gdcv810d.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gqdaxfvm.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gtjv8yhc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gvwc8kmd.mjs +0 -6
- package/dist/chunks/cli-1.1.2-gws9nr18.mjs +0 -9
- package/dist/chunks/cli-1.1.2-gxzwceae.mjs +0 -2
- package/dist/chunks/cli-1.1.2-gy0p2qqf.mjs +0 -4
- package/dist/chunks/cli-1.1.2-h2avr3ya.mjs +0 -2
- package/dist/chunks/cli-1.1.2-h9csstnw.mjs +0 -2
- package/dist/chunks/cli-1.1.2-hpx774ph.mjs +0 -3
- package/dist/chunks/cli-1.1.2-hzaqg545.mjs +0 -17
- package/dist/chunks/cli-1.1.2-j9n5qd1w.mjs +0 -2
- package/dist/chunks/cli-1.1.2-jpgqkhxd.mjs +0 -59
- package/dist/chunks/cli-1.1.2-js4s7tq5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-jv9f8r52.mjs +0 -3
- package/dist/chunks/cli-1.1.2-jxkffay4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-k077a0s0.mjs +0 -2
- package/dist/chunks/cli-1.1.2-k3tsqm2p.mjs +0 -2
- package/dist/chunks/cli-1.1.2-k4bpvm06.mjs +0 -2
- package/dist/chunks/cli-1.1.2-k61a86d8.mjs +0 -3
- package/dist/chunks/cli-1.1.2-kahqzzrg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-kav702qr.mjs +0 -2
- package/dist/chunks/cli-1.1.2-kcfzd7n8.mjs +0 -2
- package/dist/chunks/cli-1.1.2-kkgf4hyc.mjs +0 -3
- package/dist/chunks/cli-1.1.2-kq402xqd.mjs +0 -2
- package/dist/chunks/cli-1.1.2-m0529q09.mjs +0 -45
- package/dist/chunks/cli-1.1.2-m2ar3b2y.mjs +0 -18
- package/dist/chunks/cli-1.1.2-m4ksha3b.mjs +0 -2
- package/dist/chunks/cli-1.1.2-m7d5acdw.mjs +0 -2
- package/dist/chunks/cli-1.1.2-ma8mh6tb.mjs +0 -2
- package/dist/chunks/cli-1.1.2-mnp59g5q.mjs +0 -12
- package/dist/chunks/cli-1.1.2-mr55880g.mjs +0 -2
- package/dist/chunks/cli-1.1.2-mtztdv5m.mjs +0 -2
- package/dist/chunks/cli-1.1.2-n2f8jkwd.mjs +0 -2
- package/dist/chunks/cli-1.1.2-n2k1y1rv.mjs +0 -2
- package/dist/chunks/cli-1.1.2-nd5g2z1v.mjs +0 -2
- package/dist/chunks/cli-1.1.2-nskkg1h5.mjs +0 -5
- package/dist/chunks/cli-1.1.2-p8amxd73.mjs +0 -4
- package/dist/chunks/cli-1.1.2-pbtymf0g.mjs +0 -2
- package/dist/chunks/cli-1.1.2-pgt1vydc.mjs +0 -2
- package/dist/chunks/cli-1.1.2-qg5xbb38.mjs +0 -2
- package/dist/chunks/cli-1.1.2-qge4zbeg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-qm56km1n.mjs +0 -4
- package/dist/chunks/cli-1.1.2-qxjs641v.mjs +0 -2
- package/dist/chunks/cli-1.1.2-r32per66.mjs +0 -2
- package/dist/chunks/cli-1.1.2-r39g5zy8.mjs +0 -2
- package/dist/chunks/cli-1.1.2-re4qc97z.mjs +0 -6
- package/dist/chunks/cli-1.1.2-rm27fqp7.mjs +0 -2
- package/dist/chunks/cli-1.1.2-rp3kb2k1.mjs +0 -2
- package/dist/chunks/cli-1.1.2-rwfksv3e.mjs +0 -8
- package/dist/chunks/cli-1.1.2-rx0kctyq.mjs +0 -15
- package/dist/chunks/cli-1.1.2-ryw7gagg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-s2xde2xb.mjs +0 -2
- package/dist/chunks/cli-1.1.2-s6et33a5.mjs +0 -2
- package/dist/chunks/cli-1.1.2-s76jqr70.mjs +0 -2
- package/dist/chunks/cli-1.1.2-sd7xc4s3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-sdra9y0x.mjs +0 -34
- package/dist/chunks/cli-1.1.2-se3yz188.mjs +0 -2
- package/dist/chunks/cli-1.1.2-sk8gpfnw.mjs +0 -2
- package/dist/chunks/cli-1.1.2-sxp48xhs.mjs +0 -133
- package/dist/chunks/cli-1.1.2-t4aw8heb.mjs +0 -2
- package/dist/chunks/cli-1.1.2-t9knn0qp.mjs +0 -2
- package/dist/chunks/cli-1.1.2-tepjwp3h.mjs +0 -2
- package/dist/chunks/cli-1.1.2-thb8wh7v.mjs +0 -2
- package/dist/chunks/cli-1.1.2-tk5pscqh.mjs +0 -12
- package/dist/chunks/cli-1.1.2-tkr9thek.mjs +0 -6
- package/dist/chunks/cli-1.1.2-tn2dw7tr.mjs +0 -2
- package/dist/chunks/cli-1.1.2-tyx76ya3.mjs +0 -2
- package/dist/chunks/cli-1.1.2-v4dexj9m.mjs +0 -2
- package/dist/chunks/cli-1.1.2-v5aq687d.mjs +0 -4
- package/dist/chunks/cli-1.1.2-vdnvxk7d.mjs +0 -2
- package/dist/chunks/cli-1.1.2-vdtd8tyw.mjs +0 -3
- package/dist/chunks/cli-1.1.2-vedfryrw.mjs +0 -39
- package/dist/chunks/cli-1.1.2-vkw3t6e1.mjs +0 -2
- package/dist/chunks/cli-1.1.2-vn5a5kng.mjs +0 -2
- package/dist/chunks/cli-1.1.2-vqhs2nfg.mjs +0 -2
- package/dist/chunks/cli-1.1.2-w39dxwaq.mjs +0 -5
- package/dist/chunks/cli-1.1.2-w6e54y3j.mjs +0 -2
- package/dist/chunks/cli-1.1.2-wd7anmzt.mjs +0 -2
- package/dist/chunks/cli-1.1.2-wfh9694n.mjs +0 -42
- package/dist/chunks/cli-1.1.2-whyrn26g.mjs +0 -2
- package/dist/chunks/cli-1.1.2-wtjpdxah.mjs +0 -2
- package/dist/chunks/cli-1.1.2-wz2q0wq7.mjs +0 -2
- package/dist/chunks/cli-1.1.2-x6tg8d4f.mjs +0 -58
- package/dist/chunks/cli-1.1.2-x7pdyv4r.mjs +0 -3
- package/dist/chunks/cli-1.1.2-x7qa1qq3.mjs +0 -50
- package/dist/chunks/cli-1.1.2-xbpjh8ph.mjs +0 -2
- package/dist/chunks/cli-1.1.2-xpf1bbmk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-xrfe457w.mjs +0 -2
- package/dist/chunks/cli-1.1.2-y2eet2t4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-y8dhsas4.mjs +0 -12
- package/dist/chunks/cli-1.1.2-yajs5n37.mjs +0 -18
- package/dist/chunks/cli-1.1.2-yh44qbw4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-yj8m159m.mjs +0 -2
- package/dist/chunks/cli-1.1.2-z2m1x4a9.mjs +0 -2
- package/dist/chunks/cli-1.1.2-z31tqg0s.mjs +0 -202
- package/dist/chunks/cli-1.1.2-z56w3mhn.mjs +0 -3
- package/dist/chunks/cli-1.1.2-z7ha6v3f.mjs +0 -2
- package/dist/chunks/cli-1.1.2-ze70ftw0.mjs +0 -1
- package/dist/chunks/cli-1.1.2-zm6bk4ph.mjs +0 -2
- package/dist/chunks/cli-1.1.2-zn8nzq9g.mjs +0 -2
- package/dist/chunks/cli-1.1.2-zv4bhn4s.mjs +0 -6
- package/dist/chunks/cli-1.1.2-zy0pbg7t.mjs +0 -3
- package/dist/chunks/cli-1.1.2-zy7bxchk.mjs +0 -2
- package/dist/chunks/cli-1.1.2-zy8c0mk4.mjs +0 -2
- package/dist/chunks/cli-1.1.2-zzd75gm6.mjs +0 -2
- package/dist/chunks/client-1.1.2-cfb4as3w.mjs +0 -1
- package/dist/chunks/color-1.1.2-1sf55h7k.mjs +0 -1
- package/dist/chunks/compact-1.1.2-dd3f57yj.mjs +0 -3
- package/dist/chunks/config-1.1.2-6bc1gc6c.mjs +0 -1
- package/dist/chunks/config-1.1.2-p9t1wpdw.mjs +0 -1
- package/dist/chunks/constants-1.1.2-tkm4c60r.mjs +0 -1
- package/dist/chunks/context-1.1.2-rw4msk80.mjs +0 -1
- package/dist/chunks/context-noninteractive-1.1.2-c5hbr649.mjs +0 -1
- package/dist/chunks/conversation-1.1.2-h9dvper4.mjs +0 -1
- package/dist/chunks/copilotHeaders-1.1.2-nv81crna.mjs +0 -1
- package/dist/chunks/copy-1.1.2-hr7v2mx9.mjs +0 -9
- package/dist/chunks/cost-1.1.2-hdy89g4q.mjs +0 -1
- package/dist/chunks/createSSHSession-1.1.2-6v2x5eg0.mjs +0 -1
- package/dist/chunks/createSession-1.1.2-ygyb7e8j.mjs +0 -1
- package/dist/chunks/debug-1.1.2-wk2d9rj6.mjs +0 -1
- package/dist/chunks/defaultActionDeps-1.1.2-gjp00h29.mjs +0 -1446
- package/dist/chunks/desktop-1.1.2-egp65wej.mjs +0 -1
- package/dist/chunks/detectRepository-1.1.2-qh9nf9kg.mjs +0 -1
- package/dist/chunks/detection-1.1.2-02zpqkt2.mjs +0 -1
- package/dist/chunks/diff-1.1.2-29snp7ez.mjs +0 -1
- package/dist/chunks/doctor-1.1.2-b321t9z0.mjs +0 -1
- package/dist/chunks/doctorDiagnostic-1.1.2-214xq5kx.mjs +0 -1
- package/dist/chunks/earlyInput-1.1.2-n8b9n8hj.mjs +0 -1
- package/dist/chunks/effort-1.1.2-42pxj2ke.mjs +0 -13
- package/dist/chunks/engine-1.1.2-071c5ycx.mjs +0 -1
- package/dist/chunks/envLessBridgeConfig-1.1.2-90nzxgap.mjs +0 -1
- package/dist/chunks/envUtils-1.1.2-rdsjbb4f.mjs +0 -1
- package/dist/chunks/environmentSelection-1.1.2-eeacbnpj.mjs +0 -1
- package/dist/chunks/environments-1.1.2-e0a09brc.mjs +0 -1
- package/dist/chunks/errors-1.1.2-1fp0w76h.mjs +0 -1
- package/dist/chunks/exampleCommands-1.1.2-prrwcbkh.mjs +0 -1
- package/dist/chunks/execFileNoThrow-1.1.2-61na3ack.mjs +0 -1
- package/dist/chunks/exit-1.1.2-eh7t4pcy.mjs +0 -1
- package/dist/chunks/explorer-1.1.2-7brsg8bj.mjs +0 -1
- package/dist/chunks/export-1.1.2-2m0sfme0.mjs +0 -2
- package/dist/chunks/extra-usage-1.1.2-akf4qvp0.mjs +0 -1
- package/dist/chunks/extra-usage-noninteractive-1.1.2-ysbmggsv.mjs +0 -1
- package/dist/chunks/fast-1.1.2-43wzezv3.mjs +0 -1
- package/dist/chunks/feedback-1.1.2-92k099e0.mjs +0 -14
- package/dist/chunks/firstPartyEventLogger-1.1.2-ksq42qwt.mjs +0 -1
- package/dist/chunks/git-1.1.2-fgm2kpjd.mjs +0 -1
- package/dist/chunks/githubModelsCredentials-1.1.2-vj6dwy2c.mjs +0 -1
- package/dist/chunks/goal-1.1.2-hnd6dfnz.mjs +0 -4
- package/dist/chunks/grove-1.1.2-74zq9th4.mjs +0 -1
- package/dist/chunks/growthbook-1.1.2-x4pfbgm2.mjs +0 -1
- package/dist/chunks/headless-1.1.2-rhab73x2.mjs +0 -2
- package/dist/chunks/heapdump-1.1.2-a698r5c6.mjs +0 -6
- package/dist/chunks/help-1.1.2-er6xvvy0.mjs +0 -1
- package/dist/chunks/hookChains-1.1.2-yh3dmw0j.mjs +0 -3
- package/dist/chunks/hooks-1.1.2-63zxxjj9.mjs +0 -79
- package/dist/chunks/hooks-1.1.2-ez3kc0p2.mjs +0 -1
- package/dist/chunks/ide-1.1.2-je812srr.mjs +0 -3
- package/dist/chunks/image-processor-napi-1.1.2-xe8n5srr.mjs +0 -1
- package/dist/chunks/inboundAttachments-1.1.2-qywwkc7m.mjs +0 -1
- package/dist/chunks/index-1.1.2-3evh58r7.mjs +0 -1
- package/dist/chunks/index-1.1.2-69bhefzj.mjs +0 -1
- package/dist/chunks/index-1.1.2-7kya3jrk.mjs +0 -1
- package/dist/chunks/index-1.1.2-7sphewt0.mjs +0 -5
- package/dist/chunks/index-1.1.2-947wna4y.mjs +0 -1
- package/dist/chunks/index-1.1.2-95c20hmc.mjs +0 -1
- package/dist/chunks/index-1.1.2-9xdx0kw2.mjs +0 -1
- package/dist/chunks/index-1.1.2-bvpaf73z.mjs +0 -2
- package/dist/chunks/index-1.1.2-dkvq5y5c.mjs +0 -1
- package/dist/chunks/index-1.1.2-ebc3q9cn.mjs +0 -9
- package/dist/chunks/index-1.1.2-htmnqkfh.mjs +0 -1
- package/dist/chunks/index-1.1.2-kdaazhrb.mjs +0 -1
- package/dist/chunks/index-1.1.2-kzzb5289.mjs +0 -1
- package/dist/chunks/index-1.1.2-madt9yt1.mjs +0 -1
- package/dist/chunks/index-1.1.2-mvhaw48f.mjs +0 -2
- package/dist/chunks/index-1.1.2-pzx0977r.mjs +0 -1
- package/dist/chunks/index-1.1.2-r1zg7fm1.mjs +0 -1
- package/dist/chunks/index-1.1.2-s1rqf88d.mjs +0 -1
- package/dist/chunks/index-1.1.2-t2gvqgcr.mjs +0 -1
- package/dist/chunks/index-1.1.2-thaazk19.mjs +0 -17
- package/dist/chunks/index-1.1.2-wey7e6ag.mjs +0 -30
- package/dist/chunks/index-1.1.2-y8ab1zbc.mjs +0 -1
- package/dist/chunks/index-1.1.2-zzrwyq5p.mjs +0 -9
- package/dist/chunks/init-1.1.2-85zbvgkj.mjs +0 -1
- package/dist/chunks/initReplBridge-1.1.2-de5jg8xg.mjs +0 -1
- package/dist/chunks/ink-1.1.2-dqpj9964.mjs +0 -1
- package/dist/chunks/insights-1.1.2-y73zf53m.mjs +0 -870
- package/dist/chunks/install-1.1.2-89hhj53e.mjs +0 -1
- package/dist/chunks/install-github-app-1.1.2-qvppzny7.mjs +0 -149
- package/dist/chunks/install-slack-app-1.1.2-3h092m6m.mjs +0 -1
- package/dist/chunks/instrumentation-1.1.2-knbaf11q.mjs +0 -1
- package/dist/chunks/interactiveHelpers-1.1.2-1ef73k1d.mjs +0 -1
- package/dist/chunks/keybindings-1.1.2-k2t8cv4v.mjs +0 -2
- package/dist/chunks/knowledge-1.1.2-ssv0qdb3.mjs +0 -2
- package/dist/chunks/latestVersionCache-1.1.2-hjg7gvvk.mjs +0 -1
- package/dist/chunks/loadAgentsDir-1.1.2-s1ff144v.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.2-byf6cjm1.mjs +0 -1
- package/dist/chunks/loadPluginHooks-1.1.2-yvdv9pjd.mjs +0 -1
- package/dist/chunks/log-1.1.2-8cc3djq5.mjs +0 -1
- package/dist/chunks/main-1.1.2-th8b6kt4.mjs +0 -1
- package/dist/chunks/managedEnv-1.1.2-z470j86z.mjs +0 -1
- package/dist/chunks/mcp-1.1.2-86tk8ay8.mjs +0 -1
- package/dist/chunks/mcp-1.1.2-g64z89y6.mjs +0 -17
- package/dist/chunks/mcp-1.1.2-snaa1cjv.mjs +0 -4
- package/dist/chunks/mcpb-1.1.2-4mdrmbnx.mjs +0 -1
- package/dist/chunks/memory-1.1.2-habj4cwz.mjs +0 -72
- package/dist/chunks/model-1.1.2-vdjmatpe.mjs +0 -1
- package/dist/chunks/model-1.1.2-y4qnzr5d.mjs +0 -2
- package/dist/chunks/node-1.1.2-msn09mvf.mjs +0 -12
- package/dist/chunks/oauth-1.1.2-95md8es8.mjs +0 -1
- package/dist/chunks/openaiShim-1.1.2-swxk5w2d.mjs +0 -14
- package/dist/chunks/output-style-1.1.2-gk5rwyf3.mjs +0 -1
- package/dist/chunks/package-2VNCXFNY-1.1.2-t2qeqjq8.mjs +0 -1
- package/dist/chunks/parseConnectUrl-1.1.2-kh0kdj72.mjs +0 -1
- package/dist/chunks/parser-1.1.2-bq2yyqcn.mjs +0 -1
- package/dist/chunks/passes-1.1.2-z98me43k.mjs +0 -1
- package/dist/chunks/permissions-1.1.2-4q31d83k.mjs +0 -3
- package/dist/chunks/permissions-1.1.2-yj6ep04t.mjs +0 -1
- package/dist/chunks/plan-1.1.2-aq6tkcvx.mjs +0 -1
- package/dist/chunks/plist-1.1.2-wtdpfgrq.mjs +0 -1
- package/dist/chunks/plugin-1.1.2-9h7564kc.mjs +0 -29
- package/dist/chunks/pluginStartupCheck-1.1.2-xs7cvmve.mjs +0 -1
- package/dist/chunks/plugins-1.1.2-gktqysmr.mjs +0 -9
- package/dist/chunks/preActionHook-1.1.2-zbm0ahc2.mjs +0 -2
- package/dist/chunks/print-1.1.2-9xz8kk84.mjs +0 -57
- package/dist/chunks/privacy-settings-1.1.2-9w8bvgmp.mjs +0 -1
- package/dist/chunks/process-1.1.2-4ha9kngp.mjs +0 -1
- package/dist/chunks/processBashCommand-1.1.2-t1abzpg8.mjs +0 -1
- package/dist/chunks/processSlashCommand-1.1.2-krgryjdy.mjs +0 -9
- package/dist/chunks/prompt-1.1.2-exabd70s.mjs +0 -1
- package/dist/chunks/prompt-1.1.2-qbhgy60q.mjs +0 -1
- package/dist/chunks/prompts-1.1.2-z5xqs93q.mjs +0 -1
- package/dist/chunks/protocolHandler-1.1.2-jzdef7t2.mjs +0 -13
- package/dist/chunks/provider-1.1.2-q784s7t1.mjs +0 -2
- package/dist/chunks/providerProfiles-1.1.2-hgq6ezmt.mjs +0 -1
- package/dist/chunks/providerValidation-1.1.2-6svgbwp4.mjs +0 -6
- package/dist/chunks/rate-limit-options-1.1.2-pdk8r710.mjs +0 -1
- package/dist/chunks/registerSubcommands-1.1.2-ja3famgz.mjs +0 -34
- package/dist/chunks/registry-1.1.2-bteqae43.mjs +0 -1
- package/dist/chunks/release-notes-1.1.2-m864etmn.mjs +0 -5
- package/dist/chunks/reload-plugins-1.1.2-xgc8eghm.mjs +0 -2
- package/dist/chunks/remote-env-1.1.2-jy20nnyn.mjs +0 -1
- package/dist/chunks/remoteBridgeCore-1.1.2-wrzz2zme.mjs +0 -1
- package/dist/chunks/remoteSession-1.1.2-2ms5x1xn.mjs +0 -1
- package/dist/chunks/rename-1.1.2-99a39m1m.mjs +0 -1
- package/dist/chunks/replBridgeHandle-1.1.2-6qx7my8a.mjs +0 -1
- package/dist/chunks/replLauncher-1.1.2-8aq6b75y.mjs +0 -1
- package/dist/chunks/resume-1.1.2-n0d6rgp7.mjs +0 -2
- package/dist/chunks/rewind-1.1.2-4mrqvf42.mjs +0 -1
- package/dist/chunks/rootOptions-1.1.2-3vma1kzy.mjs +0 -1
- package/dist/chunks/runWorkflowHeadless-1.1.2-qpb0brgp.mjs +0 -10
- package/dist/chunks/sandbox-adapter-1.1.2-985g3rtd.mjs +0 -1
- package/dist/chunks/sandbox-toggle-1.1.2-h5bx372x.mjs +0 -1
- package/dist/chunks/session-1.1.2-q3ahqvyx.mjs +0 -2
- package/dist/chunks/sessionDiscovery-1.1.2-qcyr8b8w.mjs +0 -1
- package/dist/chunks/sessionFileAccessHooks-1.1.2-2y6b014f.mjs +0 -1
- package/dist/chunks/sessionStorage-1.1.2-6vk4ryr3.mjs +0 -1
- package/dist/chunks/settings-1.1.2-nf07eg97.mjs +0 -1
- package/dist/chunks/setup-1.1.2-5f344krn.mjs +0 -5
- package/dist/chunks/sinks-1.1.2-xq2d5k0p.mjs +0 -1
- package/dist/chunks/skills-1.1.2-2e8x03xz.mjs +0 -1
- package/dist/chunks/startupProfiler-1.1.2-vbw0t7zn.mjs +0 -1
- package/dist/chunks/startupUpdateCheck-1.1.2-7xtv2jhz.mjs +0 -1
- package/dist/chunks/state-1.1.2-4stfxgxw.mjs +0 -1
- package/dist/chunks/stats-1.1.2-x2men93c.mjs +0 -6
- package/dist/chunks/status-1.1.2-k6342tq7.mjs +0 -1
- package/dist/chunks/stickers-1.1.2-m2ee29wd.mjs +0 -1
- package/dist/chunks/subprocessEnv-1.1.2-gfsm4m3z.mjs +0 -1
- package/dist/chunks/tasks-1.1.2-52bgwvvk.mjs +0 -1
- package/dist/chunks/teamHelpers-1.1.2-fcfqve0r.mjs +0 -1
- package/dist/chunks/teammateModeSnapshot-1.1.2-s2qw8rtp.mjs +0 -1
- package/dist/chunks/teleport-1.1.2-mxjmy1bj.mjs +0 -1
- package/dist/chunks/terminalSetup-1.1.2-376p31n2.mjs +0 -1
- package/dist/chunks/theme-1.1.2-vhrm8pkz.mjs +0 -1
- package/dist/chunks/thinkback-1.1.2-2k5azpda.mjs +0 -1
- package/dist/chunks/thinkback-play-1.1.2-w3xe66qy.mjs +0 -1
- package/dist/chunks/toolPool-1.1.2-th0e7c3p.mjs +0 -1
- package/dist/chunks/toolSearch-1.1.2-5vbh7tfs.mjs +0 -1
- package/dist/chunks/tools-1.1.2-0tdzn87s.mjs +0 -1
- package/dist/chunks/trustedDevice-1.1.2-s31a3mdh.mjs +0 -1
- package/dist/chunks/turndown.cjs-1.1.2-aj5hafxn.mjs +0 -69
- package/dist/chunks/types-1.1.2-vst16v9y.mjs +0 -1
- package/dist/chunks/ultrareviewCommand-1.1.2-3tcemmrp.mjs +0 -4
- package/dist/chunks/update-1.1.2-7daxbkja.mjs +0 -72
- package/dist/chunks/upgrade-1.1.2-paz816ha.mjs +0 -1
- package/dist/chunks/upload-1.1.2-tb2wafs2.mjs +0 -7
- package/dist/chunks/upstreamproxy-1.1.2-k3w1snzk.mjs +0 -14
- package/dist/chunks/url-handler-napi-1.1.2-2w62pdbp.mjs +0 -1
- package/dist/chunks/usage-1.1.2-xa0p51ga.mjs +0 -1
- package/dist/chunks/util-1.1.2-790z163z.mjs +0 -1
- package/dist/chunks/utils-1.1.2-vs0h9jny.mjs +0 -1
- package/dist/chunks/vim-1.1.2-c8e520z8.mjs +0 -1
- package/dist/chunks/watchLoop-1.1.2-e4ehn07s.mjs +0 -13
- package/dist/chunks/watcher-1.1.2-731rkpjz.mjs +0 -1
- package/dist/chunks/wiki-1.1.2-zbc6h2h9.mjs +0 -132
- package/dist/chunks/workflows-1.1.2-g3w76nrf.mjs +0 -1
- package/dist/chunks/worktree-1.1.2-7nptnzv3.mjs +0 -1
- package/dist/chunks/worktreeModeEnabled-1.1.2-kgnb2ck1.mjs +0 -1
- package/dist/chunks/wrapper-1.1.2-3pstqzgw.mjs +0 -7
- /package/dist/chunks/{cli-1.1.2-8t8veykp.mjs → cli-1.1.4-1f3p70jj.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-3vyt3jw9.mjs → cli-1.1.4-ez4xtmvg.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-6jbsqbdw.mjs → cli-1.1.4-gp99zrz4.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-btgmqahb.mjs → cli-1.1.4-gpvz5jfv.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-6d3jf0sj.mjs → cli-1.1.4-n0dzwv49.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-r4rfggdk.mjs → cli-1.1.4-q1mcaeav.mjs} +0 -0
- /package/dist/chunks/{cli-1.1.2-pgz05ddc.mjs → cli-1.1.4-tg5t7jrb.mjs} +0 -0
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{aV as W,bV as P}from"./cli-1.1.4-ckmk4b1r.mjs";import{Fba as A,Hba as y,Qga as O,S$ as _,V_ as K,W_ as I,Yga as F,bfa as B,cfa as G,qfa as S,u$ as M,v$ as R}from"./cli-1.1.4-6c3fshef.mjs";import{Iia as D,Kia as x}from"./cli-1.1.4-f7y4b0px.mjs";import{wra as $,xra as z}from"./cli-1.1.4-x8m7spde.mjs";z();x();S();y();I();_();F();P();var T=[/(?:^|\/)(?:package-lock\.json|yarn\.lock|bun\.lock|bun\.lockb|pnpm-lock\.yaml|Pipfile\.lock|poetry\.lock|Cargo\.lock|Gemfile\.lock|go\.sum|composer\.lock|uv\.lock)$/,/\.generated\./,/(?:^|\/)(?:dist|build|out|target|node_modules|\.next|__pycache__)\//,/\.(?:min\.js|min\.css|map|pyc|pyo)$/,/\.(?:json|ya?ml|toml|xml|ini|cfg|conf|env|lock|txt|md|mdx|rst|csv|log|svg)$/i,/(?:^|\/)\.?(?:eslintrc|prettierrc|babelrc|editorconfig|gitignore|gitattributes|dockerignore|npmrc)/,/(?:^|\/)(?:tsconfig|jsconfig|biome|vitest\.config|jest\.config|webpack\.config|vite\.config|rollup\.config)\.[a-z]+$/,/(?:^|\/)\.(?:github|vscode|idea|claude)\//,/(?:^|\/)(?:CHANGELOG|LICENSE|CONTRIBUTING|CODEOWNERS|README)(?:\.[a-z]+)?$/i];function k(L){return!T.some((U)=>U.test(L))}function d(L,U=20){let H=new Map;for(let V of L)H.set(V,(H.get(V)||0)+1);return Array.from(H.entries()).sort((V,Q)=>Q[1]-V[1]).slice(0,U).map(([V,Q])=>`${Q.toString().padStart(6)} ${V}`).join(`
|
|
2
|
+
`)}function E(L,U){let H=[],V=new Set,Q=new Map;for(let J=1;H.length<U&&J<=U;J++)for(let X of L){if(H.length>=U)break;if(!k(X))continue;let Y=Math.max(X.lastIndexOf("/"),X.lastIndexOf("\\")),Z=Y>=0?X.slice(Y+1):X;if(!Z||V.has(Z))continue;let q=Y>=0?X.slice(0,Y):".";if((Q.get(q)??0)>=J)continue;H.push(Z),V.add(Z),Q.set(q,(Q.get(q)??0)+1)}return H.length>=U?H:[]}async function N(){if(A.platform==="win32")return[];if(!await R())return[];try{let L=await W(),U=["log","-n","1000","--pretty=format:","--name-only","--diff-filter=M"],H=new Map,V=(J)=>{for(let X of J.split(`
|
|
3
|
+
`)){let Y=X.trim();if(Y)H.set(Y,(H.get(Y)??0)+1)}};if(L){let{stdout:J}=await K("git",[...U,`--author=${L}`],{cwd:D()});V(J)}if(H.size<10){let{stdout:J}=await K(M(),U,{cwd:D()});V(J)}let Q=Array.from(H.entries()).sort((J,X)=>X[1]-J[1]).map(([J])=>J);return E(Q,5)}catch(L){return O(L),[]}}var b=604800000;function v(L){let U=B(),H=U.exampleFiles?.length?U.exampleFiles:["<filepath>"],Q=[...["fix lint errors","fix typecheck errors",`how does ${H[0]} work?`,`refactor ${H[Math.floor(H.length/2)]}`,"how do I log an error?",`edit ${H[H.length-1]} to...`,`write a test for ${H[0]}`,"create a util logging.py that..."]];for(let J=Q.length-1;J>0;J--){let X=Math.floor(Math.random()*(J+1));[Q[J],Q[X]]=[Q[X],Q[J]]}return Q.slice(0,L).map((J)=>`Try "${J}"`)}var p=$(()=>{return v(1)[0]??'Try "fix lint errors"'}),c=$((L)=>{return v(L)}),r=$(async()=>{let L=B(),U=Date.now(),H=L.exampleFilesGeneratedAt??0;if(U-H>b)L.exampleFiles=[];if(!L.exampleFiles?.length)N().then((V)=>{if(V.length)G((Q)=>({...Q,exampleFiles:V,exampleFilesGeneratedAt:Date.now()}))})});
|
|
4
|
+
export{d as Ia,E as Ja,p as Ka,c as La,r as Ma};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import{H1 as IT,_0 as X,e1 as JT,f1 as ST}from"./cli-1.1.4-nh3sscxn.mjs";import{w9 as K,x9 as VT}from"./cli-1.1.4-sm3xmtbn.mjs";import{Fba as Q,Hba as UT,Qga as H,Saa as s,U$ as BT,U_ as Y,Uea as z,V$ as _T,W_ as o,Xea as V,Yga as n,Zaa as XT,bfa as l,cba as FT,cfa as d,fba as qT,gba as OT,qfa as D,vea as f,xea as YT}from"./cli-1.1.4-6c3fshef.mjs";import{Iia as E,Kia as QT}from"./cli-1.1.4-f7y4b0px.mjs";import{cka as GT,dka as $T,hka as zT,lka as P,pka as KT}from"./cli-1.1.4-53fvpymg.mjs";import{cla as u,ela as LT}from"./cli-1.1.4-hzx821eq.mjs";import{wra as r,xra as ZT}from"./cli-1.1.4-x8m7spde.mjs";import{Isa as I}from"./cli-1.1.4-xxe2ztwq.mjs";function m(){let T=f(E(),P().existsSync)!==null,w=s(E());return[{key:"workspace",text:"Ask Claude to create a new app or clone a repository",isComplete:!1,isCompletable:!0,isEnabled:w},{key:"claudemd",text:"Set up repo instructions (/init creates AGENTS.md or updates existing CLAUDE.md; either file counts)",isComplete:T,isCompletable:!0,isEnabled:!w}]}function M(){return m().filter(({isCompletable:T,isEnabled:w})=>T&&w).every(({isComplete:T})=>T)}var k=I(()=>{QT();XT();KT();YT()});function a(){if(l().hasCompletedProjectOnboarding)return;if(M())d((T)=>({...T,hasCompletedProjectOnboarding:!0}))}var fT;var h=I(()=>{ZT();D();k();k();fT=r(()=>{let T=l();if(T.hasCompletedProjectOnboarding||T.projectOnboardingSeenCount>=4||process.env.IS_DEMO)return!1;return!M()})});import{stat as i}from"fs/promises";import{homedir as xT}from"os";import{join as HT}from"path";function RT(T){z((w)=>({...w,appleTerminalSetupInProgress:!0,appleTerminalBackupPath:T}))}function L(){z((T)=>({...T,appleTerminalSetupInProgress:!1}))}function WT(){let T=V();return{inProgress:T.appleTerminalSetupInProgress??!1,backupPath:T.appleTerminalBackupPath||null}}function _(){return HT(xT(),"Library","Preferences","com.apple.Terminal.plist")}async function t(){let T=_(),w=`${T}.bak`;try{let{code:v}=await Y("defaults",["export","com.apple.Terminal",T]);if(v!==0)return null;try{await i(T)}catch{return null}return await Y("defaults",["export","com.apple.Terminal",w]),RT(w),w}catch(v){return H(v),null}}async function e(){let{inProgress:T,backupPath:w}=WT();if(!T)return{status:"no_backup"};if(!w)return L(),{status:"no_backup"};try{await i(w)}catch{return L(),{status:"no_backup"}}try{let{code:v}=await Y("defaults",["import","com.apple.Terminal",w]);if(v!==0)return{status:"failed",backupPath:w};return await Y("killall",["cfprefsd"]),L(),{status:"restored"}}catch(v){return H(Error(`Failed to restore Terminal.app settings with: ${v}`)),L(),{status:"failed",backupPath:w}}}var TT=I(()=>{D();o();n()});import{randomBytes as y}from"crypto";import{copyFile as N,mkdir as c,readFile as p,writeFile as C}from"fs/promises";import{homedir as g,platform as A}from"os";import{dirname as MT,join as R}from"path";import{pathToFileURL as AT}from"url";function jT(){let T=process.env.VSCODE_GIT_ASKPASS_MAIN??"",w=process.env.PATH??"";return T.includes(".vscode-server")||T.includes(".cursor-server")||T.includes(".windsurf-server")||w.includes(".vscode-server")||w.includes(".cursor-server")||w.includes(".windsurf-server")}function Ww(){if(!Q.terminal||!(Q.terminal in j))return null;return j[Q.terminal]??null}function Z(T){if(!JT())return T;return`\x1B]8;;${AT(T).href}\x07${T}\x1B]8;;\x07`}function uT(){return A()==="darwin"&&Q.terminal==="Apple_Terminal"||Q.terminal==="vscode"||Q.terminal==="cursor"||Q.terminal==="windsurf"||Q.terminal==="alacritty"||Q.terminal==="zed"}async function ET(T){let w="";switch(Q.terminal){case"Apple_Terminal":w=await kT(T);break;case"vscode":w=await b("VSCode",T);break;case"cursor":w=await b("Cursor",T);break;case"windsurf":w=await b("Windsurf",T);break;case"alacritty":w=await lT(T);break;case"zed":w=await DT(T);break;case null:break}return z((v)=>{if(["vscode","cursor","windsurf","alacritty","zed"].includes(Q.terminal??"")){if(v.shiftEnterKeyBindingInstalled===!0)return v;return{...v,shiftEnterKeyBindingInstalled:!0}}else if(Q.terminal==="Apple_Terminal"){if(v.optionAsMetaKeyInstalled===!0)return v;return{...v,optionAsMetaKeyInstalled:!0}}return v}),a(),w}function Lw(){return V().shiftEnterKeyBindingInstalled===!0}function zw(){return V().hasUsedBackslashReturn===!0}function Vw(){if(!V().hasUsedBackslashReturn)z((w)=>({...w,hasUsedBackslashReturn:!0}))}async function _w(T,w,v){if(Q.terminal&&Q.terminal in j){let $=`Shift+Enter is natively supported in ${j[Q.terminal]}.
|
|
2
|
+
|
|
3
|
+
No configuration needed. Just use Shift+Enter to add newlines.`;return T($),null}if(!uT()){let $=Q.terminal||"your current terminal",B=BT(),J="";if(B==="macos")J=` • macOS: Apple Terminal
|
|
4
|
+
`;else if(B==="windows")J=` • Windows: Windows Terminal
|
|
5
|
+
`;let F=`Terminal setup cannot be run from ${$}.
|
|
6
|
+
|
|
7
|
+
This command configures a convenient Shift+Enter shortcut for multi-line prompts.
|
|
8
|
+
${K.dim("Note: You can already use backslash (\\\\) + return to add newlines.")}
|
|
9
|
+
|
|
10
|
+
To set up the shortcut (optional):
|
|
11
|
+
1. Exit tmux/screen temporarily
|
|
12
|
+
2. Run /terminal-setup directly in one of these terminals:
|
|
13
|
+
${J} • IDE: VSCode, Cursor, Windsurf, Zed
|
|
14
|
+
• Other: Alacritty
|
|
15
|
+
3. Return to tmux/screen - settings will persist
|
|
16
|
+
|
|
17
|
+
${K.dim("Note: iTerm2, WezTerm, Ghostty, Kitty, and Warp support Shift+Enter natively.")}`;return T(F),null}let q=await ET(w.options.theme);return T(q),null}async function b(T="VSCode",w){if(jT())return`${X("warning",w)(`Cannot install keybindings from a remote ${T} session.`)}${G}${G}${T} keybindings must be installed on your local machine, not the remote server.${G}${G}To install the Shift+Enter keybinding:${G}1. Open ${T} on your local machine (not connected to remote)${G}2. Open the Command Palette (Cmd/Ctrl+Shift+P) → "Preferences: Open Keyboard Shortcuts (JSON)"${G}3. Add this keybinding (the file must be a JSON array):${G}${G}${K.dim(`[
|
|
18
|
+
{
|
|
19
|
+
"key": "shift+enter",
|
|
20
|
+
"command": "workbench.action.terminal.sendSequence",
|
|
21
|
+
"args": { "text": "\\u001b\\r" },
|
|
22
|
+
"when": "terminalFocus"
|
|
23
|
+
}
|
|
24
|
+
]`)}${G}`;let v=T==="VSCode"?"Code":T,q=R(g(),A()==="win32"?R("AppData","Roaming",v,"User"):A()==="darwin"?R("Library","Application Support",v,"User"):R(".config",v,"User")),$=R(q,"keybindings.json");try{await c(q,{recursive:!0});let B="[]",J=[],F=!1;try{B=await p($,{encoding:"utf-8"}),F=!0,J=FT(B)??[]}catch(x){if(!u(x))throw x}if(F){let x=y(4).toString("hex"),S=`${$}.${x}.bak`;try{await N($,S)}catch{return`${X("warning",w)(`Error backing up existing ${T} terminal keybindings. Bailing out.`)}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(S)}`)}${G}`}}if(J.find((x)=>x.key==="shift+enter"&&x.command==="workbench.action.terminal.sendSequence"&&x.when==="terminalFocus"))return`${X("warning",w)(`Found existing ${T} terminal Shift+Enter key binding. Remove it to continue.`)}${G}${K.dim(`See ${Z($)}`)}${G}`;let U=qT(B,{key:"shift+enter",command:"workbench.action.terminal.sendSequence",args:{text:"\x1B\r"},when:"terminalFocus"});return await C($,U,{encoding:"utf-8"}),`${X("success",w)(`Installed ${T} terminal Shift+Enter key binding`)}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(B){throw H(B),Error(`Failed to install ${T} terminal Shift+Enter key binding`)}}async function wT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':useOptionAsMetaKey bool true`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':useOptionAsMetaKey true`,_()]);if(v!==0)return H(Error(`Failed to enable Option as Meta key for Terminal.app profile: ${T}`)),!1}return!0}async function vT(T){let{code:w}=await Y("/usr/libexec/PlistBuddy",["-c",`Add :'Window Settings':'${T}':Bell bool false`,_()]);if(w!==0){let{code:v}=await Y("/usr/libexec/PlistBuddy",["-c",`Set :'Window Settings':'${T}':Bell false`,_()]);if(v!==0)return H(Error(`Failed to disable audio bell for Terminal.app profile: ${T}`)),!1}return!0}async function kT(T){try{if(!await t())throw Error("Failed to create backup of Terminal.app preferences, bailing out");let{stdout:v,code:q}=await Y("defaults",["read","com.apple.Terminal","Default Window Settings"]);if(q!==0||!v.trim())throw Error("Failed to read default Terminal.app profile");let{stdout:$,code:B}=await Y("defaults",["read","com.apple.Terminal","Startup Window Settings"]);if(B!==0||!$.trim())throw Error("Failed to read startup Terminal.app profile");let J=!1,F=v.trim(),W=await wT(F),O=await vT(F);if(W||O)J=!0;let U=$.trim();if(U!==F){let x=await wT(U),S=await vT(U);if(x||S)J=!0}if(!J)throw Error("Failed to enable Option as Meta key or disable audio bell for any Terminal.app profile");return await Y("killall",["cfprefsd"]),L(),`${X("success",T)("Configured Terminal.app settings:")}${G}${X("success",T)('- Enabled "Use Option as Meta key"')}${G}${X("success",T)("- Switched to visual bell")}${G}${K.dim("Option+Enter will now enter a newline.")}${G}${K.dim("You must restart Terminal.app for changes to take effect.",T)}${G}`}catch(w){H(w);let v=await e(),q="Failed to enable Option as Meta key for Terminal.app.";if(v.status==="restored")throw Error(`${q} Your settings have been restored from backup.`);else if(v.status==="failed")throw Error(`${q} Restoring from backup failed, try manually with: defaults import com.apple.Terminal ${v.backupPath}`);else throw Error(`${q} No backup was available to restore from.`)}}async function lT(T){let v=[],q=process.env.XDG_CONFIG_HOME;if(q)v.push(R(q,"alacritty","alacritty.toml"));else v.push(R(g(),".config","alacritty","alacritty.toml"));if(A()==="win32"){let F=process.env.APPDATA;if(F)v.push(R(F,"alacritty","alacritty.toml"))}let $=null,B="",J=!1;for(let F of v)try{B=await p(F,{encoding:"utf-8"}),$=F,J=!0;break}catch(W){if(!u(W))throw W}if(!$)$=v[0]??null;if(!$)throw Error("No valid config path found for Alacritty");try{if(J){if(B.includes('mods = "Shift"')&&B.includes('key = "Return"'))return`${X("warning",T)("Found existing Alacritty Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z($)}`)}${G}`;let W=y(4).toString("hex"),O=`${$}.${W}.bak`;try{await N($,O)}catch{return`${X("warning",T)("Error backing up existing Alacritty config. Bailing out.")}${G}${K.dim(`See ${Z($)}`)}${G}${K.dim(`Backup path: ${Z(O)}`)}${G}`}}else await c(MT($),{recursive:!0});let F=B;if(B&&!B.endsWith(`
|
|
25
|
+
`))F+=`
|
|
26
|
+
`;return F+=`
|
|
27
|
+
[[keyboard.bindings]]
|
|
28
|
+
key = "Return"
|
|
29
|
+
mods = "Shift"
|
|
30
|
+
chars = "\\u001B\\r"
|
|
31
|
+
`,await C($,F,{encoding:"utf-8"}),`${X("success",T)("Installed Alacritty Shift+Enter key binding")}${G}${X("success",T)("You may need to restart Alacritty for changes to take effect")}${G}${K.dim(`See ${Z($)}`)}${G}`}catch(F){throw H(F),Error("Failed to install Alacritty Shift+Enter key binding")}}async function DT(T){let w=R(g(),".config","zed"),v=R(w,"keymap.json");try{await c(w,{recursive:!0});let q="[]",$=!1;try{q=await p(v,{encoding:"utf-8"}),$=!0}catch(J){if(!u(J))throw J}if($){if(q.includes("shift-enter"))return`${X("warning",T)("Found existing Zed Shift+Enter key binding. Remove it to continue.")}${G}${K.dim(`See ${Z(v)}`)}${G}`;let J=y(4).toString("hex"),F=`${v}.${J}.bak`;try{await N(v,F)}catch{return`${X("warning",T)("Error backing up existing Zed keymap. Bailing out.")}${G}${K.dim(`See ${Z(v)}`)}${G}${K.dim(`Backup path: ${Z(F)}`)}${G}`}}let B;try{if(B=$T(q),!Array.isArray(B))B=[]}catch{B=[]}return B.push({context:"Terminal",bindings:{"shift-enter":["terminal::SendText","\x1B\r"]}}),await C(v,GT(B,null,2)+`
|
|
32
|
+
`,{encoding:"utf-8"}),`${X("success",T)("Installed Zed Shift+Enter key binding")}${G}${K.dim(`See ${Z(v)}`)}${G}`}catch(q){throw H(q),Error("Failed to install Zed Shift+Enter key binding")}}var G=`
|
|
33
|
+
`,j;var bT=I(()=>{VT();ST();IT();h();TT();D();UT();LT();o();OT();n();_T();zT();j={ghostty:"Ghostty",kitty:"Kitty","iTerm.app":"iTerm2",WezTerm:"WezTerm",WarpTerminal:"Warp"}});
|
|
34
|
+
export{a as ZY,h as _Y,e as $Y,TT as aZ,Ww as bZ,uT as cZ,ET as dZ,Lw as eZ,zw as fZ,Vw as gZ,_w as hZ,bT as iZ};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{H4 as N,M4 as $}from"./cli-1.1.4-g6nryz17.mjs";import{C8 as M,I5 as L,L5 as Y,a9 as Z}from"./cli-1.1.4-fk420f57.mjs";import{Qga as Q,Yga as X}from"./cli-1.1.4-6c3fshef.mjs";import{uja as J,vja as V}from"./cli-1.1.4-m312ygm6.mjs";import{Yka as P,ela as S}from"./cli-1.1.4-hzx821eq.mjs";import{Tra as K,jsa as W}from"./cli-1.1.4-0a20jx5n.mjs";import{Isa as R}from"./cli-1.1.4-xxe2ztwq.mjs";async function C(){let F=M()?.accessToken;if(!F)throw Error("Claude Code web sessions require authentication with a Claude.ai account. API key authentication is not sufficient. Please run /login to authenticate, or check your authentication status with /status.");let y=await L();if(!y)throw Error("Unable to get organization UUID");let G=`${J().BASE_API_URL}/v1/environment_providers`;try{let B={...N(F),"x-organization-uuid":y},q=await K.get(G,{headers:B,timeout:15000});if(q.status!==200)throw Error(`Failed to fetch environments: ${q.status} ${q.statusText}`);return q.data.environments}catch(B){let q=P(B);throw Q(q),Error(`Failed to fetch environments: ${q.message}`)}}async function j(F){let y=M()?.accessToken;if(!y)throw Error("No access token available");let G=await L();if(!G)throw Error("Unable to get organization UUID");let B=`${J().BASE_API_URL}/v1/environment_providers/cloud/create`;return(await K.post(B,{name:F,kind:"anthropic_cloud",description:"",config:{environment_type:"anthropic",cwd:"/home/user",init_script:null,environment:{},languages:[{name:"python",version:"3.11"},{name:"node",version:"20"}],network_config:{allowed_hosts:[],allow_default_hosts:!0}}},{headers:{...N(y),"anthropic-beta":"ccr-byoc-2025-07-29","x-organization-uuid":G},timeout:15000})).data}var b=R(()=>{W();V();Y();Z();S();X();$()});
|
|
2
|
+
export{C as hX,j as iX,b as jX};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import{Isa as I}from"./cli-1.1.4-xxe2ztwq.mjs";function R($,q,H){let J=$.indexOf(q);if(J===-1)return $;let K=q.length,Z=0,Q="";do Q+=$.slice(Z,J)+q+H,Z=J+K,J=$.indexOf(q,Z);while(J!==-1);return Q+=$.slice(Z),Q}function T($,q,H,J){let K=0,Z="";do{let Q=$[J-1]==="\r";Z+=$.slice(K,Q?J-1:J)+q+(Q?`\r
|
|
2
|
+
`:`
|
|
3
|
+
`)+H,K=J+1,J=$.indexOf(`
|
|
4
|
+
`,K)}while(J!==-1);return Z+=$.slice(K),Z}var _=()=>{};function a(){let $=new Map;for(let[q,H]of Object.entries(X)){for(let[J,K]of Object.entries(H))X[J]={open:`\x1B[${K[0]}m`,close:`\x1B[${K[1]}m`},H[J]=X[J],$.set(Number.parseInt(K[0],10),K[1]);Object.defineProperty(X,q,{value:H,enumerable:!1})}return Object.defineProperty(X,"codes",{value:$,enumerable:!1}),X.color.close="\x1B[39m",X.bgColor.close="\x1B[49m",X.underlineColor.close="\x1B[59m",X.color.ansi=A(),X.color.ansi256=Y(),X.color.ansi16m=k(),X.bgColor.ansi=A(10),X.bgColor.ansi256=Y(10),X.bgColor.ansi16m=k(10),X.underlineColor.ansi=g,X.underlineColor.ansi256=Y(20),X.underlineColor.ansi16m=k(20),Object.defineProperties(X,{rgbToAnsi256:{value(q,H,J){if(q===H&&H===J){if(q<8)return 16;if(q>248)return 231;return Math.round((q-8)/247*24)+232}return 16+36*Math.round(q/255*5)+6*Math.round(H/255*5)+Math.round(J/255*5)},enumerable:!1},hexToRgb:{value(q){let H=/[\da-f]{6}|[\da-f]{3}/i.exec(q.toString(16));if(!H)return[0,0,0];let[J]=H;if(J.length===3)J=[...J].map((Z)=>Z+Z).join("");let K=Number.parseInt(J,16);return[K>>16&255,K>>8&255,K&255]},enumerable:!1},hexToAnsi256:{value:(q)=>X.rgbToAnsi256(...X.hexToRgb(q)),enumerable:!1},ansi256ToAnsi:{value(q){if(q<8)return 30+q;if(q<16)return 90+(q-8);let H,J,K;if(q>=232)H=((q-232)*10+8)/255,J=H,K=H;else{q-=16;let D=q%36;H=Math.floor(q/36)/5,J=Math.floor(D/6)/5,K=D%6/5}let Z=Math.max(H,J,K)*2;if(Z===0)return 30;let Q=30+(Math.round(K)<<2|Math.round(J)<<1|Math.round(H));if(Z===2)Q+=60;return Q},enumerable:!1},rgbToAnsi:{value:(q,H,J)=>X.ansi256ToAnsi(X.rgbToAnsi256(q,H,J)),enumerable:!1},hexToAnsi:{value:(q)=>X.ansi256ToAnsi(X.hexToAnsi256(q)),enumerable:!1}}),X}var A=($=0)=>(q)=>`\x1B[${q+$}m`,Y=($=0)=>(q)=>`\x1B[${38+$};5;${q}m`,k=($=0)=>(q,H,J)=>`\x1B[${38+$};2;${q};${H};${J}m`,g=($)=>`\x1B[58;5;${$<90?$-30:$-90+8}m`,X,U1,d,i,W1,z1,n,z;var E=I(()=>{X={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],underlineDouble:["4:2",24],underlineCurly:["4:3",24],underlineDotted:["4:4",24],underlineDashed:["4:5",24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},underlineColor:{underlineBlack:["58;5;0",59],underlineRed:["58;5;1",59],underlineGreen:["58;5;2",59],underlineYellow:["58;5;3",59],underlineBlue:["58;5;4",59],underlineMagenta:["58;5;5",59],underlineCyan:["58;5;6",59],underlineWhite:["58;5;7",59],underlineBlackBright:["58;5;8",59],underlineGray:["58;5;8",59],underlineGrey:["58;5;8",59],underlineRedBright:["58;5;9",59],underlineGreenBright:["58;5;10",59],underlineYellowBright:["58;5;11",59],underlineBlueBright:["58;5;12",59],underlineMagentaBright:["58;5;13",59],underlineCyanBright:["58;5;14",59],underlineWhiteBright:["58;5;15",59]}},U1=Object.keys(X.modifier),d=Object.keys(X.color),i=Object.keys(X.bgColor),W1=Object.keys(X.underlineColor),z1=[...d,...i];n=a(),z=n});import x from"node:process";import t from"node:os";import S from"node:tty";function W($,q=globalThis.Deno?globalThis.Deno.args:x.argv){let H=$.startsWith("-")?"":$.length===1?"-":"--",J=q.indexOf(H+$),K=q.indexOf("--");return J!==-1&&(K===-1||J<K)}function b(){return/^\d+$/.test(U.FORCE_COLOR)}function o(){if(!("FORCE_COLOR"in U))return;if(U.FORCE_COLOR==="false")return 0;if(U.FORCE_COLOR==="true"||U.FORCE_COLOR.length===0)return 1;if(!b())return;return Math.min(Number.parseInt(U.FORCE_COLOR,10),3)}function r($){if($===0)return!1;return{level:$,hasBasic:!0,has256:$>=2,has16m:$>=3}}function l($,{streamIsTTY:q,sniffFlags:H=!0}={}){let J=o();if(J!==void 0)P=J;let K=H?P:J;if(K===0)return 0;if(H){if(W("color=16m")||W("color=full")||W("color=truecolor"))return 3;if(W("color=256"))return 2}if(K!==void 0&&b())return K;if("TF_BUILD"in U&&"AGENT_NAME"in U)return 1;if($&&!q&&K===void 0)return 0;let Z=K||0;if(U.TERM==="dumb")return Z;if(x.platform==="win32"){let Q=t.release().split(".");if(Number(Q[0])>=10&&Number(Q[2])>=10586)return Number(Q[2])>=14931?3:2;return 1}if("CI"in U){if(["GITHUB_ACTIONS","GITEA_ACTIONS","CIRCLECI"].some((Q)=>(Q in U)))return 3;if(["TRAVIS","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some((Q)=>(Q in U))||U.CI_NAME==="codeship")return 1;return Z}if("TEAMCITY_VERSION"in U)return/^(?:9\.0*[1-9]\d*\.|\d{2,}\.)/.test(U.TEAMCITY_VERSION)?1:0;if(U.COLORTERM==="truecolor")return 3;if(U.TERM==="xterm-kitty")return 3;if(U.TERM==="xterm-ghostty")return 3;if(U.TERM==="wezterm")return 3;if("TERM_PROGRAM"in U){let Q=Number.parseInt((U.TERM_PROGRAM_VERSION||"").split(".",1)[0],10);switch(U.TERM_PROGRAM){case"iTerm.app":return Q>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(?:color)?$/i.test(U.TERM))return 2;if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(U.TERM))return 1;if("COLORTERM"in U)return 1;return Z}function F($,q={}){let H=l($,{streamIsTTY:$&&$.isTTY,...q});return r(H)}var U,P,s,C;var h=I(()=>{({env:U}=x);if(W("no-color")||W("no-colors")||W("color=false")||W("color=never"))P=0;else if(W("color")||W("colors")||W("color=true")||W("color=always"))P=1;s={stdout:F({isTTY:S.isatty(1)}),stderr:F({isTTY:S.isatty(2)})},C=s});class q1{constructor($){return v($)}}function O($){return v($)}var f,m,G,V,M,w,j,u=($)=>{if(!Number.isSafeInteger($)||$<0||$>3)throw Error("The `level` should be an integer from 0 to 3")},e,$1=($,q={})=>{if(q.level!==void 0)u(q.level);let H=f?f.level:0;$[w]=q.level===void 0?H:q.level},v=($)=>{let q=(...H)=>H.join(" ");return $1(q,$),Object.setPrototypeOf(q,O.prototype),q},H1=($,q)=>{let H=z[q];if($==="rgb"){let K=(Q,D,B)=>H.ansi(z.rgbToAnsi(Q,D,B));return[K,K,(Q,D,B)=>H.ansi256(z.rgbToAnsi256(Q,D,B)),H.ansi16m]}if($==="hex"){let K=(Q)=>H.ansi(z.hexToAnsi(Q));return[K,K,(Q)=>H.ansi256(z.hexToAnsi256(Q)),(Q)=>H.ansi16m(...z.hexToRgb(Q))]}let J=(K)=>H.ansi(z.ansi256ToAnsi(K));return[J,J,H.ansi256,H.ansi256]},J1,K1,p=($,q,H)=>{let J,K;if(H===void 0)J=$,K=q;else J=H.openAll+$,K=q+H.closeAll;return{open:$,close:q,openAll:J,closeAll:K,parent:H}},N=($,q,H)=>{let J=(...K)=>{if(K.length===1)return L(J,""+K[0]);if(K.length===2)return L(J,K[0]+" "+K[1]);return L(J,K.join(" "))};return Object.setPrototypeOf(J,K1),J[G]=$[G]??$,J[V]=q,J[M]=H,J},L=($,q)=>{if($[G][w]<=0||!q)return $[M]?"":q;let H=$[V];if(H===void 0)return q;let{openAll:J,closeAll:K}=H;if(q.includes("\x1B"))while(H!==void 0)q=R(q,H.close,H.open),H=H.parent;let Z=q.indexOf(`
|
|
5
|
+
`);if(Z!==-1)q=T(q,K,J,Z);return J+q+K},Q1,w1,Y1;var X1=I(()=>{_();E();h();({stdout:f,stderr:m}=C),G=Symbol("GENERATOR"),V=Symbol("STYLER"),M=Symbol("IS_EMPTY"),w=Symbol("LEVEL"),j=Object.create(null),e={enumerable:!0,get(){return this[w]},set($){u($),this[w]=$}};Object.setPrototypeOf(O.prototype,Function.prototype);for(let[$,q]of Object.entries(z))j[$]={get(){let H=N(this,p(q.open,q.close,this[V]),this[M]);return Object.defineProperty(this,$,{value:H}),H}};j.visible={get(){let $=N(this,this[V],!0);return Object.defineProperty(this,"visible",{value:$}),$}};J1=["rgb","hex","ansi256"];for(let $ of J1){let q=$[0].toUpperCase()+$.slice(1);for(let[H,J]of[[$,"color"],["bg"+q,"bgColor"],["underline"+q,"underlineColor"]]){let{close:K}=z[J],Z=H1($,J);j[H]={get(){let Q=function(D,B,c){let y=Z[this.level](D,B,c);return N(this,p(y,K,this[V]),this[M])};return Object.defineProperty(this,H,{value:Q}),Q}}}}K1=Object.defineProperties(()=>{},{...j,level:{enumerable:!0,get(){return this[G].level},set($){this[G].level=$}}});Object.defineProperties(O.prototype,{...j,level:e});Q1=O(),w1=O({level:m?m.level:0}),Y1=Q1});
|
|
6
|
+
export{q1 as v9,Y1 as w9,X1 as x9};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{GS as jJ,HS as $V,So as IJ,Uo as cJ,cj as pJ,hL as DJ,hS as UJ,iL as BJ,jL as lJ}from"./cli-1.1.4-6z69geef.mjs";import{$$ as NJ,Qga as G,S$ as mJ,V_ as c,W_ as fJ,Wda as m,Xea as YJ,Yga as dJ,daa as gJ,eea as uJ,p$ as WJ,qfa as hJ,u$ as l}from"./cli-1.1.4-6c3fshef.mjs";import{Iia as U,Kia as PJ}from"./cli-1.1.4-f7y4b0px.mjs";import{wja as f,zja as SJ}from"./cli-1.1.4-te2372tc.mjs";import{Cka as kJ,lka as VJ,pka as bJ,zka as Q}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as JJ,ela as yJ}from"./cli-1.1.4-hzx821eq.mjs";import{Wma as qJ,Xma as zJ}from"./cli-1.1.4-0r232fpm.mjs";import{Esa as wJ,Isa as _J}from"./cli-1.1.4-xxe2ztwq.mjs";class p{paths=[];lowerPaths=[];charBits=new Int32Array(0);pathLens=new Uint16Array(0);topLevelCache=null;readyCount=0;loadFromFileList(J){let W=new Set,Z=[];for(let V of J)if(V.length>0&&!W.has(V))W.add(V),Z.push(V);this.buildIndex(Z)}loadFromFileListAsync(J){let W=()=>{},Z=new Promise((Y)=>{W=Y}),V=this.buildAsync(J,W);return{queryable:Z,done:V}}async buildAsync(J,W){let Z=new Set,V=[],Y=performance.now();for(let $=0;$<J.length;$++){let _=J[$];if(_.length>0&&!Z.has(_))Z.add(_),V.push(_);if(($&255)===255&&performance.now()-Y>4)await b(),Y=performance.now()}this.resetArrays(V),Y=performance.now();let X=!0;for(let $=0;$<V.length;$++)if(this.indexPath($),($&255)===255&&performance.now()-Y>4){if(this.readyCount=$+1,X)W(),X=!1;await b(),Y=performance.now()}this.readyCount=V.length,W()}buildIndex(J){this.resetArrays(J);for(let W=0;W<J.length;W++)this.indexPath(W);this.readyCount=J.length}resetArrays(J){let W=J.length;this.paths=J,this.lowerPaths=Array(W),this.charBits=new Int32Array(W),this.pathLens=new Uint16Array(W),this.readyCount=0,this.topLevelCache=LJ(J,100)}indexPath(J){let W=this.paths[J].toLowerCase();this.lowerPaths[J]=W;let Z=W.length;this.pathLens[J]=Z;let V=0;for(let Y=0;Y<Z;Y++){let X=W.charCodeAt(Y);if(X>=97&&X<=122)V|=1<<X-97}this.charBits[J]=V}search(J,W){if(W<=0)return[];if(J.length===0){if(this.topLevelCache)return this.topLevelCache.slice(0,W);return[]}let Z=J!==J.toLowerCase(),V=Z?J:J.toLowerCase(),Y=Math.min(V.length,64),X=Array(Y),$=0;for(let M=0;M<Y;M++){let B=V.charAt(M);X[M]=B;let E=B.charCodeAt(0);if(E>=97&&E<=122)$|=1<<E-97}let _=Y*24+8+32,H=[],N=-1/0,{paths:I,lowerPaths:q,charBits:x,pathLens:j,readyCount:g}=this;J:for(let M=0;M<g;M++){if((x[M]&$)!==$)continue;let B=Z?I[M]:q[M],E=B.indexOf(X[0]);if(E===-1)continue;y[0]=E;let C=0,u=0,h=E;for(let A=1;A<Y;A++){if(E=B.indexOf(X[A],h+1),E===-1)continue J;y[A]=E;let F=E-h-1;if(F===0)u+=4;else C+=3+F*1;h=E}if(H.length===W&&_+u-C<=N)continue;let S=I[M],vJ=j[M],T=Y*16+u-C;T+=HJ(S,y[0],!0);for(let A=1;A<Y;A++)T+=HJ(S,y[A],!1);if(T+=Math.max(0,32-(vJ>>2)),H.length<W){if(H.push({path:S,fuzzScore:T}),H.length===W)H.sort((A,F)=>A.fuzzScore-F.fuzzScore),N=H[0].fuzzScore}else if(T>N){let A=0,F=H.length;while(A<F){let d=A+F>>1;if(H[d].fuzzScore<T)A=d+1;else F=d}H.splice(A,0,{path:S,fuzzScore:T}),H.shift(),N=H[0].fuzzScore}}H.sort((M,B)=>B.fuzzScore-M.fuzzScore);let D=H.length,w=Math.max(D,1),z=Array(D);for(let M=0;M<D;M++){let B=H[M].path,E=M/w,C=B.includes("test")?Math.min(E*1.05,1):E;z[M]={path:B,score:C}}return z}}function HJ(J,W,Z){if(W===0)return Z?8:0;let V=J.charCodeAt(W-1);if(RJ(V))return 8;if(GJ(V)&&CJ(J.charCodeAt(W)))return 6;return 0}function RJ(J){return J===47||J===92||J===45||J===95||J===46||J===32}function GJ(J){return J>=97&&J<=122}function CJ(J){return J>=65&&J<=90}function b(){return new Promise((J)=>setImmediate(J))}function LJ(J,W){let Z=new Set;for(let Y of J){let X=Y.length;for(let _=0;_<Y.length;_++){let H=Y.charCodeAt(_);if(H===47||H===92){X=_;break}}let $=Y.slice(0,X);if($.length>0){if(Z.add($),Z.size>=W)break}}let V=Array.from(Z);return V.sort((Y,X)=>{let $=Y.length-X.length;if($!==0)return $;return Y<X?-1:Y>X?1:0}),V.slice(0,W).map((Y)=>({path:Y,score:0}))}var QJ=4,y;var MJ=_J(()=>{y=new Int32Array(64)});import{statSync as nJ}from"fs";import*as O from"path";function n(){if(!K)K=new p;return K}function vV(){K=null,v=null,R++,k=null,L=[],$J=[],XJ=[],ZJ.clear(),s=null,o=null,a=0,i=null,r=null,P=null}function xJ(J){let W=J.length,Z=Math.max(1,Math.floor(W/500)),V=-2128831035;for(let Y=0;Y<W;Y+=Z){let X=J[Y];for(let $=0;$<X.length;$++)V=(V^X.charCodeAt($))*16777619|0;V=V*16777619|0}if(W>0){let Y=J[W-1];for(let X=0;X<Y.length;X++)V=(V^Y.charCodeAt(X))*16777619|0}return`${W}:${(V>>>0).toString(16)}`}function sJ(){let J=WJ(U());if(!J)return null;try{return nJ(O.join(J,".git","index")).mtimeMs}catch{return null}}function OJ(J,W,Z){if(Z===W)return J;return J.map((V)=>{let Y=O.join(W,V);return O.relative(Z,Y)})}async function oJ(J){if(J.length===0)return;if(!K||L.length===0)return;let W=await FJ(J),Z=[...L,...$J,...XJ,...J,...W],V=xJ(Z);if(V===P){Q("[FileIndex] skipped index rebuild — merged paths unchanged");return}await K.loadFromFileListAsync(Z).done,P=V,Q(`[FileIndex] rebuilt index with ${L.length} tracked + ${J.length} untracked files`)}async function EJ(J,W){let Z=`${J}:${W}`;if(o===Z)return s;let V=VJ(),Y=[".ignore",".rgignore"],X=[...new Set([J,W])],$=KJ.default(),_=!1,H=X.flatMap((q)=>Y.map((x)=>O.join(q,x))),N=await Promise.all(H.map((q)=>V.readFile(q,{encoding:"utf8"}).catch(()=>null)));for(let[q,x]of N.entries()){if(x===null)continue;$.add(x),_=!0,Q(`[FileIndex] loaded ignore patterns from ${H[q]}`)}let I=_?$:null;return s=I,o=Z,I}async function aJ(J,W){let Z=Date.now();Q("[FileIndex] getFilesUsingGit called");let V=WJ(U());if(!V)return Q("[FileIndex] not a git repo, returning null"),null;try{let Y=U(),X=Date.now(),$=await c(l(),["-c","core.quotepath=false","ls-files","--recurse-submodules"],{timeout:5000,abortSignal:J,cwd:V});if(Q(`[FileIndex] git ls-files (tracked) took ${Date.now()-X}ms`),$.code!==0)return Q(`[FileIndex] git ls-files failed (code=${$.code}, stderr=${$.stderr}), falling back to ripgrep`),null;let _=$.stdout.trim().split(`
|
|
2
|
+
`).filter(Boolean),H=OJ(_,V,Y),N=await EJ(V,Y);if(N){let q=H.length;H=N.filter(H),Q(`[FileIndex] applied ignore patterns: ${q} -> ${H.length} files`)}L=H;let I=Date.now()-Z;if(Q(`[FileIndex] git ls-files: ${H.length} tracked files in ${I}ms`),f("tengu_file_suggestions_git_ls_files",{file_count:H.length,tracked_count:H.length,untracked_count:0,duration_ms:I}),!k){let q=W?["-c","core.quotepath=false","ls-files","--others","--exclude-standard"]:["-c","core.quotepath=false","ls-files","--others"],x=R;k=c(l(),q,{timeout:1e4,cwd:V}).then(async(j)=>{if(x!==R)return;if(j.code===0){let g=j.stdout.trim().split(`
|
|
3
|
+
`).filter(Boolean),D=OJ(g,V,Y),w=await EJ(V,Y);if(w&&D.length>0){let z=D.length;D=w.filter(D),Q(`[FileIndex] applied ignore patterns to untracked: ${z} -> ${D.length} files`)}Q(`[FileIndex] background untracked fetch: ${D.length} files`),oJ(D)}}).catch((j)=>{Q(`[FileIndex] background untracked fetch failed: ${j}`)}).finally(()=>{k=null})}return H}catch(Y){return Q(`[FileIndex] git ls-files error: ${JJ(Y)}`),null}}async function FJ(J){let W=new Set,Z=performance.now();for(let V=0;V<J.length;V++)if(iJ(J,V,V+1,W),(V&255)===255&&performance.now()-Z>QJ)await b(),Z=performance.now();return[...W].map((V)=>V+O.sep)}function iJ(J,W,Z,V){for(let Y=W;Y<Z;Y++){let X=O.dirname(J[Y]);while(X!=="."&&!V.has(X)){let $=O.dirname(X);if($===X)break;V.add(X),X=$}}}async function rJ(J){return(await Promise.all(DJ.map((Z)=>BJ(Z,J)))).flatMap((Z)=>Z.map((V)=>V.filePath))}async function tJ(J,W){Q(`[FileIndex] getProjectFiles called, respectGitignore=${W}`);let Z=await aJ(J,W);if(Z!==null)return Q(`[FileIndex] using git ls-files result (${Z.length} files)`),Z;return Q("[FileIndex] git ls-files returned null, falling back to ripgrep"),TJ(J,W)}async function TJ(J,W){let Z=Date.now(),V=["--files","--follow","--hidden","--glob","!.git/","--glob","!.svn/","--glob","!.hg/","--glob","!.bzr/","--glob","!.jj/","--glob","!.sl/"];if(!W)V.push("--no-ignore-vcs");let Y=U(),$=(await IJ(V,Y,J)).map((H)=>O.relative(Y,H)),_=Date.now()-Z;return Q(`[FileIndex] ripgrep: ${$.length} files in ${_}ms`),f("tengu_file_suggestions_ripgrep",{file_count:$.length,duration_ms:_}),$}async function RV(){let J=AbortSignal.timeout(1e4),W=m(),Z=YJ(),V=W.respectGitignore??Z.respectGitignore??!0;try{return await TJ(J,V)}catch(Y){return G(Y),[]}}async function eJ(){let J=AbortSignal.timeout(1e4),W=n();try{let Z=m(),V=YJ(),Y=Z.respectGitignore??V.respectGitignore??!0,X=U(),[$,_]=await Promise.all([tJ(J,Y),rJ(X)]);$J=_;let H=[...$,..._],N=await FJ(H);XJ=N;let I=[...N,...H],q=xJ(I);if(q!==r)await W.loadFromFileListAsync(I).done,r=q,P=null;else Q("[FileIndex] skipped index rebuild — tracked paths unchanged")}catch(Z){G(Z)}return W}function JV(J,W){let Z=Math.min(J.length,W.length),V=0;while(V<Z&&J[V]===W[V])V++;return J.substring(0,V)}function GV(J){if(J.length===0)return"";let W=J.map((V)=>V.displayText),Z=W[0];for(let V=1;V<W.length;V++){let Y=W[V];if(Z=JV(Z,Y),Z==="")return""}return Z}function t(J,W){return{id:`file-${J}`,displayText:J,metadata:W!==void 0?{score:W}:void 0}}function VV(J,W){return J.search(W,e).map((V)=>t(V.path,V.score))}function AJ(){if(v)return;let J=sJ();if(K){if(!(J!==null&&J!==i)&&Date.now()-a<WV)return}let W=R,Z=Date.now();n(),v=eJ().then((V)=>{if(W!==R)return V;return v=null,ZJ.emit(),i=J,a=Date.now(),Q(`[FileIndex] cache refresh completed in ${Date.now()-Z}ms`),V}).catch((V)=>{if(Q(`[FileIndex] Cache refresh failed: ${JJ(V)}`),G(V),W===R)v=null;return n()})}async function YV(){let J=VJ(),W=U();try{let Z=await J.readdir(W);return Z.sort((V,Y)=>{let X=V.isDirectory(),$=Y.isDirectory();if(X!==$)return X?-1:1;let _=V.name.startsWith("."),H=Y.name.startsWith(".");if(_!==H)return _?-1:1;return V.name.toLowerCase().localeCompare(Y.name.toLowerCase())}),Z.map((V)=>{let Y=O.join(W,V.name),X=O.relative(W,Y);return V.isDirectory()?X+O.sep:X})}catch(Z){return G(Z),[]}}async function CV(J,W=!1){if(!J&&!W)return[];if(m().fileSuggestion?.type==="command"){let V={...UJ(),query:J};return(await jJ(V)).slice(0,e).map(t)}if(J===""||J==="."||J==="./"){let V=await YV();return AJ(),V.slice(0,e).map(t)}let Z=Date.now();try{let V=v!==null;AJ();let Y=J,X="."+O.sep;if(J.startsWith(X))Y=J.substring(2);if(Y.startsWith("~"))Y=NJ(Y);let $=K?VV(K,Y):[],_=Date.now()-Z;return Q(`[FileIndex] generateFileSuggestions: ${$.length} results in ${_}ms (${V?"partial":"full"} index)`),f("tengu_file_suggestions_query",{duration_ms:_,cache_hit:!V,result_count:$.length,query_length:J.length}),$}catch(V){return G(V),[]}}function LV(J,W,Z,V,Y,X){let $=typeof J==="string"?J:J.displayText,_=W.substring(0,V)+$+W.substring(V+Z.length);Y(_);let H=V+$.length;X(H)}var KJ,K=null,v=null,ZJ,jV,R=0,k=null,L,$J,XJ,s=null,o=null,a=0,i=null,r=null,P=null,e=100,WV=5000;var ZV=_J(()=>{lJ();MJ();SJ();hJ();PJ();kJ();yJ();fJ();bJ();mJ();$V();dJ();gJ();cJ();uJ();zJ();KJ=wJ(pJ(),1);ZJ=qJ(),jV=ZJ.subscribe,L=[],$J=[],XJ=[]});
|
|
4
|
+
export{p as ii,MJ as ji,jV as ki,vV as li,RV as mi,GV as ni,AJ as oi,CV as pi,LV as qi,ZV as ri};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Isa as j}from"./cli-1.1.4-xxe2ztwq.mjs";function C(){return`claude-swarm-${process.pid}`}var x="team-lead",y="claude-swarm",z="swarm-view",A="tmux",B="claude-hidden",D="CLAUDE_CODE_TEAMMATE_COMMAND";var k=()=>{};
|
|
2
|
+
export{x as D3,y as E3,z as F3,A as G3,B as H3,C as I3,D as J3,k as K3};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Hsa as n,Isa as o}from"./cli-1.1.4-xxe2ztwq.mjs";var p={};n(p,{stripProtoFields:()=>e,logEventAsync:()=>c,logEvent:()=>i,attachAnalyticsSink:()=>r,_resetForTesting:()=>s});function e(t){return t}function r(){}function i(){}async function c(){}function s(){}var u=()=>{};
|
|
2
|
+
export{i as wja,c as xja,p as yja,u as zja};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{v4 as K,x4 as Z}from"./cli-1.1.4-w4b4vhj9.mjs";import{A4 as Y,y4 as J}from"./cli-1.1.4-v67jx2fw.mjs";import{C8 as D,G5 as B,H8 as F,I8 as G,L5 as W,a9 as X}from"./cli-1.1.4-fk420f57.mjs";import{uja as y,vja as Q}from"./cli-1.1.4-m312ygm6.mjs";import{Tra as z,jsa as V}from"./cli-1.1.4-0a20jx5n.mjs";import{Isa as N}from"./cli-1.1.4-xxe2ztwq.mjs";async function P(){if(!F()||!G())return{};let w=D();if(w&&B(w.expiresAt))return null;let q=K();if(q.error)throw Error(`Auth error: ${q.error}`);let L={"Content-Type":"application/json","User-Agent":J(),...q.headers},M=`${y().BASE_API_URL}/api/oauth/usage`;return(await z.get(M,{headers:L,timeout:5000})).data}var _=N(()=>{V();Q();X();Z();Y();W()});
|
|
2
|
+
export{P as Ui,_ as Vi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{hU as z,ps as _}from"./cli-1.1.4-6z69geef.mjs";import{A4 as f}from"./cli-1.1.4-v67jx2fw.mjs";import{X7 as k,a9 as A,m5 as K}from"./cli-1.1.4-fk420f57.mjs";import{R_ as L,S$ as T,eea as v,qfa as x,tba as W}from"./cli-1.1.4-6c3fshef.mjs";import{iia as H}from"./cli-1.1.4-qecgken2.mjs";import{Bia as b,Dia as Q,Eia as q,Fia as V}from"./cli-1.1.4-mzzr964a.mjs";import{vja as w}from"./cli-1.1.4-m312ygm6.mjs";import{zja as O}from"./cli-1.1.4-te2372tc.mjs";import{ela as U}from"./cli-1.1.4-hzx821eq.mjs";import{Vma as X,Zqa as B}from"./cli-1.1.4-0r232fpm.mjs";import{Isa as G}from"./cli-1.1.4-xxe2ztwq.mjs";var Z,$;var J=G(()=>{Q();V();Z=q(()=>b.object({entries:b.record(b.string(),b.string())})),$=q(()=>b.object({userId:b.string(),version:b.number(),lastModified:b.string(),checksum:b.string(),content:Z()}))});var Y=G(()=>{B();w();A();z();x();L();U();T();K();W();v();X();k();f();H();O();_();J()});
|
|
2
|
+
export{Y as Id};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Isa as s}from"./cli-1.1.4-xxe2ztwq.mjs";function c(){return"claude-code/99.0.0"}function i(){let e=process.env.CLAUDE_CODE_ENTRYPOINT??"cli",n=process.env.CLAUDE_AGENT_SDK_VERSION?`, agent-sdk/${process.env.CLAUDE_AGENT_SDK_VERSION}`:"",t=process.env.CLAUDE_AGENT_SDK_CLIENT_APP?`, client-app/${process.env.CLAUDE_AGENT_SDK_CLIENT_APP}`:"";return`claudin/1.1.4 (${e}${n}${t})`}var r=()=>{};
|
|
2
|
+
export{c as y4,i as z4,r as A4};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{K as E0}from"./cli-1.1.4-fejb0548.mjs";import{aa as s0}from"./cli-1.1.4-cst0a515.mjs";import{lb as k0}from"./cli-1.1.4-vdd43cyp.mjs";import{qb as p0}from"./cli-1.1.4-phjb22vy.mjs";import{Kc as W0,Mc as ac}from"./cli-1.1.4-1gz31tm3.mjs";import{Pc as N,Qc as Ic}from"./cli-1.1.4-83vy9tsv.mjs";import{Sc as Q0,Tc as oc}from"./cli-1.1.4-3yy14yyg.mjs";import{md as n0,nd as S0}from"./cli-1.1.4-da50kprz.mjs";import{Vg as P0,Wg as Fc}from"./cli-1.1.4-ck3xhtdn.mjs";import{$n as d0,AF as Mc,EG as Y,FG as M0,GG as Z0,HG as _c,JS as d,LS as O0,NS as Tc,TM as _0,UT as b0,Yn as p,Zn as N0,_n as f0,ao as i0,bN as r0,bo as g0,cU as B0,eU as D0,eo as W,fo as j,hU as Rc,hy as X,kU as G0,ly as l0,mU as Cc,nH as y0,oH as uc,pN as u0,rN as $0,vG as m0,wF as Y0,wG as x0,xG as r,zG as K0}from"./cli-1.1.4-6z69geef.mjs";import{DZ as G,H1 as x,VZ as X0,_Z as lc,a1 as c0,c1 as y,g1 as g}from"./cli-1.1.4-nh3sscxn.mjs";import{n4 as e,o4 as m,p4 as U,q4 as C}from"./cli-1.1.4-40z19hth.mjs";import{Q5 as J0,R5 as hc,h5 as H0,m5 as nc}from"./cli-1.1.4-fk420f57.mjs";import{Bga as z0,Ega as mc,Oea as V0,Tda as V,Uea as s,Xda as J,Xea as t,Zea as q0,_da as w0,aea as U0,eea as k,qfa as I0}from"./cli-1.1.4-6c3fshef.mjs";import{Dha as fc,yha as R}from"./cli-1.1.4-rc28sjtd.mjs";import{Wha as C0,cia as L0,iia as ic}from"./cli-1.1.4-qecgken2.mjs";import{wja as q,zja as E}from"./cli-1.1.4-te2372tc.mjs";import{Cka as v0}from"./cli-1.1.4-53fvpymg.mjs";import{kla as K,rla as R0,ula as cc}from"./cli-1.1.4-c7a7aezt.mjs";import{Jna as a0,Ppa as T0,Zqa as e0}from"./cli-1.1.4-0r232fpm.mjs";import{Esa as D,Jsa as L}from"./cli-1.1.4-xxe2ztwq.mjs";E();Tc();e0();import{appendFileSync as Lc}from"fs";Cc();lc();M0();ic();mc();Mc();E();k();K0();j();var $=D(G(),1);x();C();var S=D(G(),1);function P(){let f=S.c(1),c;if(f[0]===Symbol.for("react.memo_cache_sentinel"))c=U(y,{children:["MCP servers may execute code or access system resources. All tool calls require approval. Learn more in the"," ",m(g,{url:"https://code.claude.com/docs/en/mcp",children:"MCP documentation"}),"."]}),f[0]=c;else c=f[0];return c}C();function v(f){let c=$.c(13),{serverName:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(T){q("tengu_mcp_dialog_choice",{choice:T});c:switch(T){case"yes":case"yes_all":{let H=(J()||{}).enabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{enabledMcpjsonServers:[...H,i]});if(T==="yes_all")V("localSettings",{enableAllProjectMcpServers:!0});n();break c}case"no":{let H=(J()||{}).disabledMcpjsonServers||[];if(!H.includes(i))V("localSettings",{disabledMcpjsonServers:[...H,i]});n()}}},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u=`New MCP server found in .mcp.json: ${i}`,M;if(c[3]!==l)M=()=>l("no"),c[3]=l,c[4]=M;else M=c[4];let I;if(c[5]===Symbol.for("react.memo_cache_sentinel"))I=m(P,{}),c[5]=I;else I=c[5];let o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=[{label:"Use this and all future MCP servers in this project",value:"yes_all"},{label:"Use this MCP server",value:"yes"},{label:"Continue without using this MCP server",value:"no"}],c[6]=o;else o=c[6];let h;if(c[7]!==l)h=m(r,{options:o,onChange:(a)=>l(a),onCancel:()=>l("no")}),c[7]=l,c[8]=h;else h=c[8];let F;if(c[9]!==u||c[10]!==M||c[11]!==h)F=U(W,{title:u,color:"warning",onCancel:M,children:[I,h]}),c[9]=u,c[10]=M,c[11]=h,c[12]=F;else F=c[12];return F}S0();E();x();k();d0();x0();g0();j();N0();var h0=D(G(),1);C();function o0(f){let c=h0.c(21),{serverNames:i,onDone:n}=f,_;if(c[0]!==n||c[1]!==i)_=function(O){let Z=J()||{},t0=Z.enabledMcpjsonServers||[],A0=Z.disabledMcpjsonServers||[],[b,B]=n0(i,(Q)=>O.includes(Q));if(q("tengu_mcp_multidialog_choice",{approved:b.length,rejected:B.length}),b.length>0){let Q=[...new Set([...t0,...b])];V("localSettings",{enabledMcpjsonServers:Q})}if(B.length>0){let Q=[...new Set([...A0,...B])];V("localSettings",{disabledMcpjsonServers:Q})}n()},c[0]=n,c[1]=i,c[2]=_;else _=c[2];let l=_,u;if(c[3]!==n||c[4]!==i)u=()=>{let O=(J()||{}).disabledMcpjsonServers||[],Z=[...new Set([...O,...i])];V("localSettings",{disabledMcpjsonServers:Z}),n()},c[3]=n,c[4]=i,c[5]=u;else u=c[5];let M=u,I=`${i.length} new MCP servers found in .mcp.json`,o;if(c[6]===Symbol.for("react.memo_cache_sentinel"))o=m(P,{}),c[6]=o;else o=c[6];let h;if(c[7]!==i)h=i.map(j0),c[7]=i,c[8]=h;else h=c[8];let F;if(c[9]!==M||c[10]!==l||c[11]!==i||c[12]!==h)F=m(m0,{options:h,defaultValue:i,onSubmit:l,onCancel:M,hideIndexes:!0}),c[9]=M,c[10]=l,c[11]=i,c[12]=h,c[13]=F;else F=c[13];let a;if(c[14]!==M||c[15]!==I||c[16]!==F)a=U(W,{title:I,subtitle:"Select any you wish to enable.",color:"warning",onCancel:M,hideInputGuide:!0,children:[o,F]}),c[14]=M,c[15]=I,c[16]=F,c[17]=a;else a=c[17];let T;if(c[18]===Symbol.for("react.memo_cache_sentinel"))T=m(c0,{paddingX:1,children:m(y,{dimColor:!0,italic:!0,children:U(i0,{children:[m(p,{shortcut:"Space",action:"select"}),m(p,{shortcut:"Enter",action:"confirm"}),m(f0,{action:"confirm:no",context:"Confirmation",fallback:"Esc",description:"reject all"})]})})}),c[18]=T;else T=c[18];let w;if(c[19]!==a)w=U(e,{children:[a,T]}),c[19]=a,c[20]=w;else w=c[20];return w}function j0(f){return{label:f,value:f}}M0();l0();r0();$0();C();async function F0(f){let{servers:c}=_0("project"),i=Object.keys(c).filter((n)=>u0(n)==="pending");if(i.length===0)return;await new Promise((n)=>{let _=()=>void n();if(i.length===1&&i[0]!==void 0){let l=i[0];f.render(m(X,{children:m(Y,{children:m(v,{serverName:l,onDone:_})})}))}else f.render(m(X,{children:m(Y,{children:m(o0,{serverNames:i,onDone:_})})}))})}l0();Ic();hc();Rc();I0();ac();I0();v0();cc();class A{frameDurations=[];firstRenderTime;lastRenderTime;record(f){let c=performance.now();if(this.firstRenderTime===void 0)this.firstRenderTime=c;this.lastRenderTime=c,this.frameDurations.push(f)}getMetrics(){if(this.frameDurations.length===0||this.firstRenderTime===void 0||this.lastRenderTime===void 0)return;let f=this.lastRenderTime-this.firstRenderTime;if(f<=0)return;let i=this.frameDurations.length/(f/1000),n=this.frameDurations.slice().sort((M,I)=>I-M),_=Math.max(0,Math.ceil(n.length*0.01)-1),l=n[_],u=l>0?1000/l:0;return{averageFps:Math.round(i*100)/100,low1PctFps:Math.round(u*100)/100}}}oc();nc();_c();Fc();uc();k();fc();C();function wc(){s((f)=>({...f,hasCompletedOnboarding:!0,lastOnboardingVersion:"99.0.0"}))}function Uc(f,c){return new Promise((i)=>{let n=(_)=>void i(_);f.render(c(n))})}async function pf(f,c,i){return Vc(f,c,{color:"error",beforeExit:i})}async function Vc(f,c,i){let{Text:n}=await import("./ink-1.1.4-vw46vbtt.mjs"),_=i?.color,l=i?.exitCode??1;f.render(_?m(n,{color:_,children:c}):m(n,{children:c})),f.unmount(),await i?.beforeExit?.(),process.exit(l)}function z(f,c,i){return Uc(f,(n)=>m(X,{onChangeAppState:i?.onChangeAppState,children:m(Y,{children:c(n)})}))}async function sf(f,c){f.render(c),E0(),await f.waitUntilExit(),await O0(0)}async function tf(f,c,i,n,_){if(K(!1)||process.env.IS_DEMO)return!1;R("setupScreens_start");let l=H0(),u=!1;if(W0()){let{MigrationDialog:o}=await import("./MigrationDialog-1.1.4-749tfrvg.mjs");await z(f,(h)=>m(o,{onDone:()=>void h()}))}let M=t();if(l&&(!M.theme||!M.hasCompletedOnboarding)){u=!0;let{Onboarding:o}=await import("./Onboarding-1.1.4-f019rkkj.mjs");await z(f,(h)=>m(o,{onDone:()=>{wc(),h()}}),{onChangeAppState:N})}if(!K(process.env.CLAUBBIT)){if(l&&!V0()){let{TrustDialog:o}=await import("./TrustDialog-1.1.4-zvk6f63e.mjs");await z(f,(h)=>m(o,{commands:n,onDone:h}))}if(T0(!0),R("setupScreens_after_trust_accepted"),L0(),C0(),G0(),R("setupScreens_after_growthbook_kick"),l){let{errors:o}=y0();if(o.length===0)await F0(f);R("setupScreens_after_mcp_approvals");let h=await D0();if(R("setupScreens_after_claudemd_check"),h){let F=B0(await b0(!0)),{ClaudeMdExternalIncludesDialog:a}=await import("./ClaudeMdExternalIncludesDialog-1.1.4-094y677a.mjs");await z(f,(T)=>m(a,{onDone:T,isStandaloneDialog:!0,externalIncludes:F}))}}}k0(),Q0(),R("setupScreens_after_env_applied"),setImmediate(()=>s0());let I=await Y0();if(R("setupScreens_after_grove_check"),I){R("setupScreens_grove_block_enter");let{GroveDialog:o}=await import("./Grove-1.1.4-yj7xbcnq.mjs");if(await z(f,(F)=>m(o,{showIfAlreadyViewed:!1,location:u?"onboarding":"policy_update_modal",onDone:F}))==="escape")return q("tengu_grove_policy_exited",{}),d(0),!1}{let o=z0();R("setupScreens_after_tryGetActiveProvider");let h=o?.transport==="anthropic"?o.apiKey?.trim():void 0;if(h&&!R0()){let F=J0(h),a=q0(F);if(R("setupScreens_after_keyStatus"),a==="new"){let{ApproveApiKey:T}=await import("./ApproveApiKey-1.1.4-jxeaz5zn.mjs");await z(f,(w)=>m(T,{customApiKeyTruncated:F,onDone:w}),{onChangeAppState:N})}}}if(R("setupScreens_after_custom_api_key"),(c==="bypassPermissions"||i)&&!w0()){let{BypassPermissionsModeDialog:o}=await import("./BypassPermissionsModeDialog-1.1.4-7fg80a35.mjs");await z(f,(h)=>m(o,{onAccept:h}))}if(c==="auto"&&!U0()){let{AutoModeOptInDialog:o}=await import("./AutoModeOptInDialog-1.1.4-x17tymwk.mjs");await z(f,(h)=>m(o,{onAccept:h,onDecline:()=>d(1),declineExits:!0}))}return R("setupScreens_end"),u}function Af(f){P0();let c=0,i=Z0(f);if(i.stdin)q("tengu_stdin_interactive",{});let n=new A,_=p0();a0(_);let l=process.env.CLAUDE_CODE_FRAME_TIMING_LOG;return{getFpsMetrics:()=>n.getMetrics(),stats:_,renderOptions:{...i,onFrame:(u)=>{if(n.record(u.durationMs),_.observe("frame_duration_ms",u.durationMs),l&&u.phases){let M=JSON.stringify({total:u.durationMs,...u.phases,rss:process.memoryUsage.rss(),cpu:process.cpuUsage()})+`
|
|
2
|
+
`;Lc(l,M)}if(X0())return;for(let M of u.flickers){if(M.reason==="resize")continue;let I=Date.now();if(I-c<1000)q("tengu_flicker",{desiredHeight:M.desiredHeight,actualHeight:M.availableHeight,reason:M.reason});c=I}}}}}
|
|
3
|
+
export{wc as C,Uc as D,pf as E,Vc as F,z as G,sf as H,tf as I,Af as J};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Dsa as Z}from"./cli-1.1.4-56nffz3p.mjs";import{Gsa as Y,Jsa as O}from"./cli-1.1.4-xxe2ztwq.mjs";var ye=Y((he)=>{var R=O("node:https"),$=Z(),z=O("node:stream"),D=O("node:http2");function H(e){let t=e&&typeof e==="object"&&"reason"in e?e.reason:void 0;if(t){if(t instanceof Error){let s=Error("Request aborted");return s.name="AbortError",s.cause=t,s}let o=Error(String(t));return o.name="AbortError",o}let n=Error("Request aborted");return n.name="AbortError",n}var ee=["ECONNRESET","EPIPE","ETIMEDOUT"],Q=(e)=>{let t={};for(let n in e){let o=e[n];t[n]=Array.isArray(o)?o.join(","):o}return t},d={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:(e)=>clearTimeout(e)},F=1000,te=(e,t,n=0)=>{if(!n)return-1;let o=(s)=>{let r=d.setTimeout(()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${n} ms.`),{name:"TimeoutError"}))},n-s),c=(u)=>{if(u?.connecting)u.on("connect",()=>{d.clearTimeout(r)});else d.clearTimeout(r)};if(e.socket)c(e.socket);else e.on("socket",c)};if(n<2000)return o(0),0;return d.setTimeout(o.bind(null,F),F)},oe=(e,t,n=0,o,s)=>{if(n)return d.setTimeout(()=>{let r=`@smithy/node-http-handler - [${o?"ERROR":"WARN"}] a request has exceeded the configured ${n} ms requestTimeout.`;if(o){let c=Object.assign(Error(r),{name:"TimeoutError",code:"ETIMEDOUT"});e.destroy(c),t(c)}else r+=" Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.",s?.warn?.(r)},n);return-1},ne=3000,se=(e,{keepAlive:t,keepAliveMsecs:n},o=ne)=>{if(t!==!0)return-1;let s=()=>{if(e.socket)e.socket.setKeepAlive(t,n||0);else e.on("socket",(r)=>{r.setKeepAlive(t,n||0)})};if(o===0)return s(),0;return d.setTimeout(s,o)},W=3000,re=(e,t,n=0)=>{let o=(s)=>{let r=n-s,c=()=>{e.destroy(),t(Object.assign(Error(`@smithy/node-http-handler - the request socket timed out after ${n} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(e.socket)e.socket.setTimeout(r,c),e.on("close",()=>e.socket?.removeListener("timeout",c));else e.setTimeout(r,c)};if(0<n&&n<6000)return o(0),0;return d.setTimeout(o.bind(null,n===0?0:W),W)},j=6000;async function V(e,t,n=j,o=!1){let s=t.headers,r=s?s.Expect||s.expect:void 0,c=-1,u=!0;if(!o&&r==="100-continue")u=await Promise.race([new Promise((f)=>{c=Number(d.setTimeout(()=>f(!0),Math.max(j,n)))}),new Promise((f)=>{e.on("continue",()=>{d.clearTimeout(c),f(!0)}),e.on("response",()=>{d.clearTimeout(c),f(!1)}),e.on("error",()=>{d.clearTimeout(c),f(!1)})})]);if(u)ie(e,t.body)}function ie(e,t){if(t instanceof z.Readable){t.pipe(e);return}if(t){let n=Buffer.isBuffer(t);if(n||typeof t==="string"){if(n&&t.byteLength===0)e.end();else e.end(t);return}let s=t;if(typeof s==="object"&&s.buffer&&typeof s.byteOffset==="number"&&typeof s.byteLength==="number"){e.end(Buffer.from(s.buffer,s.byteOffset,s.byteLength));return}e.end(Buffer.from(t));return}e.end()}var ce=0,_=void 0,q=void 0;class I{config;configProvider;socketWarningTimestamp=0;externalAgent=!1;metadata={handlerProtocol:"http/1.1"};static create(e){if(typeof e?.handle==="function")return e;return new I(e)}static checkSocketUsage(e,t,n=console){let{sockets:o,requests:s,maxSockets:r}=e;if(typeof r!=="number"||r===1/0)return t;let c=15000;if(Date.now()-c<t)return t;if(o&&s)for(let u in o){let f=o[u]?.length??0,l=s[u]?.length??0;if(f>=r&&l>=2*r)return n?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${f} and ${l} additional requests are enqueued.
|
|
2
|
+
See https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html
|
|
3
|
+
or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`),Date.now()}return t}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(this.resolveDefaultConfig(o))}).catch(n);else t(this.resolveDefaultConfig(e))})}destroy(){this.config?.httpAgent?.destroy(),this.config?.httpsAgent?.destroy()}async handle(e,{abortSignal:t,requestTimeout:n}={}){if(!this.config)this.config=await this.configProvider;let o=this.config,s=e.protocol==="https:";if(!s&&!this.config.httpAgent)this.config.httpAgent=await this.config.httpAgentProvider();return new Promise((r,c)=>{let u=void 0,f=-1,l=-1,m=-1,y=-1,A=-1,b=()=>{d.clearTimeout(f),d.clearTimeout(l),d.clearTimeout(m),d.clearTimeout(y),d.clearTimeout(A)},U=async(i)=>{await u,b(),r(i)},p=async(i)=>{await u,b(),c(i)};if(t?.aborted){let i=H(t);p(i);return}let x=e.headers,M=x?(x.Expect??x.expect)==="100-continue":!1,C=s?o.httpsAgent:o.httpAgent;if(M&&!this.externalAgent)C=new(s?R.Agent:_)({keepAlive:!1,maxSockets:1/0});f=d.setTimeout(()=>{this.socketWarningTimestamp=I.checkSocketUsage(C,this.socketWarningTimestamp,o.logger)},o.socketAcquisitionWarningTimeout??(o.requestTimeout??2000)+(o.connectionTimeout??1000));let P=e.query?$.buildQueryString(e.query):"",S=void 0;if(e.username!=null||e.password!=null){let i=e.username??"",a=e.password??"";S=`${i}:${a}`}let w=e.path;if(P)w+=`?${P}`;if(e.fragment)w+=`#${e.fragment}`;let T=e.hostname??"";if(T[0]==="["&&T.endsWith("]"))T=e.hostname.slice(1,-1);else T=e.hostname;let v={headers:e.headers,host:T,method:e.method,path:w,port:e.port,agent:C,auth:S},h=(s?R.request:q)(v,(i)=>{let a=new $.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:Q(i.headers),body:i});U({response:a})});if(h.on("error",(i)=>{if(ee.includes(i.code))p(Object.assign(i,{name:"TimeoutError"}));else p(i)}),t){let i=()=>{h.destroy();let a=H(t);p(a)};if(typeof t.addEventListener==="function"){let a=t;a.addEventListener("abort",i,{once:!0}),h.once("close",()=>a.removeEventListener("abort",i))}else t.onabort=i}let k=n??o.requestTimeout;l=te(h,p,o.connectionTimeout),m=oe(h,p,k,o.throwOnRequestTimeout,o.logger??console),y=re(h,p,o.socketTimeout);let E=v.agent;if(typeof E==="object"&&"keepAlive"in E)A=se(h,{keepAlive:E.keepAlive,keepAliveMsecs:E.keepAliveMsecs});u=V(h,e,k,this.externalAgent).catch((i)=>{return b(),c(i)})})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}resolveDefaultConfig(e){let{requestTimeout:t,connectionTimeout:n,socketTimeout:o,socketAcquisitionWarningTimeout:s,httpAgent:r,httpsAgent:c,throwOnRequestTimeout:u,logger:f}=e||{},l=!0,m=50;return{connectionTimeout:n,requestTimeout:t,socketTimeout:o,socketAcquisitionWarningTimeout:s,throwOnRequestTimeout:u,httpAgentProvider:async()=>{let{Agent:y,request:A}=await import("node:http");if(q=A,_=y,r instanceof _||typeof r?.destroy==="function")return this.externalAgent=!0,r;return new _({keepAlive:!0,maxSockets:50,...r})},httpsAgent:(()=>{if(c instanceof R.Agent||typeof c?.destroy==="function")return this.externalAgent=!0,c;return new R.Agent({keepAlive:!0,maxSockets:50,...c})})(),logger:f}}}var ae=new Uint16Array(1);class L{id=ae[0]++;total=0;max=0;session;refs=0;constructor(e){e.unref(),this.session=e}retain(){if(this.session.destroyed)throw Error("@smithy/node-http-handler - cannot acquire reference to destroyed session.");this.refs+=1,this.total+=1,this.max=Math.max(this.refs,this.max),this.session.ref()}free(){if(this.session.destroyed)return;if(this.refs-=1,this.refs===0)this.session.unref();if(this.refs<0)throw Error("@smithy/node-http-handler - ClientHttp2Session refcount at zero, cannot decrement.")}deref(){return this.session}close(){if(!this.session.closed)this.session.close()}destroy(){if(this.refs=0,!this.session.destroyed)this.session.destroy()}useCount(){return this.refs}}class K{sessions=[];maxConcurrency=0;constructor(e){this.sessions=(e??[]).map((t)=>new L(t))}poll(){let e=!1;for(let t of this.sessions){if(t.deref().destroyed){e=!0;continue}if(!this.maxConcurrency||t.useCount()<this.maxConcurrency)return t}if(e){for(let t of this.sessions)if(t.deref().destroyed)this.remove(t)}}offerLast(e){this.sessions.push(e)}remove(e){let t=this.sessions.indexOf(e);if(t>-1)this.sessions.splice(t,1)}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}setMaxConcurrency(e){this.maxConcurrency=e}destroy(e){this.remove(e),e.destroy()}}class J{config;connectOptions;connectionPools=new Map;constructor(e){if(this.config=e,this.config.maxConcurrency&&this.config.maxConcurrency<=0)throw RangeError("maxConcurrency must be greater than zero.")}lease(e,t){let n=this.getUrlString(e),o=this.getPool(n);if(!this.config.disableConcurrency&&!t.isEventStream){let f=o.poll();if(f)return f.retain(),f}let s=new L(this.connect(n)),r=s.deref();if(this.config.maxConcurrency)r.settings({maxConcurrentStreams:this.config.maxConcurrency},(f)=>{if(f)throw Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+e.destination.toString())});let c=()=>{this.removeFromPoolAndClose(n,s)},u=()=>{this.removeFromPoolAndCheckedDestroy(n,s)};if(r.on("goaway",c),r.on("error",u),r.on("frameError",u),r.on("close",u),t.requestTimeout)r.setTimeout(t.requestTimeout,u);return o.offerLast(s),s.retain(),s}release(e,t){t.free()}createIsolatedSession(e,t){let n=this.getUrlString(e),o=new L(this.connect(n)),s=o.deref();s.settings({maxConcurrentStreams:1});let r=()=>{o.destroy()};if(s.on("error",r),s.on("frameError",r),s.on("close",r),t.requestTimeout)s.setTimeout(t.requestTimeout,r);return o.retain(),o}destroy(){for(let[e,t]of this.connectionPools){for(let n of[...t])n.destroy();this.connectionPools.delete(e)}}setMaxConcurrentStreams(e){if(e&&e<=0)throw RangeError("maxConcurrentStreams must be greater than zero.");this.config.maxConcurrency=e;for(let t of this.connectionPools.values())t.setMaxConcurrency(e)}setDisableConcurrentStreams(e){this.config.disableConcurrency=e}setNodeHttp2ConnectOptions(e){this.connectOptions=e}debug(){let e={};for(let[t,n]of this.connectionPools){let o=[];for(let s of n)o.push({id:s.id,active:s.useCount(),maxConcurrent:s.max,totalRequests:s.total});e[t]={sessions:o}}return e}removeFromPoolAndClose(e,t){this.connectionPools.get(e)?.remove(t),t.close()}removeFromPoolAndCheckedDestroy(e,t){this.connectionPools.get(e)?.remove(t),t.destroy()}getPool(e){if(!this.connectionPools.has(e)){let t=new K;if(this.config.maxConcurrency)t.setMaxConcurrency(this.config.maxConcurrency);this.connectionPools.set(e,t)}return this.connectionPools.get(e)}getUrlString(e){return e.destination.toString()}connect(e){return this.connectOptions===void 0?D.connect(e):D.connect(e,this.connectOptions)}}class B{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new J({});static create(e){if(typeof e?.handle==="function")return e;return new B(e)}constructor(e){this.configProvider=new Promise((t,n)=>{if(typeof e==="function")e().then((o)=>{t(o||{})}).catch(n);else t(e||{})})}destroy(){this.connectionManager.destroy()}async handle(e,{abortSignal:t,requestTimeout:n,isEventStream:o}={}){if(!this.config){this.config=await this.configProvider;let{disableConcurrentStreams:f,maxConcurrentStreams:l,nodeHttp2ConnectOptions:m}=this.config;if(this.connectionManager.setDisableConcurrentStreams(f??!1),l)this.connectionManager.setMaxConcurrentStreams(l);if(m)this.connectionManager.setNodeHttp2ConnectOptions(m)}let{requestTimeout:s,disableConcurrentStreams:r}=this.config,c=r||o,u=n??s;return new Promise((f,l)=>{let m=!1,y=void 0,A=async(a)=>{await y,f(a)},b=async(a)=>{await y,l(a)};if(t?.aborted){m=!0;let a=H(t);b(a);return}let{hostname:U,method:p,port:x,protocol:M,query:C}=e,P="";if(e.username!=null||e.password!=null){let a=e.username??"",g=e.password??"";P=`${a}:${g}@`}let S=`${M}//${P}${U}${x?`:${x}`:""}`,w={destination:new URL(S)},T={requestTimeout:this.config?.sessionTimeout,isEventStream:o},v=c?this.connectionManager.createIsolatedSession(w,T):this.connectionManager.lease(w,T),N=v.deref(),h=(a)=>{if(c)v.destroy();m=!0,b(a)},k=C?$.buildQueryString(C):"",E=e.path;if(k)E+=`?${k}`;if(e.fragment)E+=`#${e.fragment}`;let i=N.request({...e.headers,[D.constants.HTTP2_HEADER_PATH]:E,[D.constants.HTTP2_HEADER_METHOD]:p});if(u)i.setTimeout(u,()=>{i.close();let a=Error(`Stream timed out because of no activity for ${u} ms`);a.name="TimeoutError",h(a)});if(t){let a=()=>{i.close();let g=H(t);h(g)};if(typeof t.addEventListener==="function"){let g=t;g.addEventListener("abort",a,{once:!0}),i.once("close",()=>g.removeEventListener("abort",a))}else t.onabort=a}i.on("frameError",(a,g,X)=>{h(Error(`Frame type id ${a} in stream id ${X} has failed with code ${g}.`))}),i.on("error",h),i.on("aborted",()=>{h(Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${i.rstCode}.`))}),i.on("response",(a)=>{let g=new $.HttpResponse({statusCode:a[":status"]??-1,headers:Q(a),body:i});if(m=!0,A({response:g}),c)N.close()}),i.on("close",()=>{if(c)v.destroy();else this.connectionManager.release(w,v);if(!m)h(Error("Unexpected error: http2 request did not get a response"))}),y=V(i,e,u)})}updateHttpClientConfig(e,t){this.config=void 0,this.configProvider=this.configProvider.then((n)=>{return{...n,[e]:t}})}httpHandlerConfigs(){return this.config??{}}}class G extends z.Writable{bufferedBytes=[];_write(e,t,n){this.bufferedBytes.push(e),n()}}var ue=(e)=>{if(fe(e))return de(e);return new Promise((t,n)=>{let o=new G;e.pipe(o),e.on("error",(s)=>{o.end(),n(s)}),o.on("error",n),o.on("finish",function(){let s=new Uint8Array(Buffer.concat(this.bufferedBytes));t(s)})})},fe=(e)=>typeof ReadableStream==="function"&&e instanceof ReadableStream;async function de(e){let t=[],n=e.getReader(),o=!1,s=0;while(!o){let{done:u,value:f}=await n.read();if(f)t.push(f),s+=f.length;o=u}let r=new Uint8Array(s),c=0;for(let u of t)r.set(u,c),c+=u.length;return r}he.DEFAULT_REQUEST_TIMEOUT=ce;he.NodeHttp2Handler=B;he.NodeHttpHandler=I;he.streamCollector=ue});
|
|
4
|
+
export{ye as wsa};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{$8 as v,a9 as C}from"./cli-1.1.4-fk420f57.mjs";import{Rfa as x,Sfa as Y,qea as Z,rea as V}from"./cli-1.1.4-6c3fshef.mjs";import{Yha as R,aia as W,iia as O}from"./cli-1.1.4-qecgken2.mjs";import{uja as Q,vja as M}from"./cli-1.1.4-m312ygm6.mjs";import{Cka as L,cka as P,hka as I,zka as f}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as w,ela as H}from"./cli-1.1.4-hzx821eq.mjs";import{wra as N,xra as F}from"./cli-1.1.4-x8m7spde.mjs";import{Tra as X,jsa as U}from"./cli-1.1.4-0a20jx5n.mjs";import{Fsa as h,Isa as B}from"./cli-1.1.4-xxe2ztwq.mjs";import{hostname as E}from"os";function $(){return R(G,!1)}function u(){if(!$())return;return y()}function n(){y.cache?.clear?.()}function o(){if(!$())return;let i=x();try{let q=i.read();if(q?.trustedDeviceToken)delete q.trustedDeviceToken,i.update(q)}catch{}y.cache?.clear?.()}async function t(){try{if(!await W(G)){f(`[trusted-device] Gate ${G} is off, skipping enrollment`);return}if(process.env.CLAUDE_TRUSTED_DEVICE_TOKEN){f("[trusted-device] CLAUDE_TRUSTED_DEVICE_TOKEN env var is set, skipping enrollment (env var takes precedence)");return}let{getClaudeAIOAuthTokens:i}=(C(),h(v)),q=i()?.accessToken;if(!q){f("[trusted-device] No OAuth token, skipping enrollment");return}let J=x();if(Z()){f("[trusted-device] Essential traffic only, skipping enrollment");return}let b=Q().BASE_API_URL,m;try{m=await X.post(`${b}/api/auth/trusted_devices`,{display_name:`Claude Code on ${E()} · ${process.platform}`},{headers:{Authorization:`Bearer ${q}`,"Content-Type":"application/json"},timeout:1e4,validateStatus:(j)=>j<500})}catch(j){f(`[trusted-device] Enrollment request failed: ${w(j)}`);return}if(m.status!==200&&m.status!==201){f(`[trusted-device] Enrollment failed ${m.status}: ${P(m.data).slice(0,200)}`);return}let z=m.data?.device_token;if(!z||typeof z!=="string"){f("[trusted-device] Enrollment response missing device_token field");return}try{let j=J.read();if(!j){f("[trusted-device] Cannot read storage, skipping token persist");return}j.trustedDeviceToken=z;let K=J.update(j);if(!K.success){f(`[trusted-device] Failed to persist token: ${K.warning??"unknown"}`);return}y.cache?.clear?.(),f(`[trusted-device] Enrolled device_id=${m.data.device_id??"unknown"}`)}catch(j){f(`[trusted-device] Storage write failed: ${w(j)}`)}}catch(i){f(`[trusted-device] Enrollment error: ${w(i)}`)}}var G="tengu_sessions_elevated_auth_enforcement",y;var d=B(()=>{U();F();M();O();L();H();V();Y();I();y=N(()=>{let i=process.env.CLAUDE_TRUSTED_DEVICE_TOKEN;if(i)return i;return x().read()?.trustedDeviceToken})});
|
|
2
|
+
export{u as VW,n as WW,o as XW,t as YW,d as ZW};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{p_ as Z,t_ as _,u_ as w}from"./cli-1.1.4-cwnt4by7.mjs";import{Caa as k,S$ as T,Uea as W,Xea as V,Zaa as D,d$ as Y,e$ as U,p$ as $,qfa as j}from"./cli-1.1.4-6c3fshef.mjs";import{Cka as M,zka as N}from"./cli-1.1.4-53fvpymg.mjs";import{Zqa as O,ena as X}from"./cli-1.1.4-0r232fpm.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 lb,y as mb,P as nb,d as ob,c as pb};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Jz as Uq,Kz as mq,os as Hq,ps as pq}from"./cli-1.1.4-6z69geef.mjs";import{A4 as dq,y4 as Bq}from"./cli-1.1.4-v67jx2fw.mjs";import{C8 as c,G8 as S,W7 as Nq,X7 as yq,a9 as gq,g5 as Wq,l5 as jq,m5 as Sq}from"./cli-1.1.4-fk420f57.mjs";import{Aea as Yq,Bea as Dq,Cea as k,Eea as Xq,Hea as Lq,O$ as M,S$ as $q,xaa as Gq,zaa as Pq}from"./cli-1.1.4-6c3fshef.mjs";import{Bia as N,Dia as bq,Eia as E,Fia as Cq}from"./cli-1.1.4-mzzr964a.mjs";import{nja as Kq,oja as Qq,pja as Vq,uja as Zq,vja as Rq}from"./cli-1.1.4-m312ygm6.mjs";import{wja as _,zja as e}from"./cli-1.1.4-te2372tc.mjs";import{Cja as Fq,Cka as Jq,Eja as $J,cka as m,hka as Eq,zka as Y}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as C,dla as P,ela as qq}from"./cli-1.1.4-hzx821eq.mjs";import{Tra as z,jsa as kq}from"./cli-1.1.4-0a20jx5n.mjs";import{Hsa as ZJ,Isa as d,Jsa as Tq}from"./cli-1.1.4-xxe2ztwq.mjs";var fq,r,s;var t=d(()=>{bq();Cq();fq=E(()=>N.object({entries:N.record(N.string(),N.string()),entryChecksums:N.record(N.string(),N.string()).optional()})),r=E(()=>N.object({organizationId:N.string(),repo:N.string(),version:N.number(),lastModified:N.string(),checksum:N.string(),content:fq()})),s=E(()=>N.object({error:N.object({details:N.object({error_code:N.literal("team_memory_too_many_entries"),max_entries:N.number().int().positive(),received_entries:N.number().int().positive()})})}))});import{createHash as hq}from"crypto";import{mkdir as cq,readdir as iq,readFile as Oq,stat as nq,writeFile as lq}from"fs/promises";import{join as uq,relative as oq,sep as aq}from"path";function wq(){return{lastKnownChecksum:null,serverChecksums:new Map,serverMaxEntries:null}}function sq(q){return"sha256:"+hq("sha256").update(q,"utf8").digest("hex")}function xq(q){return q instanceof Error&&"code"in q&&typeof q.code==="string"}function n(){if(Wq()!=="firstParty"||!jq())return!1;let q=c();return Boolean(q?.accessToken&&q.scopes?.includes(Kq)&&q.scopes.includes(Qq))}function l(q){return`${process.env.TEAM_MEMORY_SYNC_URL||Zq().BASE_API_URL}/api/claude_code/team_memory?repo=${encodeURIComponent(q)}`}function u(){let q=c();if(q?.accessToken)return{headers:{Authorization:`Bearer ${q.accessToken}`,"anthropic-beta":Vq,"User-Agent":Bq()}};return{error:"No OAuth token available for team memory sync"}}async function tq(q,K,$){try{await S();let V=u();if(V.error)return{success:!1,error:V.error,skipRetry:!0,errorType:"auth"};let Q={...V.headers};if($)Q["If-None-Match"]=`"${$.replace(/"/g,"")}"`;let G=l(K),J=await z.get(G,{headers:Q,timeout:i,validateStatus:(L)=>L===200||L===304||L===404});if(J.status===304)return Y("team-memory-sync: not modified (304)",{level:"debug"}),{success:!0,notModified:!0,checksum:$??void 0};if(J.status===404)return Y("team-memory-sync: no remote data (404)",{level:"debug"}),q.lastKnownChecksum=null,{success:!0,isEmpty:!0};let Z=r().safeParse(J.data);if(!Z.success)return Y("team-memory-sync: invalid response format",{level:"warn"}),{success:!1,error:"Invalid team memory response format",skipRetry:!0,errorType:"parse"};let X=Z.data.checksum||J.headers.etag?.replace(/^"|"$/g,"")||void 0;if(X)q.lastKnownChecksum=X;return Y(`team-memory-sync: fetched successfully (checksum: ${X??"none"})`,{level:"debug"}),{success:!0,data:Z.data,isEmpty:!1,checksum:X}}catch(V){let{kind:Q,status:G,message:J}=P(V),Z=z.isAxiosError(V)?JSON.stringify(V.response?.data??""):"";if(Q!=="other")Y(`team-memory-sync: fetch error ${G}: ${Z}`,{level:"warn"});switch(Q){case"auth":return{success:!1,error:`Not authorized for team memory sync: ${Z}`,skipRetry:!0,errorType:"auth",httpStatus:G};case"timeout":return{success:!1,error:"Team memory sync request timeout",errorType:"timeout"};case"network":return{success:!1,error:"Cannot connect to server",errorType:"network"};default:return{success:!1,error:J,errorType:"unknown",httpStatus:G}}}}async function eq(q,K){try{await S();let $=u();if($.error)return{success:!1,error:$.error,errorType:"auth"};let V=l(K)+"&view=hashes",Q=await z.get(V,{headers:$.headers,timeout:i,validateStatus:(Z)=>Z===200||Z===404});if(Q.status===404)return q.lastKnownChecksum=null,{success:!0,entryChecksums:{}};let G=Q.data?.checksum||Q.headers.etag?.replace(/^"|"$/g,""),J=Q.data?.entryChecksums;if(!J||typeof J!=="object")return{success:!1,error:"Server did not return entryChecksums (?view=hashes unsupported)",errorType:"parse"};if(G)q.lastKnownChecksum=G;return{success:!0,version:Q.data?.version,checksum:G,entryChecksums:J}}catch($){let{kind:V,status:Q,message:G}=P($);switch(V){case"auth":return{success:!1,error:"Not authorized",errorType:"auth",httpStatus:Q};case"timeout":return{success:!1,error:"Timeout",errorType:"timeout"};case"network":return{success:!1,error:"Network error",errorType:"network"};default:return{success:!1,error:G,errorType:"unknown",httpStatus:Q}}}}async function qJ(q,K,$){let V=null;for(let Q=1;Q<=p+1;Q++){if(V=await tq(q,K,$),V.success||V.skipRetry)return V;if(Q>p)return V;let G=Hq(Q);Y(`team-memory-sync: retry ${Q}/${p}`,{level:"debug"}),await Nq(G)}return V}function JJ(q){let K=Object.keys(q).sort();if(K.length===0)return[];let $=Buffer.byteLength('{"entries":{}}',"utf8"),V=(Z,X)=>Buffer.byteLength(m(Z),"utf8")+Buffer.byteLength(m(X),"utf8")+2,Q=[],G={},J=$;for(let Z of K){let X=V(Z,q[Z]);if(J+X>rq&&Object.keys(G).length>0)Q.push(G),G={},J=$;G[Z]=q[Z],J+=X}return Q.push(G),Q}async function KJ(q,K,$,V){try{await S();let Q=u();if(Q.error)return{success:!1,error:Q.error,errorType:"auth"};let G={...Q.headers,"Content-Type":"application/json"};if(V)G["If-Match"]=`"${V.replace(/"/g,"")}"`;let J=l(K),Z=await z.put(J,{entries:$},{headers:G,timeout:i,validateStatus:(L)=>L===200||L===412});if(Z.status===412)return Y("team-memory-sync: conflict (412 Precondition Failed)",{level:"info"}),{success:!1,conflict:!0,error:"ETag mismatch"};let X=Z.data?.checksum;if(X)q.lastKnownChecksum=X;return Y(`team-memory-sync: uploaded ${Object.keys($).length} entries (checksum: ${X??"none"})`,{level:"debug"}),{success:!0,checksum:X,lastModified:Z.data?.lastModified}}catch(Q){let G=z.isAxiosError(Q)?JSON.stringify(Q.response?.data??""):"";Y(`team-memory-sync: upload failed: ${Q instanceof Error?Q.message:""} ${G}`,{level:"warn"});let{kind:J,status:Z,message:X}=P(Q),L=J==="http"||J==="other"?"unknown":J,j,O,B;if(Z===413&&z.isAxiosError(Q)){let H=s().safeParse(Q.response?.data);if(H.success)j=H.data.error.details.error_code,O=H.data.error.details.max_entries,B=H.data.error.details.received_entries}return{success:!1,error:X,errorType:L,httpStatus:Z,...j!==void 0&&{serverErrorCode:j},...O!==void 0&&{serverMaxEntries:O},...B!==void 0&&{serverReceivedEntries:B}}}}async function QJ(q){let K=k(),$={},V=[];async function Q(J){try{let Z=await iq(J,{withFileTypes:!0});await Promise.all(Z.map(async(X)=>{let L=uq(J,X.name);if(X.isDirectory())await Q(L);else if(X.isFile())try{let j=await nq(L);if(j.size>h){Y(`team-memory-sync: skipping oversized file ${X.name} (${j.size} > ${h} bytes)`,{level:"info"});return}let O=await Oq(L,"utf8"),B=oq(K,L).replaceAll("\\","/"),H=Uq(O);if(H.length>0){let W=H[0];V.push({path:B,ruleId:W.ruleId,label:W.label}),Y(`team-memory-sync: skipping "${B}" — detected ${W.label}`,{level:"warn"});return}$[B]=O}catch{}}))}catch(Z){if(xq(Z)){if(Z.code!=="ENOENT"&&Z.code!=="EACCES"&&Z.code!=="EPERM")throw Z}else throw Z}}await Q(K);let G=Object.keys($).sort();if(q!==null&&G.length>q){let J=G.slice(q);Y(`team-memory-sync: ${G.length} local entries exceeds server cap of ${q}; ${J.length} file(s) will NOT sync: ${J.join(", ")}. Consider consolidating or removing some team memory files.`,{level:"warn"}),_("tengu_team_mem_entries_capped",{total_entries:G.length,dropped_count:J.length,max_entries:q});let Z={};for(let X of G.slice(0,q))Z[X]=$[X];return{entries:Z,skippedSecrets:V}}return{entries:$,skippedSecrets:V}}async function VJ(q){let K=await Promise.all(Object.entries(q).map(async([$,V])=>{let Q;try{Q=await Xq($)}catch(J){if(J instanceof Yq)return Y(`team-memory-sync: ${J.message}`,{level:"warn"}),!1;throw J}if(Buffer.byteLength(V,"utf8")>h)return Y(`team-memory-sync: skipping oversized remote entry "${$}"`,{level:"info"}),!1;try{if(await Oq(Q,"utf8")===V)return!1}catch(J){if(xq(J)&&J.code!=="ENOENT"&&J.code!=="ENOTDIR")Y(`team-memory-sync: unexpected read error for "${$}": ${J.code}`,{level:"debug"})}try{let J=Q.substring(0,Q.lastIndexOf(aq));return await cq(J,{recursive:!0}),await lq(Q,V,"utf8"),!0}catch(J){return Y(`team-memory-sync: failed to write "${$}": ${J}`,{level:"warn"}),!1}}));return Gq(K,Boolean)}function _q(){return n()}async function Iq(q,K){let $=K?.skipEtagCache??!1,V=Date.now();if(!n())return v(V,{success:!1,errorType:"no_oauth"}),{success:!1,filesWritten:0,entryCount:0,error:"OAuth not available"};let Q=await M();if(!Q)return v(V,{success:!1,errorType:"no_repo"}),{success:!1,filesWritten:0,entryCount:0,error:"No git remote found"};let G=$?null:q.lastKnownChecksum,J=await qJ(q,Q,G);if(!J.success)return v(V,{success:!1,errorType:J.errorType,status:J.httpStatus}),{success:!1,filesWritten:0,entryCount:0,error:J.error};if(J.notModified)return v(V,{success:!0,notModified:!0}),{success:!0,filesWritten:0,entryCount:0,notModified:!0};if(J.isEmpty||!J.data)return q.serverChecksums.clear(),v(V,{success:!0}),{success:!0,filesWritten:0,entryCount:0};let Z=J.data.content.entries,X=J.data.content.entryChecksums;if(q.serverChecksums.clear(),X)for(let[j,O]of Object.entries(X))q.serverChecksums.set(j,O);else Y("team-memory-sync: server response missing entryChecksums (pre-#283027 deploy) — next push will be full, not delta",{level:"debug"});let L=await VJ(Z);if(L>0){let{clearMemoryFileCaches:j}=await import("./claudemd-1.1.4-zkyggtev.mjs");j()}return Y(`team-memory-sync: pulled ${L} files`,{level:"info"}),v(V,{success:!0,filesWritten:L}),{success:!0,filesWritten:L,entryCount:Object.keys(Z).length}}async function o(q){let K=Date.now(),$=0;if(!n())return x(K,{success:!1,errorType:"no_oauth"}),{success:!1,filesUploaded:0,error:"OAuth not available",errorType:"no_oauth"};let V=await M();if(!V)return x(K,{success:!1,errorType:"no_repo"}),{success:!1,filesUploaded:0,error:"No git remote found",errorType:"no_repo"};let Q=await QJ(q.serverMaxEntries),G=Q.entries,J=Q.skippedSecrets;if(J.length>0){let L=J.map((j)=>`"${j.path}" (${j.label})`).join(", ");Y(`team-memory-sync: ${J.length} file(s) skipped due to detected secrets: ${L}. Remove the secret(s) to enable sync for these files.`,{level:"warn"}),_("tengu_team_mem_secret_skipped",{file_count:J.length,rule_ids:J.map((j)=>j.ruleId).join(",")})}let Z=new Map;for(let[L,j]of Object.entries(G))Z.set(L,sq(j));let X=!1;for(let L=0;L<=R;L++){let j={};for(let[w,D]of Z)if(q.serverChecksums.get(w)!==D)j[w]=G[w];if(Object.keys(j).length===0)return x(K,{success:!0,conflict:X,conflictRetries:$}),{success:!0,filesUploaded:0,...J.length>0&&{skippedSecrets:J}};let B=JJ(j),H=0,W;for(let w of B){if(W=await KJ(q,V,w,q.lastKnownChecksum),!W.success)break;for(let D of Object.keys(w))q.serverChecksums.set(D,Z.get(D));H+=Object.keys(w).length}if(W=W,W.success)return Y(B.length>1?`team-memory-sync: pushed ${H} of ${Z.size} files in ${B.length} batches`:`team-memory-sync: pushed ${H} of ${Z.size} files (delta)`,{level:"info"}),x(K,{success:!0,filesUploaded:H,conflict:X,conflictRetries:$,putBatches:B.length>1?B.length:void 0}),{success:!0,filesUploaded:H,checksum:W.checksum,...J.length>0&&{skippedSecrets:J}};if(!W.conflict){if(W.serverMaxEntries!==void 0)q.serverMaxEntries=W.serverMaxEntries,Y(`team-memory-sync: learned server max_entries=${W.serverMaxEntries} from 413; next push will truncate to this`,{level:"warn"});return x(K,{success:!1,filesUploaded:H,conflictRetries:$,putBatches:B.length>1?B.length:void 0,errorType:W.errorType,status:W.httpStatus,errorCode:W.serverErrorCode,serverMaxEntries:W.serverMaxEntries,serverReceivedEntries:W.serverReceivedEntries}),{success:!1,filesUploaded:H,error:W.error,errorType:W.errorType,httpStatus:W.httpStatus}}if(X=!0,L>=R)return Y(`team-memory-sync: giving up after ${R} conflict retries`,{level:"warn"}),x(K,{success:!1,conflict:!0,conflictRetries:$,errorType:"conflict"}),{success:!1,filesUploaded:0,conflict:!0,error:"Conflict resolution failed after retries"};$++,Y(`team-memory-sync: conflict (412), probing server hashes (attempt ${L+1}/${R})`,{level:"info"});let T=await eq(q,V);if(!T.success||!T.entryChecksums)return x(K,{success:!1,conflict:!0,conflictRetries:$,errorType:"conflict"}),{success:!1,filesUploaded:0,conflict:!0,error:`Conflict resolution hashes probe failed: ${T.error}`};q.serverChecksums.clear();for(let[w,D]of Object.entries(T.entryChecksums))q.serverChecksums.set(w,D)}return x(K,{success:!1,conflictRetries:$}),{success:!1,filesUploaded:0,error:"Unexpected end of conflict resolution loop"}}function v(q,K){_("tengu_team_mem_sync_pull",{success:K.success,files_written:K.filesWritten??0,not_modified:K.notModified??!1,duration_ms:Date.now()-q,...K.errorType&&{errorType:K.errorType},...K.status&&{status:K.status}})}function x(q,K){_("tengu_team_mem_sync_push",{success:K.success,files_uploaded:K.filesUploaded??0,conflict:K.conflict??!1,conflict_retries:K.conflictRetries??0,duration_ms:Date.now()-q,...K.errorType&&{errorType:K.errorType},...K.status&&{status:K.status},...K.putBatches&&{put_batches:K.putBatches},...K.errorCode&&{error_code:K.errorCode},...K.serverMaxEntries!==void 0&&{server_max_entries:K.serverMaxEntries},...K.serverReceivedEntries!==void 0&&{server_received_entries:K.serverReceivedEntries}})}var i=30000,h=250000,rq=200000,p=3,R=2;var zq=d(()=>{kq();Rq();Lq();Pq();gq();Jq();qq();$q();Sq();yq();Eq();dq();e();pq();mq();t()});var OJ={};ZJ(OJ,{stopTeamMemoryWatcher:()=>Mq,startTeamMemoryWatcher:()=>NJ,notifyTeamMemoryWrite:()=>BJ,isPermanentFailure:()=>vq,_startFileWatcherForTesting:()=>UJ,_resetWatcherStateForTesting:()=>HJ});import{watch as GJ}from"fs";import{mkdir as YJ,stat as XJ}from"fs/promises";import{join as LJ}from"path";function vq(q){if(q.errorType==="no_oauth"||q.errorType==="no_repo")return!0;if(q.httpStatus!==void 0&&q.httpStatus>=400&&q.httpStatus<500&&q.httpStatus!==409&&q.httpStatus!==429)return!0;return!1}async function jJ(){if(!I)return;y=!0;try{let q=await o(I);if(q.success)g=!1;if(q.success&&q.filesUploaded>0)Y(`team-memory-watcher: pushed ${q.filesUploaded} files`,{level:"info"});else if(!q.success){if(Y(`team-memory-watcher: push failed: ${q.error}`,{level:"warn"}),vq(q)&&U===null)U=q.httpStatus!==void 0?`http_${q.httpStatus}`:q.errorType??"unknown",Y(`team-memory-watcher: suppressing retry until next unlink or session restart (${U})`,{level:"warn"}),_("tengu_team_mem_push_suppressed",{reason:U,...q.httpStatus&&{status:q.httpStatus}})}}catch(q){Y(`team-memory-watcher: push error: ${C(q)}`,{level:"warn"})}finally{y=!1,f=null}}function b(){if(U!==null)return;if(g=!0,F)clearTimeout(F);F=setTimeout(()=>{if(y){b();return}f=jJ()},WJ)}async function Aq(q){if(a)return;a=!0;try{await YJ(q,{recursive:!0}),A=GJ(q,{persistent:!1,recursive:!0},(K,$)=>{if($===null){b();return}if(U!==null){XJ(LJ(q,$)).catch((V)=>{if(V.code!=="ENOENT")return;if(U!==null)Y(`team-memory-watcher: unlink cleared suppression (was: ${U})`,{level:"info"}),U=null;b()});return}b()}),A.on("error",(K)=>{Y(`team-memory-watcher: fs.watch error: ${C(K)}`,{level:"warn"})}),Y(`team-memory-watcher: watching ${q}`,{level:"debug"})}catch(K){Y(`team-memory-watcher: failed to watch ${q}: ${C(K)}`,{level:"warn"})}Fq(async()=>Mq())}async function NJ(){if(!Dq()||!_q())return;if(!await M()){Y("team-memory-watcher: no github.com remote, skipping sync",{level:"debug"});return}I=wq();let K=!1,$=0,V=!1;try{let Q=await Iq(I);if(K=Q.success,V=Q.entryCount>0,Q.success&&Q.filesWritten>0)$=Q.filesWritten,Y(`team-memory-watcher: initial pull got ${Q.filesWritten} files`,{level:"info"})}catch(Q){Y(`team-memory-watcher: initial pull failed: ${C(Q)}`,{level:"warn"})}await Aq(k()),_("tengu_team_mem_sync_started",{initial_pull_success:K,initial_files_pulled:$,watcher_started:!0,server_has_content:V})}async function BJ(){if(!I)return;b()}async function Mq(){if(F)clearTimeout(F),F=null;if(A)A.close(),A=null;if(f)try{await f}catch{}if(g&&I&&U===null)try{await o(I)}catch{}}function HJ(q){A=null,F=null,y=!1,g=!1,f=null,a=q?.skipWatcher??!1,U=q?.pushSuppressedReason??null,I=q?.syncState??null}function UJ(q){return Aq(q)}var WJ=2000,A=null,F=null,y=!1,g=!1,f=null,a=!1,U=null,I=null;var wJ=d(()=>{Lq();$J();Jq();qq();$q();e();zq()});
|
|
2
|
+
export{vq as p,NJ as q,BJ as r,Mq as s,HJ as t,UJ as u,OJ as v,wJ as w};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Yf as EG,Zf as iG,dg as rG}from"./cli-1.1.4-wtcyy8sp.mjs";import{$M as y,AN as oG,FF as KG,GF as mG,KM as LG,LM as BG,NM as pG,PM as WG,QM as qG,VM as a,Ws as uG,XN as bG,ZM as DG,_N as sG,aN as o,bN as lG,cO as f,dN as kG,dO as s,eO as c,fO as v,gO as i,iN as _G,iy as l,jO as u,jy as jG,kn as FG,ky as HG,ln as OG,ly as dG,nO as cG,pn as VG,rN as aG,xs as vG,zN as $G,zn as fG}from"./cli-1.1.4-6z69geef.mjs";import{DZ as QJ}from"./cli-1.1.4-nh3sscxn.mjs";import{o4 as wG,q4 as PG}from"./cli-1.1.4-40z19hth.mjs";import{r4 as YG}from"./cli-1.1.4-9ms3b4tc.mjs";import{Sca as zG,Uga as R,Vga as _,Xca as CG,Yga as gG}from"./cli-1.1.4-6c3fshef.mjs";import{iia as NG}from"./cli-1.1.4-qecgken2.mjs";import{wja as A,zja as MG}from"./cli-1.1.4-te2372tc.mjs";import{Cka as SG,hka as yG,zka as ZG}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as h,ela as TG}from"./cli-1.1.4-hzx821eq.mjs";import{Zqa as XG,_ma as QG}from"./cli-1.1.4-0r232fpm.mjs";import{Esa as r,Isa as p}from"./cli-1.1.4-xxe2ztwq.mjs";var e=p(()=>{yG();NG()});function GG(Z){let z="plugin"in Z?Z.plugin:"no-plugin";return`${Z.type}:${Z.source}:${z}`}function JG(Z,z){if(z.length===0)return;Z((k)=>{let U=new Set(k.plugins.errors.map((j)=>GG(j))),$=z.filter((j)=>!U.has(GG(j)));if($.length===0)return k;return{...k,plugins:{...k.plugins,errors:[...k.plugins.errors,...$]}}})}function GJ(Z,z,k,U){let $=z==="disabled"?U??[]:U;if($===void 0)return Z;let j=new Map;for(let W of $)if(W.name!==void 0)j.set(W.name,W);let V=[],P=new Set;for(let W of Z){if(!W.name?.startsWith(k)){V.push(W);continue}let w=j.get(W.name);if(w)V.push(w),P.add(W.name)}for(let W of $)if(W.name===void 0||!P.has(W.name))V.push(W);return V}function IG(Z,z=!1){let k=HG(),U=l((G)=>G.authVersion),$=l((G)=>G.mcp.pluginReconnectKey),j=jG(),V=D.useRef(new Map),P=D.useRef(new Set),W=D.useRef(null);D.useEffect(()=>{},[j]);let{addNotification:w}=KG(),RG=16,d=D.useRef([]),N=D.useRef(null),C=D.useCallback(()=>{N.current=null;let G=d.current;if(G.length===0)return;d.current=[],j((Y)=>{let F=Y.mcp;for(let B of G){let{tools:X,commands:H,resources:q,...J}=B,K=J.type==="disabled"||J.type==="failed"?H??[]:H,Q=J.type==="disabled"||J.type==="failed"?q??[]:q,O=zG(J.name),I=F.clients.findIndex((M)=>M.name===J.name)===-1?[...F.clients,J]:F.clients.map((M)=>M.name===J.name?J:M),g=GJ(F.tools,J.type,O,X),x=K===void 0?F.commands:[...$G(F.commands,(M)=>kG(M,J.name)),...K],m=Q===void 0?F.resources:{...F.resources,...Q.length>0?{[J.name]:Q}:EG(F.resources,J.name)};F={...F,clients:I,tools:g,commands:x,resources:m}}return{...Y,mcp:F}})},[j]),b=D.useCallback((G)=>{if(d.current.push(G),N.current===null)N.current=setTimeout(C,RG)},[C]),E=D.useCallback(({client:G,tools:Y,commands:F,resources:B})=>{switch(b({...G,tools:Y,commands:F,resources:B}),G.type){case"connected":{if(bG(G.client,G.name,j),G.client.onclose=()=>{let X=G.config.type??"stdio";if(u(G.name,G.config).catch(()=>{ZG(`Failed to invalidate the server cache: ${G.name}`)}),y(G.name)){_(G.name,"Server is disabled, skipping automatic reconnection");return}if(X!=="stdio"&&X!=="sdk"){let H=JJ(X);_(G.name,`${H} transport closed/disconnected, attempting automatic reconnection`);let q=V.current.get(G.name);if(q)clearTimeout(q),V.current.delete(G.name);(async()=>{for(let K=1;K<=T;K++){if(y(G.name)){_(G.name,"Server disabled during reconnection, stopping retry"),V.current.delete(G.name);return}b({...G,type:"pending",reconnectAttempt:K,maxReconnectAttempts:T});let Q=Date.now();try{let L=await v(G.name,G.config),I=Date.now()-Q;if(L.client.type==="connected"){_(G.name,`${H} reconnection successful after ${I}ms (attempt ${K})`),V.current.delete(G.name),E(L);return}if(_(G.name,`${H} reconnection attempt ${K} completed with status: ${L.client.type}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),E(L);return}}catch(L){let I=Date.now()-Q;if(R(G.name,`${H} reconnection attempt ${K} failed after ${I}ms: ${L}`),K===T){_(G.name,`Max reconnection attempts (${T}) reached, giving up`),V.current.delete(G.name),b({...G,type:"failed"});return}}let O=Math.min(tG*Math.pow(2,K-1),eG);_(G.name,`Scheduling reconnection attempt ${K+1} in ${O}ms`),await new Promise((L)=>{let I=setTimeout(L,O);V.current.set(G.name,I)})}})()}else b({...G,type:"failed"})},!1)switch(X.action){case"register":case"skip":}if(G.capabilities?.tools?.listChanged)G.client.setNotificationHandler(VG,async()=>{_(G.name,"Received tools/list_changed notification, refreshing tools");try{let X=f.cache.get(G.name);f.cache.delete(G.name);let H=await f(G),q=H.length;if(X)X.then((J)=>{A("tengu_mcp_list_changed",{type:"tools",previousCount:J.length,newCount:q})},()=>{A("tengu_mcp_list_changed",{type:"tools",newCount:q})});else A("tengu_mcp_list_changed",{type:"tools",newCount:q});b({...G,tools:H})}catch(X){R(G.name,`Failed to refresh tools after list_changed notification: ${h(X)}`)}});if(G.capabilities?.prompts?.listChanged)G.client.setNotificationHandler(OG,async()=>{_(G.name,"Received prompts/list_changed notification, refreshing prompts"),A("tengu_mcp_list_changed",{type:"prompts"});try{c.cache.delete(G.name);let[X,H]=await Promise.all([c(G),Promise.resolve([])]);b({...G,commands:[...X,...H]}),nG?.()}catch(X){R(G.name,`Failed to refresh prompts after list_changed notification: ${h(X)}`)}});if(G.capabilities?.resources?.listChanged)G.client.setNotificationHandler(FG,async()=>{_(G.name,"Received resources/list_changed notification, refreshing resources"),A("tengu_mcp_list_changed",{type:"resources"});try{s.cache.delete(G.name);{let X=await s(G);b({...G,resources:X})}}catch(X){R(G.name,`Failed to refresh resources after list_changed notification: ${h(X)}`)}});break}case"needs-auth":case"failed":case"pending":case"disabled":break}},[b]),t=QG();D.useEffect(()=>{async function G(){let{servers:Y,errors:F}=z?{servers:{},errors:[]}:await a(Z),B={...Y,...Z};JG(j,F),j((X)=>{let{stale:H,...q}=_G(X.mcp,B);for(let Q of H){let O=V.current.get(Q.name);if(O)clearTimeout(O),V.current.delete(Q.name);if(Q.type==="connected")Q.client.onclose=void 0,u(Q.name,Q.config).catch(()=>{})}let J=new Set(q.clients.map((Q)=>Q.name)),K=Object.entries(B).filter(([Q])=>!J.has(Q)).map(([Q,O])=>({name:Q,type:y(Q)?"disabled":"pending",config:O}));if(K.length===0&&H.length===0)return X;return{...X,mcp:{...X.mcp,...q,clients:[...q.clients,...K]}}})}G().catch((Y)=>{R("useManageMCPConnections",`Failed to initialize servers as pending: ${h(Y)}`)})},[z,Z,j,t,$]),D.useEffect(()=>{let G=!1;async function Y(){let F;if(z||DG())F=Promise.resolve({});else BG(),F=LG();let{servers:B,errors:X}=z?{servers:{},errors:[]}:await a(Z,F);if(G)return;JG(j,X);let H={...B,...Z},q=Object.fromEntries(Object.entries(H).filter(([O])=>!y(O)));i(E,q).catch((O)=>{R("useManageMcpConnections",`Failed to get MCP resources: ${h(O)}`)});let J={};if(!z){if(J=qG(await F).allowed,G)return;if(Object.keys(J).length>0){let{servers:O}=WG(J,H);J=O}if(Object.keys(J).length>0){j((L)=>{let I=new Set(L.mcp.clients.map((x)=>x.name)),g=Object.entries(J).filter(([x])=>!I.has(x)).map(([x,m])=>({name:x,type:y(x)?"disabled":"pending",config:m}));if(g.length===0)return L;return{...L,mcp:{...L.mcp,clients:[...L.mcp.clients,...g]}}});let O=Object.fromEntries(Object.entries(J).filter(([L])=>!y(L)));i(E,O).catch((L)=>{R("useManageMcpConnections",`Failed to get claude.ai MCP resources: ${h(L)}`)})}}let K={...H,...J},Q={enterprise:0,global:0,project:0,user:0,plugin:0,claudeai:0};for(let O of Object.values(K))if(O.scope==="enterprise")Q.enterprise++;else if(O.scope==="user")Q.global++;else if(O.scope==="project")Q.project++;else if(O.scope==="local")Q.user++;else if(O.scope==="dynamic")Q.plugin++;else if(O.scope==="claudeai")Q.claudeai++;A("tengu_mcp_servers",{...Q})}return Y(),()=>{G=!0}},[z,Z,E,j,U,t,$]),D.useEffect(()=>{let G=V.current;return()=>{for(let Y of G.values())clearTimeout(Y);if(G.clear(),N.current!==null)clearTimeout(N.current),N.current=null,C()}},[C]);let AG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((X)=>X.name===G);if(!Y)throw Error(`MCP server ${G} not found`);let F=V.current.get(G);if(F)clearTimeout(F),V.current.delete(G);let B=await v(G,Y.config);return E(B),B},[k,E]),hG=D.useCallback(async(G)=>{let Y=k.getState().mcp.clients.find((B)=>B.name===G);if(!Y)throw Error(`MCP server ${G} not found`);if(Y.type!=="disabled"){let B=V.current.get(G);if(B)clearTimeout(B),V.current.delete(G);if(o(G,!1),Y.type==="connected")await u(G,Y.config);b({name:G,type:"disabled",config:Y.config})}else{o(G,!0),b({name:G,type:"pending",config:Y.config});let B=await v(G,Y.config);E(B)}},[k,b,E]);return{reconnectMcpServer:AG,toggleMcpServer:hG}}function JJ(Z){switch(Z){case"http":return"HTTP";case"ws":case"ws-ide":return"WebSocket";default:return"SSE"}}var D,nG=null,T=5,tG=1000,eG=30000;var UG=p(()=>{XG();cG();fG();iG();oG();MG();lG();SG();XG();mG();dG();TG();gG();uG();rG();e();pG();sG();CG();aG();vG();D=r(YG(),1)});function aJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpReconnect must be used within MCPConnectionManager");return Z.reconnectMcpServer}function oJ(){let Z=S.useContext(n);if(!Z)throw Error("useMcpToggleEnabled must be used within MCPConnectionManager");return Z.toggleMcpServer}function sJ(Z){let z=xG.c(6),{children:k,dynamicMcpConfig:U,isStrictMcpConfig:$}=Z,{reconnectMcpServer:j,toggleMcpServer:V}=IG(U,$),P;if(z[0]!==j||z[1]!==V)P={reconnectMcpServer:j,toggleMcpServer:V},z[0]=j,z[1]=V,z[2]=P;else P=z[2];let W=P,w;if(z[3]!==k||z[4]!==W)w=wG(n.Provider,{value:W,children:k}),z[3]=k,z[4]=W,z[5]=w;else w=z[5];return w}var xG,S,n;var XJ=p(()=>{UG();PG();xG=r(QJ(),1),S=r(YG(),1),n=S.createContext(null)});
|
|
2
|
+
export{e as Tf,aJ as Uf,oJ as Vf,sJ as Wf,XJ as Xf};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import{SR as N,bR as L,cR as w,eS as d,lx as B,nx as U}from"./cli-1.1.4-6z69geef.mjs";import{jba as z,qba as F,uda as P}from"./cli-1.1.4-6c3fshef.mjs";import{nha as H,tha as v}from"./cli-1.1.4-rc28sjtd.mjs";import{Isa as j}from"./cli-1.1.4-xxe2ztwq.mjs";async function V(R){let{messages:I,getAppState:O,options:{mainLoopModel:J,tools:Y,agentDefinitions:Z,customSystemPrompt:W,appendSystemPrompt:X}}=R,Q=N(I),{messages:K}=await B(Q),h=O();return L(K,J,async()=>h.toolPermissionContext,Y,Z,void 0,{options:{customSystemPrompt:W,appendSystemPrompt:X}},void 0,Q)}async function g(R,I){let O=await V(I);return{type:"text",value:b(O)}}function b(R){let{categories:I,totalTokens:O,rawMaxTokens:J,percentage:Y,model:Z,memoryFiles:W,mcpTools:X,agents:Q,skills:K}=R,h=`## Context Usage
|
|
2
|
+
|
|
3
|
+
`;h+=`**Model:** ${Z}
|
|
4
|
+
`,h+=`**Tokens:** ${H(O)} / ${H(J)} (${Y}%)
|
|
5
|
+
`,h+=`
|
|
6
|
+
`;let _=I.filter((q)=>q.tokens>0&&q.name!=="Free space"&&q.name!=="Autocompact buffer");if(_.length>0){h+=`### Estimated usage by category
|
|
7
|
+
|
|
8
|
+
`,h+=`| Category | Tokens | Percentage |
|
|
9
|
+
`,h+=`|----------|--------|------------|
|
|
10
|
+
`;for(let G of _){let $=(G.tokens/J*100).toFixed(1);h+=`| ${G.name} | ${H(G.tokens)} | ${$}% |
|
|
11
|
+
`}let q=I.find((G)=>G.name==="Free space");if(q&&q.tokens>0){let G=(q.tokens/J*100).toFixed(1);h+=`| Free space | ${H(q.tokens)} | ${G}% |
|
|
12
|
+
`}let E=I.find((G)=>G.name==="Autocompact buffer");if(E&&E.tokens>0){let G=(E.tokens/J*100).toFixed(1);h+=`| Autocompact buffer | ${H(E.tokens)} | ${G}% |
|
|
13
|
+
`}h+=`
|
|
14
|
+
`}if(X.length>0){h+=`### MCP Tools
|
|
15
|
+
|
|
16
|
+
`,h+=`| Tool | Server | Tokens |
|
|
17
|
+
`,h+=`|------|--------|--------|
|
|
18
|
+
`;for(let q of X)h+=`| ${q.name} | ${q.serverName} | ${H(q.tokens)} |
|
|
19
|
+
`;h+=`
|
|
20
|
+
`}if(Q.length>0){h+=`### Custom Agents
|
|
21
|
+
|
|
22
|
+
`,h+=`| Agent Type | Source | Tokens |
|
|
23
|
+
`,h+=`|------------|--------|--------|
|
|
24
|
+
`;for(let q of Q){let E;switch(q.source){case"projectSettings":E="Project";break;case"userSettings":E="User";break;case"localSettings":E="Local";break;case"flagSettings":E="Flag";break;case"policySettings":E="Policy";break;case"plugin":E="Plugin";break;case"built-in":E="Built-in";break;default:E=String(q.source)}h+=`| ${q.agentType} | ${E} | ${H(q.tokens)} |
|
|
25
|
+
`}h+=`
|
|
26
|
+
`}if(W.length>0){h+=`### Memory Files
|
|
27
|
+
|
|
28
|
+
`,h+=`| Type | Path | Tokens |
|
|
29
|
+
`,h+=`|------|------|--------|
|
|
30
|
+
`;for(let q of W)h+=`| ${q.type} | ${q.path} | ${H(q.tokens)} |
|
|
31
|
+
`;h+=`
|
|
32
|
+
`}if(K&&K.tokens>0&&K.skillFrontmatter.length>0){h+=`### Skills
|
|
33
|
+
|
|
34
|
+
`,h+=`| Skill | Source | Tokens |
|
|
35
|
+
`,h+=`|-------|--------|--------|
|
|
36
|
+
`;for(let q of K.skillFrontmatter)h+=`| ${q.name} | ${z(q.source)} | ${H(q.tokens)} |
|
|
37
|
+
`;h+=`
|
|
38
|
+
`}return h}var A=j(()=>{U();w();v();d();F();P()});
|
|
39
|
+
export{V as Ah,g as Bh,A as Ch};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{$d as L,Xd as j,Yd as w,Zd as _,_d as D,ae as A,be as O}from"./cli-1.1.4-8rzb4wqq.mjs";import{LS as h,NS as y,iB as W,lB as V,nB as C,rM as X,sM as I,up as R,xp as b}from"./cli-1.1.4-6z69geef.mjs";import{D_ as Q,E_ as N,Qga as U,Yga as S}from"./cli-1.1.4-6c3fshef.mjs";import{wja as K,zja as v}from"./cli-1.1.4-te2372tc.mjs";import{Eka as x,Ika as M}from"./cli-1.1.4-4cg8jz3d.mjs";import{Zka as B,ela as F}from"./cli-1.1.4-hzx821eq.mjs";N();F();y();S();I();b();M();C();v();O();function Z(z,J,q){U(z);let G=q?`${J} plugin "${q}"`:J==="disable-all"?"disable all plugins":`${J} plugins`;console.error(`${Q.cross} Failed to ${G}: ${B(z)}`);let H=q?(()=>{let{name:Y,marketplace:$}=R(q);return{_PROTO_plugin_name:Y,...$&&{_PROTO_marketplace_name:$},...W(Y,$,X())}})():{};K("tengu_plugin_command_failed",{command:J,error_category:V(z),...H}),process.exit(1)}async function g(z,J="user"){try{console.log(`Installing plugin "${z}"...`);let q=await j(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_installed_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope||J,install_source:"cli-explicit",...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"install",z)}}async function a(z,J="user",q=!1){try{let G=await w(z,J,!q);if(!G.success)throw Error(G.message);console.log(`${Q.tick} ${G.message}`);let{name:H,marketplace:Y}=R(G.pluginId||z);K("tengu_plugin_uninstalled_cli",{_PROTO_plugin_name:H,...Y&&{_PROTO_marketplace_name:Y},scope:G.scope||J,...W(H,Y,X())}),process.exit(0)}catch(G){Z(G,"uninstall",z)}}async function i(z,J){try{let q=await _(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_enabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"enable",z)}}async function u(z,J){try{let q=await D(z,J);if(!q.success)throw Error(q.message);console.log(`${Q.tick} ${q.message}`);let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_disabled_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},scope:q.scope,...W(G,H,X())}),process.exit(0)}catch(q){Z(q,"disable",z)}}async function n(){try{let z=await L();if(!z.success)throw Error(z.message);console.log(`${Q.tick} ${z.message}`),K("tengu_plugin_disabled_all_cli",{}),process.exit(0)}catch(z){Z(z,"disable-all")}}async function r(z,J){try{x(`Checking for updates for plugin "${z}" at ${J} scope…
|
|
2
|
+
`);let q=await A(z,J);if(!q.success)throw Error(q.message);if(x(`${Q.tick} ${q.message}
|
|
3
|
+
`),!q.alreadyUpToDate){let{name:G,marketplace:H}=R(q.pluginId||z);K("tengu_plugin_updated_cli",{_PROTO_plugin_name:G,...H&&{_PROTO_marketplace_name:H},old_version:q.oldVersion||"unknown",new_version:q.newVersion||"unknown",...W(G,H,X())})}await h(0)}catch(q){Z(q,"update",z)}}
|
|
4
|
+
export{g as h,a as i,i as j,u as k,n as l,r as m};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Ri as H,Ti as C}from"./cli-1.1.4-5hz878ns.mjs";import{Ui as k,Vi as y}from"./cli-1.1.4-tmrxfcjm.mjs";import{F4 as X,H4 as Y,M4 as R}from"./cli-1.1.4-g6nryz17.mjs";import{O4 as G,P4 as m}from"./cli-1.1.4-my1g33fn.mjs";import{N8 as B,a9 as f,r5 as w,s5 as E}from"./cli-1.1.4-fk420f57.mjs";import{Qga as Q,Uea as S,Xea as j,Yga as D,qfa as x}from"./cli-1.1.4-6c3fshef.mjs";import{uja as V,vja as b}from"./cli-1.1.4-m312ygm6.mjs";import{Tra as W,jsa as I}from"./cli-1.1.4-0a20jx5n.mjs";import{Isa as Z}from"./cli-1.1.4-xxe2ztwq.mjs";async function _(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests`;return(await W.post(J,L,{headers:K})).data}async function $(L,N){let{accessToken:P,orgUUID:K}=await X(),J={...Y(P),"x-organization-uuid":K},F=`${V().BASE_API_URL}/api/oauth/organizations/${K}/admin_requests/me?request_type=${L}`;for(let v of N)F+=`&statuses=${v}`;return(await W.get(F,{headers:J})).data}async function z(L){let{accessToken:N,orgUUID:P}=await X(),K={...Y(N),"x-organization-uuid":P},J=`${V().BASE_API_URL}/api/oauth/organizations/${P}/admin_requests/eligibility?request_type=${L}`;return(await W.get(J,{headers:K})).data}var M=Z(()=>{I();b();R()});async function i(){if(!j().hasVisitedExtraUsage)S((J)=>({...J,hasVisitedExtraUsage:!0}));H();let L=B(),N=L==="team"||L==="enterprise";if(!w()&&N){let J;try{J=(await k())?.extra_usage}catch(F){Q(F)}if(J?.is_enabled&&J.monthly_limit===null)return{type:"message",value:"Your organization already has unlimited extra usage. No request needed."};try{if((await z("limit_increase"))?.is_allowed===!1)return{type:"message",value:"Please contact your admin to manage extra usage settings."}}catch(F){Q(F)}try{let F=await $("limit_increase",["pending","dismissed"]);if(F&&F.length>0)return{type:"message",value:"You have already submitted a request for extra usage to your admin."}}catch(F){Q(F)}try{return await _({request_type:"limit_increase",details:null}),{type:"message",value:J?.is_enabled?"Request sent to your admin to increase extra usage.":"Request sent to your admin to enable extra usage."}}catch(F){Q(F)}return{type:"message",value:"Please contact your admin to manage extra usage settings."}}let K=N?"https://claude.ai/admin-settings/usage":"https://claude.ai/settings/usage";try{let J=await G(K);return{type:"browser-opened",url:K,opened:J}}catch(J){return Q(J),{type:"message",value:`Failed to open browser. Please visit ${K} to manage extra usage.`}}}var A=Z(()=>{M();C();y();f();E();m();x();D()});
|
|
2
|
+
export{i as Oi,A as Pi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Qi as J,Si as K,Ti as M}from"./cli-1.1.4-5hz878ns.mjs";import{DZ as P,H1 as X}from"./cli-1.1.4-nh3sscxn.mjs";import{q4 as q}from"./cli-1.1.4-40z19hth.mjs";import{r4 as N}from"./cli-1.1.4-9ms3b4tc.mjs";import{Xea as H,qfa as Z}from"./cli-1.1.4-6c3fshef.mjs";import{tha as Y}from"./cli-1.1.4-rc28sjtd.mjs";import{zja as V}from"./cli-1.1.4-te2372tc.mjs";import{Esa as z,Isa as Q}from"./cli-1.1.4-xxe2ztwq.mjs";function B(){let k=J();if(!k||!k.available||k.granted)return!1;return K(k)!==null}function c(){if(!B())return!1;let k=H();if(k.hasVisitedExtraUsage)return!1;if((k.overageCreditUpsellSeenCount??0)>=A)return!1;return!0}var R,y,A=3;var D=Q(()=>{X();V();M();Z();Y();q();R=z(P(),1),y=z(N(),1)});
|
|
2
|
+
export{c as Xg,D as Yg};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Cd as Z,Dd as _,Ed as $,Hd as O}from"./cli-1.1.4-mkk6fe3z.mjs";import{Yd as Y,be as x}from"./cli-1.1.4-8rzb4wqq.mjs";import{XL as U,aM as W,fM as S,gM as X,qM as V}from"./cli-1.1.4-6z69geef.mjs";import{Cka as K,zka as R}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as Q,ela as C}from"./cli-1.1.4-hzx821eq.mjs";x();K();C();V();S();O();function b(G,J,L){let H=new Set(J.plugins.map((z)=>z.name)),A=`@${L}`,q=[];for(let z of Object.keys(G.plugins)){if(!z.endsWith(A))continue;let h=z.slice(0,-A.length);if(!H.has(h))q.push(z)}return q}async function F(){await Z();let G=X(),J=_(),L=await U(),H=[];for(let A of Object.keys(L))try{let q=await W(A);if(!q.forceRemoveDeletedPlugins)continue;let z=b(G,q,A);for(let h of z){if(h in J)continue;let T=G.plugins[h]??[];if(!T.some((B)=>B.scope==="user"||B.scope==="project"||B.scope==="local"))continue;for(let B of T){let{scope:E}=B;if(E!=="user"&&E!=="project"&&E!=="local")continue;try{await Y(h,E)}catch(v){R(`Failed to auto-uninstall delisted plugin ${h} from ${E}: ${Q(v)}`,{level:"error"})}}await $(h),H.push(h)}}catch(q){R(`Failed to check for delisted plugins in "${A}": ${Q(q)}`,{level:"warn"})}return H}
|
|
2
|
+
export{F as $a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Nd as x,Od as o}from"./cli-1.1.4-5g0b74dj.mjs";import{$u as Z,AL as R,Bz as $,Cz as d,DL as i,GM as W,Gz as y,Iz as u,JM as t,fv as v,lp as Y,nA as K,nD as M,np as g,oL as O,pA as m,pL as a,tD as l}from"./cli-1.1.4-6z69geef.mjs";import{Qga as X,Yga as h}from"./cli-1.1.4-6c3fshef.mjs";import{Cka as c,zka as I}from"./cli-1.1.4-53fvpymg.mjs";import{Zka as V,ela as f}from"./cli-1.1.4-hzx821eq.mjs";import{Zqa as _,ena as U}from"./cli-1.1.4-0r232fpm.mjs";import{Isa as C}from"./cli-1.1.4-xxe2ztwq.mjs";async function Lj(w){I("refreshActivePlugins: clearing all plugin caches"),R(),K();let G=await W(),[E,F]=await Promise.all([O(),Z(U())]),{enabled:z,disabled:B,errors:H}=G;x(E);let[P,S]=await Promise.all([Promise.all(z.map(async(j)=>{if(j.mcpServers)return Object.keys(j.mcpServers).length;let q=await Y(j,H);if(q)j.mcpServers=q;return q?Object.keys(q).length:0})),Promise.all(z.map(async(j)=>{if(j.lspServers)return Object.keys(j.lspServers).length;let q=await $(j,H);if(q)j.lspServers=q;return q?Object.keys(q).length:0}))]),J=P.reduce((j,q)=>j+q,0),L=S.reduce((j,q)=>j+q,0);w((j)=>({...j,plugins:{...j.plugins,enabled:z,disabled:B,commands:[],errors:n(j.plugins.errors,H),needsRefresh:!1},agentDefinitions:F,mcp:{...j.mcp,pluginReconnectKey:j.mcp.pluginReconnectKey+1}})),y();let N=!1;try{await M()}catch(j){N=!0,X(j),I(`refreshActivePlugins: loadPluginHooks failed: ${V(j)}`)}let Q=z.reduce((j,q)=>{if(!q.hooksConfig)return j;return j+Object.values(q.hooksConfig).reduce((k,A)=>k+(A?.reduce((D,b)=>D+b.hooks.length,0)??0),0)},0);return I(`refreshActivePlugins: ${z.length} enabled, ${E.length} commands, ${F.allAgents.length} agents, ${Q} hooks, ${J} MCP, ${L} LSP`),{enabled_count:z.length,disabled_count:B.length,command_count:E.length,agent_count:F.allAgents.length,hook_count:Q,mcp_count:J,lsp_count:L,error_count:H.length+(N?1:0),agentDefinitions:F,pluginCommands:E}}function n(w,G){let E=w.filter((B)=>B.source==="lsp-manager"||B.source.startsWith("plugin:")),F=new Set(G.map(T));return[...E.filter((B)=>!F.has(T(B))),...G]}function T(w){return w.type==="generic-error"?`generic-error:${w.source}:${w.error}`:`${w.type}:${w.source}`}var p=C(()=>{_();u();o();v();c();f();h();i();a();l();d();g();m();t()});
|
|
2
|
+
export{Lj as Jd,p as Kd};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{A4 as D,y4 as N,z4 as V}from"./cli-1.1.4-v67jx2fw.mjs";import{C8 as J,E8 as $,H8 as B,a9 as x,b8 as Z,g5 as Y,m5 as _}from"./cli-1.1.4-fk420f57.mjs";import{pja as Q,vja as P}from"./cli-1.1.4-m312ygm6.mjs";import{Tra as X,jsa as R}from"./cli-1.1.4-0a20jx5n.mjs";import{Isa as W}from"./cli-1.1.4-xxe2ztwq.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 s4,I as t4,w as u4,C as v4,O as w4,H as x4};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{C8 as q,a9 as D}from"./cli-1.1.4-fk420f57.mjs";import{uja as m,vja as z}from"./cli-1.1.4-m312ygm6.mjs";import{Isa as x}from"./cli-1.1.4-xxe2ztwq.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 ui,F as vi,K as wi,M as xi,G as yi};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Vh as Vq,Wh as fq}from"./cli-1.1.4-mjtadp4r.mjs";import{CY as o,DY as pq,JY as Qq,LY as Uq,MY as Hq,nY as Pq,oY as mq}from"./cli-1.1.4-k6ebhyp0.mjs";import{DZ as Sq,H1 as Wq,a1 as M,c1 as g}from"./cli-1.1.4-nh3sscxn.mjs";import{o4 as Z,p4 as F,q4 as Jq}from"./cli-1.1.4-40z19hth.mjs";import{r4 as _q}from"./cli-1.1.4-9ms3b4tc.mjs";import{bha as s,cha as jq}from"./cli-1.1.4-rc28sjtd.mjs";import{Esa as Lq,Isa as wq}from"./cli-1.1.4-xxe2ztwq.mjs";function lq(A){let q=C.c(25),{title:J,color:V,defaultTab:Q,children:L,hidden:G,useFullWidth:K,selectedTab:E,onTabChange:k,banner:T,disableNavigation:a,initialHeaderFocused:n,contentHeight:y,navFromContent:d}=A,Xq=n===void 0?!0:n,Yq=d===void 0?!1:d,{columns:t}=Pq(),X=L.map(Iq),e=Q?X.findIndex((U)=>Q===U[0]):0,x=E!==void 0,[Zq,kq]=P.useState(e!==-1?e:0),qq=x?X.findIndex((U)=>U[0]===E):-1,z=x?qq!==-1?qq:0:Zq,N=Uq(),[Y,v]=P.useState(Xq),O;if(q[0]===Symbol.for("react.memo_cache_sentinel"))O=()=>v(!0),q[0]=O;else O=q[0];let zq=O,R;if(q[1]===Symbol.for("react.memo_cache_sentinel"))R=()=>v(!1),q[1]=R;else R=q[1];let Eq=R,[Nq,Aq]=P.useState(0),w;if(q[2]===Symbol.for("react.memo_cache_sentinel"))w=()=>{return Aq(Cq),()=>Aq(gq)},q[2]=w;else w=q[2];let vq=w,j=Nq>0,_=(U)=>{let H=(z+X.length+U)%X.length,f=X[H]?.[0];if(x&&k&&f)k(f);else kq(H);v(!0)},b=!G&&!a&&Y,S;if(q[3]!==b)S={context:"Tabs",isActive:b},q[3]=b,q[4]=S;else S=q[4];o({"tabs:next":()=>_(1),"tabs:previous":()=>_(-1)},S);let W;if(q[5]!==Y||q[6]!==G||q[7]!==j)W=(U)=>{if(!Y||!j||G)return;if(U.key==="down")U.preventDefault(),v(!1)},q[5]=Y,q[6]=G,q[7]=j,q[8]=W;else W=q[8];let u=W,$=Yq&&!Y&&j&&!G&&!a,m;if(q[9]!==$)m={context:"Tabs",isActive:$},q[9]=$,q[10]=m;else m=q[10];o({"tabs:next":()=>{_(1),v(!0)},"tabs:previous":()=>{_(-1),v(!0)}},m);let Dq=J?s(J)+1:0,Mq=X.reduce(Fq,0),Bq=Dq+Mq,Gq=K?Math.max(0,t-Bq):0,B=K?t:void 0,h=M,Kq="column",yq=0,Oq=!0,c=N?0:void 0,r=!G&&F(M,{flexDirection:"row",gap:1,flexShrink:N?0:void 0,children:[J!==void 0&&Z(g,{bold:!0,color:V,children:J}),X.map((U,H)=>{let[f,Rq]=U,i=z===H,l=V&&i&&Y;return F(g,{backgroundColor:l?V:void 0,color:l?"inverseText":void 0,inverse:i&&!l,bold:i,children:[" ",Rq," "]},f)}),Gq>0&&Z(g,{children:" ".repeat(Gq)})]},`${z}-${Y?"focused":"blurred"}`),D;if(q[11]!==L||q[12]!==y||q[13]!==B||q[14]!==G||q[15]!==N||q[16]!==z)D=N?Z(M,{width:B,marginTop:G?0:1,flexShrink:0,children:Z(Vq,{ref:N,flexDirection:"column",flexShrink:0,children:L},z)}):Z(M,{width:B,marginTop:G?0:1,height:y,overflowY:y!==void 0?"hidden":void 0,children:L}),q[11]=L,q[12]=y,q[13]=B,q[14]=G,q[15]=N,q[16]=z,q[17]=D;else D=q[17];let p;if(q[18]!==h||q[19]!==T||q[20]!==u||q[21]!==c||q[22]!==r||q[23]!==D)p=F(h,{flexDirection:Kq,tabIndex:yq,autoFocus:Oq,onKeyDown:u,flexShrink:c,children:[r,T,D]}),q[18]=h,q[19]=T,q[20]=u,q[21]=c,q[22]=r,q[23]=D,q[24]=p;else p=q[24];return Z(I.Provider,{value:{selectedTab:X[z][0],width:B,headerFocused:Y,focusHeader:zq,blurHeader:Eq,registerOptIn:vq},children:p})}function Fq(A,q){let[,J]=q;return A+(J?s(J):0)+2+1}function gq(A){return A-1}function Cq(A){return A+1}function Iq(A){return[A.props.id??A.props.title,A.props.title]}function oq(A){let q=C.c(4),{title:J,id:V,children:Q}=A,{selectedTab:L,width:G}=P.useContext(I),K=Qq();if(L!==(V??J))return null;let E=K?0:void 0,k;if(q[0]!==Q||q[1]!==E||q[2]!==G)k=Z(M,{width:G,flexShrink:E,children:Q}),q[0]=Q,q[1]=E,q[2]=G,q[3]=k;else k=q[3];return k}function sq(){let{width:A}=P.useContext(I);return A}function aq(){let A=C.c(6),{headerFocused:q,focusHeader:J,blurHeader:V,registerOptIn:Q}=P.useContext(I),L;if(A[0]!==Q)L=[Q],A[0]=Q,A[1]=L;else L=A[1];P.useEffect(Q,L);let G;if(A[2]!==V||A[3]!==J||A[4]!==q)G={headerFocused:q,focusHeader:J,blurHeader:V},A[2]=V,A[3]=J,A[4]=q,A[5]=G;else G=A[5];return G}var C,P,I;var Tq=wq(()=>{Hq();mq();fq();jq();Wq();pq();Jq();C=Lq(Sq(),1),P=Lq(_q(),1),I=P.createContext({selectedTab:void 0,width:void 0,headerFocused:!1,focusHeader:()=>{},blurHeader:()=>{},registerOptIn:()=>()=>{}})});
|
|
2
|
+
export{lq as th,oq as uh,sq as vh,aq as wh,Tq as xh};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Kn as R,Ln as BJ,PE as k,QE as HJ,et as D,ft as hJ,up as G,xp as a}from"./cli-1.1.4-6z69geef.mjs";import{C8 as ZJ,N8 as $J,a9 as bJ}from"./cli-1.1.4-fk420f57.mjs";import{Rda as WJ,eea as jJ,gaa as C,haa as GJ,iaa as h,jaa as FJ,kaa as u,laa as kJ}from"./cli-1.1.4-6c3fshef.mjs";import{Yha as x,iia as gJ}from"./cli-1.1.4-qecgken2.mjs";import{Bia as q,Dia as s,Eia as Y,Fia as r}from"./cli-1.1.4-mzzr964a.mjs";import{gja as M,lja as yJ}from"./cli-1.1.4-f7y4b0px.mjs";import{$ja as l,Lja as o,Mja as CJ,Vja as n,Wja as EJ,aka as TJ}from"./cli-1.1.4-53fvpymg.mjs";import{Bma as H,Cma as F,Dma as I,Dqa as QJ,Ema as YJ,Fla as g,Fma as P,Gla as zJ,Gma as XJ,Hla as A,Ila as wJ,Tla as f,Ula as PJ,Zqa as mJ,xma as c,yma as OJ}from"./cli-1.1.4-0r232fpm.mjs";import{gra as K,hra as DJ}from"./cli-1.1.4-x8m7spde.mjs";import{Isa as B}from"./cli-1.1.4-xxe2ztwq.mjs";function UJ(J,Q){return Q.length<2?J:P(J,R(Q,0,-1))}var z;var L=B(()=>{XJ();BJ();z=UJ});function xJ(J,Q){Q=H(Q,J);var W=-1,$=Q.length;if(!$)return!0;while(++W<$){var Z=I(Q[W]);if(Z==="__proto__"&&!KJ.call(J,"__proto__"))return!1;if((Z==="constructor"||Z==="prototype")&&W<$-1)return!1}var X=z(J,Q);return X==null||delete X[I(k(Q))]}var IJ,KJ,N;var O=B(()=>{F();HJ();L();YJ();IJ=Object.prototype,KJ=IJ.hasOwnProperty;N=xJ});function MJ(J){return C(J)?void 0:J}var E;var T=B(()=>{GJ();E=MJ});function RJ(J){return A(J)||f(J)||!!(S&&J&&J[S])}var S,d;var _=B(()=>{DJ();PJ();wJ();S=K?K.isConcatSpreadable:void 0;d=RJ});function v(J,Q,W,$,Z){var X=-1,V=J.length;W||(W=d),Z||(Z=[]);while(++X<V){var U=J[X];if(Q>0&&W(U))if(Q>1)v(U,Q-1,W,$,Z);else g(Z,U);else if(!$)Z[Z.length]=U}return Z}var m;var j=B(()=>{zJ();_();m=v});function LJ(J){var Q=J==null?0:J.length;return Q?m(J,1):[]}var y;var b=B(()=>{j();y=LJ});function NJ(J){return u(h(J,void 0,y),J+"")}var i;var p=B(()=>{b();FJ();kJ();i=NJ});var SJ=1,AJ=2,fJ=4,dJ,NQ;var _J=B(()=>{OJ();TJ();O();F();CJ();T();p();EJ();dJ=i(function(J,Q){var W={};if(J==null)return W;var $=!1;if(Q=c(Q,function(X){return X=H(X,J),$||($=X.length>1),X}),o(J,n(J),W),$)W=l(W,SJ|AJ|fJ,E);var Z=Q.length;while(Z--)N(W,Q[Z]);return W}),NQ=dJ});function t(){let J=x("tengu_harbor_ledger",[]),Q=vJ().safeParse(J);return Q.success?Q.data:[]}function e(){return x("tengu_harbor",!1)}var vJ;var JJ=B(()=>{s();r();a();gJ();vJ=Y(()=>q.array(q.object({marketplace:q.string(),plugin:q.string()})))});function uQ(J,Q,W){let $=Object.entries(W??{}).filter(([Z])=>iJ.test(Z)).map(([Z,X])=>` ${Z}="${D(X)}"`).join("");return`<${M} source="${D(J)}"${$}>
|
|
2
|
+
${Q}
|
|
3
|
+
</${M}>`}function pJ(J,Q){if((J==="team"||J==="enterprise")&&Q)return{entries:Q,source:"org"};return{entries:t(),source:"ledger"}}function cJ(J,Q){let W=J.split(":");return Q.find(($)=>$.kind==="server"?J===$.name:W[0]==="plugin"&&W[1]===$.name)}function iQ(J,Q,W){if(!Q?.experimental?.["claude/channel"])return{action:"skip",kind:"capability",reason:"server did not declare claude/channel capability"};if(!e())return{action:"skip",kind:"disabled",reason:"channels feature is not currently available"};if(!ZJ()?.accessToken)return{action:"skip",kind:"auth",reason:"channels requires claude.ai authentication (run /login)"};let $=$J(),Z=$==="team"||$==="enterprise",X=Z?WJ("policySettings"):void 0;if(Z&&X?.channelsEnabled!==!0)return{action:"skip",kind:"policy",reason:"channels not enabled by org policy (set channelsEnabled: true in managed settings)"};let V=cJ(J,QJ());if(!V)return{action:"skip",kind:"session",reason:`server ${J} not in --channels list for this session`};if(V.kind==="plugin"){let U=W?G(W).marketplace:void 0;if(U!==V.marketplace)return{action:"skip",kind:"marketplace",reason:`you asked for plugin:${V.name}@${V.marketplace} but the installed ${V.name} plugin is from ${U??"an unknown source"}`};if(!V.dev){let{entries:qJ,source:VJ}=pJ($,X?.allowedChannelPlugins);if(!qJ.some((w)=>w.plugin===V.name&&w.marketplace===V.marketplace))return{action:"skip",kind:"allowlist",reason:VJ==="org"?`plugin ${V.name}@${V.marketplace} is not on your org's approved channels list (set allowedChannelPlugins in managed settings)`:`plugin ${V.name}@${V.marketplace} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`}}}else if(!V.dev)return{action:"skip",kind:"allowlist",reason:`server ${V.name} is not on the approved channels allowlist (use --dangerously-load-development-channels for local dev)`};return{action:"register"}}var bQ,uJ="notifications/claude/channel/permission",hQ,iJ;var oJ=B(()=>{s();mJ();yJ();bJ();r();a();jJ();hJ();JJ();bQ=Y(()=>q.object({method:q.literal("notifications/claude/channel"),params:q.object({content:q.string(),meta:q.record(q.string(),q.string()).optional()})})),hQ=Y(()=>q.object({method:q.literal(uJ),params:q.object({request_id:q.string(),behavior:q.enum(["allow","deny"])})})),iJ=/^[a-zA-Z_][a-zA-Z0-9_]*$/});
|
|
4
|
+
export{NQ as Yf,_J as Zf,JJ as _f,bQ as $f,uQ as ag,cJ as bg,iQ as cg,oJ as dg};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import{Gha as L,Kha as O}from"./cli-1.1.4-jscqx4px.mjs";import{Isa as N}from"./cli-1.1.4-xxe2ztwq.mjs";function S(){if(!process.stdin.isTTY||D||process.argv.includes("-p")||process.argv.includes("--print"))return;D=!0,z="";try{process.stdin.setEncoding("utf8"),process.stdin.setRawMode(!0),process.stdin.ref(),F=()=>{let q=process.stdin.read();while(q!==null){if(typeof q==="string")P(q);q=process.stdin.read()}},process.stdin.on("readable",F)}catch{D=!1}}function P(q){let w=0;while(w<q.length){let K=q[w],A=K.charCodeAt(0);if(A===3){J(),process.exit(130);return}if(A===4){J();return}if(A===127||A===8){if(z.length>0){let M=L(z);z=z.slice(0,-(M.length||1))}w++;continue}if(A===27){w++;while(w<q.length&&!(q.charCodeAt(w)>=64&&q.charCodeAt(w)<=126))w++;if(w<q.length)w++;continue}if(A<32&&A!==9&&A!==10&&A!==13){w++;continue}if(A===13){z+=`
|
|
2
|
+
`,w++;continue}z+=K,w++}}function J(){if(!D)return;if(D=!1,F)process.stdin.removeListener("readable",F),F=null}function T(){J();let q=z.trim();return z="",q}function U(){return z.trim().length>0}function V(q){z=q}function W(){return D}var z="",D=!1,F=null;var Q=N(()=>{O()});
|
|
3
|
+
export{S as I1,J as J1,T as K1,U as L1,V as M1,W as N1,Q as O1};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Qga as B,Xea as A,Yga as N,qfa as L}from"./cli-1.1.4-6c3fshef.mjs";import{Cka as K,zka as z}from"./cli-1.1.4-53fvpymg.mjs";import{Hsa as I,Isa as J}from"./cli-1.1.4-xxe2ztwq.mjs";var V={};I(V,{setCliTeammateModeOverride:()=>P,getTeammateModeFromSnapshot:()=>U,getCliTeammateModeOverride:()=>Q,clearCliTeammateModeOverride:()=>R,captureTeammateModeSnapshot:()=>H});function P(x){y=x}function Q(){return y}function R(x){y=null,q=x,z(`[TeammateModeSnapshot] CLI override cleared, new mode: ${x}`)}function H(){if(y)q=y,z(`[TeammateModeSnapshot] Captured from CLI override: ${q}`);else q=A().teammateMode??"auto",z(`[TeammateModeSnapshot] Captured from config: ${q}`)}function U(){if(q===null)B(Error("getTeammateModeFromSnapshot called before capture - this indicates an initialization bug")),H();return q??"auto"}var q=null,y=null;var W=J(()=>{L();K();N()});
|
|
2
|
+
export{P as cV,Q as dV,R as eV,H as fV,U as gV,V as hV,W as iV};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Isa as V}from"./cli-1.1.4-xxe2ztwq.mjs";var k0,b;var T=V(()=>{k0=typeof global=="object"&&global&&global.Object===Object&&global,b=k0});var m0,y0,K;var z=V(()=>{T();m0=typeof self=="object"&&self&&self.Object===Object&&self,y0=b||m0||Function("return this")(),K=y0});var l0,B;var x=V(()=>{z();l0=K.Symbol,B=l0});function c0(q){var Z=v0.call(q,N),Q=q[N];try{q[N]=void 0;var Y=!0}catch(L){}var A=u0.call(q);if(Y)if(Z)q[N]=Q;else delete q[N];return A}var j,v0,u0,N,C;var f=V(()=>{x();j=Object.prototype,v0=j.hasOwnProperty,u0=j.toString,N=B?B.toStringTag:void 0;C=c0});function i0(q){return o0.call(q)}var h0,o0,g;var d=V(()=>{h0=Object.prototype,o0=h0.toString;g=i0});function s0(q){if(q==null)return q===void 0?r0:n0;return p&&p in Object(q)?C(q):g(q)}var n0="[object Null]",r0="[object Undefined]",p,k;var m=V(()=>{x();f();d();p=B?B.toStringTag:void 0;k=s0});function t0(q){var Z=typeof q;return q!=null&&(Z=="object"||Z=="function")}var G;var O=V(()=>{G=t0});function Qq(q){if(!G(q))return!1;var Z=k(q);return Z==e0||Z==qq||Z==a0||Z==Zq}var a0="[object AsyncFunction]",e0="[object Function]",qq="[object GeneratorFunction]",Zq="[object Proxy]",y;var l=V(()=>{m();O();y=Qq});var Vq,I;var v=V(()=>{z();Vq=K["__core-js_shared__"],I=Vq});function Yq(q){return!!u&&u in q}var u,c;var h=V(()=>{v();u=function(){var q=/[^.]+$/.exec(I&&I.keys&&I.keys.IE_PROTO||"");return q?"Symbol(src)_1."+q:""}();c=Yq});function Xq(q){if(q!=null){try{return Wq.call(q)}catch(Z){}try{return q+""}catch(Z){}}return""}var $q,Wq,o;var i=V(()=>{$q=Function.prototype,Wq=$q.toString;o=Xq});function Nq(q){if(!G(q)||c(q))return!1;var Z=y(q)?Lq:Bq;return Z.test(o(q))}var Kq,Bq,Jq,Uq,Eq,Aq,Lq,n;var r=V(()=>{l();h();O();i();Kq=/[\\^$.*+?()[\]{}|]/g,Bq=/^\[object .+?Constructor\]$/,Jq=Function.prototype,Uq=Object.prototype,Eq=Jq.toString,Aq=Uq.hasOwnProperty,Lq=RegExp("^"+Eq.call(Aq).replace(Kq,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");n=Nq});function wq(q,Z){return q==null?void 0:q[Z]}var s;var t=V(()=>{s=wq});function Fq(q,Z){var Q=s(q,Z);return n(Q)?Q:void 0}var D;var R=V(()=>{r();t();D=Fq});var Pq,$;var w=V(()=>{R();Pq=D(Object,"create"),$=Pq});function zq(){this.__data__=$?$(null):{},this.size=0}var a;var e=V(()=>{w();a=zq});function Gq(q){var Z=this.has(q)&&delete this.__data__[q];return this.size-=Z?1:0,Z}var q0;var Z0=V(()=>{q0=Gq});function Oq(q){var Z=this.__data__;if($){var Q=Z[q];return Q===Iq?void 0:Q}return xq.call(Z,q)?Z[q]:void 0}var Iq="__lodash_hash_undefined__",Dq,xq,Q0;var V0=V(()=>{w();Dq=Object.prototype,xq=Dq.hasOwnProperty;Q0=Oq});function Mq(q){var Z=this.__data__;return $?Z[q]!==void 0:Hq.call(Z,q)}var Rq,Hq,Y0;var $0=V(()=>{w();Rq=Object.prototype,Hq=Rq.hasOwnProperty;Y0=Mq});function Sq(q,Z){var Q=this.__data__;return this.size+=this.has(q)?0:1,Q[q]=$&&Z===void 0?_q:Z,this}var _q="__lodash_hash_undefined__",W0;var X0=V(()=>{w();W0=Sq});function J(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var H;var K0=V(()=>{e();Z0();V0();$0();X0();J.prototype.clear=a;J.prototype.delete=q0;J.prototype.get=Q0;J.prototype.has=Y0;J.prototype.set=W0;H=J});function bq(){this.__data__=[],this.size=0}var B0;var J0=V(()=>{B0=bq});function Tq(q,Z){return q===Z||q!==q&&Z!==Z}var U0;var E0=V(()=>{U0=Tq});function jq(q,Z){var Q=q.length;while(Q--)if(U0(q[Q][0],Z))return Q;return-1}var W;var F=V(()=>{E0();W=jq});function gq(q){var Z=this.__data__,Q=W(Z,q);if(Q<0)return!1;var Y=Z.length-1;if(Q==Y)Z.pop();else fq.call(Z,Q,1);return--this.size,!0}var Cq,fq,A0;var L0=V(()=>{F();Cq=Array.prototype,fq=Cq.splice;A0=gq});function dq(q){var Z=this.__data__,Q=W(Z,q);return Q<0?void 0:Z[Q][1]}var N0;var w0=V(()=>{F();N0=dq});function pq(q){return W(this.__data__,q)>-1}var F0;var P0=V(()=>{F();F0=pq});function kq(q,Z){var Q=this.__data__,Y=W(Q,q);if(Y<0)++this.size,Q.push([q,Z]);else Q[Y][1]=Z;return this}var z0;var G0=V(()=>{F();z0=kq});function U(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var I0;var D0=V(()=>{J0();L0();w0();P0();G0();U.prototype.clear=B0;U.prototype.delete=A0;U.prototype.get=N0;U.prototype.has=F0;U.prototype.set=z0;I0=U});var mq,x0;var O0=V(()=>{R();z();mq=D(K,"Map"),x0=mq});function yq(){this.size=0,this.__data__={hash:new H,map:new(x0||I0),string:new H}}var R0;var H0=V(()=>{K0();D0();O0();R0=yq});function lq(q){var Z=typeof q;return Z=="string"||Z=="number"||Z=="symbol"||Z=="boolean"?q!=="__proto__":q===null}var M0;var _0=V(()=>{M0=lq});function vq(q,Z){var Q=q.__data__;return M0(Z)?Q[typeof Z=="string"?"string":"hash"]:Q.map}var X;var P=V(()=>{_0();X=vq});function uq(q){var Z=X(this,q).delete(q);return this.size-=Z?1:0,Z}var S0;var b0=V(()=>{P();S0=uq});function cq(q){return X(this,q).get(q)}var T0;var j0=V(()=>{P();T0=cq});function hq(q){return X(this,q).has(q)}var C0;var f0=V(()=>{P();C0=hq});function oq(q,Z){var Q=X(this,q),Y=Q.size;return Q.set(q,Z),this.size+=Q.size==Y?0:1,this}var g0;var d0=V(()=>{P();g0=oq});function E(q){var Z=-1,Q=q==null?0:q.length;this.clear();while(++Z<Q){var Y=q[Z];this.set(Y[0],Y[1])}}var M;var p0=V(()=>{H0();b0();j0();f0();d0();E.prototype.clear=R0;E.prototype.delete=S0;E.prototype.get=T0;E.prototype.has=C0;E.prototype.set=g0;M=E});function _(q,Z){if(typeof q!="function"||Z!=null&&typeof Z!="function")throw TypeError(iq);var Q=function(){var Y=arguments,A=Z?Z.apply(this,Y):Y[0],L=Q.cache;if(L.has(A))return L.get(A);var S=q.apply(this,Y);return Q.cache=L.set(A,S)||L,S};return Q.cache=new(_.Cache||M),Q}var iq="Expected a function",j6;var nq=V(()=>{p0();_.Cache=M;j6=_});
|
|
2
|
+
export{U0 as _qa,E0 as $qa,I0 as ara,D0 as bra,b as cra,T as dra,K as era,z as fra,B as gra,x as hra,k as ira,m as jra,G as kra,O as lra,y as mra,l as nra,o as ora,i as pra,D as qra,R as rra,x0 as sra,O0 as tra,M as ura,p0 as vra,j6 as wra,nq as xra};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{CG as V,DG as E,xG as U,yG as A}from"./cli-1.1.4-6z69geef.mjs";import{_W as W,gX as G}from"./cli-1.1.4-5dc9c513.mjs";import{H1 as O,a1 as F,c1 as H}from"./cli-1.1.4-nh3sscxn.mjs";import{o4 as q,p4 as K,q4 as L}from"./cli-1.1.4-40z19hth.mjs";import{r4 as I}from"./cli-1.1.4-9ms3b4tc.mjs";import{C8 as Q,a9 as p}from"./cli-1.1.4-fk420f57.mjs";import{Uea as M,Xea as N,qfa as $}from"./cli-1.1.4-6c3fshef.mjs";import{Esa as Z,Isa as _}from"./cli-1.1.4-xxe2ztwq.mjs";function b({onDone:J}){let z=w.useRef(J);z.current=J;let X=w.useCallback(()=>{z.current("dismiss")},[]);w.useEffect(()=>{M((y)=>{if(y.remoteDialogSeen)return y;return{...y,remoteDialogSeen:!0}})},[]);let Y=w.useCallback((y)=>{z.current(y)},[]);return q(V,{title:"Remote Control",children:K(F,{flexDirection:"column",paddingX:2,paddingY:1,children:[K(F,{marginBottom:1,flexDirection:"column",children:[q(H,{children:"Remote Control lets you access this CLI session from the web (claude.ai/code) or the Claude app, so you can pick up where you left off on any device."}),q(H,{children:" "}),q(H,{children:"You can disconnect remote access anytime by running /remote-control again."})]}),q(F,{children:q(U,{options:[{label:"Enable Remote Control for this session",description:"Opens a secure connection to claude.ai.",value:"enable"},{label:"Never mind",description:"You can always enable it later with /remote-control.",value:"dismiss"}],onChange:Y,onCancel:X})})]})})}function d(){if(N().remoteDialogSeen)return!1;if(!W())return!1;if(!Q()?.accessToken)return!1;return!0}var w;var P=_(()=>{G();O();p();$();A();E();L();w=Z(I(),1)});
|
|
2
|
+
export{b as jc,d as kc,P as lc};
|