UNPKG

donobu

Version:

Create browser automations with an LLM agent and replay them as Playwright scripts.

23 lines 734 B
import type { ProposedToolCall } from '../../../models/ProposedToolCall'; import type { CallSite } from './callSiteCapture'; /** * A single action recorded during a tbd() session — either a manual * user interaction (click, type, etc.) or an AI instruction. */ export type TbdRecordedAction = { type: 'toolCall'; toolCall: ProposedToolCall; } | { type: 'aiInstruction'; instruction: string; }; /** * A completed tbd() session ready for code replacement. */ export interface TbdSession { /** Where `await page.tbd()` was called in the source. */ callSite: CallSite; /** The recorded actions in chronological order. */ recordedActions: TbdRecordedAction[]; } //# sourceMappingURL=tbdTypes.d.ts.map