import { join } from 'node:path';
import { homedir } from 'node:os';

// Auth session storage
export const AUTH_CONFIG_DIR = join(homedir(), '.adt');
export const AUTH_CONFIG_FILE = join(AUTH_CONFIG_DIR, 'config.json');

// OAuth configuration
export const CALLBACK_SERVER_PORT = 3000;
export const OAUTH_REDIRECT_URI = `http://localhost:${CALLBACK_SERVER_PORT}/callback`;
export const OAUTH_TIMEOUT_MS = 300000; // 5 minutes
