// *****************************************************************************
// Copyright (C) 2025 Lonti.com Pty Ltd.
//
// 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
// *****************************************************************************

import { AIVariable } from '@theia/ai-core/lib/common/variable-service';
import { nls } from '@theia/core';

export const FILE: AIVariable = {
    id: 'codeCompletionFile',
    name: 'codeCompletionFile',
    description: nls.localize('theia/ai/completion/fileVariable/description', 'The URI of the file being edited. Only available in code completion context.'),
};

export const PREFIX: AIVariable = {
    id: 'codeCompletionPrefix',
    name: 'codeCompletionPrefix',
    description: nls.localize('theia/ai/completion/prefixVariable/description', 'The code before the current cursor position. Only available in code completion context.'),
};

export const SUFFIX: AIVariable = {
    id: 'codeCompletionSuffix',
    name: 'codeCompletionSuffix',
    description: nls.localize('theia/ai/completion/suffixVariable/description', 'The code after the current cursor position. Only available in code completion context.'),
};

export const LANGUAGE: AIVariable = {
    id: 'codeCompletionLanguage',
    name: 'codeCompletionLanguage',
    description: nls.localize('theia/ai/completion/languageVariable/description', 'The languageId of the file being edited. Only available in code completion context.'),
};
