@leaflow/sdk 0.0.0-dev.466.gd442bdd → 0.0.0-dev.468.g4f0b484
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/fleet/v1/generated/models.d.ts +1 -1
- package/dist/fleet/v1/generated/validators/machineFeature.zod.js +1 -1
- package/dist/proto/leaflow/fleet/device/v1/device_pb.d.ts +2 -20
- package/dist/proto/leaflow/fleet/device/v1/device_pb.js +1 -1
- package/dist/proto/leaflow/fleet/filetransfer/v1/filetransfer_pb.d.ts +2 -1
- package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.d.ts +4 -3
- package/dist/proto/leaflow/fleet/gamepad/v1/gamepad_pb.js +1 -1
- package/dist/proto/leaflow/fleet/host/v1/host_pb.d.ts +3 -5
- package/dist/proto/leaflow/fleet/machine/v1/machine_pb.d.ts +1 -1
- package/dist/proto/leaflow/fleet/portforward/v1/portforward_pb.d.ts +2 -2
- package/dist/proto/leaflow/fleet/printing/v1/printing_pb.d.ts +3 -3
- package/dist/proto/leaflow/fleet/sshagent/v1/sshagent_pb.d.ts +2 -1
- package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.d.ts +0 -6
- package/dist/proto/leaflow/fleet/virtualdesktop/host/v1/host_pb.js +1 -1
- package/dist/proto/leaflow/fleet/virtualdesktop/input/v1/input_pb.d.ts +4 -4
- package/package.json +1 -1
|
@@ -337,7 +337,7 @@ export interface MachineFeature {
|
|
|
337
337
|
/** The protocol package that defines the feature, such as `leaflow.fleet.command.v1` */
|
|
338
338
|
name: string;
|
|
339
339
|
state: FeatureState;
|
|
340
|
-
/** Why it cannot be used, such as `
|
|
340
|
+
/** Why it cannot be used, such as `Xwayland is not installed`; empty while available */
|
|
341
341
|
reason: string;
|
|
342
342
|
/** What it can do on this machine, as the dotted names its package defines, such as `audio.pipewire` */
|
|
343
343
|
details: string[];
|
|
@@ -244,7 +244,7 @@ export const MachineFeature = zod.strictObject({
|
|
|
244
244
|
state: FeatureState,
|
|
245
245
|
reason: zod
|
|
246
246
|
.string()
|
|
247
|
-
.describe("Why it cannot be used, such as `
|
|
247
|
+
.describe("Why it cannot be used, such as `Xwayland is not installed`; empty while available"),
|
|
248
248
|
details: zod
|
|
249
249
|
.array(zod.string())
|
|
250
250
|
.describe("What it can do on this machine, as the dotted names its package defines, such as `audio.pipewire`"),
|
|
@@ -242,12 +242,13 @@ export type CameraLimits = Message<"leaflow.fleet.device.v1.CameraLimits"> & {
|
|
|
242
242
|
export declare const CameraLimitsSchema: GenMessage<CameraLimits>;
|
|
243
243
|
/**
|
|
244
244
|
* Limits of the gamepads one participant provides. 0: the session's limit.
|
|
245
|
+
* They bound what devices exist; how fast states come is never limited.
|
|
245
246
|
*
|
|
246
247
|
* @generated from message leaflow.fleet.device.v1.GamepadLimits
|
|
247
248
|
*/
|
|
248
249
|
export type GamepadLimits = Message<"leaflow.fleet.device.v1.GamepadLimits"> & {
|
|
249
250
|
/**
|
|
250
|
-
* The most gamepads, at most
|
|
251
|
+
* The most gamepads, at most 16.
|
|
251
252
|
*
|
|
252
253
|
* @generated from field: uint32 max_devices = 1;
|
|
253
254
|
*/
|
|
@@ -264,25 +265,6 @@ export type GamepadLimits = Message<"leaflow.fleet.device.v1.GamepadLimits"> & {
|
|
|
264
265
|
* @generated from field: uint32 max_buttons = 3;
|
|
265
266
|
*/
|
|
266
267
|
maxButtons: number;
|
|
267
|
-
/**
|
|
268
|
-
* The most changed states per second of one gamepad, at most 250.
|
|
269
|
-
*
|
|
270
|
-
* @generated from field: uint32 max_updates_per_second = 4;
|
|
271
|
-
*/
|
|
272
|
-
maxUpdatesPerSecond: number;
|
|
273
|
-
/**
|
|
274
|
-
* The most bytes of states queued, in flight included, at most 64 KiB.
|
|
275
|
-
*
|
|
276
|
-
* @generated from field: uint32 max_queue_size_bytes = 5;
|
|
277
|
-
*/
|
|
278
|
-
maxQueueSizeBytes: number;
|
|
279
|
-
/**
|
|
280
|
-
* The oldest a queued state may get, at most 200 milliseconds; older
|
|
281
|
-
* states are dropped, never their button changes replayed late.
|
|
282
|
-
*
|
|
283
|
-
* @generated from field: google.protobuf.Duration max_queue_time = 6;
|
|
284
|
-
*/
|
|
285
|
-
maxQueueTime?: Duration | undefined;
|
|
286
268
|
};
|
|
287
269
|
/**
|
|
288
270
|
* Describes the message leaflow.fleet.device.v1.GamepadLimits.
|
|
@@ -6,7 +6,7 @@ import { file_google_protobuf_duration } from "@bufbuild/protobuf/wkt";
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file leaflow/fleet/device/v1/device.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_leaflow_fleet_device_v1_device = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_leaflow_fleet_device_v1_device = /*@__PURE__*/ fileDesc("CiRsZWFmbG93L2ZsZWV0L2RldmljZS92MS9kZXZpY2UucHJvdG8SF2xlYWZsb3cuZmxlZXQuZGV2aWNlLnYxIpEBCg1TZXJ2ZXJNZXNzYWdlEjcKBmRlbWFuZBgBIAEoCzIlLmxlYWZsb3cuZmxlZXQuZGV2aWNlLnYxLkRldmljZURlbWFuZEgAEjwKDHNuYXBzaG90X2VuZBgCIAEoCzIkLmxlYWZsb3cuZmxlZXQuZGV2aWNlLnYxLlNuYXBzaG90RW5kSABCCQoHbWVzc2FnZSKJAgoMRGV2aWNlRGVtYW5kEjEKBHR5cGUYASABKA4yIy5sZWFmbG93LmZsZWV0LmRldmljZS52MS5EZXZpY2VUeXBlEjMKBXN0YXRlGAIgASgOMiQubGVhZmxvdy5mbGVldC5kZXZpY2UudjEuRGVtYW5kU3RhdGUSFgoOY29uc3VtZXJfY291bnQYAyABKA0SHAoUY29uc3VtZXJfY291bnRfZXhhY3QYBCABKAgSOgoJY29uc3VtZXJzGAUgAygLMicubGVhZmxvdy5mbGVldC5kZXZpY2UudjEuRGV2aWNlQ29uc3VtZXISHwoXcHJvdmlkZXJfcGFydGljaXBhbnRfaWQYBiABKAQiPwo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EVfVVNCEAMSGgoWREVWSUNFX1RZUEVfU01BUlRfQ0FSRBAEEhcKE0RFVklDRV9UWVBFX0dBTUVQQUQQBSp5CgtEZW1hbmRTdGF0ZRIcChhERU1BTkRfU1RBVEVfVU5TUEVDSUZJRUQQABIVChFERU1BTkRfU1RBVEVfSURMRRABEhcKE0RFTUFORF9TVEFURV9BQ1RJVkUQAhIcChhERU1BTkRfU1RBVEVfVU5BVkFJTEFCTEUQAyqwAgoQQ2FwdHVyZUVuZFJlYXNvbhIiCh5DQVBUVVJFX0VORF9SRUFTT05fVU5TUEVDSUZJRUQQABIjCh9DQVBUVVJFX0VORF9SRUFTT05fTk9fQ09OU1VNRVJTEAESKQolQ0FQVFVSRV9FTkRfUkVBU09OX1BFUk1JU1NJT05fUkVWT0tFRBACEikKJUNBUFRVUkVfRU5EX1JFQVNPTl9ERVZJQ0VfVU5BVkFJTEFCTEUQAxIoCiRDQVBUVVJFX0VORF9SRUFTT05fUFJPVklERVJfUkVQTEFDRUQQBBIoCiRDQVBUVVJFX0VORF9SRUFTT05fREVBRExJTkVfRVhDRUVERUQQBRIpCiVDQVBUVVJFX0VORF9SRUFTT05fVU5TVVBQT1JURURfRk9STUFUEAZCPFo6Z2l0aHViLmNvbS9sZWFmbG93YXBpcy9sZWFmbG93LWdvL2ZsZWV0L2RldmljZS92MTtkZXZpY2V2MWIGcHJvdG8z", [file_google_protobuf_duration]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message leaflow.fleet.device.v1.ServerMessage.
|
|
12
12
|
* Use `create(ServerMessageSchema)` to create a new message.
|
|
@@ -622,7 +622,8 @@ export type FileTransferPolicy = Message<"leaflow.fleet.filetransfer.v1.FileTran
|
|
|
622
622
|
*/
|
|
623
623
|
fileSystemAllowed: boolean;
|
|
624
624
|
/**
|
|
625
|
-
* The most entries, directories included, of one offer. 0:
|
|
625
|
+
* The most entries, directories included, of one offer. 0: as many as one
|
|
626
|
+
* offer holds.
|
|
626
627
|
*
|
|
627
628
|
* @generated from field: uint32 max_entries = 4;
|
|
628
629
|
*/
|
|
@@ -224,14 +224,15 @@ export type GamepadButton = Message<"leaflow.fleet.gamepad.v1.GamepadButton"> &
|
|
|
224
224
|
*/
|
|
225
225
|
export declare const GamepadButtonSchema: GenMessage<GamepadButton>;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* States were written to the device and reported (SYN_REPORT), not merely
|
|
228
228
|
* received.
|
|
229
229
|
*
|
|
230
230
|
* @generated from message leaflow.fleet.gamepad.v1.GamepadApplied
|
|
231
231
|
*/
|
|
232
232
|
export type GamepadApplied = Message<"leaflow.fleet.gamepad.v1.GamepadApplied"> & {
|
|
233
233
|
/**
|
|
234
|
-
* GamepadState.sequence.
|
|
234
|
+
* The newest state written (GamepadState.sequence). It covers every earlier
|
|
235
|
+
* state, those merged into it included.
|
|
235
236
|
*
|
|
236
237
|
* @generated from field: uint64 sequence = 1;
|
|
237
238
|
*/
|
|
@@ -335,7 +336,7 @@ export declare enum GamepadCloseReason {
|
|
|
335
336
|
*/
|
|
336
337
|
PROTOCOL_ERROR = 4,
|
|
337
338
|
/**
|
|
338
|
-
*
|
|
339
|
+
* The participant has as many gamepads as GamepadLimits allows.
|
|
339
340
|
*
|
|
340
341
|
* @generated from enum value: GAMEPAD_CLOSE_REASON_RESOURCE_EXHAUSTED = 5;
|
|
341
342
|
*/
|
|
@@ -112,7 +112,7 @@ export var GamepadCloseReason;
|
|
|
112
112
|
*/
|
|
113
113
|
GamepadCloseReason[GamepadCloseReason["PROTOCOL_ERROR"] = 4] = "PROTOCOL_ERROR";
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* The participant has as many gamepads as GamepadLimits allows.
|
|
116
116
|
*
|
|
117
117
|
* @generated from enum value: GAMEPAD_CLOSE_REASON_RESOURCE_EXHAUSTED = 5;
|
|
118
118
|
*/
|
|
@@ -516,9 +516,9 @@ export declare const SessionHostService: GenService<{
|
|
|
516
516
|
* and returns once it is ready: its session process started, with what
|
|
517
517
|
* its options add, such as the X server of a desktop. On a machine, an
|
|
518
518
|
* account has at most one session with a desktop, since a desktop's
|
|
519
|
-
* per-user services exist once per account
|
|
520
|
-
*
|
|
521
|
-
*
|
|
519
|
+
* per-user services exist once per account; sessions without a desktop
|
|
520
|
+
* run side by side, as many as are opened, such as one for a program and
|
|
521
|
+
* one for a person. Calling again with the session_id of an open
|
|
522
522
|
* session of the same user returns that session.
|
|
523
523
|
*
|
|
524
524
|
* Fails with:
|
|
@@ -540,8 +540,6 @@ export declare const SessionHostService: GenService<{
|
|
|
540
540
|
* - ALREADY_EXISTS and reason USER_HAS_DESKTOP_SESSION for a session
|
|
541
541
|
* with a desktop when the user has one with another id, with metadata
|
|
542
542
|
* "sessionId";
|
|
543
|
-
* - FAILED_PRECONDITION and reason SESSION_LIMIT_REACHED when the user
|
|
544
|
-
* has 8 open sessions on the machine;
|
|
545
543
|
* - ALREADY_EXISTS and reason SESSION_ID_CONFLICT when another user's
|
|
546
544
|
* session has the id;
|
|
547
545
|
* - INTERNAL and reason SESSION_START_FAILED when the session process or
|
|
@@ -125,7 +125,7 @@ export type Feature = Message<"leaflow.fleet.machine.v1.Feature"> & {
|
|
|
125
125
|
state: FeatureState;
|
|
126
126
|
/**
|
|
127
127
|
* UNAVAILABLE only: why, plain text for people, at most 1024 bytes, such
|
|
128
|
-
* as "
|
|
128
|
+
* as "Xwayland is not installed".
|
|
129
129
|
*
|
|
130
130
|
* @generated from field: string reason = 3;
|
|
131
131
|
*/
|
|
@@ -440,13 +440,13 @@ export type PortForwardPolicy = Message<"leaflow.fleet.portforward.v1.PortForwar
|
|
|
440
440
|
*/
|
|
441
441
|
localTargets?: EndpointPolicy | undefined;
|
|
442
442
|
/**
|
|
443
|
-
* The most forwards at once
|
|
443
|
+
* The most forwards at once. 0: no limit.
|
|
444
444
|
*
|
|
445
445
|
* @generated from field: uint32 max_forwards = 7;
|
|
446
446
|
*/
|
|
447
447
|
maxForwards: number;
|
|
448
448
|
/**
|
|
449
|
-
* The most connections and associations at once
|
|
449
|
+
* The most connections and associations at once. 0: no limit.
|
|
450
450
|
*
|
|
451
451
|
* @generated from field: uint32 max_connections = 8;
|
|
452
452
|
*/
|
|
@@ -554,19 +554,19 @@ export declare const PrintDocumentEndSchema: GenMessage<PrintDocumentEnd>;
|
|
|
554
554
|
*/
|
|
555
555
|
export type PrintingPolicy = Message<"leaflow.fleet.printing.v1.PrintingPolicy"> & {
|
|
556
556
|
/**
|
|
557
|
-
* The largest document
|
|
557
|
+
* The largest document. 0: no documents.
|
|
558
558
|
*
|
|
559
559
|
* @generated from field: uint64 max_document_size_bytes = 1;
|
|
560
560
|
*/
|
|
561
561
|
maxDocumentSizeBytes: bigint;
|
|
562
562
|
/**
|
|
563
|
-
* The most jobs received or submitted at a time
|
|
563
|
+
* The most jobs received or submitted at a time. 0: no jobs.
|
|
564
564
|
*
|
|
565
565
|
* @generated from field: uint32 max_jobs = 2;
|
|
566
566
|
*/
|
|
567
567
|
maxJobs: number;
|
|
568
568
|
/**
|
|
569
|
-
* The most printers shared
|
|
569
|
+
* The most printers shared. 0: none.
|
|
570
570
|
*
|
|
571
571
|
* @generated from field: uint32 max_printers = 3;
|
|
572
572
|
*/
|
|
@@ -104,7 +104,8 @@ export type SshAgentPolicy = Message<"leaflow.fleet.sshagent.v1.SshAgentPolicy">
|
|
|
104
104
|
*/
|
|
105
105
|
providerPriority: number;
|
|
106
106
|
/**
|
|
107
|
-
* The most connections at once
|
|
107
|
+
* The most connections at once. 0: as many as the provider takes
|
|
108
|
+
* (ProviderHello.max_connections).
|
|
108
109
|
*
|
|
109
110
|
* @generated from field: uint32 max_connections = 2;
|
|
110
111
|
*/
|
|
@@ -24,12 +24,6 @@ export type DesktopOptions = Message<"leaflow.fleet.virtualdesktop.host.v1.Deskt
|
|
|
24
24
|
* @generated from field: leaflow.fleet.virtualdesktop.display.v1.Size size = 2;
|
|
25
25
|
*/
|
|
26
26
|
size?: Size | undefined;
|
|
27
|
-
/**
|
|
28
|
-
* The largest size the canvas may grow to. Unset: the Agent's default.
|
|
29
|
-
*
|
|
30
|
-
* @generated from field: leaflow.fleet.virtualdesktop.display.v1.Size max_size = 3;
|
|
31
|
-
*/
|
|
32
|
-
maxSize?: Size | undefined;
|
|
33
27
|
/**
|
|
34
28
|
* SESSION_MODE_DESKTOP only: the desktop environment to start, one the
|
|
35
29
|
* feature's details name after "desktop.". Empty: the Agent's default.
|
|
@@ -6,7 +6,7 @@ import { file_leaflow_fleet_virtualdesktop_display_v1_display } from "../../disp
|
|
|
6
6
|
/**
|
|
7
7
|
* Describes the file leaflow/fleet/virtualdesktop/host/v1/host.proto.
|
|
8
8
|
*/
|
|
9
|
-
export const file_leaflow_fleet_virtualdesktop_host_v1_host = /*@__PURE__*/ fileDesc("
|
|
9
|
+
export const file_leaflow_fleet_virtualdesktop_host_v1_host = /*@__PURE__*/ fileDesc("Ci9sZWFmbG93L2ZsZWV0L3ZpcnR1YWxkZXNrdG9wL2hvc3QvdjEvaG9zdC5wcm90bxIkbGVhZmxvdy5mbGVldC52aXJ0dWFsZGVza3RvcC5ob3N0LnYxIqoBCg5EZXNrdG9wT3B0aW9ucxJCCgRtb2RlGAEgASgOMjQubGVhZmxvdy5mbGVldC52aXJ0dWFsZGVza3RvcC5kaXNwbGF5LnYxLlNlc3Npb25Nb2RlEjsKBHNpemUYAiABKAsyLS5sZWFmbG93LmZsZWV0LnZpcnR1YWxkZXNrdG9wLmRpc3BsYXkudjEuU2l6ZRIXCg9zZXNzaW9uX2Rlc2t0b3AYBCABKAkiYwoMRGVza3RvcFN0YXRlEg8KB2Rpc3BsYXkYASABKAkSQgoEbW9kZRgCIAEoDjI0LmxlYWZsb3cuZmxlZXQudmlydHVhbGRlc2t0b3AuZGlzcGxheS52MS5TZXNzaW9uTW9kZUJHWkVnaXRodWIuY29tL2xlYWZsb3dhcGlzL2xlYWZsb3ctZ28vZmxlZXQvdmlydHVhbGRlc2t0b3AvaG9zdC92MTtob3N0djFiBnByb3RvMw", [file_leaflow_fleet_virtualdesktop_display_v1_display]);
|
|
10
10
|
/**
|
|
11
11
|
* Describes the message leaflow.fleet.virtualdesktop.host.v1.DesktopOptions.
|
|
12
12
|
* Use `create(DesktopOptionsSchema)` to create a new message.
|
|
@@ -619,10 +619,10 @@ export type CompositionKey = Message<"leaflow.fleet.virtualdesktop.input.v1.Comp
|
|
|
619
619
|
export declare const CompositionKeySchema: GenMessage<CompositionKey>;
|
|
620
620
|
/**
|
|
621
621
|
* The session dropped a KeyEvent, PointerButton or PointerWheel. Its
|
|
622
|
-
* google.rpc.ErrorInfo reason is
|
|
623
|
-
*
|
|
624
|
-
*
|
|
625
|
-
*
|
|
622
|
+
* google.rpc.ErrorInfo reason is CLIPBOARD_INPUT_DEPENDENCY_FAILED: the
|
|
623
|
+
* clipboard content it named was not in place in time. Input is never dropped
|
|
624
|
+
* for its amount: while the session is behind, it reads no more input of the
|
|
625
|
+
* channel, and the channel's credit holds the participant back.
|
|
626
626
|
*
|
|
627
627
|
* @generated from message leaflow.fleet.virtualdesktop.input.v1.InputError
|
|
628
628
|
*/
|