"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.refreshedStepsResponseFields = void 0;
var zod_1 = require("zod");
/**
 * Shared response fields for step-structure-mutating tools (execute_delete_steps,
 * execute_move_steps, execute_move_cursor, execute_start_step_group).
 *
 * After these tools run, the indices the agent fetched earlier are stale. Upgraded clients render
 * the refreshed step list (with formatFormattedSteps, the same renderer get_test_context uses) and
 * return it here, so the agent re-anchors inline instead of making a separate get_test_context
 * call. Both fields are optional — older clients omit them and fall back to get_test_context.
 */
exports.refreshedStepsResponseFields = {
    updated_test_steps: zod_1.z
        .string()
        .optional()
        .meta({
        description: 'The refreshed step list with the << CURSOR >> marker after this operation, in the same format as get_test_context. ' +
            'When present, re-anchor on these indices — you do not need to call get_test_context. Absent on older clients.',
    }),
    cursor_path: zod_1.z.string().optional().meta({
        description: 'Dot-notation cursor position after this operation (empty string means end of test). Accompanies updated_test_steps.',
    }),
};
//# sourceMappingURL=refreshedStepsResponseFields.js.map