meshagent library
Classes
- AccessTokenProvider
- AdminGrant
- AgentConnectionInfo
- AgentFileContent
- AgentGrantsPage
- AgentInputContent
- AgentRoomGrant
- AgentsClient
- AgentsGrant
- AgentsPage
- AgentSpec
- AgentTemplateSpec
- AgentTextContent
- AllowedMcpToolFilter
- ApiKey
- ApiKeyInfo
- ApiScope
- ArrowArray
- ArrowBinaryType
- ArrowBinaryViewArray
- ArrowBoolType
- ArrowBuffer
- ArrowBufferBackedArray
- ArrowDataType
- ArrowDateType
- ArrowDateValue
- ArrowDecimalType
- ArrowDecimalValue
- ArrowDictionaryArray
- ArrowDictionaryType
- ArrowDurationType
- ArrowField
- ArrowFixedSizeBinaryType
- ArrowFixedSizeListType
- ArrowFloatingPointType
- ArrowIntervalType
- ArrowIntType
- ArrowIpcFileReader
- ArrowIpcFileWriter
- ArrowIpcSchema
- ArrowIpcStreamReader
- ArrowIpcStreamWriter
- ArrowListArray
- ArrowListType
- ArrowMapArray
- ArrowMapEntry
- ArrowMapType
- ArrowNullType
- ArrowRecordBatch
- ArrowRunEndEncodedArray
- ArrowRunEndEncodedType
- ArrowSchema
- ArrowStructArray
- ArrowStructType
- ArrowTable
- ArrowTimestampType
- ArrowTimestampValue
- ArrowTimeType
- ArrowUnionArray
- ArrowUnionType
- ArrowUtf8Type
- ArrowValueArray
- ArrowVariableBytesArray
- AuthProvider
- Balance
- BaseTool
- BinaryContent
- BuildInfo
- ChangeEmitter
- ChannelSpec
- ChannelsSpec
- ChildProperty
- ConfigMountSpec
- Connector
- ConnectorRef
- ContainerImage
-
Lightweight image description (from
containers.list_images) - ContainerImageDescriptor
- ContainerImageInspection
- ContainerImageManifest
- ContainerMountSpec
- ContainerRunResult
- ContainersClient
- ContainersGrant
- ContainerSpec
- ContainerTemplateSpec
- Content
- Abstract Content class
- ContentTool
- ControlContent
- DatasetDate
- DatasetExpression
- DatasetGrant
- DatasetIndexConfig
- DatasetJson
- DatasetOptimizeConfig
- DatasetOptimizeResult
- DatasetsClient
- DatasetSqlCancelResult
- DatasetSqlExecution
- DatasetSqlQuery
- DatasetSqlStatement
- DatasetStruct
- DatasetTableStats
- DatasetTableWatchEvent
- DatasetValueEncoder
- DeveloperClient
- DeveloperGrant
- DockerSecret
- ElementProperty
- ElementType
- EmailChannel
- EmailSpec
- EmptyContent
- EmptyDirMountSpec
- EndpointSpec
- EnvironmentVariable
- ErrorContent
- ExecSession
- ExternalOAuthClientRegistration
- ExternalServiceSpec
- ExternalServiceTemplateSpec
- Feed
- FeedsPage
- FeedSubscription
- FileContent
- FileDeletedEvent
- FileHandle
- FileMovedEvent
- FileStorageMountSpec
- FileUpdatedEvent
- FunctionTool
- HeartbeatSpec
- HostedToolkit
- ImageStorageMountSpec
- ImportedImage
- JsonContent
- LinkContent
- ListServicesResult
- LivekitGrant
- LLMGrant
- LlmLogger
- LocalParticipant
- LogProgress
-
LogStream<
T> - Mailbox
- MailboxesPage
- ManagedAgent
- ManagedAgentGrant
- ManagedSecret
- ManagedSecretInfo
- MCPEndpointSpec
- MCPHeader
- MCPServer
- MemoryClient
- MemoryDatasetSummary
- MemoryDeleteEntitiesResult
- MemoryDeleteRelationshipsResult
- MemoryDetails
- MemoryEntityRecord
- MemoryEntryGrant
- MemoryGrant
- MemoryIngestResult
- MemoryIngestStats
- MemoryOptimizeDatasetStats
- MemoryOptimizeResult
- MemoryPermissions
- MemoryRecallItem
- MemoryRecallRelationship
- MemoryRecallResult
- MemoryRelationshipRecord
- MemoryRelationshipSelector
- Meshagent
- A client to interact with the accounts routes.
- MeshagentApiKeysPage
- MeshagentEndpointSpec
- MeshagentLegacySecretsPage
- MeshagentRepositoriesPage
- MeshagentSecretsPage
- MeshagentServicesPage
- MeshagentWebhooksPage
- MeshDocument
- MeshElement
- MeshNode
- MeshSchema
- Message
- MessagingChannel
- MessagingClient
- MessagingGrant
- OAuthClient
- OAuthClientConfig
- OAuthClientsPage
- OAuthCredentials
- OAuthEndpoint
- OAuthTokenRequest
- OpenAIConnectors
- Participant
- ParticipantGrant
- ParticipantInfo
- ParticipantToken
- PortNum
- PortSpec
- ProjectAgentGrant
- ProjectAgentGrantCount
- ProjectAgentRoomGrant
- ProjectMembersPage
- ProjectRepository
- ProjectRepositoryImage
- ProjectRepositoryTag
- ProjectRoleInfo
- ProjectRoomGrant
- ProjectRoomGrantCount
- ProjectStorageMountSpec
- ProjectUserGrantCount
- ProjectUserGrantCountsPage
- PromptTemplate
-
Protocol<
T extends ProtocolChannel> - ProtocolChannel
- ProtocolMessage
- Queue
- QueueChannel
- QueuesGrant
- RemoteParticipant
- RequiredSchema
- RequiredTable
- RequiredToolkit
- Requirement
- Room
- RoomClient
- RoomConnectionInfo
- RoomContainer
- RoomContainerPort
- RoomEvent
- RoomGrantsPage
- RoomLogEvent
- RoomMessage
- RoomMessageEvent
- RoomProtocolProxy
- RoomSession
- RoomsPage
- RoomStatusEvent
- RoomStorageMountSpec
- RoomToolContext
- Route
- RouteBackend
- RouteBackendTarget
- RouteMetadata
- RoutePath
- RoutesPage
- RouteSpec
- RuntimeDocument
- ScheduledTask
- ScheduledTaskMetadata
- ScheduledTaskQueueSpec
- ScheduledTaskRun
- ScheduledTaskRunsPage
- ScheduledTasksPage
- ScheduledTaskSpec
- SecretInfo
- SecretRequest
- SecretsClient
- SecretsGrant
- SecretValue
- ServiceApiKeySpec
- ServiceMetadata
- ServiceRuntimeState
- ServicesClient
- ServicesGrant
- ServiceSpec
- ServiceTemplateContainerMountSpec
- Wrapper for all storage mounts on a template.
- ServiceTemplateMetadata
- ServiceTemplateSpec
- ServiceTemplateVariable
- SimpleAccessTokenProvider
- StorageClient
- StorageEntry
- StorageGrant
- StoragePathGrant
- StreamProtocolChannel
- SyncClient
- SyncGrant
- SyncPathGrant
- TableBranch
- TableGrant
- TableIndex
- TableRef
- TableVersion
- TemplateEnvironmentVariable
- TextContent
- TextElement
- TokenValue
- ToolCallOutput
- ToolContentInput
- ToolContentOutput
- ToolContentSpec
- ToolContext
- ToolDescription
- ToolInput
- Toolkit
- ToolkitChannel
- ToolkitDescription
- ToolStreamInput
- ToolStreamOutput
- Transaction
- TunnelsGrant
- UuidValue
- ValueProperty
- WebSocketClientProtocol
- WebSocketProtocolChannel
Enums
- ApiKeyRole
- ArrowDateUnit
- ArrowFloatingPointPrecision
- ArrowIntervalUnit
- ArrowTimeUnit
- ArrowUnionMode
- ContextEncoding
- ControlCloseStatus
- CreateMode
- DatasetImportMode
- DatasetSqlCancelStatus
- DatasetStorageFormat
- DatasetTableWatchPhase
- Kind
- MemoryIngestStrategy
- PortType
- ProjectRole
- ProtocolCloseKind
- Role
- SimpleValue
- ToolContentType
- ValidationMode
- Version
Extensions
Constants
- arrowExtensionMetadataMetadataKey → const String
- arrowExtensionNameMetadataKey → const String
- arrowJsonExtensionName → const String
- fullOAuthScope → const String
-
fullOAuthScopes
→ const List<
String>
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 -
decodeRecords(
DatasetRows records) → DatasetRows -
decompressUuid(
String compressedUuid) → String -
encodeApiKey(
ApiKey key) → String -
encodeRecords(
DatasetRows records) → DatasetRows -
formatArrowDataType(
ArrowDataType type) → String -
formatArrowSchema(
ArrowSchema schema) → String -
installTable(
RoomClient room, RequiredTable table, {Logger? logger, bool optimize = true}) → Future< void> - Install (create + index + optimize) a RequiredTable in the current room.
-
mcpConnectorsFromRoomServices(
{required Iterable< ServiceSpec> services, String? agentName}) → List<Connector> -
packMessage(
Map< String, dynamic> header, [Uint8List? data]) → Uint8List -
parseApiKey(
String key) → ApiKey -
parseArrowDataType(
String source) → ArrowDataType -
parseArrowSchema(
String source) → ArrowSchema -
splitMessageHeader(
Uint8List packet) → String -
splitMessagePayload(
Uint8List packet) → Uint8List -
startHostedToolkit(
{required RoomClient room, required Toolkit toolkit, bool public = false}) → Future< HostedToolkit> -
tagNameFromJson(
Map< String, dynamic> json) → String -
unpackContent(
Uint8List data) → Content -
unpackMessage(
Uint8List message) → Message
Typedefs
-
DatasetArrowBatches
= Stream<
ArrowRecordBatch> -
DatasetRecord
= Map<
String, Object?> -
DatasetRowChunks
= Stream<
DatasetRows> -
DatasetRows
= List<
DatasetRecord> -
OAuthTokenRequestHandler
= FutureOr<
void> Function(OAuthTokenRequest request) - Optional: if you want a typedef for clarity
-
ProtocolFactory
= Protocol<
ProtocolChannel> Function() -
ProtocolMessageHandler
= Future<
void> Function(Protocol<ProtocolChannel> protocol, int messageId, String type, Uint8List data) -
SecretRequestHandler
= FutureOr<
void> Function(SecretRequest request)
Exceptions / Errors
- ArrowIpcFormatException
- ArrowSchemaParseException
- ForbiddenException
- InvalidToolDataException
- MeshagentException
- A simple custom exception to denote HTTP errors.
- MeshSchemaValidationException
- NameInUseException
- NotFoundException
- ProtocolCloseException
- ProtocolReconnectUnsupportedException
- RoomServerException