Repository navigation
Conversation
6 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
After opening a chat from Codex Chats, switching editor tabs or starting a new Codex conversation leaves the previously clicked chat highlighted. This makes the list appear to identify the wrong active conversation.
Follow the active editor tab across tab groups using its conversation URI. Reveal and select the matching chat without moving keyboard focus, and reconcile selection when that session appears in the index. Ordinary history refreshes keep row identities stable and do not repeatedly scroll the list.
New Codex tabs can retain
/extension/panel/neweven after a conversation has started. In that case, invalidate the previous selection instead of guessing which conversation is inside the panel. Because the public TreeView API has no clear-selection method, leaf identities receive a new revision when the active editor changes; group identities remain stable to preserve collapse state. Inline open actions continue to use the underlying session ID.Scope: this fixes stale selection in Codex Extras. It does not rename the official extension's generic Codex tab or automatically select a conversation whose ID is absent from that tab's URI. Opening the named chat from the list uses its conversation-specific URI. This limitation and workaround are documented in README.
Independent of #13 and #15. No version bump, settings changes, dependencies, internal IPC, or generated build artifacts.
Validation
npm test(16/16),npm run package -- --out codex-extras-selection.vsix.npm test(16/16),npm run package -- --out codex-extras-status-ci.vsix. WSL dependencies installed from the npm cache with--offline --ignore-scripts --no-audit --no-fundbecause DNS was unavailable.git diff --checkpasses.Checklist
npm testpasses.npm run packagesucceeds.CHANGELOG.mdis updated when appropriate.