@livekit/protocol 1.45.6 → 1.45.7
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 +78 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +116 -2
- package/dist/index.d.mts +116 -2
- package/dist/index.d.ts +116 -2
- package/dist/index.mjs +79 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +86 -1
- package/src/gen/agent/livekit_agent_session_pb.js +32 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +15 -0
- package/src/gen/livekit_agent_dispatch_pb.js +3 -0
- package/src/gen/livekit_agent_pb.d.ts +10 -0
- package/src/gen/livekit_agent_pb.js +2 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -29,6 +29,17 @@ const UserState = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
|
29
29
|
{ no: 2, name: "US_AWAY" }
|
|
30
30
|
]
|
|
31
31
|
);
|
|
32
|
+
const AmdCategory = /* @__PURE__ */ protobuf.proto3.makeEnum(
|
|
33
|
+
"livekit.agent.AmdCategory",
|
|
34
|
+
[
|
|
35
|
+
{ no: 0, name: "AMD_UNKNOWN" },
|
|
36
|
+
{ no: 1, name: "AMD_HUMAN" },
|
|
37
|
+
{ no: 2, name: "AMD_MACHINE_IVR" },
|
|
38
|
+
{ no: 3, name: "AMD_MACHINE_VM" },
|
|
39
|
+
{ no: 4, name: "AMD_MACHINE_UNAVAILABLE" },
|
|
40
|
+
{ no: 5, name: "AMD_UNCERTAIN" }
|
|
41
|
+
]
|
|
42
|
+
);
|
|
32
43
|
const MetricsReport = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
33
44
|
"livekit.agent.MetricsReport",
|
|
34
45
|
() => [
|
|
@@ -466,7 +477,8 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
466
477
|
{ no: 14, name: "function_tools_executed", kind: "message", T: AgentSessionEvent_FunctionToolsExecuted, oneof: "event" },
|
|
467
478
|
{ no: 15, name: "error", kind: "message", T: AgentSessionEvent_Error, oneof: "event" },
|
|
468
479
|
{ no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
|
|
469
|
-
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" }
|
|
480
|
+
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
|
|
481
|
+
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" }
|
|
470
482
|
]
|
|
471
483
|
);
|
|
472
484
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -556,6 +568,29 @@ const AgentSessionEvent_OverlappingSpeech = /* @__PURE__ */ protobuf.proto3.make
|
|
|
556
568
|
],
|
|
557
569
|
{ localName: "AgentSessionEvent_OverlappingSpeech" }
|
|
558
570
|
);
|
|
571
|
+
const AgentSessionEvent_AmdPrediction = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
572
|
+
"livekit.agent.AgentSessionEvent.AmdPrediction",
|
|
573
|
+
() => [
|
|
574
|
+
{ no: 1, name: "speech_duration", kind: "message", T: protobuf.Duration },
|
|
575
|
+
{ no: 2, name: "category", kind: "enum", T: protobuf.proto3.getEnumType(AmdCategory) },
|
|
576
|
+
{
|
|
577
|
+
no: 3,
|
|
578
|
+
name: "reason",
|
|
579
|
+
kind: "scalar",
|
|
580
|
+
T: 9
|
|
581
|
+
/* ScalarType.STRING */
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
no: 4,
|
|
585
|
+
name: "transcript",
|
|
586
|
+
kind: "scalar",
|
|
587
|
+
T: 9
|
|
588
|
+
/* ScalarType.STRING */
|
|
589
|
+
},
|
|
590
|
+
{ no: 5, name: "delay", kind: "message", T: protobuf.Duration }
|
|
591
|
+
],
|
|
592
|
+
{ localName: "AgentSessionEvent_AmdPrediction" }
|
|
593
|
+
);
|
|
559
594
|
const AgentSessionEvent_SessionUsageUpdated = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
560
595
|
"livekit.agent.AgentSessionEvent.SessionUsageUpdated",
|
|
561
596
|
() => [
|
|
@@ -818,6 +853,7 @@ const livekit_agent_session_pb = {
|
|
|
818
853
|
AgentHandoff: AgentHandoff,
|
|
819
854
|
AgentSessionEvent: AgentSessionEvent,
|
|
820
855
|
AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
|
|
856
|
+
AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
|
|
821
857
|
AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
|
|
822
858
|
AgentSessionEvent_Error: AgentSessionEvent_Error,
|
|
823
859
|
AgentSessionEvent_FunctionToolsExecuted: AgentSessionEvent_FunctionToolsExecuted,
|
|
@@ -833,6 +869,7 @@ const livekit_agent_session_pb = {
|
|
|
833
869
|
AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush,
|
|
834
870
|
AgentSessionUsage: AgentSessionUsage,
|
|
835
871
|
AgentState: AgentState,
|
|
872
|
+
AmdCategory: AmdCategory,
|
|
836
873
|
ChatContext: ChatContext,
|
|
837
874
|
ChatContext_ChatItem: ChatContext_ChatItem,
|
|
838
875
|
ChatMessage: ChatMessage$1,
|
|
@@ -3212,6 +3249,13 @@ const Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3212
3249
|
kind: "scalar",
|
|
3213
3250
|
T: 8
|
|
3214
3251
|
/* ScalarType.BOOL */
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
no: 11,
|
|
3255
|
+
name: "environment",
|
|
3256
|
+
kind: "scalar",
|
|
3257
|
+
T: 9
|
|
3258
|
+
/* ScalarType.STRING */
|
|
3215
3259
|
}
|
|
3216
3260
|
]
|
|
3217
3261
|
);
|
|
@@ -3357,7 +3401,14 @@ const RegisterWorkerRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3357
3401
|
/* ScalarType.UINT32 */
|
|
3358
3402
|
},
|
|
3359
3403
|
{ no: 6, name: "namespace", kind: "scalar", T: 9, opt: true },
|
|
3360
|
-
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission }
|
|
3404
|
+
{ no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
|
|
3405
|
+
{
|
|
3406
|
+
no: 9,
|
|
3407
|
+
name: "environment",
|
|
3408
|
+
kind: "scalar",
|
|
3409
|
+
T: 9
|
|
3410
|
+
/* ScalarType.STRING */
|
|
3411
|
+
}
|
|
3361
3412
|
]
|
|
3362
3413
|
);
|
|
3363
3414
|
const RegisterWorkerResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -3549,7 +3600,14 @@ const CreateAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
3549
3600
|
T: 9
|
|
3550
3601
|
/* ScalarType.STRING */
|
|
3551
3602
|
},
|
|
3552
|
-
{ no: 4, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
|
|
3603
|
+
{ no: 4, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) },
|
|
3604
|
+
{
|
|
3605
|
+
no: 5,
|
|
3606
|
+
name: "environment",
|
|
3607
|
+
kind: "scalar",
|
|
3608
|
+
T: 9
|
|
3609
|
+
/* ScalarType.STRING */
|
|
3610
|
+
}
|
|
3553
3611
|
]
|
|
3554
3612
|
);
|
|
3555
3613
|
const RoomAgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -3569,7 +3627,14 @@ const RoomAgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3569
3627
|
T: 9
|
|
3570
3628
|
/* ScalarType.STRING */
|
|
3571
3629
|
},
|
|
3572
|
-
{ no: 3, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
|
|
3630
|
+
{ no: 3, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) },
|
|
3631
|
+
{
|
|
3632
|
+
no: 4,
|
|
3633
|
+
name: "environment",
|
|
3634
|
+
kind: "scalar",
|
|
3635
|
+
T: 9
|
|
3636
|
+
/* ScalarType.STRING */
|
|
3637
|
+
}
|
|
3573
3638
|
]
|
|
3574
3639
|
);
|
|
3575
3640
|
const DeleteAgentDispatchRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -3648,7 +3713,14 @@ const AgentDispatch = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
3648
3713
|
/* ScalarType.STRING */
|
|
3649
3714
|
},
|
|
3650
3715
|
{ no: 5, name: "state", kind: "message", T: AgentDispatchState },
|
|
3651
|
-
{ no: 6, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) }
|
|
3716
|
+
{ no: 6, name: "restart_policy", kind: "enum", T: protobuf.proto3.getEnumType(JobRestartPolicy) },
|
|
3717
|
+
{
|
|
3718
|
+
no: 7,
|
|
3719
|
+
name: "environment",
|
|
3720
|
+
kind: "scalar",
|
|
3721
|
+
T: 9
|
|
3722
|
+
/* ScalarType.STRING */
|
|
3723
|
+
}
|
|
3652
3724
|
]
|
|
3653
3725
|
);
|
|
3654
3726
|
const AgentDispatchState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -9853,7 +9925,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
9853
9925
|
]
|
|
9854
9926
|
);
|
|
9855
9927
|
|
|
9856
|
-
const version = "1.45.
|
|
9928
|
+
const version = "1.45.7";
|
|
9857
9929
|
|
|
9858
9930
|
exports.Timestamp = protobuf.Timestamp;
|
|
9859
9931
|
exports.protoInt64 = protobuf.protoInt64;
|