()
| 32 | * so that each instance has its own isolated terminal panel. |
| 33 | */ |
| 34 | export 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 | |
| 40 | let instance: TerminalPanel | undefined |
| 41 |
no test coverage detected