LocalComputerApi class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
runtimeType
→ Type
A representation of the runtime type of the object.
no setter inherited
Methods
createLocalDevice ({required CreateLocalDeviceRequest createLocalDeviceRequest , CancelToken? cancelToken , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<CreatedLocalDevice > >
Pair this machine as a bot computer (desktop companion); returns a device token once
deleteLocalDevice ({required String id , CancelToken? cancelToken , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<DeletedDevice > >
deleteLocalDevice
listLocalDevices ({required String orgId , CancelToken? cancelToken , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<LocalDeviceList > >
listLocalDevices
localComputerConnect ({String ? token , CancelToken? cancelToken , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<void > >
WebSocket for the desktop companion (authorization: Device <token>, or ?token=). The API sends tool requests; the app answers from its embedded computerd.
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setLocalMcpServers ({required String id , required SetLocalMcpServersRequest setLocalMcpServersRequest , CancelToken? cancelToken , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<LocalMcpIntegrationList > >
Register the local MCP servers on this computer (no secrets); each becomes a local_mcp integration
toString ()
→ String
A string representation of this object.
inherited
updateLocalDevice ({required String id , required UpdateLocalDeviceRequest updateLocalDeviceRequest , CancelToken? cancelToken , ValidateStatus? validateStatus , ProgressCallback? onSendProgress , ProgressCallback? onReceiveProgress })
→ Future <Response<LocalDevice > >
Change capabilities, shared folders, allowed bots or turn the device off