Skip to content
Français

RunEvent

import type { RunEvent } from "@elie-laloum/outpost/observation";
  • seqRequired
    number
    Persistent published event cursor, monotonically increasing across settled workflow resumes.
  • observationSeqRequired
    number
    Original hub sequence, which can restart with a new observer session.
  • atRequired
    string
    Observation timestamp from the producing hub.
  • sourceRequired
    string
    Observation source label read from storage.
  • scopeRequired
    ObservationScope
    Validated observation routing scope including task, dispatch, attempt and subagent identities.
  • eventRequired
    unknown
    Persisted redacted event payload; validate this unknown value before inspecting its fields.
export interface RunEvent {
  readonly seq: number;
  readonly observationSeq: number;
  readonly at: string;
  readonly source: string;
  readonly scope: ObservationScope;
  readonly event: unknown;
}