"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.STRUCTURED_DRAFT_METADATA = void 0;
exports.readStructuredDraftRepairKind = readStructuredDraftRepairKind;
exports.STRUCTURED_DRAFT_METADATA = {
    issueDraft: {
        repairKindProperty: "issueDraftRepairKind",
        diagnosticLabel: "issue draft",
        repairPrompt: {
            missingLine: "- Return a complete issue draft JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected issue draft JSON that matches the contract.",
        },
    },
    eventHookDraft: {
        repairKindProperty: "eventHookDraftRepairKind",
        diagnosticLabel: "event hook draft",
        repairPrompt: {
            missingLine: "- Return a complete event hook draft JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected event hook draft JSON that matches the contract.",
        },
    },
    templateDraft: {
        repairKindProperty: "templateDraftRepairKind",
        diagnosticLabel: "template draft",
        repairPrompt: {
            missingLine: "- Return a complete template draft JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected template draft JSON that matches the contract.",
        },
    },
    templateUpdate: {
        repairKindProperty: "templateUpdateRepairKind",
        diagnosticLabel: "template update",
        repairPrompt: {
            missingLine: "- Return a complete template update JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected template update JSON that matches the contract.",
        },
    },
    aiWorkflowOptionAutofill: {
        repairKindProperty: "aiWorkflowOptionAutofillRepairKind",
        diagnosticLabel: "AI workflow option autofill",
        repairPrompt: {
            missingLine: "- Return a complete AI workflow option autofill JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected AI workflow option autofill JSON that matches the contract.",
        },
    },
    followupProposalReview: {
        repairKindProperty: "followupProposalReviewRepairKind",
        diagnosticLabel: "follow-up proposal review",
        repairPrompt: {
            missingLine: "- Return a complete follow-up proposal review JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected follow-up proposal review JSON that matches the contract.",
        },
    },
    workflowTemplateFitReview: {
        repairKindProperty: "workflowTemplateFitReviewRepairKind",
        diagnosticLabel: "workflow template fit review",
        repairPrompt: {
            missingLine: "- Return a complete workflow template fit review JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected workflow template fit review JSON that matches the contract.",
        },
    },
    workflowPlanReview: {
        repairKindProperty: "workflowPlanReviewRepairKind",
        diagnosticLabel: "workflow plan review",
        repairPrompt: {
            missingLine: "- Return a complete workflow plan review JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected workflow plan review JSON that matches the contract.",
        },
    },
    pullRequestReviewNecessity: {
        repairKindProperty: "pullRequestReviewNecessityRepairKind",
        diagnosticLabel: "pull request review necessity",
        repairPrompt: {
            missingLine: "- Return a complete pull request review necessity JSON object inside the required decision markers.",
            returnOnlyLine: "- Return only corrected pull request review necessity JSON that matches the contract.",
        },
    },
};
function readStructuredDraftRepairKind(error, metadata) {
    return error[metadata.repairKindProperty];
}
