io library

VM and server transports. Do not import this from Flutter web or Jaspr client code.

Classes

AgentLinkAnnouncement
Address of the process that owns an AgentInvocationHub.
AgentLinkDirectory
Local directory Dart peers use to find a link owner.
AgentWebSocketSurface
Default AgentSurfaceLink transport for another process.

Functions

invokeAgentWebSocket({required Uri uri, required IntentCallInvocationEnvelope envelope, Duration timeout = const Duration(seconds: 5)}) → Future<AgentResult>
Sends one invoke frame and waits for the matching observed result.
listAgentWebSocketTools({required Uri uri, Duration timeout = const Duration(seconds: 5)}) → Future<List<Map<String, Object?>>>
Asks the owner for its tool list. The reply is not broadcast.
Registry whose handlers forward to a discovered owner.