Return existing bootstrap thread IDs in welcome and guard root navigatio

- Server welcome now includes bootstrap project/thread IDs when cwd project/thread already exist
- Added regression test for reconnecting with persisted bootstrap state
- Root route ignores post-dispose welcome handling and marks thread as handled after navigate
This commit is contained in:
Julius Marminge committed 2026-02-26 20:52:30 -08:00
1 parent a8d0e9b06b
commit cd685c9a64
3 files changed
+63 -2

No files matched your search

+3
View File
@@ -388,6 +388,9 @@ export const createServer = Effect.fn(function* (): Effect.fn.Return<
});
welcomeBootstrapProjectId = bootstrapProjectId;
welcomeBootstrapThreadId = threadId;
} else {
welcomeBootstrapProjectId = bootstrapProjectId;
welcomeBootstrapThreadId = existingThread.id;
}
}).pipe(
Effect.mapError(