- vibn-events-ingest.ts + emit() dual-write with session PATCH - .env.example: VIBN_API_URL, AGENT_RUNNER_SECRET Made-with: Cursor
7 lines
258 B
TypeScript
7 lines
258 B
TypeScript
export interface IngestEventInput {
|
|
type: string;
|
|
payload?: Record<string, unknown>;
|
|
ts?: string;
|
|
}
|
|
export declare function ingestSessionEvents(vibnApiUrl: string, projectId: string, sessionId: string, events: IngestEventInput[]): Promise<void>;
|