UNPKG

@code-yeongyu/senpi

Version:

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

17 lines • 892 B
/** * Keeps `events: "all"` readable: streaming records collapse per session into one line per 2 s window * (`streaming +<n> deltas (last: "...")`), and surface churn (`loaded_surfaces_changed`, * `commands_changed`) into one line per session per 5 s with its count. A window opens on its first * record and flushes when it closes; nothing is delayed beyond its window. */ import type { RpcRecord } from "./rpc-monitor-observer.ts"; export declare const DELTA_WINDOW_MS = 2000; export declare const SURFACE_WINDOW_MS = 5000; export declare class RpcMonitorCoalescer { #private; constructor(flush: (line: string) => void); /** Takes a coalesced kind into its window; false for every other kind (the caller renders it). */ accept(sessionKey: string, label: () => string, record: RpcRecord): boolean; dispose(): void; } //# sourceMappingURL=rpc-monitor-coalesce.d.ts.map