MCPcopy
hub / github.com/claude-code-best/claude-code / getClaudeSocketName

Function getClaudeSocketName

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

Source from the content-addressed store, hash-verified

89 * Format: claude-<PID>
90 */
91export function getClaudeSocketName(): string {
92 if (!socketName) {
93 socketName = `${CLAUDE_SOCKET_PREFIX}-${process.pid}`
94 }
95 return socketName
96}
97
98/**
99 * 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