MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / getClaudeSocketName

Function getClaudeSocketName

source code/utils/tmuxSocket.ts:93–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

91 * Format: claude-<PID>
92 */
93export function getClaudeSocketName(): string {
94 if (!socketName) {
95 socketName = `${CLAUDE_SOCKET_PREFIX}-${process.pid}`
96 }
97 return socketName
98}
99
100/**
101 * Gets the socket path if the socket has been initialized.

Callers 2

killTmuxServerFunction · 0.85
doInitializeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected