Skip to content

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

refactor(conversations): remove parallel agents related logic

Steven Enamakel0fab18c02f9a
diff --git a/app/src/features/conversations/aui/toolkit.tsx b/app/src/features/conversations/aui/toolkit.tsx
index db2fc1e9c0..ac3bf114f9 100644
--- a/app/src/features/conversations/aui/toolkit.tsx
+++ b/app/src/features/conversations/aui/toolkit.tsx
@@ -74,13 +74,6 @@ export function openHumanToolEntries(): Record<string, OpenHumanToolEntry> {
*/
task: { type: 'backend', display: 'standalone', render: SubagentTaskCard },
- /**
- * `spawn_parallel_agents`: two or more independent sub-agent workers fanned
- * out concurrently. Rendered as the vendored `SubagentList` progress board
- * above each worker's own `TaskCard` row (`ParallelAgentsCard.tsx`),
- * grouped by `subagent.parentCallId === toolCallId`.
- */
-
/**
* Image / video generation: the `elements-image-generation` placeholder
* while it runs, then the `image` element per produced artifact. Pulled
diff --git a/app/src/store/chatRuntimeSlice.ts b/app/src/store/chatRuntimeSlice.ts
index 254149e16c..0672ae94ea 100644
--- a/app/src/store/chatRuntimeSlice.ts
+++ b/app/src/store/chatRuntimeSlice.ts
@@ -69,23 +69,6 @@ export function isActiveTimelineStatus(status: string | undefined): boolean {
return status === 'running' || status === 'awaiting_user';
}
-/**
- * Every `subagent:*` timeline row spawned by one `spawn_parallel_agents` tool
- * call — the workers sharing `subagent.parentCallId === parentCallId` (see
- * {@link SubagentActivity.parentCallId}) — in the order they were issued
- * (`seq`). Used by `ParallelAgentsCard` (`features/conversations/aui/
- * ParallelAgentsCard.tsx`) to render the vendored `SubagentList` above the
- * per-child `TaskCard` rows for a `spawn_parallel_agents` call.
- */
-export function selectSubagentChildrenByParentCallId(
- timeline: ToolTimelineEntry[],
- parentCallId: string
-): ToolTimelineEntry[] {
- return timeline
- .filter(entry => entry.subagent?.parentCallId === parentCallId)
- .sort((a, b) => a.seq - b.seq);
-}
-
/** Live progress of the running turn, as the socket handlers maintain it. */
export interface InferenceStatus {
phase: 'thinking' | 'tool_use' | 'subagent';