Interface: ITranscriptStore
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:125
A run's transcript turns. Behind the fence it refuses new turns; a purge removes the turns and keeps the fence.
Methods
append()
append(
turn):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:129
Adds an already numbered turn; a repeated (runId, seq) keeps the first copy. Rejects with FencedError once fenced.
Parameters
turn
Returns
Promise<void>
appendNext()?
optionalappendNext(turn):Promise<TranscriptTurn>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:131
Assigns the next seq and turnId for this run and stores the turn atomically, under the same anchor as the fence. Continues after the largest stored or allocated seq across sink instances. Optional for existing store implementers; required by MeetingTranscriptSink, which checks it at construction.
Parameters
turn
Returns
Promise<TranscriptTurn>
fence()
fence(
runId):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:135
The fence: from now on the run takes no new turn.
Parameters
runId
string
Returns
Promise<void>
forget()?
optionalforget(runId):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:127
Optional whole-run eviction for in-memory hosts after terminal cleanup and the retention grace. Durable stores omit it to retain their records. Call only after producers have stopped; forgetting removes fences too.
Parameters
runId
string
Returns
Promise<void>
isFenced()
isFenced(
runId):Promise<boolean>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:137
Whether the run is fenced.
Parameters
runId
string
Returns
Promise<boolean>
purge()
purge(
runId):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:139
Removes the run's turns; the fence stays.
Parameters
runId
string
Returns
Promise<void>
read()
read(
runId,fromSeq,limit?):Promise<TranscriptTurn[]>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:133
The run's turns after fromSeq, in order, at most limit of them.
Parameters
runId
string
fromSeq
number
limit?
number
Returns
Promise<TranscriptTurn[]>