comfyui-mcp 0.50.59 → 0.50.60
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -38,7 +38,7 @@ import { logger } from "../utils/logger.js";
|
|
|
38
38
|
import { PanelAgentManager, fetchSupportedModels, fetchSupportedCommands, isEffort, } from "./panel-agent.js";
|
|
39
39
|
import { promptText } from "./error-text.js";
|
|
40
40
|
import { callToolAdmission } from "./call-tool-admission.js";
|
|
41
|
-
import { createPanelMcpServer, makePanelToolCtx, resolvePinTarget, secretSavedReply, } from "./panel-tools.js";
|
|
41
|
+
import { createPanelMcpServer, makePanelToolCtx, resolvePinTarget, secretSavedReply, RETRY_TOKEN_CMDS, } from "./panel-tools.js";
|
|
42
42
|
import { optionsAckFrame, optionsErrorAckFrame, optionsRequestMeta, } from "./options-ack.js";
|
|
43
43
|
import { readUserMcpServers } from "../services/user-mcp-config.js";
|
|
44
44
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
@@ -2273,6 +2273,10 @@ export async function runPanelOrchestrator() {
|
|
|
2273
2273
|
// unsends; it never deletes, so those answers are still reported.
|
|
2274
2274
|
bridge.setTabTakenOverListener((tabId) => AskAnswers.closeAsks(tabId));
|
|
2275
2275
|
bridge.setTabGoneListener((tabId, incarnation) => AskAnswers.retireDebt(tabId, incarnation));
|
|
2276
|
+
// #694 — the bridge retains a late mutation only for commands that can come
|
|
2277
|
+
// back as a retry token, which is the retry-token layer's own set. Installed
|
|
2278
|
+
// here because ui-bridge cannot import panel-tools (panel-tools imports it).
|
|
2279
|
+
bridge.setLateMutationFilter((cmdName) => RETRY_TOKEN_CMDS.has(cmdName));
|
|
2276
2280
|
bridge.setLateAskReplySink((askId, result, tabId) => {
|
|
2277
2281
|
if (!AskAnswers.tracks(askId))
|
|
2278
2282
|
return;
|