Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(web,mobile): chat images reload when the agent rewrites the file #29741

Mergedjuliusmarmingemerged 4 commits intomain fromrefs/pull/29741/headmerged by juliusmarminge View on GitHub

Showing 15 changed files with 83 additions and 49 deletions (loading 12).

x
0 of 15 viewed, 15 left
51 additions and 48 deletionsapps/mobile/src/features/threads/ThreadDetailScreen.tsxModified
View file
@@ -197,6 +197,7 @@
} from "./ThreadComposer";
import { ComposerPopoverHost } from "./ComposerPopoverHost";
import { ThreadFeed, type ThreadFeedHandle, type ThreadFeedHistoryControls } from "./ThreadFeed";
+import { WorkspaceMutationIdProvider } from "./WorkspaceMutationIdProvider";
import { useThreadTurnSubagents } from "./ThreadAgentsSheet";
import { ComposerQueuedEditBanner } from "./ComposerQueuedEdit";
import { useThreadQueuedCount } from "./ThreadQueueControl";
@@ -1437,54 +1438,56 @@
- <ThreadFeed
- environmentId={props.environmentId}
- threadId={props.selectedThread.id}
- detailRef={props.selectedThreadDetailRef}
- workspaceRoot={props.threadCwd}
- feed={props.selectedThreadFeed}
- pendingHandoff={props.pendingHandoff}
- worktreeSetup={props.worktreeSetup}
- setupWorkingStartedAt={props.setupWorkingStartedAt}
- queuedMessages={props.queuedMessages}
- dispatchingMessageId={props.dispatchingMessageId}
- // A native subagent has no composer to edit a pending message in;
- // Cancel on the edit banner would discard it.
- onEditPendingMessage={
- isProviderSubagent || pendingMessageEditBlocked ? null : handleEditPendingMessage
- }
- contentPresentation={props.contentPresentation}