@livekit/protocol 1.45.4 → 1.45.5

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.45.4",
3
+ "version": "1.45.5",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -484,6 +484,11 @@ export declare class SimulationRun_ConfirmSourceUpload_Request extends Message<S
484
484
  */
485
485
  simulationRunId: string;
486
486
 
487
+ /**
488
+ * @generated from field: string code_entrypoint = 3;
489
+ */
490
+ codeEntrypoint: string;
491
+
487
492
  constructor(data?: PartialMessage<SimulationRun_ConfirmSourceUpload_Request>);
488
493
 
489
494
  static readonly runtime: typeof proto3;
@@ -192,6 +192,7 @@ export const SimulationRun_ConfirmSourceUpload_Request = /*@__PURE__*/ proto3.ma
192
192
  () => [
193
193
  { no: 1, name: "project_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
194
194
  { no: 2, name: "simulation_run_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
195
+ { no: 3, name: "code_entrypoint", kind: "scalar", T: 9 /* ScalarType.STRING */ },
195
196
  ],
196
197
  {localName: "SimulationRun_ConfirmSourceUpload_Request"},
197
198
  );
@@ -128,6 +128,11 @@ export declare class AgentSecret extends Message<AgentSecret> {
128
128
  */
129
129
  kind: AgentSecretKind;
130
130
 
131
+ /**
132
+ * @generated from field: repeated string environments = 6;
133
+ */
134
+ environments: string[];
135
+
131
136
  constructor(data?: PartialMessage<AgentSecret>);
132
137
 
133
138
  static readonly runtime: typeof proto3;
@@ -255,6 +260,69 @@ export declare class CreateAgentResponse extends Message<CreateAgentResponse> {
255
260
  static equals(a: CreateAgentResponse | PlainMessage<CreateAgentResponse> | undefined, b: CreateAgentResponse | PlainMessage<CreateAgentResponse> | undefined): boolean;
256
261
  }
257
262
 
263
+ /**
264
+ * @generated from message livekit.CreateAgentV2Request
265
+ */
266
+ export declare class CreateAgentV2Request extends Message<CreateAgentV2Request> {
267
+ /**
268
+ * @generated from field: repeated livekit.AgentSecret secrets = 1;
269
+ */
270
+ secrets: AgentSecret[];
271
+
272
+ /**
273
+ * @generated from field: repeated string regions = 2;
274
+ */
275
+ regions: string[];
276
+
277
+ constructor(data?: PartialMessage<CreateAgentV2Request>);
278
+
279
+ static readonly runtime: typeof proto3;
280
+ static readonly typeName = "livekit.CreateAgentV2Request";
281
+ static readonly fields: FieldList;
282
+
283
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAgentV2Request;
284
+
285
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAgentV2Request;
286
+
287
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAgentV2Request;
288
+
289
+ static equals(a: CreateAgentV2Request | PlainMessage<CreateAgentV2Request> | undefined, b: CreateAgentV2Request | PlainMessage<CreateAgentV2Request> | undefined): boolean;
290
+ }
291
+
292
+ /**
293
+ * @generated from message livekit.CreateAgentV2Response
294
+ */
295
+ export declare class CreateAgentV2Response extends Message<CreateAgentV2Response> {
296
+ /**
297
+ * @generated from field: string agent_id = 1;
298
+ */
299
+ agentId: string;
300
+
301
+ /**
302
+ * @generated from field: string status = 2;
303
+ */
304
+ status: string;
305
+
306
+ /**
307
+ * @generated from field: repeated string server_regions = 3;
308
+ */
309
+ serverRegions: string[];
310
+
311
+ constructor(data?: PartialMessage<CreateAgentV2Response>);
312
+
313
+ static readonly runtime: typeof proto3;
314
+ static readonly typeName = "livekit.CreateAgentV2Response";
315
+ static readonly fields: FieldList;
316
+
317
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateAgentV2Response;
318
+
319
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateAgentV2Response;
320
+
321
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateAgentV2Response;
322
+
323
+ static equals(a: CreateAgentV2Response | PlainMessage<CreateAgentV2Response> | undefined, b: CreateAgentV2Response | PlainMessage<CreateAgentV2Response> | undefined): boolean;
324
+ }
325
+
258
326
  /**
259
327
  * @generated from message livekit.PresignedPostRequest
260
328
  */
@@ -358,6 +426,21 @@ export declare class AgentDeployment extends Message<AgentDeployment> {
358
426
  */
359
427
  events: AgentEvent[];
360
428
 
429
+ /**
430
+ * @generated from field: string environment = 15;
431
+ */
432
+ environment: string;
433
+
434
+ /**
435
+ * @generated from field: string version = 16;
436
+ */
437
+ version: string;
438
+
439
+ /**
440
+ * @generated from field: string agent_name = 17;
441
+ */
442
+ agentName: string;
443
+
361
444
  constructor(data?: PartialMessage<AgentDeployment>);
362
445
 
363
446
  static readonly runtime: typeof proto3;
@@ -519,6 +602,11 @@ export declare class AgentVersion extends Message<AgentVersion> {
519
602
  */
520
603
  draining: boolean;
521
604
 
605
+ /**
606
+ * @generated from field: bool active = 9;
607
+ */
608
+ active: boolean;
609
+
522
610
  constructor(data?: PartialMessage<AgentVersion>);
523
611
 
524
612
  static readonly runtime: typeof proto3;
@@ -765,6 +853,11 @@ export declare class DeployAgentRequest extends Message<DeployAgentRequest> {
765
853
  */
766
854
  cpuReq: string;
767
855
 
856
+ /**
857
+ * @generated from field: string environment = 7;
858
+ */
859
+ environment: string;
860
+
768
861
  constructor(data?: PartialMessage<DeployAgentRequest>);
769
862
 
770
863
  static readonly runtime: typeof proto3;
@@ -800,7 +893,8 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
800
893
  agentId: string;
801
894
 
802
895
  /**
803
- * @generated from field: string presigned_url = 4;
896
+ * @generated from field: string presigned_url = 4 [deprecated = true];
897
+ * @deprecated
804
898
  */
805
899
  presignedUrl: string;
806
900
 
@@ -814,6 +908,11 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
814
908
  */
815
909
  presignedPostRequest?: PresignedPostRequest;
816
910
 
911
+ /**
912
+ * @generated from field: string environment = 7;
913
+ */
914
+ environment: string;
915
+
817
916
  constructor(data?: PartialMessage<DeployAgentResponse>);
818
917
 
819
918
  static readonly runtime: typeof proto3;
@@ -829,6 +928,89 @@ export declare class DeployAgentResponse extends Message<DeployAgentResponse> {
829
928
  static equals(a: DeployAgentResponse | PlainMessage<DeployAgentResponse> | undefined, b: DeployAgentResponse | PlainMessage<DeployAgentResponse> | undefined): boolean;
830
929
  }
831
930
 
931
+ /**
932
+ * @generated from message livekit.DeployAgentV2Request
933
+ */
934
+ export declare class DeployAgentV2Request extends Message<DeployAgentV2Request> {
935
+ /**
936
+ * @generated from field: string agent_id = 1;
937
+ */
938
+ agentId: string;
939
+
940
+ /**
941
+ * @generated from field: repeated livekit.AgentSecret secrets = 2;
942
+ */
943
+ secrets: AgentSecret[];
944
+
945
+ /**
946
+ * @generated from field: string environment = 3;
947
+ */
948
+ environment: string;
949
+
950
+ constructor(data?: PartialMessage<DeployAgentV2Request>);
951
+
952
+ static readonly runtime: typeof proto3;
953
+ static readonly typeName = "livekit.DeployAgentV2Request";
954
+ static readonly fields: FieldList;
955
+
956
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeployAgentV2Request;
957
+
958
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeployAgentV2Request;
959
+
960
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeployAgentV2Request;
961
+
962
+ static equals(a: DeployAgentV2Request | PlainMessage<DeployAgentV2Request> | undefined, b: DeployAgentV2Request | PlainMessage<DeployAgentV2Request> | undefined): boolean;
963
+ }
964
+
965
+ /**
966
+ * @generated from message livekit.DeployAgentV2Response
967
+ */
968
+ export declare class DeployAgentV2Response extends Message<DeployAgentV2Response> {
969
+ /**
970
+ * @generated from field: bool success = 1;
971
+ */
972
+ success: boolean;
973
+
974
+ /**
975
+ * @generated from field: string message = 2;
976
+ */
977
+ message: string;
978
+
979
+ /**
980
+ * @generated from field: string agent_id = 3;
981
+ */
982
+ agentId: string;
983
+
984
+ /**
985
+ * @generated from field: string tag = 4;
986
+ */
987
+ tag: string;
988
+
989
+ /**
990
+ * @generated from field: livekit.PresignedPostRequest presigned_req = 5;
991
+ */
992
+ presignedReq?: PresignedPostRequest;
993
+
994
+ /**
995
+ * @generated from field: string environment = 6;
996
+ */
997
+ environment: string;
998
+
999
+ constructor(data?: PartialMessage<DeployAgentV2Response>);
1000
+
1001
+ static readonly runtime: typeof proto3;
1002
+ static readonly typeName = "livekit.DeployAgentV2Response";
1003
+ static readonly fields: FieldList;
1004
+
1005
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeployAgentV2Response;
1006
+
1007
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeployAgentV2Response;
1008
+
1009
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeployAgentV2Response;
1010
+
1011
+ static equals(a: DeployAgentV2Response | PlainMessage<DeployAgentV2Response> | undefined, b: DeployAgentV2Response | PlainMessage<DeployAgentV2Response> | undefined): boolean;
1012
+ }
1013
+
832
1014
  /**
833
1015
  * @generated from message livekit.UpdateAgentSecretsRequest
834
1016
  */
@@ -979,6 +1161,13 @@ export declare class DeleteAgentRequest extends Message<DeleteAgentRequest> {
979
1161
  */
980
1162
  agentName: string;
981
1163
 
1164
+ /**
1165
+ * optional
1166
+ *
1167
+ * @generated from field: string environment = 3;
1168
+ */
1169
+ environment: string;
1170
+
982
1171
  constructor(data?: PartialMessage<DeleteAgentRequest>);
983
1172
 
984
1173
  static readonly runtime: typeof proto3;
@@ -67,6 +67,7 @@ export const AgentSecret = /*@__PURE__*/ proto3.makeMessageType(
67
67
  { no: 3, name: "created_at", kind: "message", T: Timestamp },
68
68
  { no: 4, name: "updated_at", kind: "message", T: Timestamp },
69
69
  { no: 5, name: "kind", kind: "enum", T: proto3.getEnumType(AgentSecretKind) },
70
+ { no: 6, name: "environments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
70
71
  ],
71
72
  );
72
73
 
@@ -102,6 +103,29 @@ export const CreateAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
102
103
  ],
103
104
  );
104
105
 
106
+ /**
107
+ * @generated from message livekit.CreateAgentV2Request
108
+ */
109
+ export const CreateAgentV2Request = /*@__PURE__*/ proto3.makeMessageType(
110
+ "livekit.CreateAgentV2Request",
111
+ () => [
112
+ { no: 1, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
113
+ { no: 2, name: "regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
114
+ ],
115
+ );
116
+
117
+ /**
118
+ * @generated from message livekit.CreateAgentV2Response
119
+ */
120
+ export const CreateAgentV2Response = /*@__PURE__*/ proto3.makeMessageType(
121
+ "livekit.CreateAgentV2Response",
122
+ () => [
123
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
124
+ { no: 2, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
125
+ { no: 3, name: "server_regions", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
126
+ ],
127
+ );
128
+
105
129
  /**
106
130
  * @generated from message livekit.PresignedPostRequest
107
131
  */
@@ -133,6 +157,9 @@ export const AgentDeployment = /*@__PURE__*/ proto3.makeMessageType(
133
157
  { no: 12, name: "cpu_limit", kind: "scalar", T: 9 /* ScalarType.STRING */ },
134
158
  { no: 13, name: "server_region", kind: "scalar", T: 9 /* ScalarType.STRING */ },
135
159
  { no: 14, name: "events", kind: "message", T: AgentEvent, repeated: true },
160
+ { no: 15, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
161
+ { no: 16, name: "version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
162
+ { no: 17, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
136
163
  ],
137
164
  );
138
165
 
@@ -186,6 +213,7 @@ export const AgentVersion = /*@__PURE__*/ proto3.makeMessageType(
186
213
  { no: 6, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
187
214
  { no: 7, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
188
215
  { no: 8, name: "draining", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
216
+ { no: 9, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
189
217
  ],
190
218
  );
191
219
 
@@ -270,6 +298,7 @@ export const DeployAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
270
298
  { no: 4, name: "replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
271
299
  { no: 5, name: "max_replicas", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
272
300
  { no: 6, name: "cpu_req", kind: "scalar", T: 9 /* ScalarType.STRING */ },
301
+ { no: 7, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
273
302
  ],
274
303
  );
275
304
 
@@ -285,6 +314,34 @@ export const DeployAgentResponse = /*@__PURE__*/ proto3.makeMessageType(
285
314
  { no: 4, name: "presigned_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
286
315
  { no: 5, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
287
316
  { no: 6, name: "presigned_post_request", kind: "message", T: PresignedPostRequest },
317
+ { no: 7, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
318
+ ],
319
+ );
320
+
321
+ /**
322
+ * @generated from message livekit.DeployAgentV2Request
323
+ */
324
+ export const DeployAgentV2Request = /*@__PURE__*/ proto3.makeMessageType(
325
+ "livekit.DeployAgentV2Request",
326
+ () => [
327
+ { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
328
+ { no: 2, name: "secrets", kind: "message", T: AgentSecret, repeated: true },
329
+ { no: 3, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
330
+ ],
331
+ );
332
+
333
+ /**
334
+ * @generated from message livekit.DeployAgentV2Response
335
+ */
336
+ export const DeployAgentV2Response = /*@__PURE__*/ proto3.makeMessageType(
337
+ "livekit.DeployAgentV2Response",
338
+ () => [
339
+ { no: 1, name: "success", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
340
+ { no: 2, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
341
+ { no: 3, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
342
+ { no: 4, name: "tag", kind: "scalar", T: 9 /* ScalarType.STRING */ },
343
+ { no: 5, name: "presigned_req", kind: "message", T: PresignedPostRequest },
344
+ { no: 6, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
288
345
  ],
289
346
  );
290
347
 
@@ -344,6 +401,7 @@ export const DeleteAgentRequest = /*@__PURE__*/ proto3.makeMessageType(
344
401
  () => [
345
402
  { no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
346
403
  { no: 2, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
404
+ { no: 3, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
347
405
  ],
348
406
  );
349
407
 
@@ -2434,6 +2434,14 @@ export declare class ClientInfo extends Message<ClientInfo> {
2434
2434
  */
2435
2435
  clientProtocol: number;
2436
2436
 
2437
+ /**
2438
+ * capabilities the client advertises. Populated automatically by each SDK;
2439
+ * not a user-configurable setting.
2440
+ *
2441
+ * @generated from field: repeated livekit.ClientInfo.Capability capabilities = 13;
2442
+ */
2443
+ capabilities: ClientInfo_Capability[];
2444
+
2437
2445
  constructor(data?: PartialMessage<ClientInfo>);
2438
2446
 
2439
2447
  static readonly runtime: typeof proto3;
@@ -2529,6 +2537,26 @@ export declare enum ClientInfo_SDK {
2529
2537
  ESP32 = 14,
2530
2538
  }
2531
2539
 
2540
+ /**
2541
+ * Optional capabilities advertised by the client at connect time. The SFU
2542
+ * uses these flags to decide whether to enable features that require
2543
+ * client-side support (e.g. passing RTP packet trailers through to the
2544
+ * subscriber instead of stripping them).
2545
+ *
2546
+ * @generated from enum livekit.ClientInfo.Capability
2547
+ */
2548
+ export declare enum ClientInfo_Capability {
2549
+ /**
2550
+ * @generated from enum value: CAP_UNUSED = 0;
2551
+ */
2552
+ CAP_UNUSED = 0,
2553
+
2554
+ /**
2555
+ * @generated from enum value: CAP_PACKET_TRAILER = 1;
2556
+ */
2557
+ CAP_PACKET_TRAILER = 1,
2558
+ }
2559
+
2532
2560
  /**
2533
2561
  * server provided client configuration
2534
2562
  *
@@ -803,6 +803,7 @@ export const ClientInfo = /*@__PURE__*/ proto3.makeMessageType(
803
803
  { no: 10, name: "network", kind: "scalar", T: 9 /* ScalarType.STRING */ },
804
804
  { no: 11, name: "other_sdks", kind: "scalar", T: 9 /* ScalarType.STRING */ },
805
805
  { no: 12, name: "client_protocol", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
806
+ { no: 13, name: "capabilities", kind: "enum", T: proto3.getEnumType(ClientInfo_Capability), repeated: true },
806
807
  ],
807
808
  );
808
809
 
@@ -830,6 +831,22 @@ export const ClientInfo_SDK = /*@__PURE__*/ proto3.makeEnum(
830
831
  ],
831
832
  );
832
833
 
834
+ /**
835
+ * Optional capabilities advertised by the client at connect time. The SFU
836
+ * uses these flags to decide whether to enable features that require
837
+ * client-side support (e.g. passing RTP packet trailers through to the
838
+ * subscriber instead of stripping them).
839
+ *
840
+ * @generated from enum livekit.ClientInfo.Capability
841
+ */
842
+ export const ClientInfo_Capability = /*@__PURE__*/ proto3.makeEnum(
843
+ "livekit.ClientInfo.Capability",
844
+ [
845
+ {no: 0, name: "CAP_UNUSED"},
846
+ {no: 1, name: "CAP_PACKET_TRAILER"},
847
+ ],
848
+ );
849
+
833
850
  /**
834
851
  * server provided client configuration
835
852
  *
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.45.4';
2
+ export const version = '1.45.5';