@linkshell/gateway 0.4.44 → 0.4.46

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.
@@ -787,7 +787,7 @@ export declare const agentToolCallSchema: z.ZodObject<{
787
787
  createdAt: z.ZodOptional<z.ZodNumber>;
788
788
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
789
789
  }, "strip", z.ZodTypeAny, {
790
- status: "running" | "pending" | "completed" | "failed";
790
+ status: "running" | "pending" | "failed" | "completed";
791
791
  name: string;
792
792
  id: string;
793
793
  createdAt?: number | undefined;
@@ -796,7 +796,7 @@ export declare const agentToolCallSchema: z.ZodObject<{
796
796
  }, {
797
797
  name: string;
798
798
  id: string;
799
- status?: "running" | "pending" | "completed" | "failed" | undefined;
799
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
800
800
  createdAt?: number | undefined;
801
801
  input?: string | undefined;
802
802
  output?: string | undefined;
@@ -903,6 +903,23 @@ export declare const agentModeDescriptorSchema: z.ZodObject<{
903
903
  title: string;
904
904
  description?: string | undefined;
905
905
  }>;
906
+ export declare const agentMcpServerStatusSchema: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
907
+ export declare const agentMcpServerDescriptorSchema: z.ZodObject<{
908
+ name: z.ZodString;
909
+ status: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
910
+ error: z.ZodOptional<z.ZodString>;
911
+ toolCount: z.ZodOptional<z.ZodNumber>;
912
+ }, "strip", z.ZodTypeAny, {
913
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
914
+ name: string;
915
+ error?: string | undefined;
916
+ toolCount?: number | undefined;
917
+ }, {
918
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
919
+ name: string;
920
+ error?: string | undefined;
921
+ toolCount?: number | undefined;
922
+ }>;
906
923
  export declare const agentProviderCapabilitySchema: z.ZodObject<{
907
924
  id: z.ZodEnum<["codex", "claude", "custom"]>;
908
925
  label: z.ZodString;
@@ -980,6 +997,22 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
980
997
  }>, "many">>;
981
998
  currentMode: z.ZodOptional<z.ZodString>;
982
999
  features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1000
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1001
+ name: z.ZodString;
1002
+ status: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
1003
+ error: z.ZodOptional<z.ZodString>;
1004
+ toolCount: z.ZodOptional<z.ZodNumber>;
1005
+ }, "strip", z.ZodTypeAny, {
1006
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1007
+ name: string;
1008
+ error?: string | undefined;
1009
+ toolCount?: number | undefined;
1010
+ }, {
1011
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1012
+ name: string;
1013
+ error?: string | undefined;
1014
+ toolCount?: number | undefined;
1015
+ }>, "many">>;
983
1016
  }, "strip", z.ZodTypeAny, {
984
1017
  enabled: boolean;
985
1018
  id: "custom" | "claude" | "codex";
@@ -1017,6 +1050,12 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
1017
1050
  }[] | undefined;
1018
1051
  currentMode?: string | undefined;
1019
1052
  features?: Record<string, boolean> | undefined;
1053
+ mcpServers?: {
1054
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1055
+ name: string;
1056
+ error?: string | undefined;
1057
+ toolCount?: number | undefined;
1058
+ }[] | undefined;
1020
1059
  }, {
1021
1060
  enabled: boolean;
1022
1061
  id: "custom" | "claude" | "codex";
@@ -1054,6 +1093,12 @@ export declare const agentProviderCapabilitySchema: z.ZodObject<{
1054
1093
  }[] | undefined;
1055
1094
  currentMode?: string | undefined;
1056
1095
  features?: Record<string, boolean> | undefined;
1096
+ mcpServers?: {
1097
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1098
+ name: string;
1099
+ error?: string | undefined;
1100
+ toolCount?: number | undefined;
1101
+ }[] | undefined;
1057
1102
  }>;
1058
1103
  export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1059
1104
  enabled: z.ZodBoolean;
@@ -1136,6 +1181,22 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1136
1181
  }>, "many">>;
1137
1182
  currentMode: z.ZodOptional<z.ZodString>;
1138
1183
  features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1184
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1185
+ name: z.ZodString;
1186
+ status: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
1187
+ error: z.ZodOptional<z.ZodString>;
1188
+ toolCount: z.ZodOptional<z.ZodNumber>;
1189
+ }, "strip", z.ZodTypeAny, {
1190
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1191
+ name: string;
1192
+ error?: string | undefined;
1193
+ toolCount?: number | undefined;
1194
+ }, {
1195
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1196
+ name: string;
1197
+ error?: string | undefined;
1198
+ toolCount?: number | undefined;
1199
+ }>, "many">>;
1139
1200
  }, "strip", z.ZodTypeAny, {
1140
1201
  enabled: boolean;
1141
1202
  id: "custom" | "claude" | "codex";
@@ -1173,6 +1234,12 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1173
1234
  }[] | undefined;
1174
1235
  currentMode?: string | undefined;
1175
1236
  features?: Record<string, boolean> | undefined;
1237
+ mcpServers?: {
1238
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1239
+ name: string;
1240
+ error?: string | undefined;
1241
+ toolCount?: number | undefined;
1242
+ }[] | undefined;
1176
1243
  }, {
1177
1244
  enabled: boolean;
1178
1245
  id: "custom" | "claude" | "codex";
@@ -1210,6 +1277,12 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1210
1277
  }[] | undefined;
1211
1278
  currentMode?: string | undefined;
1212
1279
  features?: Record<string, boolean> | undefined;
1280
+ mcpServers?: {
1281
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1282
+ name: string;
1283
+ error?: string | undefined;
1284
+ toolCount?: number | undefined;
1285
+ }[] | undefined;
1213
1286
  }>, "many">>;
1214
1287
  protocolVersion: z.ZodOptional<z.ZodNumber>;
1215
1288
  error: z.ZodOptional<z.ZodString>;
@@ -1270,6 +1343,12 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1270
1343
  }[] | undefined;
1271
1344
  currentMode?: string | undefined;
1272
1345
  features?: Record<string, boolean> | undefined;
1346
+ mcpServers?: {
1347
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1348
+ name: string;
1349
+ error?: string | undefined;
1350
+ toolCount?: number | undefined;
1351
+ }[] | undefined;
1273
1352
  }[] | undefined;
1274
1353
  }, {
1275
1354
  enabled: boolean;
@@ -1318,6 +1397,12 @@ export declare const agentCapabilitiesPayloadSchema: z.ZodObject<{
1318
1397
  }[] | undefined;
1319
1398
  currentMode?: string | undefined;
1320
1399
  features?: Record<string, boolean> | undefined;
1400
+ mcpServers?: {
1401
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1402
+ name: string;
1403
+ error?: string | undefined;
1404
+ toolCount?: number | undefined;
1405
+ }[] | undefined;
1321
1406
  }[] | undefined;
1322
1407
  supportsSessionList?: boolean | undefined;
1323
1408
  supportsSessionLoad?: boolean | undefined;
@@ -1433,7 +1518,7 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
1433
1518
  createdAt: z.ZodOptional<z.ZodNumber>;
1434
1519
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
1435
1520
  }, "strip", z.ZodTypeAny, {
1436
- status: "running" | "pending" | "completed" | "failed";
1521
+ status: "running" | "pending" | "failed" | "completed";
1437
1522
  name: string;
1438
1523
  id: string;
1439
1524
  createdAt?: number | undefined;
@@ -1442,7 +1527,7 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
1442
1527
  }, {
1443
1528
  name: string;
1444
1529
  id: string;
1445
- status?: "running" | "pending" | "completed" | "failed" | undefined;
1530
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
1446
1531
  createdAt?: number | undefined;
1447
1532
  input?: string | undefined;
1448
1533
  output?: string | undefined;
@@ -1481,7 +1566,7 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
1481
1566
  }[] | undefined;
1482
1567
  delta?: string | undefined;
1483
1568
  toolCall?: {
1484
- status: "running" | "pending" | "completed" | "failed";
1569
+ status: "running" | "pending" | "failed" | "completed";
1485
1570
  name: string;
1486
1571
  id: string;
1487
1572
  createdAt?: number | undefined;
@@ -1509,7 +1594,7 @@ export declare const agentUpdatePayloadSchema: z.ZodObject<{
1509
1594
  toolCall?: {
1510
1595
  name: string;
1511
1596
  id: string;
1512
- status?: "running" | "pending" | "completed" | "failed" | undefined;
1597
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
1513
1598
  createdAt?: number | undefined;
1514
1599
  input?: string | undefined;
1515
1600
  output?: string | undefined;
@@ -1657,6 +1742,22 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1657
1742
  }>, "many">>;
1658
1743
  currentMode: z.ZodOptional<z.ZodString>;
1659
1744
  features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
1745
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
1746
+ name: z.ZodString;
1747
+ status: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
1748
+ error: z.ZodOptional<z.ZodString>;
1749
+ toolCount: z.ZodOptional<z.ZodNumber>;
1750
+ }, "strip", z.ZodTypeAny, {
1751
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1752
+ name: string;
1753
+ error?: string | undefined;
1754
+ toolCount?: number | undefined;
1755
+ }, {
1756
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1757
+ name: string;
1758
+ error?: string | undefined;
1759
+ toolCount?: number | undefined;
1760
+ }>, "many">>;
1660
1761
  }, "strip", z.ZodTypeAny, {
1661
1762
  enabled: boolean;
1662
1763
  id: "custom" | "claude" | "codex";
@@ -1694,6 +1795,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1694
1795
  }[] | undefined;
1695
1796
  currentMode?: string | undefined;
1696
1797
  features?: Record<string, boolean> | undefined;
1798
+ mcpServers?: {
1799
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1800
+ name: string;
1801
+ error?: string | undefined;
1802
+ toolCount?: number | undefined;
1803
+ }[] | undefined;
1697
1804
  }, {
1698
1805
  enabled: boolean;
1699
1806
  id: "custom" | "claude" | "codex";
@@ -1731,6 +1838,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1731
1838
  }[] | undefined;
1732
1839
  currentMode?: string | undefined;
1733
1840
  features?: Record<string, boolean> | undefined;
1841
+ mcpServers?: {
1842
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1843
+ name: string;
1844
+ error?: string | undefined;
1845
+ toolCount?: number | undefined;
1846
+ }[] | undefined;
1734
1847
  }>, "many">>;
1735
1848
  protocolVersion: z.ZodOptional<z.ZodNumber>;
1736
1849
  error: z.ZodOptional<z.ZodString>;
@@ -1791,6 +1904,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1791
1904
  }[] | undefined;
1792
1905
  currentMode?: string | undefined;
1793
1906
  features?: Record<string, boolean> | undefined;
1907
+ mcpServers?: {
1908
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1909
+ name: string;
1910
+ error?: string | undefined;
1911
+ toolCount?: number | undefined;
1912
+ }[] | undefined;
1794
1913
  }[] | undefined;
1795
1914
  }, {
1796
1915
  enabled: boolean;
@@ -1839,6 +1958,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1839
1958
  }[] | undefined;
1840
1959
  currentMode?: string | undefined;
1841
1960
  features?: Record<string, boolean> | undefined;
1961
+ mcpServers?: {
1962
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
1963
+ name: string;
1964
+ error?: string | undefined;
1965
+ toolCount?: number | undefined;
1966
+ }[] | undefined;
1842
1967
  }[] | undefined;
1843
1968
  supportsSessionList?: boolean | undefined;
1844
1969
  supportsSessionLoad?: boolean | undefined;
@@ -1871,7 +1996,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1871
1996
  createdAt: z.ZodOptional<z.ZodNumber>;
1872
1997
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
1873
1998
  }, "strip", z.ZodTypeAny, {
1874
- status: "running" | "pending" | "completed" | "failed";
1999
+ status: "running" | "pending" | "failed" | "completed";
1875
2000
  name: string;
1876
2001
  id: string;
1877
2002
  createdAt?: number | undefined;
@@ -1880,7 +2005,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1880
2005
  }, {
1881
2006
  name: string;
1882
2007
  id: string;
1883
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2008
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
1884
2009
  createdAt?: number | undefined;
1885
2010
  input?: string | undefined;
1886
2011
  output?: string | undefined;
@@ -1936,7 +2061,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
1936
2061
  isStreaming?: boolean | undefined;
1937
2062
  }[];
1938
2063
  toolCalls: {
1939
- status: "running" | "pending" | "completed" | "failed";
2064
+ status: "running" | "pending" | "failed" | "completed";
1940
2065
  name: string;
1941
2066
  id: string;
1942
2067
  createdAt?: number | undefined;
@@ -2006,6 +2131,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
2006
2131
  }[] | undefined;
2007
2132
  currentMode?: string | undefined;
2008
2133
  features?: Record<string, boolean> | undefined;
2134
+ mcpServers?: {
2135
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
2136
+ name: string;
2137
+ error?: string | undefined;
2138
+ toolCount?: number | undefined;
2139
+ }[] | undefined;
2009
2140
  }[] | undefined;
2010
2141
  } | undefined;
2011
2142
  }, {
@@ -2059,6 +2190,12 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
2059
2190
  }[] | undefined;
2060
2191
  currentMode?: string | undefined;
2061
2192
  features?: Record<string, boolean> | undefined;
2193
+ mcpServers?: {
2194
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
2195
+ name: string;
2196
+ error?: string | undefined;
2197
+ toolCount?: number | undefined;
2198
+ }[] | undefined;
2062
2199
  }[] | undefined;
2063
2200
  supportsSessionList?: boolean | undefined;
2064
2201
  supportsSessionLoad?: boolean | undefined;
@@ -2074,7 +2211,7 @@ export declare const agentSnapshotPayloadSchema: z.ZodObject<{
2074
2211
  toolCalls?: {
2075
2212
  name: string;
2076
2213
  id: string;
2077
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2214
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2078
2215
  createdAt?: number | undefined;
2079
2216
  input?: string | undefined;
2080
2217
  output?: string | undefined;
@@ -2137,7 +2274,7 @@ export declare const agentV2FileChangeSchema: z.ZodObject<{
2137
2274
  added?: number | undefined;
2138
2275
  removed?: number | undefined;
2139
2276
  }[];
2140
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2277
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2141
2278
  summary?: string | undefined;
2142
2279
  diff?: string | undefined;
2143
2280
  changeSetId?: string | undefined;
@@ -2148,7 +2285,7 @@ export declare const agentV2FileChangeSchema: z.ZodObject<{
2148
2285
  added?: number | undefined;
2149
2286
  removed?: number | undefined;
2150
2287
  }[] | undefined;
2151
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2288
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2152
2289
  summary?: string | undefined;
2153
2290
  diff?: string | undefined;
2154
2291
  changeSetId?: string | undefined;
@@ -2160,13 +2297,13 @@ export declare const agentV2CommandExecutionSchema: z.ZodObject<{
2160
2297
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2161
2298
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
2162
2299
  }, "strip", z.ZodTypeAny, {
2163
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2300
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2164
2301
  cwd?: string | undefined;
2165
2302
  exitCode?: number | null | undefined;
2166
2303
  output?: string | undefined;
2167
2304
  command?: string | undefined;
2168
2305
  }, {
2169
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2306
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2170
2307
  cwd?: string | undefined;
2171
2308
  exitCode?: number | null | undefined;
2172
2309
  output?: string | undefined;
@@ -2456,7 +2593,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2456
2593
  createdAt: z.ZodOptional<z.ZodNumber>;
2457
2594
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
2458
2595
  }, "strip", z.ZodTypeAny, {
2459
- status: "running" | "pending" | "completed" | "failed";
2596
+ status: "running" | "pending" | "failed" | "completed";
2460
2597
  name: string;
2461
2598
  id: string;
2462
2599
  createdAt?: number | undefined;
@@ -2465,7 +2602,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2465
2602
  }, {
2466
2603
  name: string;
2467
2604
  id: string;
2468
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2605
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2469
2606
  createdAt?: number | undefined;
2470
2607
  input?: string | undefined;
2471
2608
  output?: string | undefined;
@@ -2477,13 +2614,13 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2477
2614
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2478
2615
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
2479
2616
  }, "strip", z.ZodTypeAny, {
2480
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2617
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2481
2618
  cwd?: string | undefined;
2482
2619
  exitCode?: number | null | undefined;
2483
2620
  output?: string | undefined;
2484
2621
  command?: string | undefined;
2485
2622
  }, {
2486
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2623
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2487
2624
  cwd?: string | undefined;
2488
2625
  exitCode?: number | null | undefined;
2489
2626
  output?: string | undefined;
@@ -2517,7 +2654,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2517
2654
  added?: number | undefined;
2518
2655
  removed?: number | undefined;
2519
2656
  }[];
2520
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2657
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2521
2658
  summary?: string | undefined;
2522
2659
  diff?: string | undefined;
2523
2660
  changeSetId?: string | undefined;
@@ -2528,7 +2665,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2528
2665
  added?: number | undefined;
2529
2666
  removed?: number | undefined;
2530
2667
  }[] | undefined;
2531
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2668
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2532
2669
  summary?: string | undefined;
2533
2670
  diff?: string | undefined;
2534
2671
  changeSetId?: string | undefined;
@@ -2772,7 +2909,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2772
2909
  }[] | undefined;
2773
2910
  isStreaming?: boolean | undefined;
2774
2911
  toolCall?: {
2775
- status: "running" | "pending" | "completed" | "failed";
2912
+ status: "running" | "pending" | "failed" | "completed";
2776
2913
  name: string;
2777
2914
  id: string;
2778
2915
  createdAt?: number | undefined;
@@ -2794,7 +2931,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2794
2931
  turnId?: string | undefined;
2795
2932
  itemId?: string | undefined;
2796
2933
  commandExecution?: {
2797
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2934
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2798
2935
  cwd?: string | undefined;
2799
2936
  exitCode?: number | null | undefined;
2800
2937
  output?: string | undefined;
@@ -2807,7 +2944,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2807
2944
  added?: number | undefined;
2808
2945
  removed?: number | undefined;
2809
2946
  }[];
2810
- status?: "running" | "pending" | "completed" | "failed" | undefined;
2947
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2811
2948
  summary?: string | undefined;
2812
2949
  diff?: string | undefined;
2813
2950
  changeSetId?: string | undefined;
@@ -2874,7 +3011,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2874
3011
  toolCall?: {
2875
3012
  name: string;
2876
3013
  id: string;
2877
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3014
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2878
3015
  createdAt?: number | undefined;
2879
3016
  input?: string | undefined;
2880
3017
  output?: string | undefined;
@@ -2894,7 +3031,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2894
3031
  turnId?: string | undefined;
2895
3032
  itemId?: string | undefined;
2896
3033
  commandExecution?: {
2897
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3034
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2898
3035
  cwd?: string | undefined;
2899
3036
  exitCode?: number | null | undefined;
2900
3037
  output?: string | undefined;
@@ -2907,7 +3044,7 @@ export declare const agentV2TimelineItemSchema: z.ZodObject<{
2907
3044
  added?: number | undefined;
2908
3045
  removed?: number | undefined;
2909
3046
  }[] | undefined;
2910
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3047
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
2911
3048
  summary?: string | undefined;
2912
3049
  diff?: string | undefined;
2913
3050
  changeSetId?: string | undefined;
@@ -3150,6 +3287,22 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3150
3287
  }>, "many">>;
3151
3288
  currentMode: z.ZodOptional<z.ZodString>;
3152
3289
  features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
3290
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
3291
+ name: z.ZodString;
3292
+ status: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
3293
+ error: z.ZodOptional<z.ZodString>;
3294
+ toolCount: z.ZodOptional<z.ZodNumber>;
3295
+ }, "strip", z.ZodTypeAny, {
3296
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
3297
+ name: string;
3298
+ error?: string | undefined;
3299
+ toolCount?: number | undefined;
3300
+ }, {
3301
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
3302
+ name: string;
3303
+ error?: string | undefined;
3304
+ toolCount?: number | undefined;
3305
+ }>, "many">>;
3153
3306
  }, "strip", z.ZodTypeAny, {
3154
3307
  enabled: boolean;
3155
3308
  id: "custom" | "claude" | "codex";
@@ -3187,6 +3340,12 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3187
3340
  }[] | undefined;
3188
3341
  currentMode?: string | undefined;
3189
3342
  features?: Record<string, boolean> | undefined;
3343
+ mcpServers?: {
3344
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
3345
+ name: string;
3346
+ error?: string | undefined;
3347
+ toolCount?: number | undefined;
3348
+ }[] | undefined;
3190
3349
  }, {
3191
3350
  enabled: boolean;
3192
3351
  id: "custom" | "claude" | "codex";
@@ -3224,6 +3383,12 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3224
3383
  }[] | undefined;
3225
3384
  currentMode?: string | undefined;
3226
3385
  features?: Record<string, boolean> | undefined;
3386
+ mcpServers?: {
3387
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
3388
+ name: string;
3389
+ error?: string | undefined;
3390
+ toolCount?: number | undefined;
3391
+ }[] | undefined;
3227
3392
  }>, "many">>;
3228
3393
  protocolVersion: z.ZodOptional<z.ZodNumber>;
3229
3394
  error: z.ZodOptional<z.ZodString>;
@@ -3287,6 +3452,12 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3287
3452
  }[] | undefined;
3288
3453
  currentMode?: string | undefined;
3289
3454
  features?: Record<string, boolean> | undefined;
3455
+ mcpServers?: {
3456
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
3457
+ name: string;
3458
+ error?: string | undefined;
3459
+ toolCount?: number | undefined;
3460
+ }[] | undefined;
3290
3461
  }[] | undefined;
3291
3462
  }, {
3292
3463
  enabled: boolean;
@@ -3335,6 +3506,12 @@ export declare const agentV2CapabilitiesPayloadSchema: z.ZodObject<{
3335
3506
  }[] | undefined;
3336
3507
  currentMode?: string | undefined;
3337
3508
  features?: Record<string, boolean> | undefined;
3509
+ mcpServers?: {
3510
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
3511
+ name: string;
3512
+ error?: string | undefined;
3513
+ toolCount?: number | undefined;
3514
+ }[] | undefined;
3338
3515
  }[] | undefined;
3339
3516
  supportsSessionList?: boolean | undefined;
3340
3517
  supportsSessionLoad?: boolean | undefined;
@@ -3351,6 +3528,8 @@ export declare const agentV2ConversationOpenPayloadSchema: z.ZodObject<{
3351
3528
  permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
3352
3529
  collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
3353
3530
  title: z.ZodOptional<z.ZodString>;
3531
+ forkFromConversationId: z.ZodOptional<z.ZodString>;
3532
+ forkFromTurnId: z.ZodOptional<z.ZodString>;
3354
3533
  }, "strip", z.ZodTypeAny, {
3355
3534
  conversationId?: string | undefined;
3356
3535
  agentSessionId?: string | undefined;
@@ -3361,6 +3540,8 @@ export declare const agentV2ConversationOpenPayloadSchema: z.ZodObject<{
3361
3540
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
3362
3541
  permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
3363
3542
  collaborationMode?: "plan" | "default" | undefined;
3543
+ forkFromConversationId?: string | undefined;
3544
+ forkFromTurnId?: string | undefined;
3364
3545
  }, {
3365
3546
  conversationId?: string | undefined;
3366
3547
  agentSessionId?: string | undefined;
@@ -3371,6 +3552,8 @@ export declare const agentV2ConversationOpenPayloadSchema: z.ZodObject<{
3371
3552
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
3372
3553
  permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
3373
3554
  collaborationMode?: "plan" | "default" | undefined;
3555
+ forkFromConversationId?: string | undefined;
3556
+ forkFromTurnId?: string | undefined;
3374
3557
  }>;
3375
3558
  export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3376
3559
  conversation: z.ZodObject<{
@@ -3497,7 +3680,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3497
3680
  createdAt: z.ZodOptional<z.ZodNumber>;
3498
3681
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
3499
3682
  }, "strip", z.ZodTypeAny, {
3500
- status: "running" | "pending" | "completed" | "failed";
3683
+ status: "running" | "pending" | "failed" | "completed";
3501
3684
  name: string;
3502
3685
  id: string;
3503
3686
  createdAt?: number | undefined;
@@ -3506,7 +3689,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3506
3689
  }, {
3507
3690
  name: string;
3508
3691
  id: string;
3509
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3692
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3510
3693
  createdAt?: number | undefined;
3511
3694
  input?: string | undefined;
3512
3695
  output?: string | undefined;
@@ -3518,13 +3701,13 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3518
3701
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3519
3702
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
3520
3703
  }, "strip", z.ZodTypeAny, {
3521
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3704
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3522
3705
  cwd?: string | undefined;
3523
3706
  exitCode?: number | null | undefined;
3524
3707
  output?: string | undefined;
3525
3708
  command?: string | undefined;
3526
3709
  }, {
3527
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3710
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3528
3711
  cwd?: string | undefined;
3529
3712
  exitCode?: number | null | undefined;
3530
3713
  output?: string | undefined;
@@ -3558,7 +3741,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3558
3741
  added?: number | undefined;
3559
3742
  removed?: number | undefined;
3560
3743
  }[];
3561
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3744
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3562
3745
  summary?: string | undefined;
3563
3746
  diff?: string | undefined;
3564
3747
  changeSetId?: string | undefined;
@@ -3569,7 +3752,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3569
3752
  added?: number | undefined;
3570
3753
  removed?: number | undefined;
3571
3754
  }[] | undefined;
3572
- status?: "running" | "pending" | "completed" | "failed" | undefined;
3755
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3573
3756
  summary?: string | undefined;
3574
3757
  diff?: string | undefined;
3575
3758
  changeSetId?: string | undefined;
@@ -3813,7 +3996,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3813
3996
  }[] | undefined;
3814
3997
  isStreaming?: boolean | undefined;
3815
3998
  toolCall?: {
3816
- status: "running" | "pending" | "completed" | "failed";
3999
+ status: "running" | "pending" | "failed" | "completed";
3817
4000
  name: string;
3818
4001
  id: string;
3819
4002
  createdAt?: number | undefined;
@@ -3835,7 +4018,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3835
4018
  turnId?: string | undefined;
3836
4019
  itemId?: string | undefined;
3837
4020
  commandExecution?: {
3838
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4021
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3839
4022
  cwd?: string | undefined;
3840
4023
  exitCode?: number | null | undefined;
3841
4024
  output?: string | undefined;
@@ -3848,7 +4031,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3848
4031
  added?: number | undefined;
3849
4032
  removed?: number | undefined;
3850
4033
  }[];
3851
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4034
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3852
4035
  summary?: string | undefined;
3853
4036
  diff?: string | undefined;
3854
4037
  changeSetId?: string | undefined;
@@ -3915,7 +4098,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3915
4098
  toolCall?: {
3916
4099
  name: string;
3917
4100
  id: string;
3918
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4101
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3919
4102
  createdAt?: number | undefined;
3920
4103
  input?: string | undefined;
3921
4104
  output?: string | undefined;
@@ -3935,7 +4118,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3935
4118
  turnId?: string | undefined;
3936
4119
  itemId?: string | undefined;
3937
4120
  commandExecution?: {
3938
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4121
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3939
4122
  cwd?: string | undefined;
3940
4123
  exitCode?: number | null | undefined;
3941
4124
  output?: string | undefined;
@@ -3948,7 +4131,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
3948
4131
  added?: number | undefined;
3949
4132
  removed?: number | undefined;
3950
4133
  }[] | undefined;
3951
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4134
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
3952
4135
  summary?: string | undefined;
3953
4136
  diff?: string | undefined;
3954
4137
  changeSetId?: string | undefined;
@@ -4041,7 +4224,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
4041
4224
  }[] | undefined;
4042
4225
  isStreaming?: boolean | undefined;
4043
4226
  toolCall?: {
4044
- status: "running" | "pending" | "completed" | "failed";
4227
+ status: "running" | "pending" | "failed" | "completed";
4045
4228
  name: string;
4046
4229
  id: string;
4047
4230
  createdAt?: number | undefined;
@@ -4063,7 +4246,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
4063
4246
  turnId?: string | undefined;
4064
4247
  itemId?: string | undefined;
4065
4248
  commandExecution?: {
4066
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4249
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4067
4250
  cwd?: string | undefined;
4068
4251
  exitCode?: number | null | undefined;
4069
4252
  output?: string | undefined;
@@ -4076,7 +4259,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
4076
4259
  added?: number | undefined;
4077
4260
  removed?: number | undefined;
4078
4261
  }[];
4079
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4262
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4080
4263
  summary?: string | undefined;
4081
4264
  diff?: string | undefined;
4082
4265
  changeSetId?: string | undefined;
@@ -4171,7 +4354,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
4171
4354
  toolCall?: {
4172
4355
  name: string;
4173
4356
  id: string;
4174
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4357
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4175
4358
  createdAt?: number | undefined;
4176
4359
  input?: string | undefined;
4177
4360
  output?: string | undefined;
@@ -4191,7 +4374,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
4191
4374
  turnId?: string | undefined;
4192
4375
  itemId?: string | undefined;
4193
4376
  commandExecution?: {
4194
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4377
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4195
4378
  cwd?: string | undefined;
4196
4379
  exitCode?: number | null | undefined;
4197
4380
  output?: string | undefined;
@@ -4204,7 +4387,7 @@ export declare const agentV2ConversationOpenedPayloadSchema: z.ZodObject<{
4204
4387
  added?: number | undefined;
4205
4388
  removed?: number | undefined;
4206
4389
  }[] | undefined;
4207
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4390
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4208
4391
  summary?: string | undefined;
4209
4392
  diff?: string | undefined;
4210
4393
  changeSetId?: string | undefined;
@@ -4645,7 +4828,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4645
4828
  createdAt: z.ZodOptional<z.ZodNumber>;
4646
4829
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
4647
4830
  }, "strip", z.ZodTypeAny, {
4648
- status: "running" | "pending" | "completed" | "failed";
4831
+ status: "running" | "pending" | "failed" | "completed";
4649
4832
  name: string;
4650
4833
  id: string;
4651
4834
  createdAt?: number | undefined;
@@ -4654,7 +4837,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4654
4837
  }, {
4655
4838
  name: string;
4656
4839
  id: string;
4657
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4840
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4658
4841
  createdAt?: number | undefined;
4659
4842
  input?: string | undefined;
4660
4843
  output?: string | undefined;
@@ -4666,13 +4849,13 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4666
4849
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4667
4850
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
4668
4851
  }, "strip", z.ZodTypeAny, {
4669
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4852
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4670
4853
  cwd?: string | undefined;
4671
4854
  exitCode?: number | null | undefined;
4672
4855
  output?: string | undefined;
4673
4856
  command?: string | undefined;
4674
4857
  }, {
4675
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4858
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4676
4859
  cwd?: string | undefined;
4677
4860
  exitCode?: number | null | undefined;
4678
4861
  output?: string | undefined;
@@ -4706,7 +4889,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4706
4889
  added?: number | undefined;
4707
4890
  removed?: number | undefined;
4708
4891
  }[];
4709
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4892
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4710
4893
  summary?: string | undefined;
4711
4894
  diff?: string | undefined;
4712
4895
  changeSetId?: string | undefined;
@@ -4717,7 +4900,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4717
4900
  added?: number | undefined;
4718
4901
  removed?: number | undefined;
4719
4902
  }[] | undefined;
4720
- status?: "running" | "pending" | "completed" | "failed" | undefined;
4903
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4721
4904
  summary?: string | undefined;
4722
4905
  diff?: string | undefined;
4723
4906
  changeSetId?: string | undefined;
@@ -4961,7 +5144,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4961
5144
  }[] | undefined;
4962
5145
  isStreaming?: boolean | undefined;
4963
5146
  toolCall?: {
4964
- status: "running" | "pending" | "completed" | "failed";
5147
+ status: "running" | "pending" | "failed" | "completed";
4965
5148
  name: string;
4966
5149
  id: string;
4967
5150
  createdAt?: number | undefined;
@@ -4983,7 +5166,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4983
5166
  turnId?: string | undefined;
4984
5167
  itemId?: string | undefined;
4985
5168
  commandExecution?: {
4986
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5169
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
4987
5170
  cwd?: string | undefined;
4988
5171
  exitCode?: number | null | undefined;
4989
5172
  output?: string | undefined;
@@ -4996,7 +5179,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
4996
5179
  added?: number | undefined;
4997
5180
  removed?: number | undefined;
4998
5181
  }[];
4999
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5182
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5000
5183
  summary?: string | undefined;
5001
5184
  diff?: string | undefined;
5002
5185
  changeSetId?: string | undefined;
@@ -5063,7 +5246,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5063
5246
  toolCall?: {
5064
5247
  name: string;
5065
5248
  id: string;
5066
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5249
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5067
5250
  createdAt?: number | undefined;
5068
5251
  input?: string | undefined;
5069
5252
  output?: string | undefined;
@@ -5083,7 +5266,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5083
5266
  turnId?: string | undefined;
5084
5267
  itemId?: string | undefined;
5085
5268
  commandExecution?: {
5086
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5269
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5087
5270
  cwd?: string | undefined;
5088
5271
  exitCode?: number | null | undefined;
5089
5272
  output?: string | undefined;
@@ -5096,7 +5279,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5096
5279
  added?: number | undefined;
5097
5280
  removed?: number | undefined;
5098
5281
  }[] | undefined;
5099
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5282
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5100
5283
  summary?: string | undefined;
5101
5284
  diff?: string | undefined;
5102
5285
  changeSetId?: string | undefined;
@@ -5189,7 +5372,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5189
5372
  }[] | undefined;
5190
5373
  isStreaming?: boolean | undefined;
5191
5374
  toolCall?: {
5192
- status: "running" | "pending" | "completed" | "failed";
5375
+ status: "running" | "pending" | "failed" | "completed";
5193
5376
  name: string;
5194
5377
  id: string;
5195
5378
  createdAt?: number | undefined;
@@ -5211,7 +5394,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5211
5394
  turnId?: string | undefined;
5212
5395
  itemId?: string | undefined;
5213
5396
  commandExecution?: {
5214
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5397
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5215
5398
  cwd?: string | undefined;
5216
5399
  exitCode?: number | null | undefined;
5217
5400
  output?: string | undefined;
@@ -5224,7 +5407,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5224
5407
  added?: number | undefined;
5225
5408
  removed?: number | undefined;
5226
5409
  }[];
5227
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5410
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5228
5411
  summary?: string | undefined;
5229
5412
  diff?: string | undefined;
5230
5413
  changeSetId?: string | undefined;
@@ -5322,7 +5505,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5322
5505
  toolCall?: {
5323
5506
  name: string;
5324
5507
  id: string;
5325
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5508
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5326
5509
  createdAt?: number | undefined;
5327
5510
  input?: string | undefined;
5328
5511
  output?: string | undefined;
@@ -5342,7 +5525,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5342
5525
  turnId?: string | undefined;
5343
5526
  itemId?: string | undefined;
5344
5527
  commandExecution?: {
5345
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5528
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5346
5529
  cwd?: string | undefined;
5347
5530
  exitCode?: number | null | undefined;
5348
5531
  output?: string | undefined;
@@ -5355,7 +5538,7 @@ export declare const agentV2SnapshotPayloadSchema: z.ZodObject<{
5355
5538
  added?: number | undefined;
5356
5539
  removed?: number | undefined;
5357
5540
  }[] | undefined;
5358
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5541
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5359
5542
  summary?: string | undefined;
5360
5543
  diff?: string | undefined;
5361
5544
  changeSetId?: string | undefined;
@@ -5525,7 +5708,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5525
5708
  createdAt: z.ZodOptional<z.ZodNumber>;
5526
5709
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
5527
5710
  }, "strip", z.ZodTypeAny, {
5528
- status: "running" | "pending" | "completed" | "failed";
5711
+ status: "running" | "pending" | "failed" | "completed";
5529
5712
  name: string;
5530
5713
  id: string;
5531
5714
  createdAt?: number | undefined;
@@ -5534,7 +5717,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5534
5717
  }, {
5535
5718
  name: string;
5536
5719
  id: string;
5537
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5720
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5538
5721
  createdAt?: number | undefined;
5539
5722
  input?: string | undefined;
5540
5723
  output?: string | undefined;
@@ -5546,13 +5729,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5546
5729
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
5547
5730
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
5548
5731
  }, "strip", z.ZodTypeAny, {
5549
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5732
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5550
5733
  cwd?: string | undefined;
5551
5734
  exitCode?: number | null | undefined;
5552
5735
  output?: string | undefined;
5553
5736
  command?: string | undefined;
5554
5737
  }, {
5555
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5738
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5556
5739
  cwd?: string | undefined;
5557
5740
  exitCode?: number | null | undefined;
5558
5741
  output?: string | undefined;
@@ -5586,7 +5769,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5586
5769
  added?: number | undefined;
5587
5770
  removed?: number | undefined;
5588
5771
  }[];
5589
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5772
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5590
5773
  summary?: string | undefined;
5591
5774
  diff?: string | undefined;
5592
5775
  changeSetId?: string | undefined;
@@ -5597,7 +5780,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5597
5780
  added?: number | undefined;
5598
5781
  removed?: number | undefined;
5599
5782
  }[] | undefined;
5600
- status?: "running" | "pending" | "completed" | "failed" | undefined;
5783
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5601
5784
  summary?: string | undefined;
5602
5785
  diff?: string | undefined;
5603
5786
  changeSetId?: string | undefined;
@@ -5841,7 +6024,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5841
6024
  }[] | undefined;
5842
6025
  isStreaming?: boolean | undefined;
5843
6026
  toolCall?: {
5844
- status: "running" | "pending" | "completed" | "failed";
6027
+ status: "running" | "pending" | "failed" | "completed";
5845
6028
  name: string;
5846
6029
  id: string;
5847
6030
  createdAt?: number | undefined;
@@ -5863,7 +6046,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5863
6046
  turnId?: string | undefined;
5864
6047
  itemId?: string | undefined;
5865
6048
  commandExecution?: {
5866
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6049
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5867
6050
  cwd?: string | undefined;
5868
6051
  exitCode?: number | null | undefined;
5869
6052
  output?: string | undefined;
@@ -5876,7 +6059,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5876
6059
  added?: number | undefined;
5877
6060
  removed?: number | undefined;
5878
6061
  }[];
5879
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6062
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5880
6063
  summary?: string | undefined;
5881
6064
  diff?: string | undefined;
5882
6065
  changeSetId?: string | undefined;
@@ -5943,7 +6126,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5943
6126
  toolCall?: {
5944
6127
  name: string;
5945
6128
  id: string;
5946
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6129
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5947
6130
  createdAt?: number | undefined;
5948
6131
  input?: string | undefined;
5949
6132
  output?: string | undefined;
@@ -5963,7 +6146,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5963
6146
  turnId?: string | undefined;
5964
6147
  itemId?: string | undefined;
5965
6148
  commandExecution?: {
5966
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6149
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5967
6150
  cwd?: string | undefined;
5968
6151
  exitCode?: number | null | undefined;
5969
6152
  output?: string | undefined;
@@ -5976,7 +6159,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
5976
6159
  added?: number | undefined;
5977
6160
  removed?: number | undefined;
5978
6161
  }[] | undefined;
5979
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6162
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
5980
6163
  summary?: string | undefined;
5981
6164
  diff?: string | undefined;
5982
6165
  changeSetId?: string | undefined;
@@ -6050,7 +6233,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6050
6233
  createdAt: z.ZodOptional<z.ZodNumber>;
6051
6234
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
6052
6235
  }, "strip", z.ZodTypeAny, {
6053
- status: "running" | "pending" | "completed" | "failed";
6236
+ status: "running" | "pending" | "failed" | "completed";
6054
6237
  name: string;
6055
6238
  id: string;
6056
6239
  createdAt?: number | undefined;
@@ -6059,7 +6242,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6059
6242
  }, {
6060
6243
  name: string;
6061
6244
  id: string;
6062
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6245
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6063
6246
  createdAt?: number | undefined;
6064
6247
  input?: string | undefined;
6065
6248
  output?: string | undefined;
@@ -6071,13 +6254,13 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6071
6254
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
6072
6255
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
6073
6256
  }, "strip", z.ZodTypeAny, {
6074
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6257
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6075
6258
  cwd?: string | undefined;
6076
6259
  exitCode?: number | null | undefined;
6077
6260
  output?: string | undefined;
6078
6261
  command?: string | undefined;
6079
6262
  }, {
6080
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6263
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6081
6264
  cwd?: string | undefined;
6082
6265
  exitCode?: number | null | undefined;
6083
6266
  output?: string | undefined;
@@ -6111,7 +6294,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6111
6294
  added?: number | undefined;
6112
6295
  removed?: number | undefined;
6113
6296
  }[];
6114
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6297
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6115
6298
  summary?: string | undefined;
6116
6299
  diff?: string | undefined;
6117
6300
  changeSetId?: string | undefined;
@@ -6122,7 +6305,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6122
6305
  added?: number | undefined;
6123
6306
  removed?: number | undefined;
6124
6307
  }[] | undefined;
6125
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6308
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6126
6309
  summary?: string | undefined;
6127
6310
  diff?: string | undefined;
6128
6311
  changeSetId?: string | undefined;
@@ -6361,7 +6544,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6361
6544
  }[] | undefined;
6362
6545
  isStreaming?: boolean | undefined;
6363
6546
  toolCall?: {
6364
- status: "running" | "pending" | "completed" | "failed";
6547
+ status: "running" | "pending" | "failed" | "completed";
6365
6548
  name: string;
6366
6549
  id: string;
6367
6550
  createdAt?: number | undefined;
@@ -6381,7 +6564,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6381
6564
  context?: string | undefined;
6382
6565
  } | undefined;
6383
6566
  commandExecution?: {
6384
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6567
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6385
6568
  cwd?: string | undefined;
6386
6569
  exitCode?: number | null | undefined;
6387
6570
  output?: string | undefined;
@@ -6394,7 +6577,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6394
6577
  added?: number | undefined;
6395
6578
  removed?: number | undefined;
6396
6579
  }[];
6397
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6580
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6398
6581
  summary?: string | undefined;
6399
6582
  diff?: string | undefined;
6400
6583
  changeSetId?: string | undefined;
@@ -6459,7 +6642,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6459
6642
  toolCall?: {
6460
6643
  name: string;
6461
6644
  id: string;
6462
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6645
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6463
6646
  createdAt?: number | undefined;
6464
6647
  input?: string | undefined;
6465
6648
  output?: string | undefined;
@@ -6477,7 +6660,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6477
6660
  context?: string | undefined;
6478
6661
  } | undefined;
6479
6662
  commandExecution?: {
6480
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6663
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6481
6664
  cwd?: string | undefined;
6482
6665
  exitCode?: number | null | undefined;
6483
6666
  output?: string | undefined;
@@ -6490,7 +6673,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6490
6673
  added?: number | undefined;
6491
6674
  removed?: number | undefined;
6492
6675
  }[] | undefined;
6493
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6676
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6494
6677
  summary?: string | undefined;
6495
6678
  diff?: string | undefined;
6496
6679
  changeSetId?: string | undefined;
@@ -6584,7 +6767,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6584
6767
  }[] | undefined;
6585
6768
  isStreaming?: boolean | undefined;
6586
6769
  toolCall?: {
6587
- status: "running" | "pending" | "completed" | "failed";
6770
+ status: "running" | "pending" | "failed" | "completed";
6588
6771
  name: string;
6589
6772
  id: string;
6590
6773
  createdAt?: number | undefined;
@@ -6606,7 +6789,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6606
6789
  turnId?: string | undefined;
6607
6790
  itemId?: string | undefined;
6608
6791
  commandExecution?: {
6609
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6792
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6610
6793
  cwd?: string | undefined;
6611
6794
  exitCode?: number | null | undefined;
6612
6795
  output?: string | undefined;
@@ -6619,7 +6802,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6619
6802
  added?: number | undefined;
6620
6803
  removed?: number | undefined;
6621
6804
  }[];
6622
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6805
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6623
6806
  summary?: string | undefined;
6624
6807
  diff?: string | undefined;
6625
6808
  changeSetId?: string | undefined;
@@ -6682,7 +6865,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6682
6865
  }[] | undefined;
6683
6866
  isStreaming?: boolean | undefined;
6684
6867
  toolCall?: {
6685
- status: "running" | "pending" | "completed" | "failed";
6868
+ status: "running" | "pending" | "failed" | "completed";
6686
6869
  name: string;
6687
6870
  id: string;
6688
6871
  createdAt?: number | undefined;
@@ -6702,7 +6885,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6702
6885
  context?: string | undefined;
6703
6886
  } | undefined;
6704
6887
  commandExecution?: {
6705
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6888
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6706
6889
  cwd?: string | undefined;
6707
6890
  exitCode?: number | null | undefined;
6708
6891
  output?: string | undefined;
@@ -6715,7 +6898,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6715
6898
  added?: number | undefined;
6716
6899
  removed?: number | undefined;
6717
6900
  }[];
6718
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6901
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6719
6902
  summary?: string | undefined;
6720
6903
  diff?: string | undefined;
6721
6904
  changeSetId?: string | undefined;
@@ -6811,7 +6994,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6811
6994
  toolCall?: {
6812
6995
  name: string;
6813
6996
  id: string;
6814
- status?: "running" | "pending" | "completed" | "failed" | undefined;
6997
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6815
6998
  createdAt?: number | undefined;
6816
6999
  input?: string | undefined;
6817
7000
  output?: string | undefined;
@@ -6831,7 +7014,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6831
7014
  turnId?: string | undefined;
6832
7015
  itemId?: string | undefined;
6833
7016
  commandExecution?: {
6834
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7017
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6835
7018
  cwd?: string | undefined;
6836
7019
  exitCode?: number | null | undefined;
6837
7020
  output?: string | undefined;
@@ -6844,7 +7027,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6844
7027
  added?: number | undefined;
6845
7028
  removed?: number | undefined;
6846
7029
  }[] | undefined;
6847
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7030
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6848
7031
  summary?: string | undefined;
6849
7032
  diff?: string | undefined;
6850
7033
  changeSetId?: string | undefined;
@@ -6909,7 +7092,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6909
7092
  toolCall?: {
6910
7093
  name: string;
6911
7094
  id: string;
6912
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7095
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6913
7096
  createdAt?: number | undefined;
6914
7097
  input?: string | undefined;
6915
7098
  output?: string | undefined;
@@ -6927,7 +7110,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6927
7110
  context?: string | undefined;
6928
7111
  } | undefined;
6929
7112
  commandExecution?: {
6930
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7113
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6931
7114
  cwd?: string | undefined;
6932
7115
  exitCode?: number | null | undefined;
6933
7116
  output?: string | undefined;
@@ -6940,7 +7123,7 @@ export declare const agentV2EventPayloadSchema: z.ZodObject<{
6940
7123
  added?: number | undefined;
6941
7124
  removed?: number | undefined;
6942
7125
  }[] | undefined;
6943
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7126
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
6944
7127
  summary?: string | undefined;
6945
7128
  diff?: string | undefined;
6946
7129
  changeSetId?: string | undefined;
@@ -7038,7 +7221,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7038
7221
  createdAt: z.ZodOptional<z.ZodNumber>;
7039
7222
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
7040
7223
  }, "strip", z.ZodTypeAny, {
7041
- status: "running" | "pending" | "completed" | "failed";
7224
+ status: "running" | "pending" | "failed" | "completed";
7042
7225
  name: string;
7043
7226
  id: string;
7044
7227
  createdAt?: number | undefined;
@@ -7047,7 +7230,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7047
7230
  }, {
7048
7231
  name: string;
7049
7232
  id: string;
7050
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7233
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7051
7234
  createdAt?: number | undefined;
7052
7235
  input?: string | undefined;
7053
7236
  output?: string | undefined;
@@ -7059,13 +7242,13 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7059
7242
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7060
7243
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
7061
7244
  }, "strip", z.ZodTypeAny, {
7062
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7245
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7063
7246
  cwd?: string | undefined;
7064
7247
  exitCode?: number | null | undefined;
7065
7248
  output?: string | undefined;
7066
7249
  command?: string | undefined;
7067
7250
  }, {
7068
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7251
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7069
7252
  cwd?: string | undefined;
7070
7253
  exitCode?: number | null | undefined;
7071
7254
  output?: string | undefined;
@@ -7099,7 +7282,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7099
7282
  added?: number | undefined;
7100
7283
  removed?: number | undefined;
7101
7284
  }[];
7102
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7285
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7103
7286
  summary?: string | undefined;
7104
7287
  diff?: string | undefined;
7105
7288
  changeSetId?: string | undefined;
@@ -7110,7 +7293,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7110
7293
  added?: number | undefined;
7111
7294
  removed?: number | undefined;
7112
7295
  }[] | undefined;
7113
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7296
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7114
7297
  summary?: string | undefined;
7115
7298
  diff?: string | undefined;
7116
7299
  changeSetId?: string | undefined;
@@ -7354,7 +7537,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7354
7537
  }[] | undefined;
7355
7538
  isStreaming?: boolean | undefined;
7356
7539
  toolCall?: {
7357
- status: "running" | "pending" | "completed" | "failed";
7540
+ status: "running" | "pending" | "failed" | "completed";
7358
7541
  name: string;
7359
7542
  id: string;
7360
7543
  createdAt?: number | undefined;
@@ -7376,7 +7559,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7376
7559
  turnId?: string | undefined;
7377
7560
  itemId?: string | undefined;
7378
7561
  commandExecution?: {
7379
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7562
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7380
7563
  cwd?: string | undefined;
7381
7564
  exitCode?: number | null | undefined;
7382
7565
  output?: string | undefined;
@@ -7389,7 +7572,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7389
7572
  added?: number | undefined;
7390
7573
  removed?: number | undefined;
7391
7574
  }[];
7392
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7575
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7393
7576
  summary?: string | undefined;
7394
7577
  diff?: string | undefined;
7395
7578
  changeSetId?: string | undefined;
@@ -7456,7 +7639,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7456
7639
  toolCall?: {
7457
7640
  name: string;
7458
7641
  id: string;
7459
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7642
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7460
7643
  createdAt?: number | undefined;
7461
7644
  input?: string | undefined;
7462
7645
  output?: string | undefined;
@@ -7476,7 +7659,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7476
7659
  turnId?: string | undefined;
7477
7660
  itemId?: string | undefined;
7478
7661
  commandExecution?: {
7479
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7662
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7480
7663
  cwd?: string | undefined;
7481
7664
  exitCode?: number | null | undefined;
7482
7665
  output?: string | undefined;
@@ -7489,7 +7672,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7489
7672
  added?: number | undefined;
7490
7673
  removed?: number | undefined;
7491
7674
  }[] | undefined;
7492
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7675
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7493
7676
  summary?: string | undefined;
7494
7677
  diff?: string | undefined;
7495
7678
  changeSetId?: string | undefined;
@@ -7566,7 +7749,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7566
7749
  }[] | undefined;
7567
7750
  isStreaming?: boolean | undefined;
7568
7751
  toolCall?: {
7569
- status: "running" | "pending" | "completed" | "failed";
7752
+ status: "running" | "pending" | "failed" | "completed";
7570
7753
  name: string;
7571
7754
  id: string;
7572
7755
  createdAt?: number | undefined;
@@ -7588,7 +7771,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7588
7771
  turnId?: string | undefined;
7589
7772
  itemId?: string | undefined;
7590
7773
  commandExecution?: {
7591
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7774
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7592
7775
  cwd?: string | undefined;
7593
7776
  exitCode?: number | null | undefined;
7594
7777
  output?: string | undefined;
@@ -7601,7 +7784,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7601
7784
  added?: number | undefined;
7602
7785
  removed?: number | undefined;
7603
7786
  }[];
7604
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7787
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7605
7788
  summary?: string | undefined;
7606
7789
  diff?: string | undefined;
7607
7790
  changeSetId?: string | undefined;
@@ -7680,7 +7863,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7680
7863
  toolCall?: {
7681
7864
  name: string;
7682
7865
  id: string;
7683
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7866
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7684
7867
  createdAt?: number | undefined;
7685
7868
  input?: string | undefined;
7686
7869
  output?: string | undefined;
@@ -7700,7 +7883,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7700
7883
  turnId?: string | undefined;
7701
7884
  itemId?: string | undefined;
7702
7885
  commandExecution?: {
7703
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7886
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7704
7887
  cwd?: string | undefined;
7705
7888
  exitCode?: number | null | undefined;
7706
7889
  output?: string | undefined;
@@ -7713,7 +7896,7 @@ export declare const agentV2PermissionRequestPayloadSchema: z.ZodObject<{
7713
7896
  added?: number | undefined;
7714
7897
  removed?: number | undefined;
7715
7898
  }[] | undefined;
7716
- status?: "running" | "pending" | "completed" | "failed" | undefined;
7899
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7717
7900
  summary?: string | undefined;
7718
7901
  diff?: string | undefined;
7719
7902
  changeSetId?: string | undefined;
@@ -7824,7 +8007,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
7824
8007
  createdAt: z.ZodOptional<z.ZodNumber>;
7825
8008
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
7826
8009
  }, "strip", z.ZodTypeAny, {
7827
- status: "running" | "pending" | "completed" | "failed";
8010
+ status: "running" | "pending" | "failed" | "completed";
7828
8011
  name: string;
7829
8012
  id: string;
7830
8013
  createdAt?: number | undefined;
@@ -7833,7 +8016,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
7833
8016
  }, {
7834
8017
  name: string;
7835
8018
  id: string;
7836
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8019
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7837
8020
  createdAt?: number | undefined;
7838
8021
  input?: string | undefined;
7839
8022
  output?: string | undefined;
@@ -7845,13 +8028,13 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
7845
8028
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
7846
8029
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
7847
8030
  }, "strip", z.ZodTypeAny, {
7848
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8031
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7849
8032
  cwd?: string | undefined;
7850
8033
  exitCode?: number | null | undefined;
7851
8034
  output?: string | undefined;
7852
8035
  command?: string | undefined;
7853
8036
  }, {
7854
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8037
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7855
8038
  cwd?: string | undefined;
7856
8039
  exitCode?: number | null | undefined;
7857
8040
  output?: string | undefined;
@@ -7885,7 +8068,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
7885
8068
  added?: number | undefined;
7886
8069
  removed?: number | undefined;
7887
8070
  }[];
7888
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8071
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7889
8072
  summary?: string | undefined;
7890
8073
  diff?: string | undefined;
7891
8074
  changeSetId?: string | undefined;
@@ -7896,7 +8079,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
7896
8079
  added?: number | undefined;
7897
8080
  removed?: number | undefined;
7898
8081
  }[] | undefined;
7899
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8082
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
7900
8083
  summary?: string | undefined;
7901
8084
  diff?: string | undefined;
7902
8085
  changeSetId?: string | undefined;
@@ -8140,7 +8323,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8140
8323
  }[] | undefined;
8141
8324
  isStreaming?: boolean | undefined;
8142
8325
  toolCall?: {
8143
- status: "running" | "pending" | "completed" | "failed";
8326
+ status: "running" | "pending" | "failed" | "completed";
8144
8327
  name: string;
8145
8328
  id: string;
8146
8329
  createdAt?: number | undefined;
@@ -8162,7 +8345,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8162
8345
  turnId?: string | undefined;
8163
8346
  itemId?: string | undefined;
8164
8347
  commandExecution?: {
8165
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8348
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8166
8349
  cwd?: string | undefined;
8167
8350
  exitCode?: number | null | undefined;
8168
8351
  output?: string | undefined;
@@ -8175,7 +8358,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8175
8358
  added?: number | undefined;
8176
8359
  removed?: number | undefined;
8177
8360
  }[];
8178
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8361
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8179
8362
  summary?: string | undefined;
8180
8363
  diff?: string | undefined;
8181
8364
  changeSetId?: string | undefined;
@@ -8242,7 +8425,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8242
8425
  toolCall?: {
8243
8426
  name: string;
8244
8427
  id: string;
8245
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8428
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8246
8429
  createdAt?: number | undefined;
8247
8430
  input?: string | undefined;
8248
8431
  output?: string | undefined;
@@ -8262,7 +8445,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8262
8445
  turnId?: string | undefined;
8263
8446
  itemId?: string | undefined;
8264
8447
  commandExecution?: {
8265
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8448
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8266
8449
  cwd?: string | undefined;
8267
8450
  exitCode?: number | null | undefined;
8268
8451
  output?: string | undefined;
@@ -8275,7 +8458,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8275
8458
  added?: number | undefined;
8276
8459
  removed?: number | undefined;
8277
8460
  }[] | undefined;
8278
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8461
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8279
8462
  summary?: string | undefined;
8280
8463
  diff?: string | undefined;
8281
8464
  changeSetId?: string | undefined;
@@ -8345,7 +8528,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8345
8528
  }[] | undefined;
8346
8529
  isStreaming?: boolean | undefined;
8347
8530
  toolCall?: {
8348
- status: "running" | "pending" | "completed" | "failed";
8531
+ status: "running" | "pending" | "failed" | "completed";
8349
8532
  name: string;
8350
8533
  id: string;
8351
8534
  createdAt?: number | undefined;
@@ -8367,7 +8550,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8367
8550
  turnId?: string | undefined;
8368
8551
  itemId?: string | undefined;
8369
8552
  commandExecution?: {
8370
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8553
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8371
8554
  cwd?: string | undefined;
8372
8555
  exitCode?: number | null | undefined;
8373
8556
  output?: string | undefined;
@@ -8380,7 +8563,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8380
8563
  added?: number | undefined;
8381
8564
  removed?: number | undefined;
8382
8565
  }[];
8383
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8566
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8384
8567
  summary?: string | undefined;
8385
8568
  diff?: string | undefined;
8386
8569
  changeSetId?: string | undefined;
@@ -8452,7 +8635,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8452
8635
  toolCall?: {
8453
8636
  name: string;
8454
8637
  id: string;
8455
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8638
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8456
8639
  createdAt?: number | undefined;
8457
8640
  input?: string | undefined;
8458
8641
  output?: string | undefined;
@@ -8472,7 +8655,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8472
8655
  turnId?: string | undefined;
8473
8656
  itemId?: string | undefined;
8474
8657
  commandExecution?: {
8475
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8658
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8476
8659
  cwd?: string | undefined;
8477
8660
  exitCode?: number | null | undefined;
8478
8661
  output?: string | undefined;
@@ -8485,7 +8668,7 @@ export declare const agentV2HistoryResultPayloadSchema: z.ZodObject<{
8485
8668
  added?: number | undefined;
8486
8669
  removed?: number | undefined;
8487
8670
  }[] | undefined;
8488
- status?: "running" | "pending" | "completed" | "failed" | undefined;
8671
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
8489
8672
  summary?: string | undefined;
8490
8673
  diff?: string | undefined;
8491
8674
  changeSetId?: string | undefined;
@@ -9600,6 +9783,22 @@ export declare const protocolMessageSchemas: {
9600
9783
  }>, "many">>;
9601
9784
  currentMode: z.ZodOptional<z.ZodString>;
9602
9785
  features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
9786
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
9787
+ name: z.ZodString;
9788
+ status: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
9789
+ error: z.ZodOptional<z.ZodString>;
9790
+ toolCount: z.ZodOptional<z.ZodNumber>;
9791
+ }, "strip", z.ZodTypeAny, {
9792
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
9793
+ name: string;
9794
+ error?: string | undefined;
9795
+ toolCount?: number | undefined;
9796
+ }, {
9797
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
9798
+ name: string;
9799
+ error?: string | undefined;
9800
+ toolCount?: number | undefined;
9801
+ }>, "many">>;
9603
9802
  }, "strip", z.ZodTypeAny, {
9604
9803
  enabled: boolean;
9605
9804
  id: "custom" | "claude" | "codex";
@@ -9637,6 +9836,12 @@ export declare const protocolMessageSchemas: {
9637
9836
  }[] | undefined;
9638
9837
  currentMode?: string | undefined;
9639
9838
  features?: Record<string, boolean> | undefined;
9839
+ mcpServers?: {
9840
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
9841
+ name: string;
9842
+ error?: string | undefined;
9843
+ toolCount?: number | undefined;
9844
+ }[] | undefined;
9640
9845
  }, {
9641
9846
  enabled: boolean;
9642
9847
  id: "custom" | "claude" | "codex";
@@ -9674,6 +9879,12 @@ export declare const protocolMessageSchemas: {
9674
9879
  }[] | undefined;
9675
9880
  currentMode?: string | undefined;
9676
9881
  features?: Record<string, boolean> | undefined;
9882
+ mcpServers?: {
9883
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
9884
+ name: string;
9885
+ error?: string | undefined;
9886
+ toolCount?: number | undefined;
9887
+ }[] | undefined;
9677
9888
  }>, "many">>;
9678
9889
  protocolVersion: z.ZodOptional<z.ZodNumber>;
9679
9890
  error: z.ZodOptional<z.ZodString>;
@@ -9734,6 +9945,12 @@ export declare const protocolMessageSchemas: {
9734
9945
  }[] | undefined;
9735
9946
  currentMode?: string | undefined;
9736
9947
  features?: Record<string, boolean> | undefined;
9948
+ mcpServers?: {
9949
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
9950
+ name: string;
9951
+ error?: string | undefined;
9952
+ toolCount?: number | undefined;
9953
+ }[] | undefined;
9737
9954
  }[] | undefined;
9738
9955
  }, {
9739
9956
  enabled: boolean;
@@ -9782,6 +9999,12 @@ export declare const protocolMessageSchemas: {
9782
9999
  }[] | undefined;
9783
10000
  currentMode?: string | undefined;
9784
10001
  features?: Record<string, boolean> | undefined;
10002
+ mcpServers?: {
10003
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10004
+ name: string;
10005
+ error?: string | undefined;
10006
+ toolCount?: number | undefined;
10007
+ }[] | undefined;
9785
10008
  }[] | undefined;
9786
10009
  supportsSessionList?: boolean | undefined;
9787
10010
  supportsSessionLoad?: boolean | undefined;
@@ -9896,7 +10119,7 @@ export declare const protocolMessageSchemas: {
9896
10119
  createdAt: z.ZodOptional<z.ZodNumber>;
9897
10120
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
9898
10121
  }, "strip", z.ZodTypeAny, {
9899
- status: "running" | "pending" | "completed" | "failed";
10122
+ status: "running" | "pending" | "failed" | "completed";
9900
10123
  name: string;
9901
10124
  id: string;
9902
10125
  createdAt?: number | undefined;
@@ -9905,7 +10128,7 @@ export declare const protocolMessageSchemas: {
9905
10128
  }, {
9906
10129
  name: string;
9907
10130
  id: string;
9908
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10131
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
9909
10132
  createdAt?: number | undefined;
9910
10133
  input?: string | undefined;
9911
10134
  output?: string | undefined;
@@ -9944,7 +10167,7 @@ export declare const protocolMessageSchemas: {
9944
10167
  }[] | undefined;
9945
10168
  delta?: string | undefined;
9946
10169
  toolCall?: {
9947
- status: "running" | "pending" | "completed" | "failed";
10170
+ status: "running" | "pending" | "failed" | "completed";
9948
10171
  name: string;
9949
10172
  id: string;
9950
10173
  createdAt?: number | undefined;
@@ -9972,7 +10195,7 @@ export declare const protocolMessageSchemas: {
9972
10195
  toolCall?: {
9973
10196
  name: string;
9974
10197
  id: string;
9975
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10198
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
9976
10199
  createdAt?: number | undefined;
9977
10200
  input?: string | undefined;
9978
10201
  output?: string | undefined;
@@ -10120,6 +10343,22 @@ export declare const protocolMessageSchemas: {
10120
10343
  }>, "many">>;
10121
10344
  currentMode: z.ZodOptional<z.ZodString>;
10122
10345
  features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
10346
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
10347
+ name: z.ZodString;
10348
+ status: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
10349
+ error: z.ZodOptional<z.ZodString>;
10350
+ toolCount: z.ZodOptional<z.ZodNumber>;
10351
+ }, "strip", z.ZodTypeAny, {
10352
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10353
+ name: string;
10354
+ error?: string | undefined;
10355
+ toolCount?: number | undefined;
10356
+ }, {
10357
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10358
+ name: string;
10359
+ error?: string | undefined;
10360
+ toolCount?: number | undefined;
10361
+ }>, "many">>;
10123
10362
  }, "strip", z.ZodTypeAny, {
10124
10363
  enabled: boolean;
10125
10364
  id: "custom" | "claude" | "codex";
@@ -10157,6 +10396,12 @@ export declare const protocolMessageSchemas: {
10157
10396
  }[] | undefined;
10158
10397
  currentMode?: string | undefined;
10159
10398
  features?: Record<string, boolean> | undefined;
10399
+ mcpServers?: {
10400
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10401
+ name: string;
10402
+ error?: string | undefined;
10403
+ toolCount?: number | undefined;
10404
+ }[] | undefined;
10160
10405
  }, {
10161
10406
  enabled: boolean;
10162
10407
  id: "custom" | "claude" | "codex";
@@ -10194,6 +10439,12 @@ export declare const protocolMessageSchemas: {
10194
10439
  }[] | undefined;
10195
10440
  currentMode?: string | undefined;
10196
10441
  features?: Record<string, boolean> | undefined;
10442
+ mcpServers?: {
10443
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10444
+ name: string;
10445
+ error?: string | undefined;
10446
+ toolCount?: number | undefined;
10447
+ }[] | undefined;
10197
10448
  }>, "many">>;
10198
10449
  protocolVersion: z.ZodOptional<z.ZodNumber>;
10199
10450
  error: z.ZodOptional<z.ZodString>;
@@ -10254,6 +10505,12 @@ export declare const protocolMessageSchemas: {
10254
10505
  }[] | undefined;
10255
10506
  currentMode?: string | undefined;
10256
10507
  features?: Record<string, boolean> | undefined;
10508
+ mcpServers?: {
10509
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10510
+ name: string;
10511
+ error?: string | undefined;
10512
+ toolCount?: number | undefined;
10513
+ }[] | undefined;
10257
10514
  }[] | undefined;
10258
10515
  }, {
10259
10516
  enabled: boolean;
@@ -10302,6 +10559,12 @@ export declare const protocolMessageSchemas: {
10302
10559
  }[] | undefined;
10303
10560
  currentMode?: string | undefined;
10304
10561
  features?: Record<string, boolean> | undefined;
10562
+ mcpServers?: {
10563
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10564
+ name: string;
10565
+ error?: string | undefined;
10566
+ toolCount?: number | undefined;
10567
+ }[] | undefined;
10305
10568
  }[] | undefined;
10306
10569
  supportsSessionList?: boolean | undefined;
10307
10570
  supportsSessionLoad?: boolean | undefined;
@@ -10334,7 +10597,7 @@ export declare const protocolMessageSchemas: {
10334
10597
  createdAt: z.ZodOptional<z.ZodNumber>;
10335
10598
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
10336
10599
  }, "strip", z.ZodTypeAny, {
10337
- status: "running" | "pending" | "completed" | "failed";
10600
+ status: "running" | "pending" | "failed" | "completed";
10338
10601
  name: string;
10339
10602
  id: string;
10340
10603
  createdAt?: number | undefined;
@@ -10343,7 +10606,7 @@ export declare const protocolMessageSchemas: {
10343
10606
  }, {
10344
10607
  name: string;
10345
10608
  id: string;
10346
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10609
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
10347
10610
  createdAt?: number | undefined;
10348
10611
  input?: string | undefined;
10349
10612
  output?: string | undefined;
@@ -10399,7 +10662,7 @@ export declare const protocolMessageSchemas: {
10399
10662
  isStreaming?: boolean | undefined;
10400
10663
  }[];
10401
10664
  toolCalls: {
10402
- status: "running" | "pending" | "completed" | "failed";
10665
+ status: "running" | "pending" | "failed" | "completed";
10403
10666
  name: string;
10404
10667
  id: string;
10405
10668
  createdAt?: number | undefined;
@@ -10469,6 +10732,12 @@ export declare const protocolMessageSchemas: {
10469
10732
  }[] | undefined;
10470
10733
  currentMode?: string | undefined;
10471
10734
  features?: Record<string, boolean> | undefined;
10735
+ mcpServers?: {
10736
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10737
+ name: string;
10738
+ error?: string | undefined;
10739
+ toolCount?: number | undefined;
10740
+ }[] | undefined;
10472
10741
  }[] | undefined;
10473
10742
  } | undefined;
10474
10743
  }, {
@@ -10522,6 +10791,12 @@ export declare const protocolMessageSchemas: {
10522
10791
  }[] | undefined;
10523
10792
  currentMode?: string | undefined;
10524
10793
  features?: Record<string, boolean> | undefined;
10794
+ mcpServers?: {
10795
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10796
+ name: string;
10797
+ error?: string | undefined;
10798
+ toolCount?: number | undefined;
10799
+ }[] | undefined;
10525
10800
  }[] | undefined;
10526
10801
  supportsSessionList?: boolean | undefined;
10527
10802
  supportsSessionLoad?: boolean | undefined;
@@ -10537,7 +10812,7 @@ export declare const protocolMessageSchemas: {
10537
10812
  toolCalls?: {
10538
10813
  name: string;
10539
10814
  id: string;
10540
- status?: "running" | "pending" | "completed" | "failed" | undefined;
10815
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
10541
10816
  createdAt?: number | undefined;
10542
10817
  input?: string | undefined;
10543
10818
  output?: string | undefined;
@@ -10636,6 +10911,22 @@ export declare const protocolMessageSchemas: {
10636
10911
  }>, "many">>;
10637
10912
  currentMode: z.ZodOptional<z.ZodString>;
10638
10913
  features: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodBoolean>>;
10914
+ mcpServers: z.ZodOptional<z.ZodArray<z.ZodObject<{
10915
+ name: z.ZodString;
10916
+ status: z.ZodEnum<["pending", "connecting", "connected", "failed", "needs_auth", "disabled"]>;
10917
+ error: z.ZodOptional<z.ZodString>;
10918
+ toolCount: z.ZodOptional<z.ZodNumber>;
10919
+ }, "strip", z.ZodTypeAny, {
10920
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10921
+ name: string;
10922
+ error?: string | undefined;
10923
+ toolCount?: number | undefined;
10924
+ }, {
10925
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10926
+ name: string;
10927
+ error?: string | undefined;
10928
+ toolCount?: number | undefined;
10929
+ }>, "many">>;
10639
10930
  }, "strip", z.ZodTypeAny, {
10640
10931
  enabled: boolean;
10641
10932
  id: "custom" | "claude" | "codex";
@@ -10673,6 +10964,12 @@ export declare const protocolMessageSchemas: {
10673
10964
  }[] | undefined;
10674
10965
  currentMode?: string | undefined;
10675
10966
  features?: Record<string, boolean> | undefined;
10967
+ mcpServers?: {
10968
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
10969
+ name: string;
10970
+ error?: string | undefined;
10971
+ toolCount?: number | undefined;
10972
+ }[] | undefined;
10676
10973
  }, {
10677
10974
  enabled: boolean;
10678
10975
  id: "custom" | "claude" | "codex";
@@ -10710,6 +11007,12 @@ export declare const protocolMessageSchemas: {
10710
11007
  }[] | undefined;
10711
11008
  currentMode?: string | undefined;
10712
11009
  features?: Record<string, boolean> | undefined;
11010
+ mcpServers?: {
11011
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
11012
+ name: string;
11013
+ error?: string | undefined;
11014
+ toolCount?: number | undefined;
11015
+ }[] | undefined;
10713
11016
  }>, "many">>;
10714
11017
  protocolVersion: z.ZodOptional<z.ZodNumber>;
10715
11018
  error: z.ZodOptional<z.ZodString>;
@@ -10773,6 +11076,12 @@ export declare const protocolMessageSchemas: {
10773
11076
  }[] | undefined;
10774
11077
  currentMode?: string | undefined;
10775
11078
  features?: Record<string, boolean> | undefined;
11079
+ mcpServers?: {
11080
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
11081
+ name: string;
11082
+ error?: string | undefined;
11083
+ toolCount?: number | undefined;
11084
+ }[] | undefined;
10776
11085
  }[] | undefined;
10777
11086
  }, {
10778
11087
  enabled: boolean;
@@ -10821,6 +11130,12 @@ export declare const protocolMessageSchemas: {
10821
11130
  }[] | undefined;
10822
11131
  currentMode?: string | undefined;
10823
11132
  features?: Record<string, boolean> | undefined;
11133
+ mcpServers?: {
11134
+ status: "pending" | "connecting" | "connected" | "failed" | "needs_auth" | "disabled";
11135
+ name: string;
11136
+ error?: string | undefined;
11137
+ toolCount?: number | undefined;
11138
+ }[] | undefined;
10824
11139
  }[] | undefined;
10825
11140
  supportsSessionList?: boolean | undefined;
10826
11141
  supportsSessionLoad?: boolean | undefined;
@@ -10837,6 +11152,8 @@ export declare const protocolMessageSchemas: {
10837
11152
  permissionMode: z.ZodOptional<z.ZodEnum<["read_only", "workspace_write", "full_access"]>>;
10838
11153
  collaborationMode: z.ZodOptional<z.ZodEnum<["default", "plan"]>>;
10839
11154
  title: z.ZodOptional<z.ZodString>;
11155
+ forkFromConversationId: z.ZodOptional<z.ZodString>;
11156
+ forkFromTurnId: z.ZodOptional<z.ZodString>;
10840
11157
  }, "strip", z.ZodTypeAny, {
10841
11158
  conversationId?: string | undefined;
10842
11159
  agentSessionId?: string | undefined;
@@ -10847,6 +11164,8 @@ export declare const protocolMessageSchemas: {
10847
11164
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
10848
11165
  permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
10849
11166
  collaborationMode?: "plan" | "default" | undefined;
11167
+ forkFromConversationId?: string | undefined;
11168
+ forkFromTurnId?: string | undefined;
10850
11169
  }, {
10851
11170
  conversationId?: string | undefined;
10852
11171
  agentSessionId?: string | undefined;
@@ -10857,6 +11176,8 @@ export declare const protocolMessageSchemas: {
10857
11176
  reasoningEffort?: "none" | "minimal" | "low" | "medium" | "high" | "xhigh" | undefined;
10858
11177
  permissionMode?: "read_only" | "workspace_write" | "full_access" | undefined;
10859
11178
  collaborationMode?: "plan" | "default" | undefined;
11179
+ forkFromConversationId?: string | undefined;
11180
+ forkFromTurnId?: string | undefined;
10860
11181
  }>;
10861
11182
  readonly "agent.v2.conversation.opened": z.ZodObject<{
10862
11183
  conversation: z.ZodObject<{
@@ -10983,7 +11304,7 @@ export declare const protocolMessageSchemas: {
10983
11304
  createdAt: z.ZodOptional<z.ZodNumber>;
10984
11305
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
10985
11306
  }, "strip", z.ZodTypeAny, {
10986
- status: "running" | "pending" | "completed" | "failed";
11307
+ status: "running" | "pending" | "failed" | "completed";
10987
11308
  name: string;
10988
11309
  id: string;
10989
11310
  createdAt?: number | undefined;
@@ -10992,7 +11313,7 @@ export declare const protocolMessageSchemas: {
10992
11313
  }, {
10993
11314
  name: string;
10994
11315
  id: string;
10995
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11316
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
10996
11317
  createdAt?: number | undefined;
10997
11318
  input?: string | undefined;
10998
11319
  output?: string | undefined;
@@ -11004,13 +11325,13 @@ export declare const protocolMessageSchemas: {
11004
11325
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
11005
11326
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
11006
11327
  }, "strip", z.ZodTypeAny, {
11007
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11328
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11008
11329
  cwd?: string | undefined;
11009
11330
  exitCode?: number | null | undefined;
11010
11331
  output?: string | undefined;
11011
11332
  command?: string | undefined;
11012
11333
  }, {
11013
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11334
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11014
11335
  cwd?: string | undefined;
11015
11336
  exitCode?: number | null | undefined;
11016
11337
  output?: string | undefined;
@@ -11044,7 +11365,7 @@ export declare const protocolMessageSchemas: {
11044
11365
  added?: number | undefined;
11045
11366
  removed?: number | undefined;
11046
11367
  }[];
11047
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11368
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11048
11369
  summary?: string | undefined;
11049
11370
  diff?: string | undefined;
11050
11371
  changeSetId?: string | undefined;
@@ -11055,7 +11376,7 @@ export declare const protocolMessageSchemas: {
11055
11376
  added?: number | undefined;
11056
11377
  removed?: number | undefined;
11057
11378
  }[] | undefined;
11058
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11379
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11059
11380
  summary?: string | undefined;
11060
11381
  diff?: string | undefined;
11061
11382
  changeSetId?: string | undefined;
@@ -11299,7 +11620,7 @@ export declare const protocolMessageSchemas: {
11299
11620
  }[] | undefined;
11300
11621
  isStreaming?: boolean | undefined;
11301
11622
  toolCall?: {
11302
- status: "running" | "pending" | "completed" | "failed";
11623
+ status: "running" | "pending" | "failed" | "completed";
11303
11624
  name: string;
11304
11625
  id: string;
11305
11626
  createdAt?: number | undefined;
@@ -11321,7 +11642,7 @@ export declare const protocolMessageSchemas: {
11321
11642
  turnId?: string | undefined;
11322
11643
  itemId?: string | undefined;
11323
11644
  commandExecution?: {
11324
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11645
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11325
11646
  cwd?: string | undefined;
11326
11647
  exitCode?: number | null | undefined;
11327
11648
  output?: string | undefined;
@@ -11334,7 +11655,7 @@ export declare const protocolMessageSchemas: {
11334
11655
  added?: number | undefined;
11335
11656
  removed?: number | undefined;
11336
11657
  }[];
11337
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11658
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11338
11659
  summary?: string | undefined;
11339
11660
  diff?: string | undefined;
11340
11661
  changeSetId?: string | undefined;
@@ -11401,7 +11722,7 @@ export declare const protocolMessageSchemas: {
11401
11722
  toolCall?: {
11402
11723
  name: string;
11403
11724
  id: string;
11404
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11725
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11405
11726
  createdAt?: number | undefined;
11406
11727
  input?: string | undefined;
11407
11728
  output?: string | undefined;
@@ -11421,7 +11742,7 @@ export declare const protocolMessageSchemas: {
11421
11742
  turnId?: string | undefined;
11422
11743
  itemId?: string | undefined;
11423
11744
  commandExecution?: {
11424
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11745
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11425
11746
  cwd?: string | undefined;
11426
11747
  exitCode?: number | null | undefined;
11427
11748
  output?: string | undefined;
@@ -11434,7 +11755,7 @@ export declare const protocolMessageSchemas: {
11434
11755
  added?: number | undefined;
11435
11756
  removed?: number | undefined;
11436
11757
  }[] | undefined;
11437
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11758
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11438
11759
  summary?: string | undefined;
11439
11760
  diff?: string | undefined;
11440
11761
  changeSetId?: string | undefined;
@@ -11527,7 +11848,7 @@ export declare const protocolMessageSchemas: {
11527
11848
  }[] | undefined;
11528
11849
  isStreaming?: boolean | undefined;
11529
11850
  toolCall?: {
11530
- status: "running" | "pending" | "completed" | "failed";
11851
+ status: "running" | "pending" | "failed" | "completed";
11531
11852
  name: string;
11532
11853
  id: string;
11533
11854
  createdAt?: number | undefined;
@@ -11549,7 +11870,7 @@ export declare const protocolMessageSchemas: {
11549
11870
  turnId?: string | undefined;
11550
11871
  itemId?: string | undefined;
11551
11872
  commandExecution?: {
11552
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11873
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11553
11874
  cwd?: string | undefined;
11554
11875
  exitCode?: number | null | undefined;
11555
11876
  output?: string | undefined;
@@ -11562,7 +11883,7 @@ export declare const protocolMessageSchemas: {
11562
11883
  added?: number | undefined;
11563
11884
  removed?: number | undefined;
11564
11885
  }[];
11565
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11886
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11566
11887
  summary?: string | undefined;
11567
11888
  diff?: string | undefined;
11568
11889
  changeSetId?: string | undefined;
@@ -11657,7 +11978,7 @@ export declare const protocolMessageSchemas: {
11657
11978
  toolCall?: {
11658
11979
  name: string;
11659
11980
  id: string;
11660
- status?: "running" | "pending" | "completed" | "failed" | undefined;
11981
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11661
11982
  createdAt?: number | undefined;
11662
11983
  input?: string | undefined;
11663
11984
  output?: string | undefined;
@@ -11677,7 +11998,7 @@ export declare const protocolMessageSchemas: {
11677
11998
  turnId?: string | undefined;
11678
11999
  itemId?: string | undefined;
11679
12000
  commandExecution?: {
11680
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12001
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11681
12002
  cwd?: string | undefined;
11682
12003
  exitCode?: number | null | undefined;
11683
12004
  output?: string | undefined;
@@ -11690,7 +12011,7 @@ export declare const protocolMessageSchemas: {
11690
12011
  added?: number | undefined;
11691
12012
  removed?: number | undefined;
11692
12013
  }[] | undefined;
11693
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12014
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
11694
12015
  summary?: string | undefined;
11695
12016
  diff?: string | undefined;
11696
12017
  changeSetId?: string | undefined;
@@ -12065,7 +12386,7 @@ export declare const protocolMessageSchemas: {
12065
12386
  createdAt: z.ZodOptional<z.ZodNumber>;
12066
12387
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
12067
12388
  }, "strip", z.ZodTypeAny, {
12068
- status: "running" | "pending" | "completed" | "failed";
12389
+ status: "running" | "pending" | "failed" | "completed";
12069
12390
  name: string;
12070
12391
  id: string;
12071
12392
  createdAt?: number | undefined;
@@ -12074,7 +12395,7 @@ export declare const protocolMessageSchemas: {
12074
12395
  }, {
12075
12396
  name: string;
12076
12397
  id: string;
12077
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12398
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12078
12399
  createdAt?: number | undefined;
12079
12400
  input?: string | undefined;
12080
12401
  output?: string | undefined;
@@ -12086,13 +12407,13 @@ export declare const protocolMessageSchemas: {
12086
12407
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12087
12408
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
12088
12409
  }, "strip", z.ZodTypeAny, {
12089
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12410
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12090
12411
  cwd?: string | undefined;
12091
12412
  exitCode?: number | null | undefined;
12092
12413
  output?: string | undefined;
12093
12414
  command?: string | undefined;
12094
12415
  }, {
12095
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12416
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12096
12417
  cwd?: string | undefined;
12097
12418
  exitCode?: number | null | undefined;
12098
12419
  output?: string | undefined;
@@ -12126,7 +12447,7 @@ export declare const protocolMessageSchemas: {
12126
12447
  added?: number | undefined;
12127
12448
  removed?: number | undefined;
12128
12449
  }[];
12129
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12450
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12130
12451
  summary?: string | undefined;
12131
12452
  diff?: string | undefined;
12132
12453
  changeSetId?: string | undefined;
@@ -12137,7 +12458,7 @@ export declare const protocolMessageSchemas: {
12137
12458
  added?: number | undefined;
12138
12459
  removed?: number | undefined;
12139
12460
  }[] | undefined;
12140
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12461
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12141
12462
  summary?: string | undefined;
12142
12463
  diff?: string | undefined;
12143
12464
  changeSetId?: string | undefined;
@@ -12381,7 +12702,7 @@ export declare const protocolMessageSchemas: {
12381
12702
  }[] | undefined;
12382
12703
  isStreaming?: boolean | undefined;
12383
12704
  toolCall?: {
12384
- status: "running" | "pending" | "completed" | "failed";
12705
+ status: "running" | "pending" | "failed" | "completed";
12385
12706
  name: string;
12386
12707
  id: string;
12387
12708
  createdAt?: number | undefined;
@@ -12403,7 +12724,7 @@ export declare const protocolMessageSchemas: {
12403
12724
  turnId?: string | undefined;
12404
12725
  itemId?: string | undefined;
12405
12726
  commandExecution?: {
12406
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12727
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12407
12728
  cwd?: string | undefined;
12408
12729
  exitCode?: number | null | undefined;
12409
12730
  output?: string | undefined;
@@ -12416,7 +12737,7 @@ export declare const protocolMessageSchemas: {
12416
12737
  added?: number | undefined;
12417
12738
  removed?: number | undefined;
12418
12739
  }[];
12419
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12740
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12420
12741
  summary?: string | undefined;
12421
12742
  diff?: string | undefined;
12422
12743
  changeSetId?: string | undefined;
@@ -12483,7 +12804,7 @@ export declare const protocolMessageSchemas: {
12483
12804
  toolCall?: {
12484
12805
  name: string;
12485
12806
  id: string;
12486
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12807
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12487
12808
  createdAt?: number | undefined;
12488
12809
  input?: string | undefined;
12489
12810
  output?: string | undefined;
@@ -12503,7 +12824,7 @@ export declare const protocolMessageSchemas: {
12503
12824
  turnId?: string | undefined;
12504
12825
  itemId?: string | undefined;
12505
12826
  commandExecution?: {
12506
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12827
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12507
12828
  cwd?: string | undefined;
12508
12829
  exitCode?: number | null | undefined;
12509
12830
  output?: string | undefined;
@@ -12516,7 +12837,7 @@ export declare const protocolMessageSchemas: {
12516
12837
  added?: number | undefined;
12517
12838
  removed?: number | undefined;
12518
12839
  }[] | undefined;
12519
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12840
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12520
12841
  summary?: string | undefined;
12521
12842
  diff?: string | undefined;
12522
12843
  changeSetId?: string | undefined;
@@ -12593,7 +12914,7 @@ export declare const protocolMessageSchemas: {
12593
12914
  }[] | undefined;
12594
12915
  isStreaming?: boolean | undefined;
12595
12916
  toolCall?: {
12596
- status: "running" | "pending" | "completed" | "failed";
12917
+ status: "running" | "pending" | "failed" | "completed";
12597
12918
  name: string;
12598
12919
  id: string;
12599
12920
  createdAt?: number | undefined;
@@ -12615,7 +12936,7 @@ export declare const protocolMessageSchemas: {
12615
12936
  turnId?: string | undefined;
12616
12937
  itemId?: string | undefined;
12617
12938
  commandExecution?: {
12618
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12939
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12619
12940
  cwd?: string | undefined;
12620
12941
  exitCode?: number | null | undefined;
12621
12942
  output?: string | undefined;
@@ -12628,7 +12949,7 @@ export declare const protocolMessageSchemas: {
12628
12949
  added?: number | undefined;
12629
12950
  removed?: number | undefined;
12630
12951
  }[];
12631
- status?: "running" | "pending" | "completed" | "failed" | undefined;
12952
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12632
12953
  summary?: string | undefined;
12633
12954
  diff?: string | undefined;
12634
12955
  changeSetId?: string | undefined;
@@ -12707,7 +13028,7 @@ export declare const protocolMessageSchemas: {
12707
13028
  toolCall?: {
12708
13029
  name: string;
12709
13030
  id: string;
12710
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13031
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12711
13032
  createdAt?: number | undefined;
12712
13033
  input?: string | undefined;
12713
13034
  output?: string | undefined;
@@ -12727,7 +13048,7 @@ export declare const protocolMessageSchemas: {
12727
13048
  turnId?: string | undefined;
12728
13049
  itemId?: string | undefined;
12729
13050
  commandExecution?: {
12730
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13051
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12731
13052
  cwd?: string | undefined;
12732
13053
  exitCode?: number | null | undefined;
12733
13054
  output?: string | undefined;
@@ -12740,7 +13061,7 @@ export declare const protocolMessageSchemas: {
12740
13061
  added?: number | undefined;
12741
13062
  removed?: number | undefined;
12742
13063
  }[] | undefined;
12743
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13064
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12744
13065
  summary?: string | undefined;
12745
13066
  diff?: string | undefined;
12746
13067
  changeSetId?: string | undefined;
@@ -12930,7 +13251,7 @@ export declare const protocolMessageSchemas: {
12930
13251
  createdAt: z.ZodOptional<z.ZodNumber>;
12931
13252
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
12932
13253
  }, "strip", z.ZodTypeAny, {
12933
- status: "running" | "pending" | "completed" | "failed";
13254
+ status: "running" | "pending" | "failed" | "completed";
12934
13255
  name: string;
12935
13256
  id: string;
12936
13257
  createdAt?: number | undefined;
@@ -12939,7 +13260,7 @@ export declare const protocolMessageSchemas: {
12939
13260
  }, {
12940
13261
  name: string;
12941
13262
  id: string;
12942
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13263
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12943
13264
  createdAt?: number | undefined;
12944
13265
  input?: string | undefined;
12945
13266
  output?: string | undefined;
@@ -12951,13 +13272,13 @@ export declare const protocolMessageSchemas: {
12951
13272
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
12952
13273
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
12953
13274
  }, "strip", z.ZodTypeAny, {
12954
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13275
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12955
13276
  cwd?: string | undefined;
12956
13277
  exitCode?: number | null | undefined;
12957
13278
  output?: string | undefined;
12958
13279
  command?: string | undefined;
12959
13280
  }, {
12960
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13281
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12961
13282
  cwd?: string | undefined;
12962
13283
  exitCode?: number | null | undefined;
12963
13284
  output?: string | undefined;
@@ -12991,7 +13312,7 @@ export declare const protocolMessageSchemas: {
12991
13312
  added?: number | undefined;
12992
13313
  removed?: number | undefined;
12993
13314
  }[];
12994
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13315
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
12995
13316
  summary?: string | undefined;
12996
13317
  diff?: string | undefined;
12997
13318
  changeSetId?: string | undefined;
@@ -13002,7 +13323,7 @@ export declare const protocolMessageSchemas: {
13002
13323
  added?: number | undefined;
13003
13324
  removed?: number | undefined;
13004
13325
  }[] | undefined;
13005
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13326
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13006
13327
  summary?: string | undefined;
13007
13328
  diff?: string | undefined;
13008
13329
  changeSetId?: string | undefined;
@@ -13246,7 +13567,7 @@ export declare const protocolMessageSchemas: {
13246
13567
  }[] | undefined;
13247
13568
  isStreaming?: boolean | undefined;
13248
13569
  toolCall?: {
13249
- status: "running" | "pending" | "completed" | "failed";
13570
+ status: "running" | "pending" | "failed" | "completed";
13250
13571
  name: string;
13251
13572
  id: string;
13252
13573
  createdAt?: number | undefined;
@@ -13268,7 +13589,7 @@ export declare const protocolMessageSchemas: {
13268
13589
  turnId?: string | undefined;
13269
13590
  itemId?: string | undefined;
13270
13591
  commandExecution?: {
13271
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13592
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13272
13593
  cwd?: string | undefined;
13273
13594
  exitCode?: number | null | undefined;
13274
13595
  output?: string | undefined;
@@ -13281,7 +13602,7 @@ export declare const protocolMessageSchemas: {
13281
13602
  added?: number | undefined;
13282
13603
  removed?: number | undefined;
13283
13604
  }[];
13284
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13605
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13285
13606
  summary?: string | undefined;
13286
13607
  diff?: string | undefined;
13287
13608
  changeSetId?: string | undefined;
@@ -13348,7 +13669,7 @@ export declare const protocolMessageSchemas: {
13348
13669
  toolCall?: {
13349
13670
  name: string;
13350
13671
  id: string;
13351
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13672
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13352
13673
  createdAt?: number | undefined;
13353
13674
  input?: string | undefined;
13354
13675
  output?: string | undefined;
@@ -13368,7 +13689,7 @@ export declare const protocolMessageSchemas: {
13368
13689
  turnId?: string | undefined;
13369
13690
  itemId?: string | undefined;
13370
13691
  commandExecution?: {
13371
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13692
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13372
13693
  cwd?: string | undefined;
13373
13694
  exitCode?: number | null | undefined;
13374
13695
  output?: string | undefined;
@@ -13381,7 +13702,7 @@ export declare const protocolMessageSchemas: {
13381
13702
  added?: number | undefined;
13382
13703
  removed?: number | undefined;
13383
13704
  }[] | undefined;
13384
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13705
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13385
13706
  summary?: string | undefined;
13386
13707
  diff?: string | undefined;
13387
13708
  changeSetId?: string | undefined;
@@ -13474,7 +13795,7 @@ export declare const protocolMessageSchemas: {
13474
13795
  }[] | undefined;
13475
13796
  isStreaming?: boolean | undefined;
13476
13797
  toolCall?: {
13477
- status: "running" | "pending" | "completed" | "failed";
13798
+ status: "running" | "pending" | "failed" | "completed";
13478
13799
  name: string;
13479
13800
  id: string;
13480
13801
  createdAt?: number | undefined;
@@ -13496,7 +13817,7 @@ export declare const protocolMessageSchemas: {
13496
13817
  turnId?: string | undefined;
13497
13818
  itemId?: string | undefined;
13498
13819
  commandExecution?: {
13499
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13820
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13500
13821
  cwd?: string | undefined;
13501
13822
  exitCode?: number | null | undefined;
13502
13823
  output?: string | undefined;
@@ -13509,7 +13830,7 @@ export declare const protocolMessageSchemas: {
13509
13830
  added?: number | undefined;
13510
13831
  removed?: number | undefined;
13511
13832
  }[];
13512
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13833
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13513
13834
  summary?: string | undefined;
13514
13835
  diff?: string | undefined;
13515
13836
  changeSetId?: string | undefined;
@@ -13607,7 +13928,7 @@ export declare const protocolMessageSchemas: {
13607
13928
  toolCall?: {
13608
13929
  name: string;
13609
13930
  id: string;
13610
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13931
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13611
13932
  createdAt?: number | undefined;
13612
13933
  input?: string | undefined;
13613
13934
  output?: string | undefined;
@@ -13627,7 +13948,7 @@ export declare const protocolMessageSchemas: {
13627
13948
  turnId?: string | undefined;
13628
13949
  itemId?: string | undefined;
13629
13950
  commandExecution?: {
13630
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13951
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13631
13952
  cwd?: string | undefined;
13632
13953
  exitCode?: number | null | undefined;
13633
13954
  output?: string | undefined;
@@ -13640,7 +13961,7 @@ export declare const protocolMessageSchemas: {
13640
13961
  added?: number | undefined;
13641
13962
  removed?: number | undefined;
13642
13963
  }[] | undefined;
13643
- status?: "running" | "pending" | "completed" | "failed" | undefined;
13964
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13644
13965
  summary?: string | undefined;
13645
13966
  diff?: string | undefined;
13646
13967
  changeSetId?: string | undefined;
@@ -13810,7 +14131,7 @@ export declare const protocolMessageSchemas: {
13810
14131
  createdAt: z.ZodOptional<z.ZodNumber>;
13811
14132
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
13812
14133
  }, "strip", z.ZodTypeAny, {
13813
- status: "running" | "pending" | "completed" | "failed";
14134
+ status: "running" | "pending" | "failed" | "completed";
13814
14135
  name: string;
13815
14136
  id: string;
13816
14137
  createdAt?: number | undefined;
@@ -13819,7 +14140,7 @@ export declare const protocolMessageSchemas: {
13819
14140
  }, {
13820
14141
  name: string;
13821
14142
  id: string;
13822
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14143
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13823
14144
  createdAt?: number | undefined;
13824
14145
  input?: string | undefined;
13825
14146
  output?: string | undefined;
@@ -13831,13 +14152,13 @@ export declare const protocolMessageSchemas: {
13831
14152
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
13832
14153
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
13833
14154
  }, "strip", z.ZodTypeAny, {
13834
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14155
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13835
14156
  cwd?: string | undefined;
13836
14157
  exitCode?: number | null | undefined;
13837
14158
  output?: string | undefined;
13838
14159
  command?: string | undefined;
13839
14160
  }, {
13840
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14161
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13841
14162
  cwd?: string | undefined;
13842
14163
  exitCode?: number | null | undefined;
13843
14164
  output?: string | undefined;
@@ -13871,7 +14192,7 @@ export declare const protocolMessageSchemas: {
13871
14192
  added?: number | undefined;
13872
14193
  removed?: number | undefined;
13873
14194
  }[];
13874
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14195
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13875
14196
  summary?: string | undefined;
13876
14197
  diff?: string | undefined;
13877
14198
  changeSetId?: string | undefined;
@@ -13882,7 +14203,7 @@ export declare const protocolMessageSchemas: {
13882
14203
  added?: number | undefined;
13883
14204
  removed?: number | undefined;
13884
14205
  }[] | undefined;
13885
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14206
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
13886
14207
  summary?: string | undefined;
13887
14208
  diff?: string | undefined;
13888
14209
  changeSetId?: string | undefined;
@@ -14126,7 +14447,7 @@ export declare const protocolMessageSchemas: {
14126
14447
  }[] | undefined;
14127
14448
  isStreaming?: boolean | undefined;
14128
14449
  toolCall?: {
14129
- status: "running" | "pending" | "completed" | "failed";
14450
+ status: "running" | "pending" | "failed" | "completed";
14130
14451
  name: string;
14131
14452
  id: string;
14132
14453
  createdAt?: number | undefined;
@@ -14148,7 +14469,7 @@ export declare const protocolMessageSchemas: {
14148
14469
  turnId?: string | undefined;
14149
14470
  itemId?: string | undefined;
14150
14471
  commandExecution?: {
14151
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14472
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14152
14473
  cwd?: string | undefined;
14153
14474
  exitCode?: number | null | undefined;
14154
14475
  output?: string | undefined;
@@ -14161,7 +14482,7 @@ export declare const protocolMessageSchemas: {
14161
14482
  added?: number | undefined;
14162
14483
  removed?: number | undefined;
14163
14484
  }[];
14164
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14485
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14165
14486
  summary?: string | undefined;
14166
14487
  diff?: string | undefined;
14167
14488
  changeSetId?: string | undefined;
@@ -14228,7 +14549,7 @@ export declare const protocolMessageSchemas: {
14228
14549
  toolCall?: {
14229
14550
  name: string;
14230
14551
  id: string;
14231
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14552
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14232
14553
  createdAt?: number | undefined;
14233
14554
  input?: string | undefined;
14234
14555
  output?: string | undefined;
@@ -14248,7 +14569,7 @@ export declare const protocolMessageSchemas: {
14248
14569
  turnId?: string | undefined;
14249
14570
  itemId?: string | undefined;
14250
14571
  commandExecution?: {
14251
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14572
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14252
14573
  cwd?: string | undefined;
14253
14574
  exitCode?: number | null | undefined;
14254
14575
  output?: string | undefined;
@@ -14261,7 +14582,7 @@ export declare const protocolMessageSchemas: {
14261
14582
  added?: number | undefined;
14262
14583
  removed?: number | undefined;
14263
14584
  }[] | undefined;
14264
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14585
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14265
14586
  summary?: string | undefined;
14266
14587
  diff?: string | undefined;
14267
14588
  changeSetId?: string | undefined;
@@ -14335,7 +14656,7 @@ export declare const protocolMessageSchemas: {
14335
14656
  createdAt: z.ZodOptional<z.ZodNumber>;
14336
14657
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
14337
14658
  }, "strip", z.ZodTypeAny, {
14338
- status: "running" | "pending" | "completed" | "failed";
14659
+ status: "running" | "pending" | "failed" | "completed";
14339
14660
  name: string;
14340
14661
  id: string;
14341
14662
  createdAt?: number | undefined;
@@ -14344,7 +14665,7 @@ export declare const protocolMessageSchemas: {
14344
14665
  }, {
14345
14666
  name: string;
14346
14667
  id: string;
14347
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14668
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14348
14669
  createdAt?: number | undefined;
14349
14670
  input?: string | undefined;
14350
14671
  output?: string | undefined;
@@ -14356,13 +14677,13 @@ export declare const protocolMessageSchemas: {
14356
14677
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
14357
14678
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
14358
14679
  }, "strip", z.ZodTypeAny, {
14359
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14680
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14360
14681
  cwd?: string | undefined;
14361
14682
  exitCode?: number | null | undefined;
14362
14683
  output?: string | undefined;
14363
14684
  command?: string | undefined;
14364
14685
  }, {
14365
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14686
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14366
14687
  cwd?: string | undefined;
14367
14688
  exitCode?: number | null | undefined;
14368
14689
  output?: string | undefined;
@@ -14396,7 +14717,7 @@ export declare const protocolMessageSchemas: {
14396
14717
  added?: number | undefined;
14397
14718
  removed?: number | undefined;
14398
14719
  }[];
14399
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14720
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14400
14721
  summary?: string | undefined;
14401
14722
  diff?: string | undefined;
14402
14723
  changeSetId?: string | undefined;
@@ -14407,7 +14728,7 @@ export declare const protocolMessageSchemas: {
14407
14728
  added?: number | undefined;
14408
14729
  removed?: number | undefined;
14409
14730
  }[] | undefined;
14410
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14731
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14411
14732
  summary?: string | undefined;
14412
14733
  diff?: string | undefined;
14413
14734
  changeSetId?: string | undefined;
@@ -14646,7 +14967,7 @@ export declare const protocolMessageSchemas: {
14646
14967
  }[] | undefined;
14647
14968
  isStreaming?: boolean | undefined;
14648
14969
  toolCall?: {
14649
- status: "running" | "pending" | "completed" | "failed";
14970
+ status: "running" | "pending" | "failed" | "completed";
14650
14971
  name: string;
14651
14972
  id: string;
14652
14973
  createdAt?: number | undefined;
@@ -14666,7 +14987,7 @@ export declare const protocolMessageSchemas: {
14666
14987
  context?: string | undefined;
14667
14988
  } | undefined;
14668
14989
  commandExecution?: {
14669
- status?: "running" | "pending" | "completed" | "failed" | undefined;
14990
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14670
14991
  cwd?: string | undefined;
14671
14992
  exitCode?: number | null | undefined;
14672
14993
  output?: string | undefined;
@@ -14679,7 +15000,7 @@ export declare const protocolMessageSchemas: {
14679
15000
  added?: number | undefined;
14680
15001
  removed?: number | undefined;
14681
15002
  }[];
14682
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15003
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14683
15004
  summary?: string | undefined;
14684
15005
  diff?: string | undefined;
14685
15006
  changeSetId?: string | undefined;
@@ -14744,7 +15065,7 @@ export declare const protocolMessageSchemas: {
14744
15065
  toolCall?: {
14745
15066
  name: string;
14746
15067
  id: string;
14747
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15068
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14748
15069
  createdAt?: number | undefined;
14749
15070
  input?: string | undefined;
14750
15071
  output?: string | undefined;
@@ -14762,7 +15083,7 @@ export declare const protocolMessageSchemas: {
14762
15083
  context?: string | undefined;
14763
15084
  } | undefined;
14764
15085
  commandExecution?: {
14765
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15086
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14766
15087
  cwd?: string | undefined;
14767
15088
  exitCode?: number | null | undefined;
14768
15089
  output?: string | undefined;
@@ -14775,7 +15096,7 @@ export declare const protocolMessageSchemas: {
14775
15096
  added?: number | undefined;
14776
15097
  removed?: number | undefined;
14777
15098
  }[] | undefined;
14778
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15099
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14779
15100
  summary?: string | undefined;
14780
15101
  diff?: string | undefined;
14781
15102
  changeSetId?: string | undefined;
@@ -14869,7 +15190,7 @@ export declare const protocolMessageSchemas: {
14869
15190
  }[] | undefined;
14870
15191
  isStreaming?: boolean | undefined;
14871
15192
  toolCall?: {
14872
- status: "running" | "pending" | "completed" | "failed";
15193
+ status: "running" | "pending" | "failed" | "completed";
14873
15194
  name: string;
14874
15195
  id: string;
14875
15196
  createdAt?: number | undefined;
@@ -14891,7 +15212,7 @@ export declare const protocolMessageSchemas: {
14891
15212
  turnId?: string | undefined;
14892
15213
  itemId?: string | undefined;
14893
15214
  commandExecution?: {
14894
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15215
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14895
15216
  cwd?: string | undefined;
14896
15217
  exitCode?: number | null | undefined;
14897
15218
  output?: string | undefined;
@@ -14904,7 +15225,7 @@ export declare const protocolMessageSchemas: {
14904
15225
  added?: number | undefined;
14905
15226
  removed?: number | undefined;
14906
15227
  }[];
14907
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15228
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14908
15229
  summary?: string | undefined;
14909
15230
  diff?: string | undefined;
14910
15231
  changeSetId?: string | undefined;
@@ -14967,7 +15288,7 @@ export declare const protocolMessageSchemas: {
14967
15288
  }[] | undefined;
14968
15289
  isStreaming?: boolean | undefined;
14969
15290
  toolCall?: {
14970
- status: "running" | "pending" | "completed" | "failed";
15291
+ status: "running" | "pending" | "failed" | "completed";
14971
15292
  name: string;
14972
15293
  id: string;
14973
15294
  createdAt?: number | undefined;
@@ -14987,7 +15308,7 @@ export declare const protocolMessageSchemas: {
14987
15308
  context?: string | undefined;
14988
15309
  } | undefined;
14989
15310
  commandExecution?: {
14990
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15311
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
14991
15312
  cwd?: string | undefined;
14992
15313
  exitCode?: number | null | undefined;
14993
15314
  output?: string | undefined;
@@ -15000,7 +15321,7 @@ export declare const protocolMessageSchemas: {
15000
15321
  added?: number | undefined;
15001
15322
  removed?: number | undefined;
15002
15323
  }[];
15003
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15324
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15004
15325
  summary?: string | undefined;
15005
15326
  diff?: string | undefined;
15006
15327
  changeSetId?: string | undefined;
@@ -15096,7 +15417,7 @@ export declare const protocolMessageSchemas: {
15096
15417
  toolCall?: {
15097
15418
  name: string;
15098
15419
  id: string;
15099
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15420
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15100
15421
  createdAt?: number | undefined;
15101
15422
  input?: string | undefined;
15102
15423
  output?: string | undefined;
@@ -15116,7 +15437,7 @@ export declare const protocolMessageSchemas: {
15116
15437
  turnId?: string | undefined;
15117
15438
  itemId?: string | undefined;
15118
15439
  commandExecution?: {
15119
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15440
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15120
15441
  cwd?: string | undefined;
15121
15442
  exitCode?: number | null | undefined;
15122
15443
  output?: string | undefined;
@@ -15129,7 +15450,7 @@ export declare const protocolMessageSchemas: {
15129
15450
  added?: number | undefined;
15130
15451
  removed?: number | undefined;
15131
15452
  }[] | undefined;
15132
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15453
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15133
15454
  summary?: string | undefined;
15134
15455
  diff?: string | undefined;
15135
15456
  changeSetId?: string | undefined;
@@ -15194,7 +15515,7 @@ export declare const protocolMessageSchemas: {
15194
15515
  toolCall?: {
15195
15516
  name: string;
15196
15517
  id: string;
15197
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15518
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15198
15519
  createdAt?: number | undefined;
15199
15520
  input?: string | undefined;
15200
15521
  output?: string | undefined;
@@ -15212,7 +15533,7 @@ export declare const protocolMessageSchemas: {
15212
15533
  context?: string | undefined;
15213
15534
  } | undefined;
15214
15535
  commandExecution?: {
15215
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15536
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15216
15537
  cwd?: string | undefined;
15217
15538
  exitCode?: number | null | undefined;
15218
15539
  output?: string | undefined;
@@ -15225,7 +15546,7 @@ export declare const protocolMessageSchemas: {
15225
15546
  added?: number | undefined;
15226
15547
  removed?: number | undefined;
15227
15548
  }[] | undefined;
15228
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15549
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15229
15550
  summary?: string | undefined;
15230
15551
  diff?: string | undefined;
15231
15552
  changeSetId?: string | undefined;
@@ -15337,7 +15658,7 @@ export declare const protocolMessageSchemas: {
15337
15658
  createdAt: z.ZodOptional<z.ZodNumber>;
15338
15659
  status: z.ZodDefault<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
15339
15660
  }, "strip", z.ZodTypeAny, {
15340
- status: "running" | "pending" | "completed" | "failed";
15661
+ status: "running" | "pending" | "failed" | "completed";
15341
15662
  name: string;
15342
15663
  id: string;
15343
15664
  createdAt?: number | undefined;
@@ -15346,7 +15667,7 @@ export declare const protocolMessageSchemas: {
15346
15667
  }, {
15347
15668
  name: string;
15348
15669
  id: string;
15349
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15670
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15350
15671
  createdAt?: number | undefined;
15351
15672
  input?: string | undefined;
15352
15673
  output?: string | undefined;
@@ -15358,13 +15679,13 @@ export declare const protocolMessageSchemas: {
15358
15679
  exitCode: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
15359
15680
  status: z.ZodOptional<z.ZodEnum<["pending", "running", "completed", "failed"]>>;
15360
15681
  }, "strip", z.ZodTypeAny, {
15361
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15682
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15362
15683
  cwd?: string | undefined;
15363
15684
  exitCode?: number | null | undefined;
15364
15685
  output?: string | undefined;
15365
15686
  command?: string | undefined;
15366
15687
  }, {
15367
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15688
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15368
15689
  cwd?: string | undefined;
15369
15690
  exitCode?: number | null | undefined;
15370
15691
  output?: string | undefined;
@@ -15398,7 +15719,7 @@ export declare const protocolMessageSchemas: {
15398
15719
  added?: number | undefined;
15399
15720
  removed?: number | undefined;
15400
15721
  }[];
15401
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15722
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15402
15723
  summary?: string | undefined;
15403
15724
  diff?: string | undefined;
15404
15725
  changeSetId?: string | undefined;
@@ -15409,7 +15730,7 @@ export declare const protocolMessageSchemas: {
15409
15730
  added?: number | undefined;
15410
15731
  removed?: number | undefined;
15411
15732
  }[] | undefined;
15412
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15733
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15413
15734
  summary?: string | undefined;
15414
15735
  diff?: string | undefined;
15415
15736
  changeSetId?: string | undefined;
@@ -15653,7 +15974,7 @@ export declare const protocolMessageSchemas: {
15653
15974
  }[] | undefined;
15654
15975
  isStreaming?: boolean | undefined;
15655
15976
  toolCall?: {
15656
- status: "running" | "pending" | "completed" | "failed";
15977
+ status: "running" | "pending" | "failed" | "completed";
15657
15978
  name: string;
15658
15979
  id: string;
15659
15980
  createdAt?: number | undefined;
@@ -15675,7 +15996,7 @@ export declare const protocolMessageSchemas: {
15675
15996
  turnId?: string | undefined;
15676
15997
  itemId?: string | undefined;
15677
15998
  commandExecution?: {
15678
- status?: "running" | "pending" | "completed" | "failed" | undefined;
15999
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15679
16000
  cwd?: string | undefined;
15680
16001
  exitCode?: number | null | undefined;
15681
16002
  output?: string | undefined;
@@ -15688,7 +16009,7 @@ export declare const protocolMessageSchemas: {
15688
16009
  added?: number | undefined;
15689
16010
  removed?: number | undefined;
15690
16011
  }[];
15691
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16012
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15692
16013
  summary?: string | undefined;
15693
16014
  diff?: string | undefined;
15694
16015
  changeSetId?: string | undefined;
@@ -15755,7 +16076,7 @@ export declare const protocolMessageSchemas: {
15755
16076
  toolCall?: {
15756
16077
  name: string;
15757
16078
  id: string;
15758
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16079
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15759
16080
  createdAt?: number | undefined;
15760
16081
  input?: string | undefined;
15761
16082
  output?: string | undefined;
@@ -15775,7 +16096,7 @@ export declare const protocolMessageSchemas: {
15775
16096
  turnId?: string | undefined;
15776
16097
  itemId?: string | undefined;
15777
16098
  commandExecution?: {
15778
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16099
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15779
16100
  cwd?: string | undefined;
15780
16101
  exitCode?: number | null | undefined;
15781
16102
  output?: string | undefined;
@@ -15788,7 +16109,7 @@ export declare const protocolMessageSchemas: {
15788
16109
  added?: number | undefined;
15789
16110
  removed?: number | undefined;
15790
16111
  }[] | undefined;
15791
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16112
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15792
16113
  summary?: string | undefined;
15793
16114
  diff?: string | undefined;
15794
16115
  changeSetId?: string | undefined;
@@ -15858,7 +16179,7 @@ export declare const protocolMessageSchemas: {
15858
16179
  }[] | undefined;
15859
16180
  isStreaming?: boolean | undefined;
15860
16181
  toolCall?: {
15861
- status: "running" | "pending" | "completed" | "failed";
16182
+ status: "running" | "pending" | "failed" | "completed";
15862
16183
  name: string;
15863
16184
  id: string;
15864
16185
  createdAt?: number | undefined;
@@ -15880,7 +16201,7 @@ export declare const protocolMessageSchemas: {
15880
16201
  turnId?: string | undefined;
15881
16202
  itemId?: string | undefined;
15882
16203
  commandExecution?: {
15883
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16204
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15884
16205
  cwd?: string | undefined;
15885
16206
  exitCode?: number | null | undefined;
15886
16207
  output?: string | undefined;
@@ -15893,7 +16214,7 @@ export declare const protocolMessageSchemas: {
15893
16214
  added?: number | undefined;
15894
16215
  removed?: number | undefined;
15895
16216
  }[];
15896
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16217
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15897
16218
  summary?: string | undefined;
15898
16219
  diff?: string | undefined;
15899
16220
  changeSetId?: string | undefined;
@@ -15965,7 +16286,7 @@ export declare const protocolMessageSchemas: {
15965
16286
  toolCall?: {
15966
16287
  name: string;
15967
16288
  id: string;
15968
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16289
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15969
16290
  createdAt?: number | undefined;
15970
16291
  input?: string | undefined;
15971
16292
  output?: string | undefined;
@@ -15985,7 +16306,7 @@ export declare const protocolMessageSchemas: {
15985
16306
  turnId?: string | undefined;
15986
16307
  itemId?: string | undefined;
15987
16308
  commandExecution?: {
15988
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16309
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
15989
16310
  cwd?: string | undefined;
15990
16311
  exitCode?: number | null | undefined;
15991
16312
  output?: string | undefined;
@@ -15998,7 +16319,7 @@ export declare const protocolMessageSchemas: {
15998
16319
  added?: number | undefined;
15999
16320
  removed?: number | undefined;
16000
16321
  }[] | undefined;
16001
- status?: "running" | "pending" | "completed" | "failed" | undefined;
16322
+ status?: "running" | "pending" | "failed" | "completed" | undefined;
16002
16323
  summary?: string | undefined;
16003
16324
  diff?: string | undefined;
16004
16325
  changeSetId?: string | undefined;