/** * Path utilities for RCS (Roblox AI OS / Creator Skills runtime). * Resolves Codex CLI config, skills, prompts, and state directories. */ /** Codex CLI home directory (~/.codex/) */ export declare function codexHome(): string; export declare const RCS_ENTRY_PATH_ENV = "RCS_ENTRY_PATH"; export declare const RCS_STARTUP_CWD_ENV = "RCS_STARTUP_CWD"; export declare function canonicalizeComparablePath(rawPath: string): string; export declare function sameFilePath(leftPath: string, rightPath: string): boolean; export declare function resolveRcsEntryPath(options?: { argv1?: string | null; cwd?: string; env?: NodeJS.ProcessEnv; }): string | null; export declare function resolveRcsCliEntryPath(options?: { argv1?: string | null; cwd?: string; env?: NodeJS.ProcessEnv; packageRootDir?: string; }): string | null; export declare function rememberRcsLaunchContext(options?: { argv1?: string | null; cwd?: string; env?: NodeJS.ProcessEnv; }): void; /** Codex config file path (~/.codex/config.toml) */ export declare function codexConfigPath(): string; /** Codex prompts directory (~/.codex/prompts/) */ export declare function codexPromptsDir(): string; /** Codex native agents directory (~/.codex/agents/) */ export declare function codexAgentsDir(codexHomeDir?: string): string; /** Project-level Codex native agents directory (.codex/agents/) */ export declare function projectCodexAgentsDir(projectRoot?: string): string; /** User-level skills directory ($CODEX_HOME/skills, defaults to ~/.codex/skills/) */ export declare function userSkillsDir(): string; /** Project-level skills directory (.codex/skills/) */ export declare function projectSkillsDir(projectRoot?: string): string; /** Historical legacy user-level skills directory (~/.agents/skills/) */ export declare function legacyUserSkillsDir(): 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; /** RCS state directory (.rcs/state/) */ export declare function rcsStateDir(projectRoot?: string): string; /** RCS project memory file (.rcs/project-memory.json) */ export declare function rcsProjectMemoryPath(projectRoot?: string): string; /** RCS notepad file (.rcs/notepad.md) */ export declare function rcsNotepadPath(projectRoot?: string): string; /** RCS wiki directory (.rcs/wiki/) */ export declare function rcsWikiDir(projectRoot?: string): string; /** RCS plans directory (.rcs/plans/) */ export declare function rcsPlansDir(projectRoot?: string): string; /** RCS adapters directory (.rcs/adapters/) */ export declare function rcsAdaptersDir(projectRoot?: string): string; /** RCS logs directory (.rcs/logs/) */ export declare function rcsLogsDir(projectRoot?: string): string; /** User-scope install/update stamp path ($CODEX_HOME/.rcs/install-state.json) */ export declare function rcsUserInstallStampPath(codexHomeDir?: string): string; /** Get the package root directory (where agents/, skills/, prompts/ live) */ export declare function packageRoot(): string; //# sourceMappingURL=paths.d.ts.map