@livekit/protocol 1.46.5 → 1.46.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.d.cts CHANGED
@@ -83,6 +83,56 @@ declare enum UserState {
83
83
  US_AWAY = 2,
84
84
  }
85
85
 
86
+ /**
87
+ * @generated from enum livekit.agent.ToolCallStatus
88
+ */
89
+ declare enum ToolCallStatus {
90
+ /**
91
+ * @generated from enum value: TC_RUNNING = 0;
92
+ */
93
+ TC_RUNNING = 0,
94
+
95
+ /**
96
+ * @generated from enum value: TC_DONE = 1;
97
+ */
98
+ TC_DONE = 1,
99
+
100
+ /**
101
+ * @generated from enum value: TC_ERROR = 2;
102
+ */
103
+ TC_ERROR = 2,
104
+
105
+ /**
106
+ * @generated from enum value: TC_CANCELLED = 3;
107
+ */
108
+ TC_CANCELLED = 3,
109
+ }
110
+
111
+ /**
112
+ * @generated from enum livekit.agent.ToolReplyStatus
113
+ */
114
+ declare enum ToolReplyStatus {
115
+ /**
116
+ * @generated from enum value: TR_SCHEDULED = 0;
117
+ */
118
+ TR_SCHEDULED = 0,
119
+
120
+ /**
121
+ * @generated from enum value: TR_COMPLETED = 1;
122
+ */
123
+ TR_COMPLETED = 1,
124
+
125
+ /**
126
+ * @generated from enum value: TR_INTERRUPTED = 2;
127
+ */
128
+ TR_INTERRUPTED = 2,
129
+
130
+ /**
131
+ * @generated from enum value: TR_SKIPPED = 3;
132
+ */
133
+ TR_SKIPPED = 3,
134
+ }
135
+
86
136
  /**
87
137
  * @generated from enum livekit.agent.AmdCategory
88
138
  */
@@ -1008,6 +1058,12 @@ declare class AgentSessionEvent extends Message<AgentSessionEvent> {
1008
1058
  */
1009
1059
  value: DebugMessage;
1010
1060
  case: "debugMessage";
1061
+ } | {
1062
+ /**
1063
+ * @generated from field: livekit.agent.AgentSessionEvent.ToolExecutionUpdated tool_execution_updated = 22;
1064
+ */
1065
+ value: AgentSessionEvent_ToolExecutionUpdated;
1066
+ case: "toolExecutionUpdated";
1011
1067
  } | { case: undefined; value?: undefined };
1012
1068
 
1013
1069
  constructor(data?: PartialMessage<AgentSessionEvent>);
@@ -1364,6 +1420,205 @@ declare class AgentSessionEvent_SessionUsageUpdated extends Message<AgentSession
1364
1420
  static equals(a: AgentSessionEvent_SessionUsageUpdated | PlainMessage<AgentSessionEvent_SessionUsageUpdated> | undefined, b: AgentSessionEvent_SessionUsageUpdated | PlainMessage<AgentSessionEvent_SessionUsageUpdated> | undefined): boolean;
1365
1421
  }
1366
1422
 
1423
+ /**
1424
+ * Per-call tool lifecycle. One flat update per occurrence: a call started ->
1425
+ * progress updates while it runs (CallUpdated) -> the single terminal entry (Ended),
1426
+ * with the deferred reply voicing buffered updates advancing separately (ReplyUpdated).
1427
+ *
1428
+ * @generated from message livekit.agent.AgentSessionEvent.ToolExecutionUpdated
1429
+ */
1430
+ declare class AgentSessionEvent_ToolExecutionUpdated extends Message<AgentSessionEvent_ToolExecutionUpdated> {
1431
+ /**
1432
+ * @generated from oneof livekit.agent.AgentSessionEvent.ToolExecutionUpdated.update
1433
+ */
1434
+ update: {
1435
+ /**
1436
+ * @generated from field: livekit.agent.AgentSessionEvent.ToolExecutionUpdated.Started started = 1;
1437
+ */
1438
+ value: AgentSessionEvent_ToolExecutionUpdated_Started;
1439
+ case: "started";
1440
+ } | {
1441
+ /**
1442
+ * @generated from field: livekit.agent.AgentSessionEvent.ToolExecutionUpdated.CallUpdated call_updated = 2;
1443
+ */
1444
+ value: AgentSessionEvent_ToolExecutionUpdated_CallUpdated;
1445
+ case: "callUpdated";
1446
+ } | {
1447
+ /**
1448
+ * @generated from field: livekit.agent.AgentSessionEvent.ToolExecutionUpdated.ReplyUpdated reply_updated = 3;
1449
+ */
1450
+ value: AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated;
1451
+ case: "replyUpdated";
1452
+ } | {
1453
+ /**
1454
+ * @generated from field: livekit.agent.AgentSessionEvent.ToolExecutionUpdated.Ended ended = 4;
1455
+ */
1456
+ value: AgentSessionEvent_ToolExecutionUpdated_Ended;
1457
+ case: "ended";
1458
+ } | { case: undefined; value?: undefined };
1459
+
1460
+ constructor(data?: PartialMessage<AgentSessionEvent_ToolExecutionUpdated>);
1461
+
1462
+ static readonly runtime: typeof proto3;
1463
+ static readonly typeName = "livekit.agent.AgentSessionEvent.ToolExecutionUpdated";
1464
+ static readonly fields: FieldList;
1465
+
1466
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_ToolExecutionUpdated;
1467
+
1468
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated;
1469
+
1470
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated;
1471
+
1472
+ static equals(a: AgentSessionEvent_ToolExecutionUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated> | undefined, b: AgentSessionEvent_ToolExecutionUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated> | undefined): boolean;
1473
+ }
1474
+
1475
+ /**
1476
+ * @generated from message livekit.agent.AgentSessionEvent.ToolExecutionUpdated.Started
1477
+ */
1478
+ declare class AgentSessionEvent_ToolExecutionUpdated_Started extends Message<AgentSessionEvent_ToolExecutionUpdated_Started> {
1479
+ /**
1480
+ * @generated from field: livekit.agent.FunctionCall function_call = 1;
1481
+ */
1482
+ functionCall?: FunctionCall;
1483
+
1484
+ constructor(data?: PartialMessage<AgentSessionEvent_ToolExecutionUpdated_Started>);
1485
+
1486
+ static readonly runtime: typeof proto3;
1487
+ static readonly typeName = "livekit.agent.AgentSessionEvent.ToolExecutionUpdated.Started";
1488
+ static readonly fields: FieldList;
1489
+
1490
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_ToolExecutionUpdated_Started;
1491
+
1492
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated_Started;
1493
+
1494
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated_Started;
1495
+
1496
+ static equals(a: AgentSessionEvent_ToolExecutionUpdated_Started | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_Started> | undefined, b: AgentSessionEvent_ToolExecutionUpdated_Started | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_Started> | undefined): boolean;
1497
+ }
1498
+
1499
+ /**
1500
+ * a progress update emitted via ctx.update() while the call runs
1501
+ *
1502
+ * @generated from message livekit.agent.AgentSessionEvent.ToolExecutionUpdated.CallUpdated
1503
+ */
1504
+ declare class AgentSessionEvent_ToolExecutionUpdated_CallUpdated extends Message<AgentSessionEvent_ToolExecutionUpdated_CallUpdated> {
1505
+ /**
1506
+ * synthetic id: call_id (inline) or call_id_update_N
1507
+ *
1508
+ * @generated from field: string id = 1;
1509
+ */
1510
+ id: string;
1511
+
1512
+ /**
1513
+ * @generated from field: string call_id = 2;
1514
+ */
1515
+ callId: string;
1516
+
1517
+ /**
1518
+ * @generated from field: string message = 3;
1519
+ */
1520
+ message: string;
1521
+
1522
+ constructor(data?: PartialMessage<AgentSessionEvent_ToolExecutionUpdated_CallUpdated>);
1523
+
1524
+ static readonly runtime: typeof proto3;
1525
+ static readonly typeName = "livekit.agent.AgentSessionEvent.ToolExecutionUpdated.CallUpdated";
1526
+ static readonly fields: FieldList;
1527
+
1528
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_ToolExecutionUpdated_CallUpdated;
1529
+
1530
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated_CallUpdated;
1531
+
1532
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated_CallUpdated;
1533
+
1534
+ static equals(a: AgentSessionEvent_ToolExecutionUpdated_CallUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_CallUpdated> | undefined, b: AgentSessionEvent_ToolExecutionUpdated_CallUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_CallUpdated> | undefined): boolean;
1535
+ }
1536
+
1537
+ /**
1538
+ * the call's single terminal entry
1539
+ *
1540
+ * @generated from message livekit.agent.AgentSessionEvent.ToolExecutionUpdated.Ended
1541
+ */
1542
+ declare class AgentSessionEvent_ToolExecutionUpdated_Ended extends Message<AgentSessionEvent_ToolExecutionUpdated_Ended> {
1543
+ /**
1544
+ * synthetic id: call_id (inline) or call_id_final (deferred)
1545
+ *
1546
+ * @generated from field: string id = 1;
1547
+ */
1548
+ id: string;
1549
+
1550
+ /**
1551
+ * @generated from field: string call_id = 2;
1552
+ */
1553
+ callId: string;
1554
+
1555
+ /**
1556
+ * result text or error message; unset for cancelled / empty returns
1557
+ *
1558
+ * @generated from field: optional string message = 3;
1559
+ */
1560
+ message?: string;
1561
+
1562
+ /**
1563
+ * TC_DONE, TC_ERROR, or TC_CANCELLED
1564
+ *
1565
+ * @generated from field: livekit.agent.ToolCallStatus status = 4;
1566
+ */
1567
+ status: ToolCallStatus;
1568
+
1569
+ constructor(data?: PartialMessage<AgentSessionEvent_ToolExecutionUpdated_Ended>);
1570
+
1571
+ static readonly runtime: typeof proto3;
1572
+ static readonly typeName = "livekit.agent.AgentSessionEvent.ToolExecutionUpdated.Ended";
1573
+ static readonly fields: FieldList;
1574
+
1575
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_ToolExecutionUpdated_Ended;
1576
+
1577
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated_Ended;
1578
+
1579
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated_Ended;
1580
+
1581
+ static equals(a: AgentSessionEvent_ToolExecutionUpdated_Ended | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_Ended> | undefined, b: AgentSessionEvent_ToolExecutionUpdated_Ended | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_Ended> | undefined): boolean;
1582
+ }
1583
+
1584
+ /**
1585
+ * @generated from message livekit.agent.AgentSessionEvent.ToolExecutionUpdated.ReplyUpdated
1586
+ */
1587
+ declare class AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated extends Message<AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated> {
1588
+ /**
1589
+ * buffered update ids covered by this reply; one reply can span calls
1590
+ *
1591
+ * @generated from field: repeated string update_ids = 1;
1592
+ */
1593
+ updateIds: string[];
1594
+
1595
+ /**
1596
+ * @generated from field: livekit.agent.ToolReplyStatus status = 2;
1597
+ */
1598
+ status: ToolReplyStatus;
1599
+
1600
+ /**
1601
+ * id of the speech that voices this reply
1602
+ *
1603
+ * @generated from field: string speech_id = 3;
1604
+ */
1605
+ speechId: string;
1606
+
1607
+ constructor(data?: PartialMessage<AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated>);
1608
+
1609
+ static readonly runtime: typeof proto3;
1610
+ static readonly typeName = "livekit.agent.AgentSessionEvent.ToolExecutionUpdated.ReplyUpdated";
1611
+ static readonly fields: FieldList;
1612
+
1613
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated;
1614
+
1615
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated;
1616
+
1617
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated;
1618
+
1619
+ static equals(a: AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated> | undefined, b: AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated | PlainMessage<AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated> | undefined): boolean;
1620
+ }
1621
+
1367
1622
  /**
1368
1623
  * @generated from message livekit.agent.SessionRequest
1369
1624
  */
@@ -1430,6 +1685,12 @@ declare class SessionRequest extends Message<SessionRequest> {
1430
1685
  */
1431
1686
  value: SessionRequest_UpdateIO;
1432
1687
  case: "updateIo";
1688
+ } | {
1689
+ /**
1690
+ * @generated from field: livekit.agent.SessionRequest.FinalizeSimulation finalize_simulation = 12;
1691
+ */
1692
+ value: SessionRequest_FinalizeSimulation;
1693
+ case: "finalizeSimulation";
1433
1694
  } | { case: undefined; value?: undefined };
1434
1695
 
1435
1696
  constructor(data?: PartialMessage<SessionRequest>);
@@ -1696,6 +1957,35 @@ declare class SessionRequest_UpdateIO_Output extends Message<SessionRequest_Upda
1696
1957
  static equals(a: SessionRequest_UpdateIO_Output | PlainMessage<SessionRequest_UpdateIO_Output> | undefined, b: SessionRequest_UpdateIO_Output | PlainMessage<SessionRequest_UpdateIO_Output> | undefined): boolean;
1697
1958
  }
1698
1959
 
1960
+ /**
1961
+ * @generated from message livekit.agent.SessionRequest.FinalizeSimulation
1962
+ */
1963
+ declare class SessionRequest_FinalizeSimulation extends Message<SessionRequest_FinalizeSimulation> {
1964
+ /**
1965
+ * @generated from field: bool provisional_success = 1;
1966
+ */
1967
+ provisionalSuccess: boolean;
1968
+
1969
+ /**
1970
+ * @generated from field: string provisional_reason = 2;
1971
+ */
1972
+ provisionalReason: string;
1973
+
1974
+ constructor(data?: PartialMessage<SessionRequest_FinalizeSimulation>);
1975
+
1976
+ static readonly runtime: typeof proto3;
1977
+ static readonly typeName = "livekit.agent.SessionRequest.FinalizeSimulation";
1978
+ static readonly fields: FieldList;
1979
+
1980
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionRequest_FinalizeSimulation;
1981
+
1982
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionRequest_FinalizeSimulation;
1983
+
1984
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionRequest_FinalizeSimulation;
1985
+
1986
+ static equals(a: SessionRequest_FinalizeSimulation | PlainMessage<SessionRequest_FinalizeSimulation> | undefined, b: SessionRequest_FinalizeSimulation | PlainMessage<SessionRequest_FinalizeSimulation> | undefined): boolean;
1987
+ }
1988
+
1699
1989
  /**
1700
1990
  * @generated from message livekit.agent.SessionResponse
1701
1991
  */
@@ -1767,6 +2057,12 @@ declare class SessionResponse extends Message<SessionResponse> {
1767
2057
  */
1768
2058
  value: SessionResponse_UpdateIOResponse;
1769
2059
  case: "updateIo";
2060
+ } | {
2061
+ /**
2062
+ * @generated from field: livekit.agent.SessionResponse.FinalizeSimulationResponse finalize_simulation = 13;
2063
+ */
2064
+ value: SessionResponse_FinalizeSimulationResponse;
2065
+ case: "finalizeSimulation";
1770
2066
  } | { case: undefined; value?: undefined };
1771
2067
 
1772
2068
  constructor(data?: PartialMessage<SessionResponse>);
@@ -2040,6 +2336,59 @@ declare class SessionResponse_UpdateIOResponse extends Message<SessionResponse_U
2040
2336
  static equals(a: SessionResponse_UpdateIOResponse | PlainMessage<SessionResponse_UpdateIOResponse> | undefined, b: SessionResponse_UpdateIOResponse | PlainMessage<SessionResponse_UpdateIOResponse> | undefined): boolean;
2041
2337
  }
2042
2338
 
2339
+ /**
2340
+ * @generated from message livekit.agent.SessionResponse.FinalizeSimulationResponse
2341
+ */
2342
+ declare class SessionResponse_FinalizeSimulationResponse extends Message<SessionResponse_FinalizeSimulationResponse> {
2343
+ /**
2344
+ * @generated from field: livekit.agent.SessionResponse.FinalizeSimulationResponse.SimulationVerdict user_verdict = 1;
2345
+ */
2346
+ userVerdict?: SessionResponse_FinalizeSimulationResponse_SimulationVerdict;
2347
+
2348
+ constructor(data?: PartialMessage<SessionResponse_FinalizeSimulationResponse>);
2349
+
2350
+ static readonly runtime: typeof proto3;
2351
+ static readonly typeName = "livekit.agent.SessionResponse.FinalizeSimulationResponse";
2352
+ static readonly fields: FieldList;
2353
+
2354
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_FinalizeSimulationResponse;
2355
+
2356
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_FinalizeSimulationResponse;
2357
+
2358
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_FinalizeSimulationResponse;
2359
+
2360
+ static equals(a: SessionResponse_FinalizeSimulationResponse | PlainMessage<SessionResponse_FinalizeSimulationResponse> | undefined, b: SessionResponse_FinalizeSimulationResponse | PlainMessage<SessionResponse_FinalizeSimulationResponse> | undefined): boolean;
2361
+ }
2362
+
2363
+ /**
2364
+ * @generated from message livekit.agent.SessionResponse.FinalizeSimulationResponse.SimulationVerdict
2365
+ */
2366
+ declare class SessionResponse_FinalizeSimulationResponse_SimulationVerdict extends Message<SessionResponse_FinalizeSimulationResponse_SimulationVerdict> {
2367
+ /**
2368
+ * @generated from field: bool success = 1;
2369
+ */
2370
+ success: boolean;
2371
+
2372
+ /**
2373
+ * @generated from field: string reason = 2;
2374
+ */
2375
+ reason: string;
2376
+
2377
+ constructor(data?: PartialMessage<SessionResponse_FinalizeSimulationResponse_SimulationVerdict>);
2378
+
2379
+ static readonly runtime: typeof proto3;
2380
+ static readonly typeName = "livekit.agent.SessionResponse.FinalizeSimulationResponse.SimulationVerdict";
2381
+ static readonly fields: FieldList;
2382
+
2383
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SessionResponse_FinalizeSimulationResponse_SimulationVerdict;
2384
+
2385
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SessionResponse_FinalizeSimulationResponse_SimulationVerdict;
2386
+
2387
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SessionResponse_FinalizeSimulationResponse_SimulationVerdict;
2388
+
2389
+ static equals(a: SessionResponse_FinalizeSimulationResponse_SimulationVerdict | PlainMessage<SessionResponse_FinalizeSimulationResponse_SimulationVerdict> | undefined, b: SessionResponse_FinalizeSimulationResponse_SimulationVerdict | PlainMessage<SessionResponse_FinalizeSimulationResponse_SimulationVerdict> | undefined): boolean;
2390
+ }
2391
+
2043
2392
  /**
2044
2393
  * @generated from message livekit.agent.AgentSessionMessage
2045
2394
  */
@@ -2251,6 +2600,16 @@ type livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech = AgentSessi
2251
2600
  declare const livekit_agent_session_pb_d_AgentSessionEvent_OverlappingSpeech: typeof AgentSessionEvent_OverlappingSpeech;
2252
2601
  type livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated = AgentSessionEvent_SessionUsageUpdated;
2253
2602
  declare const livekit_agent_session_pb_d_AgentSessionEvent_SessionUsageUpdated: typeof AgentSessionEvent_SessionUsageUpdated;
2603
+ type livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated = AgentSessionEvent_ToolExecutionUpdated;
2604
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated: typeof AgentSessionEvent_ToolExecutionUpdated;
2605
+ type livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_CallUpdated = AgentSessionEvent_ToolExecutionUpdated_CallUpdated;
2606
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_CallUpdated: typeof AgentSessionEvent_ToolExecutionUpdated_CallUpdated;
2607
+ type livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_Ended = AgentSessionEvent_ToolExecutionUpdated_Ended;
2608
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_Ended: typeof AgentSessionEvent_ToolExecutionUpdated_Ended;
2609
+ type livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated = AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated;
2610
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated: typeof AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated;
2611
+ type livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_Started = AgentSessionEvent_ToolExecutionUpdated_Started;
2612
+ declare const livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_Started: typeof AgentSessionEvent_ToolExecutionUpdated_Started;
2254
2613
  type livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed = AgentSessionEvent_UserInputTranscribed;
2255
2614
  declare const livekit_agent_session_pb_d_AgentSessionEvent_UserInputTranscribed: typeof AgentSessionEvent_UserInputTranscribed;
2256
2615
  type livekit_agent_session_pb_d_AgentSessionEvent_UserStateChanged = AgentSessionEvent_UserStateChanged;
@@ -2301,6 +2660,8 @@ type livekit_agent_session_pb_d_STTModelUsage = STTModelUsage;
2301
2660
  declare const livekit_agent_session_pb_d_STTModelUsage: typeof STTModelUsage;
2302
2661
  type livekit_agent_session_pb_d_SessionRequest = SessionRequest;
2303
2662
  declare const livekit_agent_session_pb_d_SessionRequest: typeof SessionRequest;
2663
+ type livekit_agent_session_pb_d_SessionRequest_FinalizeSimulation = SessionRequest_FinalizeSimulation;
2664
+ declare const livekit_agent_session_pb_d_SessionRequest_FinalizeSimulation: typeof SessionRequest_FinalizeSimulation;
2304
2665
  type livekit_agent_session_pb_d_SessionRequest_GetAgentInfo = SessionRequest_GetAgentInfo;
2305
2666
  declare const livekit_agent_session_pb_d_SessionRequest_GetAgentInfo: typeof SessionRequest_GetAgentInfo;
2306
2667
  type livekit_agent_session_pb_d_SessionRequest_GetChatHistory = SessionRequest_GetChatHistory;
@@ -2325,6 +2686,10 @@ type livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output = SessionRequest_
2325
2686
  declare const livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output: typeof SessionRequest_UpdateIO_Output;
2326
2687
  type livekit_agent_session_pb_d_SessionResponse = SessionResponse;
2327
2688
  declare const livekit_agent_session_pb_d_SessionResponse: typeof SessionResponse;
2689
+ type livekit_agent_session_pb_d_SessionResponse_FinalizeSimulationResponse = SessionResponse_FinalizeSimulationResponse;
2690
+ declare const livekit_agent_session_pb_d_SessionResponse_FinalizeSimulationResponse: typeof SessionResponse_FinalizeSimulationResponse;
2691
+ type livekit_agent_session_pb_d_SessionResponse_FinalizeSimulationResponse_SimulationVerdict = SessionResponse_FinalizeSimulationResponse_SimulationVerdict;
2692
+ declare const livekit_agent_session_pb_d_SessionResponse_FinalizeSimulationResponse_SimulationVerdict: typeof SessionResponse_FinalizeSimulationResponse_SimulationVerdict;
2328
2693
  type livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse = SessionResponse_GetAgentInfoResponse;
2329
2694
  declare const livekit_agent_session_pb_d_SessionResponse_GetAgentInfoResponse: typeof SessionResponse_GetAgentInfoResponse;
2330
2695
  type livekit_agent_session_pb_d_SessionResponse_GetChatHistoryResponse = SessionResponse_GetChatHistoryResponse;
@@ -2347,10 +2712,14 @@ type livekit_agent_session_pb_d_TTSModelUsage = TTSModelUsage;
2347
2712
  declare const livekit_agent_session_pb_d_TTSModelUsage: typeof TTSModelUsage;
2348
2713
  type livekit_agent_session_pb_d_TimedString = TimedString;
2349
2714
  declare const livekit_agent_session_pb_d_TimedString: typeof TimedString;
2715
+ type livekit_agent_session_pb_d_ToolCallStatus = ToolCallStatus;
2716
+ declare const livekit_agent_session_pb_d_ToolCallStatus: typeof ToolCallStatus;
2717
+ type livekit_agent_session_pb_d_ToolReplyStatus = ToolReplyStatus;
2718
+ declare const livekit_agent_session_pb_d_ToolReplyStatus: typeof ToolReplyStatus;
2350
2719
  type livekit_agent_session_pb_d_UserState = UserState;
2351
2720
  declare const livekit_agent_session_pb_d_UserState: typeof UserState;
2352
2721
  declare namespace livekit_agent_session_pb_d {
2353
- 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_EotPrediction as AgentSessionEvent_EotPrediction, 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_FunctionToolsStarted as AgentSessionEvent_FunctionToolsStarted, 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_DebugMessage as DebugMessage, livekit_agent_session_pb_d_EotModelUsage as EotModelUsage, 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_SessionRequest_UpdateIO as SessionRequest_UpdateIO, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input as SessionRequest_UpdateIO_Input, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output as SessionRequest_UpdateIO_Output, 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_SessionResponse_UpdateIOResponse as SessionResponse_UpdateIOResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_UserState as UserState };
2722
+ 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_EotPrediction as AgentSessionEvent_EotPrediction, 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_FunctionToolsStarted as AgentSessionEvent_FunctionToolsStarted, 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_ToolExecutionUpdated as AgentSessionEvent_ToolExecutionUpdated, livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_CallUpdated as AgentSessionEvent_ToolExecutionUpdated_CallUpdated, livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_Ended as AgentSessionEvent_ToolExecutionUpdated_Ended, livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated as AgentSessionEvent_ToolExecutionUpdated_ReplyUpdated, livekit_agent_session_pb_d_AgentSessionEvent_ToolExecutionUpdated_Started as AgentSessionEvent_ToolExecutionUpdated_Started, 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_DebugMessage as DebugMessage, livekit_agent_session_pb_d_EotModelUsage as EotModelUsage, 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_FinalizeSimulation as SessionRequest_FinalizeSimulation, 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_SessionRequest_UpdateIO as SessionRequest_UpdateIO, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Input as SessionRequest_UpdateIO_Input, livekit_agent_session_pb_d_SessionRequest_UpdateIO_Output as SessionRequest_UpdateIO_Output, livekit_agent_session_pb_d_SessionResponse as SessionResponse, livekit_agent_session_pb_d_SessionResponse_FinalizeSimulationResponse as SessionResponse_FinalizeSimulationResponse, livekit_agent_session_pb_d_SessionResponse_FinalizeSimulationResponse_SimulationVerdict as SessionResponse_FinalizeSimulationResponse_SimulationVerdict, 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_SessionResponse_UpdateIOResponse as SessionResponse_UpdateIOResponse, livekit_agent_session_pb_d_TTSModelUsage as TTSModelUsage, livekit_agent_session_pb_d_TimedString as TimedString, livekit_agent_session_pb_d_ToolCallStatus as ToolCallStatus, livekit_agent_session_pb_d_ToolReplyStatus as ToolReplyStatus, livekit_agent_session_pb_d_UserState as UserState };
2354
2723
  }
2355
2724
 
2356
2725
  // Copyright 2026 LiveKit, Inc.
@@ -3116,6 +3485,18 @@ declare class SessionCreated extends Message<SessionCreated> {
3116
3485
  */
3117
3486
  defaultThreshold: number;
3118
3487
 
3488
+ /**
3489
+ * same structure, but for backchannel
3490
+ *
3491
+ * @generated from field: map<string, float> default_backchannel_thresholds = 3;
3492
+ */
3493
+ defaultBackchannelThresholds: { [key: string]: number };
3494
+
3495
+ /**
3496
+ * @generated from field: float default_backchannel_threshold = 4;
3497
+ */
3498
+ defaultBackchannelThreshold: number;
3499
+
3119
3500
  constructor(data?: PartialMessage<SessionCreated>);
3120
3501
 
3121
3502
  static readonly runtime: typeof proto3;
@@ -3207,6 +3588,11 @@ declare class EotPrediction extends Message<EotPrediction> {
3207
3588
  */
3208
3589
  backend: EotPrediction_EotBackend;
3209
3590
 
3591
+ /**
3592
+ * @generated from field: float backchannel_probability = 4;
3593
+ */
3594
+ backchannelProbability: number;
3595
+
3210
3596
  constructor(data?: PartialMessage<EotPrediction>);
3211
3597
 
3212
3598
  static readonly runtime: typeof proto3;