"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecuteEchoToolDefinition = exports.executeEchoResponseSchema = exports.executeEchoArgumentsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
exports.executeEchoArgumentsSchema = zod_1.z.object({
    message: zod_1.z
        .string()
        .describe('The note text, recorded verbatim as a visible echo step in the test. ' +
        'Write exactly what you want to appear — the message is not modified or ' +
        'prefixed. For a section marker use the label itself (e.g. ' +
        '"Verify Ship Breakdown"); for an unresolved need, write the TODO ' +
        'yourself (e.g. "[TODO] assert shipment total once the drawer renders").'),
});
exports.executeEchoResponseSchema = zod_1.z.object({
    success: zod_1.z.boolean(),
    message: zod_1.z.string().optional(),
});
exports.ExecuteEchoToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: 'execute_echo',
    description: 'Insert an echo step — a visible, non-executing note — at the current cursor ' +
        'position, then continue building the rest of the test. The message is ' +
        'recorded exactly as written. ' +
        'Two common uses: (1) a section marker labeling the steps that follow ' +
        '(e.g. "Verify Ship Breakdown"); (2) a TODO describing a part you cannot ' +
        'satisfy right now but can skip without blocking the rest of the test — ' +
        "for example, an assertion fails because the app doesn't behave as the " +
        'test plan expects, or a required element is missing. For a TODO, write the ' +
        '"[TODO]" prefix into the message yourself. ' +
        'If the issue is a true failure point where you cannot continue at all, use ' +
        'execute_ask_for_help instead. The goal is to get through as much of the ' +
        'test autonomously as possible — leave a note and move on rather than ' +
        'retrying endlessly or skipping silently.',
    argumentsSchema: exports.executeEchoArgumentsSchema,
    responseSchema: exports.executeEchoResponseSchema,
});
//# sourceMappingURL=ExecuteEchoDefinition.js.map