"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ExecuteMoveCursorToolDefinition = exports.executeMoveCursorResponseSchema = exports.executeMoveCursorArgumentsSchema = void 0;
var zod_1 = require("zod");
var toolDefinition_js_1 = require("../toolDefinition.js");
var stepIndexDescription_js_1 = require("./shared/stepIndexDescription.js");
var refreshedStepsResponseFields_js_1 = require("./shared/refreshedStepsResponseFields.js");
exports.executeMoveCursorArgumentsSchema = zod_1.z.object({
    target_position: zod_1.z
        .string()
        .describe("".concat(stepIndexDescription_js_1.STEP_INDEX_DESCRIPTION, " Position to move the cursor to. The cursor determines where new steps are inserted.")),
});
exports.executeMoveCursorResponseSchema = zod_1.z.object(__assign({ success: zod_1.z.boolean(), message: zod_1.z.string().optional() }, refreshedStepsResponseFields_js_1.refreshedStepsResponseFields));
exports.ExecuteMoveCursorToolDefinition = (0, toolDefinition_js_1.defineTool)({
    name: 'execute_move_cursor',
    description: 'Moves the cursor to a specific position in the test using 1-based dot-notation. "3" moves to root step 3, "2.1" moves inside task group 2 to step 1. The cursor determines where new steps are inserted. The refreshed step list with the new cursor position is returned in this tool\'s output (updated_test_steps).',
    argumentsSchema: exports.executeMoveCursorArgumentsSchema,
    responseSchema: exports.executeMoveCursorResponseSchema,
});
//# sourceMappingURL=ExecuteMoveCursorDefinition.js.map