mirror of
https://github.com/stablyai/orca.git
synced 2026-11-13 17:37:40 +00:00
Terminals a paired desktop or mobile client opened on a headless serve host got a workspace-less serve-<uuid> session id, so the host inferred their owner from the cwd. Folder workspaces that share a path then traded those terminals whenever one was listed, and deleting a workspace stopped terminals shown in another. Serve ids now carry the workspace like every other daemon id. Inventory refresh keeps a persisted layout binding even when a targeted listing does not include its workspace, so restored serve-<uuid> terminals stay put. A cwd guess is recorded as such and never drives a worktree-scoped stop. Fixes #36716 Reported-by: Guy Shechter (@shechter) Co-authored-by: Bing.Z <zzb@gxsmjx.com>