

const PROMPT_DOCUMENTATION_URL = "https://aka.ms/vscode-ghcp-prompt-snippets";
const INSTRUCTIONS_DOCUMENTATION_URL = "https://aka.ms/vscode-ghcp-custom-instructions";
const AGENT_DOCUMENTATION_URL = "https://aka.ms/vscode-ghcp-custom-chat-modes";
const SKILL_DOCUMENTATION_URL = "https://aka.ms/vscode-agent-skills";
const HOOK_DOCUMENTATION_URL = "https://aka.ms/vscode-chat-hooks";
const PROMPT_LANGUAGE_ID = "prompt";
const INSTRUCTIONS_LANGUAGE_ID = "instructions";
const AGENT_LANGUAGE_ID = "chatagent";
const SKILL_LANGUAGE_ID = "skill";
const ALL_PROMPTS_LANGUAGE_SELECTOR = [
    PROMPT_LANGUAGE_ID,
    INSTRUCTIONS_LANGUAGE_ID,
    AGENT_LANGUAGE_ID,
    SKILL_LANGUAGE_ID
];
const AGENT_DEBUG_LOG_ENABLED_SETTING = "github.copilot.chat.agentDebugLog.enabled";
const AGENT_DEBUG_LOG_FILE_LOGGING_ENABLED_SETTING = "github.copilot.chat.agentDebugLog.fileLogging.enabled";
const TROUBLESHOOT_COMMAND_NAME = "troubleshoot";
const COPILOT_SKILL_URI_SCHEME = "copilot-skill";
const TROUBLESHOOT_SKILL_PATH = "troubleshoot/SKILL.md";
function getLanguageIdForPromptsType(type) {
    switch (type) {
    case PromptsType.prompt:
        return PROMPT_LANGUAGE_ID;
    case PromptsType.instructions:
        return INSTRUCTIONS_LANGUAGE_ID;
    case PromptsType.agent:
        return AGENT_LANGUAGE_ID;
    case PromptsType.skill:
        return SKILL_LANGUAGE_ID;
    case PromptsType.hook:
        return "jsonc";
    default:
        throw ( new Error(`Unknown prompt type: ${type}`));
    }
}
function getPromptsTypeForLanguageId(languageId) {
    switch (languageId) {
    case PROMPT_LANGUAGE_ID:
        return PromptsType.prompt;
    case INSTRUCTIONS_LANGUAGE_ID:
        return PromptsType.instructions;
    case AGENT_LANGUAGE_ID:
        return PromptsType.agent;
    case SKILL_LANGUAGE_ID:
        return PromptsType.skill;
    default:
        return undefined;
    }
}
var PromptsType;
(function(PromptsType) {
    PromptsType["instructions"] = "instructions";
    PromptsType["prompt"] = "prompt";
    PromptsType["agent"] = "agent";
    PromptsType["skill"] = "skill";
    PromptsType["hook"] = "hook";
})(PromptsType || (PromptsType = {}));
function isValidPromptType(type) {
    return ( Object.values(PromptsType)).includes(type);
}
var Target;
(function(Target) {
    Target["VSCode"] = "vscode";
    Target["GitHubCopilot"] = "github-copilot";
    Target["Claude"] = "claude";
    Target["Undefined"] = "undefined";
})(Target || (Target = {}));

export { AGENT_DEBUG_LOG_ENABLED_SETTING, AGENT_DEBUG_LOG_FILE_LOGGING_ENABLED_SETTING, AGENT_DOCUMENTATION_URL, AGENT_LANGUAGE_ID, ALL_PROMPTS_LANGUAGE_SELECTOR, COPILOT_SKILL_URI_SCHEME, HOOK_DOCUMENTATION_URL, INSTRUCTIONS_DOCUMENTATION_URL, INSTRUCTIONS_LANGUAGE_ID, PROMPT_DOCUMENTATION_URL, PROMPT_LANGUAGE_ID, PromptsType, SKILL_DOCUMENTATION_URL, SKILL_LANGUAGE_ID, TROUBLESHOOT_COMMAND_NAME, TROUBLESHOOT_SKILL_PATH, Target, getLanguageIdForPromptsType, getPromptsTypeForLanguageId, isValidPromptType };
