// NOTE: This file must stay identical to its sibling (app-paths.ts / app-paths.js).
// TypeScript with "moduleResolution": "NodeNext" requires explicit .js extensions
// on imports. When a .ts file writes `import from './app-paths.js'`, the compiler
// resolves it to app-paths.ts at build time but the runtime needs app-paths.js.
// This file satisfies that runtime requirement without a build step.
// A CI check (check app-paths.ts and app-paths.js are in sync) enforces parity.
import { homedir } from 'os';
import { join } from 'path';
export const appRoot = process.env.NERF_HOME || join(homedir(), '.nerf');
export const agentDir = join(appRoot, 'agent');
export const sessionsDir = join(appRoot, 'sessions');
export const authFilePath = join(agentDir, 'auth.json');
export const webPidFilePath = join(appRoot, 'web-server.pid');
export const webPreferencesPath = join(appRoot, 'web-preferences.json');
