Skip to content

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

chore(thread): remove unused TurnFooter and TurnSources component slots

Steven Enamakelce39c2028458
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index 411d8127c6..b1eefd4b82 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -121,30 +121,6 @@ export type ThreadComponents = {
* component returns `null` when it has nothing to say.
*/
RunningStatus?: ComponentType | undefined;
- /**
- * Host-owned one-line footer for a **settled** assistant message — the
- * turn's process summary and the single door to its detail.
- *
- * A seam for the same reason `RunningStatus` is one: this file knows the
- * message, not what the host recorded while producing it. The host component
- * reads the message's own metadata and returns `null` when the turn has no
- * process behind it, so a plain answer gets no footer.
- */
- TurnFooter?: ComponentType | undefined;
- /**
- * Host-owned list of the web sources this turn visited, rendered at the end
- * of the message *content* rather than in the footer row.
- *
- * Deliberately not part of the footer: that row is a single-line
- * `flex items-center` whose height is reserved by `ACTION_BAR_HEIGHT` and
- * asserted in `thread.actionBarSpacing.test.tsx`, so a block that can grow
- * to several lines does not belong in it. Placed inside the content div it
- * inherits the `[&>*+*]:mt-3` rhythm the other blocks use.
- *
- * Like `TurnFooter`, the component reads the message's own metadata and
- * returns `null` when the turn visited none, so a plain answer gets nothing.
- */
- TurnSources?: ComponentType | undefined;
/** Host-owned attachment previews rendered above the editor. */
ComposerAttachments?: ComponentType | undefined;
/** Host-owned attachment picker rendered in the action row. */