UNPKG

donobu

Version:

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

20 lines 878 B
import type { Request, Response } from 'express'; import type { DonobuFlowsManager } from '../managers/DonobuFlowsManager'; /** * API controller for retrieving AI query records within Donobu flows. * * AI queries represent the decision cycles where the AI analyzed the current * page state (via clean and annotated screenshots) before deciding on the next * action. Each record includes the screenshots the AI was shown, the * interactable elements it could choose from, and any error that occurred * during the query. */ export declare class FlowsAiQueriesApi { private readonly donobuFlowsManager; constructor(donobuFlowsManager: DonobuFlowsManager); /** * Retrieves all AI query records for a specific flow, ordered by query time. */ getAiQueries(req: Request, res: Response): Promise<void>; } //# sourceMappingURL=FlowsAiQueriesApi.d.ts.map