@livekit/protocol 1.45.6 → 1.45.7
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 +78 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +116 -2
- package/dist/index.d.mts +116 -2
- package/dist/index.d.ts +116 -2
- package/dist/index.mjs +79 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/gen/agent/livekit_agent_session_pb.d.ts +86 -1
- package/src/gen/agent/livekit_agent_session_pb.js +32 -1
- package/src/gen/livekit_agent_dispatch_pb.d.ts +15 -0
- package/src/gen/livekit_agent_dispatch_pb.js +3 -0
- package/src/gen/livekit_agent_pb.d.ts +10 -0
- package/src/gen/livekit_agent_pb.js +2 -0
- package/src/gen/version.js +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage,
|
|
1
|
+
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Struct, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { Timestamp, protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -83,6 +83,41 @@ declare enum UserState {
|
|
|
83
83
|
US_AWAY = 2,
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @generated from enum livekit.agent.AmdCategory
|
|
88
|
+
*/
|
|
89
|
+
declare enum AmdCategory {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from enum value: AMD_UNKNOWN = 0;
|
|
92
|
+
*/
|
|
93
|
+
AMD_UNKNOWN = 0,
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from enum value: AMD_HUMAN = 1;
|
|
97
|
+
*/
|
|
98
|
+
AMD_HUMAN = 1,
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum value: AMD_MACHINE_IVR = 2;
|
|
102
|
+
*/
|
|
103
|
+
AMD_MACHINE_IVR = 2,
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum value: AMD_MACHINE_VM = 3;
|
|
107
|
+
*/
|
|
108
|
+
AMD_MACHINE_VM = 3,
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: AMD_MACHINE_UNAVAILABLE = 4;
|
|
112
|
+
*/
|
|
113
|
+
AMD_MACHINE_UNAVAILABLE = 4,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from enum value: AMD_UNCERTAIN = 5;
|
|
117
|
+
*/
|
|
118
|
+
AMD_UNCERTAIN = 5,
|
|
119
|
+
}
|
|
120
|
+
|
|
86
121
|
/**
|
|
87
122
|
* @generated from message livekit.agent.MetricsReport
|
|
88
123
|
*/
|
|
@@ -882,6 +917,12 @@ declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
882
917
|
*/
|
|
883
918
|
value: AgentSessionEvent_SessionUsageUpdated;
|
|
884
919
|
case: "sessionUsageUpdated";
|
|
920
|
+
} | {
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: livekit.agent.AgentSessionEvent.AmdPrediction amd_prediction = 18;
|
|
923
|
+
*/
|
|
924
|
+
value: AgentSessionEvent_AmdPrediction;
|
|
925
|
+
case: "amdPrediction";
|
|
885
926
|
} | { case: undefined; value?: undefined };
|
|
886
927
|
|
|
887
928
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1107,6 +1148,50 @@ declare class AgentSessionEvent_OverlappingSpeech extends Message<AgentSessionEv
|
|
|
1107
1148
|
static equals(a: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined, b: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined): boolean;
|
|
1108
1149
|
}
|
|
1109
1150
|
|
|
1151
|
+
/**
|
|
1152
|
+
* @generated from message livekit.agent.AgentSessionEvent.AmdPrediction
|
|
1153
|
+
*/
|
|
1154
|
+
declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessionEvent_AmdPrediction> {
|
|
1155
|
+
/**
|
|
1156
|
+
* @generated from field: google.protobuf.Duration speech_duration = 1;
|
|
1157
|
+
*/
|
|
1158
|
+
speechDuration?: Duration;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* @generated from field: livekit.agent.AmdCategory category = 2;
|
|
1162
|
+
*/
|
|
1163
|
+
category: AmdCategory;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* @generated from field: string reason = 3;
|
|
1167
|
+
*/
|
|
1168
|
+
reason: string;
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* @generated from field: string transcript = 4;
|
|
1172
|
+
*/
|
|
1173
|
+
transcript: string;
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* @generated from field: google.protobuf.Duration delay = 5;
|
|
1177
|
+
*/
|
|
1178
|
+
delay?: Duration;
|
|
1179
|
+
|
|
1180
|
+
constructor(data?: PartialMessage<AgentSessionEvent_AmdPrediction>);
|
|
1181
|
+
|
|
1182
|
+
static readonly runtime: typeof proto3;
|
|
1183
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.AmdPrediction";
|
|
1184
|
+
static readonly fields: FieldList;
|
|
1185
|
+
|
|
1186
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1187
|
+
|
|
1188
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1189
|
+
|
|
1190
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1191
|
+
|
|
1192
|
+
static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1110
1195
|
/**
|
|
1111
1196
|
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
1112
1197
|
*/
|
|
@@ -1879,6 +1964,8 @@ type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent;
|
|
|
1879
1964
|
declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent;
|
|
1880
1965
|
type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged;
|
|
1881
1966
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged;
|
|
1967
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction = AgentSessionEvent_AmdPrediction;
|
|
1968
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction: typeof AgentSessionEvent_AmdPrediction;
|
|
1882
1969
|
type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
|
|
1883
1970
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
|
|
1884
1971
|
type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
|
|
@@ -1909,6 +1996,8 @@ type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage;
|
|
|
1909
1996
|
declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage;
|
|
1910
1997
|
type livekit_agent_session_pb_d_AgentState = AgentState;
|
|
1911
1998
|
declare const livekit_agent_session_pb_d_AgentState: typeof AgentState;
|
|
1999
|
+
type livekit_agent_session_pb_d_AmdCategory = AmdCategory;
|
|
2000
|
+
declare const livekit_agent_session_pb_d_AmdCategory: typeof AmdCategory;
|
|
1912
2001
|
type livekit_agent_session_pb_d_ChatContext = ChatContext;
|
|
1913
2002
|
declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
|
|
1914
2003
|
type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
|
|
@@ -1974,7 +2063,7 @@ declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
|
|
|
1974
2063
|
type livekit_agent_session_pb_d_UserState = UserState;
|
|
1975
2064
|
declare const livekit_agent_session_pb_d_UserState: typeof UserState;
|
|
1976
2065
|
declare namespace livekit_agent_session_pb_d {
|
|
1977
|
-
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
2066
|
+
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
1978
2067
|
}
|
|
1979
2068
|
|
|
1980
2069
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -6149,6 +6238,11 @@ declare class Job extends Message<Job> {
|
|
|
6149
6238
|
*/
|
|
6150
6239
|
enableRecording: boolean;
|
|
6151
6240
|
|
|
6241
|
+
/**
|
|
6242
|
+
* @generated from field: string environment = 11;
|
|
6243
|
+
*/
|
|
6244
|
+
environment: string;
|
|
6245
|
+
|
|
6152
6246
|
constructor(data?: PartialMessage<Job>);
|
|
6153
6247
|
|
|
6154
6248
|
static readonly runtime: typeof proto3;
|
|
@@ -6484,6 +6578,11 @@ declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest> {
|
|
|
6484
6578
|
*/
|
|
6485
6579
|
allowedPermissions?: ParticipantPermission;
|
|
6486
6580
|
|
|
6581
|
+
/**
|
|
6582
|
+
* @generated from field: string environment = 9;
|
|
6583
|
+
*/
|
|
6584
|
+
environment: string;
|
|
6585
|
+
|
|
6487
6586
|
constructor(data?: PartialMessage<RegisterWorkerRequest>);
|
|
6488
6587
|
|
|
6489
6588
|
static readonly runtime: typeof proto3;
|
|
@@ -6840,6 +6939,11 @@ declare class CreateAgentDispatchRequest extends Message<CreateAgentDispatchRequ
|
|
|
6840
6939
|
*/
|
|
6841
6940
|
restartPolicy: JobRestartPolicy;
|
|
6842
6941
|
|
|
6942
|
+
/**
|
|
6943
|
+
* @generated from field: string environment = 5;
|
|
6944
|
+
*/
|
|
6945
|
+
environment: string;
|
|
6946
|
+
|
|
6843
6947
|
constructor(data?: PartialMessage<CreateAgentDispatchRequest>);
|
|
6844
6948
|
|
|
6845
6949
|
static readonly runtime: typeof proto3;
|
|
@@ -6876,6 +6980,11 @@ declare class RoomAgentDispatch extends Message<RoomAgentDispatch> {
|
|
|
6876
6980
|
*/
|
|
6877
6981
|
restartPolicy: JobRestartPolicy;
|
|
6878
6982
|
|
|
6983
|
+
/**
|
|
6984
|
+
* @generated from field: string environment = 4;
|
|
6985
|
+
*/
|
|
6986
|
+
environment: string;
|
|
6987
|
+
|
|
6879
6988
|
constructor(data?: PartialMessage<RoomAgentDispatch>);
|
|
6880
6989
|
|
|
6881
6990
|
static readonly runtime: typeof proto3;
|
|
@@ -7013,6 +7122,11 @@ declare class AgentDispatch extends Message<AgentDispatch> {
|
|
|
7013
7122
|
*/
|
|
7014
7123
|
restartPolicy: JobRestartPolicy;
|
|
7015
7124
|
|
|
7125
|
+
/**
|
|
7126
|
+
* @generated from field: string environment = 7;
|
|
7127
|
+
*/
|
|
7128
|
+
environment: string;
|
|
7129
|
+
|
|
7016
7130
|
constructor(data?: PartialMessage<AgentDispatch>);
|
|
7017
7131
|
|
|
7018
7132
|
static readonly runtime: typeof proto3;
|
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage,
|
|
1
|
+
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Struct, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { Timestamp, protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -83,6 +83,41 @@ declare enum UserState {
|
|
|
83
83
|
US_AWAY = 2,
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @generated from enum livekit.agent.AmdCategory
|
|
88
|
+
*/
|
|
89
|
+
declare enum AmdCategory {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from enum value: AMD_UNKNOWN = 0;
|
|
92
|
+
*/
|
|
93
|
+
AMD_UNKNOWN = 0,
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from enum value: AMD_HUMAN = 1;
|
|
97
|
+
*/
|
|
98
|
+
AMD_HUMAN = 1,
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum value: AMD_MACHINE_IVR = 2;
|
|
102
|
+
*/
|
|
103
|
+
AMD_MACHINE_IVR = 2,
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum value: AMD_MACHINE_VM = 3;
|
|
107
|
+
*/
|
|
108
|
+
AMD_MACHINE_VM = 3,
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: AMD_MACHINE_UNAVAILABLE = 4;
|
|
112
|
+
*/
|
|
113
|
+
AMD_MACHINE_UNAVAILABLE = 4,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from enum value: AMD_UNCERTAIN = 5;
|
|
117
|
+
*/
|
|
118
|
+
AMD_UNCERTAIN = 5,
|
|
119
|
+
}
|
|
120
|
+
|
|
86
121
|
/**
|
|
87
122
|
* @generated from message livekit.agent.MetricsReport
|
|
88
123
|
*/
|
|
@@ -882,6 +917,12 @@ declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
882
917
|
*/
|
|
883
918
|
value: AgentSessionEvent_SessionUsageUpdated;
|
|
884
919
|
case: "sessionUsageUpdated";
|
|
920
|
+
} | {
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: livekit.agent.AgentSessionEvent.AmdPrediction amd_prediction = 18;
|
|
923
|
+
*/
|
|
924
|
+
value: AgentSessionEvent_AmdPrediction;
|
|
925
|
+
case: "amdPrediction";
|
|
885
926
|
} | { case: undefined; value?: undefined };
|
|
886
927
|
|
|
887
928
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1107,6 +1148,50 @@ declare class AgentSessionEvent_OverlappingSpeech extends Message<AgentSessionEv
|
|
|
1107
1148
|
static equals(a: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined, b: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined): boolean;
|
|
1108
1149
|
}
|
|
1109
1150
|
|
|
1151
|
+
/**
|
|
1152
|
+
* @generated from message livekit.agent.AgentSessionEvent.AmdPrediction
|
|
1153
|
+
*/
|
|
1154
|
+
declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessionEvent_AmdPrediction> {
|
|
1155
|
+
/**
|
|
1156
|
+
* @generated from field: google.protobuf.Duration speech_duration = 1;
|
|
1157
|
+
*/
|
|
1158
|
+
speechDuration?: Duration;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* @generated from field: livekit.agent.AmdCategory category = 2;
|
|
1162
|
+
*/
|
|
1163
|
+
category: AmdCategory;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* @generated from field: string reason = 3;
|
|
1167
|
+
*/
|
|
1168
|
+
reason: string;
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* @generated from field: string transcript = 4;
|
|
1172
|
+
*/
|
|
1173
|
+
transcript: string;
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* @generated from field: google.protobuf.Duration delay = 5;
|
|
1177
|
+
*/
|
|
1178
|
+
delay?: Duration;
|
|
1179
|
+
|
|
1180
|
+
constructor(data?: PartialMessage<AgentSessionEvent_AmdPrediction>);
|
|
1181
|
+
|
|
1182
|
+
static readonly runtime: typeof proto3;
|
|
1183
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.AmdPrediction";
|
|
1184
|
+
static readonly fields: FieldList;
|
|
1185
|
+
|
|
1186
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1187
|
+
|
|
1188
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1189
|
+
|
|
1190
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1191
|
+
|
|
1192
|
+
static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1110
1195
|
/**
|
|
1111
1196
|
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
1112
1197
|
*/
|
|
@@ -1879,6 +1964,8 @@ type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent;
|
|
|
1879
1964
|
declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent;
|
|
1880
1965
|
type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged;
|
|
1881
1966
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged;
|
|
1967
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction = AgentSessionEvent_AmdPrediction;
|
|
1968
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction: typeof AgentSessionEvent_AmdPrediction;
|
|
1882
1969
|
type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
|
|
1883
1970
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
|
|
1884
1971
|
type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
|
|
@@ -1909,6 +1996,8 @@ type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage;
|
|
|
1909
1996
|
declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage;
|
|
1910
1997
|
type livekit_agent_session_pb_d_AgentState = AgentState;
|
|
1911
1998
|
declare const livekit_agent_session_pb_d_AgentState: typeof AgentState;
|
|
1999
|
+
type livekit_agent_session_pb_d_AmdCategory = AmdCategory;
|
|
2000
|
+
declare const livekit_agent_session_pb_d_AmdCategory: typeof AmdCategory;
|
|
1912
2001
|
type livekit_agent_session_pb_d_ChatContext = ChatContext;
|
|
1913
2002
|
declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
|
|
1914
2003
|
type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
|
|
@@ -1974,7 +2063,7 @@ declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
|
|
|
1974
2063
|
type livekit_agent_session_pb_d_UserState = UserState;
|
|
1975
2064
|
declare const livekit_agent_session_pb_d_UserState: typeof UserState;
|
|
1976
2065
|
declare namespace livekit_agent_session_pb_d {
|
|
1977
|
-
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
2066
|
+
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
1978
2067
|
}
|
|
1979
2068
|
|
|
1980
2069
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -6149,6 +6238,11 @@ declare class Job extends Message<Job> {
|
|
|
6149
6238
|
*/
|
|
6150
6239
|
enableRecording: boolean;
|
|
6151
6240
|
|
|
6241
|
+
/**
|
|
6242
|
+
* @generated from field: string environment = 11;
|
|
6243
|
+
*/
|
|
6244
|
+
environment: string;
|
|
6245
|
+
|
|
6152
6246
|
constructor(data?: PartialMessage<Job>);
|
|
6153
6247
|
|
|
6154
6248
|
static readonly runtime: typeof proto3;
|
|
@@ -6484,6 +6578,11 @@ declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest> {
|
|
|
6484
6578
|
*/
|
|
6485
6579
|
allowedPermissions?: ParticipantPermission;
|
|
6486
6580
|
|
|
6581
|
+
/**
|
|
6582
|
+
* @generated from field: string environment = 9;
|
|
6583
|
+
*/
|
|
6584
|
+
environment: string;
|
|
6585
|
+
|
|
6487
6586
|
constructor(data?: PartialMessage<RegisterWorkerRequest>);
|
|
6488
6587
|
|
|
6489
6588
|
static readonly runtime: typeof proto3;
|
|
@@ -6840,6 +6939,11 @@ declare class CreateAgentDispatchRequest extends Message<CreateAgentDispatchRequ
|
|
|
6840
6939
|
*/
|
|
6841
6940
|
restartPolicy: JobRestartPolicy;
|
|
6842
6941
|
|
|
6942
|
+
/**
|
|
6943
|
+
* @generated from field: string environment = 5;
|
|
6944
|
+
*/
|
|
6945
|
+
environment: string;
|
|
6946
|
+
|
|
6843
6947
|
constructor(data?: PartialMessage<CreateAgentDispatchRequest>);
|
|
6844
6948
|
|
|
6845
6949
|
static readonly runtime: typeof proto3;
|
|
@@ -6876,6 +6980,11 @@ declare class RoomAgentDispatch extends Message<RoomAgentDispatch> {
|
|
|
6876
6980
|
*/
|
|
6877
6981
|
restartPolicy: JobRestartPolicy;
|
|
6878
6982
|
|
|
6983
|
+
/**
|
|
6984
|
+
* @generated from field: string environment = 4;
|
|
6985
|
+
*/
|
|
6986
|
+
environment: string;
|
|
6987
|
+
|
|
6879
6988
|
constructor(data?: PartialMessage<RoomAgentDispatch>);
|
|
6880
6989
|
|
|
6881
6990
|
static readonly runtime: typeof proto3;
|
|
@@ -7013,6 +7122,11 @@ declare class AgentDispatch extends Message<AgentDispatch> {
|
|
|
7013
7122
|
*/
|
|
7014
7123
|
restartPolicy: JobRestartPolicy;
|
|
7015
7124
|
|
|
7125
|
+
/**
|
|
7126
|
+
* @generated from field: string environment = 7;
|
|
7127
|
+
*/
|
|
7128
|
+
environment: string;
|
|
7129
|
+
|
|
7016
7130
|
constructor(data?: PartialMessage<AgentDispatch>);
|
|
7017
7131
|
|
|
7018
7132
|
static readonly runtime: typeof proto3;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage,
|
|
1
|
+
import { Message, Timestamp, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage, Duration, Struct, Any } from '@bufbuild/protobuf';
|
|
2
2
|
export { Timestamp, protoInt64 } from '@bufbuild/protobuf';
|
|
3
3
|
|
|
4
4
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -83,6 +83,41 @@ declare enum UserState {
|
|
|
83
83
|
US_AWAY = 2,
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
+
/**
|
|
87
|
+
* @generated from enum livekit.agent.AmdCategory
|
|
88
|
+
*/
|
|
89
|
+
declare enum AmdCategory {
|
|
90
|
+
/**
|
|
91
|
+
* @generated from enum value: AMD_UNKNOWN = 0;
|
|
92
|
+
*/
|
|
93
|
+
AMD_UNKNOWN = 0,
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from enum value: AMD_HUMAN = 1;
|
|
97
|
+
*/
|
|
98
|
+
AMD_HUMAN = 1,
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from enum value: AMD_MACHINE_IVR = 2;
|
|
102
|
+
*/
|
|
103
|
+
AMD_MACHINE_IVR = 2,
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum value: AMD_MACHINE_VM = 3;
|
|
107
|
+
*/
|
|
108
|
+
AMD_MACHINE_VM = 3,
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from enum value: AMD_MACHINE_UNAVAILABLE = 4;
|
|
112
|
+
*/
|
|
113
|
+
AMD_MACHINE_UNAVAILABLE = 4,
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from enum value: AMD_UNCERTAIN = 5;
|
|
117
|
+
*/
|
|
118
|
+
AMD_UNCERTAIN = 5,
|
|
119
|
+
}
|
|
120
|
+
|
|
86
121
|
/**
|
|
87
122
|
* @generated from message livekit.agent.MetricsReport
|
|
88
123
|
*/
|
|
@@ -882,6 +917,12 @@ declare class AgentSessionEvent extends Message<AgentSessionEvent> {
|
|
|
882
917
|
*/
|
|
883
918
|
value: AgentSessionEvent_SessionUsageUpdated;
|
|
884
919
|
case: "sessionUsageUpdated";
|
|
920
|
+
} | {
|
|
921
|
+
/**
|
|
922
|
+
* @generated from field: livekit.agent.AgentSessionEvent.AmdPrediction amd_prediction = 18;
|
|
923
|
+
*/
|
|
924
|
+
value: AgentSessionEvent_AmdPrediction;
|
|
925
|
+
case: "amdPrediction";
|
|
885
926
|
} | { case: undefined; value?: undefined };
|
|
886
927
|
|
|
887
928
|
constructor(data?: PartialMessage<AgentSessionEvent>);
|
|
@@ -1107,6 +1148,50 @@ declare class AgentSessionEvent_OverlappingSpeech extends Message<AgentSessionEv
|
|
|
1107
1148
|
static equals(a: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined, b: AgentSessionEvent_OverlappingSpeech | PlainMessage<AgentSessionEvent_OverlappingSpeech> | undefined): boolean;
|
|
1108
1149
|
}
|
|
1109
1150
|
|
|
1151
|
+
/**
|
|
1152
|
+
* @generated from message livekit.agent.AgentSessionEvent.AmdPrediction
|
|
1153
|
+
*/
|
|
1154
|
+
declare class AgentSessionEvent_AmdPrediction extends Message<AgentSessionEvent_AmdPrediction> {
|
|
1155
|
+
/**
|
|
1156
|
+
* @generated from field: google.protobuf.Duration speech_duration = 1;
|
|
1157
|
+
*/
|
|
1158
|
+
speechDuration?: Duration;
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* @generated from field: livekit.agent.AmdCategory category = 2;
|
|
1162
|
+
*/
|
|
1163
|
+
category: AmdCategory;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* @generated from field: string reason = 3;
|
|
1167
|
+
*/
|
|
1168
|
+
reason: string;
|
|
1169
|
+
|
|
1170
|
+
/**
|
|
1171
|
+
* @generated from field: string transcript = 4;
|
|
1172
|
+
*/
|
|
1173
|
+
transcript: string;
|
|
1174
|
+
|
|
1175
|
+
/**
|
|
1176
|
+
* @generated from field: google.protobuf.Duration delay = 5;
|
|
1177
|
+
*/
|
|
1178
|
+
delay?: Duration;
|
|
1179
|
+
|
|
1180
|
+
constructor(data?: PartialMessage<AgentSessionEvent_AmdPrediction>);
|
|
1181
|
+
|
|
1182
|
+
static readonly runtime: typeof proto3;
|
|
1183
|
+
static readonly typeName = "livekit.agent.AgentSessionEvent.AmdPrediction";
|
|
1184
|
+
static readonly fields: FieldList;
|
|
1185
|
+
|
|
1186
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1187
|
+
|
|
1188
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1189
|
+
|
|
1190
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_AmdPrediction;
|
|
1191
|
+
|
|
1192
|
+
static equals(a: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined, b: AgentSessionEvent_AmdPrediction | PlainMessage<AgentSessionEvent_AmdPrediction> | undefined): boolean;
|
|
1193
|
+
}
|
|
1194
|
+
|
|
1110
1195
|
/**
|
|
1111
1196
|
* @generated from message livekit.agent.AgentSessionEvent.SessionUsageUpdated
|
|
1112
1197
|
*/
|
|
@@ -1879,6 +1964,8 @@ type livekit_agent_session_pb_d_AgentSessionEvent = AgentSessionEvent;
|
|
|
1879
1964
|
declare const livekit_agent_session_pb_d_AgentSessionEvent: typeof AgentSessionEvent;
|
|
1880
1965
|
type livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged = AgentSessionEvent_AgentStateChanged;
|
|
1881
1966
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged: typeof AgentSessionEvent_AgentStateChanged;
|
|
1967
|
+
type livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction = AgentSessionEvent_AmdPrediction;
|
|
1968
|
+
declare const livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction: typeof AgentSessionEvent_AmdPrediction;
|
|
1882
1969
|
type livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded = AgentSessionEvent_ConversationItemAdded;
|
|
1883
1970
|
declare const livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded: typeof AgentSessionEvent_ConversationItemAdded;
|
|
1884
1971
|
type livekit_agent_session_pb_d_AgentSessionEvent_Error = AgentSessionEvent_Error;
|
|
@@ -1909,6 +1996,8 @@ type livekit_agent_session_pb_d_AgentSessionUsage = AgentSessionUsage;
|
|
|
1909
1996
|
declare const livekit_agent_session_pb_d_AgentSessionUsage: typeof AgentSessionUsage;
|
|
1910
1997
|
type livekit_agent_session_pb_d_AgentState = AgentState;
|
|
1911
1998
|
declare const livekit_agent_session_pb_d_AgentState: typeof AgentState;
|
|
1999
|
+
type livekit_agent_session_pb_d_AmdCategory = AmdCategory;
|
|
2000
|
+
declare const livekit_agent_session_pb_d_AmdCategory: typeof AmdCategory;
|
|
1912
2001
|
type livekit_agent_session_pb_d_ChatContext = ChatContext;
|
|
1913
2002
|
declare const livekit_agent_session_pb_d_ChatContext: typeof ChatContext;
|
|
1914
2003
|
type livekit_agent_session_pb_d_ChatContext_ChatItem = ChatContext_ChatItem;
|
|
@@ -1974,7 +2063,7 @@ declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
|
|
|
1974
2063
|
type livekit_agent_session_pb_d_UserState = UserState;
|
|
1975
2064
|
declare const livekit_agent_session_pb_d_UserState: typeof UserState;
|
|
1976
2065
|
declare namespace livekit_agent_session_pb_d {
|
|
1977
|
-
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
2066
|
+
export { livekit_agent_session_pb_d_AgentConfigUpdate as AgentConfigUpdate, livekit_agent_session_pb_d_AgentHandoff as AgentHandoff, livekit_agent_session_pb_d_AgentSessionEvent as AgentSessionEvent, livekit_agent_session_pb_d_AgentSessionEvent_AgentStateChanged as AgentSessionEvent_AgentStateChanged, livekit_agent_session_pb_d_AgentSessionEvent_AmdPrediction as AgentSessionEvent_AmdPrediction, livekit_agent_session_pb_d_AgentSessionEvent_ConversationItemAdded as AgentSessionEvent_ConversationItemAdded, livekit_agent_session_pb_d_AgentSessionEvent_Error as AgentSessionEvent_Error, livekit_agent_session_pb_d_AgentSessionEvent_FunctionToolsExecuted as AgentSessionEvent_FunctionToolsExecuted, livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech as AgentSessionEvent_OverlappingSpeech, livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated as AgentSessionEvent_SessionUsageUpdated, livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed as AgentSessionEvent_UserInputTranscribed, livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged as AgentSessionEvent_UserStateChanged, livekit_agent_session_pb_d_AgentSessionMessage as AgentSessionMessage, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO as AgentSessionMessage_ConsoleIO, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioFrame as AgentSessionMessage_ConsoleIO_AudioFrame, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackClear as AgentSessionMessage_ConsoleIO_AudioPlaybackClear, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFinished as AgentSessionMessage_ConsoleIO_AudioPlaybackFinished, livekit_agent_session_pb_d_AgentSessionMessage_ConsoleIO_AudioPlaybackFlush as AgentSessionMessage_ConsoleIO_AudioPlaybackFlush, livekit_agent_session_pb_d_AgentSessionUsage as AgentSessionUsage, livekit_agent_session_pb_d_AgentState as AgentState, livekit_agent_session_pb_d_AmdCategory as AmdCategory, livekit_agent_session_pb_d_ChatContext as ChatContext, livekit_agent_session_pb_d_ChatContext_ChatItem as ChatContext_ChatItem, ChatMessage$1 as ChatMessage, livekit_agent_session_pb_d_ChatMessage_ChatContent as ChatMessage_ChatContent, livekit_agent_session_pb_d_ChatRole as ChatRole, livekit_agent_session_pb_d_FunctionCall as FunctionCall, livekit_agent_session_pb_d_FunctionCallOutput as FunctionCallOutput, livekit_agent_session_pb_d_InterruptionModelUsage as InterruptionModelUsage, livekit_agent_session_pb_d_LLMModelUsage as LLMModelUsage, livekit_agent_session_pb_d_MetricsReport as MetricsReport, livekit_agent_session_pb_d_ModelUsage as ModelUsage, livekit_agent_session_pb_d_STTModelUsage as STTModelUsage, livekit_agent_session_pb_d_SessionRequest as SessionRequest, livekit_agent_session_pb_d_SessionRequest_GetAgentInfo as SessionRequest_GetAgentInfo, livekit_agent_session_pb_d_SessionRequest_GetChatHistory as SessionRequest_GetChatHistory, livekit_agent_session_pb_d_SessionRequest_GetFrameworkInfo as SessionRequest_GetFrameworkInfo, livekit_agent_session_pb_d_SessionRequest_GetRTCStats as SessionRequest_GetRTCStats, livekit_agent_session_pb_d_SessionRequest_GetSessionState as SessionRequest_GetSessionState, livekit_agent_session_pb_d_SessionRequest_GetSessionUsage as SessionRequest_GetSessionUsage, livekit_agent_session_pb_d_SessionRequest_Ping as SessionRequest_Ping, livekit_agent_session_pb_d_SessionRequest_RunInput as SessionRequest_RunInput, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse as SessionResponse_GetAgentInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse as SessionResponse_GetChatHistoryResponse, livekit_agent_session_pb_d_SessionResponse_GetFrameworkInfoResponse as SessionResponse_GetFrameworkInfoResponse, livekit_agent_session_pb_d_SessionResponse_GetRTCStatsResponse as SessionResponse_GetRTCStatsResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionStateResponse as SessionResponse_GetSessionStateResponse, livekit_agent_session_pb_d_SessionResponse_GetSessionUsageResponse as SessionResponse_GetSessionUsageResponse, livekit_agent_session_pb_d_SessionResponse_Pong as SessionResponse_Pong, livekit_agent_session_pb_d_SessionResponse_RunInputResponse as SessionResponse_RunInputResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
|
|
1978
2067
|
}
|
|
1979
2068
|
|
|
1980
2069
|
// @generated by protoc-gen-es v1.10.1 with parameter "target=dts+js"
|
|
@@ -6149,6 +6238,11 @@ declare class Job extends Message<Job> {
|
|
|
6149
6238
|
*/
|
|
6150
6239
|
enableRecording: boolean;
|
|
6151
6240
|
|
|
6241
|
+
/**
|
|
6242
|
+
* @generated from field: string environment = 11;
|
|
6243
|
+
*/
|
|
6244
|
+
environment: string;
|
|
6245
|
+
|
|
6152
6246
|
constructor(data?: PartialMessage<Job>);
|
|
6153
6247
|
|
|
6154
6248
|
static readonly runtime: typeof proto3;
|
|
@@ -6484,6 +6578,11 @@ declare class RegisterWorkerRequest extends Message<RegisterWorkerRequest> {
|
|
|
6484
6578
|
*/
|
|
6485
6579
|
allowedPermissions?: ParticipantPermission;
|
|
6486
6580
|
|
|
6581
|
+
/**
|
|
6582
|
+
* @generated from field: string environment = 9;
|
|
6583
|
+
*/
|
|
6584
|
+
environment: string;
|
|
6585
|
+
|
|
6487
6586
|
constructor(data?: PartialMessage<RegisterWorkerRequest>);
|
|
6488
6587
|
|
|
6489
6588
|
static readonly runtime: typeof proto3;
|
|
@@ -6840,6 +6939,11 @@ declare class CreateAgentDispatchRequest extends Message<CreateAgentDispatchRequ
|
|
|
6840
6939
|
*/
|
|
6841
6940
|
restartPolicy: JobRestartPolicy;
|
|
6842
6941
|
|
|
6942
|
+
/**
|
|
6943
|
+
* @generated from field: string environment = 5;
|
|
6944
|
+
*/
|
|
6945
|
+
environment: string;
|
|
6946
|
+
|
|
6843
6947
|
constructor(data?: PartialMessage<CreateAgentDispatchRequest>);
|
|
6844
6948
|
|
|
6845
6949
|
static readonly runtime: typeof proto3;
|
|
@@ -6876,6 +6980,11 @@ declare class RoomAgentDispatch extends Message<RoomAgentDispatch> {
|
|
|
6876
6980
|
*/
|
|
6877
6981
|
restartPolicy: JobRestartPolicy;
|
|
6878
6982
|
|
|
6983
|
+
/**
|
|
6984
|
+
* @generated from field: string environment = 4;
|
|
6985
|
+
*/
|
|
6986
|
+
environment: string;
|
|
6987
|
+
|
|
6879
6988
|
constructor(data?: PartialMessage<RoomAgentDispatch>);
|
|
6880
6989
|
|
|
6881
6990
|
static readonly runtime: typeof proto3;
|
|
@@ -7013,6 +7122,11 @@ declare class AgentDispatch extends Message<AgentDispatch> {
|
|
|
7013
7122
|
*/
|
|
7014
7123
|
restartPolicy: JobRestartPolicy;
|
|
7015
7124
|
|
|
7125
|
+
/**
|
|
7126
|
+
* @generated from field: string environment = 7;
|
|
7127
|
+
*/
|
|
7128
|
+
environment: string;
|
|
7129
|
+
|
|
7016
7130
|
constructor(data?: PartialMessage<AgentDispatch>);
|
|
7017
7131
|
|
|
7018
7132
|
static readonly runtime: typeof proto3;
|