Skip to content

Interface: AgentProposal

@roomful/svelte


@roomful/svelte / AgentProposal

Defined in: packages/core/dist/types.d.ts:1673

An action an AI agent proposes but does not apply itself — it waits for a human to approve or reject it, so AI actions are inspectable before they commit. Synced to every peer.

optional decidedBy: Peer<PresenceData>

Defined in: packages/core/dist/types.d.ts:1701

The peer that approved or rejected it, once decided.


id: string

Defined in: packages/core/dist/types.d.ts:1677

Identifies the proposal within the room.


optional payload: unknown

Defined in: packages/core/dist/types.d.ts:1689

An optional structured payload describing the action, e.g. { field, value }.


proposer: Peer

Defined in: packages/core/dist/types.d.ts:1681

The peer that proposed the action (an AI agent), carrying live presence.


status: AgentProposalStatus

Defined in: packages/core/dist/types.d.ts:1693

The current decision state.


timestamp: number

Defined in: packages/core/dist/types.d.ts:1697

When the proposal was created (ms epoch).


type: string

Defined in: packages/core/dist/types.d.ts:1685

The proposed action type — an app-defined label, e.g. 'clear-canvas' or 'set-field'.