@adonis-agora/agent
Version:
Governed, durable-backed AI agent (chat + tool-calling + governance) for AdonisJS — part of the Agora ecosystem.
11 lines • 677 B
TypeScript
import type { StreamFrame } from '../spi/token-stream-sink.js';
import { type AgUiEvent, type AgUiStreamOptions } from './core/index.js';
export { agUiSse } from './core/index.js';
export type { AgUiStreamOptions };
/**
* One AG-UI run over a library run's stream — the local driver over this package's frames. It stops reading when the run is
* waiting on someone and nothing else is moving, closes the AG-UI run with the interrupt outcome,
* and leaves the library run parked for the resume to pick up.
*/
export declare function agUiEvents(frames: AsyncIterable<StreamFrame>, options: AgUiStreamOptions): AsyncGenerator<AgUiEvent>;
//# sourceMappingURL=stream.d.ts.map