Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate. (Checked html_render pages never show for Kiro threads because Kiro titles T3 tool calls
@t3-code/<tool>#28230, [Bug]: Factory Droid html_render succeeds over ACP but the inline card is missing #38551, [Bug]: acp-mcp-call html_render succeeds on Antigravity ACP (Windows) but never renders the inline HTML card #38434, html_render returns success but renders nothing for ACP (acpRegistry/OMP) threads; works with pi driver #33667, [Bug]: html_render pages never show for OpenCode 2 threads because Code Mode wraps the call inexecute#16745, html_render pages never show for Grok threads because the result arrives in output.OkayOutput #23714, and open PR fix(provider-acp): html_render pages show when an ACP agent hides the T3 tool name #38579. None cover Devin CLI's"Called <tool> from <server>"ACP title format.) - I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Start a thread in T3 Code using Devin from the ACP Registry (
acpRegistry_devin). - Ask Devin to preview and render a visual using
html_previewandhtml_render(for example, an inline HTML diagram or<p>ACP render test</p>). - Wait for the
html_rendercall to complete and the assistant reply to finish.
Expected behavior
The rendered HTML card appears inline above the assistant's final reply in the thread timeline, and T3 recognizes Devin's t3-code MCP tool calls as t3-code.<tool>.
Actual behavior
html_render succeeds on T3's MCP backend and returns an attachmentId along with "Shown to the reader above your reply. Don't mention or describe the page; reply with only what it doesn't already say.", so the agent omits the visual from its text reply — but no HTML card ever appears in the thread UI.
Diagnosis
Devin CLI (3000.14.30821) titles every MCP tool call over ACP as "Called <tool> from <server>" (for example, "Called html_render from t3-code", "Called t3_thread_read from t3-code", "Called link_pull_request from t3-code").
In packages/provider-acp/src/server/runtimeModel.ts (extractMcpToolCallIdentity, lines 1112–1236 on main):
T3_MCP_TITLE_CALLmatches leadingt3-codeprefixes (^(@|mcp[-_]{1,2})?t3[-_ ]?code...)T3_MCP_TITLE_SUFFIX_CALLmatches<tool> (t3-code MCP Server)or<tool>-t3-codeT3_MCP_BARE_TITLE_CALLmatches bare<tool>/<tool>:{...}ANTIGRAVITY_TOOL_TITLEonly stripsRun/Running
None of these match "Called <tool> from t3-code". As a result:
extractMcpToolCallIdentityreturnsundefined, so the ACP adapter skips its T3 MCP branch (includingmcpSessions.takeHtmlRender(...)) and stores the call as a genericdynamic_toolwithtoolName: "Called html_render from t3-code".- The raw output arrives as an ACP content block array (
[{ "type": "content", "content": { "type": "text", "text": "{\"htmlRender\":...}" } }]), which is not projected into an inline HTML card. - Because
extractMcpToolCallIdentitymisses"Called <tool> from t3-code", allt3-codeMCP calls from Devin (not onlyhtml_render, alsot3_thread_read,link_pull_request,delegate_task, etc.) lose theirt3-code.<tool>identity.
Note: Even with open PR #38579 (which recovers unnamed html_render calls via takeHtmlRender), recognizing Devin's "Called <tool> from <server>" title in extractMcpToolCallIdentity (similar to the Kiro @t3-code/<tool> fix from #28230) would fix both html_render and proper projection for all other T3 MCP tools called by Devin.
Impact
Major degradation or frequent failure
Version or commit
T3 Code Desktop 0.1.11 (Beta); main checked at packages/provider-acp/src/server/runtimeModel.ts
Environment
macOS (Darwin 25.6.0, arm64), T3 Code Desktop 0.1.11 (Beta), acpRegistry_devin (devin 3000.14.30821, gemini-4-neon-high)
Logs or stack traces
{
"type": "dynamic_tool",
"status": "completed",
"title": "Called html_render from t3-code",
"text": {
"toolName": "Called html_render from t3-code",
"input": {
"html": "<!DOCTYPE html>...",
"height": 1080,
"title": "Example Diagram"
},
"output": [
{
"type": "content",
"content": {
"type": "text",
"text": "{\"htmlRender\":{\"attachmentId\":\"<threadId>-<id>-html\",\"title\":\"Example Diagram\",\"height\":1080},\"message\":\"Shown to the reader above your reply. Don't mention or describe the page; reply with only what it doesn't already say.\"}"
}
}
]
}
}Workaround
Save the generated HTML to a standalone file (e.g., in /tmp) and open it externally in a browser, or render inline text/Markdown diagrams instead of relying on html_render in Devin ACP threads.
Activity
juliusmarminge commentedon Nov 22, 2026
I tried to reproduce this on the current build and could not.
Not run in the live app: this VM has no Devin CLI or Devin account (
devinis not on PATH, and T3's Devin agent is listed as unavailable on the VMs). Instead I proved the defect in the module that decides it, on origin/main fb23f12. In packages/provider-acp/src/server/runtimeModel.test.ts I added one row, "Called delegate_task from t3-code" (the reporter's Devin 3000.14.30821 title format), to the existing table test 'recovers T3 identity across the registry agents' naming conventions'. I ranvp test run src/server/runtimeModel.test.ts -t extractMcpToolCallIdentityin packages/provider-acp. The new row fails withexpected undefined to deeply equal { server: 't3-code', tool: 'delegate_task' }, and the other 20 tests that ran pass. So extractMcpToolCallIdentity returns undefined for Devin's titles, which is the condition the reporter traced (the call stays a generic dynamic_tool and takeHtmlRender is never reached). The test is committed on factory/repro-41115.Closing as not planned. If it still happens for you, reply with the exact steps and the version you are on and it will be looked at again.