/** * Path utilities for oh-my-kimi. * Resolves provider home/config, skills, prompts, agents, and OMX state. */ export declare const PRIMARY_PROVIDER_NAME = "kimi"; export declare const PRIMARY_PROVIDER_DISPLAY_NAME = "Kimi Code CLI"; export declare const PRIMARY_PROVIDER_HOME_ENV = "KIMI_HOME"; export declare const PRIMARY_PROVIDER_HOME_DIRNAME = ".kimi"; export declare const PRIMARY_PROVIDER_PROJECT_DIRNAME = ".kimi"; export declare const LEGACY_PROVIDER_NAME = "codex"; export declare const LEGACY_PROVIDER_HOME_ENV = "CODEX_HOME"; export declare const LEGACY_PROVIDER_HOME_DIRNAME = ".codex"; /** Canonical provider home directory (~/.kimi/) with legacy CODEX_HOME fallback. */ export declare function providerHome(): string; /** Legacy Codex home directory (~/.codex/) or CODEX_HOME. */ export declare function legacyCodexHome(): string; /** Canonical provider config file path (~/.kimi/config.toml). */ export declare function providerConfigPath(): string; /** Canonical provider prompts directory (~/.kimi/prompts/). */ export declare function providerPromptsDir(): string; /** Canonical provider native agents directory (~/.kimi/agents/). */ export declare function providerAgentsDir(providerHomeDir?: string): string; /** Project-level provider root (.kimi/). */ export declare function projectProviderRootDir(projectRoot?: string): string; /** Project-level provider native agents directory (.kimi/agents/). */ export declare function projectProviderAgentsDir(projectRoot?: string): string; /** User-level provider skills directory ($KIMI_HOME/skills, defaults to ~/.kimi/skills/). */ export declare function providerUserSkillsDir(): string; /** Project-level provider skills directory (.kimi/skills/). */ export declare function projectProviderSkillsDir(projectRoot?: string): string; /** Historical legacy user-level skills directory (~/.agents/skills/). */ export declare function legacyUserSkillsDir(): string; /** * Backward-compatible aliases retained while the rest of the codebase * migrates off Codex-specific helper names. */ export declare function codexHome(): string; export declare function codexConfigPath(): string; export declare function codexPromptsDir(): string; export declare function codexAgentsDir(codexHomeDir?: string): string; export declare function projectCodexAgentsDir(projectRoot?: string): string; /** Legacy user-level skills directory ($CODEX_HOME/skills, defaults to ~/.codex/skills/). */ export declare function userSkillsDir(): string; /** Legacy project-level skills directory (.codex/skills/). */ export declare function projectSkillsDir(projectRoot?: string): string; export type InstalledSkillScope = "project" | "user"; export interface InstalledSkillDirectory { name: string; path: string; scope: InstalledSkillScope; } export interface SkillRootOverlapReport { canonicalDir: string; legacyDir: string; canonicalExists: boolean; legacyExists: boolean; canonicalResolvedDir: string | null; legacyResolvedDir: string | null; sameResolvedTarget: boolean; canonicalSkillCount: number; legacySkillCount: number; overlappingSkillNames: string[]; mismatchedSkillNames: string[]; } /** * Installed skill directories in scope-precedence order. * Project skills win over user-level skills with the same directory basename. */ export declare function listInstalledSkillDirectories(projectRoot?: string): Promise; export declare function detectLegacySkillRootOverlap(canonicalDir?: string, legacyDir?: string): Promise; /** oh-my-kimi state directory (.omk/state/) */ export declare function omxStateDir(projectRoot?: string): string; /** oh-my-kimi project memory file (.omk/project-memory.json) */ export declare function omxProjectMemoryPath(projectRoot?: string): string; /** oh-my-kimi notepad file (.omk/notepad.md) */ export declare function omxNotepadPath(projectRoot?: string): string; /** oh-my-kimi plans directory (.omk/plans/) */ export declare function omxPlansDir(projectRoot?: string): string; /** oh-my-kimi logs directory (.omk/logs/) */ export declare function omxLogsDir(projectRoot?: string): string; /** Get the package root directory (where agents/, skills/, prompts/ live) */ export declare function packageRoot(): string; //# sourceMappingURL=paths.d.ts.map