"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.UpdateTestOutlineToolDefinition = exports.updateTestOutlineToolResponseSchema = exports.updateTestOutlineToolParamsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
var agentToolNames_js_1 = require("../shared/agentToolNames.js");
var schemas_js_1 = require("./schemas.js");
exports.updateTestOutlineToolParamsSchema = zod_1.z.object({
    reason: zod_1.z.string().meta({
        description: 'The reason for the test outline update. If there is an existing outline, this should explain what should be changed about the current outline. If there is no existing outline, this should explain that an initial outline should be generated.',
    }),
});
/**
 * Response contains the updated test generation state after planning
 */
exports.updateTestOutlineToolResponseSchema = zod_1.z.object({
    updatedTestPlan: schemas_js_1.testPlanSchema.meta({
        description: 'The updated test outline',
    }),
});
exports.UpdateTestOutlineToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: agentToolNames_js_1.AgentToolNames.UpdateTestOutline,
    description: 'Update the test outline for the current test generation state using the planning module',
    argumentsSchema: exports.updateTestOutlineToolParamsSchema,
    responseSchema: exports.updateTestOutlineToolResponseSchema,
});
//# sourceMappingURL=UpdateTestOutlineDefinition.js.map