apps/mobile/src/connection/runtime.ts | 7 +- apps/mobile/src/connection/storage.ts | 19 ++-- apps/server/src/auth/http.ts | 10 +++ apps/server/src/checkpointing/CheckpointDiffQuery.test.ts | 5 ++ apps/server/src/orchestration/Layers/OrchestrationEngine.test.ts | 1 + apps/server/src/orchestration/Layers/OrchestrationEngine.ts | 4 +- apps/server/src/orchestration/Layers/ProjectionSnapshotQuery.ts | 31 +++++++ apps/server/src/orchestration/Services/OrchestrationEngine.ts | 5 ++ apps/server/src/orchestration/Services/ProjectionSnapshotQuery.ts | 11 +++ apps/server/src/orchestration/http.ts | 34 ++++++++ apps/server/src/project/ProjectSetupScriptRunner.test.ts | 1 + apps/server/src/provider/Layers/ProviderSessionReaper.test.ts | 1 + apps/server/src/server.test.ts | 1 + apps/server/src/serverRuntimeStartup.test.ts | 4 + apps/server/src/ws.ts | 149 +++++++++++++++++++++++--------- apps/web/src/connection/runtime.ts | 7 +- apps/web/src/connection/storage.ts | 21 +++-- apps/web/src/environments/primary/auth.ts | 2 + packages/client-runtime/src/connection/errors.ts | 9 ++ packages/client-runtime/src/platform/persistence.ts | 9 +- packages/client-runtime/src/rpc/http.ts | 2 + packages/client-runtime/src/state/environmentHttpAuth.ts | 73 ++++++++++++++++ packages/client-runtime/src/state/shell-sync.test.ts | 80 ++++++++++++++++- packages/client-runtime/src/state/shell.ts | 54 ++++++++++-- packages/client-runtime/src/state/shellSnapshotHttp.ts | 92 ++++++++++++++++++++ packages/client-runtime/src/state/threadSnapshotHttp.ts | 120 +++++++++++++++++++++++++ packages/client-runtime/src/state/threads-atoms.test.ts | 4 +- packages/client-runtime/src/state/threads-sync.test.ts | 101 +++++++++++++++++++--- packages/client-runtime/src/state/threads.ts | 89 ++++++++++++++----- packages/contracts/src/environmentHttp.ts | 47 +++++++++- packages/contracts/src/orchestration.ts | 23 ++++- 31 files changed, 907 insertions(+), 109 deletions(-)