@devexcelsior/inference-instruction-kit
Version:
Structured fallback contract and instruction schema for inference-driven UI healing
11 lines (10 loc) • 443 B
JavaScript
;
// © 2025 DevExcelsior – Commercial use prohibited. License required.
// Contact: curtnpuckett@gmail.com
Object.defineProperty(exports, "__esModule", { value: true });
exports.validateInstruction = validateInstruction;
function validateInstruction(payload) {
return (typeof payload === 'object' &&
['PATCH', 'ROLLBACK', 'RETRY', 'ESCALATE'].includes(payload.type) &&
typeof payload.target === 'string');
}