Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

fix(aui): replace SubagentCall with SubagentTaskCard for task entries

Steven Enamakel020062fd3180
diff --git a/app/src/features/conversations/aui/toolkit.tsx b/app/src/features/conversations/aui/toolkit.tsx
index 259aba48fa..cfd1379168 100644
--- a/app/src/features/conversations/aui/toolkit.tsx
+++ b/app/src/features/conversations/aui/toolkit.tsx
@@ -62,11 +62,12 @@ export function openHumanToolEntries(): Record<string, OpenHumanToolEntry> {
/**
* A sub-agent delegation. Never approval-gated (the orchestrator spawns
* it directly), so its render skips the gate check every other entry
- * would need and goes straight to the shared delegation card — exactly
- * what the old `ChatToolFallback`'s `toolName === 'task'` branch did
- * before this registry replaced the manual switch.
+ * would need and goes straight to `SubagentTaskCard`, over the vendored
+ * `task-card` element — nested `messages` transcript, worktree actions,
+ * and the awaiting-user reply box all live there now (`AssistantUiSubagentCall`
+ * / `SubagentDrawer` are deleted).
*/
- task: { type: 'backend', display: 'inline', render: SubagentCall },
+ task: { type: 'backend', display: 'inline', render: SubagentTaskCard },
/**
* Image / video generation: the `elements-image-generation` placeholder