VS Code Extension
Visualize Reza graph and session context directly inside VS Code.
Installation
The extension lives in extensions/reza-vscode/ in the Reza repository. Build and install it manually while it awaits Marketplace publishing.
# Build the extension
cd extensions/reza-vscode
npm install
npm run build
# Package and install
npx vsce package
code --install-extension reza-vscode-0.3.0.vsix
Activation
The extension activates automatically when a .reza/context.db file is detected in the workspace root.
Commands
Reza: Show Code GraphOpen the interactive graph in a sidebar panel.Reza: Show Blast RadiusCompute impact radius of the currently open file.Reza: Build / Refresh GraphRun reza graph build in the integrated terminal.Reza: Refresh Graph ViewRe-query the graph without reopening the panel.Sessions
The graph sidebar includes a Sessions strip above the live session card. Imported chats can highlight files and nodes or narrow the graph to one session.
- -Imported sessions list from Cursor, Codex, Claude, and manual drops.
- -Filter by source tool, highlight touched files, or isolate a subgraph.
- -Sync buttons run
reza sync-cursorandreza sync-codex. - -Pack runs
reza session load <id> --copyfor handoff.
Graph View
The graph is a D3 v7 force-directed visualization of classes, functions, imports, calls, and inheritance.
Node States
LockedFile is actively locked by the current AI session.
HotFile was modified in the current session.
BlastFile is likely impacted by currently active files.
ColdNo session activity.
Edge Types
CALLSIMPORTS_FROMINHERITSTESTED_BYCONTAINSLive Updates
The extension watches .reza/context.db for changes and falls back to a configurable poll interval, defaulting to 3 seconds.
Configuration
| Setting | Default | Description |
|---|---|---|
| reza.rezaPath | "reza" | Path to the Reza CLI executable |
| reza.nodeLimit | 800 | Max nodes to show, or 0 for no limit |
| reza.defaultNodeKinds | "Class,Function,Test" | Node kinds shown by default |
| reza.refreshIntervalMs | 3000 | Session poll interval in ms |