@livekit/protocol 1.52.1 → 1.53.1

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.52.1",
3
+ "version": "1.53.1",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -131,6 +131,46 @@ export declare enum ToolReplyStatus {
131
131
  TR_SKIPPED = 3,
132
132
  }
133
133
 
134
+ /**
135
+ * Why an agent session closed. Agent evals read it from the recording upload's session
136
+ * summary (MetricsRecordingHeader.session_summary), as the value name.
137
+ *
138
+ * @generated from enum livekit.agent.CloseReason
139
+ */
140
+ export declare enum CloseReason {
141
+ /**
142
+ * not reported, or an SDK-specific reason
143
+ *
144
+ * @generated from enum value: CR_UNKNOWN = 0;
145
+ */
146
+ CR_UNKNOWN = 0,
147
+
148
+ /**
149
+ * @generated from enum value: CR_ERROR = 1;
150
+ */
151
+ CR_ERROR = 1,
152
+
153
+ /**
154
+ * @generated from enum value: CR_JOB_SHUTDOWN = 2;
155
+ */
156
+ CR_JOB_SHUTDOWN = 2,
157
+
158
+ /**
159
+ * @generated from enum value: CR_PARTICIPANT_DISCONNECTED = 3;
160
+ */
161
+ CR_PARTICIPANT_DISCONNECTED = 3,
162
+
163
+ /**
164
+ * @generated from enum value: CR_USER_INITIATED = 4;
165
+ */
166
+ CR_USER_INITIATED = 4,
167
+
168
+ /**
169
+ * @generated from enum value: CR_COMPLETED = 5;
170
+ */
171
+ CR_COMPLETED = 5,
172
+ }
173
+
134
174
  /**
135
175
  * @generated from enum livekit.agent.AmdCategory
136
176
  */
@@ -402,6 +442,15 @@ export declare class FunctionCall extends Message<FunctionCall> {
402
442
  */
403
443
  createdAt?: Timestamp;
404
444
 
445
+ /**
446
+ * Framework metadata recorded on the call, kept with the history. A delegating call records
447
+ * where the request went: lk.delegation.task_id, lk.delegation.endpoint,
448
+ * lk.delegation.transport and lk.delegation.profile.
449
+ *
450
+ * @generated from field: map<string, string> extra = 6;
451
+ */
452
+ extra: { [key: string]: string };
453
+
405
454
  constructor(data?: PartialMessage<FunctionCall>);
406
455
 
407
456
  static readonly runtime: typeof proto3;
@@ -70,6 +70,24 @@ export const ToolReplyStatus = /*@__PURE__*/ proto3.makeEnum(
70
70
  ],
71
71
  );
72
72
 
73
+ /**
74
+ * Why an agent session closed. Agent evals read it from the recording upload's session
75
+ * summary (MetricsRecordingHeader.session_summary), as the value name.
76
+ *
77
+ * @generated from enum livekit.agent.CloseReason
78
+ */
79
+ export const CloseReason = /*@__PURE__*/ proto3.makeEnum(
80
+ "livekit.agent.CloseReason",
81
+ [
82
+ {no: 0, name: "CR_UNKNOWN"},
83
+ {no: 1, name: "CR_ERROR"},
84
+ {no: 2, name: "CR_JOB_SHUTDOWN"},
85
+ {no: 3, name: "CR_PARTICIPANT_DISCONNECTED"},
86
+ {no: 4, name: "CR_USER_INITIATED"},
87
+ {no: 5, name: "CR_COMPLETED"},
88
+ ],
89
+ );
90
+
73
91
  /**
74
92
  * @generated from enum livekit.agent.AmdCategory
75
93
  */
@@ -158,6 +176,7 @@ export const FunctionCall = /*@__PURE__*/ proto3.makeMessageType(
158
176
  { no: 3, name: "arguments", kind: "scalar", T: 9 /* ScalarType.STRING */ },
159
177
  { no: 4, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
160
178
  { no: 5, name: "created_at", kind: "message", T: Timestamp },
179
+ { no: 6, name: "extra", kind: "map", K: 9 /* ScalarType.STRING */, V: {kind: "scalar", T: 9 /* ScalarType.STRING */} },
161
180
  ],
162
181
  );
163
182