fix(mcp): honor callback port in debug (#39259)

This commit is contained in:
Aiden Cline
2026-07-28 00:00:38 -05:00
committed by GitHub
parent 07fe0ca730
commit 17a9a01daa
6 changed files with 84 additions and 55 deletions
+1 -1
View File
@@ -388,7 +388,7 @@ export const resolve = Effect.fn("SessionTools.resolve")(function* (input: {
if (flags.experimentalCodeMode) return tools
for (const [key, entry] of Object.entries(yield* mcp.tools())) {
const item = McpCatalog.convertTool(entry.def, entry.client, entry.timeout)
const item = McpCatalog.convertTool(entry)
const execute = item.execute
if (!execute) continue