@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
15 lines • 849 B
TypeScript
import Type, { type Static } from "typebox";
/** S14/RULING-84: one wire schema shared by producer and client policy; no prompt or current-root action exists. */
export declare const RecoveryRepairAdviceSchema: Type.TObject<{
state: Type.TUnion<[Type.TLiteral<"ok">, Type.TLiteral<"repair_needed">, Type.TLiteral<"storage_unavailable">]>;
healthRevision: Type.TUnion<[Type.TString, Type.TNull]>;
source: Type.TUnion<[Type.TObject<{
sessionEpoch: Type.TString;
sequence: Type.TInteger;
}>, Type.TNull]>;
hint: Type.TLiteral<"restart_from_catalog">;
retryAfterMs: Type.TInteger;
}>;
export type RecoveryRepairAdvice = Readonly<Static<typeof RecoveryRepairAdviceSchema>>;
export declare function isRecoveryRepairAdvice(value: unknown): value is RecoveryRepairAdvice;
//# sourceMappingURL=recovery-repair.d.ts.map