Skip to content

Dashboard fails with "No Copilot chat log directories found" when only Claude Code / Codex / OpenCode logs exist #52

@bryantharpe

Description

@bryantharpe

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

  1. 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).
  2. Install the extension on that host (Remote-SSH) and run AI Engineer Coach: Open Dashboard.
  3. 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions