UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

10 lines (9 loc) • 410 B
import type { EngineNotice } from "../engine-notice.js"; export interface FinishReasonSeat { /** Observe one assistant message; announce each stream-end fact this leg has not announced yet. */ observe(message: unknown): void; } export declare function createFinishReasonSeat(onNotice: ((notice: EngineNotice) => void) | undefined, ids: { sessionId: string; runId: string; }): FinishReasonSeat;