PARACOSM AGENTOS | API Reference v0.9.1035
Home Simulation API Docs GitHub npm
Home Simulation API Docs GitHub npm AgentOS Discord
paracosm - v0.9.1035
    Preparing search index...

    Interface TurnEvent

    interface TurnEvent {
        agentId?: string;
        cause?: string;
        data?: Record<string, unknown>;
        description: string;
        time: number;
        turn: number;
        type:
            | "crisis"
            | "decision"
            | "birth"
            | "death"
            | "promotion"
            | "relationship"
            | "tool_forge"
            | "system";
    }
    Index
    agentId?: string
    cause?: string

    For death events: the specific cause (natural causes, radiation cancer, starvation, despair, fatal fracture, accident: X). Lets downstream reporting break deaths down by cause instead of reporting a faceless total.

    data?: Record<string, unknown>
    description: string
    time: number
    turn: number
    type:
        | "crisis"
        | "decision"
        | "birth"
        | "death"
        | "promotion"
        | "relationship"
        | "tool_forge"
        | "system"