Skip to content

Codex desktop sidebar should support Connection → Project → Thread grouping for remote hosts #24295

Open

Description

@mh5865

What variant of Codex are you using?

App

What feature would you like to see?

In Codex desktop on Mac A, when controlling Mac B as a remote Codex host, "Sort by Projects" does not show Mac B's projects. The remote threads are only visible under "Sort by Connections", but that view does not group threads by project. This makes remote-control workflows much harder to navigate than Codex mobile, where the host/project context is clearer.

Expected: "Sort by Connections" should support nested grouping: Connection/Host → Project → Thread. Alternatively, "Sort by Projects" should include remote host projects, with a visible host label.

Additional information

No response

Activity

  1. added
    enhancement
    on May 24, 2026
  2. added
    app
    session
    on May 24, 2026
  3. mh5865 commented on May 24, 2026

    @mh5865
    Author

    Codex Action

    Thanks for the duplicate suggestions. I reviewed #22947, #23933, and #24271.

    I do not think this is a duplicate of those issues. The closest one is #23933, but this report is narrower: Mac-to-Mac remote control is usable here. Mac B's threads do appear on Mac A when the sidebar is sorted by Connections.

    The problem is the Desktop sidebar information architecture after the remote threads are visible. "Sort by Projects" does not show Mac B's projects, while "Sort by Connections" shows Mac B's threads as a flat list without grouping them by their host project.

    Expected behavior: the remote sidebar should support nested grouping such as Connection/Host → Project → Thread. Alternatively, Sort by Projects should include remote host projects with a visible host label, so local and remote project namespaces are not silently separated.

    So this is related to #23933, #24271, and broader remote sidebar consistency, but it is specifically about Mac Desktop-to-Desktop remote host thread grouping, not a connection failure or iOS project picker mismatch.

  4. LightSide-Alex commented on Jun 3, 2026

    @LightSide-Alex

    Additional repro / confirmation on a newer Codex Desktop build.

    Environment:

    • Controller Mac: Codex Desktop 26.601.21317 / build 3511
    • Platform: macOS / Darwin 25.3.0 arm64
    • Remote host: another Mac running Codex Desktop, added under Settings > Connections > Control other devices
    • Same ChatGPT account/workspace on both Macs

    Observed behavior:

    1. The remote Mac appears as connected in Settings > Connections > Control other devices.
    2. In the main sidebar, Organize sidebar > By connection shows the remote Mac under Connections and lists remote chats/threads from that Mac.
    3. Opening one of those remote chats works.
    4. Switching the sidebar to Organize sidebar > By project does not create/show a project group for that remote Mac/project.
    5. Switching to project grouping only shows local project groups, while the remote chat disappears from the normal project-organized view unless it is pinned.
    6. Pinning the remote chat makes it visible in the pinned section, but that is a workaround for individual threads rather than a project browsing model.

    Expected behavior:

    • Either By connection should support nested grouping like Connection -> Project -> Thread, or By project should include remote-host projects with a visible host/connection label.
    • A user controlling another Codex App host should be able to browse that host's projects, not only discover remote threads via By connection or keep individual chats visible by pinning them.

    Actual behavior:

    • Mac-to-Mac remote control exposes remote chats/threads, but the project organization mode does not appear to mirror or expose the connected host's project groups.
    • The only reliable ways to find/use remote work are By connection or pinning specific remote chats.

    This is distinct from Create new project -> Remote, which creates/opens a remote filesystem project. The issue here is browsing existing Codex App projects/threads from a connected Codex host.

  5. jvl32003 commented on Jun 26, 2026

    @jvl32003

    Additional confirmation for the same issue, with a Mac controller connected to a Windows remote host.

    Environment / diagnostics:

    • Controller: Codex Desktop on macOS, bundled CLI/app-server 0.142.2.
    • Remote host: Windows Codex Desktop via Settings > Connections > Control other devices, reported remote app-server 0.142.2.
    • Remote connection reaches state=connected over websocket with no connection error in the controller logs.
    • The controller receives remote thread/list responses successfully; refreshRecentConversationsFailed=false during reconnect recovery.
    • Local controller state has remote-thread-summaries:<remote-host> populated with 19 remote threads across multiple distinct remote working directories, including one main Windows project path, one separate drive/root path, and several generated Codex workspace paths. Paths/host id intentionally redacted here.

    Observed behavior:

    1. In Control other devices, the Windows host appears connected.
    2. When organizing the sidebar by host/connection, remote chats are visible as individual chats.
    3. The same remote chats are not grouped under their remote projects.
    4. Organizing by project does not expose the Windows host's project groups; it only behaves like local project grouping.

    Why this is probably not a connection/indexing failure:

    • The remote host is connected.
    • Remote thread summaries are cached locally.
    • Remote thread/list calls are succeeding.
    • The missing piece appears to be the Desktop sidebar information architecture/state model: remote host threads are available, but the UI only exposes them as a flat connection-level list instead of Connection -> Project -> Thread or remote projects inside project grouping.

    Expected behavior remains the same as the issue description: either By connection should support nested project grouping per host, or By project should include remote-host projects with a clear host label.

  6. mjzcng commented on Jul 13, 2026

    @mjzcng

    Additional confirmation from a mixed local + WSL + remote-host setup.

    My Codex Desktop sidebar currently contains:

    • local projects;
    • multiple projects on a connected wsl-ubuntu environment;
    • multiple projects on a macbook-air remote environment (currently offline);
    • repeated project names such as local_ops, zenlayer, and openclaw_ops across different environments.

    The current flat project list makes it difficult to scan and switch between projects. Host labels on the right help identify each row, but they do not provide usable hierarchy. I still have to manually drag/reorder projects, and that becomes cumbersome when several environments each contain several projects.

    A collapsible two-level project navigator would solve this well:

    Local
      ├─ local_ops
      └─ codex_workspace
    wsl-ubuntu
      ├─ zenlayer
      ├─ gitlab_workspace
      ├─ local_ops
      └─ ...
    macbook-air
      ├─ zenlayer
      ├─ personal
      ├─ openclaw_ops
      └─ ...
    

    Ideally, each environment/connection would be independently collapsible, preserve its expanded state, show connection status at the group level, and contain its projects underneath. Threads can then expand under each project if needed: Connection → Project → Thread.

    This would also disambiguate same-named projects on different hosts and reduce the need for manual sidebar ordering. My real-world sidebar screenshot shows exactly this mixed-environment case; I can provide it separately if maintainers need it.

  7. diogovalada commented on Aug 16, 2026

    @diogovalada

    Yes, I'd like this as well.

  8. matthewpack commented on Aug 18, 2026

    @matthewpack

    Additional confirmation on the current macOS app build.

    Environment

    • Controller: Codex Desktop 26.814.41407 (build 6720)
    • Platform: Darwin 25.6.0 arm64 arm
    • Remote host: connected Mac via Codex Remote Control

    Observed

    • The mobile Remote view correctly groups the same remote chats under their respective remote projects and shows the expected chats within each group.
    • On Desktop, selecting Organize sidebar → By project does not reproduce that remote-project grouping. The remote work is either absent from the project-organized view or discoverable only as a flat recent/connection-level list.
    • Consequently, Last updated ordering cannot match the mobile view because the remote project groups are missing from the Desktop grouping model.

    This mobile-vs-Desktop comparison suggests that the remote thread/project association data exists and is available to clients; the gap appears to be in the Desktop sidebar grouping/presentation rather than remote thread retrieval.

    Expected
    Desktop should expose the same remote-project hierarchy as mobile, either as Connection → Project → Thread or by including remote projects in By project with a visible host label.

  9. kaiengelhardt commented on Aug 18, 2026

    @kaiengelhardt

    I would like this as well

  10. vmstar commented on Oct 15, 2026

    @vmstar

    Adding a concrete sidebar layout request from a macOS desktop user who works with both a local computer and an SSH devbox.

    The preferred hierarchy is:

    Local
      Pinned
      Projects
        Project A
          Chats
      Recent chats
    
    Devbox
      Pinned
      Projects
        Project B
          Chats
      Recent chats
    

    Please support connection-first navigation while preserving the normal Pinned / Projects / Recent chats structure within each connection.

    After adding a devbox connection, remote history, including automation-generated chats, becomes mixed with local recent chats. Switching to grouping by connection separates the hosts, but the user reports losing project grouping in that view. Switching back to project grouping and manually collecting remote automation chats into a custom section only partly addresses this.

    Requested behavior:

    • Make each connection a collapsible top-level group.
    • Within each connection, show its own Pinned, Projects, and Recent chats sections.
    • Keep project chats nested under their projects, with recent activity scoped to that connection.
    • Preserve existing project memberships and pin state when switching views.
    • Keep this as an optional layout alongside the existing grouping modes.

    This extends the Connection → Project → Thread request with per-connection Pinned and Recent chats. Submitted by Codex at the user's explicit request.

  11. KDS5601 commented on Oct 22, 2026

    @KDS5601

    Adding another user request to prioritize this issue.

    When accessing Codex projects from another computer through Remote Control, I can open individual remote chats, but I cannot browse them grouped by their original project. "By project" does not include the remote projects, and "By connection" does not provide a project-level hierarchy. This makes continuing existing multi-chat projects across computers unnecessarily difficult.

    Could the team please prioritize Connection → Project → Thread grouping (or showing remote projects in "By project")? It would also be helpful to know whether a fix is planned and, if so, an approximate timeline. Thank you.

  12. darluc commented on Oct 23, 2026

    @darluc

    I'd like this as well. Please prioritize this issue.

  13. MintX commented on Oct 27, 2026

    @MintX

    Additional reproduction: macOS controller → Windows host

    This also occurs with a Windows host, while existing remote conversations remain usable.

    Environment

    • Controller: macOS desktop app; exact client version was not collected.
    • Host: Windows desktop app, installed package version 26.1021.3705.0.
    • Connection: built-in Control other devices, not SSH.
    • Observed: October 28, 2026 (KST).

    Reproduction and actual behavior

    1. Register a local project on the Windows host.
    2. Connect to that host from the macOS desktop app.
    3. Open an existing Windows-host conversation from the Mac and send messages: this works and replies are received.
    4. In By project sidebar mode, only the Mac's local projects are shown; the existing Windows-host project is not offered.
    5. Switch to By connection: the Windows host and existing conversations become visible, but its existing local project is still not shown as a project to start a new chat in.
    6. On the Mac, manually create/register a remote project pointing to the same existing folder on the Windows host. That remote project then appears.

    The local project registration on the Windows host was checked directly and does exist. The macOS UI observations and successful manual-registration workaround were reported by the user during troubleshooting.

    Expected
    Discover or offer to reuse the connected host's existing local projects, or provide an explicit import/select-host-project action. A working remote connection should make it clear how to start another chat against a project that already exists on the host.

    Workaround
    Manually register the existing host folder as a remote project on the Mac. No copy of the repository is needed for that registration.

    This adds a Mac-to-Windows reproduction and the manual-registration workaround to the original Mac-to-Mac report. We have not verified whether new chats created through that separately registered remote project are automatically assigned to the host's pre-existing local project. The underlying cause, and whether the separate registration is intended, remain unconfirmed.

  14. iRickh commented on Oct 30, 2026

    @iRickh

    Please support Connection / PC → Project → Chat directly in the existing Home / left sidebar.

    The requested result is an optional native sidebar layout:

    This PC
      Project A
        Chat 1
        Chat 2
    Remote connection
      Project B
        Chat 3
    

    The connection and project levels should be independently collapsible. Projects with the same name on different connections should remain distinct. Switching the layout should preserve project membership, chat history, pins and execution location, with a clear group for unassigned chats and an explicit unavailable state for offline connections.

    The key requirement is placement in the normal Home sidebar used to select and resume chats. A separate fullscreen plugin or conversation side panel would not fulfill this request.

    Adding support here rather than opening a duplicate feature request.

  15. NorthEX3 commented on Nov 5, 2026

    @NorthEX3

    I can confirm that this issue also occurs when connecting from Codex Desktop on macOS to a Windows host.

    Environment

    • Host: Windows laptop running Codex Desktop
    • Client: MacBook running Codex Desktop
    • Connection: Remote device connection (Control other devices)
    • Connection status: Successfully connected; remote threads are accessible

    Issue: Remote project grouping is missing

    On Windows, my conversations are correctly organized under projects such as:

    • Project A
    • Project B

    However, when accessing the same Windows host from macOS:

    1. In By Project view, the remote projects and their associated threads do not appear under their original project folders.
    2. In By Connection view, all remote threads are displayed as a flat list under the Windows host, without any project hierarchy.
    3. The remote client can still identify the original working directory. For example, hovering over a thread shows its workspace and correctly identifies the Windows host.
    4. Remote threads can be opened, and their conversation history is intact.

    This suggests that the remote client receives the thread and workspace metadata but does not reconstruct the original project grouping.

    Expected behavior

    Remote threads should preserve the same project organization as on the host machine:

    Connection → Project → Thread

    Summary

    The remote connection itself works correctly, and the full conversation history is accessible. The main issue is the loss of project hierarchy and thread organization in the macOS remote client.

    This is particularly inconvenient when working with multiple projects and many threads on a Windows development machine while using a MacBook as a lightweight remote client.

    It would be very helpful if remote connections could preserve the host's existing project hierarchy rather than displaying all remote threads in a flat list.

  16. xmzzzw commented on Nov 6, 2026

    @xmzzzw

    I reproduced this on November 6 with Codex Desktop on a MacBook Pro controlling a Mac mini via Settings → Connections → Control other devices. The connection works; the problem is how the controller organizes the same chats.

    1. On the mini, I created a test project and started a chat in it. The mini shows the chat nested under the project's name.
    2. On the MacBook, with the sidebar organized by project, my local projects are visible. The mini's chat appears in Recents, and hovering over it shows both the correct project name and the mini's device name. Yet that project isn't listed under Projects.
    3. Switching to by connection shows the chat under the online mini, but without its named project as a parent. Under Local, my MacBook's chat titles are also listed without the projects and custom sections I had organized them into. Expanding the list gives me more chat titles, not the missing groups.

    The part that hurts in daily use is having to give up my local organization just to browse the remote machine. Merging all chats makes it harder to find work from either one.

    Expected: In the normal sidebar, let me expand Local → my existing local projects/sections → chats and Mac mini → its existing projects → chats at the same time. Selecting a host should narrow where I'm looking while keeping the project names and chat memberships I already use. I'm asking to browse the existing organization, not to copy project files or move execution to the MacBook.

    Is there a supported way to get this layout today?

    Additional reproduction: selecting an existing host project in a new chat

    On the MacBook, I opened New chat, selected Remote → Mac mini (green online indicator), then opened Select project (选择项目) with the search field empty. The test project I had already saved on the mini wasn't listed, even though I could open its existing chat from Recents. The picker did offer New remote project (新建远程项目). The screenshot shows that entry, but doesn't establish whether it reuses the mini's existing project or merely adds a folder on the controller.

    Requested behavior: After I choose a remote host, let me browse or search that host's existing saved projects and pick one before sending my first prompt. Keep New remote project as a separate action. I should be able to select the mini's test project, start a second chat in its working directory, and find that chat alongside the first one under the original project on the mini—without recreating the project on the MacBook. If there's already a supported way to do this, please point us to the exact steps.

  17. JKetelaar commented on Nov 9, 2026

    @JKetelaar

    I’m seeing a related case with a MacBook controlling a Mac mini via Settings → Connections → Control other devices. Both are Apple Silicon and run desktop version 26.1103.60933 (build 25894). The MacBook is on macOS 26.6.2 and the mini is on 27.0.

    1. Clone the same Git repository on both Macs and add each checkout as a local project. I’ll call it Example Workbench here.
    2. On the MacBook, add the mini’s checkout using New remote project.
    3. Start a new chat from the original local Example Workbench project on the MacBook. Before sending the first prompt, open Work in. The only options I get are This computer and Cloud. The mini is missing.
    4. Start a new chat from the separate remote project entry. That chat completes on the mini in the expected checkout. On the MacBook it shows up in Tasks/Recents, outside the original local project. Trying to move it into that project fails.

    I checked the Git lookup from #37624 as well. With Git 2.54.0 (Apple Git-157) on both Macs, running that command from each checkout’s .git directory succeeds and returns the same remote.origin.url. This also looks related to #29708. In my case the host is missing from the picker before the first prompt. I haven’t tested the Hand off control on an existing local chat.

    Can a single sidebar project group chats from both checkouts and let me choose the MacBook or the mini for each new chat? If that’s supported in this build, which diagnostic would help explain why the mini is missing from Work in?

  18. zhouweixinhuxiao commented on Nov 19, 2026

    @zhouweixinhuxiao

    Adding my support for this request from a multi-computer workflow, including a connected Windows PC. I found the "By connection" option, but it is still inconvenient because I need both the host and project hierarchy at the same time.

    Please support an optional, collapsible sidebar layout: Remote host / connection → Project → Conversation.

    For example:

    This computer
      Project A
        Conversation 1
    Remote Windows PC
      Project B
        Conversation 2
        Conversation 3
    Another remote computer
      Project C
        Conversation 4
    

    Each host should contain its existing projects, with conversations nested under their original project. This would make it much easier to find and resume work across several connected computers without choosing between host grouping and project grouping. Switching this view should preserve project membership and where each conversation runs.

    Submitted with Codex at my explicit request.

  19. xuli500177 commented on Nov 23, 2026

    @xuli500177

    Adding my support for this feature request, with a concrete Windows + macOS + iOS workflow:

    • Host: Windows PC running Codex Desktop, with existing projects and conversations.
    • Clients: Codex on iOS and Codex Desktop on macOS, connected through Control other devices.
    • iOS already works as expected: I can select the Windows host, choose one of its existing projects, and start a new remote conversation. I can then open and continue that same conversation from the Mac.
    • macOS gap: I can resume existing remote conversations, but when starting a new remote chat, Select Project does not offer the Windows host's existing saved projects. The available alternative is New Remote Project, which requires registering the folder again rather than simply selecting the project's existing identity.

    Requested: Please bring the iOS remote project picker behavior to Codex Desktop on macOS: New Chat → Remote → Windows host → existing host project → New Chat, without creating a separate remote project registration. Ideally, the sidebar should also preserve Connection → Project → Thread grouping, so conversations remain discoverable under their original Windows projects.

    The Mac should only be a remote controller; execution and project ownership should remain on the Windows host. This would remove the current workaround of starting new conversations on my iPhone and then switching to the Mac to continue them. Thanks!

  20. yongsenchen commented on Nov 23, 2026

    @yongsenchen

    Adding a Windows-controller → macOS-host reproduction of this request.

    Environment

    • Controller: Codex Desktop on Windows
    • Remote host: a Mac running Codex Desktop, connected through Settings → Connections → Control other devices
    • The remote Mac already has a saved project named Racing and a conversation created in it.

    Observed

    1. The Windows controller can find and open the existing remote conversation.
    2. The conversation continues on the Mac in its Racing working directory.
    3. The remote Racing project itself does not appear in the Windows Projects / By project list, so it cannot be browsed as a project or selected when starting another chat.
    4. This makes remote work discoverable only at the conversation level.

    Expected

    • Show remote projects in a host-aware hierarchy such as Connection/Host → Project → Conversation, and let the controller start a new conversation in an existing project on that host.
    • Keep files and execution on the selected remote host, and distinguish same-named projects by host.

    This is a project discovery and organization gap; continuing an existing remote conversation works.

  21. shanpeng008-hub commented on Nov 23, 2026

    @shanpeng008-hub

    Adding another reproducible Mac-to-Mac case: a MacBook running Codex Desktop connects successfully to a Mac Studio, and individual remote conversations can be opened. The problem is navigation, not pairing: the remote conversations appear in a flat list instead of under their existing projects, unlike the ChatGPT mobile experience. With multiple active projects, it is hard to find and resume the right conversation.

    Please prioritize Remote computer → Project → Conversation in the desktop sidebar, so users can browse the host’s existing projects and continue the original conversation on that host without recreating projects or pinning each thread individually.

  22. davidphysdavalos commented on Nov 23, 2026

    @davidphysdavalos

    Reporting the same issue here, from Linux to macOS. Projects show up, but conversations are not organized by project in the sidebar, despite the fact that their metadata already contains the project they belong to (which I can see when hovering over the chats).

  23. syprix commented on Nov 25, 2026

    @syprix

    I can reproduce both parts of this issue with a Windows PC controlling an Ubuntu PC. The Windows app can open and continue the Ubuntu chats. The part I’m missing is the project they belong to, both when browsing those chats and when starting a new one. Android handles both cases correctly against the same Ubuntu host.

    Environment

    Tested on November 25, 2026, using the built-in Settings → Connections → Control other devices connection.

    Role Operating system App version
    Remote host, where the projects and chats were created Ubuntu 26.10, x86-64 ChatGPT desktop with Codex 26.1120.41243
    Desktop client showing the issue Windows (the connection reports NT 10.0) ChatGPT desktop with Codex 26.1120.50957
    Mobile client used for comparison Android 17 ChatGPT 1.2026.314

    The Windows and Android version numbers are the ones reported by the paired devices. On Ubuntu I have three existing projects, each with one or more chats. The Ubuntu app shows the chats under their respective projects.

    What I see on Windows

    1. Connect to the Ubuntu PC from Codex on Windows. The connection shows Connected.
    2. Set the sidebar to By connection and expand the Ubuntu host. I see the individual chats in one flat list. I can open a chat and continue it on Ubuntu.
    3. Switch the sidebar to By project. The Windows Projects section says No projects, even though the same chats are still accessible under Recents.
    4. Choose New chat, select the connected Ubuntu PC, then open Select project with the search field empty. The picker says No projects found and offers New remote project. None of the three existing Ubuntu projects is available to select.

    Comparison with Android

    On my Android phone I switch to that same Ubuntu PC in Codex. I can see the existing projects, open the chats grouped under each one, and start a new chat inside the project I choose. On Windows I can continue an existing chat, but to start another one in the original project I have to use Ubuntu or Android.

    What I’d like to do on Windows

    Select Ubuntu PC → existing project, see its chats, and start a new chat there. When I switch back to Ubuntu or Android, that new chat should appear alongside the others in the same original project. This matters even when the remote folder is already accessible: being able to run a chat in the right directory is only part of the workflow. I also need to find it again under the right project from all three devices.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    appenhancementremotesession

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions