@phren/cli
Version:
Knowledge layer for AI agents - CLI, MCP server, and data layer
10 lines (9 loc) • 628 B
TypeScript
/** The user's home: an absolute `HOME` when set (tests and POSIX), else
* `USERPROFILE`, else the OS's answer. `os.homedir()` ignores `HOME` on Windows. */
export declare function homeDir(env?: NodeJS.ProcessEnv): string;
/** Claude Code's config directory: `CLAUDE_CONFIG_DIR`, else `~/.claude`. */
export declare function claudeConfigDir(env?: NodeJS.ProcessEnv): string;
/** Codex's home: `CODEX_HOME`, else `~/.codex`. */
export declare function codexHome(env?: NodeJS.ProcessEnv): string;
/** Copilot CLI's home: `COPILOT_HOME`, else `~/.copilot`. */
export declare function copilotHome(env?: NodeJS.ProcessEnv): string;