Skip to main content

Interface: CompositeMeetingEntitlementOptions

Defined in: packages/agentos/src/io/channels/meetings/CompositeMeetingEntitlement.ts:15

Host checks authority and capacity, while this class owns branch selection and ledger mechanics.

Properties​

credit​

credit: ICompoundCreditStore

Defined in: packages/agentos/src/io/channels/meetings/CompositeMeetingEntitlement.ts:19

The compound credit store a cash-funded run's hold is reserved and settled in.


runs​

runs: IRunStore

Defined in: packages/agentos/src/io/channels/meetings/CompositeMeetingEntitlement.ts:17

The manager's run store, where each run's snapshot, reservation link and settlement intent are persisted.

Methods​

blocks()​

blocks(snapshot): MeetingBlockEntitlement

Defined in: packages/agentos/src/io/channels/meetings/CompositeMeetingEntitlement.ts:25

Resolves the original block policy, not the current subscription's preferred source.

Parameters​

snapshot​
accountRef​

string = fundingId

blockSeconds​

number = positiveFunding

expiresAt​

number = positiveFunding

fundingMode​

"bot_blocks" = ...

maxLiability​

{ blocks: number; } = ...

maxLiability.blocks​

number = positiveFunding

maxSeconds​

number = positiveFunding

policyVersion​

string = fundingId

reservationRef​

string = fundingId

Returns​

MeetingBlockEntitlement


check()​

check(run, phase): Promise<DispatchAllowance>

Defined in: packages/agentos/src/io/channels/meetings/CompositeMeetingEntitlement.ts:30

Checks active account/scope, caller permission, original tariff eligibility and supplier capacity. Handed a copy of the run as the store holds it when asked: an allocation link this class has just recovered is on it.

Parameters​

run​

MeetingRunRecord

phase​

MeetingFundingPhase

Returns​

Promise<DispatchAllowance>


close()​

close(run): Promise<{ connectedMs: number; fence: CallFence; }>

Defined in: packages/agentos/src/io/channels/meetings/CompositeMeetingEntitlement.ts:37

Idempotently prevents dispatch/re-dispatch, closes media and inference, and supplies final metered media duration. A never-dispatched run still needs a positive dispatch fence under the owner lock. A kill request, terminal state, elapsed lease or missing worker is not positive evidence. Return false fence flags while termination or final usage remains unknown. Handed a copy of the run as check is.

Parameters​

run​

MeetingRunRecord

Returns​

Promise<{ connectedMs: number; fence: CallFence; }>


now()​

now(): number

Defined in: packages/agentos/src/io/channels/meetings/CompositeMeetingEntitlement.ts:21

The current time, in milliseconds: a whole number, zero or more.

Returns​

number


supplierDailyCapMicro()​

supplierDailyCapMicro(): number

Defined in: packages/agentos/src/io/channels/meetings/CompositeMeetingEntitlement.ts:23

Current platform-wide cap, passed unchanged to the compound ledger and checked at admission.

Returns​

number