MS19: Terminal backend — WebSocket gateway & PTY service #508

Closed
opened 2026-02-26 01:47:21 +00:00 by jason.woltje · 0 comments
Owner

Terminal Backend Infrastructure

Build the backend WebSocket gateway and PTY service for real terminal sessions.

Tasks

  • CT-TERM-001: Terminal WebSocket gateway & PTY session service
  • CT-TERM-002: Terminal session persistence (Prisma model + migration)

Acceptance Criteria

  • WebSocket gateway at /terminal namespace with workspace-scoped rooms
  • node-pty spawns real shell processes (bash/zsh)
  • Session CRUD: create, resize, kill terminal sessions
  • Prisma model for TerminalSession with migration
  • Auth via token extraction (consistent with existing WebSocket gateway)
  • Tests passing
## Terminal Backend Infrastructure Build the backend WebSocket gateway and PTY service for real terminal sessions. ### Tasks - CT-TERM-001: Terminal WebSocket gateway & PTY session service - CT-TERM-002: Terminal session persistence (Prisma model + migration) ### Acceptance Criteria - [ ] WebSocket gateway at /terminal namespace with workspace-scoped rooms - [ ] node-pty spawns real shell processes (bash/zsh) - [ ] Session CRUD: create, resize, kill terminal sessions - [ ] Prisma model for TerminalSession with migration - [ ] Auth via token extraction (consistent with existing WebSocket gateway) - [ ] Tests passing
jason.woltje added this to the MS19-ChatTerminal milestone 2026-02-26 01:47:21 +00:00
jason.woltje added the apiapi labels 2026-02-26 01:47:21 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mosaic/stack#508