"use strict";
/**
 * Shared type definitions for AI tools
 * These types are used by both the tool implementations and UI components
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.TOOL_EDIT_WARNING = exports.NOTE_READ_FILE_AGAIN_RETRY = exports.NOTE_READ_FILE_FIRST_RETRY = exports.NOTE_READ_FILE_RETRY = exports.EDIT_FAILED_NOTE_PREFIX = exports.WRITE_DENIED_PREFIX = exports.FILE_EDIT_TOOL_NAMES = void 0;
exports.FILE_EDIT_TOOL_NAMES = [
    "file_edit_replace_string",
    "file_edit_replace_lines",
    "file_edit_insert",
];
/**
 * Prefix for file write denial error messages.
 * This consistent prefix helps both the UI and models detect when writes fail.
 */
exports.WRITE_DENIED_PREFIX = "WRITE DENIED, FILE UNMODIFIED:";
/**
 * Prefix for edit failure notes (agent-only messages).
 * This prefix signals to the agent that the file was not modified.
 */
exports.EDIT_FAILED_NOTE_PREFIX = "EDIT FAILED - file was NOT modified.";
/**
 * Common note fragments for DRY error messages
 */
exports.NOTE_READ_FILE_RETRY = "Read the file to get current content, then retry.";
exports.NOTE_READ_FILE_FIRST_RETRY = "Read the file first to get the exact current content, then retry.";
exports.NOTE_READ_FILE_AGAIN_RETRY = "Read the file again and retry.";
/**
 * Tool description warning for file edit tools
 */
exports.TOOL_EDIT_WARNING = "Always check the tool result before proceeding with other operations.";
//# sourceMappingURL=tools.js.map