LocalComputerApi class

Constructors

LocalComputerApi(Dio _dio)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

createLocalDevice({required CreateLocalDeviceRequest createLocalDeviceRequest, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, 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, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<DeletedDevice>>
deleteLocalDevice
listLocalDevices({required String orgId, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<LocalDeviceList>>
listLocalDevices
localComputerConnect({String? token, CancelToken? cancelToken, Map<String, dynamic>? headers, Map<String, dynamic>? extra, 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, Map<String, dynamic>? headers, Map<String, dynamic>? extra, 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, Map<String, dynamic>? headers, Map<String, dynamic>? extra, ValidateStatus? validateStatus, ProgressCallback? onSendProgress, ProgressCallback? onReceiveProgress}) → Future<Response<LocalDevice>>
Change capabilities, shared folders, allowed bots or turn the device off

Operators

operator ==(Object other) → bool
The equality operator.
inherited