UNPKG

@code-yeongyu/senpi

Version:

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

23 lines • 903 B
/** * Visual contract for a transcript notice box: the shared widget used by * loop-guard detections, ttsr stream-rule interventions, goal cache-warm * entries, and interactive fallback transitions. */ export type NoticeTone = "accent" | "warning" | "error" | "success" | "dim"; export interface NoticeLine { readonly text: string; /** Line tone; defaults to "dim". */ readonly tone?: NoticeTone; } export interface NoticeSpec { readonly title: string; /** Title tone; defaults to "accent". */ readonly tone?: NoticeTone; /** Secondary line explaining what happened, rendered dim. */ readonly why: string; /** Optional extra lines between the why line and the expanded detail. */ readonly extra?: readonly NoticeLine[]; /** Detail line shown only when the transcript is expanded. */ readonly expandedLine?: string; } //# sourceMappingURL=spec.d.ts.map