@livekit/protocol 1.45.2 → 1.45.3
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 +32 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +65 -1
- package/dist/index.d.mts +65 -1
- package/dist/index.d.ts +65 -1
- package/dist/index.mjs +32 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +60 -0
- package/src/gen/agent/livekit_agent_session_pb.js +23 -0
- package/src/gen/livekit_internal_pb.d.ts +5 -0
- package/src/gen/livekit_internal_pb.js +1 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -1134,6 +1134,12 @@ export declare class SessionRequest extends Message<SessionRequest> {
|
|
|
1134
1134
|
*/
|
|
1135
1135
|
value: SessionRequest_GetSessionUsage;
|
|
1136
1136
|
case: "getSessionUsage";
|
|
1137
|
+
} | {
|
|
1138
|
+
/**
|
|
1139
|
+
* @generated from field: livekit.agent.SessionRequest.GetFrameworkInfo get_framework_info = 10;
|
|
1140
|
+
*/
|
|
1141
|
+
value: SessionRequest_GetFrameworkInfo;
|
|
1142
|
+
case: "getFrameworkInfo";
|
|
1137
1143
|
} | { case: undefined; value?: undefined };
|
|
1138
1144
|
|
|
1139
1145
|
constructor(data?: PartialMessage<SessionRequest>);
|
|
@@ -1289,6 +1295,25 @@ export declare class SessionRequest_GetSessionUsage extends Message<SessionReque
|
|
|
1289
1295
|
static equals(a: SessionRequest_GetSessionUsage | PlainMessage<SessionRequest_GetSessionUsage> | undefined, b: SessionRequest_GetSessionUsage | PlainMessage<SessionRequest_GetSessionUsage> | undefined): boolean;
|
|
1290
1296
|
}
|
|
1291
1297
|
|
|
1298
|
+
/**
|
|
1299
|
+
* @generated from message livekit.agent.SessionRequest.GetFrameworkInfo
|
|
1300
|
+
*/
|
|
1301
|
+
export declare class SessionRequest_GetFrameworkInfo extends Message<SessionRequest_GetFrameworkInfo> {
|
|
1302
|
+
constructor(data?: PartialMessage<SessionRequest_GetFrameworkInfo>);
|
|
1303
|
+
|
|
1304
|
+
static readonly runtime: typeof proto3;
|
|
1305
|
+
static readonly typeName = "livekit.agent.SessionRequest.GetFrameworkInfo";
|
|
1306
|
+
static readonly fields: FieldList;
|
|
1307
|
+
|
|
1308
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_GetFrameworkInfo;
|
|
1309
|
+
|
|
1310
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_GetFrameworkInfo;
|
|
1311
|
+
|
|
1312
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_GetFrameworkInfo;
|
|
1313
|
+
|
|
1314
|
+
static equals(a: SessionRequest_GetFrameworkInfo | PlainMessage<SessionRequest_GetFrameworkInfo> | undefined, b: SessionRequest_GetFrameworkInfo | PlainMessage<SessionRequest_GetFrameworkInfo> | undefined): boolean;
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1292
1317
|
/**
|
|
1293
1318
|
* @generated from message livekit.agent.SessionResponse
|
|
1294
1319
|
*/
|
|
@@ -1348,6 +1373,12 @@ export declare class SessionResponse extends Message<SessionResponse> {
|
|
|
1348
1373
|
*/
|
|
1349
1374
|
value: SessionResponse_GetSessionUsageResponse;
|
|
1350
1375
|
case: "getSessionUsage";
|
|
1376
|
+
} | {
|
|
1377
|
+
/**
|
|
1378
|
+
* @generated from field: livekit.agent.SessionResponse.GetFrameworkInfoResponse get_framework_info = 11;
|
|
1379
|
+
*/
|
|
1380
|
+
value: SessionResponse_GetFrameworkInfoResponse;
|
|
1381
|
+
case: "getFrameworkInfo";
|
|
1351
1382
|
} | { case: undefined; value?: undefined };
|
|
1352
1383
|
|
|
1353
1384
|
constructor(data?: PartialMessage<SessionResponse>);
|
|
@@ -1573,6 +1604,35 @@ export declare class SessionResponse_GetSessionUsageResponse extends Message<Ses
|
|
|
1573
1604
|
static equals(a: SessionResponse_GetSessionUsageResponse | PlainMessage<SessionResponse_GetSessionUsageResponse> | undefined, b: SessionResponse_GetSessionUsageResponse | PlainMessage<SessionResponse_GetSessionUsageResponse> | undefined): boolean;
|
|
1574
1605
|
}
|
|
1575
1606
|
|
|
1607
|
+
/**
|
|
1608
|
+
* @generated from message livekit.agent.SessionResponse.GetFrameworkInfoResponse
|
|
1609
|
+
*/
|
|
1610
|
+
export declare class SessionResponse_GetFrameworkInfoResponse extends Message<SessionResponse_GetFrameworkInfoResponse> {
|
|
1611
|
+
/**
|
|
1612
|
+
* @generated from field: string sdk = 1;
|
|
1613
|
+
*/
|
|
1614
|
+
sdk: string;
|
|
1615
|
+
|
|
1616
|
+
/**
|
|
1617
|
+
* @generated from field: string sdk_version = 2;
|
|
1618
|
+
*/
|
|
1619
|
+
sdkVersion: string;
|
|
1620
|
+
|
|
1621
|
+
constructor(data?: PartialMessage<SessionResponse_GetFrameworkInfoResponse>);
|
|
1622
|
+
|
|
1623
|
+
static readonly runtime: typeof proto3;
|
|
1624
|
+
static readonly typeName = "livekit.agent.SessionResponse.GetFrameworkInfoResponse";
|
|
1625
|
+
static readonly fields: FieldList;
|
|
1626
|
+
|
|
1627
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_GetFrameworkInfoResponse;
|
|
1628
|
+
|
|
1629
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_GetFrameworkInfoResponse;
|
|
1630
|
+
|
|
1631
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_GetFrameworkInfoResponse;
|
|
1632
|
+
|
|
1633
|
+
static equals(a: SessionResponse_GetFrameworkInfoResponse | PlainMessage<SessionResponse_GetFrameworkInfoResponse> | undefined, b: SessionResponse_GetFrameworkInfoResponse | PlainMessage<SessionResponse_GetFrameworkInfoResponse> | undefined): boolean;
|
|
1634
|
+
}
|
|
1635
|
+
|
|
1576
1636
|
/**
|
|
1577
1637
|
* @generated from message livekit.agent.AgentSessionMessage
|
|
1578
1638
|
*/
|
|
@@ -385,6 +385,7 @@ export const SessionRequest = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
385
385
|
{ no: 7, name: "get_session_state", kind: "message", T: SessionRequest_GetSessionState, oneof: "request" },
|
|
386
386
|
{ no: 8, name: "get_rtc_stats", kind: "message", T: SessionRequest_GetRTCStats, oneof: "request" },
|
|
387
387
|
{ no: 9, name: "get_session_usage", kind: "message", T: SessionRequest_GetSessionUsage, oneof: "request" },
|
|
388
|
+
{ no: 10, name: "get_framework_info", kind: "message", T: SessionRequest_GetFrameworkInfo, oneof: "request" },
|
|
388
389
|
],
|
|
389
390
|
);
|
|
390
391
|
|
|
@@ -453,6 +454,15 @@ export const SessionRequest_GetSessionUsage = /*@__PURE__*/ proto3.makeMessageTy
|
|
|
453
454
|
{localName: "SessionRequest_GetSessionUsage"},
|
|
454
455
|
);
|
|
455
456
|
|
|
457
|
+
/**
|
|
458
|
+
* @generated from message livekit.agent.SessionRequest.GetFrameworkInfo
|
|
459
|
+
*/
|
|
460
|
+
export const SessionRequest_GetFrameworkInfo = /*@__PURE__*/ proto3.makeMessageType(
|
|
461
|
+
"livekit.agent.SessionRequest.GetFrameworkInfo",
|
|
462
|
+
[],
|
|
463
|
+
{localName: "SessionRequest_GetFrameworkInfo"},
|
|
464
|
+
);
|
|
465
|
+
|
|
456
466
|
/**
|
|
457
467
|
* @generated from message livekit.agent.SessionResponse
|
|
458
468
|
*/
|
|
@@ -468,6 +478,7 @@ export const SessionResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
468
478
|
{ no: 8, name: "get_session_state", kind: "message", T: SessionResponse_GetSessionStateResponse, oneof: "response" },
|
|
469
479
|
{ no: 9, name: "get_rtc_stats", kind: "message", T: SessionResponse_GetRTCStatsResponse, oneof: "response" },
|
|
470
480
|
{ no: 10, name: "get_session_usage", kind: "message", T: SessionResponse_GetSessionUsageResponse, oneof: "response" },
|
|
481
|
+
{ no: 11, name: "get_framework_info", kind: "message", T: SessionResponse_GetFrameworkInfoResponse, oneof: "response" },
|
|
471
482
|
],
|
|
472
483
|
);
|
|
473
484
|
|
|
@@ -555,6 +566,18 @@ export const SessionResponse_GetSessionUsageResponse = /*@__PURE__*/ proto3.make
|
|
|
555
566
|
{localName: "SessionResponse_GetSessionUsageResponse"},
|
|
556
567
|
);
|
|
557
568
|
|
|
569
|
+
/**
|
|
570
|
+
* @generated from message livekit.agent.SessionResponse.GetFrameworkInfoResponse
|
|
571
|
+
*/
|
|
572
|
+
export const SessionResponse_GetFrameworkInfoResponse = /*@__PURE__*/ proto3.makeMessageType(
|
|
573
|
+
"livekit.agent.SessionResponse.GetFrameworkInfoResponse",
|
|
574
|
+
() => [
|
|
575
|
+
{ no: 1, name: "sdk", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
576
|
+
{ no: 2, name: "sdk_version", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
577
|
+
],
|
|
578
|
+
{localName: "SessionResponse_GetFrameworkInfoResponse"},
|
|
579
|
+
);
|
|
580
|
+
|
|
558
581
|
/**
|
|
559
582
|
* @generated from message livekit.agent.AgentSessionMessage
|
|
560
583
|
*/
|
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.3';
|