Register Claude Code sessions with VS Code's native Sessions pane (history/discovery only — distinct from #72198)

Status Open
Reported on v2.1.147
Maintainer reply None cached
Activity 0 comments · opened Aug 27, 2026

Preflight Checklist

  • [x] I have searched existing requests and this feature hasn't been requested yet
  • [x] This is a single feature request (not multiple features)

Problem Statement

VS Code has a built-in "Sessions" pane in the sidebar that lists agent session history across providers (separate from the Chat/Agents view discussed in #72198). Copilot and Codex both register with this pane, so their session history shows up natively. Claude Code doesn't register as a session provider for it at all, so Claude Code sessions are invisible there — even though they exist and are fully browsable via Claude Code's own sidebar and CLI --resume/--continue. Users working across multiple AI tools have no single place to see recent session history.

Proposed Solution

Register Claude Code as a session provider with VS Code's native Sessions pane API so:

Claude Code sessions (past and active) appear alongside Copilot/Codex sessions for browsing/discovery.
Clicking one opens/focuses Claude Code's own panel and resumes that session (equivalent to claude --resume/--continue). Scoped intentionally to session metadata/history only — no native-chat prompt routing, no model-picker entry, no giving up Claude Code's own UI. The pane acts as an index/launcher pointing back into Claude Code's existing interface.

Note on scope vs. #72198: #72198 asks for full chat-participant/language-model-provider integration — prompting Claude without leaving VS Code's native chat surface. That's a much bigger ask about where conversations happen. This is only about where session history is listed — a lighter, separable API surface.

Alternative Solutions

None — this is small and additive. The alternative is the status quo, which is what causes the "Claude isn't showing up anywhere" situation that affects developers performance.

Priority

Medium - Would be very helpful

Feature Category

Interactive mode (TUI)

Use Case Example

A developer uses Codex for some tasks and Claude Code for others in the same workspace. They open the Sessions pane to find "that conversation from last week" but only see Copilot/Codex entries. With this feature, all agent session history is discoverable from one place, and clicking a Claude Code entry takes them into Claude Code's panel to resume it.

Additional Context

OS: Windows 11
VS Code (1.136.0-insiders version with the native Sessions pane)
anthropic.claude-code extension, 2.1.147 version authenticated and working normally in its own panel
Filed separately from #72198, which covers a different (and larger) piece of scope.

View original on GitHub ↗