@vibe-validate/history
Version:
Validation history tracking via git notes for vibe-validate
21 lines • 752 B
JavaScript
/**
* Output truncation utilities
*
* v0.15.0: Truncation no longer needed - extractors handle it
* (MAX_ERRORS_IN_ARRAY = 10, output field removed from StepResult)
*/
/**
* Truncate validation result output to max bytes
*
* v0.15.0: No-op function - extraction is already truncated by extractors
*
* @param result - Validation result
* @param _maxBytes - Unused (kept for backward compatibility)
* @returns Same validation result (no truncation needed)
*/
export function truncateValidationOutput(result, _maxBytes = 10000) {
// v0.15.0: Extraction already truncated by extractors (MAX_ERRORS_IN_ARRAY = 10)
// output field removed from StepResult, so no truncation needed
return result;
}
//# sourceMappingURL=truncate.js.map