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 (
Runtime profile

Feature unavailable in this runtime profile

{title}. This build no longer depends on commercial licensing, but some profiles can still disable modules through environment configuration.

Set OMNIVOICE_RUNTIME_MODE=self_hosted to enable all local features by default.
Use OMNIVOICE_ENABLED_FEATURES=all or explicit flags for custom profiles.
Current runtime profile: {runtimeMode}.

Recommended profiles

self_hosted
Best for local-first usage without any external activation dependency.
internal
Best for QA and team validation with all modules enabled.
production
Use only if you intentionally want capability gating from env.
); }