/** Contract version for response template definitions and CLI shaping metadata. */
export const RESPONSE_TEMPLATE_CONTRACT_VERSION = 1;
/** Max length for a single advisory warning line (T265 / T266). */
export const MAX_TEMPLATE_WARNING_LENGTH = 120;
export function truncateTemplateWarning(message) {
    const t = message.trim();
    if (t.length <= MAX_TEMPLATE_WARNING_LENGTH)
        return t;
    return `${t.slice(0, MAX_TEMPLATE_WARNING_LENGTH - 1)}…`;
}
