/** * Phase 4c — MCP project-dir resolution. * * Resolved ONCE at MCP server startup; the MCP does NOT track the * AI CLI's current working directory mid-session. Switching repos * requires opening a new AI CLI session. The plan calls this out * explicitly and the README + `cursell hub init` success message * remind the user. * * Resolution order: * 1. `CURSELL_PROJECT_DIR` (operator override) * 2. `CLAUDE_PROJECT_DIR` (Claude Code injects this when MCP * subprocesses are spawned) * 3. `process.cwd()` (default) * * The chosen path is logged to stderr at startup so a misconfigured * env doesn't lead to silent "agent not pinned" failures. */ export declare function resolveProjectDir(env?: NodeJS.ProcessEnv): string; /** Test seam: drop the cached value so a fresh resolution is forced. */ export declare function __resetProjectDirForTests(): void;