UNPKG

@code-yeongyu/senpi

Version:

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

12 lines • 623 B
import type { HookDispatchResult } from "./dispatcher.ts"; import type { HookDiagnostic } from "./types.ts"; /** What a Stop hook's output set, recorded as a `senpi.hooks.stop-output` entry. */ export type StopOutputRecord = { readonly event: "Stop"; readonly exitCode: number | null; readonly fields: readonly string[]; readonly sourcePath: string; }; export declare function stopOutputRecords(result: HookDispatchResult): readonly StopOutputRecord[]; export declare function unsupportedStopOutputDiagnostics(result: HookDispatchResult): readonly HookDiagnostic[]; //# sourceMappingURL=stop-output.d.ts.map