Configuration
Every project defines its configuration with defineConfig:
import { defineConfig } from '@carbon/core/config';
export default defineConfig({ project: { name: 'acme', slug: 'acme' }, runtime: { port: 8787, persistence: 'memory' }, logging: { level: 'info', pretty: true }, ai: { provider: 'openrouter', model: 'anthropic/claude-opus-5' },});Zod validates every field when the config loads.