Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(clients): restart continuations show as a T3 Code notice, not another agent's message #17723

Mergedjuliusmarmingemerged 1 commit intomain fromrefs/pull/17723/headmerged by juliusmarminge View on GitHub

Showing 12 changed files with 31 additions and 4 deletions (loading 9).

x
0 of 12 viewed, 12 left
6 additions and 2 deletionsapps/mobile/src/features/threads/ThreadFeed.tsxModified
View file
@@ -1719,11 +1719,15 @@
className="mb-5 items-end"
{...(enterAnimated ? { entering: FadeInUp.duration(220) } : {})}
- {presentation.isAutomation ? (
+ {presentation.attribution === "automation" ? (
<Text className="mb-1 pr-1 font-t3-medium text-2xs text-foreground-muted opacity-60">
Sent by automation
</Text>
- ) : message.createdBy === "agent" ? (
+ ) : presentation.attribution === "t3code" ? (
+ <Text className="mb-1 pr-1 font-t3-medium text-2xs text-foreground-muted opacity-60">
+ Sent by T3 Code
+ </Text>
+ ) : presentation.attribution === "agent" ? (
<AgentMessageAttribution
environmentId={props.environmentId}
senderThreadId={message.senderThreadId}
19 additions and 1 deletionapps/mobile/src/lib/threadActivity.test.tsModified
View file
@@ -85,6 +85,24 @@
expect(withoutPath?.canExpand).toBe(false);
});
​
+it("expands a T3 Code notice to the prompt the agent got", () => {
+ const item = {
+ ...base("restart-notice", "2026-06-20T00:00:03.000Z", 2),
+ type: "notification",