Open History to see the last commit
1import type { OrchestrationV2TurnItem } from "@t3tools/contracts";
2
3const WORKSPACE_PREPARATION_INPUT = "Preparing workspace";
4
5/** Workspace setup is client bookkeeping; preparation failures have their own error item. */
6export function turnItemIsWorkspacePreparation(item: OrchestrationV2TurnItem): boolean {
7 return item.type === "command_execution" && item.input === WORKSPACE_PREPARATION_INPUT;
8}