processCycle spiegelt Runner-Semantik exakt (Paritätstest gegen runBacktest), Restart-Recovery über Cursor, DecisionLog mit Outcome-Backfill, Bun.serve-API + statisches Dashboard, Deploy-Ziel trading.kuns.dev. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
9 lines
172 B
TypeScript
9 lines
172 B
TypeScript
import { z } from 'zod';
|
|
|
|
const Env = z.object({
|
|
DATABASE_URL: z.string().url(),
|
|
PORT: z.coerce.number().default(8080),
|
|
});
|
|
|
|
export const env = Env.parse(process.env);
|