'use server';
import { getSettings } from '../../../../../packages/core/src/infrastructure/services/settings.service.js';
/**
 * Check whether onboarding has been completed.
 * Delegates to the in-memory settings singleton (zero DB overhead).
 */
export async function isAgentSetupComplete() {
    try {
        return getSettings().onboardingComplete;
    }
    catch {
        return false;
    }
}
