MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getTerminalPanelSocket

Function getTerminalPanelSocket

src/utils/terminalPanel.ts:32–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 3

hasSessionMethod · 0.85
createSessionMethod · 0.85
attachSessionMethod · 0.85

Calls 1

getSessionIdFunction · 0.85

Tested by

no test coverage detected