mirror of
https://github.com/stablyai/orca.git
synced 2026-10-18 16:03:17 +00:00
The new-workspace project dropdown pinned resolution to the host of the currently-active workspace: handleProjectChange passed that host to resolveWorkspaceCreationRepoId as a hard `hostId` constraint. Picking a project set up only on a different host resolved to no repo (`project-not-set-up-on-host`), and the `if (!nextRepoId) return` guard swallowed the click — so the dropdown option did nothing and only projects on the current host were selectable. Treat the current host as a preference (focusedHostScope) and fall back to any host the project is ready on. The strict projectId+hostId path used by the explicit "Run on" host picker is unchanged. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>