A forensic toolkit for collecting and analyzing VS Code workspace data, with a focus on AI/Copilot chat interactions.

docker run -it --rm -p 8088:8080 jonesckevin/vs-cap:latest
Open vs-cap-viewer.html in any modern browser. Drop a ZIP or folder of collected VS Code data.
The standalone viewer loads libraries from CDN on first use. For offline use, run
bundle-airgap.ps1first or use the Docker setup.
docker compose up --build
Navigate to http://localhost:8088. All libraries are downloaded at build time — the running container needs no internet.
Copy VSCode_WorkspaceStorage.tkape into your KAPE Targets directory, then:
kape.exe --tsource C: --tdest E:\output --target VSCode_WorkspaceStorage
# All users, ZIP output
.\Collect-VSCodeData.ps1
# Specific user, custom output directory
.\Collect-VSCodeData.ps1 -Users <username> -OutputDir E:\evidence
# Keep raw folder instead of ZIP
.\Collect-VSCodeData.ps1 -NoZip
| Artifact | Location | Description |
|---|---|---|
| Chat Sessions | chatSessions/*.jsonl | Copilot conversations (JSONL mutation model) |
| Edit Sessions | chatEditingSessions/*/state.json | AI code editing timelines |
| Copilot Resources | GitHub.copilot-chat/chat-session-resources/ | Tool invocation outputs |
| Agent Memory | GitHub.copilot-chat/memory-tool/ | Persistent agent plans/notes |
| Workspace State | state.vscdb | SQLite key-value store (editor state) |
| Workspace Map | workspace.json | Hash-to-project-path mapping |
| Settings | settings.json | VS Code user configuration |
state.vscdb key-value pairsread_only: true, no-new-privileges, tmpfs mounts.Content type
Image
Digest
sha256:07194d4da…
Size
6.7 MB
Last updated
6 months ago
docker pull jonesckevin/vs-cap