cyberdesk 2.1.21 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/types.gen.d.ts +4 -0
- package/dist/index.d.ts +5 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
|
@@ -166,6 +166,10 @@ export type MachineResponse = {
|
|
|
166
166
|
is_available: boolean;
|
|
167
167
|
reserved_session_id?: string | null;
|
|
168
168
|
linked_keepalive_machine_id?: string | null;
|
|
169
|
+
/**
|
|
170
|
+
* Fly machine ID hosting the WebSocket connection
|
|
171
|
+
*/
|
|
172
|
+
physical_server_id?: string | null;
|
|
169
173
|
created_at: string;
|
|
170
174
|
last_seen: string;
|
|
171
175
|
pools?: Array<PoolResponse> | null;
|
package/dist/index.d.ts
CHANGED
|
@@ -52,7 +52,8 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string):
|
|
|
52
52
|
* @param params.limit - Maximum number of items to return
|
|
53
53
|
* @param params.status - Filter by machine status
|
|
54
54
|
* @returns Paginated list of machines. Each machine includes desktop parameters
|
|
55
|
-
* (machine_parameters, machine_sensitive_parameters) if configured
|
|
55
|
+
* (machine_parameters, machine_sensitive_parameters) if configured,
|
|
56
|
+
* plus the current physical_server_id when connected to WebSockets.
|
|
56
57
|
*/
|
|
57
58
|
list: (params?: {
|
|
58
59
|
skip?: number;
|
|
@@ -100,6 +101,7 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string):
|
|
|
100
101
|
* - Basic info: id, name, status, fingerprint, etc.
|
|
101
102
|
* - machine_parameters: Dict of desktop parameters (if configured)
|
|
102
103
|
* - machine_sensitive_parameters: Dict of sensitive parameter aliases (if configured)
|
|
104
|
+
* - physical_server_id: Fly machine ID currently hosting the WebSocket connection
|
|
103
105
|
* - pools: List of pools this machine belongs to
|
|
104
106
|
*/
|
|
105
107
|
get: (machineId: string) => Promise<({
|
|
@@ -148,6 +150,8 @@ export declare function createCyberdeskClient(apiKey: string, baseUrl?: string):
|
|
|
148
150
|
* @remarks
|
|
149
151
|
* - linked_keepalive_machine_id is not writable; it is managed by
|
|
150
152
|
* Cyberdriver link events and will be set/cleared automatically.
|
|
153
|
+
* - physical_server_id is read-only; it is set automatically when the machine
|
|
154
|
+
* connects to a WebSocket server and cleared on disconnect.
|
|
151
155
|
* - For machine_sensitive_parameters, provide actual secret values.
|
|
152
156
|
* They will be stored securely in Basis Theory and only aliases stored in DB.
|
|
153
157
|
*/
|
package/dist/index.js
CHANGED
|
@@ -111,7 +111,8 @@ function createCyberdeskClient(apiKey, baseUrl) {
|
|
|
111
111
|
* @param params.limit - Maximum number of items to return
|
|
112
112
|
* @param params.status - Filter by machine status
|
|
113
113
|
* @returns Paginated list of machines. Each machine includes desktop parameters
|
|
114
|
-
* (machine_parameters, machine_sensitive_parameters) if configured
|
|
114
|
+
* (machine_parameters, machine_sensitive_parameters) if configured,
|
|
115
|
+
* plus the current physical_server_id when connected to WebSockets.
|
|
115
116
|
*/
|
|
116
117
|
list: (params) => __awaiter(this, void 0, void 0, function* () {
|
|
117
118
|
const query = {
|
|
@@ -149,6 +150,7 @@ function createCyberdeskClient(apiKey, baseUrl) {
|
|
|
149
150
|
* - Basic info: id, name, status, fingerprint, etc.
|
|
150
151
|
* - machine_parameters: Dict of desktop parameters (if configured)
|
|
151
152
|
* - machine_sensitive_parameters: Dict of sensitive parameter aliases (if configured)
|
|
153
|
+
* - physical_server_id: Fly machine ID currently hosting the WebSocket connection
|
|
152
154
|
* - pools: List of pools this machine belongs to
|
|
153
155
|
*/
|
|
154
156
|
get: (machineId) => __awaiter(this, void 0, void 0, function* () {
|
|
@@ -193,6 +195,8 @@ function createCyberdeskClient(apiKey, baseUrl) {
|
|
|
193
195
|
* @remarks
|
|
194
196
|
* - linked_keepalive_machine_id is not writable; it is managed by
|
|
195
197
|
* Cyberdriver link events and will be set/cleared automatically.
|
|
198
|
+
* - physical_server_id is read-only; it is set automatically when the machine
|
|
199
|
+
* connects to a WebSocket server and cleared on disconnect.
|
|
196
200
|
* - For machine_sensitive_parameters, provide actual secret values.
|
|
197
201
|
* They will be stored securely in Basis Theory and only aliases stored in DB.
|
|
198
202
|
*/
|