mirror of
https://github.com/openai/codex.git
synced 2026-11-18 22:20:48 +00:00
## Why `/import` was unavailable in remote sessions and when connected to the local app-server daemon. Shared servers also broadcast import completions from other clients, which must not clear this client's pending import or report its completion. ## What changed - Allow external setup migration through the connected app server in both session types. - Detect setup using the active thread's working directory, or the remote working-directory override before a thread starts. Use home-only detection when no remote directory is available. - Track the returned `import_id` and only clear the pending import and report completion for a matching notification. - Skip refreshing configuration from local disk after import completion in remote workspaces. ## Testing Add shared-transport coverage in embedded and remote modes for detection with and without a working directory, retrying failed imports, rejecting overlapping imports, and matching interleaved completion notifications queued before the import response. GitOrigin-RevId: 864ed9fe87e5c554da79907ed80a01f0c9948392