/**
 * Workflow Types for Relay Cloud Swarm Patterns
 *
 * Shared TypeScript types for relay.yaml configuration, workflow execution,
 * and database row representations.
 */
/** Type guard: Check if a step is a deterministic (shell command) step. */
export function isDeterministicStep(step) {
    return step.type === 'deterministic';
}
/** Type guard: Check if a step is a worktree (git worktree setup) step. */
export function isWorktreeStep(step) {
    return step.type === 'worktree';
}
/** Type guard: Check if a step uses a custom step definition. */
export function isCustomStep(step) {
    return step.use !== undefined;
}
/** Type guard: Check if a step is an agent (LLM-powered) step. */
export function isAgentStep(step) {
    return step.type !== 'deterministic' && step.type !== 'worktree';
}
//# sourceMappingURL=types.js.map