refactor(mcp): table-drive elicitation answers, unify sampling response log, tighten collision diagnostics

This commit is contained in:
Teknium
2026-09-02 15:57:42 -07:00
parent ade852f1d5
commit 97fbd7e232
7 changed files with 22 additions and 50 deletions
-2
View File
@@ -10,7 +10,6 @@ from tools.mcp_tool_common import _core
logger = logging.getLogger("tools.mcp_tool")
# Live stdio MCP children (pid -> server_name), added after connection and
# removed on normal shutdown, so they can be force-killed if SDK teardown fails.
_stdio_pids: Dict[int, str] = {}
@@ -58,7 +57,6 @@ def _snapshot_child_pids() -> set:
return set()
# argv markers of non-MCP gateway children that can race into the snapshot
# delta during an MCP spawn (defense-in-depth; LSP/slash_worker already use
# start_new_session). Matched against argv[1:] because Python/Java children