@livekit/protocol 1.46.2 → 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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livekit/protocol",
3
- "version": "1.46.2",
3
+ "version": "1.46.4",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -895,6 +895,33 @@ export declare class AgentSessionUsage extends Message<AgentSessionUsage> {
895
895
  static equals(a: AgentSessionUsage | PlainMessage<AgentSessionUsage> | undefined, b: AgentSessionUsage | PlainMessage<AgentSessionUsage> | undefined): boolean;
896
896
  }
897
897
 
898
+ /**
899
+ * Debug/trace payload carried over the remote session wire.
900
+ * Internal: surfaced only to the debugger/recorder, not to user code.
901
+ *
902
+ * @generated from message livekit.agent.DebugMessage
903
+ */
904
+ export declare class DebugMessage extends Message<DebugMessage> {
905
+ /**
906
+ * @generated from field: google.protobuf.Struct payload = 1;
907
+ */
908
+ payload?: Struct;
909
+
910
+ constructor(data?: PartialMessage<DebugMessage>);
911
+
912
+ static readonly runtime: typeof proto3;
913
+ static readonly typeName = "livekit.agent.DebugMessage";
914
+ static readonly fields: FieldList;
915
+
916
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DebugMessage;
917
+
918
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DebugMessage;
919
+
920
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DebugMessage;
921
+
922
+ static equals(a: DebugMessage | PlainMessage<DebugMessage> | undefined, b: DebugMessage | PlainMessage<DebugMessage> | undefined): boolean;
923
+ }
924
+
898
925
  /**
899
926
  * @generated from message livekit.agent.AgentSessionEvent
900
927
  */
@@ -973,6 +1000,12 @@ export declare class AgentSessionEvent extends Message<AgentSessionEvent> {
973
1000
  */
974
1001
  value: AgentSessionEvent_FunctionToolsStarted;
975
1002
  case: "functionToolsStarted";
1003
+ } | {
1004
+ /**
1005
+ * @generated from field: livekit.agent.DebugMessage debug_message = 21;
1006
+ */
1007
+ value: DebugMessage;
1008
+ case: "debugMessage";
976
1009
  } | { case: undefined; value?: undefined };
977
1010
 
978
1011
  constructor(data?: PartialMessage<AgentSessionEvent>);
@@ -300,6 +300,19 @@ export const AgentSessionUsage = /*@__PURE__*/ proto3.makeMessageType(
300
300
  ],
301
301
  );
302
302
 
303
+ /**
304
+ * Debug/trace payload carried over the remote session wire.
305
+ * Internal: surfaced only to the debugger/recorder, not to user code.
306
+ *
307
+ * @generated from message livekit.agent.DebugMessage
308
+ */
309
+ export const DebugMessage = /*@__PURE__*/ proto3.makeMessageType(
310
+ "livekit.agent.DebugMessage",
311
+ () => [
312
+ { no: 1, name: "payload", kind: "message", T: Struct },
313
+ ],
314
+ );
315
+
303
316
  /**
304
317
  * @generated from message livekit.agent.AgentSessionEvent
305
318
  */
@@ -318,6 +331,7 @@ export const AgentSessionEvent = /*@__PURE__*/ proto3.makeMessageType(
318
331
  { no: 18, name: "amd_prediction", kind: "message", T: AgentSessionEvent_AmdPrediction, oneof: "event" },
319
332
  { no: 19, name: "eot_prediction", kind: "message", T: AgentSessionEvent_EotPrediction, oneof: "event" },
320
333
  { no: 20, name: "function_tools_started", kind: "message", T: AgentSessionEvent_FunctionToolsStarted, oneof: "event" },
334
+ { no: 21, name: "debug_message", kind: "message", T: DebugMessage, oneof: "event" },
321
335
  ],
322
336
  );
323
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
  */
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '1.46.2';
2
+ export const version = '1.46.4';