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

Function getTerminalPanelSocket

source code/utils/terminalPanel.ts:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32 * so that each instance has its own isolated terminal panel.
33 */
34export function getTerminalPanelSocket(): string {
35 // Use first 8 chars of session UUID for uniqueness while keeping name short
36 const sessionId = getSessionId()
37 return `claude-panel-${sessionId.slice(0, 8)}`
38}
39
40let instance: TerminalPanel | undefined
41

Callers 3

hasSessionMethod · 0.85
createSessionMethod · 0.85
attachSessionMethod · 0.85

Calls 1

getSessionIdFunction · 0.85

Tested by

no test coverage detected