UNPKG

chromancer

Version:

A powerful command-line interface for automating Chrome browser using Playwright. Perfect for web scraping, automation, testing, and browser workflows.

60 lines (59 loc) 1.31 kB
export interface WorkflowStepResult { stepNumber: number; command: string; args: any; success: boolean; output?: string; error?: string; duration: number; checkpoint?: WorkflowCheckpoint; } export interface WorkflowCheckpoint { id: string; name?: string; pageState: { url: string; title: string; timestamp: string; }; stepNumber: number; } export interface WorkflowExecutionResult { success: boolean; totalSteps: number; successfulSteps: number; failedSteps: number; steps: WorkflowStepResult[]; totalDuration: number; earlyBailout?: boolean; checkpoints?: WorkflowCheckpoint[]; } export interface SavedWorkflow { id: string; name: string; description?: string; prompt: string; yaml: string; createdAt: string; updatedAt: string; tags?: string[]; executions?: number; lastExecuted?: string; versions?: WorkflowVersion[]; branches?: WorkflowBranch[]; } export interface WorkflowVersion { version: number; yaml: string; prompt: string; createdAt: string; reason?: string; } export interface WorkflowBranch { id: string; name: string; fromCheckpoint: string; prompt: string; yaml: string; createdAt: string; }