# Copy to .dev.vars (gitignored) for `bun run dev`. Never commit real keys.
SECRETS_KEY=dev-secret-change-me-0123456789abcdef
# Optional: lets integrations and custom AI endpoints target http://localhost in dev.
# INTEGRATIONS_ALLOW_LOOPBACK=true
# Optional Stripe billing (docs/billing.md). Omit all of these to run without billing.
# Test-mode keys only for local development.
# STRIPE_SECRET_KEY=sk_test_...
# STRIPE_PUBLISHABLE_KEY=pk_test_...
# Any whsec_ value works with the replay route; use the endpoint's real secret with a tunnel.
# STRIPE_WEBHOOK_SECRET=whsec_...
# STRIPE_PRICE_PRO=price_...
# Pack ids, quantities and amounts live in src/lib/pricing.ts; this only maps each pack to its Stripe price.
# scripts/stripe-test-setup.ts creates the prices and writes both lines for you.
# STRIPE_TOPUP_PRICES='{"compute_10h":"price_...","tokens_10m":"price_..."}'
# STRIPE_DEV_REPLAY=true
# Optional PostHog analytics (docs/analytics.md). Omit to run without analytics.
# POSTHOG_KEY=phc_...
# POSTHOG_HOST=https://us.i.posthog.com
# POSTHOG_PERSON_EMAIL=false