@livekit/protocol 1.46.0 → 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.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Struct, Any } from '@bufbuild/protobuf';
1
+ import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Struct, Duration, Any } from '@bufbuild/protobuf';
2
2
  export { Timestamp, protoInt64 } from '@bufbuild/protobuf';
3
3
 
4
4
  // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
@@ -897,6 +897,37 @@ declare class AgentSessionUsage extends Message<AgentSessionUsage> {
897
897
  static equals(a: AgentSessionUsage | PlainMessage<AgentSessionUsage> | undefined, b: AgentSessionUsage | PlainMessage<AgentSessionUsage> | undefined): boolean;
898
898
  }
899
899
 
900
+ /**
901
+ * Application-defined event carried over the remote session wire.
902
+ *
903
+ * @generated from message livekit.agent.CustomEvent
904
+ */
905
+ declare class CustomEvent extends Message<CustomEvent> {
906
+ /**
907
+ * @generated from field: string type = 1;
908
+ */
909
+ type: string;
910
+
911
+ /**
912
+ * @generated from field: google.protobuf.Struct payload = 2;
913
+ */
914
+ payload?: Struct;
915
+
916
+ constructor(data?: PartialMessage<CustomEvent>);
917
+
918
+ static readonly runtime: typeof proto3;
919
+ static readonly typeName = "livekit.agent.CustomEvent";
920
+ static readonly fields: FieldList;
921
+
922
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CustomEvent;
923
+
924
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CustomEvent;
925
+
926
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CustomEvent;
927
+
928
+ static equals(a: CustomEvent | PlainMessage<CustomEvent> | undefined, b: CustomEvent | PlainMessage<CustomEvent> | undefined): boolean;
929
+ }
930
+
900
931
  /**
901
932
  * @generated from message livekit.agent.AgentSessionEvent
902
933
  */
@@ -969,6 +1000,18 @@ declare class AgentSessionEvent extends Message<AgentSessionEvent> {
969
1000
  */
970
1001
  value: AgentSessionEvent_EotPrediction;
971
1002
  case: "eotPrediction";
1003
+ } | {
1004
+ /**
1005
+ * @generated from field: livekit.agent.AgentSessionEvent.FunctionToolsStarted function_tools_started = 20;
1006
+ */
1007
+ value: AgentSessionEvent_FunctionToolsStarted;
1008
+ case: "functionToolsStarted";
1009
+ } | {
1010
+ /**
1011
+ * @generated from field: livekit.agent.CustomEvent custom_event = 21;
1012
+ */
1013
+ value: CustomEvent;
1014
+ case: "customEvent";
972
1015
  } | { case: undefined; value?: undefined };
973
1016
 
974
1017
  constructor(data?: PartialMessage<AgentSessionEvent>);
@@ -1102,6 +1145,30 @@ declare class AgentSessionEvent_UserInputTranscribed extends Message<AgentSessio
1102
1145
  static equals(a: AgentSessionEvent_UserInputTranscribed | PlainMessage<AgentSessionEvent_UserInputTranscribed> | undefined, b: AgentSessionEvent_UserInputTranscribed | PlainMessage<AgentSessionEvent_UserInputTranscribed> | undefined): boolean;
1103
1146
  }
1104
1147
 
1148
+ /**
1149
+ * @generated from message livekit.agent.AgentSessionEvent.FunctionToolsStarted
1150
+ */
1151
+ declare class AgentSessionEvent_FunctionToolsStarted extends Message<AgentSessionEvent_FunctionToolsStarted> {
1152
+ /**
1153
+ * @generated from field: repeated livekit.agent.FunctionCall function_calls = 1;
1154
+ */
1155
+ functionCalls: FunctionCall[];
1156
+
1157
+ constructor(data?: PartialMessage<AgentSessionEvent_FunctionToolsStarted>);
1158
+
1159
+ static readonly runtime: typeof proto3;
1160
+ static readonly typeName = "livekit.agent.AgentSessionEvent.FunctionToolsStarted";
1161
+ static readonly fields: FieldList;
1162
+
1163
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_FunctionToolsStarted;
1164
+
1165
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_FunctionToolsStarted;
1166
+
1167
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_FunctionToolsStarted;
1168
+
1169
+ static equals(a: AgentSessionEvent_FunctionToolsStarted | PlainMessage<AgentSessionEvent_FunctionToolsStarted> | undefined, b: AgentSessionEvent_FunctionToolsStarted | PlainMessage<AgentSessionEvent_FunctionToolsStarted> | undefined): boolean;
1170
+ }
1171
+
1105
1172
  /**
1106
1173
  * @generated from message livekit.agent.AgentSessionEvent.FunctionToolsExecuted
1107
1174
  */
@@ -2088,202 +2155,1707 @@ declare class AgentSessionMessage_ConsoleIO_AudioFrame extends Message<AgentSess
2088
2155
  numChannels: number;
2089
2156
 
2090
2157
  /**
2091
- * @generated from field: uint32 samples_per_channel = 4;
2158
+ * @generated from field: uint32 samples_per_channel = 4;
2159
+ */
2160
+ samplesPerChannel: number;
2161
+
2162
+ constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioFrame>);
2163
+
2164
+ static readonly runtime: typeof proto3;
2165
+ static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame";
2166
+ static readonly fields: FieldList;
2167
+
2168
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
2169
+
2170
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
2171
+
2172
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
2173
+
2174
+ static equals(a: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined, b: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined): boolean;
2175
+ }
2176
+
2177
+ /**
2178
+ * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush
2179
+ */
2180
+ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFlush extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> {
2181
+ constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush>);
2182
+
2183
+ static readonly runtime: typeof proto3;
2184
+ static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush";
2185
+ static readonly fields: FieldList;
2186
+
2187
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2188
+
2189
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2190
+
2191
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2192
+
2193
+ static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined): boolean;
2194
+ }
2195
+
2196
+ /**
2197
+ * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear
2198
+ */
2199
+ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackClear extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> {
2200
+ constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear>);
2201
+
2202
+ static readonly runtime: typeof proto3;
2203
+ static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear";
2204
+ static readonly fields: FieldList;
2205
+
2206
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2207
+
2208
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2209
+
2210
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2211
+
2212
+ static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined): boolean;
2213
+ }
2214
+
2215
+ /**
2216
+ * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished
2217
+ */
2218
+ declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFinished extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> {
2219
+ constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished>);
2220
+
2221
+ static readonly runtime: typeof proto3;
2222
+ static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished";
2223
+ static readonly fields: FieldList;
2224
+
2225
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2226
+
2227
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2228
+
2229
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2230
+
2231
+ static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined): boolean;
2232
+ }
2233
+
2234
+ type livekit_agent_session_pb_d_AgentConfigUpdate = AgentConfigUpdate;
2235
+ declare const livekit_agent_session_pb_d_AgentConfigUpdate: typeof AgentConfigUpdate;
2236
+ type livekit_agent_session_pb_d_AgentHandoff = AgentHandoff;
2237
+ declare const livekit_agent_session_pb_d_AgentHandoff: typeof AgentHandoff;
2238
+ type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent;
2239
+ declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent;
2240
+ type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged;
2241
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged;
2242
+ type livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction = AgentSessionEvent_AmdPrediction;
2243
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction: typeof AgentSessionEvent_AmdPrediction;
2244
+ type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
2245
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
2246
+ type livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction = AgentSessionEvent_EotPrediction;
2247
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction: typeof AgentSessionEvent_EotPrediction;
2248
+ type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
2249
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_Error: typeof AgentSessionEvent_Error;
2250
+ type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted = AgentSessionEvent_FunctionToolsExecuted;
2251
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted: typeof AgentSessionEvent_FunctionToolsExecuted;
2252
+ type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsStarted = AgentSessionEvent_FunctionToolsStarted;
2253
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsStarted: typeof AgentSessionEvent_FunctionToolsStarted;
2254
+ type livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech = AgentSessionEvent_OverlappingSpeech;
2255
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech: typeof AgentSessionEvent_OverlappingSpeech;
2256
+ type livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated = AgentSessionEvent_SessionUsageUpdated;
2257
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated: typeof AgentSessionEvent_SessionUsageUpdated;
2258
+ type livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed = AgentSessionEvent_UserInputTranscribed;
2259
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed: typeof AgentSessionEvent_UserInputTranscribed;
2260
+ type livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged = AgentSessionEvent_UserStateChanged;
2261
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged: typeof AgentSessionEvent_UserStateChanged;
2262
+ type livekit_agent_session_pb_d_AgentSessionMessage = AgentSessionMessage;
2263
+ declare const livekit_agent_session_pb_d_AgentSessionMessage: typeof AgentSessionMessage;
2264
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO = AgentSessionMessage_ConsoleIO;
2265
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO: typeof AgentSessionMessage_ConsoleIO;
2266
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame = AgentSessionMessage_ConsoleIO_AudioFrame;
2267
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame: typeof AgentSessionMessage_ConsoleIO_AudioFrame;
2268
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear = AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2269
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2270
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished = AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2271
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2272
+ type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush = AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2273
+ declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2274
+ type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage;
2275
+ declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage;
2276
+ type livekit_agent_session_pb_d_AgentState = AgentState;
2277
+ declare const livekit_agent_session_pb_d_AgentState: typeof AgentState;
2278
+ type livekit_agent_session_pb_d_AmdCategory = AmdCategory;
2279
+ declare const livekit_agent_session_pb_d_AmdCategory: typeof AmdCategory;
2280
+ type livekit_agent_session_pb_d_ChatContext = ChatContext;
2281
+ declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
2282
+ type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
2283
+ declare const livekit_agent_session_pb_d_ChatContext_ChatItem: typeof ChatContext_ChatItem;
2284
+ type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatContent;
2285
+ declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent;
2286
+ type livekit_agent_session_pb_d_ChatRole = ChatRole;
2287
+ declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole;
2288
+ type livekit_agent_session_pb_d_CustomEvent = CustomEvent;
2289
+ declare const livekit_agent_session_pb_d_CustomEvent: typeof CustomEvent;
2290
+ type livekit_agent_session_pb_d_EotModelUsage = EotModelUsage;
2291
+ declare const livekit_agent_session_pb_d_EotModelUsage: typeof EotModelUsage;
2292
+ type livekit_agent_session_pb_d_FunctionCall = FunctionCall;
2293
+ declare const livekit_agent_session_pb_d_FunctionCall: typeof FunctionCall;
2294
+ type livekit_agent_session_pb_d_FunctionCallOutput = FunctionCallOutput;
2295
+ declare const livekit_agent_session_pb_d_FunctionCallOutput: typeof FunctionCallOutput;
2296
+ type livekit_agent_session_pb_d_InterruptionModelUsage = InterruptionModelUsage;
2297
+ declare const livekit_agent_session_pb_d_InterruptionModelUsage: typeof InterruptionModelUsage;
2298
+ type livekit_agent_session_pb_d_LLMModelUsage = LLMModelUsage;
2299
+ declare const livekit_agent_session_pb_d_LLMModelUsage: typeof LLMModelUsage;
2300
+ type livekit_agent_session_pb_d_MetricsReport = MetricsReport;
2301
+ declare const livekit_agent_session_pb_d_MetricsReport: typeof MetricsReport;
2302
+ type livekit_agent_session_pb_d_ModelUsage = ModelUsage;
2303
+ declare const livekit_agent_session_pb_d_ModelUsage: typeof ModelUsage;
2304
+ type livekit_agent_session_pb_d_STTModelUsage = STTModelUsage;
2305
+ declare const livekit_agent_session_pb_d_STTModelUsage: typeof STTModelUsage;
2306
+ type livekit_agent_session_pb_d_SessionRequest = SessionRequest;
2307
+ declare const livekit_agent_session_pb_d_SessionRequest: typeof SessionRequest;
2308
+ type livekit_agent_session_pb_d_SessionRequest_GetAgentInfo = SessionRequest_GetAgentInfo;
2309
+ declare const livekit_agent_session_pb_d_SessionRequest_GetAgentInfo: typeof SessionRequest_GetAgentInfo;
2310
+ type livekit_agent_session_pb_d_SessionRequest_GetChatHistory = SessionRequest_GetChatHistory;
2311
+ declare const livekit_agent_session_pb_d_SessionRequest_GetChatHistory: typeof SessionRequest_GetChatHistory;
2312
+ type livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo = SessionRequest_GetFrameworkInfo;
2313
+ declare const livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo: typeof SessionRequest_GetFrameworkInfo;
2314
+ type livekit_agent_session_pb_d_SessionRequest_GetRTCStats = SessionRequest_GetRTCStats;
2315
+ declare const livekit_agent_session_pb_d_SessionRequest_GetRTCStats: typeof SessionRequest_GetRTCStats;
2316
+ type livekit_agent_session_pb_d_SessionRequest_GetSessionState = SessionRequest_GetSessionState;
2317
+ declare const livekit_agent_session_pb_d_SessionRequest_GetSessionState: typeof SessionRequest_GetSessionState;
2318
+ type livekit_agent_session_pb_d_SessionRequest_GetSessionUsage = SessionRequest_GetSessionUsage;
2319
+ declare const livekit_agent_session_pb_d_SessionRequest_GetSessionUsage: typeof SessionRequest_GetSessionUsage;
2320
+ type livekit_agent_session_pb_d_SessionRequest_Ping = SessionRequest_Ping;
2321
+ declare const livekit_agent_session_pb_d_SessionRequest_Ping: typeof SessionRequest_Ping;
2322
+ type livekit_agent_session_pb_d_SessionRequest_RunInput = SessionRequest_RunInput;
2323
+ declare const livekit_agent_session_pb_d_SessionRequest_RunInput: typeof SessionRequest_RunInput;
2324
+ type livekit_agent_session_pb_d_SessionRequest_UpdateIO = SessionRequest_UpdateIO;
2325
+ declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO: typeof SessionRequest_UpdateIO;
2326
+ type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input = SessionRequest_UpdateIO_Input;
2327
+ declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input: typeof SessionRequest_UpdateIO_Input;
2328
+ type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output = SessionRequest_UpdateIO_Output;
2329
+ declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output: typeof SessionRequest_UpdateIO_Output;
2330
+ type livekit_agent_session_pb_d_SessionResponse = SessionResponse;
2331
+ declare const livekit_agent_session_pb_d_SessionResponse: typeof SessionResponse;
2332
+ type livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse = SessionResponse_GetAgentInfoResponse;
2333
+ declare const livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse: typeof SessionResponse_GetAgentInfoResponse;
2334
+ type livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse = SessionResponse_GetChatHistoryResponse;
2335
+ declare const livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse: typeof SessionResponse_GetChatHistoryResponse;
2336
+ type livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse = SessionResponse_GetFrameworkInfoResponse;
2337
+ declare const livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse: typeof SessionResponse_GetFrameworkInfoResponse;
2338
+ type livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse = SessionResponse_GetRTCStatsResponse;
2339
+ declare const livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse: typeof SessionResponse_GetRTCStatsResponse;
2340
+ type livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse = SessionResponse_GetSessionStateResponse;
2341
+ declare const livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse: typeof SessionResponse_GetSessionStateResponse;
2342
+ type livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse = SessionResponse_GetSessionUsageResponse;
2343
+ declare const livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse: typeof SessionResponse_GetSessionUsageResponse;
2344
+ type livekit_agent_session_pb_d_SessionResponse_Pong = SessionResponse_Pong;
2345
+ declare const livekit_agent_session_pb_d_SessionResponse_Pong: typeof SessionResponse_Pong;
2346
+ type livekit_agent_session_pb_d_SessionResponse_RunInputResponse = SessionResponse_RunInputResponse;
2347
+ declare const livekit_agent_session_pb_d_SessionResponse_RunInputResponse: typeof SessionResponse_RunInputResponse;
2348
+ type livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse = SessionResponse_UpdateIOResponse;
2349
+ declare const livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse: typeof SessionResponse_UpdateIOResponse;
2350
+ type livekit_agent_session_pb_d_TTSModelUsage = TTSModelUsage;
2351
+ declare const livekit_agent_session_pb_d_TTSModelUsage: typeof TTSModelUsage;
2352
+ type livekit_agent_session_pb_d_TimedString = TimedString;
2353
+ declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
2354
+ type livekit_agent_session_pb_d_UserState = UserState;
2355
+ declare const livekit_agent_session_pb_d_UserState: typeof UserState;
2356
+ declare namespace livekit_agent_session_pb_d {
2357
+ export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction as AgentSessionEvent_EotPrediction, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsStarted as AgentSessionEvent_FunctionToolsStarted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_CustomEvent as CustomEvent, livekit_agent_session_pb_d_EotModelUsage as EotModelUsage, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionRequest_UpdateIO as SessionRequest_UpdateIO, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input as SessionRequest_UpdateIO_Input, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output as SessionRequest_UpdateIO_Output, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse as SessionResponse_UpdateIOResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
2358
+ }
2359
+
2360
+ // Copyright 2026 LiveKit, Inc.
2361
+ //
2362
+ // Licensed under the Apache License, Version 2.0 (the "License");
2363
+ // you may not use this file except in compliance with the License.
2364
+ // You may obtain a copy of the License at
2365
+ //
2366
+ // http://www.apache.org/licenses/LICENSE-2.0
2367
+ //
2368
+ // Unless required by applicable law or agreed to in writing, software
2369
+ // distributed under the License is distributed on an "AS IS" BASIS,
2370
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
2371
+ // See the License for the specific language governing permissions and
2372
+ // limitations under the License.
2373
+
2374
+
2375
+
2376
+ /**
2377
+ * @generated from enum livekit.agent.AudioEncoding
2378
+ */
2379
+ declare enum AudioEncoding {
2380
+ /**
2381
+ * @generated from enum value: AUDIO_ENCODING_PCM_S16LE = 0;
2382
+ */
2383
+ PCM_S16LE = 0,
2384
+
2385
+ /**
2386
+ * @generated from enum value: AUDIO_ENCODING_OPUS = 1;
2387
+ */
2388
+ OPUS = 1,
2389
+ }
2390
+
2391
+ /**
2392
+ * @generated from message livekit.agent.SessionSettings
2393
+ */
2394
+ declare class SessionSettings extends Message<SessionSettings> {
2395
+ /**
2396
+ * @generated from field: uint32 sample_rate = 1;
2397
+ */
2398
+ sampleRate: number;
2399
+
2400
+ /**
2401
+ * @generated from field: livekit.agent.AudioEncoding encoding = 2;
2402
+ */
2403
+ encoding: AudioEncoding;
2404
+
2405
+ /**
2406
+ * @generated from oneof livekit.agent.SessionSettings.type_settings
2407
+ */
2408
+ typeSettings: {
2409
+ /**
2410
+ * @generated from field: livekit.agent.EotSettings eot_settings = 3;
2411
+ */
2412
+ value: EotSettings;
2413
+ case: "eotSettings";
2414
+ } | {
2415
+ /**
2416
+ * @generated from field: livekit.agent.InterruptionSettings interruption_settings = 4;
2417
+ */
2418
+ value: InterruptionSettings;
2419
+ case: "interruptionSettings";
2420
+ } | { case: undefined; value?: undefined };
2421
+
2422
+ constructor(data?: PartialMessage<SessionSettings>);
2423
+
2424
+ static readonly runtime: typeof proto3;
2425
+ static readonly typeName = "livekit.agent.SessionSettings";
2426
+ static readonly fields: FieldList;
2427
+
2428
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionSettings;
2429
+
2430
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionSettings;
2431
+
2432
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionSettings;
2433
+
2434
+ static equals(a: SessionSettings | PlainMessage<SessionSettings> | undefined, b: SessionSettings | PlainMessage<SessionSettings> | undefined): boolean;
2435
+ }
2436
+
2437
+ /**
2438
+ * @generated from message livekit.agent.InferenceError
2439
+ */
2440
+ declare class InferenceError extends Message<InferenceError> {
2441
+ /**
2442
+ * @generated from field: string message = 1;
2443
+ */
2444
+ message: string;
2445
+
2446
+ /**
2447
+ * error code follows the HTTP status code convention
2448
+ * 4xx for client errors
2449
+ * 5xx for server errors
2450
+ *
2451
+ * @generated from field: uint32 code = 2;
2452
+ */
2453
+ code: number;
2454
+
2455
+ constructor(data?: PartialMessage<InferenceError>);
2456
+
2457
+ static readonly runtime: typeof proto3;
2458
+ static readonly typeName = "livekit.agent.InferenceError";
2459
+ static readonly fields: FieldList;
2460
+
2461
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceError;
2462
+
2463
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceError;
2464
+
2465
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceError;
2466
+
2467
+ static equals(a: InferenceError | PlainMessage<InferenceError> | undefined, b: InferenceError | PlainMessage<InferenceError> | undefined): boolean;
2468
+ }
2469
+
2470
+ /**
2471
+ * @generated from message livekit.agent.EotSettings
2472
+ */
2473
+ declare class EotSettings extends Message<EotSettings> {
2474
+ /**
2475
+ * @generated from field: google.protobuf.Duration detection_interval = 1;
2476
+ */
2477
+ detectionInterval?: Duration;
2478
+
2479
+ constructor(data?: PartialMessage<EotSettings>);
2480
+
2481
+ static readonly runtime: typeof proto3;
2482
+ static readonly typeName = "livekit.agent.EotSettings";
2483
+ static readonly fields: FieldList;
2484
+
2485
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotSettings;
2486
+
2487
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotSettings;
2488
+
2489
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotSettings;
2490
+
2491
+ static equals(a: EotSettings | PlainMessage<EotSettings> | undefined, b: EotSettings | PlainMessage<EotSettings> | undefined): boolean;
2492
+ }
2493
+
2494
+ /**
2495
+ * @generated from message livekit.agent.InterruptionSettings
2496
+ */
2497
+ declare class InterruptionSettings extends Message<InterruptionSettings> {
2498
+ /**
2499
+ * detection threshold in range [0.0, 1.0]; higher values are less sensitive
2500
+ *
2501
+ * @generated from field: float threshold = 1;
2502
+ */
2503
+ threshold: number;
2504
+
2505
+ /**
2506
+ * minimum number of frames with probability greater than threshold to trigger an interruption
2507
+ *
2508
+ * @generated from field: uint32 min_frames = 2;
2509
+ */
2510
+ minFrames: number;
2511
+
2512
+ /**
2513
+ * @generated from field: google.protobuf.Duration max_audio_duration = 3;
2514
+ */
2515
+ maxAudioDuration?: Duration;
2516
+
2517
+ /**
2518
+ * @generated from field: google.protobuf.Duration audio_prefix_duration = 4;
2519
+ */
2520
+ audioPrefixDuration?: Duration;
2521
+
2522
+ /**
2523
+ * @generated from field: google.protobuf.Duration detection_interval = 5;
2524
+ */
2525
+ detectionInterval?: Duration;
2526
+
2527
+ constructor(data?: PartialMessage<InterruptionSettings>);
2528
+
2529
+ static readonly runtime: typeof proto3;
2530
+ static readonly typeName = "livekit.agent.InterruptionSettings";
2531
+ static readonly fields: FieldList;
2532
+
2533
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionSettings;
2534
+
2535
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionSettings;
2536
+
2537
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionSettings;
2538
+
2539
+ static equals(a: InterruptionSettings | PlainMessage<InterruptionSettings> | undefined, b: InterruptionSettings | PlainMessage<InterruptionSettings> | undefined): boolean;
2540
+ }
2541
+
2542
+ /**
2543
+ * @generated from message livekit.agent.SessionCreate
2544
+ */
2545
+ declare class SessionCreate extends Message<SessionCreate> {
2546
+ /**
2547
+ * @generated from field: livekit.agent.SessionSettings settings = 1;
2548
+ */
2549
+ settings?: SessionSettings;
2550
+
2551
+ constructor(data?: PartialMessage<SessionCreate>);
2552
+
2553
+ static readonly runtime: typeof proto3;
2554
+ static readonly typeName = "livekit.agent.SessionCreate";
2555
+ static readonly fields: FieldList;
2556
+
2557
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionCreate;
2558
+
2559
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionCreate;
2560
+
2561
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionCreate;
2562
+
2563
+ static equals(a: SessionCreate | PlainMessage<SessionCreate> | undefined, b: SessionCreate | PlainMessage<SessionCreate> | undefined): boolean;
2564
+ }
2565
+
2566
+ /**
2567
+ * @generated from message livekit.agent.InputAudio
2568
+ */
2569
+ declare class InputAudio extends Message<InputAudio> {
2570
+ /**
2571
+ * @generated from field: bytes audio = 1;
2572
+ */
2573
+ audio: Uint8Array;
2574
+
2575
+ /**
2576
+ * @generated from field: google.protobuf.Timestamp created_at = 2;
2577
+ */
2578
+ createdAt?: Timestamp;
2579
+
2580
+ /**
2581
+ * @generated from field: uint32 num_samples = 3;
2582
+ */
2583
+ numSamples: number;
2584
+
2585
+ constructor(data?: PartialMessage<InputAudio>);
2586
+
2587
+ static readonly runtime: typeof proto3;
2588
+ static readonly typeName = "livekit.agent.InputAudio";
2589
+ static readonly fields: FieldList;
2590
+
2591
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InputAudio;
2592
+
2593
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InputAudio;
2594
+
2595
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InputAudio;
2596
+
2597
+ static equals(a: InputAudio | PlainMessage<InputAudio> | undefined, b: InputAudio | PlainMessage<InputAudio> | undefined): boolean;
2598
+ }
2599
+
2600
+ /**
2601
+ * @generated from message livekit.agent.EotInputChatContext
2602
+ */
2603
+ declare class EotInputChatContext extends Message<EotInputChatContext> {
2604
+ /**
2605
+ * @generated from field: repeated livekit.agent.ChatMessage messages = 1;
2606
+ */
2607
+ messages: ChatMessage$1[];
2608
+
2609
+ constructor(data?: PartialMessage<EotInputChatContext>);
2610
+
2611
+ static readonly runtime: typeof proto3;
2612
+ static readonly typeName = "livekit.agent.EotInputChatContext";
2613
+ static readonly fields: FieldList;
2614
+
2615
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotInputChatContext;
2616
+
2617
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotInputChatContext;
2618
+
2619
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotInputChatContext;
2620
+
2621
+ static equals(a: EotInputChatContext | PlainMessage<EotInputChatContext> | undefined, b: EotInputChatContext | PlainMessage<EotInputChatContext> | undefined): boolean;
2622
+ }
2623
+
2624
+ /**
2625
+ * @generated from message livekit.agent.SessionFlush
2626
+ */
2627
+ declare class SessionFlush extends Message<SessionFlush> {
2628
+ constructor(data?: PartialMessage<SessionFlush>);
2629
+
2630
+ static readonly runtime: typeof proto3;
2631
+ static readonly typeName = "livekit.agent.SessionFlush";
2632
+ static readonly fields: FieldList;
2633
+
2634
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionFlush;
2635
+
2636
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionFlush;
2637
+
2638
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionFlush;
2639
+
2640
+ static equals(a: SessionFlush | PlainMessage<SessionFlush> | undefined, b: SessionFlush | PlainMessage<SessionFlush> | undefined): boolean;
2641
+ }
2642
+
2643
+ /**
2644
+ * @generated from message livekit.agent.SessionClose
2645
+ */
2646
+ declare class SessionClose extends Message<SessionClose> {
2647
+ constructor(data?: PartialMessage<SessionClose>);
2648
+
2649
+ static readonly runtime: typeof proto3;
2650
+ static readonly typeName = "livekit.agent.SessionClose";
2651
+ static readonly fields: FieldList;
2652
+
2653
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionClose;
2654
+
2655
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionClose;
2656
+
2657
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionClose;
2658
+
2659
+ static equals(a: SessionClose | PlainMessage<SessionClose> | undefined, b: SessionClose | PlainMessage<SessionClose> | undefined): boolean;
2660
+ }
2661
+
2662
+ /**
2663
+ * @generated from message livekit.agent.InferenceStart
2664
+ */
2665
+ declare class InferenceStart extends Message<InferenceStart> {
2666
+ /**
2667
+ * @generated from field: string request_id = 1;
2668
+ */
2669
+ requestId: string;
2670
+
2671
+ constructor(data?: PartialMessage<InferenceStart>);
2672
+
2673
+ static readonly runtime: typeof proto3;
2674
+ static readonly typeName = "livekit.agent.InferenceStart";
2675
+ static readonly fields: FieldList;
2676
+
2677
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStart;
2678
+
2679
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStart;
2680
+
2681
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStart;
2682
+
2683
+ static equals(a: InferenceStart | PlainMessage<InferenceStart> | undefined, b: InferenceStart | PlainMessage<InferenceStart> | undefined): boolean;
2684
+ }
2685
+
2686
+ /**
2687
+ * @generated from message livekit.agent.InferenceStop
2688
+ */
2689
+ declare class InferenceStop extends Message<InferenceStop> {
2690
+ /**
2691
+ * @generated from field: string request_id = 1;
2692
+ */
2693
+ requestId: string;
2694
+
2695
+ constructor(data?: PartialMessage<InferenceStop>);
2696
+
2697
+ static readonly runtime: typeof proto3;
2698
+ static readonly typeName = "livekit.agent.InferenceStop";
2699
+ static readonly fields: FieldList;
2700
+
2701
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStop;
2702
+
2703
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStop;
2704
+
2705
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStop;
2706
+
2707
+ static equals(a: InferenceStop | PlainMessage<InferenceStop> | undefined, b: InferenceStop | PlainMessage<InferenceStop> | undefined): boolean;
2708
+ }
2709
+
2710
+ /**
2711
+ * audio buffer sentinel messages
2712
+ *
2713
+ * @generated from message livekit.agent.BufferStart
2714
+ */
2715
+ declare class BufferStart extends Message<BufferStart> {
2716
+ constructor(data?: PartialMessage<BufferStart>);
2717
+
2718
+ static readonly runtime: typeof proto3;
2719
+ static readonly typeName = "livekit.agent.BufferStart";
2720
+ static readonly fields: FieldList;
2721
+
2722
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BufferStart;
2723
+
2724
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BufferStart;
2725
+
2726
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufferStart;
2727
+
2728
+ static equals(a: BufferStart | PlainMessage<BufferStart> | undefined, b: BufferStart | PlainMessage<BufferStart> | undefined): boolean;
2729
+ }
2730
+
2731
+ /**
2732
+ * @generated from message livekit.agent.BufferStop
2733
+ */
2734
+ declare class BufferStop extends Message<BufferStop> {
2735
+ constructor(data?: PartialMessage<BufferStop>);
2736
+
2737
+ static readonly runtime: typeof proto3;
2738
+ static readonly typeName = "livekit.agent.BufferStop";
2739
+ static readonly fields: FieldList;
2740
+
2741
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BufferStop;
2742
+
2743
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BufferStop;
2744
+
2745
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BufferStop;
2746
+
2747
+ static equals(a: BufferStop | PlainMessage<BufferStop> | undefined, b: BufferStop | PlainMessage<BufferStop> | undefined): boolean;
2748
+ }
2749
+
2750
+ /**
2751
+ * @generated from message livekit.agent.ClientMessage
2752
+ */
2753
+ declare class ClientMessage extends Message<ClientMessage> {
2754
+ /**
2755
+ * @generated from field: google.protobuf.Timestamp created_at = 1;
2756
+ */
2757
+ createdAt?: Timestamp;
2758
+
2759
+ /**
2760
+ * @generated from oneof livekit.agent.ClientMessage.message
2761
+ */
2762
+ message: {
2763
+ /**
2764
+ * @generated from field: livekit.agent.SessionCreate session_create = 2;
2765
+ */
2766
+ value: SessionCreate;
2767
+ case: "sessionCreate";
2768
+ } | {
2769
+ /**
2770
+ * @generated from field: livekit.agent.InputAudio input_audio = 3;
2771
+ */
2772
+ value: InputAudio;
2773
+ case: "inputAudio";
2774
+ } | {
2775
+ /**
2776
+ * @generated from field: livekit.agent.SessionFlush session_flush = 4;
2777
+ */
2778
+ value: SessionFlush;
2779
+ case: "sessionFlush";
2780
+ } | {
2781
+ /**
2782
+ * @generated from field: livekit.agent.SessionClose session_close = 5;
2783
+ */
2784
+ value: SessionClose;
2785
+ case: "sessionClose";
2786
+ } | {
2787
+ /**
2788
+ * @generated from field: livekit.agent.InferenceStart inference_start = 6;
2789
+ */
2790
+ value: InferenceStart;
2791
+ case: "inferenceStart";
2792
+ } | {
2793
+ /**
2794
+ * @generated from field: livekit.agent.InferenceStop inference_stop = 7;
2795
+ */
2796
+ value: InferenceStop;
2797
+ case: "inferenceStop";
2798
+ } | {
2799
+ /**
2800
+ * @generated from field: livekit.agent.BufferStart buffer_start = 8;
2801
+ */
2802
+ value: BufferStart;
2803
+ case: "bufferStart";
2804
+ } | {
2805
+ /**
2806
+ * @generated from field: livekit.agent.BufferStop buffer_stop = 9;
2807
+ */
2808
+ value: BufferStop;
2809
+ case: "bufferStop";
2810
+ } | {
2811
+ /**
2812
+ * only for end of turn
2813
+ *
2814
+ * @generated from field: livekit.agent.EotInputChatContext eot_input_chat_context = 10;
2815
+ */
2816
+ value: EotInputChatContext;
2817
+ case: "eotInputChatContext";
2818
+ } | { case: undefined; value?: undefined };
2819
+
2820
+ constructor(data?: PartialMessage<ClientMessage>);
2821
+
2822
+ static readonly runtime: typeof proto3;
2823
+ static readonly typeName = "livekit.agent.ClientMessage";
2824
+ static readonly fields: FieldList;
2825
+
2826
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ClientMessage;
2827
+
2828
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ClientMessage;
2829
+
2830
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ClientMessage;
2831
+
2832
+ static equals(a: ClientMessage | PlainMessage<ClientMessage> | undefined, b: ClientMessage | PlainMessage<ClientMessage> | undefined): boolean;
2833
+ }
2834
+
2835
+ /**
2836
+ * @generated from message livekit.agent.EotInferenceRequest
2837
+ */
2838
+ declare class EotInferenceRequest extends Message<EotInferenceRequest> {
2839
+ /**
2840
+ * @generated from field: bytes audio = 1;
2841
+ */
2842
+ audio: Uint8Array;
2843
+
2844
+ /**
2845
+ * @generated from field: string assistant_text = 2;
2846
+ */
2847
+ assistantText: string;
2848
+
2849
+ /**
2850
+ * @generated from field: livekit.agent.AudioEncoding encoding = 3;
2851
+ */
2852
+ encoding: AudioEncoding;
2853
+
2854
+ /**
2855
+ * @generated from field: uint32 sample_rate = 4;
2856
+ */
2857
+ sampleRate: number;
2858
+
2859
+ constructor(data?: PartialMessage<EotInferenceRequest>);
2860
+
2861
+ static readonly runtime: typeof proto3;
2862
+ static readonly typeName = "livekit.agent.EotInferenceRequest";
2863
+ static readonly fields: FieldList;
2864
+
2865
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotInferenceRequest;
2866
+
2867
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotInferenceRequest;
2868
+
2869
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotInferenceRequest;
2870
+
2871
+ static equals(a: EotInferenceRequest | PlainMessage<EotInferenceRequest> | undefined, b: EotInferenceRequest | PlainMessage<EotInferenceRequest> | undefined): boolean;
2872
+ }
2873
+
2874
+ /**
2875
+ * @generated from message livekit.agent.InterruptionInferenceRequest
2876
+ */
2877
+ declare class InterruptionInferenceRequest extends Message<InterruptionInferenceRequest> {
2878
+ /**
2879
+ * @generated from field: bytes audio = 1;
2880
+ */
2881
+ audio: Uint8Array;
2882
+
2883
+ /**
2884
+ * @generated from field: livekit.agent.AudioEncoding encoding = 2;
2885
+ */
2886
+ encoding: AudioEncoding;
2887
+
2888
+ /**
2889
+ * @generated from field: uint32 sample_rate = 3;
2890
+ */
2891
+ sampleRate: number;
2892
+
2893
+ constructor(data?: PartialMessage<InterruptionInferenceRequest>);
2894
+
2895
+ static readonly runtime: typeof proto3;
2896
+ static readonly typeName = "livekit.agent.InterruptionInferenceRequest";
2897
+ static readonly fields: FieldList;
2898
+
2899
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionInferenceRequest;
2900
+
2901
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionInferenceRequest;
2902
+
2903
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionInferenceRequest;
2904
+
2905
+ static equals(a: InterruptionInferenceRequest | PlainMessage<InterruptionInferenceRequest> | undefined, b: InterruptionInferenceRequest | PlainMessage<InterruptionInferenceRequest> | undefined): boolean;
2906
+ }
2907
+
2908
+ /**
2909
+ * @generated from message livekit.agent.InferenceRequest
2910
+ */
2911
+ declare class InferenceRequest extends Message<InferenceRequest> {
2912
+ /**
2913
+ * @generated from oneof livekit.agent.InferenceRequest.request
2914
+ */
2915
+ request: {
2916
+ /**
2917
+ * @generated from field: livekit.agent.EotInferenceRequest eot_inference_request = 1;
2918
+ */
2919
+ value: EotInferenceRequest;
2920
+ case: "eotInferenceRequest";
2921
+ } | {
2922
+ /**
2923
+ * @generated from field: livekit.agent.InterruptionInferenceRequest interruption_inference_request = 2;
2924
+ */
2925
+ value: InterruptionInferenceRequest;
2926
+ case: "interruptionInferenceRequest";
2927
+ } | { case: undefined; value?: undefined };
2928
+
2929
+ constructor(data?: PartialMessage<InferenceRequest>);
2930
+
2931
+ static readonly runtime: typeof proto3;
2932
+ static readonly typeName = "livekit.agent.InferenceRequest";
2933
+ static readonly fields: FieldList;
2934
+
2935
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceRequest;
2936
+
2937
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceRequest;
2938
+
2939
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceRequest;
2940
+
2941
+ static equals(a: InferenceRequest | PlainMessage<InferenceRequest> | undefined, b: InferenceRequest | PlainMessage<InferenceRequest> | undefined): boolean;
2942
+ }
2943
+
2944
+ /**
2945
+ * @generated from message livekit.agent.InferenceStats
2946
+ */
2947
+ declare class InferenceStats extends Message<InferenceStats> {
2948
+ /**
2949
+ * proxy -> model: audio window timestamps
2950
+ *
2951
+ * @generated from field: optional google.protobuf.Timestamp earliest_client_created_at = 1;
2952
+ */
2953
+ earliestClientCreatedAt?: Timestamp;
2954
+
2955
+ /**
2956
+ * @generated from field: optional google.protobuf.Timestamp latest_client_created_at = 2;
2957
+ */
2958
+ latestClientCreatedAt?: Timestamp;
2959
+
2960
+ /**
2961
+ * proxy side e2e latency (proxy send -> proxy receive)
2962
+ *
2963
+ * @generated from field: optional google.protobuf.Duration client_e2e_latency = 3;
2964
+ */
2965
+ clientE2eLatency?: Duration;
2966
+
2967
+ /**
2968
+ * model side e2e latency (model endpoint receive -> model endpoint return)
2969
+ *
2970
+ * @generated from field: google.protobuf.Duration server_e2e_latency = 4;
2971
+ */
2972
+ serverE2eLatency?: Duration;
2973
+
2974
+ /**
2975
+ * model side inference stats
2976
+ *
2977
+ * @generated from field: google.protobuf.Duration preprocessing_duration = 5;
2978
+ */
2979
+ preprocessingDuration?: Duration;
2980
+
2981
+ /**
2982
+ * @generated from field: google.protobuf.Duration inference_duration = 6;
2983
+ */
2984
+ inferenceDuration?: Duration;
2985
+
2986
+ constructor(data?: PartialMessage<InferenceStats>);
2987
+
2988
+ static readonly runtime: typeof proto3;
2989
+ static readonly typeName = "livekit.agent.InferenceStats";
2990
+ static readonly fields: FieldList;
2991
+
2992
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStats;
2993
+
2994
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStats;
2995
+
2996
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStats;
2997
+
2998
+ static equals(a: InferenceStats | PlainMessage<InferenceStats> | undefined, b: InferenceStats | PlainMessage<InferenceStats> | undefined): boolean;
2999
+ }
3000
+
3001
+ /**
3002
+ * @generated from message livekit.agent.EotInferenceResponse
3003
+ */
3004
+ declare class EotInferenceResponse extends Message<EotInferenceResponse> {
3005
+ /**
3006
+ * @generated from field: float probability = 1;
3007
+ */
3008
+ probability: number;
3009
+
3010
+ /**
3011
+ * @generated from field: livekit.agent.InferenceStats stats = 2;
3012
+ */
3013
+ stats?: InferenceStats;
3014
+
3015
+ constructor(data?: PartialMessage<EotInferenceResponse>);
3016
+
3017
+ static readonly runtime: typeof proto3;
3018
+ static readonly typeName = "livekit.agent.EotInferenceResponse";
3019
+ static readonly fields: FieldList;
3020
+
3021
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotInferenceResponse;
3022
+
3023
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotInferenceResponse;
3024
+
3025
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotInferenceResponse;
3026
+
3027
+ static equals(a: EotInferenceResponse | PlainMessage<EotInferenceResponse> | undefined, b: EotInferenceResponse | PlainMessage<EotInferenceResponse> | undefined): boolean;
3028
+ }
3029
+
3030
+ /**
3031
+ * @generated from message livekit.agent.InterruptionInferenceResponse
3032
+ */
3033
+ declare class InterruptionInferenceResponse extends Message<InterruptionInferenceResponse> {
3034
+ /**
3035
+ * @generated from field: bool is_interruption = 1;
3036
+ */
3037
+ isInterruption: boolean;
3038
+
3039
+ /**
3040
+ * per frame probabilities
3041
+ *
3042
+ * @generated from field: repeated float probabilities = 2;
3043
+ */
3044
+ probabilities: number[];
3045
+
3046
+ /**
3047
+ * @generated from field: livekit.agent.InferenceStats stats = 3;
3048
+ */
3049
+ stats?: InferenceStats;
3050
+
3051
+ constructor(data?: PartialMessage<InterruptionInferenceResponse>);
3052
+
3053
+ static readonly runtime: typeof proto3;
3054
+ static readonly typeName = "livekit.agent.InterruptionInferenceResponse";
3055
+ static readonly fields: FieldList;
3056
+
3057
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionInferenceResponse;
3058
+
3059
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionInferenceResponse;
3060
+
3061
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionInferenceResponse;
3062
+
3063
+ static equals(a: InterruptionInferenceResponse | PlainMessage<InterruptionInferenceResponse> | undefined, b: InterruptionInferenceResponse | PlainMessage<InterruptionInferenceResponse> | undefined): boolean;
3064
+ }
3065
+
3066
+ /**
3067
+ * @generated from message livekit.agent.InferenceResponse
3068
+ */
3069
+ declare class InferenceResponse extends Message<InferenceResponse> {
3070
+ /**
3071
+ * @generated from oneof livekit.agent.InferenceResponse.response
3072
+ */
3073
+ response: {
3074
+ /**
3075
+ * @generated from field: livekit.agent.EotInferenceResponse eot_inference_response = 1;
3076
+ */
3077
+ value: EotInferenceResponse;
3078
+ case: "eotInferenceResponse";
3079
+ } | {
3080
+ /**
3081
+ * @generated from field: livekit.agent.InterruptionInferenceResponse interruption_inference_response = 2;
3082
+ */
3083
+ value: InterruptionInferenceResponse;
3084
+ case: "interruptionInferenceResponse";
3085
+ } | { case: undefined; value?: undefined };
3086
+
3087
+ constructor(data?: PartialMessage<InferenceResponse>);
3088
+
3089
+ static readonly runtime: typeof proto3;
3090
+ static readonly typeName = "livekit.agent.InferenceResponse";
3091
+ static readonly fields: FieldList;
3092
+
3093
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceResponse;
3094
+
3095
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceResponse;
3096
+
3097
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceResponse;
3098
+
3099
+ static equals(a: InferenceResponse | PlainMessage<InferenceResponse> | undefined, b: InferenceResponse | PlainMessage<InferenceResponse> | undefined): boolean;
3100
+ }
3101
+
3102
+ /**
3103
+ * @generated from message livekit.agent.SessionCreated
3104
+ */
3105
+ declare class SessionCreated extends Message<SessionCreated> {
3106
+ constructor(data?: PartialMessage<SessionCreated>);
3107
+
3108
+ static readonly runtime: typeof proto3;
3109
+ static readonly typeName = "livekit.agent.SessionCreated";
3110
+ static readonly fields: FieldList;
3111
+
3112
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionCreated;
3113
+
3114
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionCreated;
3115
+
3116
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionCreated;
3117
+
3118
+ static equals(a: SessionCreated | PlainMessage<SessionCreated> | undefined, b: SessionCreated | PlainMessage<SessionCreated> | undefined): boolean;
3119
+ }
3120
+
3121
+ /**
3122
+ * @generated from message livekit.agent.InferenceStarted
3123
+ */
3124
+ declare class InferenceStarted extends Message<InferenceStarted> {
3125
+ constructor(data?: PartialMessage<InferenceStarted>);
3126
+
3127
+ static readonly runtime: typeof proto3;
3128
+ static readonly typeName = "livekit.agent.InferenceStarted";
3129
+ static readonly fields: FieldList;
3130
+
3131
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStarted;
3132
+
3133
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStarted;
3134
+
3135
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStarted;
3136
+
3137
+ static equals(a: InferenceStarted | PlainMessage<InferenceStarted> | undefined, b: InferenceStarted | PlainMessage<InferenceStarted> | undefined): boolean;
3138
+ }
3139
+
3140
+ /**
3141
+ * @generated from message livekit.agent.InferenceStopped
3142
+ */
3143
+ declare class InferenceStopped extends Message<InferenceStopped> {
3144
+ constructor(data?: PartialMessage<InferenceStopped>);
3145
+
3146
+ static readonly runtime: typeof proto3;
3147
+ static readonly typeName = "livekit.agent.InferenceStopped";
3148
+ static readonly fields: FieldList;
3149
+
3150
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InferenceStopped;
3151
+
3152
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InferenceStopped;
3153
+
3154
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InferenceStopped;
3155
+
3156
+ static equals(a: InferenceStopped | PlainMessage<InferenceStopped> | undefined, b: InferenceStopped | PlainMessage<InferenceStopped> | undefined): boolean;
3157
+ }
3158
+
3159
+ /**
3160
+ * @generated from message livekit.agent.SessionClosed
3161
+ */
3162
+ declare class SessionClosed extends Message<SessionClosed> {
3163
+ constructor(data?: PartialMessage<SessionClosed>);
3164
+
3165
+ static readonly runtime: typeof proto3;
3166
+ static readonly typeName = "livekit.agent.SessionClosed";
3167
+ static readonly fields: FieldList;
3168
+
3169
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionClosed;
3170
+
3171
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionClosed;
3172
+
3173
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionClosed;
3174
+
3175
+ static equals(a: SessionClosed | PlainMessage<SessionClosed> | undefined, b: SessionClosed | PlainMessage<SessionClosed> | undefined): boolean;
3176
+ }
3177
+
3178
+ /**
3179
+ * @generated from message livekit.agent.EotPrediction
3180
+ */
3181
+ declare class EotPrediction extends Message<EotPrediction> {
3182
+ /**
3183
+ * @generated from field: float probability = 1;
3184
+ */
3185
+ probability: number;
3186
+
3187
+ /**
3188
+ * @generated from field: livekit.agent.InferenceStats inference_stats = 2;
3189
+ */
3190
+ inferenceStats?: InferenceStats;
3191
+
3192
+ /**
3193
+ * @generated from field: livekit.agent.EotPrediction.EotBackend backend = 3;
3194
+ */
3195
+ backend: EotPrediction_EotBackend;
3196
+
3197
+ constructor(data?: PartialMessage<EotPrediction>);
3198
+
3199
+ static readonly runtime: typeof proto3;
3200
+ static readonly typeName = "livekit.agent.EotPrediction";
3201
+ static readonly fields: FieldList;
3202
+
3203
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EotPrediction;
3204
+
3205
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EotPrediction;
3206
+
3207
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EotPrediction;
3208
+
3209
+ static equals(a: EotPrediction | PlainMessage<EotPrediction> | undefined, b: EotPrediction | PlainMessage<EotPrediction> | undefined): boolean;
3210
+ }
3211
+
3212
+ /**
3213
+ * @generated from enum livekit.agent.EotPrediction.EotBackend
3214
+ */
3215
+ declare enum EotPrediction_EotBackend {
3216
+ /**
3217
+ * @generated from enum value: EOT_BACKEND_UNKNOWN = 0;
3218
+ */
3219
+ UNKNOWN = 0,
3220
+
3221
+ /**
3222
+ * @generated from enum value: EOT_BACKEND_MULTIMODAL = 1;
3223
+ */
3224
+ MULTIMODAL = 1,
3225
+
3226
+ /**
3227
+ * @generated from enum value: EOT_BACKEND_TEXT = 2;
3228
+ */
3229
+ TEXT = 2,
3230
+ }
3231
+
3232
+ /**
3233
+ * @generated from message livekit.agent.InterruptionPrediction
3234
+ */
3235
+ declare class InterruptionPrediction extends Message<InterruptionPrediction> {
3236
+ /**
3237
+ * @generated from field: bool is_interruption = 1;
3238
+ */
3239
+ isInterruption: boolean;
3240
+
3241
+ /**
3242
+ * @generated from field: repeated float probabilities = 2;
3243
+ */
3244
+ probabilities: number[];
3245
+
3246
+ /**
3247
+ * @generated from field: livekit.agent.InferenceStats inference_stats = 3;
3248
+ */
3249
+ inferenceStats?: InferenceStats;
3250
+
3251
+ constructor(data?: PartialMessage<InterruptionPrediction>);
3252
+
3253
+ static readonly runtime: typeof proto3;
3254
+ static readonly typeName = "livekit.agent.InterruptionPrediction";
3255
+ static readonly fields: FieldList;
3256
+
3257
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InterruptionPrediction;
3258
+
3259
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InterruptionPrediction;
3260
+
3261
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InterruptionPrediction;
3262
+
3263
+ static equals(a: InterruptionPrediction | PlainMessage<InterruptionPrediction> | undefined, b: InterruptionPrediction | PlainMessage<InterruptionPrediction> | undefined): boolean;
3264
+ }
3265
+
3266
+ /**
3267
+ * @generated from message livekit.agent.ServerMessage
3268
+ */
3269
+ declare class ServerMessage$1 extends Message<ServerMessage$1> {
3270
+ /**
3271
+ * @generated from field: google.protobuf.Timestamp server_created_at = 1;
3272
+ */
3273
+ serverCreatedAt?: Timestamp;
3274
+
3275
+ /**
3276
+ * @generated from field: optional string request_id = 2;
3277
+ */
3278
+ requestId?: string;
3279
+
3280
+ /**
3281
+ * echoes the client-side created_at timestamp
3282
+ *
3283
+ * @generated from field: optional google.protobuf.Timestamp client_created_at = 3;
3284
+ */
3285
+ clientCreatedAt?: Timestamp;
3286
+
3287
+ /**
3288
+ * @generated from oneof livekit.agent.ServerMessage.message
3289
+ */
3290
+ message: {
3291
+ /**
3292
+ * @generated from field: livekit.agent.SessionCreated session_created = 4;
3293
+ */
3294
+ value: SessionCreated;
3295
+ case: "sessionCreated";
3296
+ } | {
3297
+ /**
3298
+ * @generated from field: livekit.agent.InferenceStarted inference_started = 5;
3299
+ */
3300
+ value: InferenceStarted;
3301
+ case: "inferenceStarted";
3302
+ } | {
3303
+ /**
3304
+ * @generated from field: livekit.agent.InferenceStopped inference_stopped = 6;
3305
+ */
3306
+ value: InferenceStopped;
3307
+ case: "inferenceStopped";
3308
+ } | {
3309
+ /**
3310
+ * @generated from field: livekit.agent.SessionClosed session_closed = 7;
3311
+ */
3312
+ value: SessionClosed;
3313
+ case: "sessionClosed";
3314
+ } | {
3315
+ /**
3316
+ * @generated from field: livekit.agent.InferenceError error = 8;
3317
+ */
3318
+ value: InferenceError;
3319
+ case: "error";
3320
+ } | {
3321
+ /**
3322
+ * @generated from field: livekit.agent.EotPrediction eot_prediction = 9;
3323
+ */
3324
+ value: EotPrediction;
3325
+ case: "eotPrediction";
3326
+ } | {
3327
+ /**
3328
+ * @generated from field: livekit.agent.InterruptionPrediction interruption_prediction = 10;
3329
+ */
3330
+ value: InterruptionPrediction;
3331
+ case: "interruptionPrediction";
3332
+ } | { case: undefined; value?: undefined };
3333
+
3334
+ constructor(data?: PartialMessage<ServerMessage$1>);
3335
+
3336
+ static readonly runtime: typeof proto3;
3337
+ static readonly typeName = "livekit.agent.ServerMessage";
3338
+ static readonly fields: FieldList;
3339
+
3340
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServerMessage$1;
3341
+
3342
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServerMessage$1;
3343
+
3344
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServerMessage$1;
3345
+
3346
+ static equals(a: ServerMessage$1 | PlainMessage<ServerMessage$1> | undefined, b: ServerMessage$1 | PlainMessage<ServerMessage$1> | undefined): boolean;
3347
+ }
3348
+
3349
+ type livekit_agent_inference_pb_d_AudioEncoding = AudioEncoding;
3350
+ declare const livekit_agent_inference_pb_d_AudioEncoding: typeof AudioEncoding;
3351
+ type livekit_agent_inference_pb_d_BufferStart = BufferStart;
3352
+ declare const livekit_agent_inference_pb_d_BufferStart: typeof BufferStart;
3353
+ type livekit_agent_inference_pb_d_BufferStop = BufferStop;
3354
+ declare const livekit_agent_inference_pb_d_BufferStop: typeof BufferStop;
3355
+ type livekit_agent_inference_pb_d_ClientMessage = ClientMessage;
3356
+ declare const livekit_agent_inference_pb_d_ClientMessage: typeof ClientMessage;
3357
+ type livekit_agent_inference_pb_d_EotInferenceRequest = EotInferenceRequest;
3358
+ declare const livekit_agent_inference_pb_d_EotInferenceRequest: typeof EotInferenceRequest;
3359
+ type livekit_agent_inference_pb_d_EotInferenceResponse = EotInferenceResponse;
3360
+ declare const livekit_agent_inference_pb_d_EotInferenceResponse: typeof EotInferenceResponse;
3361
+ type livekit_agent_inference_pb_d_EotInputChatContext = EotInputChatContext;
3362
+ declare const livekit_agent_inference_pb_d_EotInputChatContext: typeof EotInputChatContext;
3363
+ type livekit_agent_inference_pb_d_EotPrediction = EotPrediction;
3364
+ declare const livekit_agent_inference_pb_d_EotPrediction: typeof EotPrediction;
3365
+ type livekit_agent_inference_pb_d_EotPrediction_EotBackend = EotPrediction_EotBackend;
3366
+ declare const livekit_agent_inference_pb_d_EotPrediction_EotBackend: typeof EotPrediction_EotBackend;
3367
+ type livekit_agent_inference_pb_d_EotSettings = EotSettings;
3368
+ declare const livekit_agent_inference_pb_d_EotSettings: typeof EotSettings;
3369
+ type livekit_agent_inference_pb_d_InferenceError = InferenceError;
3370
+ declare const livekit_agent_inference_pb_d_InferenceError: typeof InferenceError;
3371
+ type livekit_agent_inference_pb_d_InferenceRequest = InferenceRequest;
3372
+ declare const livekit_agent_inference_pb_d_InferenceRequest: typeof InferenceRequest;
3373
+ type livekit_agent_inference_pb_d_InferenceResponse = InferenceResponse;
3374
+ declare const livekit_agent_inference_pb_d_InferenceResponse: typeof InferenceResponse;
3375
+ type livekit_agent_inference_pb_d_InferenceStart = InferenceStart;
3376
+ declare const livekit_agent_inference_pb_d_InferenceStart: typeof InferenceStart;
3377
+ type livekit_agent_inference_pb_d_InferenceStarted = InferenceStarted;
3378
+ declare const livekit_agent_inference_pb_d_InferenceStarted: typeof InferenceStarted;
3379
+ type livekit_agent_inference_pb_d_InferenceStats = InferenceStats;
3380
+ declare const livekit_agent_inference_pb_d_InferenceStats: typeof InferenceStats;
3381
+ type livekit_agent_inference_pb_d_InferenceStop = InferenceStop;
3382
+ declare const livekit_agent_inference_pb_d_InferenceStop: typeof InferenceStop;
3383
+ type livekit_agent_inference_pb_d_InferenceStopped = InferenceStopped;
3384
+ declare const livekit_agent_inference_pb_d_InferenceStopped: typeof InferenceStopped;
3385
+ type livekit_agent_inference_pb_d_InputAudio = InputAudio;
3386
+ declare const livekit_agent_inference_pb_d_InputAudio: typeof InputAudio;
3387
+ type livekit_agent_inference_pb_d_InterruptionInferenceRequest = InterruptionInferenceRequest;
3388
+ declare const livekit_agent_inference_pb_d_InterruptionInferenceRequest: typeof InterruptionInferenceRequest;
3389
+ type livekit_agent_inference_pb_d_InterruptionInferenceResponse = InterruptionInferenceResponse;
3390
+ declare const livekit_agent_inference_pb_d_InterruptionInferenceResponse: typeof InterruptionInferenceResponse;
3391
+ type livekit_agent_inference_pb_d_InterruptionPrediction = InterruptionPrediction;
3392
+ declare const livekit_agent_inference_pb_d_InterruptionPrediction: typeof InterruptionPrediction;
3393
+ type livekit_agent_inference_pb_d_InterruptionSettings = InterruptionSettings;
3394
+ declare const livekit_agent_inference_pb_d_InterruptionSettings: typeof InterruptionSettings;
3395
+ type livekit_agent_inference_pb_d_SessionClose = SessionClose;
3396
+ declare const livekit_agent_inference_pb_d_SessionClose: typeof SessionClose;
3397
+ type livekit_agent_inference_pb_d_SessionClosed = SessionClosed;
3398
+ declare const livekit_agent_inference_pb_d_SessionClosed: typeof SessionClosed;
3399
+ type livekit_agent_inference_pb_d_SessionCreate = SessionCreate;
3400
+ declare const livekit_agent_inference_pb_d_SessionCreate: typeof SessionCreate;
3401
+ type livekit_agent_inference_pb_d_SessionCreated = SessionCreated;
3402
+ declare const livekit_agent_inference_pb_d_SessionCreated: typeof SessionCreated;
3403
+ type livekit_agent_inference_pb_d_SessionFlush = SessionFlush;
3404
+ declare const livekit_agent_inference_pb_d_SessionFlush: typeof SessionFlush;
3405
+ type livekit_agent_inference_pb_d_SessionSettings = SessionSettings;
3406
+ declare const livekit_agent_inference_pb_d_SessionSettings: typeof SessionSettings;
3407
+ declare namespace livekit_agent_inference_pb_d {
3408
+ export { livekit_agent_inference_pb_d_AudioEncoding as AudioEncoding, livekit_agent_inference_pb_d_BufferStart as BufferStart, livekit_agent_inference_pb_d_BufferStop as BufferStop, livekit_agent_inference_pb_d_ClientMessage as ClientMessage, livekit_agent_inference_pb_d_EotInferenceRequest as EotInferenceRequest, livekit_agent_inference_pb_d_EotInferenceResponse as EotInferenceResponse, livekit_agent_inference_pb_d_EotInputChatContext as EotInputChatContext, livekit_agent_inference_pb_d_EotPrediction as EotPrediction, livekit_agent_inference_pb_d_EotPrediction_EotBackend as EotPrediction_EotBackend, livekit_agent_inference_pb_d_EotSettings as EotSettings, livekit_agent_inference_pb_d_InferenceError as InferenceError, livekit_agent_inference_pb_d_InferenceRequest as InferenceRequest, livekit_agent_inference_pb_d_InferenceResponse as InferenceResponse, livekit_agent_inference_pb_d_InferenceStart as InferenceStart, livekit_agent_inference_pb_d_InferenceStarted as InferenceStarted, livekit_agent_inference_pb_d_InferenceStats as InferenceStats, livekit_agent_inference_pb_d_InferenceStop as InferenceStop, livekit_agent_inference_pb_d_InferenceStopped as InferenceStopped, livekit_agent_inference_pb_d_InputAudio as InputAudio, livekit_agent_inference_pb_d_InterruptionInferenceRequest as InterruptionInferenceRequest, livekit_agent_inference_pb_d_InterruptionInferenceResponse as InterruptionInferenceResponse, livekit_agent_inference_pb_d_InterruptionPrediction as InterruptionPrediction, livekit_agent_inference_pb_d_InterruptionSettings as InterruptionSettings, ServerMessage$1 as ServerMessage, livekit_agent_inference_pb_d_SessionClose as SessionClose, livekit_agent_inference_pb_d_SessionClosed as SessionClosed, livekit_agent_inference_pb_d_SessionCreate as SessionCreate, livekit_agent_inference_pb_d_SessionCreated as SessionCreated, livekit_agent_inference_pb_d_SessionFlush as SessionFlush, livekit_agent_inference_pb_d_SessionSettings as SessionSettings };
3409
+ }
3410
+
3411
+ // Copyright 2023 LiveKit, Inc.
3412
+ //
3413
+ // Licensed under the Apache License, Version 2.0 (the "License");
3414
+ // you may not use this file except in compliance with the License.
3415
+ // You may obtain a copy of the License at
3416
+ //
3417
+ // http://www.apache.org/licenses/LICENSE-2.0
3418
+ //
3419
+ // Unless required by applicable law or agreed to in writing, software
3420
+ // distributed under the License is distributed on an "AS IS" BASIS,
3421
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
3422
+ // See the License for the specific language governing permissions and
3423
+ // limitations under the License.
3424
+
3425
+
3426
+
3427
+ /**
3428
+ * @generated from enum livekit.agent.TextMessageErrorCode
3429
+ */
3430
+ declare enum TextMessageErrorCode {
3431
+ /**
3432
+ * Unexpected internal error
3433
+ *
3434
+ * @generated from enum value: INTERNAL_ERROR = 0;
3435
+ */
3436
+ INTERNAL_ERROR = 0,
3437
+
3438
+ /**
3439
+ * Session state not found in cache or version mismatch
3440
+ *
3441
+ * @generated from enum value: SESSION_STATE_NOT_FOUND = 1;
3442
+ */
3443
+ SESSION_STATE_NOT_FOUND = 1,
3444
+
3445
+ /**
3446
+ * An exception was raised inside the user's text handler
3447
+ *
3448
+ * @generated from enum value: TEXT_HANDLER_ERROR = 2;
3449
+ */
3450
+ TEXT_HANDLER_ERROR = 2,
3451
+
3452
+ /**
3453
+ * The worker process exited before the text session completed
3454
+ *
3455
+ * @generated from enum value: PROCESS_CLOSED = 3;
3456
+ */
3457
+ PROCESS_CLOSED = 3,
3458
+ }
3459
+
3460
+ /**
3461
+ * Request to send a text message to an agent.
3462
+ *
3463
+ * @generated from message livekit.agent.TextMessageRequest
3464
+ */
3465
+ declare class TextMessageRequest extends Message<TextMessageRequest> {
3466
+ /**
3467
+ * @generated from field: string text = 1;
3468
+ */
3469
+ text: string;
3470
+
3471
+ /**
3472
+ * @generated from field: string message_id = 2;
3473
+ */
3474
+ messageId: string;
3475
+
3476
+ /**
3477
+ * @generated from field: string session_id = 3;
3478
+ */
3479
+ sessionId: string;
3480
+
3481
+ /**
3482
+ * @generated from field: string agent_name = 4;
3483
+ */
3484
+ agentName: string;
3485
+
3486
+ /**
3487
+ * @generated from field: string metadata = 5;
3488
+ */
3489
+ metadata: string;
3490
+
3491
+ /**
3492
+ * @generated from field: optional livekit.agent.AgentSessionState session_state = 6;
3493
+ */
3494
+ sessionState?: AgentSessionState;
3495
+
3496
+ constructor(data?: PartialMessage<TextMessageRequest>);
3497
+
3498
+ static readonly runtime: typeof proto3;
3499
+ static readonly typeName = "livekit.agent.TextMessageRequest";
3500
+ static readonly fields: FieldList;
3501
+
3502
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageRequest;
3503
+
3504
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageRequest;
3505
+
3506
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageRequest;
3507
+
3508
+ static equals(a: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined, b: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined): boolean;
3509
+ }
3510
+
3511
+ /**
3512
+ * Response to a text message request, multiple responses may be sent for a single request until it is complete.
3513
+ *
3514
+ * @generated from message livekit.agent.TextMessageResponse
3515
+ */
3516
+ declare class TextMessageResponse extends Message<TextMessageResponse> {
3517
+ /**
3518
+ * @generated from field: string message_id = 1;
3519
+ */
3520
+ messageId: string;
3521
+
3522
+ /**
3523
+ * @generated from field: string session_id = 2;
3524
+ */
3525
+ sessionId: string;
3526
+
3527
+ /**
3528
+ * @generated from oneof livekit.agent.TextMessageResponse.event
3529
+ */
3530
+ event: {
3531
+ /**
3532
+ * @generated from field: livekit.agent.ChatMessage message = 3;
3533
+ */
3534
+ value: ChatMessage$1;
3535
+ case: "message";
3536
+ } | {
3537
+ /**
3538
+ * @generated from field: livekit.agent.FunctionCall function_call = 4;
3539
+ */
3540
+ value: FunctionCall;
3541
+ case: "functionCall";
3542
+ } | {
3543
+ /**
3544
+ * @generated from field: livekit.agent.FunctionCallOutput function_call_output = 5;
3545
+ */
3546
+ value: FunctionCallOutput;
3547
+ case: "functionCallOutput";
3548
+ } | {
3549
+ /**
3550
+ * @generated from field: livekit.agent.AgentHandoff agent_handoff = 6;
3551
+ */
3552
+ value: AgentHandoff;
3553
+ case: "agentHandoff";
3554
+ } | {
3555
+ /**
3556
+ * @generated from field: livekit.agent.TextMessageComplete complete = 7;
3557
+ */
3558
+ value: TextMessageComplete;
3559
+ case: "complete";
3560
+ } | { case: undefined; value?: undefined };
3561
+
3562
+ constructor(data?: PartialMessage<TextMessageResponse>);
3563
+
3564
+ static readonly runtime: typeof proto3;
3565
+ static readonly typeName = "livekit.agent.TextMessageResponse";
3566
+ static readonly fields: FieldList;
3567
+
3568
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageResponse;
3569
+
3570
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageResponse;
3571
+
3572
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageResponse;
3573
+
3574
+ static equals(a: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined, b: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined): boolean;
3575
+ }
3576
+
3577
+ /**
3578
+ * Indicates the text message session is complete.
3579
+ *
3580
+ * @generated from message livekit.agent.TextMessageComplete
3581
+ */
3582
+ declare class TextMessageComplete extends Message<TextMessageComplete> {
3583
+ /**
3584
+ * @generated from oneof livekit.agent.TextMessageComplete.result
3585
+ */
3586
+ result: {
3587
+ /**
3588
+ * @generated from field: livekit.agent.AgentSessionState session_state = 1;
3589
+ */
3590
+ value: AgentSessionState;
3591
+ case: "sessionState";
3592
+ } | {
3593
+ /**
3594
+ * @generated from field: livekit.agent.TextMessageError error = 2;
3595
+ */
3596
+ value: TextMessageError;
3597
+ case: "error";
3598
+ } | { case: undefined; value?: undefined };
3599
+
3600
+ constructor(data?: PartialMessage<TextMessageComplete>);
3601
+
3602
+ static readonly runtime: typeof proto3;
3603
+ static readonly typeName = "livekit.agent.TextMessageComplete";
3604
+ static readonly fields: FieldList;
3605
+
3606
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageComplete;
3607
+
3608
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageComplete;
3609
+
3610
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageComplete;
3611
+
3612
+ static equals(a: TextMessageComplete | PlainMessage<TextMessageComplete> | undefined, b: TextMessageComplete | PlainMessage<TextMessageComplete> | undefined): boolean;
3613
+ }
3614
+
3615
+ /**
3616
+ * @generated from message livekit.agent.AgentSessionState
3617
+ */
3618
+ declare class AgentSessionState extends Message<AgentSessionState> {
3619
+ /**
3620
+ * @generated from field: uint64 version = 1;
3621
+ */
3622
+ version: bigint;
3623
+
3624
+ /**
3625
+ * @generated from oneof livekit.agent.AgentSessionState.data
3626
+ */
3627
+ data: {
3628
+ /**
3629
+ * @generated from field: bytes snapshot = 2;
3630
+ */
3631
+ value: Uint8Array;
3632
+ case: "snapshot";
3633
+ } | {
3634
+ /**
3635
+ * @generated from field: bytes delta = 3;
3636
+ */
3637
+ value: Uint8Array;
3638
+ case: "delta";
3639
+ } | { case: undefined; value?: undefined };
3640
+
3641
+ constructor(data?: PartialMessage<AgentSessionState>);
3642
+
3643
+ static readonly runtime: typeof proto3;
3644
+ static readonly typeName = "livekit.agent.AgentSessionState";
3645
+ static readonly fields: FieldList;
3646
+
3647
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionState;
3648
+
3649
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionState;
3650
+
3651
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionState;
3652
+
3653
+ static equals(a: AgentSessionState | PlainMessage<AgentSessionState> | undefined, b: AgentSessionState | PlainMessage<AgentSessionState> | undefined): boolean;
3654
+ }
3655
+
3656
+ /**
3657
+ * @generated from message livekit.agent.TextMessageError
3658
+ */
3659
+ declare class TextMessageError extends Message<TextMessageError> {
3660
+ /**
3661
+ * @generated from field: string message = 1;
3662
+ */
3663
+ message: string;
3664
+
3665
+ /**
3666
+ * @generated from field: livekit.agent.TextMessageErrorCode code = 2;
3667
+ */
3668
+ code: TextMessageErrorCode;
3669
+
3670
+ constructor(data?: PartialMessage<TextMessageError>);
3671
+
3672
+ static readonly runtime: typeof proto3;
3673
+ static readonly typeName = "livekit.agent.TextMessageError";
3674
+ static readonly fields: FieldList;
3675
+
3676
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageError;
3677
+
3678
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageError;
3679
+
3680
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageError;
3681
+
3682
+ static equals(a: TextMessageError | PlainMessage<TextMessageError> | undefined, b: TextMessageError | PlainMessage<TextMessageError> | undefined): boolean;
3683
+ }
3684
+
3685
+ type livekit_agent_text_pb_d_AgentSessionState = AgentSessionState;
3686
+ declare const livekit_agent_text_pb_d_AgentSessionState: typeof AgentSessionState;
3687
+ type livekit_agent_text_pb_d_TextMessageComplete = TextMessageComplete;
3688
+ declare const livekit_agent_text_pb_d_TextMessageComplete: typeof TextMessageComplete;
3689
+ type livekit_agent_text_pb_d_TextMessageError = TextMessageError;
3690
+ declare const livekit_agent_text_pb_d_TextMessageError: typeof TextMessageError;
3691
+ type livekit_agent_text_pb_d_TextMessageErrorCode = TextMessageErrorCode;
3692
+ declare const livekit_agent_text_pb_d_TextMessageErrorCode: typeof TextMessageErrorCode;
3693
+ type livekit_agent_text_pb_d_TextMessageRequest = TextMessageRequest;
3694
+ declare const livekit_agent_text_pb_d_TextMessageRequest: typeof TextMessageRequest;
3695
+ type livekit_agent_text_pb_d_TextMessageResponse = TextMessageResponse;
3696
+ declare const livekit_agent_text_pb_d_TextMessageResponse: typeof TextMessageResponse;
3697
+ declare namespace livekit_agent_text_pb_d {
3698
+ export { livekit_agent_text_pb_d_AgentSessionState as AgentSessionState, livekit_agent_text_pb_d_TextMessageComplete as TextMessageComplete, livekit_agent_text_pb_d_TextMessageError as TextMessageError, livekit_agent_text_pb_d_TextMessageErrorCode as TextMessageErrorCode, livekit_agent_text_pb_d_TextMessageRequest as TextMessageRequest, livekit_agent_text_pb_d_TextMessageResponse as TextMessageResponse };
3699
+ }
3700
+
3701
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
3702
+ // @generated from file agent/livekit_agent_dev.proto (package livekit.agent, syntax proto3)
3703
+ /* eslint-disable */
3704
+ // @ts-nocheck
3705
+
3706
+
3707
+
3708
+ /**
3709
+ * AgentDevMessage is used for IPC between the CLI and agent processes
3710
+ * during dev-mode hot reload.
3711
+ *
3712
+ * @generated from message livekit.agent.AgentDevMessage
3713
+ */
3714
+ declare class AgentDevMessage extends Message<AgentDevMessage> {
3715
+ /**
3716
+ * @generated from oneof livekit.agent.AgentDevMessage.message
2092
3717
  */
2093
- samplesPerChannel: number;
3718
+ message: {
3719
+ /**
3720
+ * @generated from field: livekit.agent.GetRunningAgentJobsRequest get_running_jobs_request = 1;
3721
+ */
3722
+ value: GetRunningAgentJobsRequest;
3723
+ case: "getRunningJobsRequest";
3724
+ } | {
3725
+ /**
3726
+ * @generated from field: livekit.agent.GetRunningAgentJobsResponse get_running_jobs_response = 2;
3727
+ */
3728
+ value: GetRunningAgentJobsResponse;
3729
+ case: "getRunningJobsResponse";
3730
+ } | { case: undefined; value?: undefined };
2094
3731
 
2095
- constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioFrame>);
3732
+ constructor(data?: PartialMessage<AgentDevMessage>);
2096
3733
 
2097
3734
  static readonly runtime: typeof proto3;
2098
- static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioFrame";
3735
+ static readonly typeName = "livekit.agent.AgentDevMessage";
2099
3736
  static readonly fields: FieldList;
2100
3737
 
2101
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
3738
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentDevMessage;
2102
3739
 
2103
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
3740
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentDevMessage;
2104
3741
 
2105
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioFrame;
3742
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentDevMessage;
2106
3743
 
2107
- static equals(a: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined, b: AgentSessionMessage_ConsoleIO_AudioFrame | PlainMessage<AgentSessionMessage_ConsoleIO_AudioFrame> | undefined): boolean;
3744
+ static equals(a: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined, b: AgentDevMessage | PlainMessage<AgentDevMessage> | undefined): boolean;
2108
3745
  }
2109
3746
 
2110
3747
  /**
2111
- * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush
3748
+ * @generated from message livekit.agent.GetRunningAgentJobsRequest
2112
3749
  */
2113
- declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFlush extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> {
2114
- constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush>);
3750
+ declare class GetRunningAgentJobsRequest extends Message<GetRunningAgentJobsRequest> {
3751
+ constructor(data?: PartialMessage<GetRunningAgentJobsRequest>);
2115
3752
 
2116
3753
  static readonly runtime: typeof proto3;
2117
- static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFlush";
3754
+ static readonly typeName = "livekit.agent.GetRunningAgentJobsRequest";
2118
3755
  static readonly fields: FieldList;
2119
3756
 
2120
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
3757
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningAgentJobsRequest;
2121
3758
 
2122
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
3759
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningAgentJobsRequest;
2123
3760
 
2124
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
3761
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningAgentJobsRequest;
2125
3762
 
2126
- static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFlush | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFlush> | undefined): boolean;
3763
+ static equals(a: GetRunningAgentJobsRequest | PlainMessage<GetRunningAgentJobsRequest> | undefined, b: GetRunningAgentJobsRequest | PlainMessage<GetRunningAgentJobsRequest> | undefined): boolean;
2127
3764
  }
2128
3765
 
2129
3766
  /**
2130
- * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear
3767
+ * @generated from message livekit.agent.GetRunningAgentJobsResponse
2131
3768
  */
2132
- declare class AgentSessionMessage_ConsoleIO_AudioPlaybackClear extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> {
2133
- constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear>);
3769
+ declare class GetRunningAgentJobsResponse extends Message<GetRunningAgentJobsResponse> {
3770
+ /**
3771
+ * @generated from field: repeated livekit.agent.RunningAgentJobInfo jobs = 1;
3772
+ */
3773
+ jobs: RunningAgentJobInfo[];
3774
+
3775
+ constructor(data?: PartialMessage<GetRunningAgentJobsResponse>);
2134
3776
 
2135
3777
  static readonly runtime: typeof proto3;
2136
- static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackClear";
3778
+ static readonly typeName = "livekit.agent.GetRunningAgentJobsResponse";
2137
3779
  static readonly fields: FieldList;
2138
3780
 
2139
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
3781
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetRunningAgentJobsResponse;
2140
3782
 
2141
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
3783
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetRunningAgentJobsResponse;
2142
3784
 
2143
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
3785
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetRunningAgentJobsResponse;
2144
3786
 
2145
- static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackClear | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackClear> | undefined): boolean;
3787
+ static equals(a: GetRunningAgentJobsResponse | PlainMessage<GetRunningAgentJobsResponse> | undefined, b: GetRunningAgentJobsResponse | PlainMessage<GetRunningAgentJobsResponse> | undefined): boolean;
2146
3788
  }
2147
3789
 
2148
3790
  /**
2149
- * @generated from message livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished
3791
+ * @generated from message livekit.agent.RunningAgentJobInfo
2150
3792
  */
2151
- declare class AgentSessionMessage_ConsoleIO_AudioPlaybackFinished extends Message<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> {
2152
- constructor(data?: PartialMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished>);
3793
+ declare class RunningAgentJobInfo extends Message<RunningAgentJobInfo> {
3794
+ /**
3795
+ * @generated from field: bytes job = 1;
3796
+ */
3797
+ job: Uint8Array;
3798
+
3799
+ /**
3800
+ * @generated from field: string accept_name = 2;
3801
+ */
3802
+ acceptName: string;
3803
+
3804
+ /**
3805
+ * @generated from field: string accept_identity = 3;
3806
+ */
3807
+ acceptIdentity: string;
3808
+
3809
+ /**
3810
+ * @generated from field: string accept_metadata = 4;
3811
+ */
3812
+ acceptMetadata: string;
3813
+
3814
+ /**
3815
+ * @generated from field: string url = 5;
3816
+ */
3817
+ url: string;
3818
+
3819
+ /**
3820
+ * @generated from field: string token = 6;
3821
+ */
3822
+ token: string;
3823
+
3824
+ /**
3825
+ * @generated from field: string worker_id = 7;
3826
+ */
3827
+ workerId: string;
3828
+
3829
+ /**
3830
+ * @generated from field: bool mock_job = 8;
3831
+ */
3832
+ mockJob: boolean;
3833
+
3834
+ constructor(data?: PartialMessage<RunningAgentJobInfo>);
2153
3835
 
2154
3836
  static readonly runtime: typeof proto3;
2155
- static readonly typeName = "livekit.agent.AgentSessionMessage.ConsoleIO.AudioPlaybackFinished";
3837
+ static readonly typeName = "livekit.agent.RunningAgentJobInfo";
2156
3838
  static readonly fields: FieldList;
2157
3839
 
2158
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
3840
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RunningAgentJobInfo;
2159
3841
 
2160
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
3842
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RunningAgentJobInfo;
2161
3843
 
2162
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
3844
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RunningAgentJobInfo;
2163
3845
 
2164
- static equals(a: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined, b: AgentSessionMessage_ConsoleIO_AudioPlaybackFinished | PlainMessage<AgentSessionMessage_ConsoleIO_AudioPlaybackFinished> | undefined): boolean;
3846
+ static equals(a: RunningAgentJobInfo | PlainMessage<RunningAgentJobInfo> | undefined, b: RunningAgentJobInfo | PlainMessage<RunningAgentJobInfo> | undefined): boolean;
2165
3847
  }
2166
3848
 
2167
- type livekit_agent_session_pb_d_AgentConfigUpdate = AgentConfigUpdate;
2168
- declare const livekit_agent_session_pb_d_AgentConfigUpdate: typeof AgentConfigUpdate;
2169
- type livekit_agent_session_pb_d_AgentHandoff = AgentHandoff;
2170
- declare const livekit_agent_session_pb_d_AgentHandoff: typeof AgentHandoff;
2171
- type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent;
2172
- declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent;
2173
- type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged;
2174
- declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged;
2175
- type livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction = AgentSessionEvent_AmdPrediction;
2176
- declare const livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction: typeof AgentSessionEvent_AmdPrediction;
2177
- type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
2178
- declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
2179
- type livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction = AgentSessionEvent_EotPrediction;
2180
- declare const livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction: typeof AgentSessionEvent_EotPrediction;
2181
- type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
2182
- declare const livekit_agent_session_pb_d_AgentSessionEvent_Error: typeof AgentSessionEvent_Error;
2183
- type livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted = AgentSessionEvent_FunctionToolsExecuted;
2184
- declare const livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted: typeof AgentSessionEvent_FunctionToolsExecuted;
2185
- type livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech = AgentSessionEvent_OverlappingSpeech;
2186
- declare const livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech: typeof AgentSessionEvent_OverlappingSpeech;
2187
- type livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated = AgentSessionEvent_SessionUsageUpdated;
2188
- declare const livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated: typeof AgentSessionEvent_SessionUsageUpdated;
2189
- type livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed = AgentSessionEvent_UserInputTranscribed;
2190
- declare const livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed: typeof AgentSessionEvent_UserInputTranscribed;
2191
- type livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged = AgentSessionEvent_UserStateChanged;
2192
- declare const livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged: typeof AgentSessionEvent_UserStateChanged;
2193
- type livekit_agent_session_pb_d_AgentSessionMessage = AgentSessionMessage;
2194
- declare const livekit_agent_session_pb_d_AgentSessionMessage: typeof AgentSessionMessage;
2195
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO = AgentSessionMessage_ConsoleIO;
2196
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO: typeof AgentSessionMessage_ConsoleIO;
2197
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame = AgentSessionMessage_ConsoleIO_AudioFrame;
2198
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame: typeof AgentSessionMessage_ConsoleIO_AudioFrame;
2199
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear = AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2200
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackClear;
2201
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished = AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2202
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFinished;
2203
- type livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush = AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2204
- declare const livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush: typeof AgentSessionMessage_ConsoleIO_AudioPlaybackFlush;
2205
- type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage;
2206
- declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage;
2207
- type livekit_agent_session_pb_d_AgentState = AgentState;
2208
- declare const livekit_agent_session_pb_d_AgentState: typeof AgentState;
2209
- type livekit_agent_session_pb_d_AmdCategory = AmdCategory;
2210
- declare const livekit_agent_session_pb_d_AmdCategory: typeof AmdCategory;
2211
- type livekit_agent_session_pb_d_ChatContext = ChatContext;
2212
- declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
2213
- type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
2214
- declare const livekit_agent_session_pb_d_ChatContext_ChatItem: typeof ChatContext_ChatItem;
2215
- type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatContent;
2216
- declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent;
2217
- type livekit_agent_session_pb_d_ChatRole = ChatRole;
2218
- declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole;
2219
- type livekit_agent_session_pb_d_EotModelUsage = EotModelUsage;
2220
- declare const livekit_agent_session_pb_d_EotModelUsage: typeof EotModelUsage;
2221
- type livekit_agent_session_pb_d_FunctionCall = FunctionCall;
2222
- declare const livekit_agent_session_pb_d_FunctionCall: typeof FunctionCall;
2223
- type livekit_agent_session_pb_d_FunctionCallOutput = FunctionCallOutput;
2224
- declare const livekit_agent_session_pb_d_FunctionCallOutput: typeof FunctionCallOutput;
2225
- type livekit_agent_session_pb_d_InterruptionModelUsage = InterruptionModelUsage;
2226
- declare const livekit_agent_session_pb_d_InterruptionModelUsage: typeof InterruptionModelUsage;
2227
- type livekit_agent_session_pb_d_LLMModelUsage = LLMModelUsage;
2228
- declare const livekit_agent_session_pb_d_LLMModelUsage: typeof LLMModelUsage;
2229
- type livekit_agent_session_pb_d_MetricsReport = MetricsReport;
2230
- declare const livekit_agent_session_pb_d_MetricsReport: typeof MetricsReport;
2231
- type livekit_agent_session_pb_d_ModelUsage = ModelUsage;
2232
- declare const livekit_agent_session_pb_d_ModelUsage: typeof ModelUsage;
2233
- type livekit_agent_session_pb_d_STTModelUsage = STTModelUsage;
2234
- declare const livekit_agent_session_pb_d_STTModelUsage: typeof STTModelUsage;
2235
- type livekit_agent_session_pb_d_SessionRequest = SessionRequest;
2236
- declare const livekit_agent_session_pb_d_SessionRequest: typeof SessionRequest;
2237
- type livekit_agent_session_pb_d_SessionRequest_GetAgentInfo = SessionRequest_GetAgentInfo;
2238
- declare const livekit_agent_session_pb_d_SessionRequest_GetAgentInfo: typeof SessionRequest_GetAgentInfo;
2239
- type livekit_agent_session_pb_d_SessionRequest_GetChatHistory = SessionRequest_GetChatHistory;
2240
- declare const livekit_agent_session_pb_d_SessionRequest_GetChatHistory: typeof SessionRequest_GetChatHistory;
2241
- type livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo = SessionRequest_GetFrameworkInfo;
2242
- declare const livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo: typeof SessionRequest_GetFrameworkInfo;
2243
- type livekit_agent_session_pb_d_SessionRequest_GetRTCStats = SessionRequest_GetRTCStats;
2244
- declare const livekit_agent_session_pb_d_SessionRequest_GetRTCStats: typeof SessionRequest_GetRTCStats;
2245
- type livekit_agent_session_pb_d_SessionRequest_GetSessionState = SessionRequest_GetSessionState;
2246
- declare const livekit_agent_session_pb_d_SessionRequest_GetSessionState: typeof SessionRequest_GetSessionState;
2247
- type livekit_agent_session_pb_d_SessionRequest_GetSessionUsage = SessionRequest_GetSessionUsage;
2248
- declare const livekit_agent_session_pb_d_SessionRequest_GetSessionUsage: typeof SessionRequest_GetSessionUsage;
2249
- type livekit_agent_session_pb_d_SessionRequest_Ping = SessionRequest_Ping;
2250
- declare const livekit_agent_session_pb_d_SessionRequest_Ping: typeof SessionRequest_Ping;
2251
- type livekit_agent_session_pb_d_SessionRequest_RunInput = SessionRequest_RunInput;
2252
- declare const livekit_agent_session_pb_d_SessionRequest_RunInput: typeof SessionRequest_RunInput;
2253
- type livekit_agent_session_pb_d_SessionRequest_UpdateIO = SessionRequest_UpdateIO;
2254
- declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO: typeof SessionRequest_UpdateIO;
2255
- type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input = SessionRequest_UpdateIO_Input;
2256
- declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input: typeof SessionRequest_UpdateIO_Input;
2257
- type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output = SessionRequest_UpdateIO_Output;
2258
- declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output: typeof SessionRequest_UpdateIO_Output;
2259
- type livekit_agent_session_pb_d_SessionResponse = SessionResponse;
2260
- declare const livekit_agent_session_pb_d_SessionResponse: typeof SessionResponse;
2261
- type livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse = SessionResponse_GetAgentInfoResponse;
2262
- declare const livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse: typeof SessionResponse_GetAgentInfoResponse;
2263
- type livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse = SessionResponse_GetChatHistoryResponse;
2264
- declare const livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse: typeof SessionResponse_GetChatHistoryResponse;
2265
- type livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse = SessionResponse_GetFrameworkInfoResponse;
2266
- declare const livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse: typeof SessionResponse_GetFrameworkInfoResponse;
2267
- type livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse = SessionResponse_GetRTCStatsResponse;
2268
- declare const livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse: typeof SessionResponse_GetRTCStatsResponse;
2269
- type livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse = SessionResponse_GetSessionStateResponse;
2270
- declare const livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse: typeof SessionResponse_GetSessionStateResponse;
2271
- type livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse = SessionResponse_GetSessionUsageResponse;
2272
- declare const livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse: typeof SessionResponse_GetSessionUsageResponse;
2273
- type livekit_agent_session_pb_d_SessionResponse_Pong = SessionResponse_Pong;
2274
- declare const livekit_agent_session_pb_d_SessionResponse_Pong: typeof SessionResponse_Pong;
2275
- type livekit_agent_session_pb_d_SessionResponse_RunInputResponse = SessionResponse_RunInputResponse;
2276
- declare const livekit_agent_session_pb_d_SessionResponse_RunInputResponse: typeof SessionResponse_RunInputResponse;
2277
- type livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse = SessionResponse_UpdateIOResponse;
2278
- declare const livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse: typeof SessionResponse_UpdateIOResponse;
2279
- type livekit_agent_session_pb_d_TTSModelUsage = TTSModelUsage;
2280
- declare const livekit_agent_session_pb_d_TTSModelUsage: typeof TTSModelUsage;
2281
- type livekit_agent_session_pb_d_TimedString = TimedString;
2282
- declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
2283
- type livekit_agent_session_pb_d_UserState = UserState;
2284
- declare const livekit_agent_session_pb_d_UserState: typeof UserState;
2285
- declare namespace livekit_agent_session_pb_d {
2286
- export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_EotPrediction as AgentSessionEvent_EotPrediction, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_EotModelUsage as EotModelUsage, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionRequest_UpdateIO as SessionRequest_UpdateIO, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input as SessionRequest_UpdateIO_Input, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output as SessionRequest_UpdateIO_Output, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_SessionResponse_UpdateIOResponse as SessionResponse_UpdateIOResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
3849
+ type livekit_agent_dev_pb_d_AgentDevMessage = AgentDevMessage;
3850
+ declare const livekit_agent_dev_pb_d_AgentDevMessage: typeof AgentDevMessage;
3851
+ type livekit_agent_dev_pb_d_GetRunningAgentJobsRequest = GetRunningAgentJobsRequest;
3852
+ declare const livekit_agent_dev_pb_d_GetRunningAgentJobsRequest: typeof GetRunningAgentJobsRequest;
3853
+ type livekit_agent_dev_pb_d_GetRunningAgentJobsResponse = GetRunningAgentJobsResponse;
3854
+ declare const livekit_agent_dev_pb_d_GetRunningAgentJobsResponse: typeof GetRunningAgentJobsResponse;
3855
+ type livekit_agent_dev_pb_d_RunningAgentJobInfo = RunningAgentJobInfo;
3856
+ declare const livekit_agent_dev_pb_d_RunningAgentJobInfo: typeof RunningAgentJobInfo;
3857
+ declare namespace livekit_agent_dev_pb_d {
3858
+ export { livekit_agent_dev_pb_d_AgentDevMessage as AgentDevMessage, livekit_agent_dev_pb_d_GetRunningAgentJobsRequest as GetRunningAgentJobsRequest, livekit_agent_dev_pb_d_GetRunningAgentJobsResponse as GetRunningAgentJobsResponse, livekit_agent_dev_pb_d_RunningAgentJobInfo as RunningAgentJobInfo };
2287
3859
  }
2288
3860
 
2289
3861
  // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
@@ -11430,6 +13002,14 @@ declare class RoomParticipantIdentity extends Message<RoomParticipantIdentity> {
11430
13002
  */
11431
13003
  identity: string;
11432
13004
 
13005
+ /**
13006
+ * Unix timestamp used to invalidate token whose nbf is before this value.
13007
+ * Used only by RemoveParticipant; defaults to now(server)+leeway(1min) if left empty.
13008
+ *
13009
+ * @generated from field: int64 revoke_token_ts = 3;
13010
+ */
13011
+ revokeTokenTs: bigint;
13012
+
11433
13013
  constructor(data?: PartialMessage<RoomParticipantIdentity>);
11434
13014
 
11435
13015
  static readonly runtime: typeof proto3;
@@ -14534,6 +16114,27 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
14534
16114
  */
14535
16115
  trunk?: SIPOutboundConfig;
14536
16116
 
16117
+ /**
16118
+ * INVITE <uri>
16119
+ *
16120
+ * @generated from field: livekit.SIPRequestDest sip_request_uri = 24;
16121
+ */
16122
+ sipRequestUri?: SIPRequestDest;
16123
+
16124
+ /**
16125
+ * To: "Name" <uri>
16126
+ *
16127
+ * @generated from field: livekit.SIPNamedDest sip_to_header = 25;
16128
+ */
16129
+ sipToHeader?: SIPNamedDest;
16130
+
16131
+ /**
16132
+ * From: "Name" <uri>
16133
+ *
16134
+ * @generated from field: livekit.SIPNamedDest sip_from_header = 26;
16135
+ */
16136
+ sipFromHeader?: SIPNamedDest;
16137
+
14537
16138
  /**
14538
16139
  * What number should be dialed via SIP
14539
16140
  *
@@ -14683,7 +16284,7 @@ declare class CreateSIPParticipantRequest extends Message<CreateSIPParticipantRe
14683
16284
  displayName?: string;
14684
16285
 
14685
16286
  /**
14686
- * NEXT ID: 24
16287
+ * NEXT ID: 27
14687
16288
  *
14688
16289
  * @generated from field: optional livekit.Destination destination = 22;
14689
16290
  */
@@ -15065,6 +16666,87 @@ declare class SIPUri extends Message<SIPUri> {
15065
16666
  static equals(a: SIPUri | PlainMessage<SIPUri> | undefined, b: SIPUri | PlainMessage<SIPUri> | undefined): boolean;
15066
16667
  }
15067
16668
 
16669
+ /**
16670
+ * @generated from message livekit.SIPRequestDest
16671
+ */
16672
+ declare class SIPRequestDest extends Message<SIPRequestDest> {
16673
+ /**
16674
+ * @generated from oneof livekit.SIPRequestDest.uri
16675
+ */
16676
+ uri: {
16677
+ /**
16678
+ * <sip:user@sip.example.com:5060;transport=tcp>
16679
+ *
16680
+ * @generated from field: string raw = 1;
16681
+ */
16682
+ value: string;
16683
+ case: "raw";
16684
+ } | {
16685
+ /**
16686
+ * @generated from field: livekit.SIPUri values = 2;
16687
+ */
16688
+ value: SIPUri;
16689
+ case: "values";
16690
+ } | { case: undefined; value?: undefined };
16691
+
16692
+ constructor(data?: PartialMessage<SIPRequestDest>);
16693
+
16694
+ static readonly runtime: typeof proto3;
16695
+ static readonly typeName = "livekit.SIPRequestDest";
16696
+ static readonly fields: FieldList;
16697
+
16698
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPRequestDest;
16699
+
16700
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPRequestDest;
16701
+
16702
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPRequestDest;
16703
+
16704
+ static equals(a: SIPRequestDest | PlainMessage<SIPRequestDest> | undefined, b: SIPRequestDest | PlainMessage<SIPRequestDest> | undefined): boolean;
16705
+ }
16706
+
16707
+ /**
16708
+ * @generated from message livekit.SIPNamedDest
16709
+ */
16710
+ declare class SIPNamedDest extends Message<SIPNamedDest> {
16711
+ /**
16712
+ * @generated from field: string display_name = 3;
16713
+ */
16714
+ displayName: string;
16715
+
16716
+ /**
16717
+ * @generated from oneof livekit.SIPNamedDest.uri
16718
+ */
16719
+ uri: {
16720
+ /**
16721
+ * <sip:user@sip.example.com:5060;transport=tcp>
16722
+ *
16723
+ * @generated from field: string raw = 1;
16724
+ */
16725
+ value: string;
16726
+ case: "raw";
16727
+ } | {
16728
+ /**
16729
+ * @generated from field: livekit.SIPUri values = 2;
16730
+ */
16731
+ value: SIPUri;
16732
+ case: "values";
16733
+ } | { case: undefined; value?: undefined };
16734
+
16735
+ constructor(data?: PartialMessage<SIPNamedDest>);
16736
+
16737
+ static readonly runtime: typeof proto3;
16738
+ static readonly typeName = "livekit.SIPNamedDest";
16739
+ static readonly fields: FieldList;
16740
+
16741
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SIPNamedDest;
16742
+
16743
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SIPNamedDest;
16744
+
16745
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SIPNamedDest;
16746
+
16747
+ static equals(a: SIPNamedDest | PlainMessage<SIPNamedDest> | undefined, b: SIPNamedDest | PlainMessage<SIPNamedDest> | undefined): boolean;
16748
+ }
16749
+
15068
16750
  /**
15069
16751
  * @generated from message livekit.Destination
15070
16752
  */
@@ -16180,6 +17862,11 @@ declare enum FeatureUsageInfo_Feature {
16180
17862
  * @generated from enum value: AIC_AUDIO_ENHANCEMENT = 2;
16181
17863
  */
16182
17864
  AIC_AUDIO_ENHANCEMENT = 2,
17865
+
17866
+ /**
17867
+ * @generated from enum value: KRISP_VIVA = 3;
17868
+ */
17869
+ KRISP_VIVA = 3,
16183
17870
  }
16184
17871
 
16185
17872
  /**
@@ -20125,4 +21812,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
20125
21812
 
20126
21813
  declare const version: string;
20127
21814
 
20128
- export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AnalyticsClientMeta, AnalyticsEvent, AnalyticsEventType, AnalyticsEvents, AnalyticsNodeRooms, AnalyticsRoom, AnalyticsRoomParticipant, AnalyticsStat, AnalyticsStats, AnalyticsStream, AnalyticsVideoLayer, AudioChannel, AudioCodec, AudioConfig, AudioMixing, AudioRoute, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_Capability, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataConfig, DataPacket, DataPacket_Kind, DataSelector, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallRequest_DisconnectReason, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, ExportReplayRequest, FeatureUsageInfo, FeatureUsageInfo_Feature, FileInfo, FileOutput, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobRestartPolicy, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MediaSource, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Output, PacketTrailerFeature, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, ParticipantVideo, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, ReportInfo, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPCodec, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaConfig, SIPMediaEncryption, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StartEgressRequest, StopEgressRequest, StorageConfig, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, StreamType, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TemplateSource, TimeRange, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateEgressRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebSource, WebhookConfig, WebhookEvent, WebhookInfo, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
21815
+ export { APICallInfo, APICallRequest, AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, livekit_agent_dev_pb_d as AgentDev, AgentDispatch, AgentDispatchState, livekit_agent_inference_pb_d as AgentInference, livekit_agent_session_pb_d as AgentSession, livekit_agent_text_pb_d as AgentText, AliOSSUpload, AnalyticsClientMeta, AnalyticsEvent, AnalyticsEventType, AnalyticsEvents, AnalyticsNodeRooms, AnalyticsRoom, AnalyticsRoomParticipant, AnalyticsStat, AnalyticsStats, AnalyticsStream, AnalyticsVideoLayer, AudioChannel, AudioCodec, AudioConfig, AudioMixing, AudioRoute, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_Capability, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataConfig, DataPacket, DataPacket_Kind, DataSelector, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DataTrackExtensionID, DataTrackExtensionParticipantSid, DataTrackInfo, DataTrackSubscriberHandles, DataTrackSubscriberHandles_PublishedDataTrack, DataTrackSubscriptionOptions, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallRequest_DisconnectReason, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, ExportReplayRequest, FeatureUsageInfo, FeatureUsageInfo_Feature, FileInfo, FileOutput, FilterParams, ForwardParticipantRequest, ForwardParticipantResponse, GCPUpload, GetSIPInboundTrunkRequest, GetSIPInboundTrunkResponse, GetSIPOutboundTrunkRequest, GetSIPOutboundTrunkResponse, ICEServer, ImageCodec, ImageFileSuffix, ImageOutput, ImagesInfo, IngressAudioEncodingOptions, IngressAudioEncodingPreset, IngressAudioOptions, IngressInfo, IngressInput, IngressState, IngressState_Status, IngressVideoEncodingOptions, IngressVideoEncodingPreset, IngressVideoOptions, InputAudioState, InputVideoState, Job, JobAssignment, JobRestartPolicy, JobState, JobStatus, JobTermination, JobType, JoinRequest, JoinResponse, LeaveRequest, LeaveRequest_Action, ListAgentDispatchRequest, ListAgentDispatchResponse, ListEgressRequest, ListEgressResponse, ListIngressRequest, ListIngressResponse, ListParticipantsRequest, ListParticipantsResponse, ListRoomsRequest, ListRoomsResponse, ListSIPDispatchRuleRequest, ListSIPDispatchRuleResponse, ListSIPInboundTrunkRequest, ListSIPInboundTrunkResponse, ListSIPOutboundTrunkRequest, ListSIPOutboundTrunkResponse, ListSIPTrunkRequest, ListSIPTrunkResponse, ListUpdate, MediaSectionsRequirement, MediaSource, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Output, PacketTrailerFeature, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, ParticipantVideo, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, PublishDataTrackRequest, PublishDataTrackResponse, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, ReportInfo, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPCodec, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, SIPMediaConfig, SIPMediaEncryption, SIPNamedDest, SIPOutboundConfig, SIPOutboundTrunkInfo, SIPOutboundTrunkUpdate, SIPParticipantInfo, SIPRequestDest, SIPStatus, SIPStatusCode, SIPTransferInfo, SIPTransferStatus, SIPTransport, SIPTrunkInfo, SIPTrunkInfo_TrunkKind, SIPUri, SegmentedFileOutput, SegmentedFileProtocol, SegmentedFileSuffix, SegmentsInfo, SendDataRequest, SendDataResponse, ServerInfo, ServerInfo_Edition, ServerMessage, SessionDescription, SignalRequest, SignalResponse, SignalTarget, SimulateJobRequest, SimulateScenario, SimulcastCodec, SimulcastCodecInfo, SipDTMF, SpeakerInfo, SpeakersChanged, StartEgressRequest, StopEgressRequest, StorageConfig, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, StreamType, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TemplateSource, TimeRange, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, UnpublishDataTrackRequest, UnpublishDataTrackResponse, UpdateDataSubscription, UpdateDataSubscription_Update, UpdateEgressRequest, UpdateIngressRequest, UpdateJobStatus, UpdateLayoutRequest, UpdateLocalAudioTrack, UpdateLocalVideoTrack, UpdateParticipantMetadata, UpdateParticipantRequest, UpdateRoomMetadataRequest, UpdateSIPDispatchRuleRequest, UpdateSIPInboundTrunkRequest, UpdateSIPOutboundTrunkRequest, UpdateStreamRequest, UpdateSubscription, UpdateSubscriptionsRequest, UpdateSubscriptionsResponse, UpdateTrackSettings, UpdateVideoLayers, UpdateWorkerStatus, UserPacket, VP8MungerState, VideoCodec, VideoConfiguration, VideoLayer, VideoLayer_Mode, VideoQuality, WebEgressRequest, WebSource, WebhookConfig, WebhookEvent, WebhookInfo, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };