UNPKG

mastra

Version:
25 lines 1.19 kB
import type { PackageManager } from '../utils/package-manager.js'; export declare function getPackageManager(): PackageManager; export declare function parseMcp(value: string): "cursor" | "cursor-global" | "windsurf" | "vscode" | "antigravity"; export declare function parseSkills(value: string): string[]; export declare function parseComponents(value: string): ("agents" | "workflows" | "tools" | "scorers")[]; export declare function parseLlmProvider(value: string): "openai" | "anthropic" | "groq" | "google" | "cerebras" | "mistral"; export declare function shouldSkipDotenvLoading(): boolean; /** * Get the version tag (e.g., 'beta', 'latest') for the currently running mastra CLI. * This queries npm dist-tags to find which tag corresponds to the current version. */ export declare function getVersionTag(): Promise<string | undefined>; /** * Check if the current directory already has git initialized. */ export declare function isGitInitialized({ cwd }: { cwd: string; }): Promise<boolean>; /** * Initialize a git repository in the specified directory. */ export declare function gitInit({ cwd }: { cwd: string; }): Promise<void>; //# sourceMappingURL=utils.d.ts.map