fix(skill-mcp): use correct sessionID when registering skill MCP connections

Fixes #3021
This commit is contained in:
YeonGyu-Kim
2026-04-02 15:45:39 +09:00
parent 34a37dc946
commit 027a6b0039
6 changed files with 78 additions and 9 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ export function createToolRegistry(args: {
},
})
const getSessionIDForMcp = (): string => getMainSessionID() || ""
const getSessionIDForMcp = (): string | undefined => getMainSessionID()
const skillMcpTool = createSkillMcpTool({
manager: managers.skillMcpManager,