Skip to main content

Interface: IMeetingBotProvider

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:91

One way of joining meetings. A provider ships as an extension pack with the kind meeting-provider; the host registers it on the manager.

Properties​

capabilities​

readonly capabilities: MeetingBotCapabilities

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:97

What the provider declares about itself; the notice and the stop path follow from it.


name​

readonly name: string

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:93

The name the manager registers the provider under; runs and reports carry it.


platforms​

readonly platforms: readonly MeetingPlatform[]

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:95

The platforms the provider joins.

Methods​

checkJoinUrl()​

checkJoinUrl(url): { ok: true; platform: MeetingPlatform; } | { message: string; ok: false; }

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:107

Tells a join url's platform, or why it is refused.

Parameters​

url​

string

Returns​

{ ok: true; platform: MeetingPlatform; } | { message: string; ok: false; }


command()​

command(runId, command): Promise<void>

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:116

Sends a command to the run's bot. A provider passes on no audio of a run before the run's first startCapture, and none after a suspendCapture until the next startCapture: the manager sends startCapture only once the run's notice is confirmed posted and its stop monitor is healthy.

Parameters​

runId​

string

command​

ProviderCommand

Returns​

Promise<void>


deleteRun()​

deleteRun(input): Promise<{ deleted: boolean; }>

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:118

Deletes a provider's own copies of a run. Ours keep none; the method stands so a purge always has an answer.

Parameters​

input​
runId​

string

Returns​

Promise<{ deleted: boolean; }>


dispatch()​

dispatch(input): Promise<DispatchResult>

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:109

Hands the run to a worker with the room and the tokens minted for it; rejects when the run cannot start.

Parameters​

input​

DispatchInput

Returns​

Promise<DispatchResult>


parseEvent()​

parseEvent(ctx): ProviderParseResult

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:105

Turns a verified report into the channel's events, each with a stable id; throws on a report it cannot read. When the report was verified against a run, its caller applies only the events that name that run: a worker's per-run token speaks for its own run alone.

Parameters​

ctx​

ProviderEventContext

Returns​

ProviderParseResult


usage()​

usage(input): Promise<ProviderUsage[]>

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:120

Each run asked for (every run the provider knows when runIds is absent), alive or not, with the seconds it has counted.

Parameters​

input​
runIds?​

string[]

Returns​

Promise<ProviderUsage[]>


verifyEvent()​

verifyEvent(ctx, run): ProviderVerificationResult

Defined in: packages/agentos/src/io/channels/meetings/IMeetingBotProvider.ts:99

The provider's own authentication of a report: a platform's signature scheme, or the worker's per-run token against the run's dispatch record.

Parameters​

ctx​

ProviderEventContext

run​

MeetingRunRecord | undefined

Returns​

ProviderVerificationResult