Skip to main content

Interface: MeetingRunRecord

Defined in: packages/agentos/src/io/channels/meetings/types.ts:218

A run's row. The run store seals meetingUrl at rest with the product's key and opens it on read.

Properties​

aloneSince?​

optional aloneSince: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:296

Since when the provider has reported no participant besides the bot; cleared when one is reported.


billedSeconds​

billedSeconds: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:251


botName​

botName: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:233


captureStartedAt?​

optional captureStartedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:247


captureSuspendedAt?​

optional captureSuspendedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:294

When capture was suspended because the stop monitor went quiet; cleared when capture resumes.


cleanupPending?​

optional cleanupPending: boolean

Defined in: packages/agentos/src/io/channels/meetings/types.ts:274

Set at left: the settlement, the cleanup and the room's deletion are still owed; cleared when done is written.


completionHookAt?​

optional completionHookAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:306

When the host's beforeComplete step ran for the run, whether it resolved or threw: a cleanup tried again does not run it twice.


completionHookClaimedAt?​

optional completionHookClaimedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:308

When a cleanup claimed the beforeComplete step: one cleanup runs it, and a claim older than the manager's lease is taken over.


consentRecordId?​

optional consentRecordId: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:253


creationContext?​

optional creationContext: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:304

Opaque host preparation data, sealed at rest and removed before dispatch.


creationPending?​

optional creationPending: boolean

Defined in: packages/agentos/src/io/channels/meetings/types.ts:302

Set while the run's creation through MeetingManager.sendBotPrepared is unfinished: its reservation, the host's preparation or its job may still be owed. No job of such a run is dispatched. Cleared, with creationContext, once the run's job is scheduled, and by the run's terminal write.


dispatch?​

optional dispatch: MeetingDispatchRecord

Defined in: packages/agentos/src/io/channels/meetings/types.ts:254


dispatchedAt?​

optional dispatchedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:242


doneAt?​

optional doneAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:249


funding?​

optional funding: { accountRef: string; blockSeconds: number; expiresAt: number; fundingMode: "bot_blocks"; maxLiability: { blocks: number; }; maxSeconds: number; policyVersion: string; reservationRef: string; } | { accountRef: string; expiresAt: number; fundingMode: "developer_credit"; maxLiability: { customerMicro: number; supplierMicro: number; }; maxSeconds: number; mediaComponent: string; policyVersion: string; rates: { attemptMinimum?: { customerMicro: number; supplierMicro: number; }; components: Record<string, { customer: { micro: number; per: number; unit: "character" | "second" | "millisecond" | "token" | "sample" | "request"; }; supplier: { micro: number; per: number; unit: "character" | "second" | "millisecond" | "token" | "sample" | "request"; }; }>; currency: "USD"; reasoningInOutput: boolean; version: string; }; reservationRef: string; }

Defined in: packages/agentos/src/io/channels/meetings/types.ts:310

Immutable server-selected funding. Absence preserves legacy entitlement callers.


fundingCleanup?​

optional fundingCleanup: object

Defined in: packages/agentos/src/io/channels/meetings/types.ts:316

Durable cleanup policy and completion; completion prevents repeated external close effects.

complete​

complete: boolean

unbilled​

unbilled: boolean


fundingReservationId?​

optional fundingReservationId: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:312

Write-once actual block reservation or compound hold id.


fundingSettlement?​

optional fundingSettlement: MeetingFundingSettlement

Defined in: packages/agentos/src/io/channels/meetings/types.ts:314

Write-once terminal decision; retained after content purge for idempotent recovery.


idempotencyKey?​

optional idempotencyKey: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:237


joinAt​

joinAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:241


joinedAt?​

optional joinedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:244

When the bot reached the meeting: its waiting room, then the call itself once it is admitted. The waiting-room limit counts from the first, the notice's confirmation from the second.


keep​

keep: "none" | "account"

Defined in: packages/agentos/src/io/channels/meetings/types.ts:231


lastReportAt?​

optional lastReportAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:286

When the manager last accepted a report about the run, on the manager's own clock.


lastUsageAt?​

optional lastUsageAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:261

When the last usage report was taken: on the manager's own clock when the host sets the manager's usageSilenceMs, which measures a run's silence from it, and otherwise the report's own time.


lastUsageSourceAt?​

optional lastUsageSourceAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:267

The worker's own time on the last usage report taken, when the host sets the manager's usageSilenceMs: a usage report the worker made no later than it (a report sent again, or one that arrives late) moves neither lastUsageAt nor reportedSeconds.


leaveCommandedAt?​

optional leaveCommandedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:292

When the bot was last told to leave: a bot that has not left the manager's killAfterMs later is killed. This and the two fields after it are the manager's timers, kept on the row so that any manager sharing the stores, or one that restarted, runs the limits on them.


leftAt?​

optional leftAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:248


limits​

limits: MeetingRunLimits

Defined in: packages/agentos/src/io/channels/meetings/types.ts:236


meetingUrl​

meetingUrl: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:232


monitorSeenAt?​

optional monitorSeenAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:282

The last heartbeat the stop monitor made at or after the notice, at its time bounded to one heartbeat interval past the manager's clock, by which the limits measure the monitor's freshness. The notice's confirmation clears it, so a heartbeat from before the notice is never taken for one after it.


notice​

notice: MeetingNotice

Defined in: packages/agentos/src/io/channels/meetings/types.ts:234


noticePostedAt?​

optional noticePostedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:246

When the bot confirmed its notice in the meeting's chat, as the worker reported it, on the worker's clock: the stop monitor's heartbeats are ordered against it on that clock.


ownerRef​

ownerRef: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:221

The product's reference for who owns the run (an account, an API key's workspace). Opaque to the library.


pageSeenAt?​

optional pageSeenAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:256

The last time the run's page was seen (a run sent from a page).


participantCount?​

optional participantCount: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:284

How many participants besides the bot the provider last reported.


platform​

platform: MeetingPlatform

Defined in: packages/agentos/src/io/channels/meetings/types.ts:229


providerConnectionRef?​

optional providerConnectionRef: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:228

The provider's opaque reference for the connection the run was sent through (a credential's generation, for example). The content-free row keeps it, so the runs sent through one connection can still be found, and their kept content purged, after the connection's credentials are gone. It names no person and carries nothing of the meeting.


providerName​

providerName: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:222


purgedAt?​

optional purgedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:276

When a kept run's content was purged after done (a session's deletion).


reason?​

optional reason: MeetingLeaveReason

Defined in: packages/agentos/src/io/channels/meetings/types.ts:250


reportedSeconds?​

optional reportedSeconds: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:272

The largest running total of seconds the worker reported: at left, done or a crash, and on each usage report when the host sets the manager's usageSilenceMs. What a settlement bills from.


requestedAt​

requestedAt: number

Defined in: packages/agentos/src/io/channels/meetings/types.ts:240


reservationId?​

optional reservationId: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:252


runId​

runId: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:219


state​

state: MeetingRunState

Defined in: packages/agentos/src/io/channels/meetings/types.ts:230


stopPhrase​

stopPhrase: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:235


transcriber?​

optional transcriber: string

Defined in: packages/agentos/src/io/channels/meetings/types.ts:239

The transcriber the run uses, named in the notice (a provider id).