@livekit/protocol 1.48.2 → 1.50.0
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 +44 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +62 -1
- package/dist/index.d.mts +62 -1
- package/dist/index.d.ts +62 -1
- package/dist/index.mjs +44 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +42 -0
- package/src/gen/agent/livekit_agent_session_pb.js +14 -0
- package/src/gen/livekit_agent_pb.d.ts +5 -0
- package/src/gen/livekit_agent_pb.js +1 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +651 -6
- package/src/gen/livekit_agent_simulation_pb.js +170 -2
- package/src/gen/livekit_cloud_agent_pb.d.ts +10 -0
- package/src/gen/livekit_cloud_agent_pb.js +2 -0
- package/src/gen/livekit_connector_whatsapp_pb.d.ts +7 -0
- package/src/gen/livekit_connector_whatsapp_pb.js +1 -0
- package/src/gen/livekit_metrics_pb.d.ts +5 -0
- package/src/gen/livekit_metrics_pb.js +1 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -68,7 +68,9 @@ const MetricsReport = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
68
68
|
{ no: 5, name: "on_user_turn_completed_delay", kind: "scalar", T: 1, opt: true },
|
|
69
69
|
{ no: 6, name: "llm_node_ttft", kind: "scalar", T: 1, opt: true },
|
|
70
70
|
{ no: 7, name: "tts_node_ttfb", kind: "scalar", T: 1, opt: true },
|
|
71
|
-
{ no: 8, name: "e2e_latency", kind: "scalar", T: 1, opt: true }
|
|
71
|
+
{ no: 8, name: "e2e_latency", kind: "scalar", T: 1, opt: true },
|
|
72
|
+
{ no: 9, name: "llm_node_tps", kind: "scalar", T: 1, opt: true },
|
|
73
|
+
{ no: 10, name: "llm_node_ttfs", kind: "scalar", T: 1, opt: true }
|
|
72
74
|
]
|
|
73
75
|
);
|
|
74
76
|
const TimedString = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -533,7 +535,8 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
533
535
|
{ no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
|
|
534
536
|
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
|
|
535
537
|
{ no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" },
|
|
536
|
-
{ no: 22, name: "tool_execution_updated", kind: "message", T: AgentSessionEvent_ToolExecutionUpdated, oneof: "event" }
|
|
538
|
+
{ no: 22, name: "tool_execution_updated", kind: "message", T: AgentSessionEvent_ToolExecutionUpdated, oneof: "event" },
|
|
539
|
+
{ no: 23, name: "agent_false_interruption", kind: "message", T: AgentSessionEvent_AgentFalseInterruption, oneof: "event" }
|
|
537
540
|
]
|
|
538
541
|
);
|
|
539
542
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -763,6 +766,19 @@ const AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated = /* @__PURE__ */ prot
|
|
|
763
766
|
],
|
|
764
767
|
{ localName: "AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated" }
|
|
765
768
|
);
|
|
769
|
+
const AgentSessionEvent_AgentFalseInterruption = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
770
|
+
"livekit.agent.AgentSessionEvent.AgentFalseInterruption",
|
|
771
|
+
() => [
|
|
772
|
+
{
|
|
773
|
+
no: 1,
|
|
774
|
+
name: "resumed",
|
|
775
|
+
kind: "scalar",
|
|
776
|
+
T: 8
|
|
777
|
+
/* ScalarType.BOOL */
|
|
778
|
+
}
|
|
779
|
+
],
|
|
780
|
+
{ localName: "AgentSessionEvent_AgentFalseInterruption" }
|
|
781
|
+
);
|
|
766
782
|
const SessionRequest = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
767
783
|
"livekit.agent.SessionRequest",
|
|
768
784
|
() => [
|
|
@@ -1098,6 +1114,7 @@ const livekit_agent_session_pb = {
|
|
|
1098
1114
|
AgentConfigUpdate: AgentConfigUpdate,
|
|
1099
1115
|
AgentHandoff: AgentHandoff,
|
|
1100
1116
|
AgentSessionEvent: AgentSessionEvent,
|
|
1117
|
+
AgentSessionEvent_AgentFalseInterruption: AgentSessionEvent_AgentFalseInterruption,
|
|
1101
1118
|
AgentSessionEvent_AgentStateChanged: AgentSessionEvent_AgentStateChanged,
|
|
1102
1119
|
AgentSessionEvent_AmdPrediction: AgentSessionEvent_AmdPrediction,
|
|
1103
1120
|
AgentSessionEvent_ConversationItemAdded: AgentSessionEvent_ConversationItemAdded,
|
|
@@ -1961,7 +1978,14 @@ const MetricsRecordingHeader = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
1961
1978
|
T: 9
|
|
1962
1979
|
/* ScalarType.STRING */
|
|
1963
1980
|
},
|
|
1964
|
-
{ no: 7, name: "room_start_time", kind: "message", T: protobuf.Timestamp }
|
|
1981
|
+
{ no: 7, name: "room_start_time", kind: "message", T: protobuf.Timestamp },
|
|
1982
|
+
{
|
|
1983
|
+
no: 8,
|
|
1984
|
+
name: "job_id",
|
|
1985
|
+
kind: "scalar",
|
|
1986
|
+
T: 9
|
|
1987
|
+
/* ScalarType.STRING */
|
|
1988
|
+
}
|
|
1965
1989
|
]
|
|
1966
1990
|
);
|
|
1967
1991
|
|
|
@@ -4228,7 +4252,14 @@ const Job = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
4228
4252
|
kind: "scalar",
|
|
4229
4253
|
T: 9
|
|
4230
4254
|
/* ScalarType.STRING */
|
|
4231
|
-
} }
|
|
4255
|
+
} },
|
|
4256
|
+
{
|
|
4257
|
+
no: 13,
|
|
4258
|
+
name: "enable_redaction",
|
|
4259
|
+
kind: "scalar",
|
|
4260
|
+
T: 8
|
|
4261
|
+
/* ScalarType.BOOL */
|
|
4262
|
+
}
|
|
4232
4263
|
]
|
|
4233
4264
|
);
|
|
4234
4265
|
const JobState = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -10877,7 +10908,14 @@ const ConnectWhatsAppCallRequest = /* @__PURE__ */ protobuf.proto3.makeMessageTy
|
|
|
10877
10908
|
T: 9
|
|
10878
10909
|
/* ScalarType.STRING */
|
|
10879
10910
|
},
|
|
10880
|
-
{ no: 2, name: "sdp", kind: "message", T: SessionDescription }
|
|
10911
|
+
{ no: 2, name: "sdp", kind: "message", T: SessionDescription },
|
|
10912
|
+
{
|
|
10913
|
+
no: 3,
|
|
10914
|
+
name: "wait_until_answered",
|
|
10915
|
+
kind: "scalar",
|
|
10916
|
+
T: 8
|
|
10917
|
+
/* ScalarType.BOOL */
|
|
10918
|
+
}
|
|
10881
10919
|
]
|
|
10882
10920
|
);
|
|
10883
10921
|
const ConnectWhatsAppCallResponse = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -11074,7 +11112,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
11074
11112
|
]
|
|
11075
11113
|
);
|
|
11076
11114
|
|
|
11077
|
-
const version = "1.
|
|
11115
|
+
const version = "1.50.0";
|
|
11078
11116
|
|
|
11079
11117
|
exports.Timestamp = protobuf.Timestamp;
|
|
11080
11118
|
exports.protoInt64 = protobuf.protoInt64;
|