Add to Codex Thread is unavailable for Remote SSH selections
What version of the IDE extension are you using?
26.803.41515
What subscription do you have?
Not specified
Which IDE are you using?
VS Code 1.130.0 with Remote SSH
What platform is your computer?
VS Code Remote SSH; client platform not specified, remote extension host is Linux x64.
What issue are you seeing?
For files opened through VS Code Remote SSH, the editor context menu does not show Codex: Add to Codex Thread. Only unrelated integrations, such as sending the selection to Copilot, are shown.
Invoking Codex: Add to Codex Thread from the Command Palette also has no visible effect. No selection or file/line context is added to the Codex composer and no error is shown.
The installed extension appears to restrict both paths to local file URIs:
- The
editor/contextcontribution haswhen: resourceScheme == file. - The
chatgpt.addToThreadhandler returns immediately whenactiveTextEditor.document.uri.scheme !== "file".
Remote SSH editor documents use the vscode-remote URI scheme, so the menu is hidden and the command silently exits.
What steps can reproduce the bug?
- Connect to a host using VS Code Remote SSH.
- Open a file in the remote workspace.
- Select one or more lines.
- Right-click the selection and look for Add to Codex Thread. The option is absent.
- Open the Command Palette and invoke Codex: Add to Codex Thread. Nothing is added to the composer.
What is the expected behavior?
Selections in Remote SSH files should be attachable to the active Codex thread, with the remote file path and selected line range shown in the composer. The context-menu command should be visible for supported remote workspace resources. If a URI scheme cannot be supported, the Command Palette action should display an explanatory error instead of silently doing nothing.
Additional information
The extension otherwise works in the remote workspace and Codex can read and edit the remote repository. This appears limited to transferring explicit editor selections into the thread.
1 Comment
Also seen in the latest VS Code 1.134.0 with Codex 26.818.61809 (24 August 2026). I am using VS Code & Codex via WSL2 (Ubuntu 24.04.4 LTS)