Skip to content

Commit 5236a22

Browse files
vitalyiegorovclaude
andcommitted
fix(mobile): handoff badges ignore a blank ACP agent ID, as web does
Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
1 parent 32fe647 commit 5236a22

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎apps/mobile/src/features/threads/thread-handoff-row.tsx‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,9 @@ function HandoffEndpoint(props: {
109109
const agentId = typeof config === "object" && config ? Reflect.get(config, "agentId") : null;
110110
return {
111111
driverKind: candidate.driver,
112-
...(typeof agentId === "string" ? { acpRegistryAgentId: agentId.trim() } : {}),
112+
...(typeof agentId === "string" && agentId.trim()
113+
? { acpRegistryAgentId: agentId.trim() }
114+
: {}),
113115
};
114116
};
115117
const showBadge =

0 commit comments

Comments
 (0)