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?
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:Agent-Notes/src/extension.ts
Line 28 in d8bf393
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_errorsMCP 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?