@livekit/protocol 1.44.0 → 1.45.0

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.44.0",
3
+ "version": "1.45.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "require": "dist/index.cjs",
@@ -0,0 +1,281 @@
1
+ // Copyright 2023 LiveKit, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
+ // @generated from file agent/livekit_agent_text.proto (package livekit.agent, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
21
+ import { Message, proto3 } from "@bufbuild/protobuf";
22
+ import type { AgentHandoff, ChatMessage, FunctionCall, FunctionCallOutput } from "./livekit_agent_session_pb.js";
23
+
24
+ /**
25
+ * @generated from enum livekit.agent.TextMessageErrorCode
26
+ */
27
+ export declare enum TextMessageErrorCode {
28
+ /**
29
+ * Unexpected internal error
30
+ *
31
+ * @generated from enum value: INTERNAL_ERROR = 0;
32
+ */
33
+ INTERNAL_ERROR = 0,
34
+
35
+ /**
36
+ * Session state not found in cache or version mismatch
37
+ *
38
+ * @generated from enum value: SESSION_STATE_NOT_FOUND = 1;
39
+ */
40
+ SESSION_STATE_NOT_FOUND = 1,
41
+
42
+ /**
43
+ * An exception was raised inside the user's text handler
44
+ *
45
+ * @generated from enum value: TEXT_HANDLER_ERROR = 2;
46
+ */
47
+ TEXT_HANDLER_ERROR = 2,
48
+
49
+ /**
50
+ * The worker process exited before the text session completed
51
+ *
52
+ * @generated from enum value: PROCESS_CLOSED = 3;
53
+ */
54
+ PROCESS_CLOSED = 3,
55
+ }
56
+
57
+ /**
58
+ * Request to send a text message to an agent.
59
+ *
60
+ * @generated from message livekit.agent.TextMessageRequest
61
+ */
62
+ export declare class TextMessageRequest extends Message<TextMessageRequest> {
63
+ /**
64
+ * @generated from field: string text = 1;
65
+ */
66
+ text: string;
67
+
68
+ /**
69
+ * @generated from field: string message_id = 2;
70
+ */
71
+ messageId: string;
72
+
73
+ /**
74
+ * @generated from field: string session_id = 3;
75
+ */
76
+ sessionId: string;
77
+
78
+ /**
79
+ * @generated from field: string agent_name = 4;
80
+ */
81
+ agentName: string;
82
+
83
+ /**
84
+ * @generated from field: string metadata = 5;
85
+ */
86
+ metadata: string;
87
+
88
+ /**
89
+ * @generated from field: optional livekit.agent.AgentSessionState session_state = 6;
90
+ */
91
+ sessionState?: AgentSessionState;
92
+
93
+ constructor(data?: PartialMessage<TextMessageRequest>);
94
+
95
+ static readonly runtime: typeof proto3;
96
+ static readonly typeName = "livekit.agent.TextMessageRequest";
97
+ static readonly fields: FieldList;
98
+
99
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageRequest;
100
+
101
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageRequest;
102
+
103
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageRequest;
104
+
105
+ static equals(a: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined, b: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined): boolean;
106
+ }
107
+
108
+ /**
109
+ * Response to a text message request, multiple responses may be sent for a single request until it is complete.
110
+ *
111
+ * @generated from message livekit.agent.TextMessageResponse
112
+ */
113
+ export declare class TextMessageResponse extends Message<TextMessageResponse> {
114
+ /**
115
+ * @generated from field: string message_id = 1;
116
+ */
117
+ messageId: string;
118
+
119
+ /**
120
+ * @generated from field: string session_id = 2;
121
+ */
122
+ sessionId: string;
123
+
124
+ /**
125
+ * @generated from oneof livekit.agent.TextMessageResponse.event
126
+ */
127
+ event: {
128
+ /**
129
+ * @generated from field: livekit.agent.ChatMessage message = 3;
130
+ */
131
+ value: ChatMessage;
132
+ case: "message";
133
+ } | {
134
+ /**
135
+ * @generated from field: livekit.agent.FunctionCall function_call = 4;
136
+ */
137
+ value: FunctionCall;
138
+ case: "functionCall";
139
+ } | {
140
+ /**
141
+ * @generated from field: livekit.agent.FunctionCallOutput function_call_output = 5;
142
+ */
143
+ value: FunctionCallOutput;
144
+ case: "functionCallOutput";
145
+ } | {
146
+ /**
147
+ * @generated from field: livekit.agent.AgentHandoff agent_handoff = 6;
148
+ */
149
+ value: AgentHandoff;
150
+ case: "agentHandoff";
151
+ } | {
152
+ /**
153
+ * @generated from field: livekit.agent.TextMessageComplete complete = 7;
154
+ */
155
+ value: TextMessageComplete;
156
+ case: "complete";
157
+ } | { case: undefined; value?: undefined };
158
+
159
+ constructor(data?: PartialMessage<TextMessageResponse>);
160
+
161
+ static readonly runtime: typeof proto3;
162
+ static readonly typeName = "livekit.agent.TextMessageResponse";
163
+ static readonly fields: FieldList;
164
+
165
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageResponse;
166
+
167
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageResponse;
168
+
169
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageResponse;
170
+
171
+ static equals(a: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined, b: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined): boolean;
172
+ }
173
+
174
+ /**
175
+ * Indicates the text message session is complete.
176
+ *
177
+ * @generated from message livekit.agent.TextMessageComplete
178
+ */
179
+ export declare class TextMessageComplete extends Message<TextMessageComplete> {
180
+ /**
181
+ * @generated from oneof livekit.agent.TextMessageComplete.result
182
+ */
183
+ result: {
184
+ /**
185
+ * @generated from field: livekit.agent.AgentSessionState session_state = 1;
186
+ */
187
+ value: AgentSessionState;
188
+ case: "sessionState";
189
+ } | {
190
+ /**
191
+ * @generated from field: livekit.agent.TextMessageError error = 2;
192
+ */
193
+ value: TextMessageError;
194
+ case: "error";
195
+ } | { case: undefined; value?: undefined };
196
+
197
+ constructor(data?: PartialMessage<TextMessageComplete>);
198
+
199
+ static readonly runtime: typeof proto3;
200
+ static readonly typeName = "livekit.agent.TextMessageComplete";
201
+ static readonly fields: FieldList;
202
+
203
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageComplete;
204
+
205
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageComplete;
206
+
207
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageComplete;
208
+
209
+ static equals(a: TextMessageComplete | PlainMessage<TextMessageComplete> | undefined, b: TextMessageComplete | PlainMessage<TextMessageComplete> | undefined): boolean;
210
+ }
211
+
212
+ /**
213
+ * @generated from message livekit.agent.AgentSessionState
214
+ */
215
+ export declare class AgentSessionState extends Message<AgentSessionState> {
216
+ /**
217
+ * @generated from field: uint64 version = 1;
218
+ */
219
+ version: bigint;
220
+
221
+ /**
222
+ * @generated from oneof livekit.agent.AgentSessionState.data
223
+ */
224
+ data: {
225
+ /**
226
+ * @generated from field: bytes snapshot = 2;
227
+ */
228
+ value: Uint8Array;
229
+ case: "snapshot";
230
+ } | {
231
+ /**
232
+ * @generated from field: bytes delta = 3;
233
+ */
234
+ value: Uint8Array;
235
+ case: "delta";
236
+ } | { case: undefined; value?: undefined };
237
+
238
+ constructor(data?: PartialMessage<AgentSessionState>);
239
+
240
+ static readonly runtime: typeof proto3;
241
+ static readonly typeName = "livekit.agent.AgentSessionState";
242
+ static readonly fields: FieldList;
243
+
244
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionState;
245
+
246
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionState;
247
+
248
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionState;
249
+
250
+ static equals(a: AgentSessionState | PlainMessage<AgentSessionState> | undefined, b: AgentSessionState | PlainMessage<AgentSessionState> | undefined): boolean;
251
+ }
252
+
253
+ /**
254
+ * @generated from message livekit.agent.TextMessageError
255
+ */
256
+ export declare class TextMessageError extends Message<TextMessageError> {
257
+ /**
258
+ * @generated from field: string message = 1;
259
+ */
260
+ message: string;
261
+
262
+ /**
263
+ * @generated from field: livekit.agent.TextMessageErrorCode code = 2;
264
+ */
265
+ code: TextMessageErrorCode;
266
+
267
+ constructor(data?: PartialMessage<TextMessageError>);
268
+
269
+ static readonly runtime: typeof proto3;
270
+ static readonly typeName = "livekit.agent.TextMessageError";
271
+ static readonly fields: FieldList;
272
+
273
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageError;
274
+
275
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageError;
276
+
277
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageError;
278
+
279
+ static equals(a: TextMessageError | PlainMessage<TextMessageError> | undefined, b: TextMessageError | PlainMessage<TextMessageError> | undefined): boolean;
280
+ }
281
+
@@ -0,0 +1,106 @@
1
+ // Copyright 2023 LiveKit, Inc.
2
+ //
3
+ // Licensed under the Apache License, Version 2.0 (the "License");
4
+ // you may not use this file except in compliance with the License.
5
+ // You may obtain a copy of the License at
6
+ //
7
+ // http://www.apache.org/licenses/LICENSE-2.0
8
+ //
9
+ // Unless required by applicable law or agreed to in writing, software
10
+ // distributed under the License is distributed on an "AS IS" BASIS,
11
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ // See the License for the specific language governing permissions and
13
+ // limitations under the License.
14
+
15
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
16
+ // @generated from file agent/livekit_agent_text.proto (package livekit.agent, syntax proto3)
17
+ /* eslint-disable */
18
+ // @ts-nocheck
19
+
20
+ import { proto3 } from "@bufbuild/protobuf";
21
+ import { AgentHandoff, ChatMessage, FunctionCall, FunctionCallOutput } from "./livekit_agent_session_pb.js";
22
+
23
+ /**
24
+ * @generated from enum livekit.agent.TextMessageErrorCode
25
+ */
26
+ export const TextMessageErrorCode = /*@__PURE__*/ proto3.makeEnum(
27
+ "livekit.agent.TextMessageErrorCode",
28
+ [
29
+ {no: 0, name: "INTERNAL_ERROR"},
30
+ {no: 1, name: "SESSION_STATE_NOT_FOUND"},
31
+ {no: 2, name: "TEXT_HANDLER_ERROR"},
32
+ {no: 3, name: "PROCESS_CLOSED"},
33
+ ],
34
+ );
35
+
36
+ /**
37
+ * Request to send a text message to an agent.
38
+ *
39
+ * @generated from message livekit.agent.TextMessageRequest
40
+ */
41
+ export const TextMessageRequest = /*@__PURE__*/ proto3.makeMessageType(
42
+ "livekit.agent.TextMessageRequest",
43
+ () => [
44
+ { no: 1, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
45
+ { no: 2, name: "message_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
46
+ { no: 3, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
47
+ { no: 4, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
48
+ { no: 5, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
+ { no: 6, name: "session_state", kind: "message", T: AgentSessionState, opt: true },
50
+ ],
51
+ );
52
+
53
+ /**
54
+ * Response to a text message request, multiple responses may be sent for a single request until it is complete.
55
+ *
56
+ * @generated from message livekit.agent.TextMessageResponse
57
+ */
58
+ export const TextMessageResponse = /*@__PURE__*/ proto3.makeMessageType(
59
+ "livekit.agent.TextMessageResponse",
60
+ () => [
61
+ { no: 1, name: "message_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
62
+ { no: 2, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
63
+ { no: 3, name: "message", kind: "message", T: ChatMessage, oneof: "event" },
64
+ { no: 4, name: "function_call", kind: "message", T: FunctionCall, oneof: "event" },
65
+ { no: 5, name: "function_call_output", kind: "message", T: FunctionCallOutput, oneof: "event" },
66
+ { no: 6, name: "agent_handoff", kind: "message", T: AgentHandoff, oneof: "event" },
67
+ { no: 7, name: "complete", kind: "message", T: TextMessageComplete, oneof: "event" },
68
+ ],
69
+ );
70
+
71
+ /**
72
+ * Indicates the text message session is complete.
73
+ *
74
+ * @generated from message livekit.agent.TextMessageComplete
75
+ */
76
+ export const TextMessageComplete = /*@__PURE__*/ proto3.makeMessageType(
77
+ "livekit.agent.TextMessageComplete",
78
+ () => [
79
+ { no: 1, name: "session_state", kind: "message", T: AgentSessionState, oneof: "result" },
80
+ { no: 2, name: "error", kind: "message", T: TextMessageError, oneof: "result" },
81
+ ],
82
+ );
83
+
84
+ /**
85
+ * @generated from message livekit.agent.AgentSessionState
86
+ */
87
+ export const AgentSessionState = /*@__PURE__*/ proto3.makeMessageType(
88
+ "livekit.agent.AgentSessionState",
89
+ () => [
90
+ { no: 1, name: "version", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
91
+ { no: 2, name: "snapshot", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "data" },
92
+ { no: 3, name: "delta", kind: "scalar", T: 12 /* ScalarType.BYTES */, oneof: "data" },
93
+ ],
94
+ );
95
+
96
+ /**
97
+ * @generated from message livekit.agent.TextMessageError
98
+ */
99
+ export const TextMessageError = /*@__PURE__*/ proto3.makeMessageType(
100
+ "livekit.agent.TextMessageError",
101
+ () => [
102
+ { no: 1, name: "message", kind: "scalar", T: 9 /* ScalarType.STRING */ },
103
+ { no: 2, name: "code", kind: "enum", T: proto3.getEnumType(TextMessageErrorCode) },
104
+ ],
105
+ );
106
+
@@ -269,18 +269,6 @@ export declare class WorkerMessage extends Message<WorkerMessage> {
269
269
  */
270
270
  value: MigrateJobRequest;
271
271
  case: "migrateJob";
272
- } | {
273
- /**
274
- * @generated from field: livekit.TextMessageResponse text_response = 8;
275
- */
276
- value: TextMessageResponse;
277
- case: "textResponse";
278
- } | {
279
- /**
280
- * @generated from field: livekit.PushTextRequest push_text = 9;
281
- */
282
- value: PushTextRequest;
283
- case: "pushText";
284
272
  } | { case: undefined; value?: undefined };
285
273
 
286
274
  constructor(data?: PartialMessage<WorkerMessage>);
@@ -341,12 +329,6 @@ export declare class ServerMessage extends Message<ServerMessage> {
341
329
  */
342
330
  value: WorkerPong;
343
331
  case: "pong";
344
- } | {
345
- /**
346
- * @generated from field: livekit.TextMessageRequest text_request = 6;
347
- */
348
- value: TextMessageRequest;
349
- case: "textRequest";
350
332
  } | { case: undefined; value?: undefined };
351
333
 
352
334
  constructor(data?: PartialMessage<ServerMessage>);
@@ -784,119 +766,3 @@ export declare class JobTermination extends Message<JobTermination> {
784
766
  static equals(a: JobTermination | PlainMessage<JobTermination> | undefined, b: JobTermination | PlainMessage<JobTermination> | undefined): boolean;
785
767
  }
786
768
 
787
- /**
788
- * @generated from message livekit.TextMessageRequest
789
- */
790
- export declare class TextMessageRequest extends Message<TextMessageRequest> {
791
- /**
792
- * @generated from field: string message_id = 1;
793
- */
794
- messageId: string;
795
-
796
- /**
797
- * @generated from field: string session_id = 2;
798
- */
799
- sessionId: string;
800
-
801
- /**
802
- * @generated from field: string agent_name = 3;
803
- */
804
- agentName: string;
805
-
806
- /**
807
- * @generated from field: string metadata = 4;
808
- */
809
- metadata: string;
810
-
811
- /**
812
- * @generated from field: bytes session_data = 5;
813
- */
814
- sessionData: Uint8Array;
815
-
816
- /**
817
- * @generated from field: string text = 6;
818
- */
819
- text: string;
820
-
821
- constructor(data?: PartialMessage<TextMessageRequest>);
822
-
823
- static readonly runtime: typeof proto3;
824
- static readonly typeName = "livekit.TextMessageRequest";
825
- static readonly fields: FieldList;
826
-
827
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageRequest;
828
-
829
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageRequest;
830
-
831
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageRequest;
832
-
833
- static equals(a: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined, b: TextMessageRequest | PlainMessage<TextMessageRequest> | undefined): boolean;
834
- }
835
-
836
- /**
837
- * @generated from message livekit.PushTextRequest
838
- */
839
- export declare class PushTextRequest extends Message<PushTextRequest> {
840
- /**
841
- * The message_id of the TextMessageRequest that this push is for
842
- *
843
- * @generated from field: string message_id = 1;
844
- */
845
- messageId: string;
846
-
847
- /**
848
- * @generated from field: string content = 2;
849
- */
850
- content: string;
851
-
852
- constructor(data?: PartialMessage<PushTextRequest>);
853
-
854
- static readonly runtime: typeof proto3;
855
- static readonly typeName = "livekit.PushTextRequest";
856
- static readonly fields: FieldList;
857
-
858
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PushTextRequest;
859
-
860
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PushTextRequest;
861
-
862
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PushTextRequest;
863
-
864
- static equals(a: PushTextRequest | PlainMessage<PushTextRequest> | undefined, b: PushTextRequest | PlainMessage<PushTextRequest> | undefined): boolean;
865
- }
866
-
867
- /**
868
- * @generated from message livekit.TextMessageResponse
869
- */
870
- export declare class TextMessageResponse extends Message<TextMessageResponse> {
871
- /**
872
- * Indicate the request is completed
873
- *
874
- * @generated from field: string message_id = 1;
875
- */
876
- messageId: string;
877
-
878
- /**
879
- * @generated from field: bytes session_data = 2;
880
- */
881
- sessionData: Uint8Array;
882
-
883
- /**
884
- * @generated from field: string error = 3;
885
- */
886
- error: string;
887
-
888
- constructor(data?: PartialMessage<TextMessageResponse>);
889
-
890
- static readonly runtime: typeof proto3;
891
- static readonly typeName = "livekit.TextMessageResponse";
892
- static readonly fields: FieldList;
893
-
894
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextMessageResponse;
895
-
896
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextMessageResponse;
897
-
898
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextMessageResponse;
899
-
900
- static equals(a: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined, b: TextMessageResponse | PlainMessage<TextMessageResponse> | undefined): boolean;
901
- }
902
-
@@ -107,8 +107,6 @@ export const WorkerMessage = /*@__PURE__*/ proto3.makeMessageType(
107
107
  { no: 5, name: "ping", kind: "message", T: WorkerPing, oneof: "message" },
108
108
  { no: 6, name: "simulate_job", kind: "message", T: SimulateJobRequest, oneof: "message" },
109
109
  { no: 7, name: "migrate_job", kind: "message", T: MigrateJobRequest, oneof: "message" },
110
- { no: 8, name: "text_response", kind: "message", T: TextMessageResponse, oneof: "message" },
111
- { no: 9, name: "push_text", kind: "message", T: PushTextRequest, oneof: "message" },
112
110
  ],
113
111
  );
114
112
 
@@ -125,7 +123,6 @@ export const ServerMessage = /*@__PURE__*/ proto3.makeMessageType(
125
123
  { no: 3, name: "assignment", kind: "message", T: JobAssignment, oneof: "message" },
126
124
  { no: 5, name: "termination", kind: "message", T: JobTermination, oneof: "message" },
127
125
  { no: 4, name: "pong", kind: "message", T: WorkerPong, oneof: "message" },
128
- { no: 6, name: "text_request", kind: "message", T: TextMessageRequest, oneof: "message" },
129
126
  ],
130
127
  );
131
128
 
@@ -272,41 +269,3 @@ export const JobTermination = /*@__PURE__*/ proto3.makeMessageType(
272
269
  ],
273
270
  );
274
271
 
275
- /**
276
- * @generated from message livekit.TextMessageRequest
277
- */
278
- export const TextMessageRequest = /*@__PURE__*/ proto3.makeMessageType(
279
- "livekit.TextMessageRequest",
280
- () => [
281
- { no: 1, name: "message_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
282
- { no: 2, name: "session_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
283
- { no: 3, name: "agent_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
284
- { no: 4, name: "metadata", kind: "scalar", T: 9 /* ScalarType.STRING */ },
285
- { no: 5, name: "session_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
286
- { no: 6, name: "text", kind: "scalar", T: 9 /* ScalarType.STRING */ },
287
- ],
288
- );
289
-
290
- /**
291
- * @generated from message livekit.PushTextRequest
292
- */
293
- export const PushTextRequest = /*@__PURE__*/ proto3.makeMessageType(
294
- "livekit.PushTextRequest",
295
- () => [
296
- { no: 1, name: "message_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
297
- { no: 2, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */ },
298
- ],
299
- );
300
-
301
- /**
302
- * @generated from message livekit.TextMessageResponse
303
- */
304
- export const TextMessageResponse = /*@__PURE__*/ proto3.makeMessageType(
305
- "livekit.TextMessageResponse",
306
- () => [
307
- { no: 1, name: "message_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
308
- { no: 2, name: "session_data", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
309
- { no: 3, name: "error", kind: "scalar", T: 9 /* ScalarType.STRING */ },
310
- ],
311
- );
312
-