@usine/engine/transcript
Classes
Section titled “Classes”TranscriptAllQuery
Section titled “TranscriptAllQuery”All persisted rows for one Attempt, in append order.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TranscriptAllQuery(…
args):TranscriptAllQuery
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
TranscriptEntry
Section titled “TranscriptEntry”One append-only row of an Attempt transcript.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TranscriptEntry(…
args):TranscriptEntry
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
direction
Section titled “direction”
readonlydirection:"inbound"|"outbound"
envelope
Section titled “envelope”
readonlyenvelope:OutboundEnvelope|InboundEnvelope| {_tag:"OutboundEnvelope";attemptId:string&Brand<"AttemptId">;payload:Started|SessionEvent|Final|Failed|Interrupted|InterventionApplied|InterventionRejected;sentAt:Utc;sequence:number&Brand<"AttemptChannelSequence">;version:5|6; } | {_tag:"InboundEnvelope";attemptId:string&Brand<"AttemptId">;operator:string;payload:Steer|Interrupt|OperatorMessage|Release|Cancel;sentAt:Utc;sequence:number&Brand<"AttemptChannelSequence">;target:ParentTarget|ChildTarget;version:5|6; } | {_tag:"OutboundEnvelope";attemptId:string&Brand<"AttemptId">;payload:Started|SessionEvent|Final|Failed|Interrupted|InterventionApplied|InterventionRejected;sentAt:Utc;sequence:number&Brand<"AttemptChannelSequence">;version:3|4; } | {_tag:"InboundEnvelope";attemptId:string&Brand<"AttemptId">;payload:Steer|Interrupt;sentAt:Utc;sequence:number&Brand<"AttemptChannelSequence">;version:3|4; }
receivedAt
Section titled “receivedAt”
readonlyreceivedAt:Utc
sequence
Section titled “sequence”
readonlysequence:number&Brand<"TranscriptSequence">
TranscriptPageQuery
Section titled “TranscriptPageQuery”The newest bounded page before a cursor, returned in append order for loading earlier activity.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TranscriptPageQuery(…
args):TranscriptPageQuery
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
before
Section titled “before”
readonlybefore:Option<number&Brand<"TranscriptSequence">>
Earliest row already loaded, excluded from the response; None starts at the current tail.
readonlylimit:number
Maximum number of earlier rows to return.
TranscriptSessionsQuery
Section titled “TranscriptSessionsQuery”Launch metadata, latest lifecycle, and supervision receipt per session, independent of the visible page.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TranscriptSessionsQuery(…
args):TranscriptSessionsQuery
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
TranscriptTailQuery
Section titled “TranscriptTailQuery”The next bounded set of rows after a cursor, in append order, for following an Attempt’s activity.
Extends
Section titled “Extends”Schema.Class
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new TranscriptTailQuery(…
args):TranscriptTailQuery
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
…args |
[props: object, options?: MakeOptions] |
Returns
Section titled “Returns”Properties
Section titled “Properties”
readonlyafter:number&Brand<"TranscriptSequence">
Last row already received; the response excludes this row.
attemptId
Section titled “attemptId”
readonlyattemptId:string&Brand<"AttemptId">
readonlylimit:number
Maximum number of newer rows to return.
Type Aliases
Section titled “Type Aliases”TranscriptQuery
Section titled “TranscriptQuery”TranscriptQuery = typeof
TranscriptQuery.Type
Selects a complete Attempt transcript, newer activity, or an earlier page.
TranscriptSequence
Section titled “TranscriptSequence”TranscriptSequence = typeof
TranscriptSequence.Type
Global append order of the persisted transcript. Distinct from
AttemptChannel.Sequence, which orders messages within one Attempt’s channel
direction.
Variables
Section titled “Variables”TranscriptQuery
Section titled “TranscriptQuery”
constTranscriptQuery:Schema.Union<readonly [typeofTranscriptAllQuery, typeofTranscriptSessionsQuery, typeofTranscriptTailQuery, typeofTranscriptPageQuery]>
Selects a complete Attempt transcript, newer activity, or an earlier page.
TranscriptSequence
Section titled “TranscriptSequence”
constTranscriptSequence:Schema.brand<Schema.Int,"TranscriptSequence">
Global append order of the persisted transcript. Distinct from
AttemptChannel.Sequence, which orders messages within one Attempt’s channel
direction.