Skip to content
Source
Sign inSign up
pingdotgg/t3code

feat(mobile): port worktree setup progress and agent handoff #12177

Mergedjuliusmarmingemerged 1 commit intomobile-worktree-setup/cancellation fromrefs/pull/12177/headmerged by juliusmarminge View on GitHub

Showing 14 changed files with 34 additions and 0 deletions (loading 12).

x
0 of 14 viewed, 14 left
7 additions and 0 deletionsapps/mobile/src/features/threads/ThreadDetailScreen.tsxModified
View file
@@ -1,3 +1,4 @@
+import type { WorktreeSetupCardProps } from "./worktree-setup-card";
import type { ComposerTextPaste } from "../../native/T3ComposerEditor.types";
import { type EnvironmentConnectionPhase } from "@t3tools/client-runtime/connection";
import {
@@ -106,6 +107,8 @@
import { resolveThreadFeedSubmissionAnchor } from "./thread-feed-live-follow";
​
export interface ThreadDetailScreenProps {
+ readonly worktreeSetup?: WorktreeSetupCardProps | null;
+ readonly setupWorkingStartedAt?: string | null;
readonly selectedThread: OrchestrationThreadShell;
readonly contentPresentation: ThreadContentPresentation;
readonly screenTone: StatusTone;
@@ -361,6 +364,8 @@
return null;
if (props.creationState?.kind === "preparing") {
+ // The setup header already reports progress in the feed.
+ if (props.worktreeSetup) return null;
return {
kind: "preparing",
label: props.creationState.preparingWorktree ? "Setting up worktree…" : "Starting…",
@@ -873,6 +878,8 @@
threadId={props.selectedThread.id}
workspaceRoot={props.threadCwd}
feed={props.selectedThreadFeed}
+ worktreeSetup={props.worktreeSetup}