UNPKG

@devexcelsior/inference-instruction-kit

Version:

Structured fallback contract and instruction schema for inference-driven UI healing

10 lines (9 loc) 329 B
export type HealingInstructionType = 'PATCH' | 'ROLLBACK' | 'RETRY' | 'ESCALATE'; export interface HealingInstruction { type: HealingInstructionType; target: string; value?: any; reason?: string; confidence?: number; } export declare function validateInstruction(payload: any): payload is HealingInstruction;