/** * agent-session-runner.ts * * Upgraded Cloud Agent Executor for VibnCode. * Implements 4-level Smart Concurrency (parallel reads/lookups) and the * Ralph Loop (autonomous self-correction) entirely inside your secure Cloud VM. */ import { AgentConfig } from "./agents"; import { ToolContext } from "./tools"; export interface OutputLine { ts: string; type: "step" | "stdout" | "stderr" | "info" | "error" | "done"; text: string; } export interface SessionRunOptions { sessionId: string; projectId: string; vibnApiUrl: string; appPath: string; repoRoot?: string; isStopped: () => boolean; autoApprove?: boolean; giteaRepo?: string; coolifyAppUuid?: string; coolifyApiUrl?: string; coolifyApiToken?: string; } export declare function runSessionAgent(config: AgentConfig, task: string, ctx: ToolContext, opts: SessionRunOptions): Promise;