@livekit/protocol 1.49.0 → 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 +36 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +57 -1
- package/dist/index.d.mts +57 -1
- package/dist/index.d.ts +57 -1
- package/dist/index.mjs +36 -5
- 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_connector_whatsapp_pb.d.ts +7 -0
- package/src/gen/livekit_connector_whatsapp_pb.js +1 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -210,6 +210,16 @@ export declare class MetricsReport extends Message<MetricsReport> {
|
|
|
210
210
|
*/
|
|
211
211
|
e2eLatency?: number;
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* @generated from field: optional double llm_node_tps = 9;
|
|
215
|
+
*/
|
|
216
|
+
llmNodeTps?: number;
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: optional double llm_node_ttfs = 10;
|
|
220
|
+
*/
|
|
221
|
+
llmNodeTtfs?: number;
|
|
222
|
+
|
|
213
223
|
constructor(data?: PartialMessage<MetricsReport>);
|
|
214
224
|
|
|
215
225
|
static readonly runtime: typeof proto3;
|
|
@@ -1062,6 +1072,12 @@ export declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
1062
1072
|
*/
|
|
1063
1073
|
value: AgentSessionEvent_ToolExecutionUpdated;
|
|
1064
1074
|
case: "toolExecutionUpdated";
|
|
1075
|
+
} | {
|
|
1076
|
+
/**
|
|
1077
|
+
* @generated from field: livekit.agent.AgentSessionEvent.AgentFalseInterruption agent_false_interruption = 23;
|
|
1078
|
+
*/
|
|
1079
|
+
value: AgentSessionEvent_AgentFalseInterruption;
|
|
1080
|
+
case: "agentFalseInterruption";
|
|
1065
1081
|
} | { case: undefined; value?: undefined };
|
|
1066
1082
|
|
|
1067
1083
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1617,6 +1633,32 @@ export declare class AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated extends
|
|
|
1617
1633
|
static equals(a: AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated> | undefined, b: AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated> | undefined): boolean;
|
|
1618
1634
|
}
|
|
1619
1635
|
|
|
1636
|
+
/**
|
|
1637
|
+
* @generated from message livekit.agent.AgentSessionEvent.AgentFalseInterruption
|
|
1638
|
+
*/
|
|
1639
|
+
export declare class AgentSessionEvent_AgentFalseInterruption extends Message<AgentSessionEvent_AgentFalseInterruption> {
|
|
1640
|
+
/**
|
|
1641
|
+
* Agent paused its own speech for what turned out not to be a real interruption (a backchannel, brief noise, etc.).
|
|
1642
|
+
*
|
|
1643
|
+
* @generated from field: bool resumed = 1;
|
|
1644
|
+
*/
|
|
1645
|
+
resumed: boolean;
|
|
1646
|
+
|
|
1647
|
+
constructor(data?: PartialMessage<AgentSessionEvent_AgentFalseInterruption>);
|
|
1648
|
+
|
|
1649
|
+
static readonly runtime: typeof proto3;
|
|
1650
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.AgentFalseInterruption";
|
|
1651
|
+
static readonly fields: FieldList;
|
|
1652
|
+
|
|
1653
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_AgentFalseInterruption;
|
|
1654
|
+
|
|
1655
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_AgentFalseInterruption;
|
|
1656
|
+
|
|
1657
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_AgentFalseInterruption;
|
|
1658
|
+
|
|
1659
|
+
static equals(a: AgentSessionEvent_AgentFalseInterruption | PlainMessage<AgentSessionEvent_AgentFalseInterruption> | undefined, b: AgentSessionEvent_AgentFalseInterruption | PlainMessage<AgentSessionEvent_AgentFalseInterruption> | undefined): boolean;
|
|
1660
|
+
}
|
|
1661
|
+
|
|
1620
1662
|
/**
|
|
1621
1663
|
* @generated from message livekit.agent.SessionRequest
|
|
1622
1664
|
*/
|
|
@@ -99,6 +99,8 @@ export const MetricsReport = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
99
99
|
{ no: 6, name: "llm_node_ttft", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
100
100
|
{ no: 7, name: "tts_node_ttfb", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
101
101
|
{ no: 8, name: "e2e_latency", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
102
|
+
{ no: 9, name: "llm_node_tps", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
103
|
+
{ no: 10, name: "llm_node_ttfs", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
102
104
|
],
|
|
103
105
|
);
|
|
104
106
|
|
|
@@ -359,6 +361,7 @@ export const AgentSessionEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
359
361
|
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
|
|
360
362
|
{ no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" },
|
|
361
363
|
{ no: 22, name: "tool_execution_updated", kind: "message", T: AgentSessionEvent_ToolExecutionUpdated, oneof: "event" },
|
|
364
|
+
{ no: 23, name: "agent_false_interruption", kind: "message", T: AgentSessionEvent_AgentFalseInterruption, oneof: "event" },
|
|
362
365
|
],
|
|
363
366
|
);
|
|
364
367
|
|
|
@@ -571,6 +574,17 @@ export const AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated = /*@__PURE__*/
|
|
|
571
574
|
{localName: "AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated"},
|
|
572
575
|
);
|
|
573
576
|
|
|
577
|
+
/**
|
|
578
|
+
* @generated from message livekit.agent.AgentSessionEvent.AgentFalseInterruption
|
|
579
|
+
*/
|
|
580
|
+
export const AgentSessionEvent_AgentFalseInterruption = /*@__PURE__*/ proto3.makeMessageType(
|
|
581
|
+
"livekit.agent.AgentSessionEvent.AgentFalseInterruption",
|
|
582
|
+
() => [
|
|
583
|
+
{ no: 1, name: "resumed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
584
|
+
],
|
|
585
|
+
{localName: "AgentSessionEvent_AgentFalseInterruption"},
|
|
586
|
+
);
|
|
587
|
+
|
|
574
588
|
/**
|
|
575
589
|
* @generated from message livekit.agent.SessionRequest
|
|
576
590
|
*/
|
|
@@ -146,6 +146,11 @@ export declare class Job extends Message<Job> {
|
|
|
146
146
|
*/
|
|
147
147
|
attributes: { [key: string]: string };
|
|
148
148
|
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: bool enable_redaction = 13;
|
|
151
|
+
*/
|
|
152
|
+
enableRedaction: boolean;
|
|
153
|
+
|
|
149
154
|
constructor(data?: PartialMessage<Job>);
|
|
150
155
|
|
|
151
156
|
static readonly runtime: typeof proto3;
|
|
@@ -74,6 +74,7 @@ export const Job = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
74
74
|
{ no: 10, name: "enable_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
75
75
|
{ no: 11, name: "deployment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
76
76
|
{ no: 12, name: "attributes", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
|
|
77
|
+
{ no: 13, name: "enable_redaction", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
77
78
|
],
|
|
78
79
|
);
|
|
79
80
|
|