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