@devries-cameron20 / t3code-1 / commits / c1b23e903c
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

fix(mobile): Show feedback when a response fork fails (#37390)

Co-authored-by: Julius Marminge <julius0216@outlook.com>

Mike Olson committed Nov 16, 2026 at 00:54 UTC c1b23e903c8fb273d48a263185d0df6003f59d6b
1 file changed +9 -1
apps/mobile/src/features/threads/ThreadFeed.tsx
+9 -1
@@ -85,6 +85,7 @@ import { resolveAssetUrl } from "@t3tools/client-runtime/state/assets";
85 import { formatAttachmentSize } from "@t3tools/client-runtime/state/attachments";
86 import {
87 executeAtomQuery,
88 + isAtomCommandInterrupted,
89 settlePromise,
90 squashAtomCommandFailure,
91 } from "@t3tools/client-runtime/state/runtime";
@@ -450,7 +451,14 @@ function AssistantForkButton(props: {
451 },
452 })
453 .then(async (result) => {
453 - if (result._tag !== "Success") return;
454 + if (isAtomCommandInterrupted(result)) return;
455 + if (result._tag !== "Success") {
456 + Dialog.alert(
457 + "Could not confirm fork",
458 + "Reconnect and check the thread list before trying again.",
459 + );
460 + return;
461 + }
462 const targetThreadReady = await waitForThreadShell(
463 scopeThreadRef(props.environmentId, targetThreadId),
464 );