@dxos/compute - v0.16.0
    Preparing search index...

    Type Alias SessionState

    type SessionState = {
        alarms: readonly Alarm[];
        background: readonly BackgroundTool[];
        model?: Trajectory.ModelChange["model"];
        objects: readonly ObjectRef[];
        queue: readonly Trajectory.EventId[];
        rejected: readonly Trajectory.EventId[];
        selfWakes: number;
        skills: readonly SkillRef[];
        threads: readonly ThreadInfo[];
        turns: readonly Trajectory.ThreadId[];
    }
    Index

    Properties

    alarms: readonly Alarm[]
    background: readonly BackgroundTool[]
    model?: Trajectory.ModelChange["model"]
    objects: readonly ObjectRef[]
    queue: readonly Trajectory.EventId[]

    User messages no promptConsume or promptCancel has named yet, oldest first.

    rejected: readonly Trajectory.EventId[]

    promptConsumes and promptCancels whose message was no longer queued, because another writer consumed or cancelled it first; a harness claims a message by writing its consume and runs only if that consume is not listed here.

    selfWakes: number

    Alarms fired since the last prompt a person typed: the count a harness caps self-wakes at.

    skills: readonly SkillRef[]
    threads: readonly ThreadInfo[]
    turns: readonly Trajectory.ThreadId[]

    turnBegins of turns that have not ended; more than one when several writers run turns at once.