feat(api): add terminal session persistence with Prisma model and CRUD #517

Merged
jason.woltje merged 1 commits from feat/ms19-terminal-persistence-v2 into main 2026-02-26 02:49:32 +00:00

1 Commits

Author SHA1 Message Date
12d3f6ea35 feat(api): add terminal session persistence with Prisma model and CRUD service
Some checks failed
ci/woodpecker/push/api Pipeline failed
Adds database-backed TerminalSession model with ACTIVE/CLOSED status enum,
migration SQL, TerminalSessionService (create/findByWorkspace/close/findById),
DTO file with class-validator decorators, unit tests (12 tests), and module
registration. Workspace relation and indexed columns enable efficient session
listing and recovery.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 20:48:49 -06:00