@get-bb/plugin-sdk 0.4.40 → 0.4.47

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.
@@ -55,6 +55,7 @@ type AppSettings = z$1.infer<typeof appSettingsSchema>;
55
55
 
56
56
  declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
57
57
  command: z$1.ZodEnum<{
58
+ "app.back": "app.back";
58
59
  "browser.find": "browser.find";
59
60
  "browser.focusLocation": "browser.focusLocation";
60
61
  "browser.reload": "browser.reload";
@@ -194,7 +195,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
194
195
  id: z$1.ZodOptional<z$1.ZodString>;
195
196
  metadata: z$1.ZodOptional<z$1.ZodObject<{
196
197
  backgroundActivityChanged: z$1.ZodOptional<z$1.ZodBoolean>;
197
- eventTypes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodArray<z$1.ZodString & z$1.ZodType<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string, z$1.core.$ZodTypeInternals<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string>>>>>;
198
+ eventTypes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodArray<z$1.ZodString & z$1.ZodType<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string, z$1.core.$ZodTypeInternals<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string>>>>>;
198
199
  hasPendingInteraction: z$1.ZodOptional<z$1.ZodBoolean>;
199
200
  projectId: z$1.ZodOptional<z$1.ZodString>;
200
201
  statusChange: z$1.ZodOptional<z$1.ZodObject<{
@@ -311,6 +312,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
311
312
  changelogPreview: "changelogPreview";
312
313
  editMessages: "editMessages";
313
314
  mobileApp: "mobileApp";
315
+ sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
314
316
  timelineWindowing: "timelineWindowing";
315
317
  }>, z$1.ZodBoolean>;
316
318
  type Experiments = z$1.infer<typeof experimentsSchema>;
@@ -338,6 +340,15 @@ declare const hostSchema: z$1.ZodObject<{
338
340
  type Host = z$1.infer<typeof hostSchema>;
339
341
 
340
342
  declare const threadEventItemPresentationSchema: z$1.ZodObject<{
343
+ badge: z$1.ZodOptional<z$1.ZodObject<{
344
+ glyph: z$1.ZodString;
345
+ hint: z$1.ZodString;
346
+ label: z$1.ZodString;
347
+ tone: z$1.ZodEnum<{
348
+ destructive: "destructive";
349
+ neutral: "neutral";
350
+ }>;
351
+ }, z$1.core.$strip>>;
341
352
  detail: z$1.ZodOptional<z$1.ZodString>;
342
353
  icon: z$1.ZodObject<{
343
354
  glyph: z$1.ZodString;
@@ -477,6 +488,15 @@ declare const providerPendingInteractionSchema: z$1.ZodUnion<readonly [z$1.ZodOb
477
488
  itemId: z$1.ZodString;
478
489
  kind: z$1.ZodLiteral<"tool_use">;
479
490
  presentation: z$1.ZodObject<{
491
+ badge: z$1.ZodOptional<z$1.ZodObject<{
492
+ glyph: z$1.ZodString;
493
+ hint: z$1.ZodString;
494
+ label: z$1.ZodString;
495
+ tone: z$1.ZodEnum<{
496
+ destructive: "destructive";
497
+ neutral: "neutral";
498
+ }>;
499
+ }, z$1.core.$strip>>;
480
500
  detail: z$1.ZodOptional<z$1.ZodString>;
481
501
  icon: z$1.ZodObject<{
482
502
  glyph: z$1.ZodString;
@@ -794,6 +814,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
794
814
  id: z$1.ZodString;
795
815
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
796
816
  presentation: z$1.ZodOptional<z$1.ZodObject<{
817
+ badge: z$1.ZodOptional<z$1.ZodObject<{
818
+ glyph: z$1.ZodString;
819
+ hint: z$1.ZodString;
820
+ label: z$1.ZodString;
821
+ tone: z$1.ZodEnum<{
822
+ destructive: "destructive";
823
+ neutral: "neutral";
824
+ }>;
825
+ }, z$1.core.$strip>>;
797
826
  detail: z$1.ZodOptional<z$1.ZodString>;
798
827
  icon: z$1.ZodObject<{
799
828
  glyph: z$1.ZodString;
@@ -824,6 +853,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
824
853
  id: z$1.ZodString;
825
854
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
826
855
  presentation: z$1.ZodOptional<z$1.ZodObject<{
856
+ badge: z$1.ZodOptional<z$1.ZodObject<{
857
+ glyph: z$1.ZodString;
858
+ hint: z$1.ZodString;
859
+ label: z$1.ZodString;
860
+ tone: z$1.ZodEnum<{
861
+ destructive: "destructive";
862
+ neutral: "neutral";
863
+ }>;
864
+ }, z$1.core.$strip>>;
827
865
  detail: z$1.ZodOptional<z$1.ZodString>;
828
866
  icon: z$1.ZodObject<{
829
867
  glyph: z$1.ZodString;
@@ -884,6 +922,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
884
922
  id: z$1.ZodString;
885
923
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
886
924
  presentation: z$1.ZodOptional<z$1.ZodObject<{
925
+ badge: z$1.ZodOptional<z$1.ZodObject<{
926
+ glyph: z$1.ZodString;
927
+ hint: z$1.ZodString;
928
+ label: z$1.ZodString;
929
+ tone: z$1.ZodEnum<{
930
+ destructive: "destructive";
931
+ neutral: "neutral";
932
+ }>;
933
+ }, z$1.core.$strip>>;
887
934
  detail: z$1.ZodOptional<z$1.ZodString>;
888
935
  icon: z$1.ZodObject<{
889
936
  glyph: z$1.ZodString;
@@ -910,6 +957,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
910
957
  id: z$1.ZodString;
911
958
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
912
959
  presentation: z$1.ZodOptional<z$1.ZodObject<{
960
+ badge: z$1.ZodOptional<z$1.ZodObject<{
961
+ glyph: z$1.ZodString;
962
+ hint: z$1.ZodString;
963
+ label: z$1.ZodString;
964
+ tone: z$1.ZodEnum<{
965
+ destructive: "destructive";
966
+ neutral: "neutral";
967
+ }>;
968
+ }, z$1.core.$strip>>;
913
969
  detail: z$1.ZodOptional<z$1.ZodString>;
914
970
  icon: z$1.ZodObject<{
915
971
  glyph: z$1.ZodString;
@@ -933,6 +989,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
933
989
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
934
990
  pattern: z$1.ZodNullable<z$1.ZodString>;
935
991
  presentation: z$1.ZodOptional<z$1.ZodObject<{
992
+ badge: z$1.ZodOptional<z$1.ZodObject<{
993
+ glyph: z$1.ZodString;
994
+ hint: z$1.ZodString;
995
+ label: z$1.ZodString;
996
+ tone: z$1.ZodEnum<{
997
+ destructive: "destructive";
998
+ neutral: "neutral";
999
+ }>;
1000
+ }, z$1.core.$strip>>;
936
1001
  detail: z$1.ZodOptional<z$1.ZodString>;
937
1002
  icon: z$1.ZodObject<{
938
1003
  glyph: z$1.ZodString;
@@ -957,6 +1022,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
957
1022
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
958
1023
  path: z$1.ZodString;
959
1024
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1025
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1026
+ glyph: z$1.ZodString;
1027
+ hint: z$1.ZodString;
1028
+ label: z$1.ZodString;
1029
+ tone: z$1.ZodEnum<{
1030
+ destructive: "destructive";
1031
+ neutral: "neutral";
1032
+ }>;
1033
+ }, z$1.core.$strip>>;
960
1034
  detail: z$1.ZodOptional<z$1.ZodString>;
961
1035
  icon: z$1.ZodObject<{
962
1036
  glyph: z$1.ZodString;
@@ -979,6 +1053,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
979
1053
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
980
1054
  path: z$1.ZodString;
981
1055
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1056
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1057
+ glyph: z$1.ZodString;
1058
+ hint: z$1.ZodString;
1059
+ label: z$1.ZodString;
1060
+ tone: z$1.ZodEnum<{
1061
+ destructive: "destructive";
1062
+ neutral: "neutral";
1063
+ }>;
1064
+ }, z$1.core.$strip>>;
982
1065
  detail: z$1.ZodOptional<z$1.ZodString>;
983
1066
  icon: z$1.ZodObject<{
984
1067
  glyph: z$1.ZodString;
@@ -1012,6 +1095,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1012
1095
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1013
1096
  path: z$1.ZodOptional<z$1.ZodString>;
1014
1097
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1098
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1099
+ glyph: z$1.ZodString;
1100
+ hint: z$1.ZodString;
1101
+ label: z$1.ZodString;
1102
+ tone: z$1.ZodEnum<{
1103
+ destructive: "destructive";
1104
+ neutral: "neutral";
1105
+ }>;
1106
+ }, z$1.core.$strip>>;
1015
1107
  detail: z$1.ZodOptional<z$1.ZodString>;
1016
1108
  icon: z$1.ZodObject<{
1017
1109
  glyph: z$1.ZodString;
@@ -1042,6 +1134,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1042
1134
  id: z$1.ZodString;
1043
1135
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1044
1136
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1137
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1138
+ glyph: z$1.ZodString;
1139
+ hint: z$1.ZodString;
1140
+ label: z$1.ZodString;
1141
+ tone: z$1.ZodEnum<{
1142
+ destructive: "destructive";
1143
+ neutral: "neutral";
1144
+ }>;
1145
+ }, z$1.core.$strip>>;
1045
1146
  detail: z$1.ZodOptional<z$1.ZodString>;
1046
1147
  icon: z$1.ZodObject<{
1047
1148
  glyph: z$1.ZodString;
@@ -1092,6 +1193,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1092
1193
  id: z$1.ZodString;
1093
1194
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1094
1195
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1196
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1197
+ glyph: z$1.ZodString;
1198
+ hint: z$1.ZodString;
1199
+ label: z$1.ZodString;
1200
+ tone: z$1.ZodEnum<{
1201
+ destructive: "destructive";
1202
+ neutral: "neutral";
1203
+ }>;
1204
+ }, z$1.core.$strip>>;
1095
1205
  detail: z$1.ZodOptional<z$1.ZodString>;
1096
1206
  icon: z$1.ZodObject<{
1097
1207
  glyph: z$1.ZodString;
@@ -1113,6 +1223,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1113
1223
  id: z$1.ZodString;
1114
1224
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1115
1225
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1226
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1227
+ glyph: z$1.ZodString;
1228
+ hint: z$1.ZodString;
1229
+ label: z$1.ZodString;
1230
+ tone: z$1.ZodEnum<{
1231
+ destructive: "destructive";
1232
+ neutral: "neutral";
1233
+ }>;
1234
+ }, z$1.core.$strip>>;
1116
1235
  detail: z$1.ZodOptional<z$1.ZodString>;
1117
1236
  icon: z$1.ZodObject<{
1118
1237
  glyph: z$1.ZodString;
@@ -1135,6 +1254,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1135
1254
  id: z$1.ZodString;
1136
1255
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1137
1256
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1257
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1258
+ glyph: z$1.ZodString;
1259
+ hint: z$1.ZodString;
1260
+ label: z$1.ZodString;
1261
+ tone: z$1.ZodEnum<{
1262
+ destructive: "destructive";
1263
+ neutral: "neutral";
1264
+ }>;
1265
+ }, z$1.core.$strip>>;
1138
1266
  detail: z$1.ZodOptional<z$1.ZodString>;
1139
1267
  icon: z$1.ZodObject<{
1140
1268
  glyph: z$1.ZodString;
@@ -1170,6 +1298,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1170
1298
  id: z$1.ZodString;
1171
1299
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1172
1300
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1301
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1302
+ glyph: z$1.ZodString;
1303
+ hint: z$1.ZodString;
1304
+ label: z$1.ZodString;
1305
+ tone: z$1.ZodEnum<{
1306
+ destructive: "destructive";
1307
+ neutral: "neutral";
1308
+ }>;
1309
+ }, z$1.core.$strip>>;
1173
1310
  detail: z$1.ZodOptional<z$1.ZodString>;
1174
1311
  icon: z$1.ZodObject<{
1175
1312
  glyph: z$1.ZodString;
@@ -1194,6 +1331,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1194
1331
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1195
1332
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1196
1333
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1334
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1335
+ glyph: z$1.ZodString;
1336
+ hint: z$1.ZodString;
1337
+ label: z$1.ZodString;
1338
+ tone: z$1.ZodEnum<{
1339
+ destructive: "destructive";
1340
+ neutral: "neutral";
1341
+ }>;
1342
+ }, z$1.core.$strip>>;
1197
1343
  detail: z$1.ZodOptional<z$1.ZodString>;
1198
1344
  icon: z$1.ZodObject<{
1199
1345
  glyph: z$1.ZodString;
@@ -1277,6 +1423,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1277
1423
  label: z$1.ZodString;
1278
1424
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1279
1425
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1426
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1427
+ glyph: z$1.ZodString;
1428
+ hint: z$1.ZodString;
1429
+ label: z$1.ZodString;
1430
+ tone: z$1.ZodEnum<{
1431
+ destructive: "destructive";
1432
+ neutral: "neutral";
1433
+ }>;
1434
+ }, z$1.core.$strip>>;
1280
1435
  detail: z$1.ZodOptional<z$1.ZodString>;
1281
1436
  icon: z$1.ZodObject<{
1282
1437
  glyph: z$1.ZodString;
@@ -1306,6 +1461,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1306
1461
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1307
1462
  payload: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
1308
1463
  presentation: z$1.ZodObject<{
1464
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1465
+ glyph: z$1.ZodString;
1466
+ hint: z$1.ZodString;
1467
+ label: z$1.ZodString;
1468
+ tone: z$1.ZodEnum<{
1469
+ destructive: "destructive";
1470
+ neutral: "neutral";
1471
+ }>;
1472
+ }, z$1.core.$strip>>;
1309
1473
  detail: z$1.ZodOptional<z$1.ZodString>;
1310
1474
  icon: z$1.ZodObject<{
1311
1475
  glyph: z$1.ZodString;
@@ -1355,6 +1519,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1355
1519
  id: z$1.ZodString;
1356
1520
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1357
1521
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1522
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1523
+ glyph: z$1.ZodString;
1524
+ hint: z$1.ZodString;
1525
+ label: z$1.ZodString;
1526
+ tone: z$1.ZodEnum<{
1527
+ destructive: "destructive";
1528
+ neutral: "neutral";
1529
+ }>;
1530
+ }, z$1.core.$strip>>;
1358
1531
  detail: z$1.ZodOptional<z$1.ZodString>;
1359
1532
  icon: z$1.ZodObject<{
1360
1533
  glyph: z$1.ZodString;
@@ -1385,6 +1558,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1385
1558
  id: z$1.ZodString;
1386
1559
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1387
1560
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1561
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1562
+ glyph: z$1.ZodString;
1563
+ hint: z$1.ZodString;
1564
+ label: z$1.ZodString;
1565
+ tone: z$1.ZodEnum<{
1566
+ destructive: "destructive";
1567
+ neutral: "neutral";
1568
+ }>;
1569
+ }, z$1.core.$strip>>;
1388
1570
  detail: z$1.ZodOptional<z$1.ZodString>;
1389
1571
  icon: z$1.ZodObject<{
1390
1572
  glyph: z$1.ZodString;
@@ -1445,6 +1627,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1445
1627
  id: z$1.ZodString;
1446
1628
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1447
1629
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1630
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1631
+ glyph: z$1.ZodString;
1632
+ hint: z$1.ZodString;
1633
+ label: z$1.ZodString;
1634
+ tone: z$1.ZodEnum<{
1635
+ destructive: "destructive";
1636
+ neutral: "neutral";
1637
+ }>;
1638
+ }, z$1.core.$strip>>;
1448
1639
  detail: z$1.ZodOptional<z$1.ZodString>;
1449
1640
  icon: z$1.ZodObject<{
1450
1641
  glyph: z$1.ZodString;
@@ -1471,6 +1662,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1471
1662
  id: z$1.ZodString;
1472
1663
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1473
1664
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1665
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1666
+ glyph: z$1.ZodString;
1667
+ hint: z$1.ZodString;
1668
+ label: z$1.ZodString;
1669
+ tone: z$1.ZodEnum<{
1670
+ destructive: "destructive";
1671
+ neutral: "neutral";
1672
+ }>;
1673
+ }, z$1.core.$strip>>;
1474
1674
  detail: z$1.ZodOptional<z$1.ZodString>;
1475
1675
  icon: z$1.ZodObject<{
1476
1676
  glyph: z$1.ZodString;
@@ -1494,6 +1694,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1494
1694
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1495
1695
  pattern: z$1.ZodNullable<z$1.ZodString>;
1496
1696
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1697
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1698
+ glyph: z$1.ZodString;
1699
+ hint: z$1.ZodString;
1700
+ label: z$1.ZodString;
1701
+ tone: z$1.ZodEnum<{
1702
+ destructive: "destructive";
1703
+ neutral: "neutral";
1704
+ }>;
1705
+ }, z$1.core.$strip>>;
1497
1706
  detail: z$1.ZodOptional<z$1.ZodString>;
1498
1707
  icon: z$1.ZodObject<{
1499
1708
  glyph: z$1.ZodString;
@@ -1518,6 +1727,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1518
1727
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1519
1728
  path: z$1.ZodString;
1520
1729
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1730
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1731
+ glyph: z$1.ZodString;
1732
+ hint: z$1.ZodString;
1733
+ label: z$1.ZodString;
1734
+ tone: z$1.ZodEnum<{
1735
+ destructive: "destructive";
1736
+ neutral: "neutral";
1737
+ }>;
1738
+ }, z$1.core.$strip>>;
1521
1739
  detail: z$1.ZodOptional<z$1.ZodString>;
1522
1740
  icon: z$1.ZodObject<{
1523
1741
  glyph: z$1.ZodString;
@@ -1540,6 +1758,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1540
1758
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1541
1759
  path: z$1.ZodString;
1542
1760
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1761
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1762
+ glyph: z$1.ZodString;
1763
+ hint: z$1.ZodString;
1764
+ label: z$1.ZodString;
1765
+ tone: z$1.ZodEnum<{
1766
+ destructive: "destructive";
1767
+ neutral: "neutral";
1768
+ }>;
1769
+ }, z$1.core.$strip>>;
1543
1770
  detail: z$1.ZodOptional<z$1.ZodString>;
1544
1771
  icon: z$1.ZodObject<{
1545
1772
  glyph: z$1.ZodString;
@@ -1573,6 +1800,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1573
1800
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1574
1801
  path: z$1.ZodOptional<z$1.ZodString>;
1575
1802
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1803
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1804
+ glyph: z$1.ZodString;
1805
+ hint: z$1.ZodString;
1806
+ label: z$1.ZodString;
1807
+ tone: z$1.ZodEnum<{
1808
+ destructive: "destructive";
1809
+ neutral: "neutral";
1810
+ }>;
1811
+ }, z$1.core.$strip>>;
1576
1812
  detail: z$1.ZodOptional<z$1.ZodString>;
1577
1813
  icon: z$1.ZodObject<{
1578
1814
  glyph: z$1.ZodString;
@@ -1603,6 +1839,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1603
1839
  id: z$1.ZodString;
1604
1840
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1605
1841
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1842
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1843
+ glyph: z$1.ZodString;
1844
+ hint: z$1.ZodString;
1845
+ label: z$1.ZodString;
1846
+ tone: z$1.ZodEnum<{
1847
+ destructive: "destructive";
1848
+ neutral: "neutral";
1849
+ }>;
1850
+ }, z$1.core.$strip>>;
1606
1851
  detail: z$1.ZodOptional<z$1.ZodString>;
1607
1852
  icon: z$1.ZodObject<{
1608
1853
  glyph: z$1.ZodString;
@@ -1653,6 +1898,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1653
1898
  id: z$1.ZodString;
1654
1899
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1655
1900
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1901
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1902
+ glyph: z$1.ZodString;
1903
+ hint: z$1.ZodString;
1904
+ label: z$1.ZodString;
1905
+ tone: z$1.ZodEnum<{
1906
+ destructive: "destructive";
1907
+ neutral: "neutral";
1908
+ }>;
1909
+ }, z$1.core.$strip>>;
1656
1910
  detail: z$1.ZodOptional<z$1.ZodString>;
1657
1911
  icon: z$1.ZodObject<{
1658
1912
  glyph: z$1.ZodString;
@@ -1674,6 +1928,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1674
1928
  id: z$1.ZodString;
1675
1929
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1676
1930
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1931
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1932
+ glyph: z$1.ZodString;
1933
+ hint: z$1.ZodString;
1934
+ label: z$1.ZodString;
1935
+ tone: z$1.ZodEnum<{
1936
+ destructive: "destructive";
1937
+ neutral: "neutral";
1938
+ }>;
1939
+ }, z$1.core.$strip>>;
1677
1940
  detail: z$1.ZodOptional<z$1.ZodString>;
1678
1941
  icon: z$1.ZodObject<{
1679
1942
  glyph: z$1.ZodString;
@@ -1696,6 +1959,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1696
1959
  id: z$1.ZodString;
1697
1960
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1698
1961
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1962
+ badge: z$1.ZodOptional<z$1.ZodObject<{
1963
+ glyph: z$1.ZodString;
1964
+ hint: z$1.ZodString;
1965
+ label: z$1.ZodString;
1966
+ tone: z$1.ZodEnum<{
1967
+ destructive: "destructive";
1968
+ neutral: "neutral";
1969
+ }>;
1970
+ }, z$1.core.$strip>>;
1699
1971
  detail: z$1.ZodOptional<z$1.ZodString>;
1700
1972
  icon: z$1.ZodObject<{
1701
1973
  glyph: z$1.ZodString;
@@ -1731,6 +2003,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1731
2003
  id: z$1.ZodString;
1732
2004
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1733
2005
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2006
+ badge: z$1.ZodOptional<z$1.ZodObject<{
2007
+ glyph: z$1.ZodString;
2008
+ hint: z$1.ZodString;
2009
+ label: z$1.ZodString;
2010
+ tone: z$1.ZodEnum<{
2011
+ destructive: "destructive";
2012
+ neutral: "neutral";
2013
+ }>;
2014
+ }, z$1.core.$strip>>;
1734
2015
  detail: z$1.ZodOptional<z$1.ZodString>;
1735
2016
  icon: z$1.ZodObject<{
1736
2017
  glyph: z$1.ZodString;
@@ -1755,6 +2036,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1755
2036
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1756
2037
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1757
2038
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2039
+ badge: z$1.ZodOptional<z$1.ZodObject<{
2040
+ glyph: z$1.ZodString;
2041
+ hint: z$1.ZodString;
2042
+ label: z$1.ZodString;
2043
+ tone: z$1.ZodEnum<{
2044
+ destructive: "destructive";
2045
+ neutral: "neutral";
2046
+ }>;
2047
+ }, z$1.core.$strip>>;
1758
2048
  detail: z$1.ZodOptional<z$1.ZodString>;
1759
2049
  icon: z$1.ZodObject<{
1760
2050
  glyph: z$1.ZodString;
@@ -1838,6 +2128,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1838
2128
  label: z$1.ZodString;
1839
2129
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1840
2130
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2131
+ badge: z$1.ZodOptional<z$1.ZodObject<{
2132
+ glyph: z$1.ZodString;
2133
+ hint: z$1.ZodString;
2134
+ label: z$1.ZodString;
2135
+ tone: z$1.ZodEnum<{
2136
+ destructive: "destructive";
2137
+ neutral: "neutral";
2138
+ }>;
2139
+ }, z$1.core.$strip>>;
1841
2140
  detail: z$1.ZodOptional<z$1.ZodString>;
1842
2141
  icon: z$1.ZodObject<{
1843
2142
  glyph: z$1.ZodString;
@@ -1867,6 +2166,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1867
2166
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1868
2167
  payload: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
1869
2168
  presentation: z$1.ZodObject<{
2169
+ badge: z$1.ZodOptional<z$1.ZodObject<{
2170
+ glyph: z$1.ZodString;
2171
+ hint: z$1.ZodString;
2172
+ label: z$1.ZodString;
2173
+ tone: z$1.ZodEnum<{
2174
+ destructive: "destructive";
2175
+ neutral: "neutral";
2176
+ }>;
2177
+ }, z$1.core.$strip>>;
1870
2178
  detail: z$1.ZodOptional<z$1.ZodString>;
1871
2179
  icon: z$1.ZodObject<{
1872
2180
  glyph: z$1.ZodString;
@@ -1959,6 +2267,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
1959
2267
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1960
2268
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1961
2269
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2270
+ badge: z$1.ZodOptional<z$1.ZodObject<{
2271
+ glyph: z$1.ZodString;
2272
+ hint: z$1.ZodString;
2273
+ label: z$1.ZodString;
2274
+ tone: z$1.ZodEnum<{
2275
+ destructive: "destructive";
2276
+ neutral: "neutral";
2277
+ }>;
2278
+ }, z$1.core.$strip>>;
1962
2279
  detail: z$1.ZodOptional<z$1.ZodString>;
1963
2280
  icon: z$1.ZodObject<{
1964
2281
  glyph: z$1.ZodString;
@@ -2048,6 +2365,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2048
2365
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2049
2366
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2050
2367
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2368
+ badge: z$1.ZodOptional<z$1.ZodObject<{
2369
+ glyph: z$1.ZodString;
2370
+ hint: z$1.ZodString;
2371
+ label: z$1.ZodString;
2372
+ tone: z$1.ZodEnum<{
2373
+ destructive: "destructive";
2374
+ neutral: "neutral";
2375
+ }>;
2376
+ }, z$1.core.$strip>>;
2051
2377
  detail: z$1.ZodOptional<z$1.ZodString>;
2052
2378
  icon: z$1.ZodObject<{
2053
2379
  glyph: z$1.ZodString;
@@ -2136,6 +2462,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2136
2462
  label: z$1.ZodString;
2137
2463
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2138
2464
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2465
+ badge: z$1.ZodOptional<z$1.ZodObject<{
2466
+ glyph: z$1.ZodString;
2467
+ hint: z$1.ZodString;
2468
+ label: z$1.ZodString;
2469
+ tone: z$1.ZodEnum<{
2470
+ destructive: "destructive";
2471
+ neutral: "neutral";
2472
+ }>;
2473
+ }, z$1.core.$strip>>;
2139
2474
  detail: z$1.ZodOptional<z$1.ZodString>;
2140
2475
  icon: z$1.ZodObject<{
2141
2476
  glyph: z$1.ZodString;
@@ -2171,6 +2506,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2171
2506
  label: z$1.ZodString;
2172
2507
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2173
2508
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2509
+ badge: z$1.ZodOptional<z$1.ZodObject<{
2510
+ glyph: z$1.ZodString;
2511
+ hint: z$1.ZodString;
2512
+ label: z$1.ZodString;
2513
+ tone: z$1.ZodEnum<{
2514
+ destructive: "destructive";
2515
+ neutral: "neutral";
2516
+ }>;
2517
+ }, z$1.core.$strip>>;
2174
2518
  detail: z$1.ZodOptional<z$1.ZodString>;
2175
2519
  icon: z$1.ZodObject<{
2176
2520
  glyph: z$1.ZodString;
@@ -2317,6 +2661,20 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2317
2661
  }, z$1.core.$strip>;
2318
2662
  threadId: z$1.ZodString;
2319
2663
  type: z$1.ZodLiteral<"provider/rateLimits/updated">;
2664
+ }, z$1.core.$strip>, z$1.ZodObject<{
2665
+ entries: z$1.ZodArray<z$1.ZodObject<{
2666
+ name: z$1.ZodString;
2667
+ reason: z$1.ZodOptional<z$1.ZodString>;
2668
+ source: z$1.ZodUnion<readonly [z$1.ZodLiteral<"shell">, z$1.ZodObject<{
2669
+ plugin: z$1.ZodString;
2670
+ }, z$1.core.$strict>]>;
2671
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
2672
+ masked: z$1.ZodLiteral<true>;
2673
+ }, z$1.core.$strict>]>;
2674
+ }, z$1.core.$strict>>;
2675
+ providerThreadId: z$1.ZodString;
2676
+ threadId: z$1.ZodString;
2677
+ type: z$1.ZodLiteral<"provider.env-resolved">;
2320
2678
  }, z$1.core.$strip>, z$1.ZodObject<{
2321
2679
  kind: z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>;
2322
2680
  payload: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
@@ -2766,6 +3124,15 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2766
3124
  itemId: z$1.ZodString;
2767
3125
  kind: z$1.ZodLiteral<"tool_use">;
2768
3126
  presentation: z$1.ZodObject<{
3127
+ badge: z$1.ZodOptional<z$1.ZodObject<{
3128
+ glyph: z$1.ZodString;
3129
+ hint: z$1.ZodString;
3130
+ label: z$1.ZodString;
3131
+ tone: z$1.ZodEnum<{
3132
+ destructive: "destructive";
3133
+ neutral: "neutral";
3134
+ }>;
3135
+ }, z$1.core.$strip>>;
2769
3136
  detail: z$1.ZodOptional<z$1.ZodString>;
2770
3137
  icon: z$1.ZodObject<{
2771
3138
  glyph: z$1.ZodString;
@@ -4883,12 +5250,32 @@ declare const hostDaemonCommandRegistry: {
4883
5250
  kind: z$1.ZodLiteral<"artifact">;
4884
5251
  }, z$1.core.$strict>;
4885
5252
  }, z$1.core.$strict>;
5253
+ contributedEnv: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
5254
+ name: z$1.ZodString;
5255
+ reason: z$1.ZodString;
5256
+ secret: z$1.ZodBoolean;
5257
+ source: z$1.ZodObject<{
5258
+ plugin: z$1.ZodString;
5259
+ }, z$1.core.$strict>;
5260
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
5261
+ serverPath: z$1.ZodString;
5262
+ }, z$1.core.$strict>]>;
5263
+ }, z$1.core.$strict>>>;
4886
5264
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
4887
5265
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
4888
5266
  description: z$1.ZodString;
4889
5267
  inputSchema: z$1.ZodUnknown;
4890
5268
  name: z$1.ZodString;
4891
5269
  presentation: z$1.ZodOptional<z$1.ZodObject<{
5270
+ badge: z$1.ZodOptional<z$1.ZodObject<{
5271
+ glyph: z$1.ZodString;
5272
+ hint: z$1.ZodString;
5273
+ label: z$1.ZodString;
5274
+ tone: z$1.ZodEnum<{
5275
+ destructive: "destructive";
5276
+ neutral: "neutral";
5277
+ }>;
5278
+ }, z$1.core.$strip>>;
4892
5279
  detail: z$1.ZodOptional<z$1.ZodString>;
4893
5280
  icon: z$1.ZodObject<{
4894
5281
  glyph: z$1.ZodString;
@@ -5024,12 +5411,32 @@ declare const hostDaemonCommandRegistry: {
5024
5411
  kind: z$1.ZodLiteral<"artifact">;
5025
5412
  }, z$1.core.$strict>;
5026
5413
  }, z$1.core.$strict>;
5414
+ contributedEnv: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
5415
+ name: z$1.ZodString;
5416
+ reason: z$1.ZodString;
5417
+ secret: z$1.ZodBoolean;
5418
+ source: z$1.ZodObject<{
5419
+ plugin: z$1.ZodString;
5420
+ }, z$1.core.$strict>;
5421
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
5422
+ serverPath: z$1.ZodString;
5423
+ }, z$1.core.$strict>]>;
5424
+ }, z$1.core.$strict>>>;
5027
5425
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5028
5426
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
5029
5427
  description: z$1.ZodString;
5030
5428
  inputSchema: z$1.ZodUnknown;
5031
5429
  name: z$1.ZodString;
5032
5430
  presentation: z$1.ZodOptional<z$1.ZodObject<{
5431
+ badge: z$1.ZodOptional<z$1.ZodObject<{
5432
+ glyph: z$1.ZodString;
5433
+ hint: z$1.ZodString;
5434
+ label: z$1.ZodString;
5435
+ tone: z$1.ZodEnum<{
5436
+ destructive: "destructive";
5437
+ neutral: "neutral";
5438
+ }>;
5439
+ }, z$1.core.$strip>>;
5033
5440
  detail: z$1.ZodOptional<z$1.ZodString>;
5034
5441
  icon: z$1.ZodObject<{
5035
5442
  glyph: z$1.ZodString;
@@ -5561,12 +5968,32 @@ declare const hostDaemonCommandRegistry: {
5561
5968
  kind: z$1.ZodLiteral<"artifact">;
5562
5969
  }, z$1.core.$strict>;
5563
5970
  }, z$1.core.$strict>;
5971
+ contributedEnv: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
5972
+ name: z$1.ZodString;
5973
+ reason: z$1.ZodString;
5974
+ secret: z$1.ZodBoolean;
5975
+ source: z$1.ZodObject<{
5976
+ plugin: z$1.ZodString;
5977
+ }, z$1.core.$strict>;
5978
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
5979
+ serverPath: z$1.ZodString;
5980
+ }, z$1.core.$strict>]>;
5981
+ }, z$1.core.$strict>>>;
5564
5982
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5565
5983
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
5566
5984
  description: z$1.ZodString;
5567
5985
  inputSchema: z$1.ZodUnknown;
5568
5986
  name: z$1.ZodString;
5569
5987
  presentation: z$1.ZodOptional<z$1.ZodObject<{
5988
+ badge: z$1.ZodOptional<z$1.ZodObject<{
5989
+ glyph: z$1.ZodString;
5990
+ hint: z$1.ZodString;
5991
+ label: z$1.ZodString;
5992
+ tone: z$1.ZodEnum<{
5993
+ destructive: "destructive";
5994
+ neutral: "neutral";
5995
+ }>;
5996
+ }, z$1.core.$strip>>;
5570
5997
  detail: z$1.ZodOptional<z$1.ZodString>;
5571
5998
  icon: z$1.ZodObject<{
5572
5999
  glyph: z$1.ZodString;
@@ -5751,12 +6178,32 @@ declare const hostDaemonCommandRegistry: {
5751
6178
  kind: z$1.ZodLiteral<"artifact">;
5752
6179
  }, z$1.core.$strict>;
5753
6180
  }, z$1.core.$strict>;
6181
+ contributedEnv: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6182
+ name: z$1.ZodString;
6183
+ reason: z$1.ZodString;
6184
+ secret: z$1.ZodBoolean;
6185
+ source: z$1.ZodObject<{
6186
+ plugin: z$1.ZodString;
6187
+ }, z$1.core.$strict>;
6188
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
6189
+ serverPath: z$1.ZodString;
6190
+ }, z$1.core.$strict>]>;
6191
+ }, z$1.core.$strict>>>;
5754
6192
  disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
5755
6193
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
5756
6194
  description: z$1.ZodString;
5757
6195
  inputSchema: z$1.ZodUnknown;
5758
6196
  name: z$1.ZodString;
5759
6197
  presentation: z$1.ZodOptional<z$1.ZodObject<{
6198
+ badge: z$1.ZodOptional<z$1.ZodObject<{
6199
+ glyph: z$1.ZodString;
6200
+ hint: z$1.ZodString;
6201
+ label: z$1.ZodString;
6202
+ tone: z$1.ZodEnum<{
6203
+ destructive: "destructive";
6204
+ neutral: "neutral";
6205
+ }>;
6206
+ }, z$1.core.$strip>>;
5760
6207
  detail: z$1.ZodOptional<z$1.ZodString>;
5761
6208
  icon: z$1.ZodObject<{
5762
6209
  glyph: z$1.ZodString;
@@ -7967,6 +8414,7 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
7967
8414
  marketplace: z$1.ZodString;
7968
8415
  marketplaceDisplayName: z$1.ZodString;
7969
8416
  official: z$1.ZodBoolean;
8417
+ overview: z$1.ZodOptional<z$1.ZodString>;
7970
8418
  pluginId: z$1.ZodString;
7971
8419
  publishedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
7972
8420
  publisherKey: z$1.ZodString;
@@ -8334,6 +8782,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
8334
8782
  dataDir: z$1.ZodString;
8335
8783
  defaultKeybindings: z$1.ZodArray<z$1.ZodObject<{
8336
8784
  command: z$1.ZodEnum<{
8785
+ "app.back": "app.back";
8337
8786
  "browser.find": "browser.find";
8338
8787
  "browser.focusLocation": "browser.focusLocation";
8339
8788
  "browser.reload": "browser.reload";
@@ -8439,6 +8888,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
8439
8888
  changelogPreview: "changelogPreview";
8440
8889
  editMessages: "editMessages";
8441
8890
  mobileApp: "mobileApp";
8891
+ sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
8442
8892
  timelineWindowing: "timelineWindowing";
8443
8893
  }>, z$1.ZodBoolean>;
8444
8894
  featureFlags: z$1.ZodObject<{
@@ -8457,6 +8907,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
8457
8907
  hostDaemonPort: z$1.ZodNullable<z$1.ZodNumber>;
8458
8908
  keybindingOverrides: z$1.ZodArray<z$1.ZodObject<{
8459
8909
  command: z$1.ZodEnum<{
8910
+ "app.back": "app.back";
8460
8911
  "browser.find": "browser.find";
8461
8912
  "browser.focusLocation": "browser.focusLocation";
8462
8913
  "browser.reload": "browser.reload";
@@ -8531,6 +8982,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
8531
8982
  }, z$1.core.$strict>>;
8532
8983
  keybindings: z$1.ZodArray<z$1.ZodObject<{
8533
8984
  command: z$1.ZodEnum<{
8985
+ "app.back": "app.back";
8534
8986
  "browser.find": "browser.find";
8535
8987
  "browser.focusLocation": "browser.focusLocation";
8536
8988
  "browser.reload": "browser.reload";
@@ -9119,6 +9571,15 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
9119
9571
  totalChars: z$1.ZodNumber;
9120
9572
  }, z$1.core.$strip>>;
9121
9573
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9574
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9575
+ glyph: z$1.ZodString;
9576
+ hint: z$1.ZodString;
9577
+ label: z$1.ZodString;
9578
+ tone: z$1.ZodEnum<{
9579
+ destructive: "destructive";
9580
+ neutral: "neutral";
9581
+ }>;
9582
+ }, z$1.core.$strip>>;
9122
9583
  detail: z$1.ZodOptional<z$1.ZodString>;
9123
9584
  icon: z$1.ZodObject<{
9124
9585
  glyph: z$1.ZodString;
@@ -9164,6 +9625,15 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
9164
9625
  totalChars: z$1.ZodNumber;
9165
9626
  }, z$1.core.$strip>>;
9166
9627
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9628
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9629
+ glyph: z$1.ZodString;
9630
+ hint: z$1.ZodString;
9631
+ label: z$1.ZodString;
9632
+ tone: z$1.ZodEnum<{
9633
+ destructive: "destructive";
9634
+ neutral: "neutral";
9635
+ }>;
9636
+ }, z$1.core.$strip>>;
9167
9637
  detail: z$1.ZodOptional<z$1.ZodString>;
9168
9638
  icon: z$1.ZodObject<{
9169
9639
  glyph: z$1.ZodString;
@@ -9215,6 +9685,15 @@ declare const timelineFileChangeWorkRowSchema: z$1.ZodObject<{
9215
9685
  id: z$1.ZodString;
9216
9686
  kind: z$1.ZodLiteral<"work">;
9217
9687
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9688
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9689
+ glyph: z$1.ZodString;
9690
+ hint: z$1.ZodString;
9691
+ label: z$1.ZodString;
9692
+ tone: z$1.ZodEnum<{
9693
+ destructive: "destructive";
9694
+ neutral: "neutral";
9695
+ }>;
9696
+ }, z$1.core.$strip>>;
9218
9697
  detail: z$1.ZodOptional<z$1.ZodString>;
9219
9698
  icon: z$1.ZodObject<{
9220
9699
  glyph: z$1.ZodString;
@@ -9253,6 +9732,15 @@ declare const timelineWebSearchWorkRowSchema: z$1.ZodObject<{
9253
9732
  id: z$1.ZodString;
9254
9733
  kind: z$1.ZodLiteral<"work">;
9255
9734
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9735
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9736
+ glyph: z$1.ZodString;
9737
+ hint: z$1.ZodString;
9738
+ label: z$1.ZodString;
9739
+ tone: z$1.ZodEnum<{
9740
+ destructive: "destructive";
9741
+ neutral: "neutral";
9742
+ }>;
9743
+ }, z$1.core.$strip>>;
9256
9744
  detail: z$1.ZodOptional<z$1.ZodString>;
9257
9745
  icon: z$1.ZodObject<{
9258
9746
  glyph: z$1.ZodString;
@@ -9291,6 +9779,15 @@ declare const timelineWebFetchWorkRowSchema: z$1.ZodObject<{
9291
9779
  kind: z$1.ZodLiteral<"work">;
9292
9780
  pattern: z$1.ZodNullable<z$1.ZodString>;
9293
9781
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9782
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9783
+ glyph: z$1.ZodString;
9784
+ hint: z$1.ZodString;
9785
+ label: z$1.ZodString;
9786
+ tone: z$1.ZodEnum<{
9787
+ destructive: "destructive";
9788
+ neutral: "neutral";
9789
+ }>;
9790
+ }, z$1.core.$strip>>;
9294
9791
  detail: z$1.ZodOptional<z$1.ZodString>;
9295
9792
  icon: z$1.ZodObject<{
9296
9793
  glyph: z$1.ZodString;
@@ -9330,6 +9827,15 @@ declare const timelineImageViewWorkRowSchema: z$1.ZodObject<{
9330
9827
  kind: z$1.ZodLiteral<"work">;
9331
9828
  path: z$1.ZodString;
9332
9829
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9830
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9831
+ glyph: z$1.ZodString;
9832
+ hint: z$1.ZodString;
9833
+ label: z$1.ZodString;
9834
+ tone: z$1.ZodEnum<{
9835
+ destructive: "destructive";
9836
+ neutral: "neutral";
9837
+ }>;
9838
+ }, z$1.core.$strip>>;
9333
9839
  detail: z$1.ZodOptional<z$1.ZodString>;
9334
9840
  icon: z$1.ZodObject<{
9335
9841
  glyph: z$1.ZodString;
@@ -9368,6 +9874,15 @@ declare const timelineFileReadWorkRowSchema: z$1.ZodObject<{
9368
9874
  kind: z$1.ZodLiteral<"work">;
9369
9875
  path: z$1.ZodString;
9370
9876
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9877
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9878
+ glyph: z$1.ZodString;
9879
+ hint: z$1.ZodString;
9880
+ label: z$1.ZodString;
9881
+ tone: z$1.ZodEnum<{
9882
+ destructive: "destructive";
9883
+ neutral: "neutral";
9884
+ }>;
9885
+ }, z$1.core.$strip>>;
9371
9886
  detail: z$1.ZodOptional<z$1.ZodString>;
9372
9887
  icon: z$1.ZodObject<{
9373
9888
  glyph: z$1.ZodString;
@@ -9411,6 +9926,15 @@ declare const timelineSearchWorkRowSchema: z$1.ZodObject<{
9411
9926
  }>;
9412
9927
  path: z$1.ZodNullable<z$1.ZodString>;
9413
9928
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9929
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9930
+ glyph: z$1.ZodString;
9931
+ hint: z$1.ZodString;
9932
+ label: z$1.ZodString;
9933
+ tone: z$1.ZodEnum<{
9934
+ destructive: "destructive";
9935
+ neutral: "neutral";
9936
+ }>;
9937
+ }, z$1.core.$strip>>;
9414
9938
  detail: z$1.ZodOptional<z$1.ZodString>;
9415
9939
  icon: z$1.ZodObject<{
9416
9940
  glyph: z$1.ZodString;
@@ -9449,6 +9973,15 @@ declare const timelinePlanStepsWorkRowSchema: z$1.ZodObject<{
9449
9973
  id: z$1.ZodString;
9450
9974
  kind: z$1.ZodLiteral<"work">;
9451
9975
  presentation: z$1.ZodOptional<z$1.ZodObject<{
9976
+ badge: z$1.ZodOptional<z$1.ZodObject<{
9977
+ glyph: z$1.ZodString;
9978
+ hint: z$1.ZodString;
9979
+ label: z$1.ZodString;
9980
+ tone: z$1.ZodEnum<{
9981
+ destructive: "destructive";
9982
+ neutral: "neutral";
9983
+ }>;
9984
+ }, z$1.core.$strip>>;
9452
9985
  detail: z$1.ZodOptional<z$1.ZodString>;
9453
9986
  icon: z$1.ZodObject<{
9454
9987
  glyph: z$1.ZodString;
@@ -9496,6 +10029,15 @@ declare const timelineExtensionWorkRowSchema: z$1.ZodObject<{
9496
10029
  kind: z$1.ZodLiteral<"work">;
9497
10030
  payload: z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>;
9498
10031
  presentation: z$1.ZodObject<{
10032
+ badge: z$1.ZodOptional<z$1.ZodObject<{
10033
+ glyph: z$1.ZodString;
10034
+ hint: z$1.ZodString;
10035
+ label: z$1.ZodString;
10036
+ tone: z$1.ZodEnum<{
10037
+ destructive: "destructive";
10038
+ neutral: "neutral";
10039
+ }>;
10040
+ }, z$1.core.$strip>>;
9499
10041
  detail: z$1.ZodOptional<z$1.ZodString>;
9500
10042
  icon: z$1.ZodObject<{
9501
10043
  glyph: z$1.ZodString;
@@ -9652,6 +10194,15 @@ declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
9652
10194
  kind: z$1.ZodLiteral<"work">;
9653
10195
  model: z$1.ZodNullable<z$1.ZodString>;
9654
10196
  presentation: z$1.ZodOptional<z$1.ZodObject<{
10197
+ badge: z$1.ZodOptional<z$1.ZodObject<{
10198
+ glyph: z$1.ZodString;
10199
+ hint: z$1.ZodString;
10200
+ label: z$1.ZodString;
10201
+ tone: z$1.ZodEnum<{
10202
+ destructive: "destructive";
10203
+ neutral: "neutral";
10204
+ }>;
10205
+ }, z$1.core.$strip>>;
9655
10206
  detail: z$1.ZodOptional<z$1.ZodString>;
9656
10207
  icon: z$1.ZodObject<{
9657
10208
  glyph: z$1.ZodString;
@@ -10054,6 +10605,36 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
10054
10605
  }, z$1.core.$strip>], "type">, z$1.ZodObject<{
10055
10606
  visibility: z$1.ZodLiteral<"agent-only">;
10056
10607
  }, z$1.core.$strip>>>>;
10608
+ environment: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10609
+ environmentId: z$1.ZodString;
10610
+ type: z$1.ZodLiteral<"reuse">;
10611
+ }, z$1.core.$strip>, z$1.ZodObject<{
10612
+ hostId: z$1.ZodOptional<z$1.ZodString>;
10613
+ type: z$1.ZodLiteral<"host">;
10614
+ workspace: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10615
+ branch: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10616
+ kind: z$1.ZodLiteral<"existing">;
10617
+ name: z$1.ZodString;
10618
+ }, z$1.core.$strict>, z$1.ZodObject<{
10619
+ baseBranch: z$1.ZodString;
10620
+ kind: z$1.ZodLiteral<"new">;
10621
+ }, z$1.core.$strict>], "kind">>;
10622
+ path: z$1.ZodNullable<z$1.ZodString>;
10623
+ type: z$1.ZodLiteral<"unmanaged">;
10624
+ }, z$1.core.$strip>, z$1.ZodObject<{
10625
+ baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10626
+ kind: z$1.ZodLiteral<"named">;
10627
+ name: z$1.ZodString;
10628
+ }, z$1.core.$strip>, z$1.ZodObject<{
10629
+ kind: z$1.ZodLiteral<"default">;
10630
+ }, z$1.core.$strip>], "kind">;
10631
+ type: z$1.ZodLiteral<"managed-worktree">;
10632
+ }, z$1.core.$strip>, z$1.ZodObject<{
10633
+ type: z$1.ZodLiteral<"personal">;
10634
+ }, z$1.core.$strip>], "type">;
10635
+ }, z$1.core.$strip>, z$1.ZodObject<{
10636
+ type: z$1.ZodLiteral<"project-default">;
10637
+ }, z$1.core.$strip>], "type">>;
10057
10638
  input: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10058
10639
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
10059
10640
  end: z$1.ZodNumber;
@@ -10154,11 +10735,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
10154
10735
  hidden: "hidden";
10155
10736
  visible: "visible";
10156
10737
  }>>;
10157
- workspace: z$1.ZodDefault<z$1.ZodEnum<{
10158
- isolated: "isolated";
10159
- reuse: "reuse";
10160
- }>>;
10161
- }, z$1.core.$strip>;
10738
+ }, z$1.core.$strict>;
10162
10739
  type ForkThreadRequest = z$1.infer<typeof forkThreadRequestSchema>;
10163
10740
  declare const sendMessageRequestSchema: z$1.ZodObject<{
10164
10741
  executionInputSources: z$1.ZodOptional<z$1.ZodObject<{
@@ -11488,6 +12065,15 @@ declare const threadPendingInteractionsResponseSchema: z$1.ZodArray<z$1.ZodUnion
11488
12065
  itemId: z$1.ZodString;
11489
12066
  kind: z$1.ZodLiteral<"tool_use">;
11490
12067
  presentation: z$1.ZodObject<{
12068
+ badge: z$1.ZodOptional<z$1.ZodObject<{
12069
+ glyph: z$1.ZodString;
12070
+ hint: z$1.ZodString;
12071
+ label: z$1.ZodString;
12072
+ tone: z$1.ZodEnum<{
12073
+ destructive: "destructive";
12074
+ neutral: "neutral";
12075
+ }>;
12076
+ }, z$1.core.$strip>>;
11491
12077
  detail: z$1.ZodOptional<z$1.ZodString>;
11492
12078
  icon: z$1.ZodObject<{
11493
12079
  glyph: z$1.ZodString;
@@ -11982,6 +12568,15 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
11982
12568
  kind: z$1.ZodLiteral<"work">;
11983
12569
  model: z$1.ZodNullable<z$1.ZodString>;
11984
12570
  presentation: z$1.ZodOptional<z$1.ZodObject<{
12571
+ badge: z$1.ZodOptional<z$1.ZodObject<{
12572
+ glyph: z$1.ZodString;
12573
+ hint: z$1.ZodString;
12574
+ label: z$1.ZodString;
12575
+ tone: z$1.ZodEnum<{
12576
+ destructive: "destructive";
12577
+ neutral: "neutral";
12578
+ }>;
12579
+ }, z$1.core.$strip>>;
11985
12580
  detail: z$1.ZodOptional<z$1.ZodString>;
11986
12581
  icon: z$1.ZodObject<{
11987
12582
  glyph: z$1.ZodString;
@@ -12084,6 +12679,15 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
12084
12679
  kind: z$1.ZodLiteral<"work">;
12085
12680
  model: z$1.ZodNullable<z$1.ZodString>;
12086
12681
  presentation: z$1.ZodOptional<z$1.ZodObject<{
12682
+ badge: z$1.ZodOptional<z$1.ZodObject<{
12683
+ glyph: z$1.ZodString;
12684
+ hint: z$1.ZodString;
12685
+ label: z$1.ZodString;
12686
+ tone: z$1.ZodEnum<{
12687
+ destructive: "destructive";
12688
+ neutral: "neutral";
12689
+ }>;
12690
+ }, z$1.core.$strip>>;
12087
12691
  detail: z$1.ZodOptional<z$1.ZodString>;
12088
12692
  icon: z$1.ZodObject<{
12089
12693
  glyph: z$1.ZodString;
@@ -12165,6 +12769,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
12165
12769
  }, z$1.core.$strip>>;
12166
12770
  workflowName: z$1.ZodNullable<z$1.ZodString>;
12167
12771
  }, z$1.core.$strip>>;
12772
+ contextBoundarySeq: z$1.ZodNullable<z$1.ZodNumber>;
12168
12773
  contextWindowUsage: z$1.ZodOptional<z$1.ZodObject<{
12169
12774
  estimated: z$1.ZodBoolean;
12170
12775
  modelContextWindow: z$1.ZodNumber;
@@ -12695,6 +13300,11 @@ interface PluginPendingInteractionProps {
12695
13300
  */
12696
13301
  interface PluginSidebarFooterActionProps {
12697
13302
  }
13303
+ /** Props passed to an experimental sidebar-footer disclosure component. */
13304
+ interface ExperimentalSidebarFooterDisclosureProps {
13305
+ /** Hide this disclosure without affecting another plugin's open disclosure. */
13306
+ dismiss(): void;
13307
+ }
12698
13308
  /** Display and accessibility metadata for a host-owned sidebar shortcut. */
12699
13309
  interface ExperimentalSidebarNavigationShortcut {
12700
13310
  label: string;
@@ -13231,6 +13841,46 @@ interface PluginSidebarFooterActionRegistration {
13231
13841
  */
13232
13842
  run(context: PluginSidebarFooterActionContext): void | Promise<void>;
13233
13843
  }
13844
+ /** Context handed to an experimental sidebar-footer action. */
13845
+ interface ExperimentalSidebarFooterActionContext {
13846
+ /** Navigate to this plugin's detail page in Tools. */
13847
+ openPluginDetails(): void;
13848
+ }
13849
+ /** Fields shared by both experimental sidebar-footer item behaviors. */
13850
+ interface ExperimentalSidebarFooterItemBase {
13851
+ /** Unique within the plugin's unified sidebar footer; letters, digits, `-`, `_`. */
13852
+ id: string;
13853
+ /** Tooltip and accessible label for the host-rendered icon button. */
13854
+ label: string;
13855
+ /** BB icon-name hint; unknown names fall back to a generic icon. */
13856
+ icon: string;
13857
+ }
13858
+ /** A sidebar-footer item that runs a callback when activated. */
13859
+ interface ExperimentalSidebarFooterActionRegistration extends ExperimentalSidebarFooterItemBase {
13860
+ kind: "action";
13861
+ onActivate(context: ExperimentalSidebarFooterActionContext): void | Promise<void>;
13862
+ }
13863
+ /** A sidebar-footer item that reveals plugin-rendered content above the row. */
13864
+ interface ExperimentalSidebarFooterDisclosureRegistration extends ExperimentalSidebarFooterItemBase {
13865
+ kind: "disclosure";
13866
+ component: ComponentType<ExperimentalSidebarFooterDisclosureProps>;
13867
+ }
13868
+ /** One host-rendered item in the app sidebar footer. */
13869
+ type ExperimentalSidebarFooterItemRegistration = ExperimentalSidebarFooterActionRegistration | ExperimentalSidebarFooterDisclosureRegistration;
13870
+ /** Live controls for an experimental sidebar-footer disclosure. */
13871
+ interface ExperimentalSidebarFooterDisclosureController {
13872
+ /** Request that the host open this disclosure, replacing any open sibling. */
13873
+ open(): void;
13874
+ /** Close this disclosure if it is currently open. */
13875
+ close(): void;
13876
+ /** Open this disclosure, or close it when it is currently open. */
13877
+ toggle(): void;
13878
+ }
13879
+ /** Managed registration surface for items in the app sidebar footer. */
13880
+ interface ExperimentalSidebarFooter {
13881
+ register(registration: ExperimentalSidebarFooterActionRegistration): void;
13882
+ register(registration: ExperimentalSidebarFooterDisclosureRegistration): ExperimentalSidebarFooterDisclosureController;
13883
+ }
13234
13884
  /**
13235
13885
  * The one status bb would paint for a thread, already resolved through the
13236
13886
  * host's precedence (attention before work; plan and goal before the generic
@@ -13953,6 +14603,8 @@ interface PluginAppBuilder {
13953
14603
  slots: PluginAppSlots;
13954
14604
  composer: PluginAppComposer;
13955
14605
  contentScripts: PluginAppContentScripts;
14606
+ /** Experimental managed region for actions and disclosures in the sidebar footer. */
14607
+ experimental_sidebarFooter: ExperimentalSidebarFooter;
13956
14608
  }
13957
14609
  type PluginAppSetup = (app: PluginAppBuilder) => void;
13958
14610
  /**
@@ -15735,10 +16387,9 @@ type ThreadSpawnArgs = ThreadSpawnBaseArgs & ({
15735
16387
  input?: never;
15736
16388
  prompt: string;
15737
16389
  });
15738
- interface ThreadForkArgs extends Omit<ForkThreadRequest, "origin" | "visibility" | "workspace"> {
16390
+ interface ThreadForkArgs extends Omit<ForkThreadRequest, "origin" | "visibility"> {
15739
16391
  origin?: ForkThreadRequest["origin"];
15740
16392
  visibility?: ForkThreadRequest["visibility"];
15741
- workspace?: ForkThreadRequest["workspace"];
15742
16393
  }
15743
16394
  interface ThreadUpdateArgs extends UpdateThreadRequest {
15744
16395
  threadId: string;
@@ -15949,6 +16600,7 @@ interface ThreadsArea {
15949
16600
  childSummary(args: ThreadStatusArgs): Promise<ThreadChildSummaryResult>;
15950
16601
  compact(args: ThreadActionArgs): Promise<ThreadCompactResult>;
15951
16602
  cancelPlan(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
16603
+ clearContext(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
15952
16604
  clearGoal(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
15953
16605
  conversationOutline(args: ThreadStatusArgs): Promise<ThreadConversationOutlineResult>;
15954
16606
  count(args?: ThreadCountArgs): Promise<ThreadCountResult>;
@@ -16588,6 +17240,26 @@ interface PluginHooks {
16588
17240
  }
16589
17241
  type PluginHttpAuthMode = "local" | "none" | "token";
16590
17242
  type PluginHttpHandler = (context: Context) => Response | Promise<Response>;
17243
+ interface ExperimentalPluginWebSocket {
17244
+ send(data: string | Uint8Array): void;
17245
+ close(code?: number, reason?: string): void;
17246
+ readonly readyState: number;
17247
+ }
17248
+ interface ExperimentalPluginWebSocketContext {
17249
+ request: Request;
17250
+ url: URL;
17251
+ headers: Headers;
17252
+ }
17253
+ interface ExperimentalPluginWebSocketHandlers {
17254
+ onOpen?(socket: ExperimentalPluginWebSocket): void | Promise<void>;
17255
+ onMessage?(socket: ExperimentalPluginWebSocket, data: string | Uint8Array): void | Promise<void>;
17256
+ onClose?(socket: ExperimentalPluginWebSocket, event: {
17257
+ code: number;
17258
+ reason: string;
17259
+ }): void | Promise<void>;
17260
+ onError?(socket: ExperimentalPluginWebSocket, error: Error): void;
17261
+ }
17262
+ type ExperimentalPluginWebSocketHandler = (context: ExperimentalPluginWebSocketContext) => ExperimentalPluginWebSocketHandlers;
16591
17263
  interface PluginHttp {
16592
17264
  /**
16593
17265
  * Register an HTTP route, mounted at
@@ -16601,6 +17273,14 @@ interface PluginHttp {
16601
17273
  route(method: string, path: string, handler: PluginHttpHandler, opts?: {
16602
17274
  auth?: PluginHttpAuthMode;
16603
17275
  }): void;
17276
+ /**
17277
+ * Register a WebSocket route in the same `/http/` namespace as `route`.
17278
+ * A GET request upgrades only when it carries `Upgrade: websocket`.
17279
+ * Auth modes and exact-path matching are identical to HTTP routes.
17280
+ */
17281
+ experimental_websocket(path: string, handler: ExperimentalPluginWebSocketHandler, opts?: {
17282
+ auth?: PluginHttpAuthMode;
17283
+ }): void;
16604
17284
  }
16605
17285
  interface PluginRpc {
16606
17286
  /**
@@ -17295,6 +17975,28 @@ interface PluginProviders {
17295
17975
  register(declaration: PluginProviderDeclaration): {
17296
17976
  dispose(): void;
17297
17977
  };
17978
+ experimental_contributeEnv(providerId: string, resolve: (context: ExperimentalPluginProviderEnvContext) => readonly ExperimentalPluginProviderEnvEntry[] | Promise<readonly ExperimentalPluginProviderEnvEntry[]>): void;
17979
+ experimental_contributeEnvHealth(providerId: string, resolve: (context: ExperimentalPluginProviderEnvHealthContext) => ExperimentalPluginProviderEnvHealth | null | Promise<ExperimentalPluginProviderEnvHealth | null>): void;
17980
+ }
17981
+ interface ExperimentalPluginProviderEnvContext {
17982
+ threadId: string;
17983
+ projectId: string;
17984
+ hostId: string;
17985
+ }
17986
+ interface ExperimentalPluginProviderEnvEntry {
17987
+ name: string;
17988
+ value: string | {
17989
+ serverPath: string;
17990
+ };
17991
+ reason: string;
17992
+ secret: boolean;
17993
+ }
17994
+ interface ExperimentalPluginProviderEnvHealthContext {
17995
+ hostId: string;
17996
+ }
17997
+ interface ExperimentalPluginProviderEnvHealth {
17998
+ label: string;
17999
+ statusMessage: string;
17298
18000
  }
17299
18001
  type PluginMentionTrigger = "!" | "#" | "$" | "@" | "~";
17300
18002
  /** Search context handed to a mention provider (design §4.9). `projectId`/
@@ -17535,4 +18237,4 @@ interface BbPluginApi {
17535
18237
  }
17536
18238
 
17537
18239
  export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
17538
- export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginFixedTabReference, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps };
18240
+ export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginFixedTabReference, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps };