The best way to control Claude Code, Codex and more from any computer or phone
fix(web): subagent lists in the composer banner no longer start lines with a comma (#19170)
oliver committed
Oct 14, 2026 at 10:49 UTC
e093789dd2340d8a41ee7ac12341fb011f9ff86c
3 files changed
+41
-26
apps/mobile/src/features/threads/thread-handoff-row.tsx
+8
-5
@@ -9,7 +9,7 @@ import type {
9
ServerProvider,
10
} from "@t3tools/contracts";
11
import { Atom } from "effect/reactivity";
12
-import { Fragment, useMemo } from "react";
12
+import { useMemo } from "react";
13
import { Alert, Pressable, View, type ColorValue } from "react-native";
14
import { AppText as Text } from "../../components/AppText";
15
import { SymbolView } from "../../components/AppSymbol";
@@ -76,14 +76,17 @@ export function ThreadHandoffDivider(props: {
76
>
77
<View className="flex-row flex-wrap items-center justify-center gap-1.5">
78
{endpoints.from.map((endpoint, index) => (
79
- <Fragment key={`${endpoint.instanceId}:${endpoint.model ?? ""}`}>
80
- {index > 0 ? (
79
+ <View
80
+ key={`${endpoint.instanceId}:${endpoint.model ?? ""}`}
81
+ className="max-w-full flex-row items-center"
82
+ >
83
+ <HandoffEndpoint {...endpoint} providers={config?.providers ?? []} />
84
+ {index < endpoints.from.length - 1 ? (
85
<Text accessible={false} className="text-xs text-foreground-muted">
86
,
87
</Text>
88
) : null}
85
- <HandoffEndpoint {...endpoint} providers={config?.providers ?? []} />
86
- </Fragment>
89
+ </View>
90
))}
91
{endpoints.from.length > 0 ? (
92
<SymbolView name="arrow.right" size={12} tintColor={props.iconColor} />
apps/web/src/components/ChatView.tsx
+23
-13
@@ -7472,10 +7472,13 @@ export default function ChatView(props: ChatViewProps) {
7472
: `${childThreadInputs.length} subagents need input`,
7473
description: childThreadInputs.map((child, index) => (
7474
<Fragment key={child.id}>
7475
- {index > 0 ? ", " : null}
7476
- <InlineButton tone="muted" onClick={() => onOpenRelatedThread(child.id)}>
7477
- {child.title}
7478
- </InlineButton>
7475
+ {index > 0 ? " " : null}
7476
+ <span className="whitespace-nowrap">
7477
+ <InlineButton tone="muted" onClick={() => onOpenRelatedThread(child.id)}>
7478
+ {child.title}
7479
+ </InlineButton>
7480
+ {index < childThreadInputs.length - 1 ? "," : null}
7481
+ </span>
7482
</Fragment>
7483
)),
7484
actions: (
@@ -7643,19 +7646,26 @@ export default function ChatView(props: ChatViewProps) {
7646
? undefined
7647
: presentation.items.map((item, index) => {
7648
const childThreadId = item.childThreadId;
7649
+ const separator = index < presentation.items.length - 1 ? "," : null;
7650
return (
7651
<Fragment key={item.taskId}>
7648
- {index > 0 ? ", " : null}
7652
+ {index > 0 ? " " : null}
7653
{childThreadId === undefined ? (
7650
- item.label
7651
- ) : (
7652
- <InlineButton
7653
- tone="muted"
7654
- aria-label={`Open subagent ${item.label}`}
7655
- onClick={() => onOpenRelatedThread(childThreadId)}
7656
- >
7654
+ <>
7655
{item.label}
7658
- </InlineButton>
7656
+ {separator}
7657
+ </>
7658
+ ) : (
7659
+ <span className="whitespace-nowrap">
7660
+ <InlineButton
7661
+ tone="muted"
7662
+ aria-label={`Open subagent ${item.label}`}
7663
+ onClick={() => onOpenRelatedThread(childThreadId)}
7664
+ >
7665
+ {item.label}
7666
+ </InlineButton>
7667
+ {separator}
7668
+ </span>
7669
)}
7670
</Fragment>
7671
);
apps/web/src/components/chat/V2LifecycleRow.tsx
+10
-8
@@ -15,7 +15,6 @@ import {
15
type HandoffEndpoints,
16
type HandoffTimelineRun,
17
} from "@t3tools/client-runtime/handoff";
18
-import { Fragment } from "react";
18
import { formatSubagentDisplayTitle } from "@t3tools/client-runtime/state/subagent-display";
19
import {
20
ProviderDriverKind,
@@ -562,18 +561,21 @@ export function HandoffRow(props: {
561
detail={
562
<span className="inline-flex min-w-0 flex-wrap items-center justify-center gap-1.5">
563
{fromEndpoints.map((endpoint, index) => (
565
- <Fragment key={`${endpoint.instanceId}:${endpoint.model ?? ""}`}>
566
- {index > 0 ? (
567
- <span aria-hidden="true" className="-ml-1">
568
- ,
569
- </span>
570
- ) : null}
564
+ <span
565
+ key={`${endpoint.instanceId}:${endpoint.model ?? ""}`}
566
+ className="inline-flex min-w-0 items-center"
567
+ >
568
<HandoffEndpoint
569
providers={props.providers}
570
instanceId={endpoint.instanceId}
571
model={endpoint.model}
572
/>
576
- </Fragment>
573
+ {index < fromEndpoints.length - 1 ? (
574
+ <span aria-hidden="true" className="ml-0.5">
575
+ ,
576
+ </span>
577
+ ) : null}
578
+ </span>
579
))}
580
{fromEndpoints.length > 0 ? (
581
<ArrowRightIcon aria-hidden="true" className="size-3 shrink-0" />