meshagent library
Classes
- AdminGrant
- AgentCallContext
- AgentChatContext
- AgentDescription
- AgentsGrant
- AgentSpec
- AllowedMcpToolFilter
- ApiKey
- ApiKeyInfo
- ApiScope
- Balance
- BinaryDataType
- BinaryDataType
- BuildInfo
-
Single build (as returned by
containers.list_builds) - ChangeEmitter
- ChildProperty
- Connector
- ConnectorRef
- ContainerImage
-
Lightweight image description (from
containers.list_images) - ContainerRun
- ContainerRunResult
- ContainersClient
- ContainersGrant
- ContainerSpec
- ContainerTemplateSpec
- DatabaseGrant
- DataType
- Abstract base class for data types.
- DateDataType
- DateDataType
- DeveloperClient
- DeveloperGrant
- DockerSecret
- ElementProperty
- ElementType
- EmptyResponse
- EndpointSpec
- EnvironmentVariable
- ErrorResponse
- ExternalServiceSpec
- ExternalServiceTemplateSpec
- FileDeletedEvent
- FileHandle
- FileResponse
- FileUpdatedEvent
- FloatDataType
- FloatDataType
- ImageGenerationConfig
- IntDataType
- IntDataType
- JsonResponse
- LinkResponse
- LivekitGrant
- LocalParticipant
- LocalShellConfig
- LogProgress
-
LogStream<
T> - Mailbox
- MCPConfig
- MCPEndpointSpec
- MCPServer
- Meshagent
- A client to interact with the accounts routes.
- MeshagentEndpointSpec
- MeshDocument
- MeshElement
- MeshNode
- MeshSchema
- Message
- MessageStreamChunk
- MessageStreamReader
- MessageStreamWriter
- MessagingClient
- MessagingGrant
- OAuthClient
- OAuthClientConfig
- OAuthCredentials
- OAuthEndpoint
- OAuthTokenRequest
- OpenAIConnectors
- Participant
- ParticipantGrant
- ParticipantInfo
- ParticipantToken
- PortNum
- PortSpec
- ProjectRoomGrant
- ProjectRoomGrantCount
- ProjectStorageMountSpec
- ProjectUserGrantCount
-
Protocol<
T extends ProtocolChannel> - ProtocolChannel
- ProtocolMessage
- Queue
- QueuesGrant
- RemoteParticipant
- RemoteTaskRunner
- RemoteToolkit
- RequiredSchema
- RequiredToolkit
- Requirement
- Response
- Abstract Response class
- Room
- RoomClient
- RoomConnectionInfo
- RoomContainer
- RoomEvent
- RoomLogEvent
- RoomMessage
- RoomMessageEvent
- RoomSession
- RoomStatusEvent
- RoomStorageMountSpec
- RuntimeDocument
- SecretsClient
- SecretsGrant
- ServiceApiKeySpec
- ServiceMetadata
- ServiceSpec
- ServiceStorageMountsSpec
- ServiceTemplateMetadata
- ServiceTemplateMountSpec
-
Wrapper for all storage mounts on a template (currently only
room). - ServiceTemplateSpec
- ServiceTemplateVariable
- StorageClient
- StorageConfig
- StorageEntry
- StorageGrant
- StoragePathGrant
- StreamProtocolChannel
- SyncClient
- SyncGrant
- SyncPathGrant
- TableGrant
- TextDataType
- TextDataType
- TextElement
- TextResponse
- TimestampDataType
- FloatDataType
- Tool
- ToolContext
- ToolDescription
- Toolkit
- ToolkitConfig
- Base class for all tool configurations
- ToolkitDescription
- Transaction
- ValueProperty
- VectorDataType
- VectorDataType
- WebSearchConfig
- WebSocketClientProtocol
- WebSocketProtocolChannel
Extensions
Functions
-
attributesFromJson(
Map< String, dynamic> json) → Map<String, dynamic> -
base36Decode(
String numberStr) → BigInt -
base36Encode(
dynamic value) → String -
base64CompressUuid(
String id) → String -
base64DecompressUuid(
String id) → String -
compressUuid(
String guidString) → String -
decompressUuid(
String compressedUuid) → String -
encodeApiKey(
ApiKey key) → String -
packMessage(
Map< String, dynamic> header, [Uint8List? data]) → Uint8List -
parseApiKey(
String key) → ApiKey -
splitMessageHeader(
Uint8List packet) → String -
splitMessagePayload(
Uint8List packet) → Uint8List -
tagNameFromJson(
Map< String, dynamic> json) → String -
unpackMessage(
Uint8List message) → Message -
unpackResponse(
Uint8List data) → Response
Typedefs
-
DataTypeConstructor
= DataType Function(Map<
String, dynamic> data) - We define a typedef for a constructor function that takes JSON data and returns a DataType instance.
- OAuthTokenRequestHandler = void Function(OAuthTokenRequest request)
- Optional: if you want a typedef for clarity
-
ProtocolMessageHandler
= Future<
void> Function(Protocol<ProtocolChannel> , int messageId, String type, Uint8List data)
Exceptions / Errors
- MeshagentException
- A simple custom exception to denote HTTP errors.
- MeshSchemaValidationException
- NameInUseException
- NotFoundException
- RoomServerException