Skip to content

Support Multi-root Workspaces #1

@iburakov

Description

@iburakov

Hi! Thanks for this extension, I also face a similar need. Unfortunately, I couldn't get it to work smoothly in a multi-root workspace.

Agent (GitHub Copilot) can't find agent-notes.json. Seemingly because taking the first workspace folder is currently hard-coded:

const workspaceRoot = workspaceFolders[0].uri.fsPath;

I've confirmed that the JSON is there, it just ends up in an incorrect folder.

What would be the way to approach this? Adjust instructions? Place notes separately in per-folder JSONs so agents don't get confused?


Another problem (possibly a separate issue though) is that built-in get_errors MCP tool seems to only expose warnings/errors to agents, not info-level entries, so this path was also broken for me. Am I missing something here?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions