MCPcopy Create free account
hub / github.com/Noumena-Network/code / getInstallationEnv

Function getInstallationEnv

src/utils/ide.ts:972–984  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

970}
971
972function getInstallationEnv(): NodeJS.ProcessEnv | undefined {
973 // Cursor on Linux may incorrectly implement
974 // the `code` command and actually launch the UI.
975 // Make this error out if this happens by clearing the DISPLAY
976 // environment variable.
977 if (getPlatform() === 'linux') {
978 return {
979 ...process.env,
980 DISPLAY: '',
981 }
982 }
983 return undefined
984}
985
986function getClaudeCodeVersion() {
987 return MACRO.VERSION

Callers 4

isIDEExtensionInstalledFunction · 0.85
installIDEExtensionFunction · 0.85
installFromArtifactoryFunction · 0.85

Calls 1

getPlatformFunction · 0.85

Tested by

no test coverage detected