UNPKG

@wonderwhy-er/desktop-commander

Version:

MCP server for terminal operations and file editing

16 lines (15 loc) • 612 B
import { type MqttConfig } from "./mqtt-transport.js"; interface EnrollmentOptions { serverUrl: string; userId: string; deviceId: string; accessToken: string; /** RemoteChannel invalidates asynchronous enrollment when sign-out or shutdown occurs. */ assertSessionStillActive?: () => void; } /** * Enroll once using the existing authenticated session, or reuse this profile's credentials. * Only the CSR leaves the device. The backend owns authorization and AWS policy attachment. */ export declare function enrollMqttDevice(options: EnrollmentOptions): Promise<MqttConfig>; export {};