Files
OmniRoute/src/shared/constants/featureFlagDefinitions.ts
Diego Rodrigues de Sa e Souza e7f6b1d130 feat(radar): flag-gated signed free-model catalog overlay (#9515)
* feat(dashboard): add RADAR_ENABLED flag (default off)

* feat(db): radar feed cache + settings with encrypted supporter key

* feat(radar): signed feed sync with pinned key and version floor

- feedSchema.ts: Zod v4 schema mirroring the server feed format
  (discriminated union on budget.kind, enum constraints, etc.)
- pinnedKeys.ts: Ed25519 SPKI-DER pinned key + env override for forks
- verify.ts: signature verification over exact wire bytes, never throws
- sync.ts: full download/verify/validate/cache pipeline with injectable
  deps, feature-flag gate, opt-in gate, version floor (numeric compare),
  and sanitized error reasons (no stack traces)
- 40 tests covering: contract hash, key handling, sig verification,
  schema validation, version compare, all sync paths (disabled, opt_out,
  invalid_signature, invalid_schema, stale, updated, error), auth header
  injection, and cache-untouched assertions for every failure mode

* feat(radar): read-time overlay merge rules over the free catalog

Pure function applyFeed() merges the cached Radar feed over the static
baseline catalog at read time, honoring 4 rules:

1. Feed never overwrites a local override field.
2. enabled:false disables the entry with disabledBy:"radar" provenance.
3. User-added entry NOT in the feed survives untouched.
4. User deletion tombstone prevents feed resurrection.

getRadarCatalog() accessor in index.ts: flag off / no cache / corrupt
payload all fall back to baseline. Valid cache applies the overlay and
returns feed metadata (version, tier, fetchedAt).

TDD: 19 tests (4 rules + dedup + origin + accessor flag/cache/corrupt/
valid/bad-feed + baselineToMergedEntries converter).

* feat(dashboard): radar catalog and guided setup screens

- API routes: GET /api/radar/catalog, POST /api/radar/sync, POST /api/radar/settings
  - All gated on RADAR_ENABLED flag (404 when off)
  - Error responses via buildErrorBody(), never raw stack/message
  - Settings never echoes clear supporter key (masked omr_****<last4>)
  - Sync delegates to syncRadar() server-side, never proxies feed URL
- Dashboard pages:
  - /dashboard/radar: 4 states (flag off, opt-in pending, empty, populated)
  - /dashboard/radar/setup?provider=X: guided setup with steps, key URL, test connection
  - Uses existing Card component and next-intl patterns
- Sidebar: radar entry in costs group with icon
- i18n: pt-BR and en keys for radarPage and radarSetupPage namespaces
- Tests:
  - radar-api-routes.test.ts: 11 tests (flag-off 404, flag-on shape, error sanitization)
  - radar-page-state.test.ts: 5 tests (pure state logic)
  - All 90 radar tests pass (including prior 74)

* docs(radar): module doc and flag-off inertia test

Add docs/frameworks/RADAR.md covering the flag gate, the separate data-sync
opt-in and privacy promise, the Ed25519 signature/pinned-key security model,
tiers, the read-time overlay merge rules, and the self-hosting env vars —
plus index entries in CLAUDE.md/AGENTS.md/docs/README.md/REPOSITORY_MAP.md.

Document RADAR_FEED_URL and RADAR_FEED_PUBKEY in .env.example and
docs/reference/ENVIRONMENT.md to satisfy check:env-doc-sync, which was
failing on this branch since the sync.ts commit added the reads.

Add tests/unit/radar-inertia.test.ts as the single canonical place asserting
the "RADAR_ENABLED off => zero behavioral delta" claim end to end: the three
/api/radar/* routes 404, the flag resolves to the definition default with no
override, getRadarCatalog() returns exactly the baseline without touching the
cache, and computeFreeModelTotals() keeps its pinned values with the Radar
module imported alongside it.

* fix(db): renumber radar migration to 135 after collision with 134

The base branch introduced 134_proxy_logs_egress_ip while this branch carried
134_radar_cache_settings; the migration runner rejects duplicate numeric prefixes.
This migration has never been applied to a real database (the PR is unmerged), so
no retroactive isSchemaAlreadyApplied guard is needed.

* i18n(radar): translate radar catalog and setup strings to all locales

The UI-coverage ratchet measures (present - placeholder) / total_en, so the
__MISSING__ sentinels that i18n:sync-ui writes do not count as covered — only
real translations restore the metric. Scoped to this PR's namespaces
(radarPage, radarSetupPage, sidebar.radar*) instead of a bulk sync, which would
have pulled ~978 unrelated pending keys into this diff.

Placeholders and code identifiers verified preserved across all 1682 strings.

* fix(radar): trust the served-tier header instead of the signed body field

The signed feed body always carries tier:"live" by design (one signed
artifact per version — rewriting the field server-side per request
would break the exact-bytes Ed25519 signature). The server now returns
the tier ACTUALLY served via the x-omniroute-feed-tier response
header, so free users on a delayed community snapshot no longer see
"Ao vivo (tempo real)" in the UI.

sync.ts now reads and validates that header (falling back to the
body's tier only when the header is absent or holds an unrecognized
value) and stores the served tier in the cache; index.ts already
surfaces cache.tier to the UI unchanged.

* test(combo): shorten an assert message that exceeded the line limit

The assertion added by #9507 was 104 chars, so prettier reformatted it into
five lines on the next commit that touched the file, pushing it past its
frozen size (3449) and failing check:file-size. The message is shortened
(the issue reference stays in the comment directly above); the assertion
itself is unchanged, and the file is back to 3448 lines and prettier-clean.

* i18n(radar): use the canonical zh-TW glossary terms

The machine translation produced retired renderings the glossary gate blocks:
供應商 for provider (canonical 提供者) and 文檔 for documentation (canonical 文件).
Fixed across the 11 affected radar strings; tests/unit/i18n-glossary-consistency-check.test.ts
is back to 17/17.

* fix(radar): point the default feed URL at the domain that exists

radar.omniroute.dev was a placeholder for a domain that was never registered,
so an out-of-the-box sync would fail DNS resolution for every user. The live
feed is served from radar.omniroute.online (the subdomain the design always
specified), now behind Cloudflare TLS. Forks still override it via
RADAR_FEED_URL.

---------

Co-authored-by: diegosouzapw <diegosouzapw@users.noreply.github.com>
2026-08-06 05:58:58 -03:00

544 lines
20 KiB
TypeScript

export interface FeatureFlagDefinition {
key: string;
label: string;
description: string;
descriptionI18nKey: string;
category: "security" | "network" | "policies" | "runtime" | "cli" | "health";
defaultValue: string;
type: "boolean" | "enum";
enumValues?: string[];
requiresRestart: boolean;
warningLevel?: "info" | "caution" | "danger";
}
export const FEATURE_FLAG_DEFINITIONS: FeatureFlagDefinition[] = [
// ──────────────── Security (9) ────────────────
{
key: "REQUIRE_API_KEY",
label: "Require API Key",
description: "Require an API key for all incoming requests",
descriptionI18nKey: "featureFlagRequireApiKeyDescription",
category: "security",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "INPUT_SANITIZER_ENABLED",
label: "Input Sanitizer",
description: "Enable input sanitization for all requests",
descriptionI18nKey: "featureFlagInputSanitizerEnabledDescription",
category: "security",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "INJECTION_GUARD_MODE",
label: "Injection Guard Mode",
description: "Set the prompt injection guard mode",
descriptionI18nKey: "featureFlagInjectionGuardModeDescription",
category: "security",
defaultValue: "off",
type: "enum",
enumValues: ["off", "warn", "block", "redact"],
requiresRestart: false,
warningLevel: "info",
},
{
key: "PII_REDACTION_ENABLED",
label: "PII Redaction",
description: "Redact personally identifiable information from requests",
descriptionI18nKey: "featureFlagPiiRedactionEnabledDescription",
category: "security",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "PII_RESPONSE_SANITIZATION",
label: "PII Response Sanitization",
description: "Sanitize PII from provider responses",
descriptionI18nKey: "featureFlagPiiResponseSanitizationDescription",
category: "security",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "PII_RESPONSE_SANITIZATION_MODE",
label: "PII Response Sanitization Mode",
description:
"Mode for PII response sanitization: redact (replace PII), warn (log only), block (reject), off (disable)",
descriptionI18nKey: "featureFlagPiiResponseSanitizationModeDescription",
category: "security",
defaultValue: "redact",
type: "enum",
enumValues: ["redact", "warn", "block", "off"],
requiresRestart: false,
warningLevel: "info",
},
{
key: "OUTBOUND_SSRF_GUARD_ENABLED",
label: "SSRF Guard",
description: "Block outbound requests to private/internal IP ranges",
descriptionI18nKey: "featureFlagOutboundSsrfGuardEnabledDescription",
category: "security",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "ALLOW_API_KEY_REVEAL",
label: "API Key Reveal",
description:
"Allow authenticated dashboard users to reveal stored API keys instead of only seeing masked values.",
descriptionI18nKey: "featureFlagAllowApiKeyRevealDescription",
category: "security",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "danger",
},
// ──────────────── Network (7) ────────────────
{
key: "ENABLE_TLS_FINGERPRINT",
label: "TLS Fingerprint",
description: "Enable TLS fingerprint stealth mode",
descriptionI18nKey: "featureFlagEnableTlsFingerprintDescription",
category: "network",
defaultValue: "false",
type: "boolean",
requiresRestart: true,
warningLevel: "info",
},
{
key: "AUDIO_REMOTE_PROVIDER_NODES",
label: "Remote Audio Provider Nodes",
description:
"Allow the /v1/audio/* routes to use OpenAI-compatible provider nodes hosted outside localhost. Off by default — routing audio to a remote host changes egress identity and must be an explicit operator decision. Loopback nodes are always allowed and unaffected.",
descriptionI18nKey: "settings.featureFlags.audioRemoteProviderNodes",
category: "network",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "danger",
},
{
key: "ONEPROXY_ENABLED",
label: "OneProxy Enabled",
description: "Enable 1proxy request proxying.",
descriptionI18nKey: "settings.featureFlags.oneproxyEnabled",
category: "network",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "PROXY_AUTO_SELECT_ENABLED",
label: "Proxy Auto-Selection Fallback",
description:
"When no proxy is assigned to a connection, auto-select the first working proxy from the registry. Off by default — otherwise any single registry proxy becomes a global fallback for all traffic (#3332).",
descriptionI18nKey: "settings.featureFlags.proxyAutoSelectEnabled",
category: "network",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "OMNIROUTE_CONTROL_PLANE_PROXY_DIRECT_FALLBACK",
label: "Control-Plane Proxy Direct Fallback",
description:
"Allow OAuth and provider validation flows to bypass a pinned proxy and connect directly when proxy reachability pre-checks fail. Off by default because this can change account egress IP.",
descriptionI18nKey: "featureFlagOmnirouteControlPlaneProxyDirectFallbackDescription",
category: "network",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "danger",
},
{
key: "MITM_DISABLE_TLS_VERIFY",
label: "Disable TLS Verify (MITM)",
description: "Disable TLS certificate verification for MITM proxy",
descriptionI18nKey: "featureFlagMitmDisableTlsVerifyDescription",
category: "network",
defaultValue: "false",
type: "boolean",
requiresRestart: true,
warningLevel: "danger",
},
{
key: "OMNIROUTE_ALLOW_PRIVATE_PROVIDER_URLS",
label: "Allow Private Provider URLs",
description: "Allow provider URLs pointing to private/internal networks",
descriptionI18nKey: "featureFlagOmnirouteAllowPrivateProviderUrlsDescription",
category: "network",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "OMNIROUTE_ALLOW_LOCAL_PROVIDER_URLS",
label: "Allow Local Provider URLs",
description:
"Allow adding and validating providers on local/private addresses (127.0.0.1, localhost, LAN, private IP ranges) — needed for local OpenAI-compatible models. Enabled by default (OmniRoute is local-first); turn it OFF to enforce strict public-only blocking if you only use public providers. Cloud-metadata endpoints (e.g. 169.254.169.254) stay blocked either way.",
descriptionI18nKey: "featureFlagOmnirouteAllowLocalProviderUrlsDescription",
category: "network",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "ENABLE_CC_COMPATIBLE_PROVIDER",
label: "CC Compatible Provider",
description: "Enable Claude Code compatible provider mode",
descriptionI18nKey: "featureFlagEnableCcCompatibleProviderDescription",
category: "network",
defaultValue: "false",
type: "boolean",
requiresRestart: true,
warningLevel: "info",
},
// ──────────────── Policies (4) ────────────────
{
key: "TOOL_POLICY_MODE",
label: "Tool Policy Mode",
description: "Set the tool use policy enforcement mode",
descriptionI18nKey: "featureFlagToolPolicyModeDescription",
category: "policies",
defaultValue: "disabled",
type: "enum",
enumValues: ["disabled", "warn", "block"],
requiresRestart: false,
warningLevel: "info",
},
{
key: "RATE_LIMIT_AUTO_ENABLE",
label: "Rate Limit Auto-Enable",
description: "Automatically enable rate limiting based on usage patterns",
descriptionI18nKey: "featureFlagRateLimitAutoEnableDescription",
category: "policies",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "ALLOW_MULTI_CONNECTIONS_PER_COMPAT_NODE",
label: "Multi Connections per Compat Node",
description: "Allow multiple connections per compatibility node",
descriptionI18nKey: "featureFlagAllowMultiConnectionsPerCompatNodeDescription",
category: "policies",
defaultValue: "false",
type: "boolean",
requiresRestart: true,
warningLevel: "info",
},
{
key: "RADAR_ENABLED",
label: "Radar",
description:
"Enable the OmniRoute Radar module (catalog feed screens and sync). Off by default; enabling only unlocks the UI — data sync remains a separate opt-in.",
descriptionI18nKey: "featureFlagRadarEnabledDescription",
category: "policies",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
// ──────────────── Runtime (15) ────────────────
{
key: "RESPONSES_PASSTHROUGH_DROP_COMMENTARY",
label: "Drop Responses Commentary",
description:
"Drop internal commentary-phase output items from Responses API passthrough streams before forwarding to clients. Disable to receive raw upstream commentary.",
descriptionI18nKey: "featureFlagResponsesPassthroughDropCommentaryDescription",
category: "runtime",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "OMNIROUTE_MCP_ENFORCE_SCOPES",
label: "MCP Enforce Scopes",
description: "Enforce scope restrictions on MCP tool access",
descriptionI18nKey: "featureFlagOmnirouteMcpEnforceScopesDescription",
category: "runtime",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "OMNIROUTE_MCP_COMPRESS_DESCRIPTIONS",
label: "MCP Compress Descriptions",
description: "Compress MCP tool descriptions to reduce token usage",
descriptionI18nKey: "featureFlagOmnirouteMcpCompressDescriptionsDescription",
category: "runtime",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "OMNIROUTE_ENABLE_RUNTIME_BACKGROUND_TASKS",
label: "Runtime Background Tasks",
description: "Enable background task processing at runtime",
descriptionI18nKey: "featureFlagOmnirouteEnableRuntimeBackgroundTasksDescription",
category: "runtime",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "OMNIROUTE_DISABLE_BACKGROUND_SERVICES",
label: "Disable Background Services",
description: "Disable all background services (quota refresh, sync, etc)",
descriptionI18nKey: "featureFlagOmnirouteDisableBackgroundServicesDescription",
category: "runtime",
defaultValue: "false",
type: "boolean",
requiresRestart: true,
warningLevel: "caution",
},
{
key: "OMNIROUTE_RTK_TRUST_PROJECT_FILTERS",
label: "RTK Trust Project Filters",
description: "Trust project-level filters from RTK without validation",
descriptionI18nKey: "featureFlagOmnirouteRtkTrustProjectFiltersDescription",
category: "runtime",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "OMNIROUTE_ENABLE_LIVE_WS",
label: "Live Dashboard WebSocket",
description:
"Start the real-time dashboard WebSocket server on import (port 20132, loopback-bound by default). Default: enabled. Set to '0' or 'false' to disable. LAN exposure requires LIVE_WS_HOST=0.0.0.0 + LIVE_WS_ALLOWED_ORIGINS.",
descriptionI18nKey: "featureFlagOmnirouteEnableLiveWsDescription",
category: "runtime",
defaultValue: "true",
type: "boolean",
requiresRestart: true,
warningLevel: "info",
},
{
key: "OMNIROUTE_CODEX_WS_ENABLED",
label: "Codex Responses WebSocket",
description:
"Allow Codex to use the Responses-over-WebSocket transport (the codex CLI WS endpoint and codexTransport=websocket). When off, Codex falls back to HTTP Responses.",
descriptionI18nKey: "featureFlagOmnirouteCodexWsEnabledDescription",
category: "runtime",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "OMNIROUTE_EMERGENCY_FALLBACK",
label: "Emergency Fallback",
description: "Route budget-exhausted requests to the emergency free fallback provider/model.",
descriptionI18nKey: "featureFlagOmnirouteEmergencyFallbackDescription",
category: "runtime",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "STREAM_RECOVERY_ENABLED",
label: "Stream Recovery",
description:
"Enable transparent early retry for truncated upstream SSE streams before any response bytes reach the client.",
descriptionI18nKey: "featureFlagStreamRecoveryEnabledDescription",
category: "runtime",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "STREAM_RECOVERY_MIDSTREAM_ENABLED",
label: "Mid-Stream Continuation",
description:
"Allow stream recovery to re-request and stitch a response after bytes have already reached the client.",
descriptionI18nKey: "featureFlagStreamRecoveryMidstreamEnabledDescription",
category: "runtime",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "danger",
},
{
key: "MODEL_CATALOG_INCLUDE_NAMES",
label: "Model Catalog Names",
description:
"Include display-friendly name fields in /v1/models responses. Disable for clients that expect model IDs only.",
descriptionI18nKey: "settings.featureFlags.modelCatalogIncludeNames",
category: "runtime",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "MODELS_CATALOG_PREFIX_MODE",
label: "Models Catalog Prefix Mode",
description:
"Controls how model IDs are prefixed in /v1/models. 'dual' (default) emits both alias and canonical provider-id prefixes for backward compatibility. 'alias' emits only the short alias prefix (e.g. ds-web/model, not deepseek-web/model). 'canonical' emits only the full provider-id prefix.",
descriptionI18nKey: "featureFlagModelsCatalogPrefixModeDescription",
category: "runtime",
defaultValue: "dual",
type: "enum",
enumValues: ["dual", "alias", "canonical"],
requiresRestart: false,
warningLevel: "info",
},
{
key: "ARENA_ELO_SYNC_ENABLED",
label: "Arena ELO Sync",
description: "Enable periodic Arena AI leaderboard ELO sync for model intelligence rankings.",
descriptionI18nKey: "featureFlagArenaEloSyncEnabledDescription",
category: "runtime",
defaultValue: "true",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "EXPOSE_CC_DISCOVERY_ALIASES",
label: "Claude Code Discovery Aliases",
description:
"Advertise claude/<provider>/<model> mirror ids on /v1/models so Claude Code gateway model discovery lists non-Claude models. Warning: doubles catalog entries for all clients when enabled globally.",
descriptionI18nKey: "featureFlagExposeCcDiscoveryAliasesDescription",
category: "runtime",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "EXPOSE_FUNCTIONAL_GATEWAY_MIRRORS",
label: "Functional Gateway Mirrors",
description:
"Advertise <gateway-alias>/<model> mirror ids on /v1/models for models whose canonical owner has no active credential but a passthrough gateway with an active credential routes them. Warning: adds catalog entries for all clients when enabled globally.",
descriptionI18nKey: "featureFlagExposeFunctionalGatewayMirrorsDescription",
category: "runtime",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
// ──────────────── CLI (5) ────────────────
{
key: "CLI_COMPAT_ALL",
label: "CLI Compat All",
description: "Enable compatibility mode for all CLI clients",
descriptionI18nKey: "featureFlagCliCompatAllDescription",
category: "cli",
defaultValue: "false",
type: "boolean",
requiresRestart: true,
warningLevel: "info",
},
{
key: "MODEL_ALIAS_COMPAT_ENABLED",
label: "Model Alias Compat",
description: "Enable model alias compatibility layer",
descriptionI18nKey: "featureFlagModelAliasCompatEnabledDescription",
category: "cli",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "PRICING_SYNC_ENABLED",
label: "Pricing Sync",
description:
"Enable automatic pricing data synchronization (requires the PRICING_SYNC_ENABLED environment variable to be set to true)",
descriptionI18nKey: "featureFlagPricingSyncEnabledDescription",
category: "cli",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "OMNIROUTE_AUTO_SYNC_CODEX_PROFILES",
label: "Auto-Sync Codex Profiles",
description:
"After a provider model sync, automatically (re)write ~/.codex/*.config.toml profile files from the live catalog. Never changes the active/default Codex config. Off by default.",
descriptionI18nKey: "featureFlagOmnirouteAutoSyncCodexProfilesDescription",
category: "cli",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
{
key: "OMNIROUTE_AUTO_SYNC_CLAUDE_PROFILES",
label: "Auto-Sync Claude Code Profiles",
description:
"After a provider model sync, automatically (re)write ~/.claude/profiles/<name>/settings.json Claude Code profiles from the live catalog. Never changes the active/default Claude config. Off by default.",
descriptionI18nKey: "featureFlagOmnirouteAutoSyncClaudeProfilesDescription",
category: "cli",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
// ──────────────── Health (3) ────────────────
{
key: "OMNIROUTE_DISABLE_LOCAL_HEALTHCHECK",
label: "Disable Local Health Check",
description: "Disable the local instance health check endpoint",
descriptionI18nKey: "featureFlagOmnirouteDisableLocalHealthcheckDescription",
category: "health",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "OMNIROUTE_DISABLE_TOKEN_HEALTHCHECK",
label: "Disable Token Health Check",
description: "Disable the token validation health check",
descriptionI18nKey: "featureFlagOmnirouteDisableTokenHealthcheckDescription",
category: "health",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "info",
},
{
key: "SKILLS_SANDBOX_NETWORK_ENABLED",
label: "Skills Sandbox Network",
description: "Enable network access in the skills sandbox environment",
descriptionI18nKey: "featureFlagSkillsSandboxNetworkEnabledDescription",
category: "health",
defaultValue: "false",
type: "boolean",
requiresRestart: false,
warningLevel: "caution",
},
];