@livekit/protocol 1.46.2 → 1.46.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 +17 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +41 -2
- package/dist/index.d.mts +41 -2
- package/dist/index.d.ts +41 -2
- package/dist/index.mjs +18 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +37 -0
- package/src/gen/agent/livekit_agent_session_pb.js +14 -0
- package/src/gen/version.js +1 -1
package/dist/index.cjs
CHANGED
|
@@ -493,6 +493,19 @@ const AgentSessionUsage = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
493
493
|
{ no: 1, name: "model_usage", kind: "message", T: ModelUsage, repeated: true }
|
|
494
494
|
]
|
|
495
495
|
);
|
|
496
|
+
const CustomEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
497
|
+
"livekit.agent.CustomEvent",
|
|
498
|
+
() => [
|
|
499
|
+
{
|
|
500
|
+
no: 1,
|
|
501
|
+
name: "type",
|
|
502
|
+
kind: "scalar",
|
|
503
|
+
T: 9
|
|
504
|
+
/* ScalarType.STRING */
|
|
505
|
+
},
|
|
506
|
+
{ no: 2, name: "payload", kind: "message", T: protobuf.Struct }
|
|
507
|
+
]
|
|
508
|
+
);
|
|
496
509
|
const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
497
510
|
"livekit.agent.AgentSessionEvent",
|
|
498
511
|
() => [
|
|
@@ -507,7 +520,8 @@ const AgentSessionEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
507
520
|
{ no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
|
|
508
521
|
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
|
|
509
522
|
{ no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
|
|
510
|
-
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" }
|
|
523
|
+
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
|
|
524
|
+
{ no: 21, name: "custom_event", kind: "message", T: CustomEvent, oneof: "event" }
|
|
511
525
|
]
|
|
512
526
|
);
|
|
513
527
|
const AgentSessionEvent_AgentStateChanged = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
@@ -967,6 +981,7 @@ const livekit_agent_session_pb = {
|
|
|
967
981
|
ChatMessage: ChatMessage$1,
|
|
968
982
|
ChatMessage_ChatContent: ChatMessage_ChatContent,
|
|
969
983
|
ChatRole: ChatRole,
|
|
984
|
+
CustomEvent: CustomEvent,
|
|
970
985
|
EotModelUsage: EotModelUsage,
|
|
971
986
|
FunctionCall: FunctionCall,
|
|
972
987
|
FunctionCallOutput: FunctionCallOutput,
|
|
@@ -10664,7 +10679,7 @@ const WebhookEvent = /* @__PURE__ */ protobuf.proto3.makeMessageType(
|
|
|
10664
10679
|
]
|
|
10665
10680
|
);
|
|
10666
10681
|
|
|
10667
|
-
const version = "1.46.
|
|
10682
|
+
const version = "1.46.3";
|
|
10668
10683
|
|
|
10669
10684
|
exports.Timestamp = protobuf.Timestamp;
|
|
10670
10685
|
exports.protoInt64 = protobuf.protoInt64;
|