Session TraceYour Copilot Chat history, made searchable and queryable. A VS Code extension that indexes your Copilot Chat session files (
✨ Try It OutAsk questions about your own chat history right in Copilot Chat using
🚀 Features🌲 Session Tree ViewBrowse all Copilot Chat sessions stored on disk — workspace sessions, global (empty window) sessions, and transferred sessions. Expand each session to see individual turns with their prompts and responses. The view toolbar provides:
🔍 Search ConversationsUse the Session Trace: Search Conversations command ( 🤖
|
| Mode | Description |
|---|---|
describe |
Schema overview: row counts, annotation distribution, top tools, models, and date range |
query |
Full-text search via FTS5 with BM25 ranking (implicit AND, supports OR/NOT) |
sql |
Read-only SQL SELECT for aggregations, complex filters, and joins |
📖 Usage
- Install the extension.
- Open the Session Trace activity bar panel (speech-bubble icon).
- Sessions are discovered and indexed automatically on activation.
- Use the Refresh button to re-index after new sessions are created.
- Click Sort & Filter… to narrow or reorder the session list, including filtering to the current workspace only.
- Click the Switch to Recent View button to browse the latest conversation turns inline.
- Click the Search icon or run
Session Trace: Search Conversationsto search.
🗄️ Data Storage
The extension discovers .jsonl session files from VS Code's user data directory (derived from ExtensionContext.globalStorageUri). It supports:
| Path | Description |
|---|---|
User/globalStorage/emptyWindowChatSessions/ |
Global (empty window) sessions |
User/globalStorage/transferredChatSessions/ |
Transferred sessions |
User/workspaceStorage/{hash}/chatSessions/ |
Per-workspace sessions |
The SQLite index is stored in the extension's global storage directory and is rebuilt incrementally.
📋 Requirements
- VS Code
^1.99.0 - GitHub Copilot Chat extension
⚙️ Extension Settings
This extension contributes no user-configurable settings.
