/** * Public demo environment — the keyless fallback. * * When the MCP boots with no API key and no metrics backend, it attaches * READ-ONLY to the public 10x demo dataset instead of falling to POC mode. * This makes the keyless `npx -y log10x-mcp` first-run land on the same * orientation (log10x_start) and the same data as the website's live demo, * so the marketing promise ("demo mode, on the same dataset as the console") * is literally true. * * These credentials are PUBLIC read credentials: the same key/env ship in * the website's client-side config (console config.js) and authenticate the * hosted demo. Baking them here adds no exposure beyond what any visitor's * browser already holds. Mutating/account tools are denylisted in this mode * (see DEMO_FALLBACK_DENYLIST) so an agent cannot reconfigure the shared * demo account; sign-in tools stay registered as the upgrade path. * * Escape hatch: LOG10X_DEMO_FALLBACK=off boots straight to POC mode. */ export declare const DEMO_ENV: { readonly apiKey: "4d985100-ee4a-4b6c-b784-a416b8684868"; readonly envId: "6aa99191-f827-4579-a96a-c0ebdfe73884"; readonly metricsUrl: "https://prometheus.log10x.com"; readonly metricsType: "log10x"; }; /** Env-var marker tools can read to know the demo fallback is active. */ export declare const DEMO_FALLBACK_FLAG = "LOG10X_DEMO_FALLBACK_ACTIVE"; /** * Apply the demo env to process.env so BOTH layers resolve coherently: * backend detection (resolveBackend) and per-tool env resolution * (loadEnvironments) read the same variables the bridge/console use. */ export declare function applyDemoEnv(): void; export declare function isDemoFallbackActive(): boolean; /** * Tools that must NOT register against the shared public demo account. * UX guardrail, not a security boundary (the key is public either way): * an agent in demo mode should never mutate account/env/engine state that * every other demo visitor shares. Sign-in, discovery, analysis, and the * install advisors (paste-ready commands for the user's OWN stack) stay. */ export declare const DEMO_FALLBACK_DENYLIST: ReadonlySet;