Description
On a host whose AI coding session logs come only from a non-VS Code harness — e.g. Claude Code sessions under ~/.claude/projects, with no VS Code workspace storage and no Copilot directories — the dashboard fails to load and shows:
No Copilot chat log directories found.
…even though valid sessions are present. This is common on a headless machine used via VS Code Remote-SSH, where Claude Code is driven from the terminal and there is no local VS Code workspace storage.
Root cause: the load gate in src/webview/panel.ts aborts when findLogsDirs() returns no directories, but findLogsDirs() only scans VS Code workspace storage and Copilot paths. The external-harness collectors (Claude Code, Codex, OpenCode) run later, inside the parse worker, independently of that list — so the panel returns the error before they ever run.
Steps to Reproduce
- Use a host that has
~/.claude/projects populated with Claude Code sessions but no ~/.config/Code/User/workspaceStorage and no Copilot directories (e.g. a headless Remote-SSH server).
- Install the extension on that host (Remote-SSH) and run AI Engineer Coach: Open Dashboard.
- Observe the error: "No Copilot chat log directories found." (Confirmed against 133 real Claude Code sessions that parse correctly once the gate is bypassed.)
Expected Behavior
The dashboard loads and analyzes the available Claude Code / Codex / OpenCode sessions even when no VS Code or Copilot directories are present.
Extension Version
0.1.0
VS Code Version
Remote-SSH; extension host on Linux (client 1.118+)
Operating System
Ubuntu / Linux (headless host accessed via VS Code Remote-SSH)
Description
On a host whose AI coding session logs come only from a non-VS Code harness — e.g. Claude Code sessions under
~/.claude/projects, with no VS Code workspace storage and no Copilot directories — the dashboard fails to load and shows:…even though valid sessions are present. This is common on a headless machine used via VS Code Remote-SSH, where Claude Code is driven from the terminal and there is no local VS Code workspace storage.
Root cause: the load gate in
src/webview/panel.tsaborts whenfindLogsDirs()returns no directories, butfindLogsDirs()only scans VS Code workspace storage and Copilot paths. The external-harness collectors (Claude Code, Codex, OpenCode) run later, inside the parse worker, independently of that list — so the panel returns the error before they ever run.Steps to Reproduce
~/.claude/projectspopulated with Claude Code sessions but no~/.config/Code/User/workspaceStorageand no Copilot directories (e.g. a headless Remote-SSH server).Expected Behavior
The dashboard loads and analyzes the available Claude Code / Codex / OpenCode sessions even when no VS Code or Copilot directories are present.
Extension Version
0.1.0
VS Code Version
Remote-SSH; extension host on Linux (client 1.118+)
Operating System
Ubuntu / Linux (headless host accessed via VS Code Remote-SSH)