apps/server/integration/OrchestrationEngineHarness.integration.ts | 2 +- apps/server/integration/providerService.integration.test.ts | 2 +- apps/server/package.json | 8 +-- apps/server/src/checkpointing/Services/CheckpointDiffQuery.ts | 2 +- apps/server/src/checkpointing/Services/CheckpointStore.ts | 2 +- apps/server/src/config.ts | 14 ++--- apps/server/src/git/Layers/CodexTextGeneration.test.ts | 2 +- apps/server/src/git/Layers/GitCore.test.ts | 2 +- apps/server/src/git/Layers/GitManager.test.ts | 2 +- apps/server/src/git/Layers/GitService.test.ts | 2 +- apps/server/src/git/Services/GitCore.ts | 4 +- apps/server/src/git/Services/GitHubCli.ts | 4 +- apps/server/src/git/Services/GitManager.ts | 6 +- apps/server/src/git/Services/GitService.ts | 2 +- apps/server/src/git/Services/TextGeneration.ts | 2 +- apps/server/src/keybindings.test.ts | 27 +++++++-- apps/server/src/keybindings.ts | 2 +- apps/server/src/main.test.ts | 2 +- apps/server/src/main.ts | 4 +- apps/server/src/open.ts | 2 +- apps/server/src/orchestration/Layers/CheckpointReactor.test.ts | 2 +- apps/server/src/orchestration/Layers/OrchestrationEngine.ts | 4 +- apps/server/src/orchestration/Layers/ProjectionPipeline.test.ts | 2 +- apps/server/src/orchestration/Services/CheckpointReactor.ts | 2 +- apps/server/src/orchestration/Services/OrchestrationEngine.ts | 2 +- apps/server/src/orchestration/Services/OrchestrationReactor.ts | 2 +- apps/server/src/orchestration/Services/ProjectionPipeline.ts | 2 +- apps/server/src/orchestration/Services/ProjectionSnapshotQuery.ts | 2 +- apps/server/src/orchestration/Services/ProviderCommandReactor.ts | 2 +- apps/server/src/orchestration/Services/ProviderRuntimeIngestion.ts | 2 +- apps/server/src/persistence/Layers/OrchestrationEventStore.test.ts | 4 +- apps/server/src/persistence/Layers/ProviderSessions.ts | 8 +-- apps/server/src/persistence/NodeSqliteClient.ts | 2 +- apps/server/src/persistence/Services/OrchestrationCommandReceipts.ts | 2 +- apps/server/src/persistence/Services/OrchestrationEventStore.ts | 2 +- apps/server/src/persistence/Services/ProjectionCheckpoints.ts | 2 +- apps/server/src/persistence/Services/ProjectionPendingApprovals.ts | 2 +- apps/server/src/persistence/Services/ProjectionProjects.ts | 2 +- apps/server/src/persistence/Services/ProjectionState.ts | 2 +- apps/server/src/persistence/Services/ProjectionThreadActivities.ts | 2 +- apps/server/src/persistence/Services/ProjectionThreadMessages.ts | 2 +- apps/server/src/persistence/Services/ProjectionThreadSessions.ts | 2 +- apps/server/src/persistence/Services/ProjectionThreads.ts | 2 +- apps/server/src/persistence/Services/ProjectionTurns.ts | 2 +- apps/server/src/persistence/Services/ProviderSessionRuntime.ts | 2 +- apps/server/src/persistence/Services/ProviderSessions.ts | 2 +- apps/server/src/provider/Layers/ProviderAdapterRegistry.test.ts | 2 +- apps/server/src/provider/Layers/ProviderService.test.ts | 2 +- apps/server/src/provider/Layers/ProviderSessionDirectory.test.ts | 2 +- apps/server/src/provider/Services/CodexAdapter.ts | 2 +- apps/server/src/provider/Services/ProviderAdapterRegistry.ts | 2 +- apps/server/src/provider/Services/ProviderService.ts | 2 +- apps/server/src/provider/Services/ProviderSessionDirectory.ts | 2 +- apps/server/src/serverLayers.ts | 2 +- apps/server/src/terminal/Layers/Manager.test.ts | 46 ++++++++++++++-- apps/server/src/terminal/Layers/Manager.ts | 95 +++++++++++++++++++++++++------- apps/server/src/terminal/Layers/NodePTY.test.ts | 2 +- apps/server/src/terminal/Layers/NodePTY.ts | 9 +-- apps/server/src/terminal/Services/Manager.ts | 2 +- apps/server/src/terminal/Services/PTY.ts | 15 ++++- apps/server/src/wsServer.ts | 24 ++++---- apps/server/tsconfig.json | 9 ++- apps/web/package.json | 3 +- apps/web/src/components/DiffWorkerPoolProvider.tsx | 4 +- apps/web/src/workers/diffs.worker.ts | 1 - apps/web/tsconfig.json | 14 ++++- bun.lock | 32 +++++++---- package.json | 17 ++++-- packages/contracts/package.json | 4 +- packages/contracts/tsconfig.json | 9 ++- scripts/build-desktop-dmg.mjs | 44 ++++++++++++++- 71 files changed, 353 insertions(+), 148 deletions(-)