Fix session ID mapping: VS Code conversation IDs now map to registered sessions

- Added conversationToSession mapping to link VS Code conversation IDs to registered session IDs
- Updated handleToolCall to extract session ID from _meta.vscode.conversationId
- Auto-maps VS Code conversations to first available registered session
- Both VS Code and web interface now use same registered session ID
- Fixes 'No pending AI request found' error in web interface
This commit is contained in:
B Harper
2025-10-24 11:17:46 +11:00
parent 20fba4fb96
commit dc1ee54ecd
17 changed files with 3036 additions and 2085 deletions
+7 -3
View File
@@ -1,4 +1,8 @@
[ ] Assess / Set logging path and details correctly for release & dev.
[ ] Create a new readme
[ ] Consider how updates to the extension will work.
[X] Assess / Set logging path and details correctly for release & dev.
[] Create a new readme
[X] Consider how updates to the extension will work.
[ ] Publish Extension
[ ] Change Waiting for AI messages..." to "Waiting for AI MCP Tool Call...
[ ] Get it to store the Friendly Name similar to how it stores the session ID - the existing session seems to be found on startup
[ ] Override Prompt Script is not generated from exact coded system tool description - seems to be stale - where is the info coming from for the override creation?
[ ]