@sema-agent/core
Version:
Stateless, task-oriented AI agent core
10 lines (9 loc) • 634 B
TypeScript
/**
* The display bound, in characters, of a prose frame's echo. The wire contract names no number ("the injected text
* clipped to a display bound"); this is the one the stream has always used. A frame whose body is a list of rows the
* renderer already bounds declares its own wider bound on the frame (`TurnAttachment.echoBound`) rather than being
* cut mid-row by this one.
*/
export declare const STEERING_PREVIEW_BUDGET = 220;
/** The echo text of an injected frame body, bounded at `bound` (the shared budget when the frame declares none). */
export declare function steeringPreview(body: string, bound?: number): string;