* Get all session IDs for a workspace. * Used by frontend to discover existing sessions to reattach to after reload.
(workspaceId: string)
| 292 | * Used by frontend to discover existing sessions to reattach to after reload. |
| 293 | */ |
| 294 | getWorkspaceSessionIds(workspaceId: string): string[] { |
| 295 | return Array.from(this.sessions.entries()) |
| 296 | .filter(([, session]) => session.workspaceId === workspaceId) |
| 297 | .map(([id]) => id); |
| 298 | } |
| 299 | |
| 300 | /** |
| 301 | * Close all terminal sessions for a workspace |
no outgoing calls
no test coverage detected