Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

turnItemPresentation.ts

8 lines403 Bytes

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}