meshagent_service library

Classes

Agent
CallEvent
Portable
Portable == Python Protocol with async start/stop
RemoteRoomTool
RoomContentTool
RoomEndedEvent
RoomStartedEvent
RoomToolkit
ServiceHost
ServiceHost equivalent
ServicePath<T extends Portable>
Equivalent of ServicePath
ServiceWebhookServer
SingleRoomAgent
A single-room-bound agent that knows how to install its requirements into the room (schemas/toolkits) and later resolve them into Toolkit /RemoteRoomTool instances.
TaskContext
Mirrors Python TaskContext.
TaskRunner
Dart port of the Python TaskRunner.
WebhookServer
This is the Dart analogue of the Python WebhookServer.

Constants

wellKnownServicePath → const String

Properties

logger → Logger
final
webhookLogger → Logger
final

Functions

noArgumentsSchema({String? description}) → Map<String, dynamic>
Minimal “no-args” JSON schema, mirroring Python no_arguments_schema(...).
sendWebhook(Client client, {required String url, required String event, required Map<String, dynamic> data, String? secret, Map<String, String>? headers}) → Future<void>
Equivalent of send_webhook
signSha256Jwt(String hashHex, String secret) → String
validateJson(dynamic instance, Map<String, dynamic> schema, {String at = r'$'}) → void

Exceptions / Errors

AgentException
JsonSchemaValidationException
(Optional) lightweight schema validation. Replace with a real JSON Schema implementation if you need full spec coverage.