UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

18 lines • 1.28 kB
/** * Rendering of monitor wakes: one event body, a monitor's group header, and the size of a * monitor's share of a wake, so the notifier can fill a wake by whole monitors without clipping. */ import type { MonitorEvent } from "./monitor-registry.ts"; export declare const SYSTEM_REMINDER_OPEN = "<system-reminder>"; export declare const SYSTEM_REMINDER_CLOSE = "</system-reminder>"; export declare const WAKE_BUDGET_PAUSE_NOTICE = "Monitor paused after repeated updates. Completion still wakes this session; peek bash_output or re-arm only for intermediate events."; export declare function eventBody(event: MonitorEvent): string; export declare function renderedLength(event: MonitorEvent): number; /** Characters one monitor adds to a wake: its group, its overflow notice, and their separators. */ export declare function monitorShareChars(events: readonly MonitorEvent[], notice: string): number; /** * One wake message. The notifier fills a wake by whole monitors within `maxChars`, so the clip is a * last-resort guard that a correctly sized wake never reaches. */ export declare function buildWakeMessage(events: readonly MonitorEvent[], notices: readonly string[], pauseNotice: string, maxChars: number): string; //# sourceMappingURL=monitor-notify-format.d.ts.map