Class: MeetingTranscriptSink
Defined in: packages/agentos/src/io/channels/meetings/MeetingTranscriptSink.ts:17
Turn ids are assigned by the sink in arrival order, using the store's atomic counter for the run across sink instances.
Implements
Constructors
Constructor
new MeetingTranscriptSink(
options):MeetingTranscriptSink
Defined in: packages/agentos/src/io/channels/meetings/MeetingTranscriptSink.ts:22
Parameters
options
The manager that records each turn's event, the run's transcript store and the run the sink writes.
manager
runId
string
transcript
Returns
MeetingTranscriptSink
Throws
Error when the transcript store does not implement appendNext.
Methods
append()
append(
turn):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/MeetingTranscriptSink.ts:27
Retains the numbered-turn entry point for existing callers.
Parameters
turn
Returns
Promise<void>
Implementation of
appendNext()
appendNext(
input):Promise<TranscriptTurn|undefined>
Defined in: packages/agentos/src/io/channels/meetings/MeetingTranscriptSink.ts:40
Stores the final as the run's next turn and records its bot:transcript event; undefined when a fence, a run that is over or a run that takes no turns yet (MeetingManager.takesTurns) drops it.
Parameters
input
Returns
Promise<TranscriptTurn | undefined>