/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { type AliasProposal } from "../library/ai/copilotSession.js"; import { BaseCommand } from "../library/commands/base.js"; export declare const SUPPORTED_ALIASES: readonly ["claude", "dev", "copilot", "oce", "ai-reset"]; export default class AiCommand extends BaseCommand { static readonly description = "AI-powered assistant that helps you launch the right AI agent."; static readonly examples: { description: string; command: string; }[]; static readonly flags: { aliasFile: import("@oclif/core/interfaces").OptionFlag; githubToken: import("@oclif/core/interfaces").OptionFlag; launchFile: import("@oclif/core/interfaces").OptionFlag; model: import("@oclif/core/interfaces").OptionFlag; }; run(): Promise; private tryResolveRepoRoot; /** * Finds and reads agent-aliases.sh. Checks the system-wide install first * (codespace), then falls back to the repo-relative path. */ private resolveAliasFile; /** * Reads a file from the devcontainer ai-agent directories, checking * ai-agent-insiders/ first then ai-agent/ in both cwd and repoRoot. */ private readDevcontainerFile; /** * Loads the launcher prompt template and its frontmatter config. * Falls back to a minimal default if the file is not found. */ private loadPromptFile; } export declare function assertSafeAliasSelection(proposal: AliasProposal, allowedAliases: Set): void; export declare function buildLauncherPrompt({ template, aliasFileContent, gettingStartedContent, allowedAliases, }: { template: string; aliasFileContent: string; gettingStartedContent?: string; allowedAliases: readonly string[]; }): string; export declare function normalizePromptAnswer(answer: string, choices?: string[]): string; //# sourceMappingURL=ai.d.ts.map