2 Commits

Author SHA1 Message Date
Sam Dornan
2c71226887 ci: run mypy in its own workflow instead of through Trunk (#4724) 2026-09-25 21:37:01 -04:00
Georges-Antoine Assi
808239db37 refactor(streaming): generate the remaining streaming API types from the backend
The launch socket payloads, the 409 busy detail and the card-import answer
were hand-written in services/api/streaming.ts and could drift from the
backend models they mirror.

- Publish Socket.IO payload models into the OpenAPI components
  (utils/openapi.py), starting with the three streaming launch events.
- Raise the busy 409 from a ContainerBusyDetail model and declare it on
  the game and desktop claim routes.
- Derive MemoryCardImport from ClaimStreamingSessionRequest, and type the
  list and control calls with their generated response models.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 20:57:36 -04:00