Skip to content

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

Merge upstream/main into conversations-ui-cleanup

Steven Enamakel4d66310d8bb6
diff --cc app/src/components/assistant-ui/thread.tsx
index 5c9c0d0ec7,7b4f140b5a..7273fdd8ad
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@@ -1309,18 -1291,15 +1304,17 @@@ const AssistantMessage: FC = () =>
if (ReasoningGroup) {
return <ReasoningGroup group={part}>{children}</ReasoningGroup>;
}
- const running = part.status.type === 'running';
+ // The static reasoning panel reads the grouped parts' text and
+ // timing itself; the per-part `children` are only for overrides.
return (
- <ReasoningRoot streaming={running}>
- <ReasoningTrigger active={running} />
- <ReasoningContent aria-busy={running}>
- <ReasoningText>{children}</ReasoningText>
- </ReasoningContent>
- </ReasoningRoot>
+ <OpenHumanReasoningGroup
+ indices={part.indices}
+ running={part.status.type === 'running'}
+ />
);
}
+ case 'group-source':
+ return SourceGroup ? <SourceGroupSlot Component={SourceGroup} /> : null;
case 'text':
return <MarkdownText />;
case 'reasoning':
diff --cc app/src/features/conversations/components/AgentSourceRow.tsx
index f1bb14efaa,f1bb14efaa..56a3f30d39
--- a/app/src/features/conversations/components/AgentSourceRow.tsx
+++ b/app/src/features/conversations/components/AgentSourceRow.tsx
@@@ -3,7 -3,7 +3,7 @@@
*
* Shared by the two surfaces that list sources — the process rail
* (`AgentProcessSourcePanel`) and the inline row under a settled answer
-- * (`aui/TurnSources`). Deliberately shared rather than duplicated: this is the
++ * (`aui/ChatSources`). Deliberately shared rather than duplicated: this is the
* component that renders a model-supplied URL into an `<a href>`, and the URL
* is a raw tool-call argument, so it is prompt-injection-influenceable. The
* scheme filtering happens upstream in `extractAgentSources`
diff --cc app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx
index 0dc20c5cb5,0a9ce2dd01..7931628a26
--- a/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx
+++ b/app/src/features/conversations/components/__tests__/SubagentDrawer.test.tsx
@@@ -60,7 -60,10 +60,10 @@@ describe('SubagentDrawer', () =>
expect(order(tool)).toBeLessThan(order(texts[1]));
expect(thinking.textContent).toContain('comparing the two sources');
+ // Rendered through the shared reasoning panel, inline (no disclosure).
+ expect(thinking.getAttribute('data-variant')).toBe('static');
+ expect(thinking.querySelector('button')).toBeNull();
- expect(tool.textContent).toContain('Searched the web');
+ expect(tool.textContent).toContain('Searching the web');
expect(tool.textContent).toContain('1.2s');
expect(texts[1].textContent).toContain('The answer is');
});