@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/dist/index.cjs +689 -21
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1754 -277
- package/dist/index.d.mts +1754 -277
- package/dist/index.d.ts +1754 -277
- package/dist/index.mjs +674 -21
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +49 -0
- package/src/gen/agent/livekit_agent_session_pb.js +19 -0
- package/src/gen/agent/livekit_agent_thread_pb.d.ts +653 -0
- package/src/gen/agent/livekit_agent_thread_pb.js +268 -0
- package/src/gen/livekit_agent_pb.d.ts +426 -6
- package/src/gen/livekit_agent_pb.js +170 -0
- package/src/gen/livekit_agent_simulation_pb.d.ts +175 -15
- package/src/gen/livekit_agent_simulation_pb.js +57 -8
- package/src/gen/livekit_agentdb_pb.d.ts +63 -36
- package/src/gen/livekit_agentdb_pb.js +28 -15
- package/src/gen/livekit_egress_pb.d.ts +62 -1
- package/src/gen/livekit_egress_pb.js +15 -0
- package/src/gen/livekit_internal_pb.d.ts +16 -1
- package/src/gen/livekit_internal_pb.js +2 -0
- package/src/gen/livekit_metrics_pb.d.ts +9 -0
- package/src/gen/livekit_metrics_pb.js +1 -0
- package/src/gen/livekit_models_pb.d.ts +46 -2
- package/src/gen/livekit_models_pb.js +17 -1
- package/src/gen/livekit_rtc_pb.d.ts +25 -0
- package/src/gen/livekit_rtc_pb.js +13 -0
- package/src/gen/livekit_sip_pb.d.ts +7 -0
- package/src/gen/livekit_sip_pb.js +1 -0
- package/src/gen/livekit_webhook_pb.d.ts +1 -1
- package/src/gen/version.js +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
package/package.json
CHANGED
|
@@ -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
|
|