[FEATURE] Update VS Code extension's session list when changes are written to the project's Claude directory (~/.claude/projects/<key>/)

Resolved 💬 3 comments Opened Mar 4, 2026 by caseydwayne Closed Mar 8, 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

The VS Code extension's session list is loaded once at startup and does not refresh when new .jsonl session files are written to the project's Claude directory (~/.claude/projects/<key>/). This affects shared workflows — most notably git worktrees, where a second VS Code window shares the same Claude project directory as the primary window via symlink. Sessions created in the worktree window are written to the shared project dir but don't appear in the primary window's session list until the extension is fully restarted. There is no reload/refresh action available short of restarting VS Code.

Proposed Solution

Watch the project directory for new .jsonl files using a filesystem watcher and update the session list reactively when changes are detected.

Alternative Solutions

Expose a manual "Refresh sessions" action in the command palette as a lower-effort fix. Restarting extensions works but is cumbersome.

Priority

Medium - Would be very helpful

Feature Category

Developer tools/SDK

Use Case Example

_No response_

Additional Context

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗