@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 @@
|
|
|
1
|
+
import{if as a,jf as b,kf as c,lf as d,mf as e}from"./cli-1.1.4-gey397p1.mjs";import"./cli-1.1.4-xxe2ztwq.mjs";e();export{d as REMOTE_CONTROL_DISCONNECTED_MSG,a as DEFAULT_SESSION_TIMEOUT_MS,b as BRIDGE_LOGIN_INSTRUCTION,c as BRIDGE_LOGIN_ERROR};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import{Ui as u,Vi as LJ}from"./cli-1.1.4-tmrxfcjm.mjs";import{FI as E,HI as OJ,II as g,JI as c,KI as i,NI as l,OI as UJ,eo as KJ,fo as IJ,xG as QJ,yG as BJ}from"./cli-1.1.4-6z69geef.mjs";import"./cli-1.1.4-yprszvr2.mjs";import"./cli-1.1.4-z9z0gn83.mjs";import"./cli-1.1.4-hbx9ye2g.mjs";import"./cli-1.1.4-ckmk4b1r.mjs";import"./cli-1.1.4-x6hb06sj.mjs";import"./cli-1.1.4-9x9a885k.mjs";import"./cli-1.1.4-3d01w53d.mjs";import"./cli-1.1.4-6raycx0k.mjs";import"./cli-1.1.4-17x2wrkx.mjs";import"./cli-1.1.4-y94ewbpk.mjs";import"./cli-1.1.4-rh4x4rv5.mjs";import"./cli-1.1.4-4qsk7zj5.mjs";import"./cli-1.1.4-vcg96p1c.mjs";import"./cli-1.1.4-5dc9c513.mjs";import"./cli-1.1.4-shrznr3s.mjs";import"./cli-1.1.4-qjgn7a4a.mjs";import"./cli-1.1.4-aj4f4c5s.mjs";import"./cli-1.1.4-jeyegjk6.mjs";import"./cli-1.1.4-k6ebhyp0.mjs";import"./cli-1.1.4-scm26s6m.mjs";import{DZ as RJ,H1 as _J,a1 as JJ,c1 as S}from"./cli-1.1.4-nh3sscxn.mjs";import"./cli-1.1.4-wx5t4xvj.mjs";import"./cli-1.1.4-3zzdhas7.mjs";import"./cli-1.1.4-m3gsmnfa.mjs";import"./cli-1.1.4-6c5tryej.mjs";import"./cli-1.1.4-6h6yt6jp.mjs";import"./cli-1.1.4-hdwdbbzk.mjs";import"./cli-1.1.4-cknrfh5p.mjs";import"./cli-1.1.4-je9x0pvr.mjs";import"./cli-1.1.4-0smy947g.mjs";import"./cli-1.1.4-ss2jxen1.mjs";import"./cli-1.1.4-p7tcq8ah.mjs";import{o4 as V,p4 as e,q4 as R}from"./cli-1.1.4-40z19hth.mjs";import{r4 as wJ}from"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-w4b4vhj9.mjs";import"./cli-1.1.4-v67jx2fw.mjs";import{F4 as C,H4 as D,M4 as PJ}from"./cli-1.1.4-g6nryz17.mjs";import"./cli-1.1.4-my1g33fn.mjs";import{H8 as k,P8 as m,R8 as b,a9 as v}from"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import{q_ as d,u_ as VJ}from"./cli-1.1.4-cwnt4by7.mjs";import{B$ as h,S$ as AJ,U_ as I,W_ as yJ,u$ as B}from"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import{Yha as $,iia as TJ}from"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import{uja as f,vja as HJ}from"./cli-1.1.4-m312ygm6.mjs";import{wja as F,zja as qJ}from"./cli-1.1.4-te2372tc.mjs";import{Cka as FJ,zka as N}from"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import{Tra as j,jsa as WJ}from"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import{Esa as t,Isa as w}from"./cli-1.1.4-xxe2ztwq.mjs";async function p(){if(!k())return null;try{let{accessToken:Q,orgUUID:J}=await C();return(await j.get(`${f().BASE_API_URL}/v1/ultrareview/quota`,{headers:{...D(Q),"x-organization-uuid":J},timeout:5000})).data}catch(Q){return N(`fetchUltrareviewQuota failed: ${Q}`),null}}var x=w(()=>{WJ();HJ();v();FJ();PJ()});function s(){r=!0}async function o(){if(m()||b())return{kind:"proceed",billingNote:""};let[Q,J]=await Promise.all([p(),u().catch(()=>null)]);if(!Q)return{kind:"proceed",billingNote:""};if(Q.reviews_remaining>0)return{kind:"proceed",billingNote:` This is free ultrareview ${Q.reviews_used+1} of ${Q.reviews_limit}.`};if(!J)return{kind:"proceed",billingNote:""};let Z=J.extra_usage;if(!Z?.is_enabled)return F("tengu_review_overage_not_enabled",{}),{kind:"not-enabled"};let X=Z.monthly_limit,z=Z.used_credits??0,G=X===null||X===void 0?1/0:X-z;if(G<10)return F("tengu_review_overage_low_balance",{available:G}),{kind:"low-balance",available:G};if(!r)return F("tengu_review_overage_dialog_shown",{}),{kind:"needs-confirm"};return{kind:"proceed",billingNote:" This review bills as Extra Usage."}}async function a(Q,J,Z){let X=await g();if(!X.eligible){let K=X.errors.filter((Y)=>Y.type!=="no_remote_environment");if(K.length>0)return F("tengu_review_remote_precondition_failed",{precondition_errors:K.map((q)=>q.type).join(",")}),[{type:"text",text:`Ultrareview cannot launch:
|
|
2
|
+
${K.map(c).join(`
|
|
3
|
+
`)}`}]}let z=Z??"",G=Q.trim(),A=/^\d+$/.test(G),O="env_011111111111111111111113",H=$("tengu_review_bughunter_config",null),W=(K,Y,q)=>{if(typeof K!=="number"||!Number.isFinite(K))return Y;let y=Math.floor(K);if(y<=0)return Y;return q!==void 0&&y>q?Y:y},T={BUGHUNTER_DRY_RUN:"1",BUGHUNTER_FLEET_SIZE:String(W(H?.fleet_size,5,20)),BUGHUNTER_MAX_DURATION:String(W(H?.max_duration_minutes,10,25)),BUGHUNTER_AGENT_TIMEOUT:String(W(H?.agent_timeout_seconds,600,1800)),BUGHUNTER_TOTAL_WALLCLOCK:String(W(H?.total_wallclock_minutes,22,27)),...process.env.BUGHUNTER_DEV_BUNDLE_B64&&{BUGHUNTER_DEV_BUNDLE_B64:process.env.BUGHUNTER_DEV_BUNDLE_B64}},M,P,U;if(A){let K=await d();if(!K||K.host!=="github.com")return F("tengu_review_remote_precondition_failed",{}),null;M=await E({initialMessage:null,description:`ultrareview: ${K.owner}/${K.name}#${G}`,signal:J.abortController.signal,branchName:`refs/pull/${G}/head`,environmentId:O,environmentVariables:{BUGHUNTER_PR_NUMBER:G,BUGHUNTER_REPOSITORY:`${K.owner}/${K.name}`,...T}}),P=`/ultrareview ${G}`,U=`${K.owner}/${K.name}#${G}`}else{let K=await h()||"main",{stdout:Y,code:q}=await I(B(),["merge-base",K,"HEAD"],{preserveOutputOnError:!1}),y=Y.trim();if(q!==0||!y)return F("tengu_review_remote_precondition_failed",{}),[{type:"text",text:`Could not find merge-base with ${K}. Make sure you're in a git repo with a ${K} branch.`}];let{stdout:YJ,code:zJ}=await I(B(),["diff","--shortstat",y],{preserveOutputOnError:!1});if(zJ===0&&!YJ.trim())return F("tengu_review_remote_precondition_failed",{}),[{type:"text",text:`No changes against the ${K} fork point. Make some commits or stage files first.`}];if(M=await E({initialMessage:null,description:`ultrareview: ${K}`,signal:J.abortController.signal,useBundle:!0,environmentId:O,environmentVariables:{BUGHUNTER_BASE_BRANCH:y,...T}}),!M)return F("tengu_review_remote_teleport_failed",{}),[{type:"text",text:"Repo is too large. Push a PR and use `/ultrareview <PR#>` instead."}];P="/ultrareview",U=K}if(!M)return F("tengu_review_remote_teleport_failed",{}),null;i({remoteTaskType:"ultrareview",session:M,command:P,context:J,isRemoteReview:!0}),F("tengu_review_remote_launched",{});let L=l(M.id);return[{type:"text",text:`Ultrareview launched for ${U} (~10–20 min, runs in the cloud). Track: ${L}${z} Findings arrive via task-notification. Briefly acknowledge the launch to the user without repeating the target or URL — both are already visible in the tool output above.`}]}var r=!1;var n=w(()=>{TJ();qJ();x();LJ();UJ();v();VJ();yJ();AJ();OJ()});function ZJ(Q){let J=XJ.c(15),{onProceed:Z,onCancel:X}=Q,[z,G]=_.useState(!1),A;if(J[0]===Symbol.for("react.memo_cache_sentinel"))A=new AbortController,J[0]=A;else A=J[0];let O=_.useRef(A),H;if(J[1]!==X||J[2]!==Z)H=(q)=>{if(q==="proceed")G(!0),Z(O.current.signal).catch(()=>G(!1));else X()},J[1]=X,J[2]=Z,J[3]=H;else H=J[3];let W=H,T;if(J[4]!==X)T=()=>{O.current.abort(),X()},J[4]=X,J[5]=T;else T=J[5];let M=T,P;if(J[6]===Symbol.for("react.memo_cache_sentinel"))P=[{label:"Proceed with Extra Usage billing",value:"proceed"},{label:"Cancel",value:"cancel"}],J[6]=P;else P=J[6];let U=P,L;if(J[7]===Symbol.for("react.memo_cache_sentinel"))L=V(S,{children:"Your free ultrareviews for this organization are used. Further reviews bill as Extra Usage (pay-per-use)."}),J[7]=L;else L=J[7];let K;if(J[8]!==M||J[9]!==W||J[10]!==z)K=e(JJ,{flexDirection:"column",gap:1,children:[L,z?V(S,{color:"background",children:"Launching…"}):V(QJ,{options:U,onChange:W,onCancel:M})]}),J[8]=M,J[9]=W,J[10]=z,J[11]=K;else K=J[11];let Y;if(J[12]!==M||J[13]!==K)Y=V(KJ,{title:"Ultrareview billing",onCancel:M,color:"background",children:K}),J[12]=M,J[13]=K,J[14]=Y;else Y=J[14];return Y}var XJ,_;var GJ=w(()=>{BJ();IJ();_J();R();XJ=t(RJ(),1),_=t(wJ(),1)});function EJ(Q){return Q.map((J)=>J.type==="text"?J.text:"").filter(Boolean).join(`
|
|
4
|
+
`)}async function MJ(Q,J,Z,X,z){let G=await a(Q,J,X);if(z?.aborted)return;if(G)Z(EJ(G),{shouldQuery:!0});else Z("Ultrareview failed to launch the remote session. Check that this is a GitHub repo and try again.",{display:"system"})}var JK=async(Q,J,Z)=>{let X=await o();if(X.kind==="not-enabled")return Q("Free ultrareviews used. Enable Extra Usage at https://claude.ai/settings/billing to continue.",{display:"system"}),null;if(X.kind==="low-balance")return Q(`Balance too low to launch ultrareview ($${X.available.toFixed(2)} available, $10 minimum). Top up at https://claude.ai/settings/billing`,{display:"system"}),null;if(X.kind==="needs-confirm")return V(ZJ,{onProceed:async(z)=>{if(await MJ(Z,J,Q," This review bills as Extra Usage.",z),!z.aborted)s()},onCancel:()=>Q("Ultrareview cancelled.",{display:"system"})});return await MJ(Z,J,Q,X.billingNote),null};var SJ=w(()=>{n();GJ();R()});SJ();export{JK as call};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import{$G as F,LS as Y,NS as Aq,WG as f,XG as t,aH as e,gH as k,jH as L,mH as qq}from"./cli-1.1.4-6z69geef.mjs";import"./cli-1.1.4-yprszvr2.mjs";import{DU as D,KU as B,PU as E,QU as o,qU as O,rU as b,uU as l}from"./cli-1.1.4-z9z0gn83.mjs";import"./cli-1.1.4-hbx9ye2g.mjs";import"./cli-1.1.4-ckmk4b1r.mjs";import"./cli-1.1.4-x6hb06sj.mjs";import"./cli-1.1.4-9x9a885k.mjs";import"./cli-1.1.4-3d01w53d.mjs";import"./cli-1.1.4-6raycx0k.mjs";import"./cli-1.1.4-17x2wrkx.mjs";import"./cli-1.1.4-y94ewbpk.mjs";import"./cli-1.1.4-rh4x4rv5.mjs";import"./cli-1.1.4-4qsk7zj5.mjs";import"./cli-1.1.4-vcg96p1c.mjs";import"./cli-1.1.4-5dc9c513.mjs";import"./cli-1.1.4-shrznr3s.mjs";import"./cli-1.1.4-qjgn7a4a.mjs";import"./cli-1.1.4-aj4f4c5s.mjs";import"./cli-1.1.4-jeyegjk6.mjs";import"./cli-1.1.4-k6ebhyp0.mjs";import"./cli-1.1.4-scm26s6m.mjs";import{$0 as d,f1 as h}from"./cli-1.1.4-nh3sscxn.mjs";import"./cli-1.1.4-wx5t4xvj.mjs";import"./cli-1.1.4-3zzdhas7.mjs";import{B2 as v,E2 as i}from"./cli-1.1.4-m3gsmnfa.mjs";import"./cli-1.1.4-6c5tryej.mjs";import"./cli-1.1.4-6h6yt6jp.mjs";import"./cli-1.1.4-hdwdbbzk.mjs";import"./cli-1.1.4-cknrfh5p.mjs";import"./cli-1.1.4-je9x0pvr.mjs";import"./cli-1.1.4-0smy947g.mjs";import"./cli-1.1.4-ss2jxen1.mjs";import"./cli-1.1.4-p7tcq8ah.mjs";import"./cli-1.1.4-40z19hth.mjs";import"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-w4b4vhj9.mjs";import"./cli-1.1.4-v67jx2fw.mjs";import"./cli-1.1.4-g6nryz17.mjs";import"./cli-1.1.4-my1g33fn.mjs";import"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import{w9 as X,x9 as r}from"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import"./cli-1.1.4-cwnt4by7.mjs";import{U_ as P,Uea as y,W_ as S,Wda as M,Xea as j,Yga as w,eea as g,qfa as a}from"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import{wja as x,zja as n}from"./cli-1.1.4-te2372tc.mjs";import{Cka as N,zka as J}from"./cli-1.1.4-53fvpymg.mjs";import{Eka as q,Ika as s}from"./cli-1.1.4-4cg8jz3d.mjs";import{ela as T}from"./cli-1.1.4-hzx821eq.mjs";import{hla as U,ula as m}from"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import"./cli-1.1.4-xxe2ztwq.mjs";r();n();o();import{homedir as u}from"os";import{dirname as _q,join as z}from"path";d();h();N();m();T();S();w();function c(){let K=process.env.SHELL||"",Q=u(),_=U();if(K.endsWith("/zsh")||K.endsWith("/zsh.exe")){let Z=z(_,"completion.zsh");return{name:"zsh",rcFile:z(Q,".zshrc"),cacheFile:Z,completionLine:`[[ -f "${Z}" ]] && source "${Z}"`,shellFlag:"zsh"}}if(K.endsWith("/bash")||K.endsWith("/bash.exe")){let Z=z(_,"completion.bash");return{name:"bash",rcFile:z(Q,".bashrc"),cacheFile:Z,completionLine:`[ -f "${Z}" ] && source "${Z}"`,shellFlag:"bash"}}if(K.endsWith("/fish")||K.endsWith("/fish.exe")){let Z=process.env.XDG_CONFIG_HOME||z(Q,".config"),G=z(_,"completion.fish");return{name:"fish",rcFile:z(Z,"fish","config.fish"),cacheFile:G,completionLine:`[ -f "${G}" ] && source "${G}"`,shellFlag:"fish"}}return null}async function V(){let K=c();if(!K)return;J(`update: Regenerating ${K.name} completion cache`);let Q=process.argv[1]||"claude";if((await P(Q,["completion",K.shellFlag,"--output",K.cacheFile],{timeout:5000,preserveOutputOnError:!0,useCwd:!0,stdin:"ignore"})).code!==0){J(`update: Failed to regenerate ${K.name} completion cache`);return}J(`update: Regenerated ${K.name} completion cache at ${K.cacheFile}`)}a();N();e();Aq();l();qq();t();s();i();g();async function Fq(){x("tengu_update_check",{}),q(`Current version: 1.1.4
|
|
2
|
+
`);let K=M()?.autoUpdatesChannel??"latest";q(`Checking for updates to ${K} version...
|
|
3
|
+
`),J("update: Starting update check"),J("update: Running diagnostic");let Q=await F();J(`update: Installation type: ${Q.installationType}`),J(`update: Config install method: ${Q.configInstallMethod}`);for(let A of Q.multipleInstallations)J(`update: installation ${A.type} at ${A.path}`);for(let A of Q.warnings)J(`update: warning detected: ${A.issue}`);try{if(await D())q(`
|
|
4
|
+
`),q(X.green("Repaired the native launcher (Bun had skipped the postinstall step).")+`
|
|
5
|
+
`)}catch(A){J(`update: Bun launcher repair check failed: ${String(A)}`)}let _=j();if(!_.installMethod&&Q.installationType!=="package-manager"){let A="unknown";switch(Q.installationType){case"npm-local":A="local";break;case"native":A="native";break;case"npm-global":A="global";break;default:A="unknown"}y((W)=>({...W,installMethod:A})),J(`update: installation method set to: ${A}`)}if(Q.installationType==="development")q(`
|
|
6
|
+
`),q(X.yellow("You are running a development build — auto-update is unavailable.")+`
|
|
7
|
+
`),q(`To update, pull the latest source and rebuild:
|
|
8
|
+
`),q(X.bold(" git pull && bun install && bun run build")+`
|
|
9
|
+
`),q(`
|
|
10
|
+
`),q(`Or reinstall from npm:
|
|
11
|
+
`),q(X.bold(" npm install -g @claudiolabs/claudin@latest")+`
|
|
12
|
+
`),await Y(0);if(Q.installationType==="package-manager"){let A=await f();if(q(`
|
|
13
|
+
`),A==="homebrew"){q(`Claude is managed by Homebrew.
|
|
14
|
+
`);let W=await B(K);if(W&&!v("1.1.4",W))q(`Update available: ${"1.1.4"} → ${W}
|
|
15
|
+
`),q(`
|
|
16
|
+
`),q(`To update, run:
|
|
17
|
+
`),q(X.bold(" brew upgrade claude-code")+`
|
|
18
|
+
`);else q(`Claude is up to date!
|
|
19
|
+
`)}else if(A==="winget"){q(`Claude is managed by winget.
|
|
20
|
+
`);let W=await B(K);if(W&&!v("1.1.4",W))q(`Update available: ${"1.1.4"} → ${W}
|
|
21
|
+
`),q(`
|
|
22
|
+
`),q(`To update, run:
|
|
23
|
+
`),q(X.bold(" winget upgrade Anthropic.ClaudeCode")+`
|
|
24
|
+
`);else q(`Claude is up to date!
|
|
25
|
+
`)}else if(A==="apk"){q(`Claude is managed by apk.
|
|
26
|
+
`);let W=await B(K);if(W&&!v("1.1.4",W))q(`Update available: ${"1.1.4"} → ${W}
|
|
27
|
+
`),q(`
|
|
28
|
+
`),q(`To update, run:
|
|
29
|
+
`),q(X.bold(" apk upgrade claude-code")+`
|
|
30
|
+
`);else q(`Claude is up to date!
|
|
31
|
+
`)}else q(`Claude is managed by a package manager.
|
|
32
|
+
`),q(`Please use your package manager to update.
|
|
33
|
+
`);await Y(0)}if(_.installMethod&&Q.configInstallMethod!=="not set"&&Q.installationType!=="package-manager"){let{installationType:A,configInstallMethod:W}=Q,C={"npm-local":"local","npm-global":"global",native:"native",development:"development",unknown:"unknown"}[A]||A;if(C!==W&&W!=="unknown")y((p)=>({...p,installMethod:C})),J(`update: config expected ${W}, running ${A} — config updated`)}if(Q.installationType==="native"){J("update: Detected native installation, using native updater");try{let A=await k(K,!0);if(A.lockFailed){let W=A.lockHolderPid?` (PID ${A.lockHolderPid})`:"";q(X.yellow(`Another Claude process${W} is currently running. Please try again in a moment.`)+`
|
|
34
|
+
`),await Y(0)}if(!A.latestVersion)process.stderr.write(`Failed to check for updates
|
|
35
|
+
`),await Y(1);if(A.latestVersion==="1.1.4")q(X.green("Claudin is up to date (1.1.4)")+`
|
|
36
|
+
`);else q(X.green(`Successfully updated from 1.1.4 to version ${A.latestVersion}`)+`
|
|
37
|
+
`),await V();await Y(0)}catch(A){process.stderr.write(`Error: Failed to install native update
|
|
38
|
+
`),process.stderr.write(String(A)+`
|
|
39
|
+
`),process.stderr.write(`Try running "claude doctor" for diagnostics
|
|
40
|
+
`),await Y(1)}}if(_.installMethod!=="native")await L();J("update: Checking npm registry for latest version"),J("update: Package URL: @claudiolabs/claudin"),J(`update: Running: ${`npm view @claudiolabs/claudin@${K==="stable"?"stable":"latest"} version`}`);let R=await B(K);if(J(`update: Latest version from npm: ${R||"FAILED"}`),!R){if(J("update: Failed to get latest version from npm registry"),process.stderr.write(X.red("Failed to check for updates")+`
|
|
41
|
+
`),process.stderr.write(`Unable to fetch latest version from npm registry
|
|
42
|
+
`),process.stderr.write(`
|
|
43
|
+
`),process.stderr.write(`Possible causes:
|
|
44
|
+
`),process.stderr.write(` • Network connectivity issues
|
|
45
|
+
`),process.stderr.write(` • npm registry is unreachable
|
|
46
|
+
`),process.stderr.write(` • Corporate proxy/firewall blocking npm
|
|
47
|
+
`),!"@claudiolabs/claudin".startsWith("@anthropic"))process.stderr.write(` • Internal/development build not published to npm
|
|
48
|
+
`);process.stderr.write(`
|
|
49
|
+
`),process.stderr.write(`Try:
|
|
50
|
+
`),process.stderr.write(` • Check your internet connection
|
|
51
|
+
`),process.stderr.write(` • Run with --debug flag for more details
|
|
52
|
+
`);let A="@claudiolabs/claudin";process.stderr.write(` • Manually check: npm view ${A} version
|
|
53
|
+
`),process.stderr.write(` • Check if you need to login: npm whoami
|
|
54
|
+
`),await Y(1)}if(R==="1.1.4")q(X.green("Claudin is up to date (1.1.4)")+`
|
|
55
|
+
`),await Y(0);q(`New version available: ${R} (current: 1.1.4)
|
|
56
|
+
`),q(`Installing update...
|
|
57
|
+
`);let $=!1,H="";switch(Q.installationType){case"npm-local":$=!0,H="local";break;case"npm-global":$=!1,H="global";break;case"unknown":{let A=await b();$=A,H=A?"local":"global",J(`update: installation type undetermined, attempting ${H} update from file detection`);break}default:process.stderr.write(`Error: Cannot update ${Q.installationType} installation
|
|
58
|
+
`),await Y(1)}q(`Using ${H} installation update method...
|
|
59
|
+
`),J(`update: Update method determined: ${H}`),J(`update: useLocalUpdate: ${$}`);let I;if($)J("update: Calling installOrUpdateClaudePackage() for local update"),I=await O(K);else J("update: Calling installGlobalPackage() for global update"),I=await E(null,{onProgress:(A)=>q(`${A}
|
|
60
|
+
`)});switch(J(`update: Installation status: ${I}`),I){case"success":q(X.green(`Successfully updated from 1.1.4 to version ${R}`)+`
|
|
61
|
+
`),await V();break;case"no_permissions":if(process.stderr.write(`Error: Insufficient permissions to install update
|
|
62
|
+
`),$)process.stderr.write(`Try manually updating with:
|
|
63
|
+
`),process.stderr.write(` cd ~/.claudin/local && npm update @claudiolabs/claudin
|
|
64
|
+
`);else process.stderr.write(`Try running with sudo or fix npm permissions
|
|
65
|
+
`),process.stderr.write(`Or consider using native installation with: claudin install
|
|
66
|
+
`);await Y(1);break;case"install_failed":if(process.stderr.write(`Error: Failed to install update
|
|
67
|
+
`),$)process.stderr.write(`Try manually updating with:
|
|
68
|
+
`),process.stderr.write(` cd ~/.claudin/local && npm update @claudiolabs/claudin
|
|
69
|
+
`);else process.stderr.write(`Or consider using native installation with: claudin install
|
|
70
|
+
`);await Y(1);break;case"in_progress":process.stderr.write(`Error: Another instance is currently performing an update
|
|
71
|
+
`),process.stderr.write(`Please wait and try again later
|
|
72
|
+
`),await Y(1);break}await Y(0)}export{Fq as update};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{hc as a,ic as b}from"./cli-1.1.4-edegax48.mjs";import"./cli-1.1.4-ekbns70t.mjs";import"./cli-1.1.4-40z19hth.mjs";import"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-my1g33fn.mjs";import"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import"./cli-1.1.4-xxe2ztwq.mjs";b();export{a as call};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{vi as Y,wi as j,yi as _}from"./cli-1.1.4-wqxnhcfg.mjs";import"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import{Bga as X,Ega as U}from"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import{Bia as V,Dia as O,Eia as I,Fia as S}from"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import{uja as k,vja as M}from"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import{Cka as A,cka as R,hka as x,zka as F}from"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import{Tra as L,jsa as T}from"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import{Isa as v}from"./cli-1.1.4-xxe2ztwq.mjs";import{randomUUID as B}from"crypto";import{readFile as z}from"fs/promises";import{basename as y,extname as c}from"path";function p(q){let J=c(q).toLowerCase();return m[J]??"application/octet-stream"}function K(q){F(`[brief:upload] ${q}`)}function h(){let q=X(),J=q?.transport==="anthropic"?q.baseUrl:void 0;return Y()??J??k().BASE_API_URL}async function qq(q,J,W){{if(!W.replBridgeEnabled)return;if(J>G){K(`skip ${q}: ${J} bytes exceeds ${G} limit`);return}let Z=j();if(!Z){K("skip: no oauth token");return}let $;try{$=await z(q)}catch(H){K(`read failed for ${q}: ${H}`);return}let D=`${h()}/api/oauth/file_upload`,w=y(q),E=p(w),Q=`----FormBoundary${B()}`,C=Buffer.concat([Buffer.from(`--${Q}\r
|
|
2
|
+
Content-Disposition: form-data; name="file"; filename="${w}"\r
|
|
3
|
+
Content-Type: ${E}\r
|
|
4
|
+
\r
|
|
5
|
+
`),$,Buffer.from(`\r
|
|
6
|
+
--${Q}--\r
|
|
7
|
+
`)]);try{let H=await L.post(D,C,{headers:{Authorization:`Bearer ${Z}`,"Content-Type":`multipart/form-data; boundary=${Q}`,"Content-Length":C.length.toString()},timeout:b,signal:W.signal,validateStatus:()=>!0});if(H.status!==201){K(`upload failed for ${q}: status=${H.status} body=${R(H.data).slice(0,200)}`);return}let N=P().safeParse(H.data);if(!N.success){K(`unexpected response shape for ${q}: ${N.error.message}`);return}return K(`uploaded ${q} → ${N.data.file_uuid} (${J} bytes)`),N.data.file_uuid}catch(H){K(`upload threw for ${q}: ${H}`);return}}return}var G=31457280,b=30000,m,P;var g=v(()=>{T();O();_();M();U();A();S();x();m={".png":"image/png",".jpg":"image/jpeg",".jpeg":"image/jpeg",".gif":"image/gif",".webp":"image/webp"};P=I(()=>V.object({file_uuid:V.string()}))});g();export{qq as uploadBriefAttachment};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import{e9 as I,h9 as f,o9 as E,p9 as _,u9 as v}from"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import{Bga as H,Ega as d}from"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import{Cja as P,Cka as N,Eja as i,zka as M}from"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import{$ka as S,ela as c}from"./cli-1.1.4-hzx821eq.mjs";import{kla as W,ula as u}from"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import{Jsa as L}from"./cli-1.1.4-xxe2ztwq.mjs";d();i();N();u();c();import{mkdir as l,readFile as C,unlink as n,writeFile as r}from"fs/promises";import{homedir as o}from"os";import{join as U}from"path";N();f();v();import{createServer as y}from"node:net";var R,m=524288,b=30000;function O(q){let z=q.length,Q=[],J=z;while(J>127)Q.push(J&127|128),J>>>=7;Q.push(J);let Z=new Uint8Array(1+Q.length+z);return Z[0]=10,Z.set(Q,1),Z.set(q,1+Q.length),Z}function w(q){if(q.length===0)return new Uint8Array(0);if(q[0]!==10)return null;let z=0,Q=0,J=1;while(J<q.length){let Z=q[J];if(z|=(Z&127)<<Q,J++,(Z&128)===0)break;if(Q+=7,Q>28)return null}if(J+z>q.length)return null;return q.subarray(J,J+z)}function j(){return{connectBuf:Buffer.alloc(0),pending:[],wsOpen:!1,established:!1,closed:!1}}async function A(q){let z="Basic "+Buffer.from(`${q.sessionId}:${q.token}`).toString("base64"),Q=`Bearer ${q.token}`,J=typeof Bun<"u"?h(q.wsUrl,z,Q):await p(q.wsUrl,z,Q);return M(`[upstreamproxy] relay listening on 127.0.0.1:${J.port}`),J}function h(q,z,Q){let J=Bun.listen({hostname:"127.0.0.1",port:0,socket:{open(Z){Z.data={...j(),writeBuf:[]}},data(Z,G){let V=Z.data;T({write:($)=>{let Y=typeof $==="string"?Buffer.from($,"utf8"):$;if(V.writeBuf.length>0){V.writeBuf.push(Y);return}let x=Z.write(Y);if(x<Y.length)V.writeBuf.push(Y.subarray(x))},end:()=>Z.end()},V,G,q,z,Q)},drain(Z){let G=Z.data;while(G.writeBuf.length>0){let V=G.writeBuf[0],K=Z.write(V);if(K<V.length){G.writeBuf[0]=V.subarray(K);return}G.writeBuf.shift()}},close(Z){B(Z.data)},error(Z,G){M(`[upstreamproxy] client socket error: ${G.message}`),B(Z.data)}}});return{port:J.port,stop:()=>J.stop(!0)}}async function p(q,z,Q){R=(await import("./wrapper-1.1.4-y14g4zah.mjs")).default;let J=new WeakMap,Z=y((G)=>{let V=j();J.set(G,V);let K={write:($)=>{G.write(typeof $==="string"?$:Buffer.from($))},end:()=>G.end()};G.on("data",($)=>T(K,V,$,q,z,Q)),G.on("close",()=>B(J.get(G))),G.on("error",($)=>{M(`[upstreamproxy] client socket error: ${$.message}`),B(J.get(G))})});return new Promise((G,V)=>{Z.once("error",V),Z.listen(0,"127.0.0.1",()=>{let K=Z.address();if(K===null||typeof K==="string"){V(Error("upstreamproxy: server has no TCP address"));return}G({port:K.port,stop:()=>Z.close()})})})}function T(q,z,Q,J,Z,G){if(!z.ws){z.connectBuf=Buffer.concat([z.connectBuf,Q]);let V=z.connectBuf.indexOf(`\r
|
|
2
|
+
\r
|
|
3
|
+
`);if(V===-1){if(z.connectBuf.length>8192)q.write(`HTTP/1.1 400 Bad Request\r
|
|
4
|
+
\r
|
|
5
|
+
`),q.end();return}let $=z.connectBuf.subarray(0,V).toString("utf8").split(`\r
|
|
6
|
+
`)[0]??"";if(!$.match(/^CONNECT\s+(\S+)\s+HTTP\/1\.[01]$/i)){q.write(`HTTP/1.1 405 Method Not Allowed\r
|
|
7
|
+
\r
|
|
8
|
+
`),q.end();return}let x=z.connectBuf.subarray(V+4);if(x.length>0)z.pending.push(Buffer.from(x));z.connectBuf=Buffer.alloc(0),k(q,z,$,J,Z,G);return}if(!z.wsOpen){z.pending.push(Buffer.from(Q));return}F(z.ws,Q)}function k(q,z,Q,J,Z,G){let V={"Content-Type":"application/proto",Authorization:G},K;if(R)K=new R(J,{headers:V,agent:E(J),...I()});else K=new globalThis.WebSocket(J,{headers:V,proxy:_(J),tls:I()||void 0});K.binaryType="arraybuffer",z.ws=K,K.onopen=()=>{let $=`${Q}\r
|
|
9
|
+
Proxy-Authorization: ${Z}\r
|
|
10
|
+
\r
|
|
11
|
+
`;K.send(O(Buffer.from($,"utf8"))),z.wsOpen=!0;for(let Y of z.pending)F(K,Y);z.pending=[],z.pinger=setInterval(g,b,K)},K.onmessage=($)=>{let Y=$.data instanceof ArrayBuffer?new Uint8Array($.data):new Uint8Array(Buffer.from($.data)),x=w(Y);if(x&&x.length>0)z.established=!0,q.write(x)},K.onerror=($)=>{let Y="message"in $?String($.message):"websocket error";if(M(`[upstreamproxy] ws error: ${Y}`),z.closed)return;if(z.closed=!0,!z.established)q.write(`HTTP/1.1 502 Bad Gateway\r
|
|
12
|
+
\r
|
|
13
|
+
`);q.end(),B(z)},K.onclose=()=>{if(z.closed)return;z.closed=!0,q.end(),B(z)}}function g(q){if(q.readyState===WebSocket.OPEN)q.send(O(new Uint8Array(0)))}function F(q,z){if(q.readyState!==WebSocket.OPEN)return;for(let Q=0;Q<z.length;Q+=m){let J=z.subarray(Q,Q+m);q.send(O(J))}}function B(q){if(!q)return;if(q.pinger)clearInterval(q.pinger);if(q.ws&&q.ws.readyState<=WebSocket.OPEN)try{q.ws.close()}catch{}q.ws=void 0}var a="/run/ccr/session_token",e="/etc/ssl/certs/ca-certificates.crt",D=["localhost","127.0.0.1","::1","169.254.0.0/16","10.0.0.0/8","172.16.0.0/12","192.168.0.0/16","anthropic.com",".anthropic.com","*.anthropic.com","github.com","api.github.com","*.github.com","*.githubusercontent.com","registry.npmjs.org","pypi.org","files.pythonhosted.org","index.crates.io","proxy.golang.org"].join(","),X={enabled:!1};async function Oq(q){if(!W(process.env.CLAUDE_CODE_REMOTE))return X;if(!W(process.env.CCR_UPSTREAM_PROXY_ENABLED))return X;let z=process.env.CLAUDE_CODE_REMOTE_SESSION_ID;if(!z)return M("[upstreamproxy] CLAUDE_CODE_REMOTE_SESSION_ID unset; proxy disabled",{level:"warn"}),X;let Q=q?.tokenPath??a,J=await s(Q);if(!J)return M("[upstreamproxy] no session token file; proxy disabled"),X;qq();let Z=H(),G=q?.ccrBaseUrl??(Z?.transport==="anthropic"?Z.baseUrl:void 0)??"https://api.anthropic.com",V=q?.caBundlePath??U(o(),".ccr","ca-bundle.crt");if(!await zq(G,q?.systemCaPath??e,V))return X;try{let $=G.replace(/^http/,"ws")+"/v1/code/upstreamproxy/ws",Y=await A({wsUrl:$,sessionId:z,token:J});P(async()=>Y.stop()),X={enabled:!0,port:Y.port,caBundlePath:V},M(`[upstreamproxy] enabled on 127.0.0.1:${Y.port}`),await n(Q).catch(()=>{M("[upstreamproxy] token file unlink failed",{level:"warn"})})}catch($){M(`[upstreamproxy] relay start failed: ${$ instanceof Error?$.message:String($)}; proxy disabled`,{level:"warn"})}return X}function Wq(){if(!X.enabled||!X.port||!X.caBundlePath){if(process.env.HTTPS_PROXY&&process.env.SSL_CERT_FILE){let z={};for(let Q of["HTTPS_PROXY","https_proxy","NO_PROXY","no_proxy","SSL_CERT_FILE","NODE_EXTRA_CA_CERTS","REQUESTS_CA_BUNDLE","CURL_CA_BUNDLE"])if(process.env[Q])z[Q]=process.env[Q];return z}return{}}let q=`http://127.0.0.1:${X.port}`;return{HTTPS_PROXY:q,https_proxy:q,NO_PROXY:D,no_proxy:D,SSL_CERT_FILE:X.caBundlePath,NODE_EXTRA_CA_CERTS:X.caBundlePath,REQUESTS_CA_BUNDLE:X.caBundlePath,CURL_CA_BUNDLE:X.caBundlePath}}function mq(){X={enabled:!1}}function t(q){if(!q||!q.trim())return!1;return/-----BEGIN CERTIFICATE-----[\s\S]+?-----END CERTIFICATE-----/g.test(q)}async function s(q){try{return(await C(q,"utf8")).trim()||null}catch(z){if(S(z))return null;return M(`[upstreamproxy] token read failed: ${z instanceof Error?z.message:String(z)}`,{level:"warn"}),null}}function qq(){if(process.platform!=="linux"||typeof Bun>"u")return;try{let z=L("bun:ffi").dlopen("libc.so.6",{prctl:{args:["int","u64","u64","u64","u64"],returns:"int"}}),Q=4;if(z.symbols.prctl(4,0n,0n,0n,0n)!==0)M("[upstreamproxy] prctl(PR_SET_DUMPABLE,0) returned nonzero",{level:"warn"})}catch(q){M(`[upstreamproxy] prctl unavailable: ${q instanceof Error?q.message:String(q)}`,{level:"warn"})}}async function zq(q,z,Q){try{let J=await fetch(`${q}/v1/code/upstreamproxy/ca-cert`,{signal:AbortSignal.timeout(5000)});if(!J.ok)return M(`[upstreamproxy] ca-cert fetch ${J.status}; proxy disabled`,{level:"warn"}),!1;let Z=await J.text();if(!t(Z))return M("[upstreamproxy] ca-cert response is not valid PEM; proxy disabled",{level:"warn"}),!1;let G=await C(z,"utf8").catch(()=>"");return await l(U(Q,".."),{recursive:!0}),await r(Q,G+`
|
|
14
|
+
`+Z,"utf8"),!0}catch(J){return M(`[upstreamproxy] ca-cert download failed: ${J instanceof Error?J.message:String(J)}; proxy disabled`,{level:"warn"}),!1}}export{mq as resetUpstreamProxyForTests,t as isValidPemContent,Oq as initUpstreamProxy,Wq as getUpstreamProxyEnv,a as SESSION_TOKEN_PATH};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./cli-1.1.4-xxe2ztwq.mjs";var g=()=>null,c=class{},q={get(v,j){if(j==="__esModule")return!0;if(j==="default")return new Proxy({},q);if(j==="ExportResultCode")return{SUCCESS:0,FAILED:1};if(j==="resourceFromAttributes")return()=>({});if(j==="SandboxRuntimeConfigSchema")return{parse:()=>({})};return g}},z=new Proxy(g,q),C=z,A=!0,B=null,D=new Proxy({},{get:()=>g}),E={parse:()=>({})},F=[],G=g,H=null,I=null,J=g,K=g,L={SUCCESS:0,FAILED:1},M=g,P=c,Q=c,R=c,S=c,U=c,V=c,W=c,X=c,Y=c,Z=c,_=c,$=c,b=c,i=c,k={getTracer:()=>({startSpan:()=>({end:g,setAttribute:g,setStatus:g,recordException:g})})},u={active:g,with:(v,j)=>j()},w={OK:0,ERROR:1,UNSET:2},y="service.name",N="service.version",O="service.name",T="service.version",h={CUMULATIVE:0,DELTA:1},x={HISTOGRAM:0,SUM:1,GAUGE:2},d={COUNTER:0,HISTOGRAM:1,UP_DOWN_COUNTER:2},f=c,m={};export{k as trace,M as resourceFromAttributes,K as plot,J as getSyntaxTheme,G as getMcpConfigForManifest,C as default,u as context,A as __stub,w as SpanStatusCode,Q as SimpleSpanProcessor,_ as SimpleLogRecordProcessor,m as SeverityNumber,B as SandboxViolationStore,E as SandboxRuntimeConfigSchema,D as SandboxManager,T as SEMRESATTRS_SERVICE_VERSION,O as SEMRESATTRS_SERVICE_NAME,P as Resource,f as PushMetricExporter,Y as PrometheusExporter,i as PeriodicExportingMetricReader,V as OTLPTraceExporter,X as OTLPMetricExporter,W as OTLPLogExporter,S as NodeTracerProvider,b as MeterProvider,Z as LoggerProvider,d as InstrumentType,L as ExportResultCode,x as DataPointType,I as ColorFile,H as ColorDiff,R as BatchSpanProcessor,$ as BatchLogRecordProcessor,U as BasicTracerProvider,F as BROWSER_TOOLS,h as AggregationTemporality,N as ATTR_SERVICE_VERSION,y as ATTR_SERVICE_NAME};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Og as f,Pg as q}from"./cli-1.1.4-1bd9da9p.mjs";import"./cli-1.1.4-181vbtfh.mjs";import"./cli-1.1.4-ck3xhtdn.mjs";import"./cli-1.1.4-vye1xark.mjs";import"./cli-1.1.4-ymrjsf78.mjs";import"./cli-1.1.4-6rkzmmby.mjs";import"./cli-1.1.4-8hr73xp2.mjs";import"./cli-1.1.4-ws4wcqma.mjs";import"./cli-1.1.4-qf46ypfr.mjs";import"./cli-1.1.4-mjtadp4r.mjs";import"./cli-1.1.4-5hz878ns.mjs";import"./cli-1.1.4-tmrxfcjm.mjs";import"./cli-1.1.4-6z69geef.mjs";import"./cli-1.1.4-yprszvr2.mjs";import"./cli-1.1.4-z9z0gn83.mjs";import"./cli-1.1.4-hbx9ye2g.mjs";import"./cli-1.1.4-ckmk4b1r.mjs";import"./cli-1.1.4-x6hb06sj.mjs";import"./cli-1.1.4-9x9a885k.mjs";import"./cli-1.1.4-3d01w53d.mjs";import"./cli-1.1.4-6raycx0k.mjs";import"./cli-1.1.4-17x2wrkx.mjs";import"./cli-1.1.4-y94ewbpk.mjs";import"./cli-1.1.4-rh4x4rv5.mjs";import"./cli-1.1.4-4qsk7zj5.mjs";import"./cli-1.1.4-vcg96p1c.mjs";import"./cli-1.1.4-5dc9c513.mjs";import"./cli-1.1.4-shrznr3s.mjs";import"./cli-1.1.4-qjgn7a4a.mjs";import"./cli-1.1.4-aj4f4c5s.mjs";import"./cli-1.1.4-jeyegjk6.mjs";import"./cli-1.1.4-k6ebhyp0.mjs";import"./cli-1.1.4-scm26s6m.mjs";import"./cli-1.1.4-nh3sscxn.mjs";import"./cli-1.1.4-wx5t4xvj.mjs";import"./cli-1.1.4-3zzdhas7.mjs";import"./cli-1.1.4-m3gsmnfa.mjs";import"./cli-1.1.4-6c5tryej.mjs";import"./cli-1.1.4-6h6yt6jp.mjs";import"./cli-1.1.4-hdwdbbzk.mjs";import"./cli-1.1.4-cknrfh5p.mjs";import"./cli-1.1.4-je9x0pvr.mjs";import"./cli-1.1.4-0smy947g.mjs";import"./cli-1.1.4-ss2jxen1.mjs";import"./cli-1.1.4-p7tcq8ah.mjs";import{o4 as d,q4 as b}from"./cli-1.1.4-40z19hth.mjs";import"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-w4b4vhj9.mjs";import"./cli-1.1.4-v67jx2fw.mjs";import"./cli-1.1.4-g6nryz17.mjs";import"./cli-1.1.4-my1g33fn.mjs";import"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import"./cli-1.1.4-cwnt4by7.mjs";import"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import{Isa as l}from"./cli-1.1.4-xxe2ztwq.mjs";var y=async(h,k)=>{return d(f,{onClose:h,context:k,defaultTab:"Usage"})};var v=l(()=>{q();b()});v();export{y as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{ba as O}from"./cli-1.1.4-ncmgrms7.mjs";import{Ya as K}from"./cli-1.1.4-memqhcjv.mjs";import"./cli-1.1.4-q1mcaeav.mjs";import"./cli-1.1.4-w06xm7pk.mjs";import{Pc as F,Qc as S}from"./cli-1.1.4-83vy9tsv.mjs";import"./cli-1.1.4-3yy14yyg.mjs";import"./cli-1.1.4-0wp3qgzs.mjs";import"./cli-1.1.4-mkk6fe3z.mjs";import"./cli-1.1.4-5g0b74dj.mjs";import"./cli-1.1.4-8rzb4wqq.mjs";import"./cli-1.1.4-rhexcyth.mjs";import{Wf as B,Xf as P}from"./cli-1.1.4-vjfpgnyr.mjs";import"./cli-1.1.4-wtcyy8sp.mjs";import{EG as Z,FG as C,hy as Y,ly as $}from"./cli-1.1.4-6z69geef.mjs";import"./cli-1.1.4-yprszvr2.mjs";import"./cli-1.1.4-z9z0gn83.mjs";import"./cli-1.1.4-hbx9ye2g.mjs";import"./cli-1.1.4-ckmk4b1r.mjs";import"./cli-1.1.4-x6hb06sj.mjs";import"./cli-1.1.4-9x9a885k.mjs";import"./cli-1.1.4-3d01w53d.mjs";import"./cli-1.1.4-6raycx0k.mjs";import"./cli-1.1.4-17x2wrkx.mjs";import"./cli-1.1.4-y94ewbpk.mjs";import"./cli-1.1.4-rh4x4rv5.mjs";import"./cli-1.1.4-4qsk7zj5.mjs";import"./cli-1.1.4-vcg96p1c.mjs";import"./cli-1.1.4-5dc9c513.mjs";import"./cli-1.1.4-shrznr3s.mjs";import"./cli-1.1.4-qjgn7a4a.mjs";import"./cli-1.1.4-aj4f4c5s.mjs";import"./cli-1.1.4-jeyegjk6.mjs";import"./cli-1.1.4-k6ebhyp0.mjs";import"./cli-1.1.4-scm26s6m.mjs";import{DZ as W,H1 as w,a1 as Q,c1 as U}from"./cli-1.1.4-nh3sscxn.mjs";import"./cli-1.1.4-wx5t4xvj.mjs";import"./cli-1.1.4-3zzdhas7.mjs";import"./cli-1.1.4-m3gsmnfa.mjs";import"./cli-1.1.4-6c5tryej.mjs";import"./cli-1.1.4-6h6yt6jp.mjs";import"./cli-1.1.4-hdwdbbzk.mjs";import"./cli-1.1.4-cknrfh5p.mjs";import"./cli-1.1.4-je9x0pvr.mjs";import"./cli-1.1.4-0smy947g.mjs";import"./cli-1.1.4-ss2jxen1.mjs";import"./cli-1.1.4-p7tcq8ah.mjs";import{o4 as f,p4 as N,q4 as L}from"./cli-1.1.4-40z19hth.mjs";import{r4 as M}from"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-w4b4vhj9.mjs";import"./cli-1.1.4-v67jx2fw.mjs";import"./cli-1.1.4-g6nryz17.mjs";import"./cli-1.1.4-my1g33fn.mjs";import{$7 as _,a9 as E}from"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import"./cli-1.1.4-cwnt4by7.mjs";import"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import{wja as X,zja as y}from"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import{Esa as V,Jsa as I}from"./cli-1.1.4-xxe2ztwq.mjs";var R=V(W(),1),z=V(M(),1);import{cwd as D}from"process";w();C();y();P();$();S();E();L();async function l(k){X("tengu_setup_token_command",{});let q=!_(),{ConsoleOAuthFlow:H}=await import("./ConsoleOAuthFlow-1.1.4-y4jsq70q.mjs");await new Promise((G)=>{k.render(f(Y,{onChangeAppState:F,children:f(Z,{children:N(Q,{flexDirection:"column",gap:1,children:[f(O,{}),q&&N(Q,{flexDirection:"column",children:[f(U,{color:"warning",children:"Warning: You already have authentication configured via environment variable or API key helper."}),f(U,{color:"warning",children:"The setup-token command will create a new OAuth token which you can use instead."})]}),f(H,{onDone:()=>{G()},mode:"setup-token",startingMessage:"This will guide you through long-lived (1-year) auth token setup for your Claude account. Claude subscription required."})]})})}))}),k.unmount(),process.exit(0)}var d=z.default.lazy(()=>import("./Doctor-1.1.4-6z4qt6jr.mjs").then((k)=>({default:k.Doctor})));function m(k){let q=R.c(2),{onDone:H}=k;K();let G;if(q[0]!==H)G=f(z.default.Suspense,{fallback:null,children:f(d,{onDone:H})}),q[0]=H,q[1]=G;else G=q[1];return G}async function a(k){X("tengu_doctor_command",{}),await new Promise((q)=>{k.render(f(Y,{children:f(Z,{children:f(B,{dynamicMcpConfig:void 0,isStrictMcpConfig:!1,children:f(m,{onDone:()=>{q()}})})})}))}),k.unmount(),process.exit(0)}async function n(k,q){let{setup:H}=await import("./setup-1.1.4-kaet4ypb.mjs");await H(D(),"default",!1,!1,void 0,!1);let{install:G}=await import("./install-1.1.4-2ckjxcbg.mjs");await new Promise((T)=>{let J=[];if(k)J.push(k);if(q.force)J.push("--force");G.call((b)=>{T(),process.exit(b.includes("failed")?1:0)},{},J)})}export{l as setupTokenHandler,n as installHandler,a as doctorHandler};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$I as c,ZI as a,_I as b,aJ as d,bJ as e,cJ as f,dJ as g,eJ as h,fJ as i,gJ as j,hJ as k}from"./cli-1.1.4-6z69geef.mjs";import"./cli-1.1.4-yprszvr2.mjs";import"./cli-1.1.4-z9z0gn83.mjs";import"./cli-1.1.4-hbx9ye2g.mjs";import"./cli-1.1.4-ckmk4b1r.mjs";import"./cli-1.1.4-x6hb06sj.mjs";import"./cli-1.1.4-9x9a885k.mjs";import"./cli-1.1.4-3d01w53d.mjs";import"./cli-1.1.4-6raycx0k.mjs";import"./cli-1.1.4-17x2wrkx.mjs";import"./cli-1.1.4-y94ewbpk.mjs";import"./cli-1.1.4-rh4x4rv5.mjs";import"./cli-1.1.4-4qsk7zj5.mjs";import"./cli-1.1.4-vcg96p1c.mjs";import"./cli-1.1.4-5dc9c513.mjs";import"./cli-1.1.4-shrznr3s.mjs";import"./cli-1.1.4-qjgn7a4a.mjs";import"./cli-1.1.4-aj4f4c5s.mjs";import"./cli-1.1.4-jeyegjk6.mjs";import"./cli-1.1.4-k6ebhyp0.mjs";import"./cli-1.1.4-scm26s6m.mjs";import"./cli-1.1.4-nh3sscxn.mjs";import"./cli-1.1.4-wx5t4xvj.mjs";import"./cli-1.1.4-3zzdhas7.mjs";import"./cli-1.1.4-m3gsmnfa.mjs";import"./cli-1.1.4-6c5tryej.mjs";import"./cli-1.1.4-6h6yt6jp.mjs";import"./cli-1.1.4-hdwdbbzk.mjs";import"./cli-1.1.4-cknrfh5p.mjs";import"./cli-1.1.4-je9x0pvr.mjs";import"./cli-1.1.4-0smy947g.mjs";import"./cli-1.1.4-ss2jxen1.mjs";import"./cli-1.1.4-p7tcq8ah.mjs";import"./cli-1.1.4-40z19hth.mjs";import"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-w4b4vhj9.mjs";import"./cli-1.1.4-v67jx2fw.mjs";import"./cli-1.1.4-g6nryz17.mjs";import"./cli-1.1.4-my1g33fn.mjs";import"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import"./cli-1.1.4-cwnt4by7.mjs";import"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import"./cli-1.1.4-xxe2ztwq.mjs";k();export{e as validateURL,d as isPreapprovedUrl,g as isPermittedRedirect,h as getWithPermittedRedirects,a as getWebFetchCacheStats,i as getURLMarkdownContent,b as clearWebFetchCache,f as checkDomainBlocklist,j as applyPromptToMarkdown,c as MAX_MARKDOWN_LENGTH};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Uea as p,Xea as q,qfa as D}from"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import{wja as m,zja as B}from"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import{Isa as A}from"./cli-1.1.4-xxe2ztwq.mjs";var K=async()=>{let k=q().editorMode||"normal";if(k==="emacs")k="normal";let h=k==="normal"?"vim":"normal";return p((z)=>({...z,editorMode:h})),m("tengu_editor_mode_changed",{mode:h,source:"command"}),{type:"text",value:`Editor mode set to ${h}. ${h==="vim"?"Use Escape key to toggle between INSERT and NORMAL modes.":"Using standard (readline) keyboard bindings."}`}};var F=A(()=>{B();D()});F();export{K as call};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import{a as A,g as F}from"./cli-1.1.4-9tej4g5v.mjs";import{Qga as $,Yga as C}from"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import{Iia as P,Kia as v}from"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import{$ka as I,ela as k}from"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-xxe2ztwq.mjs";C();import{spawn as d}from"node:child_process";C();import{exec as R}from"node:child_process";import{createHash as f}from"node:crypto";import{promisify as E}from"node:util";var T=/^gh#(\d+)$/;class H{label;constructor(q){this.label=q}describe(){return`GitHub open issues labeled "${this.label}"`}async poll(){return(await A(this.label)).map(b)}async reportResult(q,z,B){let Q=q.id.match(T);if(!Q)return;let Z=z.prUrl?`\uD83E\uDD16 Claudin ran the \`${B}\` workflow and opened a PR: ${z.prUrl}`:`⚠️ Claudin ran the \`${B}\` workflow for this issue but it did not complete successfully. See the runner logs.`;await F(Number(Q[1]),Z)}}function b(q){return{id:`gh#${q.number}`,title:q.title,body:q.body??""}}class L{url;constructor(q){this.url=q}describe(){return`URL ${this.url}`}async poll(){let q;try{let z=await fetch(this.url,{redirect:"follow",signal:AbortSignal.timeout(20000),headers:{accept:"application/json, text/plain, text/html;q=0.9"}});if(!z.ok)return $(`workflow watch: GET ${this.url} → HTTP ${z.status}`),[];q=await z.text()}catch(z){return $(`workflow watch: GET ${this.url} failed: ${z instanceof Error?z.message:String(z)}`),[]}return y(this.url,q)}}var w=E(R);class M{command;constructor(q){this.command=q}describe(){return`output of \`${this.command}\``}async poll(){let q;try{q=(await w(this.command,{timeout:60000,maxBuffer:8388608,encoding:"utf8"})).stdout}catch(z){return $(`workflow watch: command failed: ${z instanceof Error?z.message:String(z)}`),[]}return x("cmd",`Output of \`${this.command}\``,q)}}function y(q,z){return x("url",`Update from ${q}`,z)}function x(q,z,B){let Q=B.trim();if(!Q)return[];let Z=g(q,Q);if(Z)return Z;return[{id:`${q}:${V(Q)}`,title:z,body:Q}]}function g(q,z){let B;try{B=JSON.parse(z)}catch{return null}let Q=Array.isArray(B)?B:N(B)?B.tasks??B.items:null;if(!Array.isArray(Q))return null;let Z=[];for(let K of Q){if(typeof K==="string"){let Y=K.trim();if(Y)Z.push({id:`${q}:${V(Y)}`,title:U(Y),body:Y});continue}if(!N(K))continue;let W=J(K.title)??J(K.name)??"",X=J(K.body)??J(K.task)??J(K.description)??W;if(!W&&!X)continue;let D=O(K.id)??O(K.number),G=D?`${q}#${D}`:`${q}:${V(`${W}
|
|
2
|
+
${X}`)}`;Z.push({id:G,title:W||U(X),body:X||W})}return Z}function N(q){return typeof q==="object"&&q!==null&&!Array.isArray(q)}function J(q){return typeof q==="string"&&q.trim()?q.trim():void 0}function O(q){if(typeof q==="number"&&Number.isFinite(q))return String(q);return J(q)}function U(q){let z=q.split(`
|
|
3
|
+
`,1)[0].trim();return z.length>100?`${z.slice(0,99)}…`:z}function V(q){return f("sha256").update(q).digest("hex").slice(0,12)}v();k();C();import{mkdir as h,readFile as u,rename as n,writeFile as m}from"node:fs/promises";import{dirname as c,join as a}from"node:path";var l=".claudin/workflow-watch-state.json";function S(){return a(P(),l)}async function _(){try{let q=await u(S(),"utf8"),z=JSON.parse(q);return new Set(Array.isArray(z.processed)?z.processed:[])}catch(q){if(I(q))return new Set;return $(`failed to read workflow-watch state, starting empty: ${q instanceof Error?q.message:String(q)}`),new Set}}async function j(q){let z=S(),B=`${z}.${process.pid}.tmp`;try{await h(c(z),{recursive:!0});let Q={processed:[...q]};await m(B,JSON.stringify(Q,null,2),"utf8"),await n(B,z)}catch(Q){$(`failed to persist workflow-watch state: ${Q instanceof Error?Q.message:String(Q)}`)}}function p(q){if(!q)return null;return new RegExp(q)}function i(q,z){if(!z)return!0;return z.test(`${q.title}
|
|
4
|
+
${q.body}`)}var o=/\.(mjs|cjs|js)$/;function r(q,z,B){return[...B&&o.test(B)?[B]:[],"workflow","run",q.workflow,"--task",z,"--worktree","--pr",...q.base?["--base",q.base]:[]]}function t(q){switch(q.source){case"github":return new H(q.label);case"url":if(!q.url)return process.stderr.write(`--source url requires --url <URL>.
|
|
5
|
+
`),null;return new L(q.url);case"command":if(!q.command)return process.stderr.write(`--source command requires --command <cmd>.
|
|
6
|
+
`),null;return new M(q.command);default:return process.stderr.write(`Unsupported --source "${q.source}" (supported: "github", "url", "command").
|
|
7
|
+
`),null}}async function Lq(q){let z=t(q);if(!z){process.exitCode=2;return}let B;try{B=p(q.match)}catch(D){process.stderr.write(`Invalid --match regex: ${D instanceof Error?D.message:String(D)}
|
|
8
|
+
`),process.exitCode=2;return}let Q=Math.max(5,q.intervalSec)*1000,Z=await _(),K=!1,W=()=>{},X=()=>{K=!0,W()};if(process.once("SIGINT",X),process.once("SIGTERM",X),process.stdout.write(`Watching ${z.describe()} every ${q.intervalSec}s (workflow: ${q.workflow}). Ctrl-C to stop.
|
|
9
|
+
`),B)process.stdout.write(`Only items matching /${q.match}/ will run.
|
|
10
|
+
`);while(!K){if(await s(q,z,Z,B),K)break;await new Promise((D)=>{let G=setTimeout(D,Q);W=()=>{clearTimeout(G),D()}})}}async function s(q,z,B,Q){let Z=await z.poll();for(let K of Z){if(!i(K,Q))continue;if(B.has(K.id))continue;process.stdout.write(`→ Dispatching workflow for ${K.id}: ${K.title}
|
|
11
|
+
`);let W=await e(q,K);B.add(K.id),await j(B),await z.reportResult?.(K,{prUrl:W},q.workflow)}}function e(q,z){let B=`${z.title}
|
|
12
|
+
|
|
13
|
+
${z.body}`.trim(),Q=r(q,B,process.argv[1]);return new Promise((Z)=>{let K="";try{let W=d(process.execPath,Q,{stdio:["ignore","pipe","inherit"]});W.stdout?.setEncoding("utf8"),W.stdout?.on("data",(X)=>{K+=X,process.stdout.write(X)}),W.on("error",(X)=>{$(`failed to spawn workflow run child: ${X instanceof Error?X.message:String(X)}`),Z(null)}),W.on("close",()=>{let X=K.match(/^PR:\s*(\S+)$/m);Z(X?X[1]:null)})}catch(W){$(`failed to dispatch workflow run: ${W instanceof Error?W.message:String(W)}`),Z(null)}})}export{Lq as runWatchLoop,i as itemMatches,p as compileMatcher,t as buildSource,r as buildRunArgs};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{p as a,q as b,r as c,s as d,t as e,u as f,w as g}from"./cli-1.1.4-vgk1xqxb.mjs";import"./cli-1.1.4-6z69geef.mjs";import"./cli-1.1.4-yprszvr2.mjs";import"./cli-1.1.4-z9z0gn83.mjs";import"./cli-1.1.4-hbx9ye2g.mjs";import"./cli-1.1.4-ckmk4b1r.mjs";import"./cli-1.1.4-x6hb06sj.mjs";import"./cli-1.1.4-9x9a885k.mjs";import"./cli-1.1.4-3d01w53d.mjs";import"./cli-1.1.4-6raycx0k.mjs";import"./cli-1.1.4-17x2wrkx.mjs";import"./cli-1.1.4-y94ewbpk.mjs";import"./cli-1.1.4-rh4x4rv5.mjs";import"./cli-1.1.4-4qsk7zj5.mjs";import"./cli-1.1.4-vcg96p1c.mjs";import"./cli-1.1.4-5dc9c513.mjs";import"./cli-1.1.4-shrznr3s.mjs";import"./cli-1.1.4-qjgn7a4a.mjs";import"./cli-1.1.4-aj4f4c5s.mjs";import"./cli-1.1.4-jeyegjk6.mjs";import"./cli-1.1.4-k6ebhyp0.mjs";import"./cli-1.1.4-scm26s6m.mjs";import"./cli-1.1.4-nh3sscxn.mjs";import"./cli-1.1.4-wx5t4xvj.mjs";import"./cli-1.1.4-3zzdhas7.mjs";import"./cli-1.1.4-m3gsmnfa.mjs";import"./cli-1.1.4-6c5tryej.mjs";import"./cli-1.1.4-6h6yt6jp.mjs";import"./cli-1.1.4-hdwdbbzk.mjs";import"./cli-1.1.4-cknrfh5p.mjs";import"./cli-1.1.4-je9x0pvr.mjs";import"./cli-1.1.4-0smy947g.mjs";import"./cli-1.1.4-ss2jxen1.mjs";import"./cli-1.1.4-p7tcq8ah.mjs";import"./cli-1.1.4-40z19hth.mjs";import"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-w4b4vhj9.mjs";import"./cli-1.1.4-v67jx2fw.mjs";import"./cli-1.1.4-g6nryz17.mjs";import"./cli-1.1.4-my1g33fn.mjs";import"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import"./cli-1.1.4-cwnt4by7.mjs";import"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import"./cli-1.1.4-xxe2ztwq.mjs";g();export{d as stopTeamMemoryWatcher,b as startTeamMemoryWatcher,c as notifyTeamMemoryWrite,a as isPermanentFailure,f as _startFileWatcherForTesting,e as _resetWatcherStateForTesting};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import"./cli-1.1.4-9ms3b4tc.mjs";import{Iia as E,Kia as dt,jja as M,kja as O,lja as ft}from"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import{Isa as l}from"./cli-1.1.4-xxe2ztwq.mjs";import{join as m}from"path";function c(t){let e=m(t,K,X);return{root:e,pagesDir:m(e,"pages"),sourcesDir:m(e,"sources"),schemaFile:m(e,"schema.md"),indexFile:m(e,"index.md"),logFile:m(e,"log.md")}}var K=".claudin",X="wiki";var p=()=>{};import{mkdir as J,writeFile as G}from"fs/promises";import{basename as H,relative as W}from"path";function Q(t){return`# Claudin Wiki Schema
|
|
2
|
+
|
|
3
|
+
This wiki stores durable, human-readable project knowledge for ${t}.
|
|
4
|
+
|
|
5
|
+
## Goals
|
|
6
|
+
|
|
7
|
+
- Keep useful project knowledge in markdown, not only in chat history
|
|
8
|
+
- Prefer synthesized facts over raw copy-paste
|
|
9
|
+
- Keep source attribution explicit
|
|
10
|
+
- Make pages easy for both humans and agents to update
|
|
11
|
+
|
|
12
|
+
## Structure
|
|
13
|
+
|
|
14
|
+
- \`index.md\`: top-level navigation and major topics
|
|
15
|
+
- \`log.md\`: append-only update log
|
|
16
|
+
- \`pages/\`: durable topic and architecture pages
|
|
17
|
+
- \`sources/\`: source ingestion notes and summaries
|
|
18
|
+
|
|
19
|
+
## Page Rules
|
|
20
|
+
|
|
21
|
+
- Keep pages focused on one topic
|
|
22
|
+
- Use stable headings such as:
|
|
23
|
+
- \`## Summary\`
|
|
24
|
+
- \`## Key Facts\`
|
|
25
|
+
- \`## Relationships\`
|
|
26
|
+
- \`## Open Questions\`
|
|
27
|
+
- \`## Sources\`
|
|
28
|
+
- Add or update facts only when they are grounded in project files or explicit source notes
|
|
29
|
+
- Prefer editing an existing page over creating duplicates
|
|
30
|
+
`}function B(t){return`# ${t} Wiki
|
|
31
|
+
|
|
32
|
+
This wiki is maintained by Claudin as a durable project knowledge layer.
|
|
33
|
+
|
|
34
|
+
## Core Pages
|
|
35
|
+
|
|
36
|
+
- [Architecture](./pages/architecture.md)
|
|
37
|
+
|
|
38
|
+
## Sources
|
|
39
|
+
|
|
40
|
+
- Source notes live in [sources/](./sources/)
|
|
41
|
+
|
|
42
|
+
## Recent Updates
|
|
43
|
+
|
|
44
|
+
- See [log.md](./log.md)
|
|
45
|
+
`}function q(t){return`# Wiki Update Log
|
|
46
|
+
|
|
47
|
+
- ${t}: Wiki initialized by Claudin
|
|
48
|
+
`}function V(t){return`# Architecture
|
|
49
|
+
|
|
50
|
+
## Summary
|
|
51
|
+
|
|
52
|
+
High-level architecture notes for ${t}.
|
|
53
|
+
|
|
54
|
+
## Key Facts
|
|
55
|
+
|
|
56
|
+
- This page is the starting point for durable architecture knowledge.
|
|
57
|
+
|
|
58
|
+
## Relationships
|
|
59
|
+
|
|
60
|
+
- Link this page to major subsystems as the wiki grows.
|
|
61
|
+
|
|
62
|
+
## Open Questions
|
|
63
|
+
|
|
64
|
+
- What are the most important runtime subsystems?
|
|
65
|
+
- Which files best represent the system architecture?
|
|
66
|
+
|
|
67
|
+
## Sources
|
|
68
|
+
|
|
69
|
+
- Wiki bootstrap
|
|
70
|
+
`}async function f(t,e,i){try{await G(t,e,{encoding:"utf8",flag:"wx"}),i.push(t)}catch(r){if(typeof r==="object"&&r!==null&&"code"in r&&r.code==="EEXIST")return;throw r}}async function h(t){let e=c(t),i=[],r=[];for(let s of[e.root,e.pagesDir,e.sourcesDir])await J(s,{recursive:!0}),i.push(s);let n=H(t),o=new Date().toISOString();return await f(e.schemaFile,Q(n),r),await f(e.indexFile,B(n),r),await f(e.logFile,q(o),r),await f(`${e.pagesDir}/architecture.md`,V(n),r),{root:e.root,createdFiles:r.map((s)=>W(t,s)),createdDirectories:i.map((s)=>W(t,s)),alreadyExisted:r.length===0}}var y=l(()=>{p()});import{readdir as Y,readFile as Z,writeFile as tt}from"fs/promises";import{basename as w,relative as F}from"path";async function k(t){let e=await Y(t,{withFileTypes:!0}),i=[];for(let r of e){let n=`${t}/${r.name}`;if(r.isDirectory())i.push(...await k(n));else if(r.isFile()&&r.name.endsWith(".md"))i.push(n)}return i.sort()}async function et(t){let i=(await Z(t,"utf8")).split(`
|
|
71
|
+
`).map((r)=>r.trim()).find((r)=>r.startsWith("# "));return i?i.replace(/^#\s+/,""):w(t,".md")}async function P(t){let e=c(t),i=await k(e.pagesDir),r=await k(e.sourcesDir),n=await Promise.all(i.map(async(a)=>{let u=F(e.root,a);return`- [${await et(a)}](./${u.replace(/\\/g,"/")})`})),o=r.map((a)=>{let u=F(e.root,a).replace(/\\/g,"/");return`- [${w(a,".md")}](./${u})`}),s=`# ${w(t)} Wiki
|
|
72
|
+
|
|
73
|
+
This wiki is maintained by Claudin as a durable project knowledge layer.
|
|
74
|
+
|
|
75
|
+
## Core Pages
|
|
76
|
+
|
|
77
|
+
${n.length>0?n.join(`
|
|
78
|
+
`):"- No pages yet"}
|
|
79
|
+
|
|
80
|
+
## Sources
|
|
81
|
+
|
|
82
|
+
${o.length>0?o.join(`
|
|
83
|
+
`):"- No sources yet"}
|
|
84
|
+
|
|
85
|
+
## Recent Updates
|
|
86
|
+
|
|
87
|
+
- See [log.md](./log.md)
|
|
88
|
+
`;await tt(e.indexFile,s,"utf8")}var b=l(()=>{p()});function C(t){return t.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"").replace(/-{2,}/g,"-")}function I(t,e=280){let i=t.replace(/\s+/g," ").trim();if(!i)return"No summary available.";if(i.length<=e)return i;return`${i.slice(0,e-1).trimEnd()}…`}function j(t,e){let i=e.split(`
|
|
89
|
+
`).map((r)=>r.trim()).find(Boolean);if(!i)return t;return i.replace(/^#+\s*/,"")||t}var R=()=>{};import{appendFile as it,readFile as rt,stat as nt,writeFile as st}from"fs/promises";import{basename as ot,extname as at,isAbsolute as ct,relative as L,resolve as ut}from"path";function lt(t){let{title:e,sourcePath:i,ingestedAt:r,summary:n,excerpt:o}=t;return`# ${e}
|
|
90
|
+
|
|
91
|
+
## Source
|
|
92
|
+
|
|
93
|
+
- Path: \`${i}\`
|
|
94
|
+
- Ingested at: ${r}
|
|
95
|
+
|
|
96
|
+
## Summary
|
|
97
|
+
|
|
98
|
+
${n}
|
|
99
|
+
|
|
100
|
+
## Excerpt
|
|
101
|
+
|
|
102
|
+
\`\`\`
|
|
103
|
+
${o}
|
|
104
|
+
\`\`\`
|
|
105
|
+
|
|
106
|
+
## Linked Pages
|
|
107
|
+
|
|
108
|
+
- [Architecture](../pages/architecture.md)
|
|
109
|
+
`}function mt(t,e,i){return`- ${i}: Ingested \`${t}\` into source note "${e}"`}async function A(t,e){await h(t);let i=ct(e)?e:ut(t,e);if(!(await nt(i)).isFile())throw Error(`Not a file: ${i}`);let n=await rt(i,"utf8"),o=L(t,i).replace(/\\/g,"/"),s=new Date().toISOString(),a=ot(i,at(i)),u=j(a,n),d=I(n),U=n.split(`
|
|
110
|
+
`).slice(0,20).join(`
|
|
111
|
+
`).trim(),_=C(`${a}-${Date.now()}`)||`source-${Date.now()}`,S=c(t),x=`${S.sourcesDir}/${_}.md`;return await st(x,lt({title:u,sourcePath:o,ingestedAt:s,summary:d,excerpt:U}),"utf8"),await it(S.logFile,`${mt(o,u,s)}
|
|
112
|
+
`,"utf8"),await P(t),{sourceFile:o,sourceNote:L(t,x).replace(/\\/g,"/"),summary:d,title:u}}var T=l(()=>{y();b();p();R()});import{readdir as pt,stat as D}from"fs/promises";async function g(t){try{return await D(t),!0}catch{return!1}}async function $(t){if(!await g(t))return[];let e=await pt(t,{withFileTypes:!0}),i=[];for(let r of e){let n=`${t}/${r.name}`;if(r.isDirectory())i.push(...await $(n));else if(r.isFile()&&r.name.endsWith(".md"))i.push(n)}return i}async function gt(t){let e=[];for(let i of t)try{let r=await D(i);e.push(r.mtimeMs)}catch{continue}if(e.length===0)return null;return new Date(Math.max(...e)).toISOString()}async function z(t){let e=c(t),[i,r,n,o,s,a]=await Promise.all([g(e.root),g(e.schemaFile),g(e.indexFile),g(e.logFile),$(e.pagesDir),$(e.sourcesDir)]);return{initialized:i&&r&&n&&o,root:e.root,pageCount:s.length,sourceCount:a.length,hasSchema:r,hasIndex:n,hasLog:o,lastUpdatedAt:await gt([e.schemaFile,e.indexFile,e.logFile,...s,...a])}}var N=l(()=>{p()});function v(){return`Usage: /wiki [init|status|ingest <path>]
|
|
113
|
+
|
|
114
|
+
Manage the Claudin project wiki stored in .claudin/wiki.
|
|
115
|
+
|
|
116
|
+
Commands:
|
|
117
|
+
/wiki init Initialize the wiki structure in the current project
|
|
118
|
+
/wiki status Show wiki status and page/source counts
|
|
119
|
+
/wiki ingest Ingest a local file into wiki sources
|
|
120
|
+
|
|
121
|
+
Examples:
|
|
122
|
+
/wiki init
|
|
123
|
+
/wiki status
|
|
124
|
+
/wiki ingest README.md`}function ht(t){let e=[`Initialized Claudin wiki at ${t.root}`];if(t.alreadyExisted)return e.push("","Wiki already existed. No new files were created."),e.join(`
|
|
125
|
+
`);if(t.createdFiles.length>0){e.push("","Created files:");for(let i of t.createdFiles)e.push(`- ${i}`)}return e.join(`
|
|
126
|
+
`)}function yt(t){if(!t.initialized)return`Claudin wiki is not initialized in this project.
|
|
127
|
+
|
|
128
|
+
Run /wiki init to create ${t.root}.`;return["Claudin wiki status","",`Root: ${t.root}`,`Pages: ${t.pageCount}`,`Sources: ${t.sourceCount}`,`Schema: ${t.hasSchema?"present":"missing"}`,`Index: ${t.hasIndex?"present":"missing"}`,`Log: ${t.hasLog?"present":"missing"}`,`Last updated: ${t.lastUpdatedAt??"unknown"}`].join(`
|
|
129
|
+
`)}function wt(t){return[`Ingested ${t.sourceFile} into the Claudin wiki.`,"",`Title: ${t.title}`,`Source note: ${t.sourceNote}`,`Summary: ${t.summary}`].join(`
|
|
130
|
+
`)}async function kt(t,e){let i=E(),r=e.trim().toLowerCase();if(M.includes(r)||O.includes(r)){t(v(),{display:"system"});return}if(!r||r==="status"){t(yt(await z(i)),{display:"system"});return}if(r==="init"){t(ht(await h(i)),{display:"system"});return}if(r.startsWith("ingest")){let n=e.trim().slice(6).trim();if(!n){t("Usage: /wiki ingest <local-file-path>",{display:"system"});return}t(wt(await A(i,n)),{display:"system"});return}t(`Unknown wiki subcommand: ${e.trim()}
|
|
131
|
+
|
|
132
|
+
${v()}`,{display:"system"})}var Ht=async(t,e,i)=>{return await kt(t,i??""),null};var $t=l(()=>{ft();T();y();N();dt()});$t();export{Ht as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{dc as q,ec as A}from"./cli-1.1.4-ewczzrrj.mjs";import"./cli-1.1.4-evye603x.mjs";import"./cli-1.1.4-hcp2cxz5.mjs";import"./cli-1.1.4-6z69geef.mjs";import"./cli-1.1.4-yprszvr2.mjs";import"./cli-1.1.4-z9z0gn83.mjs";import"./cli-1.1.4-hbx9ye2g.mjs";import"./cli-1.1.4-ckmk4b1r.mjs";import"./cli-1.1.4-x6hb06sj.mjs";import"./cli-1.1.4-9x9a885k.mjs";import"./cli-1.1.4-3d01w53d.mjs";import"./cli-1.1.4-6raycx0k.mjs";import"./cli-1.1.4-17x2wrkx.mjs";import"./cli-1.1.4-y94ewbpk.mjs";import"./cli-1.1.4-rh4x4rv5.mjs";import"./cli-1.1.4-4qsk7zj5.mjs";import"./cli-1.1.4-vcg96p1c.mjs";import"./cli-1.1.4-5dc9c513.mjs";import"./cli-1.1.4-shrznr3s.mjs";import"./cli-1.1.4-qjgn7a4a.mjs";import"./cli-1.1.4-aj4f4c5s.mjs";import"./cli-1.1.4-jeyegjk6.mjs";import"./cli-1.1.4-k6ebhyp0.mjs";import"./cli-1.1.4-scm26s6m.mjs";import"./cli-1.1.4-nh3sscxn.mjs";import"./cli-1.1.4-wx5t4xvj.mjs";import"./cli-1.1.4-3zzdhas7.mjs";import"./cli-1.1.4-m3gsmnfa.mjs";import"./cli-1.1.4-6c5tryej.mjs";import"./cli-1.1.4-6h6yt6jp.mjs";import"./cli-1.1.4-hdwdbbzk.mjs";import"./cli-1.1.4-cknrfh5p.mjs";import"./cli-1.1.4-je9x0pvr.mjs";import"./cli-1.1.4-0smy947g.mjs";import"./cli-1.1.4-ss2jxen1.mjs";import"./cli-1.1.4-p7tcq8ah.mjs";import{o4 as g,q4 as d}from"./cli-1.1.4-40z19hth.mjs";import"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-w4b4vhj9.mjs";import"./cli-1.1.4-v67jx2fw.mjs";import"./cli-1.1.4-g6nryz17.mjs";import"./cli-1.1.4-my1g33fn.mjs";import"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import"./cli-1.1.4-cwnt4by7.mjs";import"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import{Isa as z}from"./cli-1.1.4-xxe2ztwq.mjs";async function E(v,y){return g(q,{context:y,onExit:v})}var B=z(()=>{A();d()});B();export{E as call};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{$l as q,Ll as a,Ml as b,Nl as c,Ol as d,Pl as e,Ql as f,Rl as g,Sl as h,Tl as i,Ul as j,Vl as k,Wl as l,Xl as m,Yl as n,Zl as o,_l as p,am as r,bm as s,cm as t,dm as u,em as v,fm as w}from"./cli-1.1.4-6z69geef.mjs";import"./cli-1.1.4-yprszvr2.mjs";import"./cli-1.1.4-z9z0gn83.mjs";import"./cli-1.1.4-hbx9ye2g.mjs";import"./cli-1.1.4-ckmk4b1r.mjs";import"./cli-1.1.4-x6hb06sj.mjs";import"./cli-1.1.4-9x9a885k.mjs";import"./cli-1.1.4-3d01w53d.mjs";import"./cli-1.1.4-6raycx0k.mjs";import"./cli-1.1.4-17x2wrkx.mjs";import"./cli-1.1.4-y94ewbpk.mjs";import"./cli-1.1.4-rh4x4rv5.mjs";import"./cli-1.1.4-4qsk7zj5.mjs";import"./cli-1.1.4-vcg96p1c.mjs";import"./cli-1.1.4-5dc9c513.mjs";import"./cli-1.1.4-shrznr3s.mjs";import"./cli-1.1.4-qjgn7a4a.mjs";import"./cli-1.1.4-aj4f4c5s.mjs";import"./cli-1.1.4-jeyegjk6.mjs";import"./cli-1.1.4-k6ebhyp0.mjs";import"./cli-1.1.4-scm26s6m.mjs";import"./cli-1.1.4-nh3sscxn.mjs";import"./cli-1.1.4-wx5t4xvj.mjs";import"./cli-1.1.4-3zzdhas7.mjs";import"./cli-1.1.4-m3gsmnfa.mjs";import"./cli-1.1.4-6c5tryej.mjs";import"./cli-1.1.4-6h6yt6jp.mjs";import"./cli-1.1.4-hdwdbbzk.mjs";import"./cli-1.1.4-cknrfh5p.mjs";import"./cli-1.1.4-je9x0pvr.mjs";import"./cli-1.1.4-0smy947g.mjs";import"./cli-1.1.4-ss2jxen1.mjs";import"./cli-1.1.4-p7tcq8ah.mjs";import"./cli-1.1.4-40z19hth.mjs";import"./cli-1.1.4-9ms3b4tc.mjs";import"./cli-1.1.4-w4b4vhj9.mjs";import"./cli-1.1.4-v67jx2fw.mjs";import"./cli-1.1.4-g6nryz17.mjs";import"./cli-1.1.4-my1g33fn.mjs";import"./cli-1.1.4-fk420f57.mjs";import"./cli-1.1.4-0earmzgk.mjs";import"./cli-1.1.4-sm3xmtbn.mjs";import"./cli-1.1.4-0nxqjpe0.mjs";import"./cli-1.1.4-m11fz0v8.mjs";import"./cli-1.1.4-cwnt4by7.mjs";import"./cli-1.1.4-6c3fshef.mjs";import"./cli-1.1.4-rc28sjtd.mjs";import"./cli-1.1.4-jscqx4px.mjs";import"./cli-1.1.4-wt23b5bp.mjs";import"./cli-1.1.4-qecgken2.mjs";import"./cli-1.1.4-mzzr964a.mjs";import"./cli-1.1.4-f7y4b0px.mjs";import"./cli-1.1.4-m312ygm6.mjs";import"./cli-1.1.4-te2372tc.mjs";import"./cli-1.1.4-53fvpymg.mjs";import"./cli-1.1.4-4cg8jz3d.mjs";import"./cli-1.1.4-hzx821eq.mjs";import"./cli-1.1.4-c7a7aezt.mjs";import"./cli-1.1.4-0r232fpm.mjs";import"./cli-1.1.4-x8m7spde.mjs";import"./cli-1.1.4-rmpkkwfr.mjs";import"./cli-1.1.4-0a20jx5n.mjs";import"./cli-1.1.4-z8f8hc8t.mjs";import"./cli-1.1.4-64y9aspn.mjs";import"./cli-1.1.4-xxe2ztwq.mjs";w();export{g as worktreeBranchName,e as withGitWorktreeMutationLock,a as validateWorktreeSlug,c as restoreWorktreeSession,s as removeAgentWorktree,i as parsePRReference,m as killTmuxSession,p as keepWorktree,j as isTmuxAvailable,u as hasWorktreeChanges,k as getTmuxInstallInstructions,b as getCurrentWorktreeSession,d as generateTmuxSessionName,v as execIntoTmuxWorktree,n as createWorktreeForSession,l as createTmuxSessionForWorktree,r as createAgentWorktree,h as copyWorktreeIncludeFiles,q as cleanupWorktree,t as cleanupStaleAgentWorktrees,o as attachExistingWorktree,f as _resetGitWorktreeMutationLocksForTesting};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{nU as a,oU as b}from"./cli-1.1.4-yprszvr2.mjs";import"./cli-1.1.4-xxe2ztwq.mjs";b();export{a as isWorktreeModeEnabled};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import{Esa as S,Gsa as M,Isa as Z4,Jsa as H}from"./cli-1.1.4-xxe2ztwq.mjs";var C=M((_4,h0)=>{var g0=["nodebuffer","arraybuffer","fragments"],w0=typeof Blob<"u";if(w0)g0.push("blob");h0.exports={BINARY_TYPES:g0,CLOSE_TIMEOUT:30000,EMPTY_BUFFER:Buffer.alloc(0),GUID:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",hasBlob:w0,kForOnEventAttribute:Symbol("kIsForOnEventAttribute"),kListener:Symbol("kListener"),kStatusCode:Symbol("status-code"),kWebSocket:Symbol("websocket"),NOOP:()=>{}}});var a=M((N4,X0)=>{var{EMPTY_BUFFER:m5}=C(),F0=Buffer[Symbol.species];function f5(J,K){if(J.length===0)return m5;if(J.length===1)return J[0];let X=Buffer.allocUnsafe(K),Z=0;for(let $=0;$<J.length;$++){let G=J[$];X.set(G,Z),Z+=G.length}if(Z<K)return new F0(X.buffer,X.byteOffset,Z);return X}function m0(J,K,X,Z,$){for(let G=0;G<$;G++)X[Z+G]=J[G]^K[G&3]}function f0(J,K){for(let X=0;X<J.length;X++)J[X]^=K[X&3]}function u5(J){if(J.length===J.buffer.byteLength)return J.buffer;return J.buffer.slice(J.byteOffset,J.byteOffset+J.length)}function D0(J){if(D0.readOnly=!0,Buffer.isBuffer(J))return J;let K;if(J instanceof ArrayBuffer)K=new F0(J);else if(ArrayBuffer.isView(J))K=new F0(J.buffer,J.byteOffset,J.byteLength);else K=Buffer.from(J),D0.readOnly=!1;return K}X0.exports={concat:f5,mask:m0,toArrayBuffer:u5,toBuffer:D0,unmask:f0};if(!process.env.WS_NO_BUFFER_UTIL)try{let J=(()=>{throw new Error("Cannot require module "+"bufferutil");})();X0.exports.mask=function(K,X,Z,$,G){if(G<48)m0(K,X,Z,$,G);else J.mask(K,X,Z,$,G)},X0.exports.unmask=function(K,X){if(K.length<32)f0(K,X);else J.unmask(K,X)}}catch(J){}});var b0=M((H4,p0)=>{var u0=Symbol("kDone"),P0=Symbol("kRun");class l0{constructor(J){this[u0]=()=>{this.pending--,this[P0]()},this.concurrency=J||1/0,this.jobs=[],this.pending=0}add(J){this.jobs.push(J),this[P0]()}[P0](){if(this.pending===this.concurrency)return;if(this.jobs.length){let J=this.jobs.shift();this.pending++,J(this[u0])}}}p0.exports=l0});var p=M((R4,n0)=>{var s=H("zlib"),k0=a(),l5=b0(),{kStatusCode:i0}=C(),p5=Buffer[Symbol.species],b5=Buffer.from([0,0,255,255]),$0=Symbol("permessage-deflate"),U=Symbol("total-length"),u=Symbol("callback"),L=Symbol("buffers"),l=Symbol("error"),Z0;class d0{constructor(J){if(this._options=J||{},this._threshold=this._options.threshold!==void 0?this._options.threshold:1024,this._maxPayload=this._options.maxPayload|0,this._isServer=!!this._options.isServer,this._deflate=null,this._inflate=null,this.params=null,!Z0){let K=this._options.concurrencyLimit!==void 0?this._options.concurrencyLimit:10;Z0=new l5(K)}}static get extensionName(){return"permessage-deflate"}offer(){let J={};if(this._options.serverNoContextTakeover)J.server_no_context_takeover=!0;if(this._options.clientNoContextTakeover)J.client_no_context_takeover=!0;if(this._options.serverMaxWindowBits)J.server_max_window_bits=this._options.serverMaxWindowBits;if(this._options.clientMaxWindowBits)J.client_max_window_bits=this._options.clientMaxWindowBits;else if(this._options.clientMaxWindowBits==null)J.client_max_window_bits=!0;return J}accept(J){return J=this.normalizeParams(J),this.params=this._isServer?this.acceptAsServer(J):this.acceptAsClient(J),this.params}cleanup(){if(this._inflate)this._inflate.close(),this._inflate=null;if(this._deflate){let J=this._deflate[u];if(this._deflate.close(),this._deflate=null,J)J(Error("The deflate stream was closed while data was being processed"))}}acceptAsServer(J){let K=this._options,X=J.find((Z)=>{if(K.serverNoContextTakeover===!1&&Z.server_no_context_takeover||Z.server_max_window_bits&&(K.serverMaxWindowBits===!1||typeof K.serverMaxWindowBits==="number"&&K.serverMaxWindowBits>Z.server_max_window_bits)||typeof K.clientMaxWindowBits==="number"&&!Z.client_max_window_bits)return!1;return!0});if(!X)throw Error("None of the extension offers can be accepted");if(K.serverNoContextTakeover)X.server_no_context_takeover=!0;if(K.clientNoContextTakeover)X.client_no_context_takeover=!0;if(typeof K.serverMaxWindowBits==="number")X.server_max_window_bits=K.serverMaxWindowBits;if(typeof K.clientMaxWindowBits==="number")X.client_max_window_bits=K.clientMaxWindowBits;else if(X.client_max_window_bits===!0||K.clientMaxWindowBits===!1)delete X.client_max_window_bits;return X}acceptAsClient(J){let K=J[0];if(this._options.clientNoContextTakeover===!1&&K.client_no_context_takeover)throw Error('Unexpected parameter "client_no_context_takeover"');if(!K.client_max_window_bits){if(typeof this._options.clientMaxWindowBits==="number")K.client_max_window_bits=this._options.clientMaxWindowBits}else if(this._options.clientMaxWindowBits===!1||typeof this._options.clientMaxWindowBits==="number"&&K.client_max_window_bits>this._options.clientMaxWindowBits)throw Error('Unexpected or invalid parameter "client_max_window_bits"');return K}normalizeParams(J){return J.forEach((K)=>{Object.keys(K).forEach((X)=>{let Z=K[X];if(Z.length>1)throw Error(`Parameter "${X}" must have only a single value`);if(Z=Z[0],X==="client_max_window_bits"){if(Z!==!0){let $=+Z;if(!Number.isInteger($)||$<8||$>15)throw TypeError(`Invalid value for parameter "${X}": ${Z}`);Z=$}else if(!this._isServer)throw TypeError(`Invalid value for parameter "${X}": ${Z}`)}else if(X==="server_max_window_bits"){let $=+Z;if(!Number.isInteger($)||$<8||$>15)throw TypeError(`Invalid value for parameter "${X}": ${Z}`);Z=$}else if(X==="client_no_context_takeover"||X==="server_no_context_takeover"){if(Z!==!0)throw TypeError(`Invalid value for parameter "${X}": ${Z}`)}else throw Error(`Unknown parameter "${X}"`);K[X]=Z})}),J}decompress(J,K,X){Z0.add((Z)=>{this._decompress(J,K,($,G)=>{Z(),X($,G)})})}compress(J,K,X){Z0.add((Z)=>{this._compress(J,K,($,G)=>{Z(),X($,G)})})}_decompress(J,K,X){let Z=this._isServer?"client":"server";if(!this._inflate){let $=`${Z}_max_window_bits`,G=typeof this.params[$]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[$];this._inflate=s.createInflateRaw({...this._options.zlibInflateOptions,windowBits:G}),this._inflate[$0]=this,this._inflate[U]=0,this._inflate[L]=[],this._inflate.on("error",i5),this._inflate.on("data",c0)}if(this._inflate[u]=X,this._inflate.write(J),K)this._inflate.write(b5);this._inflate.flush(()=>{let $=this._inflate[l];if($){this._inflate.close(),this._inflate=null,X($);return}let G=k0.concat(this._inflate[L],this._inflate[U]);if(this._inflate._readableState.endEmitted)this._inflate.close(),this._inflate=null;else if(this._inflate[U]=0,this._inflate[L]=[],K&&this.params[`${Z}_no_context_takeover`])this._inflate.reset();X(null,G)})}_compress(J,K,X){let Z=this._isServer?"server":"client";if(!this._deflate){let $=`${Z}_max_window_bits`,G=typeof this.params[$]!=="number"?s.Z_DEFAULT_WINDOWBITS:this.params[$];this._deflate=s.createDeflateRaw({...this._options.zlibDeflateOptions,windowBits:G}),this._deflate[U]=0,this._deflate[L]=[],this._deflate.on("data",k5)}this._deflate[u]=X,this._deflate.write(J),this._deflate.flush(s.Z_SYNC_FLUSH,()=>{if(!this._deflate)return;let $=k0.concat(this._deflate[L],this._deflate[U]);if(K)$=new p5($.buffer,$.byteOffset,$.length-4);if(this._deflate[u]=null,this._deflate[U]=0,this._deflate[L]=[],K&&this.params[`${Z}_no_context_takeover`])this._deflate.reset();X(null,$)})}}n0.exports=d0;function k5(J){this[L].push(J),this[U]+=J.length}function c0(J){if(this[U]+=J.length,this[$0]._maxPayload<1||this[U]<=this[$0]._maxPayload){this[L].push(J);return}this[l]=RangeError("Max payload size exceeded"),this[l].code="WS_ERR_UNSUPPORTED_MESSAGE_LENGTH",this[l][i0]=1009,this.removeListener("data",c0),this.reset()}function i5(J){if(this[$0]._inflate=null,this[l]){this[u](this[l]);return}J[i0]=1007,this[u](J)}});var b=M((A4,G0)=>{var{isUtf8:r0}=H("buffer"),{hasBlob:d5}=C(),c5=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0];function n5(J){return J>=1000&&J<=1014&&J!==1004&&J!==1005&&J!==1006||J>=3000&&J<=4999}function M0(J){let K=J.length,X=0;while(X<K)if((J[X]&128)===0)X++;else if((J[X]&224)===192){if(X+1===K||(J[X+1]&192)!==128||(J[X]&254)===192)return!1;X+=2}else if((J[X]&240)===224){if(X+2>=K||(J[X+1]&192)!==128||(J[X+2]&192)!==128||J[X]===224&&(J[X+1]&224)===128||J[X]===237&&(J[X+1]&224)===160)return!1;X+=3}else if((J[X]&248)===240){if(X+3>=K||(J[X+1]&192)!==128||(J[X+2]&192)!==128||(J[X+3]&192)!==128||J[X]===240&&(J[X+1]&240)===128||J[X]===244&&J[X+1]>143||J[X]>244)return!1;X+=4}else return!1;return!0}function r5(J){return d5&&typeof J==="object"&&typeof J.arrayBuffer==="function"&&typeof J.type==="string"&&typeof J.stream==="function"&&(J[Symbol.toStringTag]==="Blob"||J[Symbol.toStringTag]==="File")}G0.exports={isBlob:r5,isValidStatusCode:n5,isValidUTF8:M0,tokenChars:c5};if(r0)G0.exports.isValidUTF8=function(J){return J.length<24?M0(J):r0(J)};else if(!process.env.WS_NO_UTF_8_VALIDATE)try{let J=(()=>{throw new Error("Cannot require module "+"utf-8-validate");})();G0.exports.isValidUTF8=function(K){return K.length<32?M0(K):J(K)}}catch(J){}});var T0=M((F4,e0)=>{var{Writable:a5}=H("stream"),a0=p(),{BINARY_TYPES:s5,EMPTY_BUFFER:s0,kStatusCode:o5,kWebSocket:t5}=C(),{concat:O0,toArrayBuffer:e5,unmask:J1}=a(),{isValidStatusCode:K1,isValidUTF8:o0}=b(),Q0=Buffer[Symbol.species];class t0 extends a5{constructor(J={}){super();this._allowSynchronousEvents=J.allowSynchronousEvents!==void 0?J.allowSynchronousEvents:!0,this._binaryType=J.binaryType||s5[0],this._extensions=J.extensions||{},this._isServer=!!J.isServer,this._maxBufferedChunks=J.maxBufferedChunks|0,this._maxFragments=J.maxFragments|0,this._maxPayload=J.maxPayload|0,this._skipUTF8Validation=!!J.skipUTF8Validation,this[t5]=void 0,this._bufferedBytes=0,this._buffers=[],this._compressed=!1,this._payloadLength=0,this._mask=void 0,this._fragmented=0,this._masked=!1,this._fin=!1,this._opcode=0,this._totalPayloadLength=0,this._messageLength=0,this._numFragments=0,this._fragments=[],this._errored=!1,this._loop=!1,this._state=0}_write(J,K,X){if(this._opcode===8&&this._state==0)return X();if(this._maxBufferedChunks>0&&this._buffers.length>=this._maxBufferedChunks){X(this.createError(RangeError,"Too many buffered chunks",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS"));return}this._bufferedBytes+=J.length,this._buffers.push(J),this.startLoop(X)}consume(J){if(this._bufferedBytes-=J,J===this._buffers[0].length)return this._buffers.shift();if(J<this._buffers[0].length){let X=this._buffers[0];return this._buffers[0]=new Q0(X.buffer,X.byteOffset+J,X.length-J),new Q0(X.buffer,X.byteOffset,J)}let K=Buffer.allocUnsafe(J);do{let X=this._buffers[0],Z=K.length-J;if(J>=X.length)K.set(this._buffers.shift(),Z);else K.set(new Uint8Array(X.buffer,X.byteOffset,J),Z),this._buffers[0]=new Q0(X.buffer,X.byteOffset+J,X.length-J);J-=X.length}while(J>0);return K}startLoop(J){this._loop=!0;do switch(this._state){case 0:this.getInfo(J);break;case 1:this.getPayloadLength16(J);break;case 2:this.getPayloadLength64(J);break;case 3:this.getMask();break;case 4:this.getData(J);break;case 5:case 6:this._loop=!1;return}while(this._loop);if(!this._errored)J()}getInfo(J){if(this._bufferedBytes<2){this._loop=!1;return}let K=this.consume(2);if((K[0]&48)!==0){let Z=this.createError(RangeError,"RSV2 and RSV3 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_2_3");J(Z);return}let X=(K[0]&64)===64;if(X&&!this._extensions[a0.extensionName]){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(this._fin=(K[0]&128)===128,this._opcode=K[0]&15,this._payloadLength=K[1]&127,this._opcode===0){if(X){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(!this._fragmented){let Z=this.createError(RangeError,"invalid opcode 0",!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}this._opcode=this._fragmented}else if(this._opcode===1||this._opcode===2){if(this._fragmented){let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}this._compressed=X}else if(this._opcode>7&&this._opcode<11){if(!this._fin){let Z=this.createError(RangeError,"FIN must be set",!0,1002,"WS_ERR_EXPECTED_FIN");J(Z);return}if(X){let Z=this.createError(RangeError,"RSV1 must be clear",!0,1002,"WS_ERR_UNEXPECTED_RSV_1");J(Z);return}if(this._payloadLength>125||this._opcode===8&&this._payloadLength===1){let Z=this.createError(RangeError,`invalid payload length ${this._payloadLength}`,!0,1002,"WS_ERR_INVALID_CONTROL_PAYLOAD_LENGTH");J(Z);return}}else{let Z=this.createError(RangeError,`invalid opcode ${this._opcode}`,!0,1002,"WS_ERR_INVALID_OPCODE");J(Z);return}if(!this._fin&&!this._fragmented)this._fragmented=this._opcode;if(this._masked=(K[1]&128)===128,this._isServer){if(!this._masked){let Z=this.createError(RangeError,"MASK must be set",!0,1002,"WS_ERR_EXPECTED_MASK");J(Z);return}}else if(this._masked){let Z=this.createError(RangeError,"MASK must be clear",!0,1002,"WS_ERR_UNEXPECTED_MASK");J(Z);return}if(this._payloadLength===126)this._state=1;else if(this._payloadLength===127)this._state=2;else this.haveLength(J)}getPayloadLength16(J){if(this._bufferedBytes<2){this._loop=!1;return}this._payloadLength=this.consume(2).readUInt16BE(0),this.haveLength(J)}getPayloadLength64(J){if(this._bufferedBytes<8){this._loop=!1;return}let K=this.consume(8),X=K.readUInt32BE(0);if(X>Math.pow(2,21)-1){let Z=this.createError(RangeError,"Unsupported WebSocket frame: payload length > 2^53 - 1",!1,1009,"WS_ERR_UNSUPPORTED_DATA_PAYLOAD_LENGTH");J(Z);return}this._payloadLength=X*Math.pow(2,32)+K.readUInt32BE(4),this.haveLength(J)}haveLength(J){if(this._payloadLength&&this._opcode<8){if(this._totalPayloadLength+=this._payloadLength,this._totalPayloadLength>this._maxPayload&&this._maxPayload>0){let K=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");J(K);return}}if(this._masked)this._state=3;else this._state=4}getMask(){if(this._bufferedBytes<4){this._loop=!1;return}this._mask=this.consume(4),this._state=4}getData(J){let K=s0;if(this._payloadLength){if(this._bufferedBytes<this._payloadLength){this._loop=!1;return}if(K=this.consume(this._payloadLength),this._masked&&(this._mask[0]|this._mask[1]|this._mask[2]|this._mask[3])!==0)J1(K,this._mask)}if(this._opcode>7){this.controlMessage(K,J);return}if(this._maxFragments>0&&++this._numFragments>this._maxFragments){let X=this.createError(RangeError,"Too many message fragments",!1,1008,"WS_ERR_TOO_MANY_BUFFERED_PARTS");J(X);return}if(this._compressed){this._state=5,this.decompress(K,J);return}if(K.length)this._messageLength=this._totalPayloadLength,this._fragments.push(K);this.dataMessage(J)}decompress(J,K){this._extensions[a0.extensionName].decompress(J,this._fin,(Z,$)=>{if(Z)return K(Z);if($.length){if(this._messageLength+=$.length,this._messageLength>this._maxPayload&&this._maxPayload>0){let G=this.createError(RangeError,"Max payload size exceeded",!1,1009,"WS_ERR_UNSUPPORTED_MESSAGE_LENGTH");K(G);return}this._fragments.push($)}if(this.dataMessage(K),this._state===0)this.startLoop(K)})}dataMessage(J){if(!this._fin){this._state=0;return}let K=this._messageLength,X=this._fragments;if(this._totalPayloadLength=0,this._messageLength=0,this._fragmented=0,this._numFragments=0,this._fragments=[],this._opcode===2){let Z;if(this._binaryType==="nodebuffer")Z=O0(X,K);else if(this._binaryType==="arraybuffer")Z=e5(O0(X,K));else if(this._binaryType==="blob")Z=new Blob(X);else Z=X;if(this._allowSynchronousEvents)this.emit("message",Z,!0),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!0),this._state=0,this.startLoop(J)})}else{let Z=O0(X,K);if(!this._skipUTF8Validation&&!o0(Z)){let $=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");J($);return}if(this._state===5||this._allowSynchronousEvents)this.emit("message",Z,!1),this._state=0;else this._state=6,setImmediate(()=>{this.emit("message",Z,!1),this._state=0,this.startLoop(J)})}}controlMessage(J,K){if(this._opcode===8){if(J.length===0)this._loop=!1,this.emit("conclude",1005,s0),this.end();else{let X=J.readUInt16BE(0);if(!K1(X)){let $=this.createError(RangeError,`invalid status code ${X}`,!0,1002,"WS_ERR_INVALID_CLOSE_CODE");K($);return}let Z=new Q0(J.buffer,J.byteOffset+2,J.length-2);if(!this._skipUTF8Validation&&!o0(Z)){let $=this.createError(Error,"invalid UTF-8 sequence",!0,1007,"WS_ERR_INVALID_UTF8");K($);return}this._loop=!1,this.emit("conclude",X,Z),this.end()}this._state=0;return}if(this._allowSynchronousEvents)this.emit(this._opcode===9?"ping":"pong",J),this._state=0;else this._state=6,setImmediate(()=>{this.emit(this._opcode===9?"ping":"pong",J),this._state=0,this.startLoop(K)})}createError(J,K,X,Z,$){this._loop=!1,this._errored=!0;let G=new J(X?`Invalid WebSocket frame: ${K}`:K);return Error.captureStackTrace(G,this.createError),G.code=$,G[o5]=Z,G}}e0.exports=t0});var B0=M((P4,X5)=>{var{Duplex:D4}=H("stream"),{randomFillSync:X1}=H("crypto"),{types:{isUint8Array:Z1}}=H("util"),J5=p(),{EMPTY_BUFFER:$1,kWebSocket:G1,NOOP:Q1}=C(),{isBlob:k,isValidStatusCode:j1}=b(),{mask:K5,toBuffer:v}=a(),T=Symbol("kByteLength"),I1=Buffer.alloc(4),g,i=8192,x=0,z1=1,Y1=2;class W{constructor(J,K,X){if(this._extensions=K||{},X)this._generateMask=X,this._maskBuffer=Buffer.alloc(4);this._socket=J,this._firstFragment=!0,this._compress=!1,this._bufferedBytes=0,this._queue=[],this._state=x,this.onerror=Q1,this[G1]=void 0}static frame(J,K){let X,Z=!1,$=2,G=!1;if(K.mask){if(X=K.maskBuffer||I1,K.generateMask)K.generateMask(X);else{if(i===8192){if(g===void 0)g=Buffer.alloc(8192);X1(g,0,8192),i=0}X[0]=g[i++],X[1]=g[i++],X[2]=g[i++],X[3]=g[i++]}G=(X[0]|X[1]|X[2]|X[3])===0,$=6}let Q;if(typeof J==="string")if((!K.mask||G)&&K[T]!==void 0)Q=K[T];else J=Buffer.from(J),Q=J.length;else Q=J.length,Z=K.mask&&K.readOnly&&!G;let I=Q;if(Q>=65536)$+=8,I=127;else if(Q>125)$+=2,I=126;let j=Buffer.allocUnsafe(Z?Q+$:$);if(j[0]=K.fin?K.opcode|128:K.opcode,K.rsv1)j[0]|=64;if(j[1]=I,I===126)j.writeUInt16BE(Q,2);else if(I===127)j[2]=j[3]=0,j.writeUIntBE(Q,4,6);if(!K.mask)return[j,J];if(j[1]|=128,j[$-4]=X[0],j[$-3]=X[1],j[$-2]=X[2],j[$-1]=X[3],G)return[j,J];if(Z)return K5(J,X,j,$,Q),[j];return K5(J,X,J,0,Q),[j,J]}close(J,K,X,Z){let $;if(J===void 0)$=$1;else if(typeof J!=="number"||!j1(J))throw TypeError("First argument must be a valid error code number");else if(K===void 0||!K.length)$=Buffer.allocUnsafe(2),$.writeUInt16BE(J,0);else{let Q=Buffer.byteLength(K);if(Q>123)throw RangeError("The message must not be greater than 123 bytes");if($=Buffer.allocUnsafe(2+Q),$.writeUInt16BE(J,0),typeof K==="string")$.write(K,2);else if(Z1(K))$.set(K,2);else throw TypeError("Second argument must be a string or a Uint8Array")}let G={[T]:$.length,fin:!0,generateMask:this._generateMask,mask:X,maskBuffer:this._maskBuffer,opcode:8,readOnly:!1,rsv1:!1};if(this._state!==x)this.enqueue([this.dispatch,$,!1,G,Z]);else this.sendFrame(W.frame($,G),Z)}ping(J,K,X){let Z,$;if(typeof J==="string")Z=Buffer.byteLength(J),$=!1;else if(k(J))Z=J.size,$=!1;else J=v(J),Z=J.length,$=v.readOnly;if(Z>125)throw RangeError("The data size must not be greater than 125 bytes");let G={[T]:Z,fin:!0,generateMask:this._generateMask,mask:K,maskBuffer:this._maskBuffer,opcode:9,readOnly:$,rsv1:!1};if(k(J))if(this._state!==x)this.enqueue([this.getBlobData,J,!1,G,X]);else this.getBlobData(J,!1,G,X);else if(this._state!==x)this.enqueue([this.dispatch,J,!1,G,X]);else this.sendFrame(W.frame(J,G),X)}pong(J,K,X){let Z,$;if(typeof J==="string")Z=Buffer.byteLength(J),$=!1;else if(k(J))Z=J.size,$=!1;else J=v(J),Z=J.length,$=v.readOnly;if(Z>125)throw RangeError("The data size must not be greater than 125 bytes");let G={[T]:Z,fin:!0,generateMask:this._generateMask,mask:K,maskBuffer:this._maskBuffer,opcode:10,readOnly:$,rsv1:!1};if(k(J))if(this._state!==x)this.enqueue([this.getBlobData,J,!1,G,X]);else this.getBlobData(J,!1,G,X);else if(this._state!==x)this.enqueue([this.dispatch,J,!1,G,X]);else this.sendFrame(W.frame(J,G),X)}send(J,K,X){let Z=this._extensions[J5.extensionName],$=K.binary?2:1,G=K.compress,Q,I;if(typeof J==="string")Q=Buffer.byteLength(J),I=!1;else if(k(J))Q=J.size,I=!1;else J=v(J),Q=J.length,I=v.readOnly;if(this._firstFragment){if(this._firstFragment=!1,G&&Z&&Z.params[Z._isServer?"server_no_context_takeover":"client_no_context_takeover"])G=Q>=Z._threshold;this._compress=G}else G=!1,$=0;if(K.fin)this._firstFragment=!0;let j={[T]:Q,fin:K.fin,generateMask:this._generateMask,mask:K.mask,maskBuffer:this._maskBuffer,opcode:$,readOnly:I,rsv1:G};if(k(J))if(this._state!==x)this.enqueue([this.getBlobData,J,this._compress,j,X]);else this.getBlobData(J,this._compress,j,X);else if(this._state!==x)this.enqueue([this.dispatch,J,this._compress,j,X]);else this.dispatch(J,this._compress,j,X)}getBlobData(J,K,X,Z){this._bufferedBytes+=X[T],this._state=Y1,J.arrayBuffer().then(($)=>{if(this._socket.destroyed){let Q=Error("The socket was closed while the blob was being read");process.nextTick(x0,this,Q,Z);return}this._bufferedBytes-=X[T];let G=v($);if(!K)this._state=x,this.sendFrame(W.frame(G,X),Z),this.dequeue();else this.dispatch(G,K,X,Z)}).catch(($)=>{process.nextTick(V1,this,$,Z)})}dispatch(J,K,X,Z){if(!K){this.sendFrame(W.frame(J,X),Z);return}let $=this._extensions[J5.extensionName];this._bufferedBytes+=X[T],this._state=z1,$.compress(J,X.fin,(G,Q)=>{if(this._socket.destroyed){let I=Error("The socket was closed while data was being compressed");x0(this,I,Z);return}this._bufferedBytes-=X[T],this._state=x,X.readOnly=!1,this.sendFrame(W.frame(Q,X),Z),this.dequeue()})}dequeue(){while(this._state===x&&this._queue.length){let J=this._queue.shift();this._bufferedBytes-=J[3][T],Reflect.apply(J[0],this,J.slice(1))}}enqueue(J){this._bufferedBytes+=J[3][T],this._queue.push(J)}sendFrame(J,K){if(J.length===2)this._socket.cork(),this._socket.write(J[0]),this._socket.write(J[1],K),this._socket.uncork();else this._socket.write(J[0],K)}}X5.exports=W;function x0(J,K,X){if(typeof X==="function")X(K);for(let Z=0;Z<J._queue.length;Z++){let $=J._queue[Z],G=$[$.length-1];if(typeof G==="function")G(K)}}function V1(J,K,X){x0(J,K,X),J.onerror(K)}});var V5=M((M4,Y5)=>{var{kForOnEventAttribute:o,kListener:C0}=C(),Z5=Symbol("kCode"),$5=Symbol("kData"),G5=Symbol("kError"),Q5=Symbol("kMessage"),j5=Symbol("kReason"),d=Symbol("kTarget"),I5=Symbol("kType"),z5=Symbol("kWasClean");class y{constructor(J){this[d]=null,this[I5]=J}get target(){return this[d]}get type(){return this[I5]}}Object.defineProperty(y.prototype,"target",{enumerable:!0});Object.defineProperty(y.prototype,"type",{enumerable:!0});class c extends y{constructor(J,K={}){super(J);this[Z5]=K.code===void 0?0:K.code,this[j5]=K.reason===void 0?"":K.reason,this[z5]=K.wasClean===void 0?!1:K.wasClean}get code(){return this[Z5]}get reason(){return this[j5]}get wasClean(){return this[z5]}}Object.defineProperty(c.prototype,"code",{enumerable:!0});Object.defineProperty(c.prototype,"reason",{enumerable:!0});Object.defineProperty(c.prototype,"wasClean",{enumerable:!0});class t extends y{constructor(J,K={}){super(J);this[G5]=K.error===void 0?null:K.error,this[Q5]=K.message===void 0?"":K.message}get error(){return this[G5]}get message(){return this[Q5]}}Object.defineProperty(t.prototype,"error",{enumerable:!0});Object.defineProperty(t.prototype,"message",{enumerable:!0});class I0 extends y{constructor(J,K={}){super(J);this[$5]=K.data===void 0?null:K.data}get data(){return this[$5]}}Object.defineProperty(I0.prototype,"data",{enumerable:!0});var _1={addEventListener(J,K,X={}){for(let $ of this.listeners(J))if(!X[o]&&$[C0]===K&&!$[o])return;let Z;if(J==="message")Z=function(G,Q){let I=new I0("message",{data:Q?G:G.toString()});I[d]=this,j0(K,this,I)};else if(J==="close")Z=function(G,Q){let I=new c("close",{code:G,reason:Q.toString(),wasClean:this._closeFrameReceived&&this._closeFrameSent});I[d]=this,j0(K,this,I)};else if(J==="error")Z=function(G){let Q=new t("error",{error:G,message:G.message});Q[d]=this,j0(K,this,Q)};else if(J==="open")Z=function(){let G=new y("open");G[d]=this,j0(K,this,G)};else return;if(Z[o]=!!X[o],Z[C0]=K,X.once)this.once(J,Z);else this.on(J,Z)},removeEventListener(J,K){for(let X of this.listeners(J))if(X[C0]===K&&!X[o]){this.removeListener(J,X);break}}};Y5.exports={CloseEvent:c,ErrorEvent:t,Event:y,EventTarget:_1,MessageEvent:I0};function j0(J,K,X){if(typeof J==="object"&&J.handleEvent)J.handleEvent.call(J,X);else J.call(K,X)}});var z0=M((O4,_5)=>{var{tokenChars:e}=b();function B(J,K,X){if(J[K]===void 0)J[K]=[X];else J[K].push(X)}function N1(J){let K=Object.create(null),X=Object.create(null),Z=!1,$=!1,G=!1,Q,I,j=-1,V=-1,_=-1,Y=0;for(;Y<J.length;Y++)if(V=J.charCodeAt(Y),Q===void 0)if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(Y!==0&&(V===32||V===9)){if(_===-1&&j!==-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;let D=J.slice(j,_);if(V===44)B(K,D,X),X=Object.create(null);else Q=D;j=_=-1}else throw SyntaxError(`Unexpected character at index ${Y}`);else if(I===void 0)if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(V===32||V===9){if(_===-1&&j!==-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;if(B(X,J.slice(j,_),!0),V===44)B(K,Q,X),X=Object.create(null),Q=void 0;j=_=-1}else if(V===61&&j!==-1&&_===-1)I=J.slice(j,Y),j=_=-1;else throw SyntaxError(`Unexpected character at index ${Y}`);else if($){if(e[V]!==1)throw SyntaxError(`Unexpected character at index ${Y}`);if(j===-1)j=Y;else if(!Z)Z=!0;$=!1}else if(G)if(e[V]===1){if(j===-1)j=Y}else if(V===34&&j!==-1)G=!1,_=Y;else if(V===92)$=!0;else throw SyntaxError(`Unexpected character at index ${Y}`);else if(V===34&&J.charCodeAt(Y-1)===61)G=!0;else if(_===-1&&e[V]===1){if(j===-1)j=Y}else if(j!==-1&&(V===32||V===9)){if(_===-1)_=Y}else if(V===59||V===44){if(j===-1)throw SyntaxError(`Unexpected character at index ${Y}`);if(_===-1)_=Y;let D=J.slice(j,_);if(Z)D=D.replace(/\\/g,""),Z=!1;if(B(X,I,D),V===44)B(K,Q,X),X=Object.create(null),Q=void 0;I=void 0,j=_=-1}else throw SyntaxError(`Unexpected character at index ${Y}`);if(j===-1||G||V===32||V===9)throw SyntaxError("Unexpected end of input");if(_===-1)_=Y;let F=J.slice(j,_);if(Q===void 0)B(K,F,X);else{if(I===void 0)B(X,F,!0);else if(Z)B(X,I,F.replace(/\\/g,""));else B(X,I,F);B(K,Q,X)}return K}function H1(J){return Object.keys(J).map((K)=>{let X=J[K];if(!Array.isArray(X))X=[X];return X.map((Z)=>{return[K].concat(Object.keys(Z).map(($)=>{let G=Z[$];if(!Array.isArray(G))G=[G];return G.map((Q)=>Q===!0?$:`${$}=${Q}`).join("; ")})).join("; ")}).join(", ")}).join(", ")}_5.exports={format:H1,parse:N1}});var N0=M((B4,B5)=>{var R1=H("events"),A1=H("https"),F1=H("http"),R5=H("net"),D1=H("tls"),{randomBytes:P1,createHash:M1}=H("crypto"),{Duplex:T4,Readable:x4}=H("stream"),{URL:U0}=H("url"),E=p(),O1=T0(),T1=B0(),{isBlob:x1}=b(),{BINARY_TYPES:N5,CLOSE_TIMEOUT:B1,EMPTY_BUFFER:Y0,GUID:C1,kForOnEventAttribute:q0,kListener:U1,kStatusCode:q1,kWebSocket:A,NOOP:A5}=C(),{EventTarget:{addEventListener:L1,removeEventListener:W1}}=V5(),{format:y1,parse:E1}=z0(),{toBuffer:S1}=a(),F5=Symbol("kAborted"),L0=[8,13],q=["CONNECTING","OPEN","CLOSING","CLOSED"],v1=/^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;class z extends R1{constructor(J,K,X){super();if(this._binaryType=N5[0],this._closeCode=1006,this._closeFrameReceived=!1,this._closeFrameSent=!1,this._closeMessage=Y0,this._closeTimer=null,this._errorEmitted=!1,this._extensions={},this._paused=!1,this._protocol="",this._readyState=z.CONNECTING,this._receiver=null,this._sender=null,this._socket=null,J!==null){if(this._bufferedAmount=0,this._isServer=!1,this._redirects=0,K===void 0)K=[];else if(!Array.isArray(K))if(typeof K==="object"&&K!==null)X=K,K=[];else K=[K];D5(this,J,K,X)}else this._autoPong=X.autoPong,this._closeTimeout=X.closeTimeout,this._isServer=!0}get binaryType(){return this._binaryType}set binaryType(J){if(!N5.includes(J))return;if(this._binaryType=J,this._receiver)this._receiver._binaryType=J}get bufferedAmount(){if(!this._socket)return this._bufferedAmount;return this._socket._writableState.length+this._sender._bufferedBytes}get extensions(){return Object.keys(this._extensions).join()}get isPaused(){return this._paused}get onclose(){return null}get onerror(){return null}get onopen(){return null}get onmessage(){return null}get protocol(){return this._protocol}get readyState(){return this._readyState}get url(){return this._url}setSocket(J,K,X){let Z=new O1({allowSynchronousEvents:X.allowSynchronousEvents,binaryType:this.binaryType,extensions:this._extensions,isServer:this._isServer,maxBufferedChunks:X.maxBufferedChunks,maxFragments:X.maxFragments,maxPayload:X.maxPayload,skipUTF8Validation:X.skipUTF8Validation}),$=new T1(J,this._extensions,X.generateMask);if(this._receiver=Z,this._sender=$,this._socket=J,Z[A]=this,$[A]=this,J[A]=this,Z.on("conclude",h1),Z.on("drain",m1),Z.on("error",f1),Z.on("message",u1),Z.on("ping",l1),Z.on("pong",p1),$.onerror=b1,J.setTimeout)J.setTimeout(0);if(J.setNoDelay)J.setNoDelay();if(K.length>0)J.unshift(K);J.on("close",O5),J.on("data",_0),J.on("end",T5),J.on("error",x5),this._readyState=z.OPEN,this.emit("open")}emitClose(){if(!this._socket){this._readyState=z.CLOSED,this.emit("close",this._closeCode,this._closeMessage);return}if(this._extensions[E.extensionName])this._extensions[E.extensionName].cleanup();this._receiver.removeAllListeners(),this._readyState=z.CLOSED,this.emit("close",this._closeCode,this._closeMessage)}close(J,K){if(this.readyState===z.CLOSED)return;if(this.readyState===z.CONNECTING){O(this,this._req,"WebSocket was closed before the connection was established");return}if(this.readyState===z.CLOSING){if(this._closeFrameSent&&(this._closeFrameReceived||this._receiver._writableState.errorEmitted))this._socket.end();return}this._readyState=z.CLOSING,this._sender.close(J,K,!this._isServer,(X)=>{if(X)return;if(this._closeFrameSent=!0,this._closeFrameReceived||this._receiver._writableState.errorEmitted)this._socket.end()}),M5(this)}pause(){if(this.readyState===z.CONNECTING||this.readyState===z.CLOSED)return;this._paused=!0,this._socket.pause()}ping(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof J==="function")X=J,J=K=void 0;else if(typeof K==="function")X=K,K=void 0;if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}if(K===void 0)K=!this._isServer;this._sender.ping(J||Y0,K,X)}pong(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof J==="function")X=J,J=K=void 0;else if(typeof K==="function")X=K,K=void 0;if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}if(K===void 0)K=!this._isServer;this._sender.pong(J||Y0,K,X)}resume(){if(this.readyState===z.CONNECTING||this.readyState===z.CLOSED)return;if(this._paused=!1,!this._receiver._writableState.needDrain)this._socket.resume()}send(J,K,X){if(this.readyState===z.CONNECTING)throw Error("WebSocket is not open: readyState 0 (CONNECTING)");if(typeof K==="function")X=K,K={};if(typeof J==="number")J=J.toString();if(this.readyState!==z.OPEN){W0(this,J,X);return}let Z={binary:typeof J!=="string",mask:!this._isServer,compress:!0,fin:!0,...K};if(!this._extensions[E.extensionName])Z.compress=!1;this._sender.send(J||Y0,Z,X)}terminate(){if(this.readyState===z.CLOSED)return;if(this.readyState===z.CONNECTING){O(this,this._req,"WebSocket was closed before the connection was established");return}if(this._socket)this._readyState=z.CLOSING,this._socket.destroy()}}Object.defineProperty(z,"CONNECTING",{enumerable:!0,value:q.indexOf("CONNECTING")});Object.defineProperty(z.prototype,"CONNECTING",{enumerable:!0,value:q.indexOf("CONNECTING")});Object.defineProperty(z,"OPEN",{enumerable:!0,value:q.indexOf("OPEN")});Object.defineProperty(z.prototype,"OPEN",{enumerable:!0,value:q.indexOf("OPEN")});Object.defineProperty(z,"CLOSING",{enumerable:!0,value:q.indexOf("CLOSING")});Object.defineProperty(z.prototype,"CLOSING",{enumerable:!0,value:q.indexOf("CLOSING")});Object.defineProperty(z,"CLOSED",{enumerable:!0,value:q.indexOf("CLOSED")});Object.defineProperty(z.prototype,"CLOSED",{enumerable:!0,value:q.indexOf("CLOSED")});["binaryType","bufferedAmount","extensions","isPaused","protocol","readyState","url"].forEach((J)=>{Object.defineProperty(z.prototype,J,{enumerable:!0})});["open","error","close","message"].forEach((J)=>{Object.defineProperty(z.prototype,`on${J}`,{enumerable:!0,get(){for(let K of this.listeners(J))if(K[q0])return K[U1];return null},set(K){for(let X of this.listeners(J))if(X[q0]){this.removeListener(J,X);break}if(typeof K!=="function")return;this.addEventListener(J,K,{[q0]:!0})}})});z.prototype.addEventListener=L1;z.prototype.removeEventListener=W1;B5.exports=z;function D5(J,K,X,Z){let $={allowSynchronousEvents:!0,autoPong:!0,closeTimeout:B1,protocolVersion:L0[1],maxBufferedChunks:262144,maxFragments:16384,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!0,followRedirects:!1,maxRedirects:10,...Z,socketPath:void 0,hostname:void 0,protocol:void 0,timeout:void 0,method:"GET",host:void 0,path:void 0,port:void 0};if(J._autoPong=$.autoPong,J._closeTimeout=$.closeTimeout,!L0.includes($.protocolVersion))throw RangeError(`Unsupported protocol version: ${$.protocolVersion} (supported versions: ${L0.join(", ")})`);let G;if(K instanceof U0)G=K;else try{G=new U0(K)}catch{throw SyntaxError(`Invalid URL: ${K}`)}if(G.protocol==="http:")G.protocol="ws:";else if(G.protocol==="https:")G.protocol="wss:";J._url=G.href;let Q=G.protocol==="wss:",I=G.protocol==="ws+unix:",j;if(G.protocol!=="ws:"&&!Q&&!I)j=`The URL's protocol must be one of "ws:", "wss:", "http:", "https:", or "ws+unix:"`;else if(I&&!G.pathname)j="The URL's pathname is empty";else if(G.hash)j="The URL contains a fragment identifier";if(j){let N=SyntaxError(j);if(J._redirects===0)throw N;else{V0(J,N);return}}let V=Q?443:80,_=P1(16).toString("base64"),Y=Q?A1.request:F1.request,F=new Set,D;if($.createConnection=$.createConnection||(Q?w1:g1),$.defaultPort=$.defaultPort||V,$.port=G.port||V,$.host=G.hostname.startsWith("[")?G.hostname.slice(1,-1):G.hostname,$.headers={...$.headers,"Sec-WebSocket-Version":$.protocolVersion,"Sec-WebSocket-Key":_,Connection:"Upgrade",Upgrade:"websocket"},$.path=G.pathname+G.search,$.timeout=$.handshakeTimeout,$.perMessageDeflate)D=new E({...$.perMessageDeflate,isServer:!1,maxPayload:$.maxPayload}),$.headers["Sec-WebSocket-Extensions"]=y1({[E.extensionName]:D.offer()});if(X.length){for(let N of X){if(typeof N!=="string"||!v1.test(N)||F.has(N))throw SyntaxError("An invalid or duplicated subprotocol was specified");F.add(N)}$.headers["Sec-WebSocket-Protocol"]=X.join(",")}if($.origin)if($.protocolVersion<13)$.headers["Sec-WebSocket-Origin"]=$.origin;else $.headers.Origin=$.origin;if(G.username||G.password)$.auth=`${G.username}:${G.password}`;if(I){let N=$.path.split(":");$.socketPath=N[0],$.path=N[1]}let R;if($.followRedirects){if(J._redirects===0){J._originalIpc=I,J._originalSecure=Q,J._originalHostOrSocketPath=I?$.socketPath:G.host;let N=Z&&Z.headers;if(Z={...Z,headers:{}},N)for(let[P,m]of Object.entries(N))Z.headers[P.toLowerCase()]=m}else if(J.listenerCount("redirect")===0){let N=I?J._originalIpc?$.socketPath===J._originalHostOrSocketPath:!1:J._originalIpc?!1:G.host===J._originalHostOrSocketPath;if(!N||J._originalSecure&&!Q){if(delete $.headers.authorization,delete $.headers.cookie,!N)delete $.headers.host;$.auth=void 0}}if($.auth&&!Z.headers.authorization)Z.headers.authorization="Basic "+Buffer.from($.auth).toString("base64");if(R=J._req=Y($),J._redirects)J.emit("redirect",J.url,R)}else R=J._req=Y($);if($.timeout)R.on("timeout",()=>{O(J,R,"Opening handshake has timed out")});if(R.on("error",(N)=>{if(R===null||R[F5])return;R=J._req=null,V0(J,N)}),R.on("response",(N)=>{let P=N.headers.location,m=N.statusCode;if(P&&$.followRedirects&&m>=300&&m<400){if(++J._redirects>$.maxRedirects){O(J,R,"Maximum redirects exceeded");return}R.abort();let n;try{n=new U0(P,K)}catch(E0){let f=SyntaxError(`Invalid URL: ${P}`);V0(J,f);return}D5(J,n,X,Z)}else if(!J.emit("unexpected-response",R,N))O(J,R,`Unexpected server response: ${N.statusCode}`)}),R.on("upgrade",(N,P,m)=>{if(J.emit("upgrade",N),J.readyState!==z.CONNECTING)return;R=J._req=null;let n=N.headers.upgrade;if(n===void 0||n.toLowerCase()!=="websocket"){O(J,P,"Invalid Upgrade header");return}let E0=M1("sha1").update(_+C1).digest("base64");if(N.headers["sec-websocket-accept"]!==E0){O(J,P,"Invalid Sec-WebSocket-Accept header");return}let f=N.headers["sec-websocket-protocol"],r;if(f!==void 0){if(!F.size)r="Server sent a subprotocol but none was requested";else if(!F.has(f))r="Server sent an invalid subprotocol"}else if(F.size)r="Server sent no subprotocol";if(r){O(J,P,r);return}if(f)J._protocol=f;let S0=N.headers["sec-websocket-extensions"];if(S0!==void 0){if(!D){O(J,P,"Server sent a Sec-WebSocket-Extensions header but no extension was requested");return}let R0;try{R0=E1(S0)}catch(A0){O(J,P,"Invalid Sec-WebSocket-Extensions header");return}let v0=Object.keys(R0);if(v0.length!==1||v0[0]!==E.extensionName){O(J,P,"Server indicated an extension that was not requested");return}try{D.accept(R0[E.extensionName])}catch(A0){O(J,P,"Invalid Sec-WebSocket-Extensions header");return}J._extensions[E.extensionName]=D}J.setSocket(P,m,{allowSynchronousEvents:$.allowSynchronousEvents,generateMask:$.generateMask,maxBufferedChunks:$.maxBufferedChunks,maxFragments:$.maxFragments,maxPayload:$.maxPayload,skipUTF8Validation:$.skipUTF8Validation})}),$.finishRequest)$.finishRequest(R,J);else R.end()}function V0(J,K){J._readyState=z.CLOSING,J._errorEmitted=!0,J.emit("error",K),J.emitClose()}function g1(J){return J.path=J.socketPath,R5.connect(J)}function w1(J){if(J.path=void 0,!J.servername&&J.servername!=="")J.servername=R5.isIP(J.host)?"":J.host;return D1.connect(J)}function O(J,K,X){J._readyState=z.CLOSING;let Z=Error(X);if(Error.captureStackTrace(Z,O),K.setHeader){if(K[F5]=!0,K.abort(),K.socket&&!K.socket.destroyed)K.socket.destroy();process.nextTick(V0,J,Z)}else K.destroy(Z),K.once("error",J.emit.bind(J,"error")),K.once("close",J.emitClose.bind(J))}function W0(J,K,X){if(K){let Z=x1(K)?K.size:S1(K).length;if(J._socket)J._sender._bufferedBytes+=Z;else J._bufferedAmount+=Z}if(X){let Z=Error(`WebSocket is not open: readyState ${J.readyState} (${q[J.readyState]})`);process.nextTick(X,Z)}}function h1(J,K){let X=this[A];if(X._closeFrameReceived=!0,X._closeMessage=K,X._closeCode=J,X._socket[A]===void 0)return;if(X._socket.removeListener("data",_0),process.nextTick(P5,X._socket),J===1005)X.close();else X.close(J,K)}function m1(){let J=this[A];if(!J.isPaused)J._socket.resume()}function f1(J){let K=this[A];if(K._socket[A]!==void 0)K._socket.removeListener("data",_0),process.nextTick(P5,K._socket),K.close(J[q1]);if(!K._errorEmitted)K._errorEmitted=!0,K.emit("error",J)}function H5(){this[A].emitClose()}function u1(J,K){this[A].emit("message",J,K)}function l1(J){let K=this[A];if(K._autoPong)K.pong(J,!this._isServer,A5);K.emit("ping",J)}function p1(J){this[A].emit("pong",J)}function P5(J){J.resume()}function b1(J){let K=this[A];if(K.readyState===z.CLOSED)return;if(K.readyState===z.OPEN)K._readyState=z.CLOSING,M5(K);if(this._socket.end(),!K._errorEmitted)K._errorEmitted=!0,K.emit("error",J)}function M5(J){J._closeTimer=setTimeout(J._socket.destroy.bind(J._socket),J._closeTimeout)}function O5(){let J=this[A];if(this.removeListener("close",O5),this.removeListener("data",_0),this.removeListener("end",T5),J._readyState=z.CLOSING,!this._readableState.endEmitted&&!J._closeFrameReceived&&!J._receiver._writableState.errorEmitted&&this._readableState.length!==0){let K=this.read(this._readableState.length);J._receiver.write(K)}if(J._receiver.end(),this[A]=void 0,clearTimeout(J._closeTimer),J._receiver._writableState.finished||J._receiver._writableState.errorEmitted)J.emitClose();else J._receiver.on("error",H5),J._receiver.on("finish",H5)}function _0(J){if(!this[A]._receiver.write(J))this.pause()}function T5(){let J=this[A];J._readyState=z.CLOSING,J._receiver.end(),this.end()}function x5(){let J=this[A];if(this.removeListener("error",x5),this.on("error",A5),J)J._readyState=z.CLOSING,this.destroy()}});var L5=M((U4,q5)=>{var C4=N0(),{Duplex:k1}=H("stream");function C5(J){J.emit("close")}function i1(){if(!this.destroyed&&this._writableState.finished)this.destroy()}function U5(J){if(this.removeListener("error",U5),this.destroy(),this.listenerCount("error")===0)this.emit("error",J)}function d1(J,K){let X=!0,Z=new k1({...K,autoDestroy:!1,emitClose:!1,objectMode:!1,writableObjectMode:!1});return J.on("message",function(G,Q){let I=!Q&&Z._readableState.objectMode?G.toString():G;if(!Z.push(I))J.pause()}),J.once("error",function(G){if(Z.destroyed)return;X=!1,Z.destroy(G)}),J.once("close",function(){if(Z.destroyed)return;Z.push(null)}),Z._destroy=function($,G){if(J.readyState===J.CLOSED){G($),process.nextTick(C5,Z);return}let Q=!1;if(J.once("error",function(j){Q=!0,G(j)}),J.once("close",function(){if(!Q)G($);process.nextTick(C5,Z)}),X)J.terminate()},Z._final=function($){if(J.readyState===J.CONNECTING){J.once("open",function(){Z._final($)});return}if(J._socket===null)return;if(J._socket._writableState.finished){if($(),Z._readableState.endEmitted)Z.destroy()}else J._socket.once("finish",function(){$()}),J.close()},Z._read=function(){if(J.isPaused)J.resume()},Z._write=function($,G,Q){if(J.readyState===J.CONNECTING){J.once("open",function(){Z._write($,G,Q)});return}J.send($,Q)},Z.on("end",i1),Z.on("error",U5),Z}q5.exports=d1});var y0=M((q4,W5)=>{var{tokenChars:c1}=b();function n1(J){let K=new Set,X=-1,Z=-1,$=0;for($;$<J.length;$++){let Q=J.charCodeAt($);if(Z===-1&&c1[Q]===1){if(X===-1)X=$}else if($!==0&&(Q===32||Q===9)){if(Z===-1&&X!==-1)Z=$}else if(Q===44){if(X===-1)throw SyntaxError(`Unexpected character at index ${$}`);if(Z===-1)Z=$;let I=J.slice(X,Z);if(K.has(I))throw SyntaxError(`The "${I}" subprotocol is duplicated`);K.add(I),X=Z=-1}else throw SyntaxError(`Unexpected character at index ${$}`)}if(X===-1||Z!==-1)throw SyntaxError("Unexpected end of input");let G=J.slice(X,$);if(K.has(G))throw SyntaxError(`The "${G}" subprotocol is duplicated`);return K.add(G),K}W5.exports={parse:n1}});var g5=M((W4,v5)=>{var r1=H("events"),H0=H("http"),{Duplex:L4}=H("stream"),{createHash:a1}=H("crypto"),y5=z0(),w=p(),s1=y0(),o1=N0(),{CLOSE_TIMEOUT:t1,GUID:e1,kWebSocket:J4}=C(),K4=/^[+/0-9A-Za-z]{22}==$/;class S5 extends r1{constructor(J,K){super();if(J={allowSynchronousEvents:!0,autoPong:!0,maxBufferedChunks:262144,maxFragments:16384,maxPayload:104857600,skipUTF8Validation:!1,perMessageDeflate:!1,handleProtocols:null,clientTracking:!0,closeTimeout:t1,verifyClient:null,noServer:!1,backlog:null,server:null,host:null,path:null,port:null,WebSocket:o1,...J},J.port==null&&!J.server&&!J.noServer||J.port!=null&&(J.server||J.noServer)||J.server&&J.noServer)throw TypeError('One and only one of the "port", "server", or "noServer" options must be specified');if(J.port!=null)this._server=H0.createServer((X,Z)=>{let $=H0.STATUS_CODES[426];Z.writeHead(426,{"Content-Length":$.length,"Content-Type":"text/plain"}),Z.end($)}),this._server.listen(J.port,J.host,J.backlog,K);else if(J.server)this._server=J.server;if(this._server){let X=this.emit.bind(this,"connection");this._removeListeners=X4(this._server,{listening:this.emit.bind(this,"listening"),error:this.emit.bind(this,"error"),upgrade:(Z,$,G)=>{this.handleUpgrade(Z,$,G,X)}})}if(J.perMessageDeflate===!0)J.perMessageDeflate={};if(J.clientTracking)this.clients=new Set,this._shouldEmitClose=!1;this.options=J,this._state=0}address(){if(this.options.noServer)throw Error('The server is operating in "noServer" mode');if(!this._server)return null;return this._server.address()}close(J){if(this._state===2){if(J)this.once("close",()=>{J(Error("The server is not running"))});process.nextTick(J0,this);return}if(J)this.once("close",J);if(this._state===1)return;if(this._state=1,this.options.noServer||this.options.server){if(this._server)this._removeListeners(),this._removeListeners=this._server=null;if(this.clients)if(!this.clients.size)process.nextTick(J0,this);else this._shouldEmitClose=!0;else process.nextTick(J0,this)}else{let K=this._server;this._removeListeners(),this._removeListeners=this._server=null,K.close(()=>{J0(this)})}}shouldHandle(J){if(this.options.path){let K=J.url.indexOf("?");if((K!==-1?J.url.slice(0,K):J.url)!==this.options.path)return!1}return!0}handleUpgrade(J,K,X,Z){K.on("error",E5);let $=J.headers["sec-websocket-key"],G=J.headers.upgrade,Q=+J.headers["sec-websocket-version"];if(J.method!=="GET"){h(this,J,K,405,"Invalid HTTP method");return}if(G===void 0||G.toLowerCase()!=="websocket"){h(this,J,K,400,"Invalid Upgrade header");return}if($===void 0||!K4.test($)){h(this,J,K,400,"Missing or invalid Sec-WebSocket-Key header");return}if(Q!==13&&Q!==8){h(this,J,K,400,"Missing or invalid Sec-WebSocket-Version header",{"Sec-WebSocket-Version":"13, 8"});return}if(!this.shouldHandle(J)){K0(K,400);return}let I=J.headers["sec-websocket-protocol"],j=new Set;if(I!==void 0)try{j=s1.parse(I)}catch(Y){h(this,J,K,400,"Invalid Sec-WebSocket-Protocol header");return}let V=J.headers["sec-websocket-extensions"],_={};if(this.options.perMessageDeflate&&V!==void 0){let Y=new w({...this.options.perMessageDeflate,isServer:!0,maxPayload:this.options.maxPayload});try{let F=y5.parse(V);if(F[w.extensionName])Y.accept(F[w.extensionName]),_[w.extensionName]=Y}catch(F){h(this,J,K,400,"Invalid or unacceptable Sec-WebSocket-Extensions header");return}}if(this.options.verifyClient){let Y={origin:J.headers[`${Q===8?"sec-websocket-origin":"origin"}`],secure:!!(J.socket.authorized||J.socket.encrypted),req:J};if(this.options.verifyClient.length===2){this.options.verifyClient(Y,(F,D,R,N)=>{if(!F)return K0(K,D||401,R,N);this.completeUpgrade(_,$,j,J,K,X,Z)});return}if(!this.options.verifyClient(Y))return K0(K,401)}this.completeUpgrade(_,$,j,J,K,X,Z)}completeUpgrade(J,K,X,Z,$,G,Q){if(!$.readable||!$.writable)return $.destroy();if($[J4])throw Error("server.handleUpgrade() was called more than once with the same socket, possibly due to a misconfiguration");if(this._state>0)return K0($,503);let j=["HTTP/1.1 101 Switching Protocols","Upgrade: websocket","Connection: Upgrade",`Sec-WebSocket-Accept: ${a1("sha1").update(K+e1).digest("base64")}`],V=new this.options.WebSocket(null,void 0,this.options);if(X.size){let _=this.options.handleProtocols?this.options.handleProtocols(X,Z):X.values().next().value;if(_)j.push(`Sec-WebSocket-Protocol: ${_}`),V._protocol=_}if(J[w.extensionName]){let _=J[w.extensionName].params,Y=y5.format({[w.extensionName]:[_]});j.push(`Sec-WebSocket-Extensions: ${Y}`),V._extensions=J}if(this.emit("headers",j,Z),$.write(j.concat(`\r
|
|
2
|
+
`).join(`\r
|
|
3
|
+
`)),$.removeListener("error",E5),V.setSocket($,G,{allowSynchronousEvents:this.options.allowSynchronousEvents,maxBufferedChunks:this.options.maxBufferedChunks,maxFragments:this.options.maxFragments,maxPayload:this.options.maxPayload,skipUTF8Validation:this.options.skipUTF8Validation}),this.clients)this.clients.add(V),V.on("close",()=>{if(this.clients.delete(V),this._shouldEmitClose&&!this.clients.size)process.nextTick(J0,this)});Q(V,Z)}}v5.exports=S5;function X4(J,K){for(let X of Object.keys(K))J.on(X,K[X]);return function(){for(let Z of Object.keys(K))J.removeListener(Z,K[Z])}}function J0(J){J._state=2,J.emit("close")}function E5(){this.destroy()}function K0(J,K,X,Z){X=X||H0.STATUS_CODES[K],Z={Connection:"close","Content-Type":"text/html","Content-Length":Buffer.byteLength(X),...Z},J.once("finish",J.destroy),J.end(`HTTP/1.1 ${K} ${H0.STATUS_CODES[K]}\r
|
|
4
|
+
`+Object.keys(Z).map(($)=>`${$}: ${Z[$]}`).join(`\r
|
|
5
|
+
`)+`\r
|
|
6
|
+
\r
|
|
7
|
+
`+X)}function h(J,K,X,Z,$,G){if(J.listenerCount("wsClientError")){let Q=Error($);Error.captureStackTrace(Q,h),J.emit("wsClientError",Q,X,K)}else K0(X,Z,$,G)}});var $4,G4,Q4,j4,I4,z4,w5,Y4,E4;var V4=Z4(()=>{$4=S(L5(),1),G4=S(z0(),1),Q4=S(p(),1),j4=S(T0(),1),I4=S(B0(),1),z4=S(y0(),1),w5=S(N0(),1),Y4=S(g5(),1),E4=w5.default});V4();var export_subprotocol=z4.default;var export_extension=G4.default;var export_createWebSocketStream=$4.default;var export_WebSocketServer=Y4.default;var export_WebSocket=w5.default;var export_Sender=I4.default;var export_Receiver=j4.default;var export_PerMessageDeflate=Q4.default;export{export_subprotocol as subprotocol,export_extension as extension,E4 as default,export_createWebSocketStream as createWebSocketStream,export_WebSocketServer as WebSocketServer,export_WebSocket as WebSocket,export_Sender as Sender,export_Receiver as Receiver,export_PerMessageDeflate as PerMessageDeflate};
|
package/dist/cli.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
2
|
-
`));return}if(j[0]==="remote-control"||j[0]==="rc"||j[0]==="remote"||j[0]==="sync"||j[0]==="bridge"){J("cli_bridge_path");let{enableConfigs:q}=await import("./chunks/config-1.1.
|
|
1
|
+
import{Jsa as z}from"./chunks/cli-1.1.4-xxe2ztwq.mjs";if(typeof globalThis.File>"u")try{let{File:j}=z("node:buffer");globalThis.File=j}catch{globalThis.File=class extends Blob{name;lastModified;constructor(Y,$,U){super(Y,U);this.name=$,this.lastModified=U?.lastModified??Date.now()}}}if(typeof Promise.withResolvers!=="function")Promise.withResolvers=function(){let Y=()=>{},$=()=>{};return{promise:new Promise((N,J)=>{Y=N,$=J}),resolve:Y,reject:$}};{let j=z("node:util");if(typeof j.markAsUncloneable!=="function")j.markAsUncloneable=()=>{}}process.env.CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS??="true";process.env.CLAUDE_CODE_ENABLE_FINE_GRAINED_TOOL_STREAMING??="1";process.env.COREPACK_ENABLE_AUTO_PIN="0";if(process.env.CLAUDE_CODE_REMOTE==="true"){let j=process.env.NODE_OPTIONS||"";process.env.NODE_OPTIONS=j?`${j} --max-old-space-size=8192`:"--max-old-space-size=8192"}var A=/^[a-z][a-z0-9-]*$/;async function B(){let j=process.argv.slice(2);if(j.length===1&&(j[0]==="--version"||j[0]==="-v"||j[0]==="-V")){console.log("1.1.4 (Claudin)");return}if(!process.env.CLAUDIN_HELP_CAPTURE&&(j.length===1&&(j[0]==="--help"||j[0]==="-h")||j.length===2&&(j[1]==="--help"||j[1]==="-h")&&A.test(j[0])))try{let{readFileSync:q}=await import("node:fs"),{fileURLToPath:H}=await import("node:url"),{join:K,dirname:Q}=await import("node:path"),Z=Q(H(import.meta.url)),X=j.length===1?"help.txt":`help-${j[0]}.txt`,V=q(K(Z,X),"utf-8");process.stdout.write(V);return}catch{}if(j.includes("--provider"))console.error('The --provider CLI flag was removed. Run "claudin" and use /provider to choose a profile.'),process.exit(1);let Y=import("./chunks/main-1.1.4-wapb45da.mjs");Y.catch(()=>{});{let{enableConfigs:q}=await import("./chunks/config-1.1.4-jb46a3qp.mjs");q()}{let{applySafeConfigEnvironmentVariables:q}=await import("./chunks/managedEnv-1.1.4-qyy8p7f2.mjs");q()}(async()=>{let{runStartupUpdateCheck:q}=await import("./chunks/startupUpdateCheck-1.1.4-98n3b718.mjs");await q(j)})();let{tryGetActiveProvider:$}=await import("./chunks/activeProvider-1.1.4-3st8cbec.mjs"),U=$();if(U?.transport==="github_copilot"){let{hydrateGithubModelsTokenFromSecureStorage:q,refreshGithubModelsTokenIfNeeded:H}=await import("./chunks/githubModelsCredentials-1.1.4-dvpz9d06.mjs");await H(),q()}let{validateProviderEnvForStartupOrExit:N}=await import("./chunks/providerValidation-1.1.4-sr2vhead.mjs");if(await N(),U&&U.transport==="anthropic")(async()=>{let q=await import("./chunks/grove-1.1.4-ag51yh4b.mjs");q.getGroveSettings(),q.getGroveNoticeConfig()})();if(U&&process.stdout.isTTY&&process.env.CLAUDIN_CLEAR_ON_START==="1"){let{clearTerminal:q}=await import("./chunks/clearTerminal-1.1.4-ncdjyhkh.mjs");process.stdout.write(q)}let{profileCheckpoint:J}=await import("./chunks/startupProfiler-1.1.4-8jnqyvyn.mjs");if(J("cli_entry"),j[0]==="--dump-system-prompt"){J("cli_dump_system_prompt_path");let{enableConfigs:q}=await import("./chunks/config-1.1.4-jb46a3qp.mjs");q();let{getMainLoopModel:H}=await import("./chunks/model-1.1.4-x8a7yhj1.mjs"),K=j.indexOf("--model"),Q=K!==-1&&j[K+1]||H(),{getSystemPrompt:Z}=await import("./chunks/prompts-1.1.4-26y972y6.mjs"),X=await Z([],Q);console.log(X.join(`
|
|
2
|
+
`));return}if(j[0]==="remote-control"||j[0]==="rc"||j[0]==="remote"||j[0]==="sync"||j[0]==="bridge"){J("cli_bridge_path");let{enableConfigs:q}=await import("./chunks/config-1.1.4-jb46a3qp.mjs");q();let{getBridgeDisabledReason:H,checkBridgeMinVersion:K}=await import("./chunks/bridgeEnabled-1.1.4-0mda1at6.mjs"),{BRIDGE_LOGIN_ERROR:Q}=await import("./chunks/types-1.1.4-ggcwt1pq.mjs"),{bridgeMain:Z}=await import("./chunks/bridgeMain-1.1.4-pya2apxm.mjs"),{exitWithError:X}=await import("./chunks/process-1.1.4-pjq03ry2.mjs"),{getClaudeAIOAuthTokens:V}=await import("./chunks/auth-1.1.4-d8jp870f.mjs");if(!V()?.accessToken)X(Q);let w=await H();if(w)X(`Error: ${w}`);let D=K();if(D)X(D);let{waitForPolicyLimitsToLoad:_,isPolicyAllowed:f}=await import("./chunks/index-1.1.4-g4bsry7f.mjs");if(await _(),!f("allow_remote_control"))X("Error: Remote Control is disabled by your organization's policy.");await Z(j.slice(1));return}if(!1)switch(j[0]){case"ps":case"logs":case"attach":case"kill":default:}if((j.includes("--tmux")||j.includes("--tmux=classic"))&&(j.includes("-w")||j.includes("--worktree")||j.some((q)=>q.startsWith("--worktree=")))){J("cli_tmux_worktree_fast_path");let{enableConfigs:q}=await import("./chunks/config-1.1.4-jb46a3qp.mjs");q();let{isWorktreeModeEnabled:H}=await import("./chunks/worktreeModeEnabled-1.1.4-axxnvhc8.mjs");if(H()){let{execIntoTmuxWorktree:K}=await import("./chunks/worktree-1.1.4-6xqk6k5z.mjs"),Q=await K(j);if(Q.handled)return;if(Q.error){let{exitWithError:Z}=await import("./chunks/process-1.1.4-pjq03ry2.mjs");Z(Q.error)}}}if(j.length===1&&(j[0]==="--update"||j[0]==="--upgrade"))process.argv=[process.argv[0],process.argv[1],"update"];if(j.includes("--bare"))process.env.CLAUDE_CODE_SIMPLE="1";if(process.env.CLAUDIN_DISABLE_EARLY_INPUT!=="1"){let{startCapturingEarlyInput:q}=await import("./chunks/earlyInput-1.1.4-wmn2wrxh.mjs");q()}J("cli_before_main_import");let{main:F}=await Y;J("cli_after_main_import"),await F(),J("cli_after_main_complete")}B();
|