UNPKG

@code-yeongyu/senpi

Version:

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

24 lines • 968 B
import { Container } from "@earendil-works/pi-tui"; import type { Theme } from "../../../../../modes/interactive/theme/theme.ts"; import type { LoadedRule, RuleDiagnostic } from "../rules/types.ts"; export interface RulesBannerProps { ruleCount: number; diagnostics: ReadonlyArray<RuleDiagnostic>; topRules?: ReadonlyArray<Pick<LoadedRule, "relativePath" | "matchReason"> & { path?: string; }>; } export declare class RulesBanner extends Container { private readonly props; private readonly theme; constructor(props: RulesBannerProps, theme: Theme); render(width: number): string[]; invalidate(): void; } export declare function renderBannerLines(props: RulesBannerProps, theme: Theme, width: number): string[]; export interface StatusLineInput { ruleCount: number; hasErrors: boolean; } export declare function statusLineText(input: StatusLineInput, theme: Theme): string; //# sourceMappingURL=rules-banner.d.ts.map