@livekit/protocol 1.46.3 → 1.46.4
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 +6 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -21
- package/dist/index.d.mts +17 -21
- package/dist/index.d.ts +17 -21
- package/dist/index.mjs +6 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +14 -18
- package/src/gen/agent/livekit_agent_session_pb.js +7 -7
- package/src/gen/livekit_agent_simulation_pb.d.ts +75 -0
- package/src/gen/livekit_agent_simulation_pb.js +27 -0
- package/src/gen/version.js +1 -1
package/package.json
CHANGED
|
@@ -896,34 +896,30 @@ export declare class AgentSessionUsage extends Message<AgentSessionUsage> {
|
|
|
896
896
|
}
|
|
897
897
|
|
|
898
898
|
/**
|
|
899
|
-
*
|
|
899
|
+
* Debug/trace payload carried over the remote session wire.
|
|
900
|
+
* Internal: surfaced only to the debugger/recorder, not to user code.
|
|
900
901
|
*
|
|
901
|
-
* @generated from message livekit.agent.
|
|
902
|
+
* @generated from message livekit.agent.DebugMessage
|
|
902
903
|
*/
|
|
903
|
-
export declare class
|
|
904
|
+
export declare class DebugMessage extends Message<DebugMessage> {
|
|
904
905
|
/**
|
|
905
|
-
* @generated from field:
|
|
906
|
-
*/
|
|
907
|
-
type: string;
|
|
908
|
-
|
|
909
|
-
/**
|
|
910
|
-
* @generated from field: google.protobuf.Struct payload = 2;
|
|
906
|
+
* @generated from field: google.protobuf.Struct payload = 1;
|
|
911
907
|
*/
|
|
912
908
|
payload?: Struct;
|
|
913
909
|
|
|
914
|
-
constructor(data?: PartialMessage<
|
|
910
|
+
constructor(data?: PartialMessage<DebugMessage>);
|
|
915
911
|
|
|
916
912
|
static readonly runtime: typeof proto3;
|
|
917
|
-
static readonly typeName = "livekit.agent.
|
|
913
|
+
static readonly typeName = "livekit.agent.DebugMessage";
|
|
918
914
|
static readonly fields: FieldList;
|
|
919
915
|
|
|
920
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
916
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DebugMessage;
|
|
921
917
|
|
|
922
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
918
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DebugMessage;
|
|
923
919
|
|
|
924
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
920
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DebugMessage;
|
|
925
921
|
|
|
926
|
-
static equals(a:
|
|
922
|
+
static equals(a: DebugMessage | PlainMessage<DebugMessage> | undefined, b: DebugMessage | PlainMessage<DebugMessage> | undefined): boolean;
|
|
927
923
|
}
|
|
928
924
|
|
|
929
925
|
/**
|
|
@@ -1006,10 +1002,10 @@ export declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
1006
1002
|
case: "functionToolsStarted";
|
|
1007
1003
|
} | {
|
|
1008
1004
|
/**
|
|
1009
|
-
* @generated from field: livekit.agent.
|
|
1005
|
+
* @generated from field: livekit.agent.DebugMessage debug_message = 21;
|
|
1010
1006
|
*/
|
|
1011
|
-
value:
|
|
1012
|
-
case: "
|
|
1007
|
+
value: DebugMessage;
|
|
1008
|
+
case: "debugMessage";
|
|
1013
1009
|
} | { case: undefined; value?: undefined };
|
|
1014
1010
|
|
|
1015
1011
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -301,15 +301,15 @@ export const AgentSessionUsage = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
301
301
|
);
|
|
302
302
|
|
|
303
303
|
/**
|
|
304
|
-
*
|
|
304
|
+
* Debug/trace payload carried over the remote session wire.
|
|
305
|
+
* Internal: surfaced only to the debugger/recorder, not to user code.
|
|
305
306
|
*
|
|
306
|
-
* @generated from message livekit.agent.
|
|
307
|
+
* @generated from message livekit.agent.DebugMessage
|
|
307
308
|
*/
|
|
308
|
-
export const
|
|
309
|
-
"livekit.agent.
|
|
309
|
+
export const DebugMessage = /*@__PURE__*/ proto3.makeMessageType(
|
|
310
|
+
"livekit.agent.DebugMessage",
|
|
310
311
|
() => [
|
|
311
|
-
{ no: 1, name: "
|
|
312
|
-
{ no: 2, name: "payload", kind: "message", T: Struct },
|
|
312
|
+
{ no: 1, name: "payload", kind: "message", T: Struct },
|
|
313
313
|
],
|
|
314
314
|
);
|
|
315
315
|
|
|
@@ -331,7 +331,7 @@ export const AgentSessionEvent = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
331
331
|
{ no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
|
|
332
332
|
{ no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
|
|
333
333
|
{ no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
|
|
334
|
-
{ no: 21, name: "
|
|
334
|
+
{ no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" },
|
|
335
335
|
],
|
|
336
336
|
);
|
|
337
337
|
|
|
@@ -86,6 +86,11 @@ export declare class SimulationRunSummary_Issue extends Message<SimulationRunSum
|
|
|
86
86
|
*/
|
|
87
87
|
suggestion: string;
|
|
88
88
|
|
|
89
|
+
/**
|
|
90
|
+
* @generated from field: string label = 3;
|
|
91
|
+
*/
|
|
92
|
+
label: string;
|
|
93
|
+
|
|
89
94
|
constructor(data?: PartialMessage<SimulationRunSummary_Issue>);
|
|
90
95
|
|
|
91
96
|
static readonly runtime: typeof proto3;
|
|
@@ -180,6 +185,13 @@ export declare class SimulationRun extends Message<SimulationRun> {
|
|
|
180
185
|
*/
|
|
181
186
|
numSimulations: number;
|
|
182
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Aggregate usage across all jobs in this run (sum of Job.usage).
|
|
190
|
+
*
|
|
191
|
+
* @generated from field: livekit.SimulationRun.Usage usage = 16;
|
|
192
|
+
*/
|
|
193
|
+
usage?: SimulationRun_Usage;
|
|
194
|
+
|
|
183
195
|
constructor(data?: PartialMessage<SimulationRun>);
|
|
184
196
|
|
|
185
197
|
static readonly runtime: typeof proto3;
|
|
@@ -299,6 +311,11 @@ export declare class SimulationRun_Job extends Message<SimulationRun_Job> {
|
|
|
299
311
|
*/
|
|
300
312
|
roomId: string;
|
|
301
313
|
|
|
314
|
+
/**
|
|
315
|
+
* @generated from field: livekit.SimulationRun.Job.Usage usage = 13;
|
|
316
|
+
*/
|
|
317
|
+
usage?: SimulationRun_Job_Usage;
|
|
318
|
+
|
|
302
319
|
constructor(data?: PartialMessage<SimulationRun_Job>);
|
|
303
320
|
|
|
304
321
|
static readonly runtime: typeof proto3;
|
|
@@ -344,6 +361,35 @@ export declare enum SimulationRun_Job_Status {
|
|
|
344
361
|
CANCELLED = 4,
|
|
345
362
|
}
|
|
346
363
|
|
|
364
|
+
/**
|
|
365
|
+
* @generated from message livekit.SimulationRun.Job.Usage
|
|
366
|
+
*/
|
|
367
|
+
export declare class SimulationRun_Job_Usage extends Message<SimulationRun_Job_Usage> {
|
|
368
|
+
/**
|
|
369
|
+
* @generated from field: int32 text_turns_count = 1;
|
|
370
|
+
*/
|
|
371
|
+
textTurnsCount: number;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* @generated from field: int32 audio_turns_count = 2;
|
|
375
|
+
*/
|
|
376
|
+
audioTurnsCount: number;
|
|
377
|
+
|
|
378
|
+
constructor(data?: PartialMessage<SimulationRun_Job_Usage>);
|
|
379
|
+
|
|
380
|
+
static readonly runtime: typeof proto3;
|
|
381
|
+
static readonly typeName = "livekit.SimulationRun.Job.Usage";
|
|
382
|
+
static readonly fields: FieldList;
|
|
383
|
+
|
|
384
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_Job_Usage;
|
|
385
|
+
|
|
386
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_Job_Usage;
|
|
387
|
+
|
|
388
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_Job_Usage;
|
|
389
|
+
|
|
390
|
+
static equals(a: SimulationRun_Job_Usage | PlainMessage<SimulationRun_Job_Usage> | undefined, b: SimulationRun_Job_Usage | PlainMessage<SimulationRun_Job_Usage> | undefined): boolean;
|
|
391
|
+
}
|
|
392
|
+
|
|
347
393
|
/**
|
|
348
394
|
* @generated from message livekit.SimulationRun.Create
|
|
349
395
|
*/
|
|
@@ -809,6 +855,35 @@ export declare class SimulationRun_Cancel_Response extends Message<SimulationRun
|
|
|
809
855
|
static equals(a: SimulationRun_Cancel_Response | PlainMessage<SimulationRun_Cancel_Response> | undefined, b: SimulationRun_Cancel_Response | PlainMessage<SimulationRun_Cancel_Response> | undefined): boolean;
|
|
810
856
|
}
|
|
811
857
|
|
|
858
|
+
/**
|
|
859
|
+
* @generated from message livekit.SimulationRun.Usage
|
|
860
|
+
*/
|
|
861
|
+
export declare class SimulationRun_Usage extends Message<SimulationRun_Usage> {
|
|
862
|
+
/**
|
|
863
|
+
* @generated from field: int32 text_turns_count = 1;
|
|
864
|
+
*/
|
|
865
|
+
textTurnsCount: number;
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* @generated from field: int32 audio_turns_count = 2;
|
|
869
|
+
*/
|
|
870
|
+
audioTurnsCount: number;
|
|
871
|
+
|
|
872
|
+
constructor(data?: PartialMessage<SimulationRun_Usage>);
|
|
873
|
+
|
|
874
|
+
static readonly runtime: typeof proto3;
|
|
875
|
+
static readonly typeName = "livekit.SimulationRun.Usage";
|
|
876
|
+
static readonly fields: FieldList;
|
|
877
|
+
|
|
878
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SimulationRun_Usage;
|
|
879
|
+
|
|
880
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SimulationRun_Usage;
|
|
881
|
+
|
|
882
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SimulationRun_Usage;
|
|
883
|
+
|
|
884
|
+
static equals(a: SimulationRun_Usage | PlainMessage<SimulationRun_Usage> | undefined, b: SimulationRun_Usage | PlainMessage<SimulationRun_Usage> | undefined): boolean;
|
|
885
|
+
}
|
|
886
|
+
|
|
812
887
|
/**
|
|
813
888
|
* @generated from message livekit.Scenario
|
|
814
889
|
*/
|
|
@@ -45,6 +45,7 @@ export const SimulationRunSummary_Issue = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
45
45
|
() => [
|
|
46
46
|
{ no: 1, name: "description", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
47
47
|
{ no: 2, name: "suggestion", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
48
|
+
{ no: 3, name: "label", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
48
49
|
],
|
|
49
50
|
{localName: "SimulationRunSummary_Issue"},
|
|
50
51
|
);
|
|
@@ -70,6 +71,7 @@ export const SimulationRun = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
70
71
|
{ no: 13, name: "passed_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
71
72
|
{ no: 14, name: "failed_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
72
73
|
{ no: 15, name: "num_simulations", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
74
|
+
{ no: 16, name: "usage", kind: "message", T: SimulationRun_Usage },
|
|
73
75
|
],
|
|
74
76
|
);
|
|
75
77
|
|
|
@@ -107,6 +109,7 @@ export const SimulationRun_Job = /*@__PURE__*/ proto3.makeMessageType(
|
|
|
107
109
|
{ no: 10, name: "started_at", kind: "message", T: Timestamp },
|
|
108
110
|
{ no: 11, name: "ended_at", kind: "message", T: Timestamp },
|
|
109
111
|
{ no: 12, name: "room_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
112
|
+
{ no: 13, name: "usage", kind: "message", T: SimulationRun_Job_Usage },
|
|
110
113
|
],
|
|
111
114
|
{localName: "SimulationRun_Job"},
|
|
112
115
|
);
|
|
@@ -125,6 +128,18 @@ export const SimulationRun_Job_Status = /*@__PURE__*/ proto3.makeEnum(
|
|
|
125
128
|
],
|
|
126
129
|
);
|
|
127
130
|
|
|
131
|
+
/**
|
|
132
|
+
* @generated from message livekit.SimulationRun.Job.Usage
|
|
133
|
+
*/
|
|
134
|
+
export const SimulationRun_Job_Usage = /*@__PURE__*/ proto3.makeMessageType(
|
|
135
|
+
"livekit.SimulationRun.Job.Usage",
|
|
136
|
+
() => [
|
|
137
|
+
{ no: 1, name: "text_turns_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
138
|
+
{ no: 2, name: "audio_turns_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
139
|
+
],
|
|
140
|
+
{localName: "SimulationRun_Job_Usage"},
|
|
141
|
+
);
|
|
142
|
+
|
|
128
143
|
/**
|
|
129
144
|
* @generated from message livekit.SimulationRun.Create
|
|
130
145
|
*/
|
|
@@ -315,6 +330,18 @@ export const SimulationRun_Cancel_Response = /*@__PURE__*/ proto3.makeMessageTyp
|
|
|
315
330
|
{localName: "SimulationRun_Cancel_Response"},
|
|
316
331
|
);
|
|
317
332
|
|
|
333
|
+
/**
|
|
334
|
+
* @generated from message livekit.SimulationRun.Usage
|
|
335
|
+
*/
|
|
336
|
+
export const SimulationRun_Usage = /*@__PURE__*/ proto3.makeMessageType(
|
|
337
|
+
"livekit.SimulationRun.Usage",
|
|
338
|
+
() => [
|
|
339
|
+
{ no: 1, name: "text_turns_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
340
|
+
{ no: 2, name: "audio_turns_count", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
341
|
+
],
|
|
342
|
+
{localName: "SimulationRun_Usage"},
|
|
343
|
+
);
|
|
344
|
+
|
|
318
345
|
/**
|
|
319
346
|
* @generated from message livekit.Scenario
|
|
320
347
|
*/
|
package/src/gen/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '1.46.
|
|
2
|
+
export const version = '1.46.4';
|