// ***************************************************************************** // Copyright (C) 2025 EclipseSource GmbH. // // This program and the accompanying materials are made available under the // terms of the Eclipse Public License v. 2.0 which is available at // http://www.eclipse.org/legal/epl-2.0. // // This Source Code may also be made available under the following Secondary // Licenses when the conditions for such availability set forth in the Eclipse // Public License v. 2.0 are satisfied: GNU General Public License, version 2 // with the GNU Classpath Exception which is available at // https://www.gnu.org/software/classpath/license.html. // // SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-only WITH Classpath-exception-2.0 // ***************************************************************************** export const SUGGEST_FILE_CONTENT_ID = 'suggestFileContent'; export const WRITE_FILE_CONTENT_ID = 'writeFileContent'; /** * Default function ID for suggesting file replacements. * Uses the improved content replacer implementation (V2) with better matching and error handling. * This replaced the previous simpler implementation which is now available as SUGGEST_FILE_REPLACEMENTS_SIMPLE_ID. */ export const SUGGEST_FILE_REPLACEMENTS_ID = 'suggestFileReplacements'; /** * Legacy function ID for suggesting file replacements. * Uses the original content replacer implementation (V1). * @deprecated This is the older implementation. Consider using SUGGEST_FILE_REPLACEMENTS_ID (default) instead. * This implementation may be removed in a future version. */ export const SUGGEST_FILE_REPLACEMENTS_SIMPLE_ID = 'suggestFileReplacements_Simple'; /** * Default function ID for writing file replacements. * Uses the improved content replacer implementation (V2) with better matching and error handling. * This replaced the previous simpler implementation which is now available as WRITE_FILE_REPLACEMENTS_SIMPLE_ID. */ export const WRITE_FILE_REPLACEMENTS_ID = 'writeFileReplacements'; /** * Legacy function ID for writing file replacements. * Uses the original content replacer implementation (V1). * @deprecated This is the older implementation. Consider using WRITE_FILE_REPLACEMENTS_ID (default) instead. * This implementation may be removed in a future version. */ export const WRITE_FILE_REPLACEMENTS_SIMPLE_ID = 'writeFileReplacements_Simple'; export const CLEAR_FILE_CHANGES_ID = 'clearFileChanges'; export const GET_PROPOSED_CHANGES_ID = 'getProposedFileState';