export interface GameEvent { type: string; text: string; user: string; ts: number; } export interface StepRequest { events: GameEvent[]; } export interface AgentState { emotion: string; goal: string; memory: string[]; } export interface WorldState { tick: number; weather: string; town_mood: number; agents: Record; events: string[]; } export interface Action { agent_id: string; say: string; do: string; } export interface StepResponse { world_state: WorldState; actions: Action[]; } export interface ClientMessage { type: string; text: string; user: string; }