import React from 'react'; import { CheckCircle2, Settings, ShieldAlert, X } from 'lucide-react'; interface RuntimeAccessModalProps { isOpen: boolean; onClose: () => void; title?: string; runtimeMode?: string; } export function RuntimeAccessModal({ isOpen, onClose, title = 'Feature unavailable in this runtime profile', runtimeMode = 'self_hosted', }: RuntimeAccessModalProps) { if (!isOpen) return null; return (
{title}. This build no longer depends on commercial licensing, but some profiles can still disable modules through environment configuration.
OMNIVOICE_RUNTIME_MODE=self_hosted to enable all local features by default.
OMNIVOICE_ENABLED_FEATURES=all or explicit flags for custom profiles.
{runtimeMode}.