@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
10 lines • 440 B
TypeScript
import type { HookDiagnostic, HookDiagnosticCode, HookSourceMetadata } from "./types.ts";
export type DiagnosticDraft = {
readonly code: HookDiagnosticCode;
readonly message: string;
readonly path: string;
readonly event?: string;
readonly severity?: "error" | "warning";
};
export declare function diagnostic(draft: DiagnosticDraft, source: HookSourceMetadata): HookDiagnostic;
//# sourceMappingURL=diagnostics.d.ts.map