+
+ {item.type}
+ {item.status}
+ {duration ? {duration} : null}
+ {support.run ? {support.run.status} : null}
+ {latestAttempt ? (
+
+ {latestAttempt.attemptOrdinal} · {latestAttempt.status} · {latestAttempt.reason}
+
+ ) : null}
+ {support.node ? (
+
+ {support.node.kind} · {support.node.status}
+
+ ) : null}
+ {support.providerThread ? (
+
+ {support.providerThread.providerInstanceId} · {support.providerThread.status}
+
+ ) : null}
+ {support.providerTurn ? (
+ {support.providerTurn.status}
+ ) : null}
+ {support.providerSession ? (
+
+ {support.providerSession.status} · {support.providerSession.model ?? "default model"}
+
+ ) : null}
+ {support.providerSession ? (
+ {support.providerSession.cwd}
+ ) : null}
+ {runtimeRequest ? (
+
+ {runtimeRequest.status} · {runtimeRequest.responseCapability.type}
+
+ ) : null}
+
+
+ {support.attempts.length > 1 ? (
+
+
+ Attempt history · {support.attempts.length}
+
+
+ {support.attempts.map((attempt) => (
+ -
+
+ Attempt {attempt.attemptOrdinal} · {attempt.reason.replaceAll("_", " ")}
+
+ {attempt.status}
+
+ ))}
+
+
+ ) : null}
+
+ {item.type === "reasoning" && item.text ? (
+
+
+
+ ) : null}
+
+ {item.type === "command_execution" ? (
+
+
+ {item.output !== undefined ?
: null}
+ {item.exitCode !== undefined ? (
+
+ Process exited with code {item.exitCode}
+
+ ) : null}
+
+ ) : null}
+
+ {item.type === "file_change" ? (
+
+
+ {formatWorkspaceRelativePath(item.fileName, props.workspaceRoot)}
+
+ {item.additions !== undefined || item.deletions !== undefined ? (
+
+ +{item.additions ?? 0}{" "}
+ -{item.deletions ?? 0}
+
+ ) : null}
+ {item.runId !== null ? (
+
+ ) : null}
+ {item.diffStr ? : null}
+
+ ) : null}
+
+ {item.type === "file_search" && item.results ? (
+
+ {item.results.map((result) => (
+ -
+
+ {formatWorkspaceRelativePath(result.fileName, props.workspaceRoot)}
+ {result.line === undefined ? "" : `:${result.line}`}
+ {result.column === undefined ? "" : `:${result.column}`}
+
+ {result.preview ? (
+
{result.preview}
+ ) : null}
+
+ ))}
+
+ ) : null}
+
+ {item.type === "web_search" && item.results ? (
+
+ ) : null}
+
+ {item.type === "dynamic_tool" ? (
+
+
+ {item.output !== undefined ? (
+
+ ) : null}
+
+ ) : null}
+
+ {item.type === "checkpoint" ? (
+
+
+ {support.checkpoint?.status ?? item.status} · {item.files.length} files
+
+ {props.onRollbackCheckpoint && support.checkpoint?.status === "ready" ? (
+
+ ) : null}
+
+ ) : null}
+
+ {item.type === "fork" ? (
+
+ ) : null}
+
+ {item.type === "subagent" && item.childThreadId !== null ? (
+
+ ) : null}
+
+ {item.type === "handoff" ? (
+
+
+ {item.fromProviderInstanceIds.join(", ")} → {item.toProviderInstanceId}
+
+
+ {item.strategy.replaceAll("_", " ")} · {support.contextHandoff?.status ?? item.status}
+
+ {support.contextTransfer ? (
+
+ Transfer {support.contextTransfer.type.replaceAll("_", " ")} ·{" "}
+ {support.contextTransfer.status}
+
+ ) : null}
+
+ ) : null}
+
+
+
+ Structured details
+
+
+
+
+
+
+ );
+});
diff --git a/apps/web/src/components/chat/V2LifecycleRow.tsx b/apps/web/src/components/chat/V2LifecycleRow.tsx
new file mode 100644
index 0000000000..652143dd59
--- /dev/null
+++ b/apps/web/src/components/chat/V2LifecycleRow.tsx
@@ -0,0 +1,160 @@
+import type { OrchestrationV2TurnItem, ThreadId } from "@t3tools/contracts";
+import type { TimestampFormat } from "@t3tools/contracts/settings";
+import { GitForkIcon, HammerIcon, MinusIcon, XIcon, ZapIcon } from "lucide-react";
+
+import { cn } from "~/lib/utils";
+import { formatShortTimestamp } from "../../timestampFormat";
+
+const LIFECYCLE_TYPES = new Set