Interface: IRunStore
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:42
The run's row. An implementation keeps every field of it, the manager's timers (leaveCommandedAt,
captureSuspendedAt, aloneSince) among them: the manager keeps nothing about a run in process. An implementation
seals meetingUrl and creationContext at rest.
Methods
findByIdempotencyKey()
findByIdempotencyKey(
ownerRef,key):Promise<MeetingRunRecord|undefined>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:70
The run an owner sent with this idempotency key, if there is one (there is at most one: see insert).
Parameters
ownerRef
string
key
string
Returns
Promise<MeetingRunRecord | undefined>
forget()?
optionalforget(runId):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:44
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>
get()
get(
runId):Promise<MeetingRunRecord|undefined>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:52
The run, or undefined when there is none.
Parameters
runId
string
Returns
Promise<MeetingRunRecord | undefined>
insert()
insert(
run):Promise<void>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:50
Adds a new run. A run id that exists is an error, and so is an idempotency key the owner already used: that insert
stores nothing and rejects with DuplicateIdempotencyKeyError, so of two sends racing with one key only one run
is made, and the other finds it with findByIdempotencyKey.
Parameters
run
Returns
Promise<void>
list()
list(
filter):Promise<MeetingRunRecord[]>
Defined in: packages/agentos/src/io/channels/meetings/stores/types.ts:68
The runs the filter selects, requestedAt descending, then runId ascending. Default limit 500; states: [] applies no state filter.