apps/server/integration/providerService.integration.test.ts | 11 +- apps/server/src/checkpointing/Layers/CheckpointService.test.ts | 11 +- apps/server/src/checkpointing/Layers/CheckpointService.ts | 48 +++++-- apps/server/src/persistence/Errors.ts | 34 +++++ apps/server/src/persistence/Layers/ProviderSessions.test.ts | 81 +++++++++++ apps/server/src/persistence/Layers/ProviderSessions.ts | 232 ++++++++++++++++++++++++++++++++ apps/server/src/persistence/Migrations.ts | 2 + apps/server/src/persistence/Migrations/004_ProviderSessions.ts | 21 +++ apps/server/src/persistence/Services/ProviderSessions.ts | 51 +++++++ apps/server/src/provider/Errors.ts | 17 +++ apps/server/src/provider/Layers/ProviderService.test.ts | 64 ++++++++- apps/server/src/provider/Layers/ProviderService.ts | 105 ++++++++------- apps/server/src/provider/Layers/ProviderSessionDirectory.test.ts | 91 ++++++++++++- apps/server/src/provider/Layers/ProviderSessionDirectory.ts | 172 ++++++++++++++++------- apps/server/src/provider/Services/ProviderSessionDirectory.ts | 43 +++++- apps/server/src/wsServer.ts | 6 +- 16 files changed, 859 insertions(+), 130 deletions(-)