vibe-tools
Version:
CLI tools for AI agents
55 lines (54 loc) • 2.16 kB
TypeScript
import type { Provider, CommandGenerator } from '../types';
export declare const VIBE_COLORS: {
main: (text: string) => string;
dark: (text: string) => string;
light: (text: string) => string;
success: (text: string) => string;
error: (text: string) => string;
warning: (text: string) => string;
info: (text: string) => string;
white: (text: string) => string;
gray: (text: string) => string;
};
export declare const VIBE_HOME_DIR: string;
export declare const VIBE_HOME_ENV_PATH: string;
export declare const VIBE_HOME_CONFIG_PATH: string;
export declare const CLAUDE_HOME_DIR: string;
export declare const CODEX_HOME_DIR: string;
export declare const CODEX_GLOBAL_INSTRUCTIONS_PATH: string;
export declare const CODEX_LOCAL_INSTRUCTIONS_FILENAME = "codex.md";
export declare const LOCAL_ENV_PATH: string;
export declare const LOCAL_CONFIG_PATH: string;
export declare const VALID_PROVIDERS: string[];
export declare const VALID_PROVIDERS_LOWERCASE: string[];
export declare function updateRulesSection(filePath: string, rulesTemplate: string): void;
export declare function ensureDirectoryExists(dir: string): void;
export declare function clearScreen(): void;
export declare function writeKeysToFile(filePath: string, keys: Record<string, string>): void;
export declare function checkLocalDependencies(targetPath: string): Promise<string | null>;
export declare function getVibeToolsLogo(): string;
export declare function collectRequiredProviders(config: {
ide?: string;
coding?: {
provider: Provider;
model: string;
};
websearch?: {
provider: Provider;
model: string;
};
tooling?: {
provider: Provider;
model: string;
};
largecontext?: {
provider: Provider;
model: string;
};
}): Provider[];
export declare function parseProviderModel(value: string): {
provider: Provider;
model: string;
};
export declare function setupClinerules(absolutePath: string, selectedIde: string, generateRules: (ide: string, isMdc?: boolean) => string): Promise<void>;
export declare function handleLegacyMigration(): CommandGenerator;