@livekit/protocol 1.45.5 → 1.45.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,358 @@
1
+ // Copyright 2026 LiveKit, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
+ // @generated from file agent/livekit_agent_inference.proto (package livekit.agent, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import { Duration, proto3, Timestamp } from "@bufbuild/protobuf";
21
+ import { ChatMessage } from "./livekit_agent_session_pb.js";
22
+
23
+ /**
24
+ * @generated from enum livekit.agent.AudioEncoding
25
+ */
26
+ export const AudioEncoding = /*@__PURE__*/ proto3.makeEnum(
27
+ "livekit.agent.AudioEncoding",
28
+ [
29
+ {no: 0, name: "AUDIO_ENCODING_PCM_S16LE", localName: "PCM_S16LE"},
30
+ {no: 1, name: "AUDIO_ENCODING_OPUS", localName: "OPUS"},
31
+ ],
32
+ );
33
+
34
+ /**
35
+ * @generated from message livekit.agent.SessionSettings
36
+ */
37
+ export const SessionSettings = /*@__PURE__*/ proto3.makeMessageType(
38
+ "livekit.agent.SessionSettings",
39
+ () => [
40
+ { no: 1, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
41
+ { no: 2, name: "encoding", kind: "enum", T: proto3.getEnumType(AudioEncoding) },
42
+ { no: 3, name: "eot_settings", kind: "message", T: EotSettings, oneof: "type_settings" },
43
+ { no: 4, name: "interruption_settings", kind: "message", T: InterruptionSettings, oneof: "type_settings" },
44
+ ],
45
+ );
46
+
47
+ /**
48
+ * @generated from message livekit.agent.InferenceError
49
+ */
50
+ export const InferenceError = /*@__PURE__*/ proto3.makeMessageType(
51
+ "livekit.agent.InferenceError",
52
+ () => [
53
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
+ { no: 2, name: "code", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
55
+ ],
56
+ );
57
+
58
+ /**
59
+ * @generated from message livekit.agent.EotSettings
60
+ */
61
+ export const EotSettings = /*@__PURE__*/ proto3.makeMessageType(
62
+ "livekit.agent.EotSettings",
63
+ () => [
64
+ { no: 1, name: "detection_interval", kind: "message", T: Duration },
65
+ ],
66
+ );
67
+
68
+ /**
69
+ * @generated from message livekit.agent.InterruptionSettings
70
+ */
71
+ export const InterruptionSettings = /*@__PURE__*/ proto3.makeMessageType(
72
+ "livekit.agent.InterruptionSettings",
73
+ () => [
74
+ { no: 1, name: "threshold", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
75
+ { no: 2, name: "min_frames", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
76
+ { no: 3, name: "max_audio_duration", kind: "message", T: Duration },
77
+ { no: 4, name: "audio_prefix_duration", kind: "message", T: Duration },
78
+ { no: 5, name: "detection_interval", kind: "message", T: Duration },
79
+ ],
80
+ );
81
+
82
+ /**
83
+ * @generated from message livekit.agent.SessionCreate
84
+ */
85
+ export const SessionCreate = /*@__PURE__*/ proto3.makeMessageType(
86
+ "livekit.agent.SessionCreate",
87
+ () => [
88
+ { no: 1, name: "settings", kind: "message", T: SessionSettings },
89
+ ],
90
+ );
91
+
92
+ /**
93
+ * @generated from message livekit.agent.InputAudio
94
+ */
95
+ export const InputAudio = /*@__PURE__*/ proto3.makeMessageType(
96
+ "livekit.agent.InputAudio",
97
+ () => [
98
+ { no: 1, name: "audio", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
99
+ { no: 2, name: "created_at", kind: "message", T: Timestamp },
100
+ { no: 3, name: "num_samples", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
101
+ ],
102
+ );
103
+
104
+ /**
105
+ * @generated from message livekit.agent.EotInputChatContext
106
+ */
107
+ export const EotInputChatContext = /*@__PURE__*/ proto3.makeMessageType(
108
+ "livekit.agent.EotInputChatContext",
109
+ () => [
110
+ { no: 1, name: "messages", kind: "message", T: ChatMessage, repeated: true },
111
+ ],
112
+ );
113
+
114
+ /**
115
+ * @generated from message livekit.agent.SessionFlush
116
+ */
117
+ export const SessionFlush = /*@__PURE__*/ proto3.makeMessageType(
118
+ "livekit.agent.SessionFlush",
119
+ [],
120
+ );
121
+
122
+ /**
123
+ * @generated from message livekit.agent.SessionClose
124
+ */
125
+ export const SessionClose = /*@__PURE__*/ proto3.makeMessageType(
126
+ "livekit.agent.SessionClose",
127
+ [],
128
+ );
129
+
130
+ /**
131
+ * @generated from message livekit.agent.InferenceStart
132
+ */
133
+ export const InferenceStart = /*@__PURE__*/ proto3.makeMessageType(
134
+ "livekit.agent.InferenceStart",
135
+ () => [
136
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
137
+ ],
138
+ );
139
+
140
+ /**
141
+ * @generated from message livekit.agent.InferenceStop
142
+ */
143
+ export const InferenceStop = /*@__PURE__*/ proto3.makeMessageType(
144
+ "livekit.agent.InferenceStop",
145
+ () => [
146
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
147
+ ],
148
+ );
149
+
150
+ /**
151
+ * audio buffer sentinel messages
152
+ *
153
+ * @generated from message livekit.agent.BufferStart
154
+ */
155
+ export const BufferStart = /*@__PURE__*/ proto3.makeMessageType(
156
+ "livekit.agent.BufferStart",
157
+ [],
158
+ );
159
+
160
+ /**
161
+ * @generated from message livekit.agent.BufferStop
162
+ */
163
+ export const BufferStop = /*@__PURE__*/ proto3.makeMessageType(
164
+ "livekit.agent.BufferStop",
165
+ [],
166
+ );
167
+
168
+ /**
169
+ * @generated from message livekit.agent.ClientMessage
170
+ */
171
+ export const ClientMessage = /*@__PURE__*/ proto3.makeMessageType(
172
+ "livekit.agent.ClientMessage",
173
+ () => [
174
+ { no: 1, name: "created_at", kind: "message", T: Timestamp },
175
+ { no: 2, name: "session_create", kind: "message", T: SessionCreate, oneof: "message" },
176
+ { no: 3, name: "input_audio", kind: "message", T: InputAudio, oneof: "message" },
177
+ { no: 4, name: "session_flush", kind: "message", T: SessionFlush, oneof: "message" },
178
+ { no: 5, name: "session_close", kind: "message", T: SessionClose, oneof: "message" },
179
+ { no: 6, name: "inference_start", kind: "message", T: InferenceStart, oneof: "message" },
180
+ { no: 7, name: "inference_stop", kind: "message", T: InferenceStop, oneof: "message" },
181
+ { no: 8, name: "buffer_start", kind: "message", T: BufferStart, oneof: "message" },
182
+ { no: 9, name: "buffer_stop", kind: "message", T: BufferStop, oneof: "message" },
183
+ { no: 10, name: "eot_input_chat_context", kind: "message", T: EotInputChatContext, oneof: "message" },
184
+ ],
185
+ );
186
+
187
+ /**
188
+ * @generated from message livekit.agent.EotInferenceRequest
189
+ */
190
+ export const EotInferenceRequest = /*@__PURE__*/ proto3.makeMessageType(
191
+ "livekit.agent.EotInferenceRequest",
192
+ () => [
193
+ { no: 1, name: "audio", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
194
+ { no: 2, name: "assistant_text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
195
+ { no: 3, name: "encoding", kind: "enum", T: proto3.getEnumType(AudioEncoding) },
196
+ { no: 4, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
197
+ ],
198
+ );
199
+
200
+ /**
201
+ * @generated from message livekit.agent.InterruptionInferenceRequest
202
+ */
203
+ export const InterruptionInferenceRequest = /*@__PURE__*/ proto3.makeMessageType(
204
+ "livekit.agent.InterruptionInferenceRequest",
205
+ () => [
206
+ { no: 1, name: "audio", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
207
+ { no: 2, name: "encoding", kind: "enum", T: proto3.getEnumType(AudioEncoding) },
208
+ { no: 3, name: "sample_rate", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
209
+ ],
210
+ );
211
+
212
+ /**
213
+ * @generated from message livekit.agent.InferenceRequest
214
+ */
215
+ export const InferenceRequest = /*@__PURE__*/ proto3.makeMessageType(
216
+ "livekit.agent.InferenceRequest",
217
+ () => [
218
+ { no: 1, name: "eot_inference_request", kind: "message", T: EotInferenceRequest, oneof: "request" },
219
+ { no: 2, name: "interruption_inference_request", kind: "message", T: InterruptionInferenceRequest, oneof: "request" },
220
+ ],
221
+ );
222
+
223
+ /**
224
+ * @generated from message livekit.agent.InferenceStats
225
+ */
226
+ export const InferenceStats = /*@__PURE__*/ proto3.makeMessageType(
227
+ "livekit.agent.InferenceStats",
228
+ () => [
229
+ { no: 1, name: "earliest_client_created_at", kind: "message", T: Timestamp, opt: true },
230
+ { no: 2, name: "latest_client_created_at", kind: "message", T: Timestamp, opt: true },
231
+ { no: 3, name: "client_e2e_latency", kind: "message", T: Duration, opt: true },
232
+ { no: 4, name: "server_e2e_latency", kind: "message", T: Duration },
233
+ { no: 5, name: "preprocessing_duration", kind: "message", T: Duration },
234
+ { no: 6, name: "inference_duration", kind: "message", T: Duration },
235
+ ],
236
+ );
237
+
238
+ /**
239
+ * @generated from message livekit.agent.EotInferenceResponse
240
+ */
241
+ export const EotInferenceResponse = /*@__PURE__*/ proto3.makeMessageType(
242
+ "livekit.agent.EotInferenceResponse",
243
+ () => [
244
+ { no: 1, name: "probability", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
245
+ { no: 2, name: "stats", kind: "message", T: InferenceStats },
246
+ ],
247
+ );
248
+
249
+ /**
250
+ * @generated from message livekit.agent.InterruptionInferenceResponse
251
+ */
252
+ export const InterruptionInferenceResponse = /*@__PURE__*/ proto3.makeMessageType(
253
+ "livekit.agent.InterruptionInferenceResponse",
254
+ () => [
255
+ { no: 1, name: "is_interruption", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
256
+ { no: 2, name: "probabilities", kind: "scalar", T: 2 /* ScalarType.FLOAT */, repeated: true },
257
+ { no: 3, name: "stats", kind: "message", T: InferenceStats },
258
+ ],
259
+ );
260
+
261
+ /**
262
+ * @generated from message livekit.agent.InferenceResponse
263
+ */
264
+ export const InferenceResponse = /*@__PURE__*/ proto3.makeMessageType(
265
+ "livekit.agent.InferenceResponse",
266
+ () => [
267
+ { no: 1, name: "eot_inference_response", kind: "message", T: EotInferenceResponse, oneof: "response" },
268
+ { no: 2, name: "interruption_inference_response", kind: "message", T: InterruptionInferenceResponse, oneof: "response" },
269
+ ],
270
+ );
271
+
272
+ /**
273
+ * @generated from message livekit.agent.SessionCreated
274
+ */
275
+ export const SessionCreated = /*@__PURE__*/ proto3.makeMessageType(
276
+ "livekit.agent.SessionCreated",
277
+ [],
278
+ );
279
+
280
+ /**
281
+ * @generated from message livekit.agent.InferenceStarted
282
+ */
283
+ export const InferenceStarted = /*@__PURE__*/ proto3.makeMessageType(
284
+ "livekit.agent.InferenceStarted",
285
+ [],
286
+ );
287
+
288
+ /**
289
+ * @generated from message livekit.agent.InferenceStopped
290
+ */
291
+ export const InferenceStopped = /*@__PURE__*/ proto3.makeMessageType(
292
+ "livekit.agent.InferenceStopped",
293
+ [],
294
+ );
295
+
296
+ /**
297
+ * @generated from message livekit.agent.SessionClosed
298
+ */
299
+ export const SessionClosed = /*@__PURE__*/ proto3.makeMessageType(
300
+ "livekit.agent.SessionClosed",
301
+ [],
302
+ );
303
+
304
+ /**
305
+ * @generated from message livekit.agent.EotPrediction
306
+ */
307
+ export const EotPrediction = /*@__PURE__*/ proto3.makeMessageType(
308
+ "livekit.agent.EotPrediction",
309
+ () => [
310
+ { no: 1, name: "probability", kind: "scalar", T: 2 /* ScalarType.FLOAT */ },
311
+ { no: 2, name: "inference_stats", kind: "message", T: InferenceStats },
312
+ { no: 3, name: "backend", kind: "enum", T: proto3.getEnumType(EotPrediction_EotBackend) },
313
+ ],
314
+ );
315
+
316
+ /**
317
+ * @generated from enum livekit.agent.EotPrediction.EotBackend
318
+ */
319
+ export const EotPrediction_EotBackend = /*@__PURE__*/ proto3.makeEnum(
320
+ "livekit.agent.EotPrediction.EotBackend",
321
+ [
322
+ {no: 0, name: "EOT_BACKEND_UNKNOWN", localName: "UNKNOWN"},
323
+ {no: 1, name: "EOT_BACKEND_MULTIMODAL", localName: "MULTIMODAL"},
324
+ {no: 2, name: "EOT_BACKEND_TEXT", localName: "TEXT"},
325
+ ],
326
+ );
327
+
328
+ /**
329
+ * @generated from message livekit.agent.InterruptionPrediction
330
+ */
331
+ export const InterruptionPrediction = /*@__PURE__*/ proto3.makeMessageType(
332
+ "livekit.agent.InterruptionPrediction",
333
+ () => [
334
+ { no: 1, name: "is_interruption", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
335
+ { no: 2, name: "probabilities", kind: "scalar", T: 2 /* ScalarType.FLOAT */, repeated: true },
336
+ { no: 3, name: "inference_stats", kind: "message", T: InferenceStats },
337
+ ],
338
+ );
339
+
340
+ /**
341
+ * @generated from message livekit.agent.ServerMessage
342
+ */
343
+ export const ServerMessage = /*@__PURE__*/ proto3.makeMessageType(
344
+ "livekit.agent.ServerMessage",
345
+ () => [
346
+ { no: 1, name: "server_created_at", kind: "message", T: Timestamp },
347
+ { no: 2, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
348
+ { no: 3, name: "client_created_at", kind: "message", T: Timestamp, opt: true },
349
+ { no: 4, name: "session_created", kind: "message", T: SessionCreated, oneof: "message" },
350
+ { no: 5, name: "inference_started", kind: "message", T: InferenceStarted, oneof: "message" },
351
+ { no: 6, name: "inference_stopped", kind: "message", T: InferenceStopped, oneof: "message" },
352
+ { no: 7, name: "session_closed", kind: "message", T: SessionClosed, oneof: "message" },
353
+ { no: 8, name: "error", kind: "message", T: InferenceError, oneof: "message" },
354
+ { no: 9, name: "eot_prediction", kind: "message", T: EotPrediction, oneof: "message" },
355
+ { no: 10, name: "interruption_prediction", kind: "message", T: InterruptionPrediction, oneof: "message" },
356
+ ],
357
+ );
358
+
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
6
+ import type { BinaryReadOptions, Duration, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Struct, Timestamp } from "@bufbuild/protobuf";
7
7
  import { Message, proto3 } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -81,6 +81,41 @@ export declare enum UserState {
81
81
  US_AWAY = 2,
82
82
  }
83
83
 
84
+ /**
85
+ * @generated from enum livekit.agent.AmdCategory
86
+ */
87
+ export declare enum AmdCategory {
88
+ /**
89
+ * @generated from enum value: AMD_UNKNOWN = 0;
90
+ */
91
+ AMD_UNKNOWN = 0,
92
+
93
+ /**
94
+ * @generated from enum value: AMD_HUMAN = 1;
95
+ */
96
+ AMD_HUMAN = 1,
97
+
98
+ /**
99
+ * @generated from enum value: AMD_MACHINE_IVR = 2;
100
+ */
101
+ AMD_MACHINE_IVR = 2,
102
+
103
+ /**
104
+ * @generated from enum value: AMD_MACHINE_VM = 3;
105
+ */
106
+ AMD_MACHINE_VM = 3,
107
+
108
+ /**
109
+ * @generated from enum value: AMD_MACHINE_UNAVAILABLE = 4;
110
+ */
111
+ AMD_MACHINE_UNAVAILABLE = 4,
112
+
113
+ /**
114
+ * @generated from enum value: AMD_UNCERTAIN = 5;
115
+ */
116
+ AMD_UNCERTAIN = 5,
117
+ }
118
+
84
119
  /**
85
120
  * @generated from message livekit.agent.MetricsReport
86
121
  */
@@ -880,6 +915,12 @@ export declare class AgentSessionEvent extends Message<AgentSessionEvent> {
880
915
  */
881
916
  value: AgentSessionEvent_SessionUsageUpdated;
882
917
  case: "sessionUsageUpdated";
918
+ } | {
919
+ /**
920
+ * @generated from field: livekit.agent.AgentSessionEvent.AmdPrediction amd_prediction = 18;
921
+ */
922
+ value: AgentSessionEvent_AmdPrediction;
923
+ case: "amdPrediction";
883
924
  } | { case: undefined; value?: undefined };
884
925
 
885
926
  constructor(data?: PartialMessage<AgentSessionEvent>);
@@ -1105,6 +1146,50 @@ export declare class AgentSessionEvent_OverlappingSpeech extends Message<AgentSe
1105
1146
  static equals(a: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined, b: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined): boolean;
1106
1147
  }
1107
1148
 
1149
+ /**
1150
+ * @generated from message livekit.agent.AgentSessionEvent.AmdPrediction
1151
+ */
1152
+ export declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessionEvent_AmdPrediction> {
1153
+ /**
1154
+ * @generated from field: google.protobuf.Duration speech_duration = 1;
1155
+ */
1156
+ speechDuration?: Duration;
1157
+
1158
+ /**
1159
+ * @generated from field: livekit.agent.AmdCategory category = 2;
1160
+ */
1161
+ category: AmdCategory;
1162
+
1163
+ /**
1164
+ * @generated from field: string reason = 3;
1165
+ */
1166
+ reason: string;
1167
+
1168
+ /**
1169
+ * @generated from field: string transcript = 4;
1170
+ */
1171
+ transcript: string;
1172
+
1173
+ /**
1174
+ * @generated from field: google.protobuf.Duration delay = 5;
1175
+ */
1176
+ delay?: Duration;
1177
+
1178
+ constructor(data?: PartialMessage<AgentSessionEvent_AmdPrediction>);
1179
+
1180
+ static readonly runtime: typeof proto3;
1181
+ static readonly typeName = "livekit.agent.AgentSessionEvent.AmdPrediction";
1182
+ static readonly fields: FieldList;
1183
+
1184
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_AmdPrediction;
1185
+
1186
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
1187
+
1188
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
1189
+
1190
+ static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
1191
+ }
1192
+
1108
1193
  /**
1109
1194
  * @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
1110
1195
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { proto3, Struct, Timestamp } from "@bufbuild/protobuf";
6
+ import { Duration, proto3, Struct, Timestamp } from "@bufbuild/protobuf";
7
7
 
8
8
  /**
9
9
  * @generated from enum livekit.agent.ChatRole
@@ -44,6 +44,21 @@ export const UserState = /*@__PURE__*/ proto3.makeEnum(
44
44
  ],
45
45
  );
46
46
 
47
+ /**
48
+ * @generated from enum livekit.agent.AmdCategory
49
+ */
50
+ export const AmdCategory = /*@__PURE__*/ proto3.makeEnum(
51
+ "livekit.agent.AmdCategory",
52
+ [
53
+ {no: 0, name: "AMD_UNKNOWN"},
54
+ {no: 1, name: "AMD_HUMAN"},
55
+ {no: 2, name: "AMD_MACHINE_IVR"},
56
+ {no: 3, name: "AMD_MACHINE_VM"},
57
+ {no: 4, name: "AMD_MACHINE_UNAVAILABLE"},
58
+ {no: 5, name: "AMD_UNCERTAIN"},
59
+ ],
60
+ );
61
+
47
62
  /**
48
63
  * @generated from message livekit.agent.MetricsReport
49
64
  */
@@ -287,6 +302,7 @@ export const AgentSessionEvent = /*@__PURE__*/ proto3.makeMessageType(
287
302
  { no: 15, name: "error", kind: "message", T: AgentSessionEvent_Error, oneof: "event" },
288
303
  { no: 16, name: "overlapping_speech", kind: "message", T: AgentSessionEvent_OverlappingSpeech, oneof: "event" },
289
304
  { no: 17, name: "session_usage_updated", kind: "message", T: AgentSessionEvent_SessionUsageUpdated, oneof: "event" },
305
+ { no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
290
306
  ],
291
307
  );
292
308
 
@@ -375,6 +391,21 @@ export const AgentSessionEvent_OverlappingSpeech = /*@__PURE__*/ proto3.makeMess
375
391
  {localName: "AgentSessionEvent_OverlappingSpeech"},
376
392
  );
377
393
 
394
+ /**
395
+ * @generated from message livekit.agent.AgentSessionEvent.AmdPrediction
396
+ */
397
+ export const AgentSessionEvent_AmdPrediction = /*@__PURE__*/ proto3.makeMessageType(
398
+ "livekit.agent.AgentSessionEvent.AmdPrediction",
399
+ () => [
400
+ { no: 1, name: "speech_duration", kind: "message", T: Duration },
401
+ { no: 2, name: "category", kind: "enum", T: proto3.getEnumType(AmdCategory) },
402
+ { no: 3, name: "reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
403
+ { no: 4, name: "transcript", kind: "scalar", T: 9 /* ScalarType.STRING */ },
404
+ { no: 5, name: "delay", kind: "message", T: Duration },
405
+ ],
406
+ {localName: "AgentSessionEvent_AmdPrediction"},
407
+ );
408
+
378
409
  /**
379
410
  * @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
380
411
  */
@@ -66,6 +66,11 @@ export declare class CreateAgentDispatchRequest extends Message<CreateAgentDispa
66
66
  */
67
67
  restartPolicy: JobRestartPolicy;
68
68
 
69
+ /**
70
+ * @generated from field: string environment = 5;
71
+ */
72
+ environment: string;
73
+
69
74
  constructor(data?: PartialMessage<CreateAgentDispatchRequest>);
70
75
 
71
76
  static readonly runtime: typeof proto3;
@@ -102,6 +107,11 @@ export declare class RoomAgentDispatch extends Message<RoomAgentDispatch> {
102
107
  */
103
108
  restartPolicy: JobRestartPolicy;
104
109
 
110
+ /**
111
+ * @generated from field: string environment = 4;
112
+ */
113
+ environment: string;
114
+
105
115
  constructor(data?: PartialMessage<RoomAgentDispatch>);
106
116
 
107
117
  static readonly runtime: typeof proto3;
@@ -239,6 +249,11 @@ export declare class AgentDispatch extends Message<AgentDispatch> {
239
249
  */
240
250
  restartPolicy: JobRestartPolicy;
241
251
 
252
+ /**
253
+ * @generated from field: string environment = 7;
254
+ */
255
+ environment: string;
256
+
242
257
  constructor(data?: PartialMessage<AgentDispatch>);
243
258
 
244
259
  static readonly runtime: typeof proto3;
@@ -41,6 +41,7 @@ export const CreateAgentDispatchRequest = /*@__PURE__*/ proto3.makeMessageType(
41
41
  { no: 2, name: "room", kind: "scalar", T: 9 /* ScalarType.STRING */ },
42
42
  { no: 3, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
43
43
  { no: 4, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
44
+ { no: 5, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
44
45
  ],
45
46
  );
46
47
 
@@ -53,6 +54,7 @@ export const RoomAgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
53
54
  { no: 1, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
54
55
  { no: 2, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
55
56
  { no: 3, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
57
+ { no: 4, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
56
58
  ],
57
59
  );
58
60
 
@@ -100,6 +102,7 @@ export const AgentDispatch = /*@__PURE__*/ proto3.makeMessageType(
100
102
  { no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
101
103
  { no: 5, name: "state", kind: "message", T: AgentDispatchState },
102
104
  { no: 6, name: "restart_policy", kind: "enum", T: proto3.getEnumType(JobRestartPolicy) },
105
+ { no: 7, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
103
106
  ],
104
107
  );
105
108
 
@@ -136,6 +136,11 @@ export declare class Job extends Message<Job> {
136
136
  */
137
137
  enableRecording: boolean;
138
138
 
139
+ /**
140
+ * @generated from field: string environment = 11;
141
+ */
142
+ environment: string;
143
+
139
144
  constructor(data?: PartialMessage<Job>);
140
145
 
141
146
  static readonly runtime: typeof proto3;
@@ -471,6 +476,11 @@ export declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest
471
476
  */
472
477
  allowedPermissions?: ParticipantPermission;
473
478
 
479
+ /**
480
+ * @generated from field: string environment = 9;
481
+ */
482
+ environment: string;
483
+
474
484
  constructor(data?: PartialMessage<RegisterWorkerRequest>);
475
485
 
476
486
  static readonly runtime: typeof proto3;
@@ -72,6 +72,7 @@ export const Job = /*@__PURE__*/ proto3.makeMessageType(
72
72
  { no: 7, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
73
73
  { no: 8, name: "state", kind: "message", T: JobState },
74
74
  { no: 10, name: "enable_recording", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
75
+ { no: 11, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
75
76
  ],
76
77
  );
77
78
 
@@ -171,6 +172,7 @@ export const RegisterWorkerRequest = /*@__PURE__*/ proto3.makeMessageType(
171
172
  { no: 5, name: "ping_interval", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
172
173
  { no: 6, name: "namespace", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
173
174
  { no: 7, name: "allowed_permissions", kind: "message", T: ParticipantPermission },
175
+ { no: 9, name: "environment", kind: "scalar", T: 9 /* ScalarType.STRING */ },
174
176
  ],
175
177
  );
176
178
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.45.5';
2
+ export const version = '1.45.7';