@sema-agent/core
Version:
Stateless, task-oriented AI agent core
14 lines (13 loc) • 599 B
TypeScript
import type { EngineNotice } from "../engine-notice.js";
export interface ToolCallIdFoldSeat {
/** Observe one assistant message; announces the run's first folded call. */
observe(message: {
readonly content?: unknown;
}): void;
}
/** The notice's attribution ids — the same pair, for the same reason, as {@link ResponseModelSeatIds}. */
export interface ToolCallIdFoldSeatIds {
sessionId: string;
runId: string;
}
export declare function createToolCallIdFoldSeat(onNotice: ((notice: EngineNotice) => void) | undefined, ids: ToolCallIdFoldSeatIds): ToolCallIdFoldSeat;