fix(provider-acp): Windows T3_ACP_MCP_CALL fallback calls show the T3 tool and render html_render pages #40326
OpenOrnnIsMyWaifu(GitHub profile, opens in a new tab)wants to merge 1 commit into
main fromrefs/pull/40326/headopened View on GitHubtanstack-source added labelsbug
github-actions[bot](GitHub profile, opens in a new tab) added labelssize:S
- @@ -850,3 +855,13 @@850855 toolCallId: "agy-1.5.8",851856 status: "completed",852857 });858+ // On Windows, Antigravity falls back to T3_ACP_MCP_CALL when html_render is absent.859+ yield* send({860+ sessionUpdate: "tool_call",861+ toolCallId: "win-fallback",862+ title: "Ran command",863+ kind: "execute",864+ status: "in_progress",865+ rawInput: {866+ CommandLine:867+ '$payload = @{ title = "Windows fallback"; height = 320; path = "C:\\temp\\win.html" } | ConvertTo-Json -Compress\n$payload | & $env:T3_ACP_MCP_CALL html_render -',@@ -1089,3 +1089,6 @@1089108910901090 const ACP_MCP_FALLBACK_CALL = /(?:^|[\s"'=])acp-mcp-call[\s"']+([A-Za-z0-9_.-]+)(?:\s+(.+?))?\s*$/u;109110911092+// Windows ACP agents invoke the generated wrapper via T3_ACP_MCP_CALL or acp-mcp-call.cmd.1093+const ACP_MCP_WINDOWS_FALLBACK_CALL =1094+ /(?:(?:^|[\s"'&|;(])(?:\$(?:env:)?T3_ACP_MCP_CALL|\$\{(?:env:)?T3_ACP_MCP_CALL\}|%T3_ACP_MCP_CALL%)|(?:^|[\s"'&|;(/\\])acp-mcp-call\.cmd)["']?\s+["']?([A-Za-z0-9_.-]+)["']?(?:\s+(.+?))?\s*$/iu;
- @@ -1089,3 +1089,6 @@1089108910901090 const ACP_MCP_FALLBACK_CALL = /(?:^|[\s"'=])acp-mcp-call[\s"']+([A-Za-z0-9_.-]+)(?:\s+(.+?))?\s*$/u;109110911092+// Windows ACP agents invoke the generated wrapper via T3_ACP_MCP_CALL or acp-mcp-call.cmd.1093+const ACP_MCP_WINDOWS_FALLBACK_CALL =1094+ /(?:(?:^|[\s"'&|;(])(?:\$(?:env:)?T3_ACP_MCP_CALL|\$\{(?:env:)?T3_ACP_MCP_CALL\}|%T3_ACP_MCP_CALL%)|(?:^|[\s"'&|;(/\\])acp-mcp-call\.cmd)["']?\s+["']?([A-Za-z0-9_.-]+)["']?(?:\s+(.+?))?\s*$/iu;
github-actions[bot](GitHub profile, opens in a new tab) added labelsneeds-rebase
Sign in to join this conversation.
Codex Review Summary: ✅ Completed
This comment shows the latest Codex review activity on this pull request.
1c027f9ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.