Interface LaunchSeatRecord

One seat of a launched team, as the launch's result reports it.

interface LaunchSeatRecord {
    role: string;
    form: "temporary" | "persistent";
    member?: string;
    status: "completed" | "failed" | "cut" | "not_run";
    calls: number;
    summary: string;
    usage: LaunchUsage;
    learner?: "none" | "bound" | "unavailable";
    error?: {
        name: string;
        code?: string;
    };
}

Properties

role: string
form: "temporary" | "persistent"
member?: string

The agentKey or personaId of a persistent member.

status: "completed" | "failed" | "cut" | "not_run"

'cut': the deadline, a budget the call drew on (the launch's, or a persistent member's own) or the parent's stop ended the seat's last call, or that call was still running when the launch returned without its answer. 'not_run': none of the seat's calls has ended; in a launch's result, the seat was never called.

calls: number
summary: string

The seat's last output, at most SEAT_SUMMARY_CHARS characters.

learner?: "none" | "bound" | "unavailable"

Whether the seat's turns had a learner; unset when the launch does not report it.

error?: {
    name: string;
    code?: string;
}

The error that ended the seat's last call, a failed or a cut one, by name and code; never its message. Unset when that call answered, and when it was still running as the launch returned.

Type declaration

  • name: string
  • Optional code?: string