MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / getSystemInfo

Function getSystemInfo

common/src/util/system-info.ts:42–53  ·  view source on GitHub ↗
(processEnv: ProcessEnv = getProcessEnv())

Source from the content-addressed store, hash-verified

40}
41
42export const getSystemInfo = (processEnv: ProcessEnv = getProcessEnv()) => {
43
44 return {
45 platform,
46 shell: 'bash',
47 nodeVersion: process.version,
48 arch: process.arch,
49 homedir: os.homedir(),
50 cpus: os.cpus().length,
51 chromeAvailable: findChromeExecutable() !== null,
52 }
53}

Callers 2

initialSessionStateFunction · 0.90
getProjectFileContextFunction · 0.90

Calls 2

getProcessEnvFunction · 0.90
findChromeExecutableFunction · 0.85

Tested by

no test coverage detected