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

Function getNcodeTmuxEnv

src/utils/tmuxSocket.ts:135–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

133 * When null, Shell.ts does not override TMUX, preserving user's environment.
134 */
135export function getNcodeTmuxEnv(): string | null {
136 if (!socketPath || serverPid === null) {
137 return null
138 }
139 if (!socketPath || serverPid === null) {
140 return null
141 }
142 return `${socketPath},${serverPid},0`
143}
144
145/**
146 * Checks if tmux is available on this system.

Callers 1

getEnvironmentOverridesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected