@nanocollective/nanocoder
Version:
A local-first CLI coding agent that brings the power of agentic coding tools like Claude Code and Gemini CLI to local models or controlled APIs like OpenRouter
51 lines • 1.62 kB
TypeScript
/**
* VS Code extension installation utilities
*/
/**
* List of supported VS Code CLI executables (including forks).
* These are known to support the --install-extension and --list-extensions CLI flags.
*/
export declare const SUPPORTED_CLIS: string[];
/**
* Interface for VS Code flavor status
*/
export interface VSCodeStatus {
cli: string;
available: boolean;
extensionInstalled: boolean;
}
/**
* Get the path to the bundled VSIX file
*/
export declare function getVsixPath(): string;
/**
* Get all available VS Code (or fork) CLIs in the PATH.
* Uses parallel async checks with timeouts for better performance.
*/
export declare function getAvailableClis(forceRefresh?: boolean): Promise<string[]>;
/**
* Check if any VS Code CLI is available
*/
export declare function isVSCodeCliAvailable(): Promise<boolean>;
/**
* Get detailed status for all supported VS Code flavors
*/
export declare function getExtensionStatus(): Promise<VSCodeStatus[]>;
/**
* Check if the nanocoder VS Code extension is installed in any available VS Code flavor
* @deprecated Use getExtensionStatus() for richer information
*/
export declare function isExtensionInstalled(): Promise<boolean>;
/**
* Install the VS Code extension from the bundled VSIX to all or specific available VS Code flavors.
* Returns a promise that resolves when installation is complete.
*/
export declare function installExtension(targetClis?: string[]): Promise<{
success: boolean;
message: string;
results: {
cli: string;
success: boolean;
}[];
}>;
//# sourceMappingURL=extension-installer.d.ts.map