fabro/docs/getting-started
Bryan Helmkamp b601df47e5 Per-request demo mode with UI toggle
Replace the server-level `--demo` flag with per-request demo dispatch.
The Rust API builds both a demo and real router; incoming requests with
the `X-Arc-Demo: 1` header hit the demo router (auth disabled, static
data), all others hit the real router with normal auth.

The React web app gets a beaker icon toggle in the top nav bar (next to
the theme toggle) that sets an `arc-demo` cookie. Loaders read the
cookie to decide whether to send the `X-Arc-Demo: 1` header to the API.
The `ARC_DEMO=1` env var still works as a default when no cookie is set.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-06 07:30:23 -05:00
..
introduction.mdx Restructure Getting Started docs: add Introduction, rename Overview to Why Arc, add Models placeholder 2026-03-05 16:53:53 -05:00
quick-start.mdx Per-request demo mode with UI toggle 2026-03-06 07:30:23 -05:00
why-arc.mdx Add custom TextMate grammar for DOT syntax highlighting in docs 2026-03-05 21:41:54 -05:00