feat(agent): POST timeline events to vibn-frontend ingest API

- vibn-events-ingest.ts + emit() dual-write with session PATCH
- .env.example: VIBN_API_URL, AGENT_RUNNER_SECRET

Made-with: Cursor
This commit is contained in:
2026-04-01 11:48:57 -07:00
parent 1ff020cf53
commit 419af40ca2
7 changed files with 226 additions and 8 deletions

View File

@@ -23,6 +23,13 @@ export interface SessionRunOptions {
projectId: string;
vibnApiUrl: string;
appPath: string;
repoRoot?: string;
isStopped: () => boolean;
autoApprove?: boolean;
giteaRepo?: string;
coolifyAppUuid?: string;
coolifyApiUrl?: string;
coolifyApiToken?: string;
theiaWorkspaceSubdir?: string;
}
export declare function runSessionAgent(config: AgentConfig, task: string, ctx: ToolContext, opts: SessionRunOptions): Promise<void>;