@livekit/protocol 1.45.4 → 1.45.6
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/index.cjs +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +29 -1
- package/dist/index.d.mts +29 -1
- package/dist/index.d.ts +29 -1
- package/dist/index.mjs +11 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_inference_pb.d.ts +996 -0
- package/src/gen/agent/livekit_agent_inference_pb.js +358 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +5 -0
- package/src/gen/livekit_agent_simulation_pb.js +1 -0
- package/src/gen/livekit_cloud_agent_pb.d.ts +190 -1
- package/src/gen/livekit_cloud_agent_pb.js +58 -0
- package/src/gen/livekit_models_pb.d.ts +28 -0
- package/src/gen/livekit_models_pb.js +17 -0
- package/src/gen/version.js +1 -1
|
@@ -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
|
*
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.45.
|
|
2
|
+
export const version = '1.45.6';
|