@livekit/protocol 1.43.1 → 1.43.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +186 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +405 -1
- package/dist/index.d.mts +405 -1
- package/dist/index.d.ts +405 -1
- package/dist/index.mjs +186 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/gen/agent/livekit_agent_session_pb.d.ts +385 -0
- package/src/gen/agent/livekit_agent_session_pb.js +131 -0
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,410 @@
|
|
|
1
1
|
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
5
|
+
// @generated from file agent/livekit_agent_session.proto (package livekit.agent, syntax proto3)
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
// @ts-nocheck
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* @generated from enum livekit.agent.ChatRole
|
|
13
|
+
*/
|
|
14
|
+
declare enum ChatRole {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from enum value: DEVELOPER = 0;
|
|
17
|
+
*/
|
|
18
|
+
DEVELOPER = 0,
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from enum value: SYSTEM = 1;
|
|
22
|
+
*/
|
|
23
|
+
SYSTEM = 1,
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @generated from enum value: USER = 2;
|
|
27
|
+
*/
|
|
28
|
+
USER = 2,
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @generated from enum value: ASSISTANT = 3;
|
|
32
|
+
*/
|
|
33
|
+
ASSISTANT = 3,
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* @generated from message livekit.agent.MetricsReport
|
|
38
|
+
*/
|
|
39
|
+
declare class MetricsReport extends Message<MetricsReport> {
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: google.protobuf.Timestamp started_speaking_at = 1;
|
|
42
|
+
*/
|
|
43
|
+
startedSpeakingAt?: Timestamp;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: google.protobuf.Timestamp stopped_speaking_at = 2;
|
|
47
|
+
*/
|
|
48
|
+
stoppedSpeakingAt?: Timestamp;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: optional double transcription_delay = 3;
|
|
52
|
+
*/
|
|
53
|
+
transcriptionDelay?: number;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: optional double end_of_turn_delay = 4;
|
|
57
|
+
*/
|
|
58
|
+
endOfTurnDelay?: number;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* @generated from field: optional double on_user_turn_completed_delay = 5;
|
|
62
|
+
*/
|
|
63
|
+
onUserTurnCompletedDelay?: number;
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* @generated from field: optional double llm_node_ttft = 6;
|
|
67
|
+
*/
|
|
68
|
+
llmNodeTtft?: number;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: optional double tts_node_ttfb = 7;
|
|
72
|
+
*/
|
|
73
|
+
ttsNodeTtfb?: number;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: optional double e2e_latency = 8;
|
|
77
|
+
*/
|
|
78
|
+
e2eLatency?: number;
|
|
79
|
+
|
|
80
|
+
constructor(data?: PartialMessage<MetricsReport>);
|
|
81
|
+
|
|
82
|
+
static readonly runtime: typeof proto3;
|
|
83
|
+
static readonly typeName = "livekit.agent.MetricsReport";
|
|
84
|
+
static readonly fields: FieldList;
|
|
85
|
+
|
|
86
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MetricsReport;
|
|
87
|
+
|
|
88
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MetricsReport;
|
|
89
|
+
|
|
90
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MetricsReport;
|
|
91
|
+
|
|
92
|
+
static equals(a: MetricsReport | PlainMessage<MetricsReport> | undefined, b: MetricsReport | PlainMessage<MetricsReport> | undefined): boolean;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from message livekit.agent.ChatMessage
|
|
97
|
+
*/
|
|
98
|
+
declare class ChatMessage$1 extends Message<ChatMessage$1> {
|
|
99
|
+
/**
|
|
100
|
+
* @generated from field: string id = 1;
|
|
101
|
+
*/
|
|
102
|
+
id: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* @generated from field: livekit.agent.ChatRole role = 2;
|
|
106
|
+
*/
|
|
107
|
+
role: ChatRole;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* @generated from field: repeated livekit.agent.ChatMessage.ChatContent content = 3;
|
|
111
|
+
*/
|
|
112
|
+
content: ChatMessage_ChatContent[];
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from field: bool interrupted = 4;
|
|
116
|
+
*/
|
|
117
|
+
interrupted: boolean;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from field: optional double transcript_confidence = 5;
|
|
121
|
+
*/
|
|
122
|
+
transcriptConfidence?: number;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* @generated from field: map<string, string> extra = 6;
|
|
126
|
+
*/
|
|
127
|
+
extra: { [key: string]: string };
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: livekit.agent.MetricsReport metrics = 7;
|
|
131
|
+
*/
|
|
132
|
+
metrics?: MetricsReport;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
136
|
+
*/
|
|
137
|
+
createdAt?: Timestamp;
|
|
138
|
+
|
|
139
|
+
constructor(data?: PartialMessage<ChatMessage$1>);
|
|
140
|
+
|
|
141
|
+
static readonly runtime: typeof proto3;
|
|
142
|
+
static readonly typeName = "livekit.agent.ChatMessage";
|
|
143
|
+
static readonly fields: FieldList;
|
|
144
|
+
|
|
145
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatMessage$1;
|
|
146
|
+
|
|
147
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatMessage$1;
|
|
148
|
+
|
|
149
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessage$1;
|
|
150
|
+
|
|
151
|
+
static equals(a: ChatMessage$1 | PlainMessage<ChatMessage$1> | undefined, b: ChatMessage$1 | PlainMessage<ChatMessage$1> | undefined): boolean;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from message livekit.agent.ChatMessage.ChatContent
|
|
156
|
+
*/
|
|
157
|
+
declare class ChatMessage_ChatContent extends Message<ChatMessage_ChatContent> {
|
|
158
|
+
/**
|
|
159
|
+
* @generated from oneof livekit.agent.ChatMessage.ChatContent.payload
|
|
160
|
+
*/
|
|
161
|
+
payload: {
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string text = 1;
|
|
164
|
+
*/
|
|
165
|
+
value: string;
|
|
166
|
+
case: "text";
|
|
167
|
+
} | { case: undefined; value?: undefined };
|
|
168
|
+
|
|
169
|
+
constructor(data?: PartialMessage<ChatMessage_ChatContent>);
|
|
170
|
+
|
|
171
|
+
static readonly runtime: typeof proto3;
|
|
172
|
+
static readonly typeName = "livekit.agent.ChatMessage.ChatContent";
|
|
173
|
+
static readonly fields: FieldList;
|
|
174
|
+
|
|
175
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatMessage_ChatContent;
|
|
176
|
+
|
|
177
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatMessage_ChatContent;
|
|
178
|
+
|
|
179
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatMessage_ChatContent;
|
|
180
|
+
|
|
181
|
+
static equals(a: ChatMessage_ChatContent | PlainMessage<ChatMessage_ChatContent> | undefined, b: ChatMessage_ChatContent | PlainMessage<ChatMessage_ChatContent> | undefined): boolean;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* @generated from message livekit.agent.FunctionCall
|
|
186
|
+
*/
|
|
187
|
+
declare class FunctionCall extends Message<FunctionCall> {
|
|
188
|
+
/**
|
|
189
|
+
* @generated from field: string id = 1;
|
|
190
|
+
*/
|
|
191
|
+
id: string;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: string call_id = 2;
|
|
195
|
+
*/
|
|
196
|
+
callId: string;
|
|
197
|
+
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: string arguments = 3;
|
|
200
|
+
*/
|
|
201
|
+
arguments: string;
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* @generated from field: string name = 4;
|
|
205
|
+
*/
|
|
206
|
+
name: string;
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* @generated from field: google.protobuf.Timestamp created_at = 5;
|
|
210
|
+
*/
|
|
211
|
+
createdAt?: Timestamp;
|
|
212
|
+
|
|
213
|
+
constructor(data?: PartialMessage<FunctionCall>);
|
|
214
|
+
|
|
215
|
+
static readonly runtime: typeof proto3;
|
|
216
|
+
static readonly typeName = "livekit.agent.FunctionCall";
|
|
217
|
+
static readonly fields: FieldList;
|
|
218
|
+
|
|
219
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FunctionCall;
|
|
220
|
+
|
|
221
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FunctionCall;
|
|
222
|
+
|
|
223
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FunctionCall;
|
|
224
|
+
|
|
225
|
+
static equals(a: FunctionCall | PlainMessage<FunctionCall> | undefined, b: FunctionCall | PlainMessage<FunctionCall> | undefined): boolean;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from message livekit.agent.FunctionCallOutput
|
|
230
|
+
*/
|
|
231
|
+
declare class FunctionCallOutput extends Message<FunctionCallOutput> {
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: string id = 1;
|
|
234
|
+
*/
|
|
235
|
+
id: string;
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: string name = 2;
|
|
239
|
+
*/
|
|
240
|
+
name: string;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from field: string call_id = 3;
|
|
244
|
+
*/
|
|
245
|
+
callId: string;
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* @generated from field: string output = 4;
|
|
249
|
+
*/
|
|
250
|
+
output: string;
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* @generated from field: bool is_error = 5;
|
|
254
|
+
*/
|
|
255
|
+
isError: boolean;
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: google.protobuf.Timestamp created_at = 6;
|
|
259
|
+
*/
|
|
260
|
+
createdAt?: Timestamp;
|
|
261
|
+
|
|
262
|
+
constructor(data?: PartialMessage<FunctionCallOutput>);
|
|
263
|
+
|
|
264
|
+
static readonly runtime: typeof proto3;
|
|
265
|
+
static readonly typeName = "livekit.agent.FunctionCallOutput";
|
|
266
|
+
static readonly fields: FieldList;
|
|
267
|
+
|
|
268
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FunctionCallOutput;
|
|
269
|
+
|
|
270
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FunctionCallOutput;
|
|
271
|
+
|
|
272
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FunctionCallOutput;
|
|
273
|
+
|
|
274
|
+
static equals(a: FunctionCallOutput | PlainMessage<FunctionCallOutput> | undefined, b: FunctionCallOutput | PlainMessage<FunctionCallOutput> | undefined): boolean;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @generated from message livekit.agent.AgentHandoff
|
|
279
|
+
*/
|
|
280
|
+
declare class AgentHandoff extends Message<AgentHandoff> {
|
|
281
|
+
/**
|
|
282
|
+
* @generated from field: string id = 1;
|
|
283
|
+
*/
|
|
284
|
+
id: string;
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* @generated from field: optional string old_agent_id = 2;
|
|
288
|
+
*/
|
|
289
|
+
oldAgentId?: string;
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* @generated from field: string new_agent_id = 3;
|
|
293
|
+
*/
|
|
294
|
+
newAgentId: string;
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @generated from field: google.protobuf.Timestamp created_at = 4;
|
|
298
|
+
*/
|
|
299
|
+
createdAt?: Timestamp;
|
|
300
|
+
|
|
301
|
+
constructor(data?: PartialMessage<AgentHandoff>);
|
|
302
|
+
|
|
303
|
+
static readonly runtime: typeof proto3;
|
|
304
|
+
static readonly typeName = "livekit.agent.AgentHandoff";
|
|
305
|
+
static readonly fields: FieldList;
|
|
306
|
+
|
|
307
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentHandoff;
|
|
308
|
+
|
|
309
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentHandoff;
|
|
310
|
+
|
|
311
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentHandoff;
|
|
312
|
+
|
|
313
|
+
static equals(a: AgentHandoff | PlainMessage<AgentHandoff> | undefined, b: AgentHandoff | PlainMessage<AgentHandoff> | undefined): boolean;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* @generated from message livekit.agent.ChatContext
|
|
318
|
+
*/
|
|
319
|
+
declare class ChatContext extends Message<ChatContext> {
|
|
320
|
+
/**
|
|
321
|
+
* @generated from field: repeated livekit.agent.ChatContext.ChatItem items = 1;
|
|
322
|
+
*/
|
|
323
|
+
items: ChatContext_ChatItem[];
|
|
324
|
+
|
|
325
|
+
constructor(data?: PartialMessage<ChatContext>);
|
|
326
|
+
|
|
327
|
+
static readonly runtime: typeof proto3;
|
|
328
|
+
static readonly typeName = "livekit.agent.ChatContext";
|
|
329
|
+
static readonly fields: FieldList;
|
|
330
|
+
|
|
331
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatContext;
|
|
332
|
+
|
|
333
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatContext;
|
|
334
|
+
|
|
335
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatContext;
|
|
336
|
+
|
|
337
|
+
static equals(a: ChatContext | PlainMessage<ChatContext> | undefined, b: ChatContext | PlainMessage<ChatContext> | undefined): boolean;
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
/**
|
|
341
|
+
* @generated from message livekit.agent.ChatContext.ChatItem
|
|
342
|
+
*/
|
|
343
|
+
declare class ChatContext_ChatItem extends Message<ChatContext_ChatItem> {
|
|
344
|
+
/**
|
|
345
|
+
* @generated from oneof livekit.agent.ChatContext.ChatItem.item
|
|
346
|
+
*/
|
|
347
|
+
item: {
|
|
348
|
+
/**
|
|
349
|
+
* @generated from field: livekit.agent.ChatMessage message = 1;
|
|
350
|
+
*/
|
|
351
|
+
value: ChatMessage$1;
|
|
352
|
+
case: "message";
|
|
353
|
+
} | {
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: livekit.agent.FunctionCall function_call = 2;
|
|
356
|
+
*/
|
|
357
|
+
value: FunctionCall;
|
|
358
|
+
case: "functionCall";
|
|
359
|
+
} | {
|
|
360
|
+
/**
|
|
361
|
+
* @generated from field: livekit.agent.FunctionCallOutput function_call_output = 3;
|
|
362
|
+
*/
|
|
363
|
+
value: FunctionCallOutput;
|
|
364
|
+
case: "functionCallOutput";
|
|
365
|
+
} | {
|
|
366
|
+
/**
|
|
367
|
+
* @generated from field: livekit.agent.AgentHandoff agent_handoff = 4;
|
|
368
|
+
*/
|
|
369
|
+
value: AgentHandoff;
|
|
370
|
+
case: "agentHandoff";
|
|
371
|
+
} | { case: undefined; value?: undefined };
|
|
372
|
+
|
|
373
|
+
constructor(data?: PartialMessage<ChatContext_ChatItem>);
|
|
374
|
+
|
|
375
|
+
static readonly runtime: typeof proto3;
|
|
376
|
+
static readonly typeName = "livekit.agent.ChatContext.ChatItem";
|
|
377
|
+
static readonly fields: FieldList;
|
|
378
|
+
|
|
379
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChatContext_ChatItem;
|
|
380
|
+
|
|
381
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChatContext_ChatItem;
|
|
382
|
+
|
|
383
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChatContext_ChatItem;
|
|
384
|
+
|
|
385
|
+
static equals(a: ChatContext_ChatItem | PlainMessage<ChatContext_ChatItem> | undefined, b: ChatContext_ChatItem | PlainMessage<ChatContext_ChatItem> | undefined): boolean;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
type livekit_agent_session_pb_d_AgentHandoff = AgentHandoff;
|
|
389
|
+
declare const livekit_agent_session_pb_d_AgentHandoff: typeof AgentHandoff;
|
|
390
|
+
type livekit_agent_session_pb_d_ChatContext = ChatContext;
|
|
391
|
+
declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
|
|
392
|
+
type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
|
|
393
|
+
declare const livekit_agent_session_pb_d_ChatContext_ChatItem: typeof ChatContext_ChatItem;
|
|
394
|
+
type livekit_agent_session_pb_d_ChatMessage_ChatContent = ChatMessage_ChatContent;
|
|
395
|
+
declare const livekit_agent_session_pb_d_ChatMessage_ChatContent: typeof ChatMessage_ChatContent;
|
|
396
|
+
type livekit_agent_session_pb_d_ChatRole = ChatRole;
|
|
397
|
+
declare const livekit_agent_session_pb_d_ChatRole: typeof ChatRole;
|
|
398
|
+
type livekit_agent_session_pb_d_FunctionCall = FunctionCall;
|
|
399
|
+
declare const livekit_agent_session_pb_d_FunctionCall: typeof FunctionCall;
|
|
400
|
+
type livekit_agent_session_pb_d_FunctionCallOutput = FunctionCallOutput;
|
|
401
|
+
declare const livekit_agent_session_pb_d_FunctionCallOutput: typeof FunctionCallOutput;
|
|
402
|
+
type livekit_agent_session_pb_d_MetricsReport = MetricsReport;
|
|
403
|
+
declare const livekit_agent_session_pb_d_MetricsReport: typeof MetricsReport;
|
|
404
|
+
declare namespace livekit_agent_session_pb_d {
|
|
405
|
+
export { livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, 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_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_MetricsReport as MetricsReport };
|
|
406
|
+
}
|
|
407
|
+
|
|
4
408
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
5
409
|
// @generated from file livekit_metrics.proto (package livekit, syntax proto3)
|
|
6
410
|
/* eslint-disable */
|
|
@@ -14919,4 +15323,4 @@ declare class WebhookEvent extends Message<WebhookEvent> {
|
|
|
14919
15323
|
|
|
14920
15324
|
declare const version: string;
|
|
14921
15325
|
|
|
14922
|
-
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, 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, 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, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, 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, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, 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, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
15326
|
+
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb_d as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, 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, 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, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, 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, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, 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, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,190 @@
|
|
|
1
1
|
import { proto3, Timestamp, Duration, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
|
+
const ChatRole = /* @__PURE__ */ proto3.makeEnum(
|
|
5
|
+
"livekit.agent.ChatRole",
|
|
6
|
+
[
|
|
7
|
+
{ no: 0, name: "DEVELOPER" },
|
|
8
|
+
{ no: 1, name: "SYSTEM" },
|
|
9
|
+
{ no: 2, name: "USER" },
|
|
10
|
+
{ no: 3, name: "ASSISTANT" }
|
|
11
|
+
]
|
|
12
|
+
);
|
|
13
|
+
const MetricsReport = /* @__PURE__ */ proto3.makeMessageType(
|
|
14
|
+
"livekit.agent.MetricsReport",
|
|
15
|
+
() => [
|
|
16
|
+
{ no: 1, name: "started_speaking_at", kind: "message", T: Timestamp },
|
|
17
|
+
{ no: 2, name: "stopped_speaking_at", kind: "message", T: Timestamp },
|
|
18
|
+
{ no: 3, name: "transcription_delay", kind: "scalar", T: 1, opt: true },
|
|
19
|
+
{ no: 4, name: "end_of_turn_delay", kind: "scalar", T: 1, opt: true },
|
|
20
|
+
{ no: 5, name: "on_user_turn_completed_delay", kind: "scalar", T: 1, opt: true },
|
|
21
|
+
{ no: 6, name: "llm_node_ttft", kind: "scalar", T: 1, opt: true },
|
|
22
|
+
{ no: 7, name: "tts_node_ttfb", kind: "scalar", T: 1, opt: true },
|
|
23
|
+
{ no: 8, name: "e2e_latency", kind: "scalar", T: 1, opt: true }
|
|
24
|
+
]
|
|
25
|
+
);
|
|
26
|
+
const ChatMessage$1 = /* @__PURE__ */ proto3.makeMessageType(
|
|
27
|
+
"livekit.agent.ChatMessage",
|
|
28
|
+
() => [
|
|
29
|
+
{
|
|
30
|
+
no: 1,
|
|
31
|
+
name: "id",
|
|
32
|
+
kind: "scalar",
|
|
33
|
+
T: 9
|
|
34
|
+
/* ScalarType.STRING */
|
|
35
|
+
},
|
|
36
|
+
{ no: 2, name: "role", kind: "enum", T: proto3.getEnumType(ChatRole) },
|
|
37
|
+
{ no: 3, name: "content", kind: "message", T: ChatMessage_ChatContent, repeated: true },
|
|
38
|
+
{
|
|
39
|
+
no: 4,
|
|
40
|
+
name: "interrupted",
|
|
41
|
+
kind: "scalar",
|
|
42
|
+
T: 8
|
|
43
|
+
/* ScalarType.BOOL */
|
|
44
|
+
},
|
|
45
|
+
{ no: 5, name: "transcript_confidence", kind: "scalar", T: 1, opt: true },
|
|
46
|
+
{ no: 6, name: "extra", kind: "map", K: 9, V: {
|
|
47
|
+
kind: "scalar",
|
|
48
|
+
T: 9
|
|
49
|
+
/* ScalarType.STRING */
|
|
50
|
+
} },
|
|
51
|
+
{ no: 7, name: "metrics", kind: "message", T: MetricsReport },
|
|
52
|
+
{ no: 8, name: "created_at", kind: "message", T: Timestamp }
|
|
53
|
+
]
|
|
54
|
+
);
|
|
55
|
+
const ChatMessage_ChatContent = /* @__PURE__ */ proto3.makeMessageType(
|
|
56
|
+
"livekit.agent.ChatMessage.ChatContent",
|
|
57
|
+
() => [
|
|
58
|
+
{ no: 1, name: "text", kind: "scalar", T: 9, oneof: "payload" }
|
|
59
|
+
],
|
|
60
|
+
{ localName: "ChatMessage_ChatContent" }
|
|
61
|
+
);
|
|
62
|
+
const FunctionCall = /* @__PURE__ */ proto3.makeMessageType(
|
|
63
|
+
"livekit.agent.FunctionCall",
|
|
64
|
+
() => [
|
|
65
|
+
{
|
|
66
|
+
no: 1,
|
|
67
|
+
name: "id",
|
|
68
|
+
kind: "scalar",
|
|
69
|
+
T: 9
|
|
70
|
+
/* ScalarType.STRING */
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
no: 2,
|
|
74
|
+
name: "call_id",
|
|
75
|
+
kind: "scalar",
|
|
76
|
+
T: 9
|
|
77
|
+
/* ScalarType.STRING */
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
no: 3,
|
|
81
|
+
name: "arguments",
|
|
82
|
+
kind: "scalar",
|
|
83
|
+
T: 9
|
|
84
|
+
/* ScalarType.STRING */
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
no: 4,
|
|
88
|
+
name: "name",
|
|
89
|
+
kind: "scalar",
|
|
90
|
+
T: 9
|
|
91
|
+
/* ScalarType.STRING */
|
|
92
|
+
},
|
|
93
|
+
{ no: 5, name: "created_at", kind: "message", T: Timestamp }
|
|
94
|
+
]
|
|
95
|
+
);
|
|
96
|
+
const FunctionCallOutput = /* @__PURE__ */ proto3.makeMessageType(
|
|
97
|
+
"livekit.agent.FunctionCallOutput",
|
|
98
|
+
() => [
|
|
99
|
+
{
|
|
100
|
+
no: 1,
|
|
101
|
+
name: "id",
|
|
102
|
+
kind: "scalar",
|
|
103
|
+
T: 9
|
|
104
|
+
/* ScalarType.STRING */
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
no: 2,
|
|
108
|
+
name: "name",
|
|
109
|
+
kind: "scalar",
|
|
110
|
+
T: 9
|
|
111
|
+
/* ScalarType.STRING */
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
no: 3,
|
|
115
|
+
name: "call_id",
|
|
116
|
+
kind: "scalar",
|
|
117
|
+
T: 9
|
|
118
|
+
/* ScalarType.STRING */
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
no: 4,
|
|
122
|
+
name: "output",
|
|
123
|
+
kind: "scalar",
|
|
124
|
+
T: 9
|
|
125
|
+
/* ScalarType.STRING */
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
no: 5,
|
|
129
|
+
name: "is_error",
|
|
130
|
+
kind: "scalar",
|
|
131
|
+
T: 8
|
|
132
|
+
/* ScalarType.BOOL */
|
|
133
|
+
},
|
|
134
|
+
{ no: 6, name: "created_at", kind: "message", T: Timestamp }
|
|
135
|
+
]
|
|
136
|
+
);
|
|
137
|
+
const AgentHandoff = /* @__PURE__ */ proto3.makeMessageType(
|
|
138
|
+
"livekit.agent.AgentHandoff",
|
|
139
|
+
() => [
|
|
140
|
+
{
|
|
141
|
+
no: 1,
|
|
142
|
+
name: "id",
|
|
143
|
+
kind: "scalar",
|
|
144
|
+
T: 9
|
|
145
|
+
/* ScalarType.STRING */
|
|
146
|
+
},
|
|
147
|
+
{ no: 2, name: "old_agent_id", kind: "scalar", T: 9, opt: true },
|
|
148
|
+
{
|
|
149
|
+
no: 3,
|
|
150
|
+
name: "new_agent_id",
|
|
151
|
+
kind: "scalar",
|
|
152
|
+
T: 9
|
|
153
|
+
/* ScalarType.STRING */
|
|
154
|
+
},
|
|
155
|
+
{ no: 4, name: "created_at", kind: "message", T: Timestamp }
|
|
156
|
+
]
|
|
157
|
+
);
|
|
158
|
+
const ChatContext = /* @__PURE__ */ proto3.makeMessageType(
|
|
159
|
+
"livekit.agent.ChatContext",
|
|
160
|
+
() => [
|
|
161
|
+
{ no: 1, name: "items", kind: "message", T: ChatContext_ChatItem, repeated: true }
|
|
162
|
+
]
|
|
163
|
+
);
|
|
164
|
+
const ChatContext_ChatItem = /* @__PURE__ */ proto3.makeMessageType(
|
|
165
|
+
"livekit.agent.ChatContext.ChatItem",
|
|
166
|
+
() => [
|
|
167
|
+
{ no: 1, name: "message", kind: "message", T: ChatMessage$1, oneof: "item" },
|
|
168
|
+
{ no: 2, name: "function_call", kind: "message", T: FunctionCall, oneof: "item" },
|
|
169
|
+
{ no: 3, name: "function_call_output", kind: "message", T: FunctionCallOutput, oneof: "item" },
|
|
170
|
+
{ no: 4, name: "agent_handoff", kind: "message", T: AgentHandoff, oneof: "item" }
|
|
171
|
+
],
|
|
172
|
+
{ localName: "ChatContext_ChatItem" }
|
|
173
|
+
);
|
|
174
|
+
|
|
175
|
+
const livekit_agent_session_pb = {
|
|
176
|
+
__proto__: null,
|
|
177
|
+
AgentHandoff: AgentHandoff,
|
|
178
|
+
ChatContext: ChatContext,
|
|
179
|
+
ChatContext_ChatItem: ChatContext_ChatItem,
|
|
180
|
+
ChatMessage: ChatMessage$1,
|
|
181
|
+
ChatMessage_ChatContent: ChatMessage_ChatContent,
|
|
182
|
+
ChatRole: ChatRole,
|
|
183
|
+
FunctionCall: FunctionCall,
|
|
184
|
+
FunctionCallOutput: FunctionCallOutput,
|
|
185
|
+
MetricsReport: MetricsReport
|
|
186
|
+
};
|
|
187
|
+
|
|
4
188
|
const MetricLabel = /* @__PURE__ */ proto3.makeEnum(
|
|
5
189
|
"livekit.MetricLabel",
|
|
6
190
|
[
|
|
@@ -7535,7 +7719,7 @@ const WebhookEvent = /* @__PURE__ */ proto3.makeMessageType(
|
|
|
7535
7719
|
]
|
|
7536
7720
|
);
|
|
7537
7721
|
|
|
7538
|
-
const version = "1.43.
|
|
7722
|
+
const version = "1.43.2";
|
|
7539
7723
|
|
|
7540
|
-
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, 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, 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, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, 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, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, 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, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
7724
|
+
export { AcceptWhatsAppCallRequest, AcceptWhatsAppCallResponse, ActiveSpeakerUpdate, AddTrackRequest, AgentDispatch, AgentDispatchState, livekit_agent_session_pb as AgentSession, AliOSSUpload, AudioCodec, AudioMixing, AudioTrackFeature, AutoParticipantEgress, AutoTrackEgress, AvailabilityRequest, AvailabilityResponse, AzureBlobUpload, BackupCodecPolicy, CandidateProtocol, ChatMessage, ClientConfigSetting, ClientConfiguration, ClientInfo, ClientInfo_SDK, Codec, ConnectTwilioCallRequest, ConnectTwilioCallRequest_TwilioCallDirection, ConnectTwilioCallResponse, ConnectWhatsAppCallRequest, ConnectWhatsAppCallResponse, ConnectionQuality, ConnectionQualityInfo, ConnectionQualityUpdate, ConnectionSettings, ConnectorType, CreateAgentDispatchRequest, CreateIngressRequest, CreateRoomRequest, CreateSIPDispatchRuleRequest, CreateSIPInboundTrunkRequest, CreateSIPOutboundTrunkRequest, CreateSIPParticipantRequest, CreateSIPTrunkRequest, DataChannelInfo, DataChannelReceiveState, DataPacket, DataPacket_Kind, DataStream, DataStream_ByteHeader, DataStream_Chunk, DataStream_Header, DataStream_OperationType, DataStream_TextHeader, DataStream_Trailer, DeleteAgentDispatchRequest, DeleteIngressRequest, DeleteRoomRequest, DeleteRoomResponse, DeleteSIPDispatchRuleRequest, DeleteSIPTrunkRequest, Destination, DialWhatsAppCallRequest, DialWhatsAppCallResponse, DirectFileOutput, DisabledCodecs, DisconnectReason, DisconnectWhatsAppCallRequest, DisconnectWhatsAppCallResponse, EgressInfo, EgressSourceType, EgressStatus, EncodedFileOutput, EncodedFileType, EncodingOptions, EncodingOptionsPreset, EncryptedPacket, EncryptedPacketPayload, Encryption, Encryption_Type, EventMetric, FileInfo, 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, 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, MetricLabel, MetricSample, MetricsBatch, MetricsRecordingHeader, MigrateJobRequest, MoveParticipantRequest, MoveParticipantResponse, MuteRoomTrackRequest, MuteRoomTrackResponse, MuteTrackRequest, Pagination, ParticipantEgressRequest, ParticipantInfo, ParticipantInfo_Kind, ParticipantInfo_KindDetail, ParticipantInfo_State, ParticipantPermission, ParticipantTracks, ParticipantUpdate, PerformRpcRequest, PerformRpcResponse, Ping, PlayoutDelay, Pong, ProviderInfo, ProviderType, ProxyConfig, RTCPSenderReportState, RTPDrift, RTPForwarderState, RTPMungerState, RTPStats, ReconnectReason, ReconnectResponse, RegionInfo, RegionSettings, RegisterWorkerRequest, RegisterWorkerResponse, RemoveParticipantResponse, RequestResponse, RequestResponse_Reason, Room, RoomAgent, RoomAgentDispatch, RoomCompositeEgressRequest, RoomConfiguration, RoomEgress, RoomMovedResponse, RoomParticipantIdentity, RoomUpdate, RpcAck, RpcError, RpcRequest, RpcResponse, S3Upload, SIPCallDirection, SIPCallInfo, SIPCallStatus, SIPDispatchRule, SIPDispatchRuleCallee, SIPDispatchRuleDirect, SIPDispatchRuleIndividual, SIPDispatchRuleInfo, SIPDispatchRuleUpdate, SIPFeature, SIPHeaderOptions, SIPInboundTrunkInfo, SIPInboundTrunkUpdate, 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, StopEgressRequest, StreamInfo, StreamInfoList, StreamInfo_Status, StreamOutput, StreamProtocol, StreamState, StreamStateInfo, StreamStateUpdate, SubscribedAudioCodec, SubscribedAudioCodecUpdate, SubscribedCodec, SubscribedQuality, SubscribedQualityUpdate, SubscriptionError, SubscriptionPermission, SubscriptionPermissionUpdate, SubscriptionResponse, SyncState, TimeSeriesMetric, TimedVersion, TokenPagination, TokenSourceRequest, TokenSourceResponse, TrackCompositeEgressRequest, TrackEgressRequest, TrackInfo, TrackPermission, TrackPublishedResponse, TrackSource, TrackSubscribed, TrackType, TrackUnpublishedResponse, Transcription, TranscriptionSegment, TransferSIPParticipantRequest, TrickleRequest, 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, WebhookConfig, WebhookEvent, WhatsAppCall, WhatsAppCallDirection, WorkerMessage, WorkerPing, WorkerPong, WorkerStatus, WrappedJoinRequest, WrappedJoinRequest_Compression, version };
|
|
7541
7725
|
//# sourceMappingURL=index.mjs.map
|