Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
apps/server
Steps to reproduce
- Install the Devin CLI so the binary is
devin/devin.exe(e.g. a standalone install, or the CLI bundled inside Devin Desktop atDevin/resources/app/extensions/windsurf/devin/bin/devin.exe). - Add it to T3 Code as a Local ACP command agent (
acpRegistrydriver,source: "local",commandPath→ the devin binary). - Start a thread and have Devin run a shell command, spawn a subagent, or ask for plan approval.
- Compare with the same binary installed through the ACP Registry (
agentId: "devin").
Expected behavior
A local Devin binary gets the same agent-specific handling as the registry one — consistent with every other agent in packages/provider-acp-registry/src/server/adapter.ts, which all also match source: "local" by command basename (isCopilot, isKimi, isClaude, isDroid, isGlm, isVibe, isOpenCode, isAntigravityCli, isOmp).
Actual behavior
isDevin is registryAgentId === "devin" only, so with source: "local" it is always false and none of the Devin wiring applies:
clientTerminalsis not set → the client doesn't advertiseterminal. Verified againstdevin acpv3000.14.30833: withterminal: true, a shell prompt issuesterminal/create(a managed terminal — visible, killable, correct shell/env); withterminal: false, Devin silently runs the command inside its own process instead — invisible and unkillable from the UI. This matters beyond cosmetics: fix(acp): Devin's terminal commands run under Git Bash on Windows, not cmd.exe #40418 and fix(acp): Devin terminals no longer inherit the launching thread's T3 MCP credentials #26652 fixed shell selection and credential hygiene in exactly this code path.clientCapabilitiesMetais not sent →cognition.ai/subagentSupportandcognition.ai/messageGroupingaren't declared.normalizeDevinSessionUpdate/normalizeDevinToolCallare not installed →_meta["cognition.ai/subagent_context"].parentAgentIdisn't routed to the child session,streamingMessageIdgrouping is dropped, andinferenceToolNameisn't lifted into the tool title — for any_metaDevin still emits.extractDevinSubagentUpdateis not installed → no subagent cards.devinAnswerablePermissionOptionsis not installed →plan_bypassstays in the permission list, reopening the problem from [Bug]: "Always allow this session" for Devin depends on the order of Devin's permission options #33136: plan-exit approval can offer "bypass permissions", which T3 never answers with bypass.
Impact
Major degradation or frequent failure
Version or commit
main @ 69720261214c047e583b494675ea9624bbe3a00a (isDevin at packages/provider-acp-registry/src/server/adapter.ts:199)
Environment
Windows 11, Devin CLI 3000.14.30833 (devin acp). The check is source-based, so macOS/Linux local installs behave identically.
Suggested fix
isDevin also matches /^devin(\.exe|\.cmd)?$/i on the commandPath basename when source === "local" — the same pattern its neighbors use. Happy to open the PR with a focused test.
Activity