@get-bb/plugin-sdk 0.6.33 → 0.6.39

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.
@@ -110,7 +110,6 @@ declare const appSettingsSchema: z$1.ZodObject<{
110
110
  flat: "flat";
111
111
  }>>;
112
112
  providerOrder: z$1.ZodArray<z$1.ZodString>;
113
- setupChecklistVisible: z$1.ZodBoolean;
114
113
  showDiagnosticEvents: z$1.ZodBoolean;
115
114
  showGitChanges: z$1.ZodBoolean;
116
115
  showKeyboardHints: z$1.ZodBoolean;
@@ -134,7 +133,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
134
133
  flat: "flat";
135
134
  }>>;
136
135
  providerOrder: z$1.ZodArray<z$1.ZodString>;
137
- setupChecklistVisible: z$1.ZodOptional<z$1.ZodBoolean>;
138
136
  showDiagnosticEvents: z$1.ZodBoolean;
139
137
  showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
140
138
  showKeyboardHints: z$1.ZodBoolean;
@@ -157,7 +155,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
157
155
  flat: "flat";
158
156
  }>>;
159
157
  providerOrder: z$1.ZodArray<z$1.ZodString>;
160
- setupChecklistVisible: z$1.ZodOptional<z$1.ZodBoolean>;
161
158
  showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
162
159
  showKeyboardHints: z$1.ZodBoolean;
163
160
  showUnhandledProviderEvents: z$1.ZodBoolean;
@@ -167,7 +164,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
167
164
  }, z$1.core.$strict>]>;
168
165
  type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
169
166
 
170
- declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
167
+ declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
171
168
  type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
172
169
  interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
173
170
  schema: Schema;
@@ -196,15 +193,6 @@ declare const uiPreferenceDefinitions: {
196
193
  readonly "sidebar.manualSectionOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
197
194
  readonly "sidebar.machineSectionOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
198
195
  readonly "sidebar.hiddenGroups": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
199
- readonly "sidebar.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodEnum<{
200
- pinned: "pinned";
201
- threads: "threads";
202
- }>>>;
203
- readonly "sidebar.collapsedProjects": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
204
- readonly "sidebar.collapsedThreads": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
205
- readonly "sidebar.collapsedEnvironments": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
206
- readonly "sidebar.collapsedThreadSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
207
- readonly "sidebar.collapsedMachines": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
208
196
  readonly "sidebar.footerOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
209
197
  readonly "sidebar.hiddenFooterItems": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
210
198
  readonly "sidebar.pluginPanelOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
@@ -704,6 +692,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
704
692
  type: z$1.ZodLiteral<"turn/input/accepted">;
705
693
  }, z$1.core.$strict>, z$1.ZodObject<{
706
694
  providerThreadId: z$1.ZodString;
695
+ source: z$1.ZodOptional<z$1.ZodLiteral<"agent">>;
707
696
  threadId: z$1.ZodString;
708
697
  threadName: z$1.ZodString;
709
698
  type: z$1.ZodLiteral<"thread/name/updated">;
@@ -2631,6 +2620,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2631
2620
  type: z$1.ZodLiteral<"thread/tokenUsage/updated">;
2632
2621
  }, z$1.core.$strip>, z$1.ZodObject<{
2633
2622
  contextWindowUsage: z$1.ZodObject<{
2623
+ cost: z$1.ZodOptional<z$1.ZodObject<{
2624
+ amount: z$1.ZodNumber;
2625
+ currency: z$1.ZodString;
2626
+ }, z$1.core.$strip>>;
2634
2627
  estimated: z$1.ZodBoolean;
2635
2628
  modelContextWindow: z$1.ZodNullable<z$1.ZodNumber>;
2636
2629
  snapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -2853,16 +2846,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2853
2846
  full: "full";
2854
2847
  readonly: "readonly";
2855
2848
  }>;
2856
- reasoningLevel: z$1.ZodEnum<{
2857
- high: "high";
2858
- low: "low";
2859
- max: "max";
2860
- medium: "medium";
2861
- none: "none";
2862
- ultra: "ultra";
2863
- ultracode: "ultracode";
2864
- xhigh: "xhigh";
2865
- }>;
2849
+ reasoningLevel: z$1.ZodString;
2866
2850
  seq: z$1.ZodOptional<z$1.ZodNumber>;
2867
2851
  serviceTier: z$1.ZodString;
2868
2852
  source: z$1.ZodEnum<{
@@ -2928,6 +2912,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2928
2912
  kind: z$1.ZodLiteral<"plugin">;
2929
2913
  label: z$1.ZodString;
2930
2914
  pluginId: z$1.ZodString;
2915
+ }, z$1.core.$strip>, z$1.ZodObject<{
2916
+ kind: z$1.ZodLiteral<"attachment">;
2917
+ label: z$1.ZodString;
2918
+ path: z$1.ZodString;
2931
2919
  }, z$1.core.$strip>], "kind">, unknown>;
2932
2920
  start: z$1.ZodNumber;
2933
2921
  }, z$1.core.$strip>>>;
@@ -3014,6 +3002,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3014
3002
  kind: z$1.ZodLiteral<"plugin">;
3015
3003
  label: z$1.ZodString;
3016
3004
  pluginId: z$1.ZodString;
3005
+ }, z$1.core.$strip>, z$1.ZodObject<{
3006
+ kind: z$1.ZodLiteral<"attachment">;
3007
+ label: z$1.ZodString;
3008
+ path: z$1.ZodString;
3017
3009
  }, z$1.core.$strip>], "kind">, unknown>;
3018
3010
  start: z$1.ZodNumber;
3019
3011
  }, z$1.core.$strip>>>;
@@ -3921,16 +3913,7 @@ declare const projectSourceSchema: z$1.ZodObject<{
3921
3913
  }, z$1.core.$strip>;
3922
3914
  type ProjectSource = z$1.infer<typeof projectSourceSchema>;
3923
3915
 
3924
- declare const reasoningLevelSchema: z$1.ZodEnum<{
3925
- high: "high";
3926
- low: "low";
3927
- max: "max";
3928
- medium: "medium";
3929
- none: "none";
3930
- ultra: "ultra";
3931
- ultracode: "ultracode";
3932
- xhigh: "xhigh";
3933
- }>;
3916
+ declare const reasoningLevelSchema: z$1.ZodString;
3934
3917
  type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
3935
3918
  declare const serviceTierSchema: z$1.ZodString;
3936
3919
  type ServiceTier = z$1.infer<typeof serviceTierSchema>;
@@ -3992,6 +3975,10 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3992
3975
  kind: z$1.ZodLiteral<"plugin">;
3993
3976
  label: z$1.ZodString;
3994
3977
  pluginId: z$1.ZodString;
3978
+ }, z$1.core.$strip>, z$1.ZodObject<{
3979
+ kind: z$1.ZodLiteral<"attachment">;
3980
+ label: z$1.ZodString;
3981
+ path: z$1.ZodString;
3995
3982
  }, z$1.core.$strip>], "kind">, unknown>;
3996
3983
  start: z$1.ZodNumber;
3997
3984
  }, z$1.core.$strip>>>;
@@ -4034,16 +4021,7 @@ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
4034
4021
  auto: "auto";
4035
4022
  full: "full";
4036
4023
  }>;
4037
- reasoningLevel: z$1.ZodEnum<{
4038
- high: "high";
4039
- low: "low";
4040
- max: "max";
4041
- medium: "medium";
4042
- none: "none";
4043
- ultra: "ultra";
4044
- ultracode: "ultracode";
4045
- xhigh: "xhigh";
4046
- }>;
4024
+ reasoningLevel: z$1.ZodString;
4047
4025
  seq: z$1.ZodOptional<z$1.ZodNumber>;
4048
4026
  serviceTier: z$1.ZodString;
4049
4027
  source: z$1.ZodEnum<{
@@ -4053,6 +4031,8 @@ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
4053
4031
  }>;
4054
4032
  }, z$1.core.$strip>;
4055
4033
  type ResolvedThreadExecutionOptions = z$1.infer<typeof resolvedThreadExecutionOptionsSchema>;
4034
+ declare const sessionOptionSelectionsSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>;
4035
+ type SessionOptionSelections = z$1.infer<typeof sessionOptionSelectionsSchema>;
4056
4036
  declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
4057
4037
  model: z$1.ZodString;
4058
4038
  permissionMode: z$1.ZodEnum<{
@@ -4061,16 +4041,7 @@ declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
4061
4041
  full: "full";
4062
4042
  }>;
4063
4043
  providerId: z$1.ZodString;
4064
- reasoningLevel: z$1.ZodEnum<{
4065
- high: "high";
4066
- low: "low";
4067
- max: "max";
4068
- medium: "medium";
4069
- none: "none";
4070
- ultra: "ultra";
4071
- ultracode: "ultracode";
4072
- xhigh: "xhigh";
4073
- }>;
4044
+ reasoningLevel: z$1.ZodString;
4074
4045
  serviceTier: z$1.ZodString;
4075
4046
  }, z$1.core.$strip>;
4076
4047
  type ProjectExecutionDefaults = z$1.infer<typeof projectExecutionDefaultsSchema>;
@@ -4298,6 +4269,10 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4298
4269
  kind: z$1.ZodLiteral<"plugin">;
4299
4270
  label: z$1.ZodString;
4300
4271
  pluginId: z$1.ZodString;
4272
+ }, z$1.core.$strip>, z$1.ZodObject<{
4273
+ kind: z$1.ZodLiteral<"attachment">;
4274
+ label: z$1.ZodString;
4275
+ path: z$1.ZodString;
4301
4276
  }, z$1.core.$strip>], "kind">, unknown>;
4302
4277
  start: z$1.ZodNumber;
4303
4278
  }, z$1.core.$strip>>>;
@@ -4363,16 +4338,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4363
4338
  auto: "auto";
4364
4339
  full: "full";
4365
4340
  }>;
4366
- reasoningLevel: z$1.ZodEnum<{
4367
- high: "high";
4368
- low: "low";
4369
- max: "max";
4370
- medium: "medium";
4371
- none: "none";
4372
- ultra: "ultra";
4373
- ultracode: "ultracode";
4374
- xhigh: "xhigh";
4375
- }>;
4341
+ reasoningLevel: z$1.ZodString;
4376
4342
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
4377
4343
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
4378
4344
  serviceTier: z$1.ZodString;
@@ -4414,6 +4380,10 @@ declare const mobileAppDownloads: {
4414
4380
 
4415
4381
  declare const threadContextResponseSchema: z$1.ZodObject<{
4416
4382
  usage: z$1.ZodNullable<z$1.ZodObject<{
4383
+ cost: z$1.ZodOptional<z$1.ZodObject<{
4384
+ amount: z$1.ZodNumber;
4385
+ currency: z$1.ZodString;
4386
+ }, z$1.core.$strip>>;
4417
4387
  estimated: z$1.ZodBoolean;
4418
4388
  modelContextWindow: z$1.ZodNumber;
4419
4389
  snapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -4720,6 +4690,10 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
4720
4690
  kind: z$1.ZodLiteral<"plugin">;
4721
4691
  label: z$1.ZodString;
4722
4692
  pluginId: z$1.ZodString;
4693
+ }, z$1.core.$strip>, z$1.ZodObject<{
4694
+ kind: z$1.ZodLiteral<"attachment">;
4695
+ label: z$1.ZodString;
4696
+ path: z$1.ZodString;
4723
4697
  }, z$1.core.$strip>], "kind">, unknown>;
4724
4698
  start: z$1.ZodNumber;
4725
4699
  }, z$1.core.$strip>>>;
@@ -4855,16 +4829,7 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
4855
4829
  full: "full";
4856
4830
  }>;
4857
4831
  providerId: z$1.ZodString;
4858
- reasoningLevel: z$1.ZodEnum<{
4859
- high: "high";
4860
- low: "low";
4861
- max: "max";
4862
- medium: "medium";
4863
- none: "none";
4864
- ultra: "ultra";
4865
- ultracode: "ultracode";
4866
- xhigh: "xhigh";
4867
- }>;
4832
+ reasoningLevel: z$1.ZodString;
4868
4833
  serviceTier: z$1.ZodString;
4869
4834
  }, z$1.core.$strip>>;
4870
4835
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -4970,16 +4935,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
4970
4935
  full: "full";
4971
4936
  }>;
4972
4937
  providerId: z$1.ZodString;
4973
- reasoningLevel: z$1.ZodEnum<{
4974
- high: "high";
4975
- low: "low";
4976
- max: "max";
4977
- medium: "medium";
4978
- none: "none";
4979
- ultra: "ultra";
4980
- ultracode: "ultracode";
4981
- xhigh: "xhigh";
4982
- }>;
4938
+ reasoningLevel: z$1.ZodString;
4983
4939
  serviceTier: z$1.ZodString;
4984
4940
  }, z$1.core.$strip>>;
4985
4941
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -5083,16 +5039,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5083
5039
  full: "full";
5084
5040
  }>;
5085
5041
  providerId: z$1.ZodString;
5086
- reasoningLevel: z$1.ZodEnum<{
5087
- high: "high";
5088
- low: "low";
5089
- max: "max";
5090
- medium: "medium";
5091
- none: "none";
5092
- ultra: "ultra";
5093
- ultracode: "ultracode";
5094
- xhigh: "xhigh";
5095
- }>;
5042
+ reasoningLevel: z$1.ZodString;
5096
5043
  serviceTier: z$1.ZodString;
5097
5044
  }, z$1.core.$strip>>;
5098
5045
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -5273,6 +5220,10 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
5273
5220
  kind: z$1.ZodLiteral<"plugin">;
5274
5221
  label: z$1.ZodString;
5275
5222
  pluginId: z$1.ZodString;
5223
+ }, z$1.core.$strip>, z$1.ZodObject<{
5224
+ kind: z$1.ZodLiteral<"attachment">;
5225
+ label: z$1.ZodString;
5226
+ path: z$1.ZodString;
5276
5227
  }, z$1.core.$strip>], "kind">, unknown>;
5277
5228
  start: z$1.ZodNumber;
5278
5229
  }, z$1.core.$strip>>>;
@@ -6215,17 +6166,9 @@ declare const hostDaemonCommandRegistry: {
6215
6166
  model: z$1.ZodString;
6216
6167
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6217
6168
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6218
- reasoningLevel: z$1.ZodEnum<{
6219
- high: "high";
6220
- low: "low";
6221
- max: "max";
6222
- medium: "medium";
6223
- none: "none";
6224
- ultra: "ultra";
6225
- ultracode: "ultracode";
6226
- xhigh: "xhigh";
6227
- }>;
6169
+ reasoningLevel: z$1.ZodString;
6228
6170
  serviceTier: z$1.ZodString;
6171
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6229
6172
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6230
6173
  approvalReviewer: z$1.ZodLiteral<"user">;
6231
6174
  permissionEscalation: z$1.ZodEnum<{
@@ -6418,6 +6361,10 @@ declare const hostDaemonCommandRegistry: {
6418
6361
  kind: z$1.ZodLiteral<"plugin">;
6419
6362
  label: z$1.ZodString;
6420
6363
  pluginId: z$1.ZodString;
6364
+ }, z$1.core.$strip>, z$1.ZodObject<{
6365
+ kind: z$1.ZodLiteral<"attachment">;
6366
+ label: z$1.ZodString;
6367
+ path: z$1.ZodString;
6421
6368
  }, z$1.core.$strip>], "kind">, unknown>;
6422
6369
  start: z$1.ZodNumber;
6423
6370
  }, z$1.core.$strip>>>;
@@ -6504,6 +6451,10 @@ declare const hostDaemonCommandRegistry: {
6504
6451
  kind: z$1.ZodLiteral<"plugin">;
6505
6452
  label: z$1.ZodString;
6506
6453
  pluginId: z$1.ZodString;
6454
+ }, z$1.core.$strip>, z$1.ZodObject<{
6455
+ kind: z$1.ZodLiteral<"attachment">;
6456
+ label: z$1.ZodString;
6457
+ path: z$1.ZodString;
6507
6458
  }, z$1.core.$strip>], "kind">, unknown>;
6508
6459
  start: z$1.ZodNumber;
6509
6460
  }, z$1.core.$strip>>>;
@@ -6547,17 +6498,9 @@ declare const hostDaemonCommandRegistry: {
6547
6498
  model: z$1.ZodString;
6548
6499
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6549
6500
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6550
- reasoningLevel: z$1.ZodEnum<{
6551
- high: "high";
6552
- low: "low";
6553
- max: "max";
6554
- medium: "medium";
6555
- none: "none";
6556
- ultra: "ultra";
6557
- ultracode: "ultracode";
6558
- xhigh: "xhigh";
6559
- }>;
6501
+ reasoningLevel: z$1.ZodString;
6560
6502
  serviceTier: z$1.ZodString;
6503
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6561
6504
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6562
6505
  approvalReviewer: z$1.ZodLiteral<"user">;
6563
6506
  permissionEscalation: z$1.ZodEnum<{
@@ -6672,6 +6615,10 @@ declare const hostDaemonCommandRegistry: {
6672
6615
  kind: z$1.ZodLiteral<"plugin">;
6673
6616
  label: z$1.ZodString;
6674
6617
  pluginId: z$1.ZodString;
6618
+ }, z$1.core.$strip>, z$1.ZodObject<{
6619
+ kind: z$1.ZodLiteral<"attachment">;
6620
+ label: z$1.ZodString;
6621
+ path: z$1.ZodString;
6675
6622
  }, z$1.core.$strip>], "kind">, unknown>;
6676
6623
  start: z$1.ZodNumber;
6677
6624
  }, z$1.core.$strip>>>;
@@ -6758,6 +6705,10 @@ declare const hostDaemonCommandRegistry: {
6758
6705
  kind: z$1.ZodLiteral<"plugin">;
6759
6706
  label: z$1.ZodString;
6760
6707
  pluginId: z$1.ZodString;
6708
+ }, z$1.core.$strip>, z$1.ZodObject<{
6709
+ kind: z$1.ZodLiteral<"attachment">;
6710
+ label: z$1.ZodString;
6711
+ path: z$1.ZodString;
6761
6712
  }, z$1.core.$strip>], "kind">, unknown>;
6762
6713
  start: z$1.ZodNumber;
6763
6714
  }, z$1.core.$strip>>>;
@@ -6796,17 +6747,9 @@ declare const hostDaemonCommandRegistry: {
6796
6747
  model: z$1.ZodString;
6797
6748
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6798
6749
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6799
- reasoningLevel: z$1.ZodEnum<{
6800
- high: "high";
6801
- low: "low";
6802
- max: "max";
6803
- medium: "medium";
6804
- none: "none";
6805
- ultra: "ultra";
6806
- ultracode: "ultracode";
6807
- xhigh: "xhigh";
6808
- }>;
6750
+ reasoningLevel: z$1.ZodString;
6809
6751
  serviceTier: z$1.ZodString;
6752
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6810
6753
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6811
6754
  approvalReviewer: z$1.ZodLiteral<"user">;
6812
6755
  permissionEscalation: z$1.ZodEnum<{
@@ -6954,7 +6897,21 @@ declare const hostDaemonCommandRegistry: {
6954
6897
  }, z$1.core.$strip>], "mode">;
6955
6898
  threadId: z$1.ZodString;
6956
6899
  type: z$1.ZodLiteral<"turn.submit">;
6957
- }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
6900
+ }, z$1.core.$strict>, z$1.ZodObject<{
6901
+ trace: z$1.ZodObject<{
6902
+ spans: z$1.ZodArray<z$1.ZodObject<{
6903
+ atMs: z$1.ZodNumber;
6904
+ name: z$1.ZodEnum<{
6905
+ "bridge.turnStarted": "bridge.turnStarted";
6906
+ "events.flushed": "events.flushed";
6907
+ "input.staged": "input.staged";
6908
+ "lanes.entered": "lanes.entered";
6909
+ "runtime.ready": "runtime.ready";
6910
+ "skills.staged": "skills.staged";
6911
+ }>;
6912
+ }, z$1.core.$strict>>;
6913
+ }, z$1.core.$strict>;
6914
+ }, z$1.core.$strip>, "settled", false>;
6958
6915
  "thread.stop": HostDaemonCommandDescriptor<"thread.stop", z$1.ZodObject<{
6959
6916
  environmentId: z$1.ZodString;
6960
6917
  intent: z$1.ZodEnum<{
@@ -7007,17 +6964,9 @@ declare const hostDaemonCommandRegistry: {
7007
6964
  model: z$1.ZodString;
7008
6965
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
7009
6966
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7010
- reasoningLevel: z$1.ZodEnum<{
7011
- high: "high";
7012
- low: "low";
7013
- max: "max";
7014
- medium: "medium";
7015
- none: "none";
7016
- ultra: "ultra";
7017
- ultracode: "ultracode";
7018
- xhigh: "xhigh";
7019
- }>;
6967
+ reasoningLevel: z$1.ZodString;
7020
6968
  serviceTier: z$1.ZodString;
6969
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
7021
6970
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7022
6971
  approvalReviewer: z$1.ZodLiteral<"user">;
7023
6972
  permissionEscalation: z$1.ZodEnum<{
@@ -7772,6 +7721,65 @@ declare const hostDaemonCommandRegistry: {
7772
7721
  }>;
7773
7722
  }, z$1.core.$strip>>;
7774
7723
  }, z$1.core.$strip>, "onlineRpc", true>;
7724
+ "host.read_workspace_agent_context": HostDaemonCommandDescriptor<"host.read_workspace_agent_context", z$1.ZodObject<{
7725
+ includeAgentInstructions: z$1.ZodBoolean;
7726
+ projectSkillRead: z$1.ZodObject<{
7727
+ excludeNames: z$1.ZodArray<z$1.ZodString>;
7728
+ limit: z$1.ZodNumber;
7729
+ maxContentBytes: z$1.ZodNumber;
7730
+ maxFileBytes: z$1.ZodNumber;
7731
+ }, z$1.core.$strict>;
7732
+ rootPath: z$1.ZodString;
7733
+ sharedSkillRoots: z$1.ZodObject<{
7734
+ project: z$1.ZodArray<z$1.ZodObject<{
7735
+ ancestors: z$1.ZodBoolean;
7736
+ namePrefix: z$1.ZodString;
7737
+ path: z$1.ZodString;
7738
+ recursive: z$1.ZodBoolean;
7739
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
7740
+ }, z$1.core.$strict>>;
7741
+ user: z$1.ZodArray<z$1.ZodObject<{
7742
+ ancestors: z$1.ZodBoolean;
7743
+ namePrefix: z$1.ZodString;
7744
+ path: z$1.ZodString;
7745
+ recursive: z$1.ZodBoolean;
7746
+ skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
7747
+ }, z$1.core.$strict>>;
7748
+ }, z$1.core.$strict>;
7749
+ type: z$1.ZodLiteral<"host.read_workspace_agent_context">;
7750
+ }, z$1.core.$strict>, z$1.ZodObject<{
7751
+ agentInstructions: z$1.ZodNullable<z$1.ZodString>;
7752
+ projectSkills: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7753
+ directoryName: z$1.ZodString;
7754
+ kind: z$1.ZodLiteral<"budget-exceeded">;
7755
+ }, z$1.core.$strict>, z$1.ZodObject<{
7756
+ content: z$1.ZodString;
7757
+ directoryName: z$1.ZodString;
7758
+ kind: z$1.ZodLiteral<"file">;
7759
+ }, z$1.core.$strict>, z$1.ZodObject<{
7760
+ directoryName: z$1.ZodString;
7761
+ kind: z$1.ZodLiteral<"oversized">;
7762
+ sizeBytes: z$1.ZodNumber;
7763
+ }, z$1.core.$strict>], "kind">>;
7764
+ projectSkillsTruncated: z$1.ZodBoolean;
7765
+ sharedSkills: z$1.ZodArray<z$1.ZodObject<{
7766
+ description: z$1.ZodNullable<z$1.ZodString>;
7767
+ filePath: z$1.ZodString;
7768
+ id: z$1.ZodString;
7769
+ linked: z$1.ZodBoolean;
7770
+ name: z$1.ZodString;
7771
+ rootKind: z$1.ZodEnum<{
7772
+ "bb-builtin": "bb-builtin";
7773
+ "bb-data-dir": "bb-data-dir";
7774
+ "bb-project": "bb-project";
7775
+ "provider-project": "provider-project";
7776
+ "provider-user": "provider-user";
7777
+ "shared-project": "shared-project";
7778
+ "shared-user": "shared-user";
7779
+ plugin: "plugin";
7780
+ }>;
7781
+ }, z$1.core.$strip>>;
7782
+ }, z$1.core.$strict>, "onlineRpc", true>;
7775
7783
  "host.delete_skill": HostDaemonCommandDescriptor<"host.delete_skill", z$1.ZodObject<{
7776
7784
  cwd: z$1.ZodNullable<z$1.ZodString>;
7777
7785
  name: z$1.ZodString;
@@ -8026,34 +8034,39 @@ declare const hostDaemonCommandRegistry: {
8026
8034
  type: z$1.ZodLiteral<"provider.list_models">;
8027
8035
  }, z$1.core.$strip>, z$1.ZodObject<{
8028
8036
  models: z$1.ZodArray<z$1.ZodObject<{
8029
- defaultReasoningEffort: z$1.ZodEnum<{
8030
- high: "high";
8031
- low: "low";
8032
- max: "max";
8033
- medium: "medium";
8034
- none: "none";
8035
- ultra: "ultra";
8036
- ultracode: "ultracode";
8037
- xhigh: "xhigh";
8038
- }>;
8037
+ defaultReasoningEffort: z$1.ZodString;
8039
8038
  description: z$1.ZodString;
8040
8039
  displayName: z$1.ZodString;
8041
8040
  id: z$1.ZodString;
8042
8041
  isDefault: z$1.ZodBoolean;
8043
8042
  model: z$1.ZodString;
8044
8043
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
8044
+ sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8045
+ category: z$1.ZodOptional<z$1.ZodString>;
8046
+ description: z$1.ZodOptional<z$1.ZodString>;
8047
+ id: z$1.ZodString;
8048
+ label: z$1.ZodString;
8049
+ type: z$1.ZodLiteral<"select">;
8050
+ value: z$1.ZodString;
8051
+ values: z$1.ZodArray<z$1.ZodObject<{
8052
+ description: z$1.ZodOptional<z$1.ZodString>;
8053
+ group: z$1.ZodOptional<z$1.ZodString>;
8054
+ id: z$1.ZodString;
8055
+ label: z$1.ZodString;
8056
+ }, z$1.core.$strip>>;
8057
+ }, z$1.core.$strip>, z$1.ZodObject<{
8058
+ category: z$1.ZodOptional<z$1.ZodString>;
8059
+ description: z$1.ZodOptional<z$1.ZodString>;
8060
+ fixed: z$1.ZodOptional<z$1.ZodBoolean>;
8061
+ id: z$1.ZodString;
8062
+ label: z$1.ZodString;
8063
+ type: z$1.ZodLiteral<"boolean">;
8064
+ value: z$1.ZodBoolean;
8065
+ }, z$1.core.$strip>], "type">>>;
8045
8066
  supportedReasoningEfforts: z$1.ZodArray<z$1.ZodObject<{
8046
8067
  description: z$1.ZodString;
8047
- reasoningEffort: z$1.ZodEnum<{
8048
- high: "high";
8049
- low: "low";
8050
- max: "max";
8051
- medium: "medium";
8052
- none: "none";
8053
- ultra: "ultra";
8054
- ultracode: "ultracode";
8055
- xhigh: "xhigh";
8056
- }>;
8068
+ label: z$1.ZodOptional<z$1.ZodString>;
8069
+ reasoningEffort: z$1.ZodString;
8057
8070
  }, z$1.core.$strip>>;
8058
8071
  supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8059
8072
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -8062,34 +8075,39 @@ declare const hostDaemonCommandRegistry: {
8062
8075
  }, z$1.core.$strip>>>;
8063
8076
  }, z$1.core.$strip>>;
8064
8077
  selectedOnlyModels: z$1.ZodArray<z$1.ZodObject<{
8065
- defaultReasoningEffort: z$1.ZodEnum<{
8066
- high: "high";
8067
- low: "low";
8068
- max: "max";
8069
- medium: "medium";
8070
- none: "none";
8071
- ultra: "ultra";
8072
- ultracode: "ultracode";
8073
- xhigh: "xhigh";
8074
- }>;
8078
+ defaultReasoningEffort: z$1.ZodString;
8075
8079
  description: z$1.ZodString;
8076
8080
  displayName: z$1.ZodString;
8077
8081
  id: z$1.ZodString;
8078
8082
  isDefault: z$1.ZodBoolean;
8079
8083
  model: z$1.ZodString;
8080
8084
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
8085
+ sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8086
+ category: z$1.ZodOptional<z$1.ZodString>;
8087
+ description: z$1.ZodOptional<z$1.ZodString>;
8088
+ id: z$1.ZodString;
8089
+ label: z$1.ZodString;
8090
+ type: z$1.ZodLiteral<"select">;
8091
+ value: z$1.ZodString;
8092
+ values: z$1.ZodArray<z$1.ZodObject<{
8093
+ description: z$1.ZodOptional<z$1.ZodString>;
8094
+ group: z$1.ZodOptional<z$1.ZodString>;
8095
+ id: z$1.ZodString;
8096
+ label: z$1.ZodString;
8097
+ }, z$1.core.$strip>>;
8098
+ }, z$1.core.$strip>, z$1.ZodObject<{
8099
+ category: z$1.ZodOptional<z$1.ZodString>;
8100
+ description: z$1.ZodOptional<z$1.ZodString>;
8101
+ fixed: z$1.ZodOptional<z$1.ZodBoolean>;
8102
+ id: z$1.ZodString;
8103
+ label: z$1.ZodString;
8104
+ type: z$1.ZodLiteral<"boolean">;
8105
+ value: z$1.ZodBoolean;
8106
+ }, z$1.core.$strip>], "type">>>;
8081
8107
  supportedReasoningEfforts: z$1.ZodArray<z$1.ZodObject<{
8082
8108
  description: z$1.ZodString;
8083
- reasoningEffort: z$1.ZodEnum<{
8084
- high: "high";
8085
- low: "low";
8086
- max: "max";
8087
- medium: "medium";
8088
- none: "none";
8089
- ultra: "ultra";
8090
- ultracode: "ultracode";
8091
- xhigh: "xhigh";
8092
- }>;
8109
+ label: z$1.ZodOptional<z$1.ZodString>;
8110
+ reasoningEffort: z$1.ZodString;
8093
8111
  }, z$1.core.$strip>>;
8094
8112
  supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8095
8113
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -9905,6 +9923,7 @@ declare const pluginSettingsResponseSchema: z$1.ZodObject<{
9905
9923
  }, z$1.core.$strict>, z$1.ZodObject<{
9906
9924
  default: z$1.ZodOptional<z$1.ZodString>;
9907
9925
  description: z$1.ZodOptional<z$1.ZodString>;
9926
+ experimental_optionLabels: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
9908
9927
  label: z$1.ZodString;
9909
9928
  options: z$1.ZodArray<z$1.ZodString>;
9910
9929
  type: z$1.ZodLiteral<"select">;
@@ -10143,34 +10162,39 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
10143
10162
  providerId: z$1.ZodString;
10144
10163
  }, z$1.core.$strip>>;
10145
10164
  models: z$1.ZodArray<z$1.ZodObject<{
10146
- defaultReasoningEffort: z$1.ZodEnum<{
10147
- high: "high";
10148
- low: "low";
10149
- max: "max";
10150
- medium: "medium";
10151
- none: "none";
10152
- ultra: "ultra";
10153
- ultracode: "ultracode";
10154
- xhigh: "xhigh";
10155
- }>;
10165
+ defaultReasoningEffort: z$1.ZodString;
10156
10166
  description: z$1.ZodString;
10157
10167
  displayName: z$1.ZodString;
10158
10168
  id: z$1.ZodString;
10159
10169
  isDefault: z$1.ZodBoolean;
10160
10170
  model: z$1.ZodString;
10161
10171
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
10172
+ sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10173
+ category: z$1.ZodOptional<z$1.ZodString>;
10174
+ description: z$1.ZodOptional<z$1.ZodString>;
10175
+ id: z$1.ZodString;
10176
+ label: z$1.ZodString;
10177
+ type: z$1.ZodLiteral<"select">;
10178
+ value: z$1.ZodString;
10179
+ values: z$1.ZodArray<z$1.ZodObject<{
10180
+ description: z$1.ZodOptional<z$1.ZodString>;
10181
+ group: z$1.ZodOptional<z$1.ZodString>;
10182
+ id: z$1.ZodString;
10183
+ label: z$1.ZodString;
10184
+ }, z$1.core.$strip>>;
10185
+ }, z$1.core.$strip>, z$1.ZodObject<{
10186
+ category: z$1.ZodOptional<z$1.ZodString>;
10187
+ description: z$1.ZodOptional<z$1.ZodString>;
10188
+ fixed: z$1.ZodOptional<z$1.ZodBoolean>;
10189
+ id: z$1.ZodString;
10190
+ label: z$1.ZodString;
10191
+ type: z$1.ZodLiteral<"boolean">;
10192
+ value: z$1.ZodBoolean;
10193
+ }, z$1.core.$strip>], "type">>>;
10162
10194
  supportedReasoningEfforts: z$1.ZodArray<z$1.ZodObject<{
10163
10195
  description: z$1.ZodString;
10164
- reasoningEffort: z$1.ZodEnum<{
10165
- high: "high";
10166
- low: "low";
10167
- max: "max";
10168
- medium: "medium";
10169
- none: "none";
10170
- ultra: "ultra";
10171
- ultracode: "ultracode";
10172
- xhigh: "xhigh";
10173
- }>;
10196
+ label: z$1.ZodOptional<z$1.ZodString>;
10197
+ reasoningEffort: z$1.ZodString;
10174
10198
  }, z$1.core.$strip>>;
10175
10199
  supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10176
10200
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -10273,34 +10297,39 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
10273
10297
  }, z$1.core.$strip>>;
10274
10298
  }, z$1.core.$strip>>;
10275
10299
  selectedOnlyModels: z$1.ZodArray<z$1.ZodObject<{
10276
- defaultReasoningEffort: z$1.ZodEnum<{
10277
- high: "high";
10278
- low: "low";
10279
- max: "max";
10280
- medium: "medium";
10281
- none: "none";
10282
- ultra: "ultra";
10283
- ultracode: "ultracode";
10284
- xhigh: "xhigh";
10285
- }>;
10300
+ defaultReasoningEffort: z$1.ZodString;
10286
10301
  description: z$1.ZodString;
10287
10302
  displayName: z$1.ZodString;
10288
10303
  id: z$1.ZodString;
10289
10304
  isDefault: z$1.ZodBoolean;
10290
10305
  model: z$1.ZodString;
10291
10306
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
10307
+ sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10308
+ category: z$1.ZodOptional<z$1.ZodString>;
10309
+ description: z$1.ZodOptional<z$1.ZodString>;
10310
+ id: z$1.ZodString;
10311
+ label: z$1.ZodString;
10312
+ type: z$1.ZodLiteral<"select">;
10313
+ value: z$1.ZodString;
10314
+ values: z$1.ZodArray<z$1.ZodObject<{
10315
+ description: z$1.ZodOptional<z$1.ZodString>;
10316
+ group: z$1.ZodOptional<z$1.ZodString>;
10317
+ id: z$1.ZodString;
10318
+ label: z$1.ZodString;
10319
+ }, z$1.core.$strip>>;
10320
+ }, z$1.core.$strip>, z$1.ZodObject<{
10321
+ category: z$1.ZodOptional<z$1.ZodString>;
10322
+ description: z$1.ZodOptional<z$1.ZodString>;
10323
+ fixed: z$1.ZodOptional<z$1.ZodBoolean>;
10324
+ id: z$1.ZodString;
10325
+ label: z$1.ZodString;
10326
+ type: z$1.ZodLiteral<"boolean">;
10327
+ value: z$1.ZodBoolean;
10328
+ }, z$1.core.$strip>], "type">>>;
10292
10329
  supportedReasoningEfforts: z$1.ZodArray<z$1.ZodObject<{
10293
10330
  description: z$1.ZodString;
10294
- reasoningEffort: z$1.ZodEnum<{
10295
- high: "high";
10296
- low: "low";
10297
- max: "max";
10298
- medium: "medium";
10299
- none: "none";
10300
- ultra: "ultra";
10301
- ultracode: "ultracode";
10302
- xhigh: "xhigh";
10303
- }>;
10331
+ label: z$1.ZodOptional<z$1.ZodString>;
10332
+ reasoningEffort: z$1.ZodString;
10304
10333
  }, z$1.core.$strip>>;
10305
10334
  supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10306
10335
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -10619,7 +10648,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10619
10648
  flat: "flat";
10620
10649
  }>>;
10621
10650
  providerOrder: z$1.ZodArray<z$1.ZodString>;
10622
- setupChecklistVisible: z$1.ZodBoolean;
10623
10651
  showDiagnosticEvents: z$1.ZodBoolean;
10624
10652
  showGitChanges: z$1.ZodBoolean;
10625
10653
  showKeyboardHints: z$1.ZodBoolean;
@@ -11399,6 +11427,11 @@ type TimelineRowBase = z$1.infer<typeof timelineRowBaseSchema>;
11399
11427
  declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
11400
11428
  attachments: z$1.ZodNullable<z$1.ZodObject<{
11401
11429
  imageUrls: z$1.ZodArray<z$1.ZodString>;
11430
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
11431
+ name: z$1.ZodString;
11432
+ path: z$1.ZodString;
11433
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
11434
+ }, z$1.core.$strip>>;
11402
11435
  localFilePaths: z$1.ZodArray<z$1.ZodString>;
11403
11436
  localFiles: z$1.ZodNumber;
11404
11437
  localImagePaths: z$1.ZodArray<z$1.ZodString>;
@@ -11464,6 +11497,10 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
11464
11497
  kind: z$1.ZodLiteral<"plugin">;
11465
11498
  label: z$1.ZodString;
11466
11499
  pluginId: z$1.ZodString;
11500
+ }, z$1.core.$strip>, z$1.ZodObject<{
11501
+ kind: z$1.ZodLiteral<"attachment">;
11502
+ label: z$1.ZodString;
11503
+ path: z$1.ZodString;
11467
11504
  }, z$1.core.$strip>], "kind">, unknown>;
11468
11505
  start: z$1.ZodNumber;
11469
11506
  }, z$1.core.$strip>>;
@@ -11548,6 +11585,11 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
11548
11585
  }, z$1.core.$strip>, z$1.ZodObject<{
11549
11586
  attachments: z$1.ZodNullable<z$1.ZodObject<{
11550
11587
  imageUrls: z$1.ZodArray<z$1.ZodString>;
11588
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
11589
+ name: z$1.ZodString;
11590
+ path: z$1.ZodString;
11591
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
11592
+ }, z$1.core.$strip>>;
11551
11593
  localFilePaths: z$1.ZodArray<z$1.ZodString>;
11552
11594
  localFiles: z$1.ZodNumber;
11553
11595
  localImagePaths: z$1.ZodArray<z$1.ZodString>;
@@ -12678,6 +12720,10 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12678
12720
  kind: z$1.ZodLiteral<"plugin">;
12679
12721
  label: z$1.ZodString;
12680
12722
  pluginId: z$1.ZodString;
12723
+ }, z$1.core.$strip>, z$1.ZodObject<{
12724
+ kind: z$1.ZodLiteral<"attachment">;
12725
+ label: z$1.ZodString;
12726
+ path: z$1.ZodString;
12681
12727
  }, z$1.core.$strip>], "kind">, unknown>;
12682
12728
  start: z$1.ZodNumber;
12683
12729
  }, z$1.core.$strip>>>;
@@ -12738,19 +12784,11 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12738
12784
  }, z$1.core.$strip>>;
12739
12785
  projectId: z$1.ZodString;
12740
12786
  providerId: z$1.ZodOptional<z$1.ZodString>;
12741
- reasoningLevel: z$1.ZodOptional<z$1.ZodEnum<{
12742
- high: "high";
12743
- low: "low";
12744
- max: "max";
12745
- medium: "medium";
12746
- none: "none";
12747
- ultra: "ultra";
12748
- ultracode: "ultracode";
12749
- xhigh: "xhigh";
12750
- }>>;
12787
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
12751
12788
  sectionId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12752
12789
  sendAt: z$1.ZodOptional<z$1.ZodNumber>;
12753
12790
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
12791
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
12754
12792
  sourceSeqEnd: z$1.ZodOptional<z$1.ZodNumber>;
12755
12793
  sourceThreadId: z$1.ZodOptional<z$1.ZodString>;
12756
12794
  startedOnBehalfOf: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodObject<{
@@ -12820,6 +12858,10 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12820
12858
  kind: z$1.ZodLiteral<"plugin">;
12821
12859
  label: z$1.ZodString;
12822
12860
  pluginId: z$1.ZodString;
12861
+ }, z$1.core.$strip>, z$1.ZodObject<{
12862
+ kind: z$1.ZodLiteral<"attachment">;
12863
+ label: z$1.ZodString;
12864
+ path: z$1.ZodString;
12823
12865
  }, z$1.core.$strip>], "kind">, unknown>;
12824
12866
  start: z$1.ZodNumber;
12825
12867
  }, z$1.core.$strip>>>;
@@ -12950,6 +12992,10 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12950
12992
  kind: z$1.ZodLiteral<"plugin">;
12951
12993
  label: z$1.ZodString;
12952
12994
  pluginId: z$1.ZodString;
12995
+ }, z$1.core.$strip>, z$1.ZodObject<{
12996
+ kind: z$1.ZodLiteral<"attachment">;
12997
+ label: z$1.ZodString;
12998
+ path: z$1.ZodString;
12953
12999
  }, z$1.core.$strip>], "kind">, unknown>;
12954
13000
  start: z$1.ZodNumber;
12955
13001
  }, z$1.core.$strip>>>;
@@ -13078,6 +13124,10 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
13078
13124
  kind: z$1.ZodLiteral<"plugin">;
13079
13125
  label: z$1.ZodString;
13080
13126
  pluginId: z$1.ZodString;
13127
+ }, z$1.core.$strip>, z$1.ZodObject<{
13128
+ kind: z$1.ZodLiteral<"attachment">;
13129
+ label: z$1.ZodString;
13130
+ path: z$1.ZodString;
13081
13131
  }, z$1.core.$strip>], "kind">, unknown>;
13082
13132
  start: z$1.ZodNumber;
13083
13133
  }, z$1.core.$strip>>>;
@@ -13129,16 +13179,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
13129
13179
  data: z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>;
13130
13180
  pluginId: z$1.ZodString;
13131
13181
  }, z$1.core.$strip>>;
13132
- reasoningLevel: z$1.ZodOptional<z$1.ZodEnum<{
13133
- high: "high";
13134
- low: "low";
13135
- max: "max";
13136
- medium: "medium";
13137
- none: "none";
13138
- ultra: "ultra";
13139
- ultracode: "ultracode";
13140
- xhigh: "xhigh";
13141
- }>>;
13182
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
13142
13183
  sendAt: z$1.ZodOptional<z$1.ZodNumber>;
13143
13184
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
13144
13185
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
@@ -13208,6 +13249,10 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
13208
13249
  kind: z$1.ZodLiteral<"plugin">;
13209
13250
  label: z$1.ZodString;
13210
13251
  pluginId: z$1.ZodString;
13252
+ }, z$1.core.$strip>, z$1.ZodObject<{
13253
+ kind: z$1.ZodLiteral<"attachment">;
13254
+ label: z$1.ZodString;
13255
+ path: z$1.ZodString;
13211
13256
  }, z$1.core.$strip>], "kind">, unknown>;
13212
13257
  start: z$1.ZodNumber;
13213
13258
  }, z$1.core.$strip>>>;
@@ -13273,16 +13318,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
13273
13318
  auto: "auto";
13274
13319
  full: "full";
13275
13320
  }>;
13276
- reasoningLevel: z$1.ZodEnum<{
13277
- high: "high";
13278
- low: "low";
13279
- max: "max";
13280
- medium: "medium";
13281
- none: "none";
13282
- ultra: "ultra";
13283
- ultracode: "ultracode";
13284
- xhigh: "xhigh";
13285
- }>;
13321
+ reasoningLevel: z$1.ZodString;
13286
13322
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
13287
13323
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
13288
13324
  serviceTier: z$1.ZodString;
@@ -13383,6 +13419,10 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
13383
13419
  kind: z$1.ZodLiteral<"plugin">;
13384
13420
  label: z$1.ZodString;
13385
13421
  pluginId: z$1.ZodString;
13422
+ }, z$1.core.$strip>, z$1.ZodObject<{
13423
+ kind: z$1.ZodLiteral<"attachment">;
13424
+ label: z$1.ZodString;
13425
+ path: z$1.ZodString;
13386
13426
  }, z$1.core.$strip>], "kind">, unknown>;
13387
13427
  start: z$1.ZodNumber;
13388
13428
  }, z$1.core.$strip>>>;
@@ -13424,16 +13464,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
13424
13464
  auto: "auto";
13425
13465
  full: "full";
13426
13466
  }>, z$1.ZodLiteral<"workspace-write">]>, z$1.ZodTransform<"accept-edits" | "auto" | "full", "accept-edits" | "auto" | "full" | "workspace-write">>>;
13427
- reasoningLevel: z$1.ZodOptional<z$1.ZodEnum<{
13428
- high: "high";
13429
- low: "low";
13430
- max: "max";
13431
- medium: "medium";
13432
- none: "none";
13433
- ultra: "ultra";
13434
- ultracode: "ultracode";
13435
- xhigh: "xhigh";
13436
- }>>;
13467
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
13437
13468
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
13438
13469
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
13439
13470
  }, z$1.core.$strict>;
@@ -13556,6 +13587,10 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
13556
13587
  kind: z$1.ZodLiteral<"plugin">;
13557
13588
  label: z$1.ZodString;
13558
13589
  pluginId: z$1.ZodString;
13590
+ }, z$1.core.$strip>, z$1.ZodObject<{
13591
+ kind: z$1.ZodLiteral<"attachment">;
13592
+ label: z$1.ZodString;
13593
+ path: z$1.ZodString;
13559
13594
  }, z$1.core.$strip>], "kind">, unknown>;
13560
13595
  start: z$1.ZodNumber;
13561
13596
  }, z$1.core.$strip>>>;
@@ -13596,16 +13631,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
13596
13631
  auto: "auto";
13597
13632
  full: "full";
13598
13633
  }>, z$1.ZodLiteral<"workspace-write">]>, z$1.ZodTransform<"accept-edits" | "auto" | "full", "accept-edits" | "auto" | "full" | "workspace-write">>>;
13599
- reasoningLevel: z$1.ZodOptional<z$1.ZodEnum<{
13600
- high: "high";
13601
- low: "low";
13602
- max: "max";
13603
- medium: "medium";
13604
- none: "none";
13605
- ultra: "ultra";
13606
- ultracode: "ultracode";
13607
- xhigh: "xhigh";
13608
- }>>;
13634
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
13609
13635
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
13610
13636
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
13611
13637
  }, z$1.core.$strip>;
@@ -13664,6 +13690,10 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13664
13690
  kind: z$1.ZodLiteral<"plugin">;
13665
13691
  label: z$1.ZodString;
13666
13692
  pluginId: z$1.ZodString;
13693
+ }, z$1.core.$strip>, z$1.ZodObject<{
13694
+ kind: z$1.ZodLiteral<"attachment">;
13695
+ label: z$1.ZodString;
13696
+ path: z$1.ZodString;
13667
13697
  }, z$1.core.$strip>], "kind">, unknown>;
13668
13698
  start: z$1.ZodNumber;
13669
13699
  }, z$1.core.$strip>>>;
@@ -13781,6 +13811,10 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13781
13811
  kind: z$1.ZodLiteral<"plugin">;
13782
13812
  label: z$1.ZodString;
13783
13813
  pluginId: z$1.ZodString;
13814
+ }, z$1.core.$strip>, z$1.ZodObject<{
13815
+ kind: z$1.ZodLiteral<"attachment">;
13816
+ label: z$1.ZodString;
13817
+ path: z$1.ZodString;
13784
13818
  }, z$1.core.$strip>], "kind">, unknown>;
13785
13819
  start: z$1.ZodNumber;
13786
13820
  }, z$1.core.$strip>>>;
@@ -13846,16 +13880,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13846
13880
  auto: "auto";
13847
13881
  full: "full";
13848
13882
  }>;
13849
- reasoningLevel: z$1.ZodEnum<{
13850
- high: "high";
13851
- low: "low";
13852
- max: "max";
13853
- medium: "medium";
13854
- none: "none";
13855
- ultra: "ultra";
13856
- ultracode: "ultracode";
13857
- xhigh: "xhigh";
13858
- }>;
13883
+ reasoningLevel: z$1.ZodString;
13859
13884
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
13860
13885
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
13861
13886
  serviceTier: z$1.ZodString;
@@ -14211,6 +14236,27 @@ declare const threadGetQuerySchema: z$1.ZodObject<{
14211
14236
  }, z$1.core.$strip>;
14212
14237
  type ThreadGetQuery = z$1.infer<typeof threadGetQuerySchema>;
14213
14238
  type ThreadPluginMetadataResponse = z$1.infer<typeof pluginMetadataSchema>;
14239
+ declare const pluginThreadMetadataListResponseSchema: z$1.ZodObject<{
14240
+ threads: z$1.ZodArray<z$1.ZodObject<{
14241
+ metadata: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
14242
+ threadId: z$1.ZodString;
14243
+ }, z$1.core.$strict>>;
14244
+ }, z$1.core.$strict>;
14245
+ type PluginThreadMetadataListResponse = z$1.infer<typeof pluginThreadMetadataListResponseSchema>;
14246
+ declare const threadAncestorsListResponseSchema: z$1.ZodObject<{
14247
+ threads: z$1.ZodArray<z$1.ZodObject<{
14248
+ ancestorIds: z$1.ZodArray<z$1.ZodString>;
14249
+ threadId: z$1.ZodString;
14250
+ }, z$1.core.$strict>>;
14251
+ }, z$1.core.$strict>;
14252
+ type ThreadAncestorsListResponse = z$1.infer<typeof threadAncestorsListResponseSchema>;
14253
+ declare const threadDescendantsListResponseSchema: z$1.ZodObject<{
14254
+ threads: z$1.ZodArray<z$1.ZodObject<{
14255
+ descendantIds: z$1.ZodArray<z$1.ZodString>;
14256
+ threadId: z$1.ZodString;
14257
+ }, z$1.core.$strict>>;
14258
+ }, z$1.core.$strict>;
14259
+ type ThreadDescendantsListResponse = z$1.infer<typeof threadDescendantsListResponseSchema>;
14214
14260
  declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14215
14261
  activeBackgroundAgentCount: z$1.ZodNumber;
14216
14262
  archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
@@ -14712,6 +14758,10 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14712
14758
  kind: z$1.ZodLiteral<"plugin">;
14713
14759
  label: z$1.ZodString;
14714
14760
  pluginId: z$1.ZodString;
14761
+ }, z$1.core.$strip>, z$1.ZodObject<{
14762
+ kind: z$1.ZodLiteral<"attachment">;
14763
+ label: z$1.ZodString;
14764
+ path: z$1.ZodString;
14715
14765
  }, z$1.core.$strip>], "kind">, unknown>;
14716
14766
  start: z$1.ZodNumber;
14717
14767
  }, z$1.core.$strip>>>;
@@ -14777,16 +14827,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14777
14827
  auto: "auto";
14778
14828
  full: "full";
14779
14829
  }>;
14780
- reasoningLevel: z$1.ZodEnum<{
14781
- high: "high";
14782
- low: "low";
14783
- max: "max";
14784
- medium: "medium";
14785
- none: "none";
14786
- ultra: "ultra";
14787
- ultracode: "ultracode";
14788
- xhigh: "xhigh";
14789
- }>;
14830
+ reasoningLevel: z$1.ZodString;
14790
14831
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
14791
14832
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
14792
14833
  serviceTier: z$1.ZodString;
@@ -14826,17 +14867,9 @@ type DeleteThreadRequest = z$1.infer<typeof deleteThreadRequestSchema>;
14826
14867
  declare const updateThreadRequestSchema: z$1.ZodObject<{
14827
14868
  model: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
14828
14869
  parentThreadId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
14829
- reasoningLevel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
14830
- high: "high";
14831
- low: "low";
14832
- max: "max";
14833
- medium: "medium";
14834
- none: "none";
14835
- ultra: "ultra";
14836
- ultracode: "ultracode";
14837
- xhigh: "xhigh";
14838
- }>>>;
14870
+ reasoningLevel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
14839
14871
  sectionId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
14872
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>>;
14840
14873
  title: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
14841
14874
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
14842
14875
  hidden: "hidden";
@@ -14987,6 +15020,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
14987
15020
  after: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14988
15021
  attachments: z$1.ZodNullable<z$1.ZodObject<{
14989
15022
  imageUrls: z$1.ZodArray<z$1.ZodString>;
15023
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
15024
+ name: z$1.ZodString;
15025
+ path: z$1.ZodString;
15026
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
15027
+ }, z$1.core.$strip>>;
14990
15028
  localFilePaths: z$1.ZodArray<z$1.ZodString>;
14991
15029
  localFiles: z$1.ZodNumber;
14992
15030
  localImagePaths: z$1.ZodArray<z$1.ZodString>;
@@ -15052,6 +15090,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15052
15090
  kind: z$1.ZodLiteral<"plugin">;
15053
15091
  label: z$1.ZodString;
15054
15092
  pluginId: z$1.ZodString;
15093
+ }, z$1.core.$strip>, z$1.ZodObject<{
15094
+ kind: z$1.ZodLiteral<"attachment">;
15095
+ label: z$1.ZodString;
15096
+ path: z$1.ZodString;
15055
15097
  }, z$1.core.$strip>], "kind">, unknown>;
15056
15098
  start: z$1.ZodNumber;
15057
15099
  }, z$1.core.$strip>>;
@@ -15136,6 +15178,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15136
15178
  }, z$1.core.$strip>, z$1.ZodObject<{
15137
15179
  attachments: z$1.ZodNullable<z$1.ZodObject<{
15138
15180
  imageUrls: z$1.ZodArray<z$1.ZodString>;
15181
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
15182
+ name: z$1.ZodString;
15183
+ path: z$1.ZodString;
15184
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
15185
+ }, z$1.core.$strip>>;
15139
15186
  localFilePaths: z$1.ZodArray<z$1.ZodString>;
15140
15187
  localFiles: z$1.ZodNumber;
15141
15188
  localImagePaths: z$1.ZodArray<z$1.ZodString>;
@@ -15158,6 +15205,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15158
15205
  before: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
15159
15206
  attachments: z$1.ZodNullable<z$1.ZodObject<{
15160
15207
  imageUrls: z$1.ZodArray<z$1.ZodString>;
15208
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
15209
+ name: z$1.ZodString;
15210
+ path: z$1.ZodString;
15211
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
15212
+ }, z$1.core.$strip>>;
15161
15213
  localFilePaths: z$1.ZodArray<z$1.ZodString>;
15162
15214
  localFiles: z$1.ZodNumber;
15163
15215
  localImagePaths: z$1.ZodArray<z$1.ZodString>;
@@ -15223,6 +15275,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15223
15275
  kind: z$1.ZodLiteral<"plugin">;
15224
15276
  label: z$1.ZodString;
15225
15277
  pluginId: z$1.ZodString;
15278
+ }, z$1.core.$strip>, z$1.ZodObject<{
15279
+ kind: z$1.ZodLiteral<"attachment">;
15280
+ label: z$1.ZodString;
15281
+ path: z$1.ZodString;
15226
15282
  }, z$1.core.$strip>], "kind">, unknown>;
15227
15283
  start: z$1.ZodNumber;
15228
15284
  }, z$1.core.$strip>>;
@@ -15307,6 +15363,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15307
15363
  }, z$1.core.$strip>, z$1.ZodObject<{
15308
15364
  attachments: z$1.ZodNullable<z$1.ZodObject<{
15309
15365
  imageUrls: z$1.ZodArray<z$1.ZodString>;
15366
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
15367
+ name: z$1.ZodString;
15368
+ path: z$1.ZodString;
15369
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
15370
+ }, z$1.core.$strip>>;
15310
15371
  localFilePaths: z$1.ZodArray<z$1.ZodString>;
15311
15372
  localFiles: z$1.ZodNumber;
15312
15373
  localImagePaths: z$1.ZodArray<z$1.ZodString>;
@@ -15329,6 +15390,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15329
15390
  message: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
15330
15391
  attachments: z$1.ZodNullable<z$1.ZodObject<{
15331
15392
  imageUrls: z$1.ZodArray<z$1.ZodString>;
15393
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
15394
+ name: z$1.ZodString;
15395
+ path: z$1.ZodString;
15396
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
15397
+ }, z$1.core.$strip>>;
15332
15398
  localFilePaths: z$1.ZodArray<z$1.ZodString>;
15333
15399
  localFiles: z$1.ZodNumber;
15334
15400
  localImagePaths: z$1.ZodArray<z$1.ZodString>;
@@ -15394,6 +15460,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15394
15460
  kind: z$1.ZodLiteral<"plugin">;
15395
15461
  label: z$1.ZodString;
15396
15462
  pluginId: z$1.ZodString;
15463
+ }, z$1.core.$strip>, z$1.ZodObject<{
15464
+ kind: z$1.ZodLiteral<"attachment">;
15465
+ label: z$1.ZodString;
15466
+ path: z$1.ZodString;
15397
15467
  }, z$1.core.$strip>], "kind">, unknown>;
15398
15468
  start: z$1.ZodNumber;
15399
15469
  }, z$1.core.$strip>>;
@@ -15478,6 +15548,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15478
15548
  }, z$1.core.$strip>, z$1.ZodObject<{
15479
15549
  attachments: z$1.ZodNullable<z$1.ZodObject<{
15480
15550
  imageUrls: z$1.ZodArray<z$1.ZodString>;
15551
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
15552
+ name: z$1.ZodString;
15553
+ path: z$1.ZodString;
15554
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
15555
+ }, z$1.core.$strip>>;
15481
15556
  localFilePaths: z$1.ZodArray<z$1.ZodString>;
15482
15557
  localFiles: z$1.ZodNumber;
15483
15558
  localImagePaths: z$1.ZodArray<z$1.ZodString>;
@@ -15746,6 +15821,10 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
15746
15821
  }>;
15747
15822
  contextBoundarySeq: z$1.ZodNullable<z$1.ZodNumber>;
15748
15823
  contextWindowUsage: z$1.ZodOptional<z$1.ZodObject<{
15824
+ cost: z$1.ZodOptional<z$1.ZodObject<{
15825
+ amount: z$1.ZodNumber;
15826
+ currency: z$1.ZodString;
15827
+ }, z$1.core.$strip>>;
15749
15828
  estimated: z$1.ZodBoolean;
15750
15829
  modelContextWindow: z$1.ZodNumber;
15751
15830
  snapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -15819,7 +15898,44 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
15819
15898
  sourceSeq: z$1.ZodNumber;
15820
15899
  updatedAt: z$1.ZodNumber;
15821
15900
  }, z$1.core.$strip>>;
15901
+ providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
15902
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
15903
+ description: z$1.ZodNullable<z$1.ZodString>;
15904
+ name: z$1.ZodString;
15905
+ origin: z$1.ZodEnum<{
15906
+ builtin: "builtin";
15907
+ project: "project";
15908
+ user: "user";
15909
+ }>;
15910
+ source: z$1.ZodEnum<{
15911
+ command: "command";
15912
+ skill: "skill";
15913
+ }>;
15914
+ }, z$1.core.$strip>>>;
15822
15915
  rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
15916
+ sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
15917
+ category: z$1.ZodNullable<z$1.ZodString>;
15918
+ description: z$1.ZodNullable<z$1.ZodString>;
15919
+ id: z$1.ZodString;
15920
+ label: z$1.ZodString;
15921
+ pendingValue: z$1.ZodNullable<z$1.ZodString>;
15922
+ type: z$1.ZodLiteral<"select">;
15923
+ value: z$1.ZodString;
15924
+ values: z$1.ZodArray<z$1.ZodObject<{
15925
+ description: z$1.ZodNullable<z$1.ZodString>;
15926
+ group: z$1.ZodNullable<z$1.ZodString>;
15927
+ id: z$1.ZodString;
15928
+ label: z$1.ZodString;
15929
+ }, z$1.core.$strip>>;
15930
+ }, z$1.core.$strip>, z$1.ZodObject<{
15931
+ category: z$1.ZodNullable<z$1.ZodString>;
15932
+ description: z$1.ZodNullable<z$1.ZodString>;
15933
+ id: z$1.ZodString;
15934
+ label: z$1.ZodString;
15935
+ pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
15936
+ type: z$1.ZodLiteral<"boolean">;
15937
+ value: z$1.ZodBoolean;
15938
+ }, z$1.core.$strip>], "type">>>;
15823
15939
  timelinePage: z$1.ZodObject<{
15824
15940
  contentPage: z$1.ZodOptional<z$1.ZodObject<{
15825
15941
  anchorSeq: z$1.ZodNumber;
@@ -16254,6 +16370,12 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
16254
16370
  }, z$1.core.$strict>>;
16255
16371
  path: z$1.ZodString;
16256
16372
  threadId: z$1.ZodNullable<z$1.ZodString>;
16373
+ }, z$1.core.$strict>, z$1.ZodObject<{
16374
+ id: z$1.ZodString;
16375
+ kind: z$1.ZodLiteral<"attachment-file-preview">;
16376
+ name: z$1.ZodString;
16377
+ path: z$1.ZodString;
16378
+ projectId: z$1.ZodString;
16257
16379
  }, z$1.core.$strict>, z$1.ZodObject<{
16258
16380
  desktopTarget: z$1.ZodOptional<z$1.ZodObject<{
16259
16381
  generation: z$1.ZodString;
@@ -16394,6 +16516,12 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
16394
16516
  }, z$1.core.$strict>>;
16395
16517
  path: z$1.ZodString;
16396
16518
  threadId: z$1.ZodNullable<z$1.ZodString>;
16519
+ }, z$1.core.$strict>, z$1.ZodObject<{
16520
+ id: z$1.ZodString;
16521
+ kind: z$1.ZodLiteral<"attachment-file-preview">;
16522
+ name: z$1.ZodString;
16523
+ path: z$1.ZodString;
16524
+ projectId: z$1.ZodString;
16397
16525
  }, z$1.core.$strict>, z$1.ZodObject<{
16398
16526
  desktopTarget: z$1.ZodOptional<z$1.ZodObject<{
16399
16527
  generation: z$1.ZodString;
@@ -17661,6 +17789,9 @@ interface ThreadOutputResponse {
17661
17789
  }
17662
17790
  type ThreadMutationResult = ThreadResponse;
17663
17791
  type ThreadPluginMetadataResult = ThreadPluginMetadataResponse;
17792
+ type PluginThreadMetadataListResult = PluginThreadMetadataListResponse;
17793
+ type ThreadAncestorsListResult = ThreadAncestorsListResponse;
17794
+ type ThreadDescendantsListResult = ThreadDescendantsListResponse;
17664
17795
  type ThreadSpawnResult = ThreadResponse;
17665
17796
  type ThreadForkResult = ThreadResponse;
17666
17797
  type ThreadInteractionGetResult = PendingInteraction;
@@ -17745,6 +17876,21 @@ interface ThreadPluginMetadataArgs {
17745
17876
  signal?: AbortSignal;
17746
17877
  threadId: string;
17747
17878
  }
17879
+ interface PluginThreadMetadataListArgs {
17880
+ pluginId: string;
17881
+ threadIds: readonly string[];
17882
+ signal?: AbortSignal;
17883
+ }
17884
+ interface ThreadAncestorsListArgs {
17885
+ threadIds: readonly string[];
17886
+ signal?: AbortSignal;
17887
+ }
17888
+ interface ThreadDescendantsListArgs {
17889
+ threadIds: readonly string[];
17890
+ includeArchived?: boolean;
17891
+ includeHidden?: boolean;
17892
+ signal?: AbortSignal;
17893
+ }
17748
17894
  interface ThreadPluginMetadataUpdateArgs {
17749
17895
  threadId: string;
17750
17896
  pluginId: string;
@@ -17983,6 +18129,29 @@ interface ThreadsArea {
17983
18129
  fork(args: ThreadForkArgs): Promise<ThreadForkResult>;
17984
18130
  get(args: ThreadGetArgs): Promise<ThreadGetResult>;
17985
18131
  getPluginMetadata(args: ThreadPluginMetadataArgs): Promise<ThreadPluginMetadataResult>;
18132
+ /**
18133
+ * `pluginId`'s metadata for each of `threadIds` (1–200 per request) that
18134
+ * has any, as `{ threadId, metadata }` rows; archived and deleted threads
18135
+ * included.
18136
+ * Experimental: see docs/api_to_audit.md.
18137
+ */
18138
+ experimental_listPluginMetadata(args: PluginThreadMetadataListArgs): Promise<PluginThreadMetadataListResult>;
18139
+ /**
18140
+ * Each of `threadIds` (1–200 per request) that exists, with `ancestorIds`
18141
+ * from its parent up to the root (empty for a root thread); archived and
18142
+ * deleted threads included, unknown ids omitted.
18143
+ * Experimental: see docs/api_to_audit.md.
18144
+ */
18145
+ experimental_listAncestors(args: ThreadAncestorsListArgs): Promise<ThreadAncestorsListResult>;
18146
+ /**
18147
+ * Each of `threadIds` (1–200 per request) that exists and is not deleted,
18148
+ * with `descendantIds` for every thread below it, children first (empty
18149
+ * for a leaf). Archived and hidden descendants are omitted unless
18150
+ * `includeArchived` / `includeHidden` is true; threads below them are still
18151
+ * returned. Deleted threads and unknown ids are always omitted.
18152
+ * Experimental: see docs/api_to_audit.md.
18153
+ */
18154
+ experimental_listDescendants(args: ThreadDescendantsListArgs): Promise<ThreadDescendantsListResult>;
17986
18155
  updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
17987
18156
  queue: ThreadQueueArea;
17988
18157
  interactions: ThreadInteractionsArea;
@@ -19090,10 +19259,13 @@ interface ExperimentalClipboardContent {
19090
19259
  * origin, and the plugin-metadata calls default `pluginId`. The same
19091
19260
  * narrowing the backend `bb.sdk` applies.
19092
19261
  */
19093
- type PluginBoundThreadsArea = Omit<BbSdkAreas["threads"], "getPluginMetadata" | "updatePluginMetadata"> & {
19262
+ type PluginBoundThreadsArea = Omit<BbSdkAreas["threads"], "experimental_listPluginMetadata" | "getPluginMetadata" | "updatePluginMetadata"> & {
19094
19263
  getPluginMetadata(args: Omit<ThreadPluginMetadataArgs, "pluginId"> & {
19095
19264
  pluginId?: string;
19096
19265
  }): Promise<ThreadPluginMetadataResult>;
19266
+ experimental_listPluginMetadata(args: Omit<PluginThreadMetadataListArgs, "pluginId"> & {
19267
+ pluginId?: string;
19268
+ }): Promise<PluginThreadMetadataListResult>;
19097
19269
  updatePluginMetadata(args: Omit<ThreadPluginMetadataUpdateArgs, "pluginId"> & {
19098
19270
  pluginId?: string;
19099
19271
  }): Promise<ThreadPluginMetadataResult>;
@@ -19114,6 +19286,28 @@ interface PluginThreadTitleProps {
19114
19286
  /** A thread in the sidebar's live view; renders nothing for an unknown id. */
19115
19287
  threadId: string;
19116
19288
  }
19289
+ /**
19290
+ * Props for {@link PluginSdkApp.experimental_ThreadStatusGlyph}: bb's thread
19291
+ * status glyph, the one its own lists draw. The caller resolves the
19292
+ * indicator, so a row can fold in state the host does not know about, such
19293
+ * as collapsed children or a client-local draft.
19294
+ */
19295
+ interface PluginThreadStatusGlyphProps {
19296
+ /** The indicator to draw; "none" draws nothing unless `rowStatus` shows. */
19297
+ indicator: PluginSidebarThreadIndicator;
19298
+ /** Draws the archive glyph instead of the indicator. */
19299
+ archived?: boolean;
19300
+ /**
19301
+ * A status another plugin set on the row (see
19302
+ * {@link PluginSdkApp.useSidebarThreadRowStatus}). It replaces every
19303
+ * indicator except "runtime", "unread-error", and "waiting-for-input".
19304
+ */
19305
+ rowStatus?: PluginSidebarThreadRowStatus | null;
19306
+ /** Hides the idle draft glyph from assistive technology. */
19307
+ hideIdleDraftLabel?: boolean;
19308
+ /** "compact" draws a 14 px glyph; "default" matches bb's sidebar rows. */
19309
+ size?: "compact" | "default";
19310
+ }
19117
19311
  /**
19118
19312
  * One environment provider from bb's catalog (see
19119
19313
  * {@link PluginSdkApp.useEnvironmentProviders}): what a sidebar needs to
@@ -19163,62 +19357,6 @@ interface PluginSidebarThreadShortcut {
19163
19357
  /** Value for the row's `aria-keyshortcuts` attribute. */
19164
19358
  ariaKeyshortcuts: string;
19165
19359
  }
19166
- /**
19167
- * Act on threads from a plugin surface. Every method routes to the host's own
19168
- * flow, so optimistic updates, toasts, dialogs, pane closing, and route repair
19169
- * behave exactly as they do in the built-in sidebar. Unknown thread ids are
19170
- * ignored by `open` and rejected by the rest.
19171
- */
19172
- interface PluginSidebarThreadActions {
19173
- /**
19174
- * Navigate to a thread. `split: true` applies bb's split placement rules —
19175
- * a right split by default, focus when the thread is already open, replace
19176
- * at the pane cap — and falls back to plain navigation where splits are off.
19177
- * Opening also expands the thread's conversation if the secondary panel had
19178
- * collapsed it, as bb's own row does.
19179
- */
19180
- open(threadId: string, options?: {
19181
- split?: boolean;
19182
- }): void;
19183
- /**
19184
- * Go to the new-thread screen. Passing `projectId` also makes that project
19185
- * the composer's selection, so the thread is created where you asked.
19186
- * `sectionId` files the new thread under that section, and
19187
- * `environmentId` reuses that environment (the "New thread in
19188
- * environment" affordance), both exactly as bb's own list does.
19189
- * `experimental_placement` explicitly selects the section and pin state,
19190
- * overriding `sectionId`. Omitting placement starts unpinned, outside sections
19191
- * unless `sectionId` is supplied; previous composer placement is cleared.
19192
- * `hostId` selects a machine for a new environment when it
19193
- * is known and supports an environment provider. `environmentId` wins when
19194
- * both are supplied.
19195
- */
19196
- openNewThread(options?: {
19197
- projectId?: string;
19198
- sectionId?: string;
19199
- experimental_placement?: {
19200
- sectionId: string | null;
19201
- pinned: boolean;
19202
- };
19203
- environmentId?: string;
19204
- hostId?: string;
19205
- focusPrompt?: boolean;
19206
- }): void;
19207
- setPinned(threadId: string, pinned: boolean): Promise<void>;
19208
- setRead(threadId: string, read: boolean): Promise<void>;
19209
- /** Silent rename — no dialog. For inline editing in your own row. */
19210
- rename(threadId: string, title: string): Promise<void>;
19211
- /** Confirms before including child threads unless archive confirmation is disabled in Settings → General. */
19212
- archive(threadId: string): void;
19213
- /** Archives an environment's active thread trees with bb's optimistic updates, pane cleanup, and one Undo toast. Rejects after bb shows an error toast on failure. */
19214
- experimental_archiveEnvironmentThreads(environmentId: string): Promise<void>;
19215
- /**
19216
- * Opens bb's delete confirmation, which counts child threads first. Deletion
19217
- * is destructive and recursive, so the host owns the confirmation: there is
19218
- * deliberately no silent `delete`.
19219
- */
19220
- requestDelete(threadId: string): void;
19221
- }
19222
19360
  /**
19223
19361
  * Render a plugin component in the thread header's action row.
19224
19362
  *
@@ -19250,6 +19388,226 @@ interface ExperimentalPluginBrowserToolbarActionRegistration {
19250
19388
  /** Component rendered beside the Browser address bar. */
19251
19389
  component: ComponentType<ExperimentalPluginBrowserToolbarActionProps>;
19252
19390
  }
19391
+ /**
19392
+ * The thread a thread action is evaluated for: the fields bb's own actions
19393
+ * read, copied from the thread payload by the surface that shows the menu.
19394
+ */
19395
+ interface PluginThreadActionTarget {
19396
+ id: string;
19397
+ projectId: string;
19398
+ parentThreadId: string | null;
19399
+ archivedAt: number | null;
19400
+ pinnedAt: number | null;
19401
+ sectionId: string | null;
19402
+ isUnread: boolean;
19403
+ status: ThreadStatus;
19404
+ /**
19405
+ * The thread's environment when a new thread can reuse it, null otherwise.
19406
+ * `path` is the checkout path, null when the environment has none.
19407
+ */
19408
+ environment: {
19409
+ id: string;
19410
+ path: string | null;
19411
+ } | null;
19412
+ }
19413
+ /** One row of a thread action's choice list. */
19414
+ interface PluginThreadActionChoice {
19415
+ id: string;
19416
+ label: string;
19417
+ icon?: BbIconName;
19418
+ selected?: boolean;
19419
+ disabled?: boolean;
19420
+ }
19421
+ /**
19422
+ * A choice list instead of a direct action: a submenu in desktop menus, a step
19423
+ * with Back in the compact drawer, and a popover from a row's quick-action
19424
+ * button. `run` receives the picked choice's `id` as `value`.
19425
+ */
19426
+ interface PluginThreadActionChoices {
19427
+ /**
19428
+ * Title of the drawer step and the quick-action popover; defaults to the
19429
+ * action's label. Desktop submenus show none: their trigger names them.
19430
+ */
19431
+ heading?: string;
19432
+ /** Footnote below the choices, e.g. why the current value differs from the pick. */
19433
+ hint?: string;
19434
+ items: readonly PluginThreadActionChoice[];
19435
+ }
19436
+ /** What a thread action's `run` receives. */
19437
+ interface PluginThreadActionRunInput {
19438
+ /** The picked choice's `id` when the action has `choices`; otherwise undefined. */
19439
+ value?: string;
19440
+ /**
19441
+ * Start renaming a thread with the editor of the surface that showed the
19442
+ * menu: inline in the sidebar row or thread header, bb's rename dialog
19443
+ * elsewhere.
19444
+ */
19445
+ requestRename(threadId: string): void;
19446
+ }
19447
+ /** One evaluated thread action: what a registration shows for one thread. */
19448
+ interface PluginThreadAction {
19449
+ label: string;
19450
+ /**
19451
+ * Short secondary text on a muted second line under the label, e.g. the
19452
+ * current value of a choice list.
19453
+ */
19454
+ detail?: string;
19455
+ icon: BbIconName;
19456
+ variant?: "default" | "destructive";
19457
+ disabled?: boolean;
19458
+ choices?: PluginThreadActionChoices;
19459
+ /**
19460
+ * Runs when the user activates the action or picks a choice. Errors (sync
19461
+ * or async) are contained and logged; they never break the menu.
19462
+ */
19463
+ run(input: PluginThreadActionRunInput): void | Promise<void>;
19464
+ }
19465
+ /** What a registration's `useData` receives. */
19466
+ interface PluginThreadActionDataInput {
19467
+ /**
19468
+ * Every thread a visible surface currently shows actions for (sidebar rows
19469
+ * on screen, the open thread's header, open menus); a hidden sidebar
19470
+ * contributes none. Sorted, deduplicated, and published once the set has
19471
+ * been quiet for 32 ms (at most 100 ms after the first change), so rows
19472
+ * that mount a frame apart arrive together. Load per-thread state for these
19473
+ * ids, fetching only ids not loaded yet.
19474
+ */
19475
+ threadIds: readonly string[];
19476
+ }
19477
+ /** What a registration's `item` receives for each thread it is shown for. */
19478
+ interface PluginThreadActionItemInput<Data> {
19479
+ thread: PluginThreadActionTarget;
19480
+ /** What `useData` last returned; undefined when the registration has none. */
19481
+ data: Data;
19482
+ /** The registering plugin's `useSdk()` client. */
19483
+ sdk: PluginBrowserBbSdk;
19484
+ /**
19485
+ * The registering plugin's `useBbNavigate()`. Thread menus are not inside a
19486
+ * side panel, so `openThreadPanel` opens in the focused thread view, as
19487
+ * plugin commands do, and returns false when no thread view is open.
19488
+ */
19489
+ navigate: BbNavigate;
19490
+ }
19491
+ /**
19492
+ * Add an action to every thread actions menu: the thread header's menu, the
19493
+ * sidebar row's menu and right-click menu, the compact long-press drawer, and,
19494
+ * when the user picks it, a sidebar row's quick-action buttons. bb's own
19495
+ * actions (Open in split, Copy thread link, Mark read, Pin, Rename, Archive,
19496
+ * Delete, …) are registrations of this same shape.
19497
+ *
19498
+ * `useData` is a React hook the host calls once for the whole app, never per
19499
+ * thread or per menu; read app-wide state there (preferences, a realtime
19500
+ * channel, per-thread state for the `threadIds` it receives, fetched in one
19501
+ * batch for the ids not loaded yet). `item` is pure and synchronous: it
19502
+ * derives the action for one thread from that thread and `data`, closing over
19503
+ * everything `run` needs, or returns null to hide it. A throw from either
19504
+ * drops only this registration.
19505
+ */
19506
+ interface PluginThreadActionRegistration<Data = undefined> {
19507
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
19508
+ id: string;
19509
+ /** Static name, shown where the user picks a row's quick actions. */
19510
+ title: string;
19511
+ /** Static icon for that picker; the evaluated action's `icon` wins in menus. */
19512
+ icon: BbIconName;
19513
+ /**
19514
+ * Menus and the quick-action picker sort by `group` (string compare) with a
19515
+ * separator between groups, then by `order` within a group (unset sorts
19516
+ * last), then by registration order. bb's groups are
19517
+ * {@link PluginSdkApp.experimental_THREAD_ACTION_GROUPS}; any other string
19518
+ * is a group of its own, placed where it sorts.
19519
+ */
19520
+ group: string;
19521
+ order?: number;
19522
+ useData?(input: PluginThreadActionDataInput): Data;
19523
+ item(input: PluginThreadActionItemInput<Data>): PluginThreadAction | null;
19524
+ }
19525
+ /**
19526
+ * A thread action as {@link PluginSdkApp.experimental_useThreadActions}
19527
+ * returns it: `run` is bound to the caller's `requestRename` (or bb's rename
19528
+ * dialog), contains errors, and resolves when the action settles.
19529
+ */
19530
+ interface PluginBoundThreadAction extends Omit<PluginThreadAction, "run"> {
19531
+ /** `value` is the picked choice's `id` for an action with `choices`. */
19532
+ run(value?: string): Promise<void>;
19533
+ }
19534
+ /**
19535
+ * One row of {@link PluginSdkApp.experimental_useThreadActions}: `key` is
19536
+ * `<owner>/<id>`, where the owner is the registering plugin's id or
19537
+ * `bb--core` for bb's own actions.
19538
+ */
19539
+ interface PluginThreadActionEntry {
19540
+ key: string;
19541
+ pluginId: string;
19542
+ /** The registration's group, for separators in a caller's own list. */
19543
+ group: string;
19544
+ action: PluginBoundThreadAction;
19545
+ }
19546
+ /** One row of {@link PluginSdkApp.experimental_useThreadActionRegistrations}. */
19547
+ interface PluginThreadActionRegistrationInfo {
19548
+ key: string;
19549
+ pluginId: string;
19550
+ title: string;
19551
+ icon: BbIconName;
19552
+ }
19553
+ /** Options for {@link PluginSdkApp.experimental_useThreadActions}. */
19554
+ interface PluginThreadActionsOptions {
19555
+ /** Return only these keys, in this order. Omit for every action in menu order. */
19556
+ keys?: readonly string[];
19557
+ /**
19558
+ * The surface's own rename editor, passed to `run` as `requestRename`.
19559
+ * Omit to use bb's rename dialog.
19560
+ */
19561
+ requestRename?(threadId: string): void;
19562
+ }
19563
+ /**
19564
+ * An action a surface adds to its own copy of the thread menu, not a
19565
+ * registration: appended to the end of its `group`. `key` must be unique in
19566
+ * the menu.
19567
+ */
19568
+ interface PluginThreadActionsInlineItem {
19569
+ key: string;
19570
+ group: string;
19571
+ action: PluginThreadAction;
19572
+ }
19573
+ /**
19574
+ * What a thread menu's `trigger` receives: the menu's ARIA state, event
19575
+ * handlers, and ref. Spread all of them onto the button you render (compose
19576
+ * your own handlers after calling theirs); a trigger that drops them never
19577
+ * opens the menu.
19578
+ */
19579
+ type PluginThreadActionsTriggerProps = ComponentPropsWithRef<"button">;
19580
+ interface PluginThreadActionsMenuBaseProps {
19581
+ thread: PluginThreadActionTarget;
19582
+ inline?: readonly PluginThreadActionsInlineItem[];
19583
+ /** See {@link PluginThreadActionsOptions.requestRename}. */
19584
+ requestRename?(threadId: string): void;
19585
+ onOpenChange?(open: boolean): void;
19586
+ /** Radix's close auto-focus hook, to restore focus to the surface's own control. */
19587
+ onCloseAutoFocus?(event: Event): void;
19588
+ }
19589
+ /**
19590
+ * Props of the host-owned `experimental_ThreadActionsMenu`: bb's thread menu
19591
+ * opened from the button `trigger` renders (see
19592
+ * {@link PluginThreadActionsTriggerProps}), a drawer at compact width.
19593
+ */
19594
+ interface PluginThreadActionsMenuProps extends PluginThreadActionsMenuBaseProps {
19595
+ trigger(props: PluginThreadActionsTriggerProps): ReactNode;
19596
+ side?: "bottom" | "left" | "right" | "top";
19597
+ align?: "center" | "end" | "start";
19598
+ sideOffset?: number;
19599
+ }
19600
+ /**
19601
+ * Props of the host-owned `experimental_ThreadActionsContextMenu`: bb's thread
19602
+ * menu on right-click of `children`, or on touch long-press at compact width.
19603
+ */
19604
+ interface PluginThreadActionsContextMenuProps extends PluginThreadActionsMenuBaseProps {
19605
+ children: ReactNode;
19606
+ /** Suppresses the menu, e.g. while the row edits its title. */
19607
+ disabled?: boolean;
19608
+ /** Closes the menu and suppresses opening while the row is being dragged. */
19609
+ dragging?: boolean;
19610
+ }
19253
19611
  /** One pane's place in the split layout, as fractions of the split area. */
19254
19612
  interface PluginSidebarSplitPane {
19255
19613
  paneId: string;
@@ -19797,6 +20155,12 @@ interface PluginAppSlots {
19797
20155
  * docs/api_to_audit.md.
19798
20156
  */
19799
20157
  experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
20158
+ /**
20159
+ * Add an action to every thread actions menu (see
20160
+ * {@link PluginThreadActionRegistration}). Experimental: see
20161
+ * docs/api_to_audit.md.
20162
+ */
20163
+ experimental_threadAction<Data = undefined>(registration: PluginThreadActionRegistration<Data>): void;
19800
20164
  /** Render a component beside each Browser tab's address bar. */
19801
20165
  experimental_browserToolbarAction(registration: ExperimentalPluginBrowserToolbarActionRegistration): void;
19802
20166
  fileOpener(registration: PluginFileOpenerRegistration): void;
@@ -20147,6 +20511,10 @@ type ComposerMention = {
20147
20511
  source: "command" | "skill";
20148
20512
  origin: "builtin" | "project" | "user";
20149
20513
  argumentHint: string | null;
20514
+ } | {
20515
+ kind: "attachment";
20516
+ /** The stored path of a file attached to the same draft. */
20517
+ path: string;
20150
20518
  } | {
20151
20519
  kind: "plugin";
20152
20520
  /** The plugin that owns the pill. */
@@ -20625,6 +20993,12 @@ interface NewThreadRequest {
20625
20993
  permissionMode: PermissionMode;
20626
20994
  /** Omitted when the selected provider has no service tiers. */
20627
20995
  serviceTier?: ServiceTier;
20996
+ /**
20997
+ * Agent options the user chose in the model picker or the mode menu, keyed
20998
+ * by option id. Present only when the user changed at least one option the
20999
+ * selected provider declares. Forward it to `threads.spawn` unchanged.
21000
+ */
21001
+ sessionOptions?: SessionOptionSelections;
20628
21002
  /**
20629
21003
  * Per-field provenance (caller-explicit vs. default) for the execution
20630
21004
  * options above, forwarded to `spawn` so the server records what the user
@@ -20850,7 +21224,15 @@ interface BbContext {
20850
21224
  threadId: string | null;
20851
21225
  }
20852
21226
  interface BbNavigate {
20853
- toThread(threadId: string): void;
21227
+ /**
21228
+ * Open a thread. `split: true` applies bb's split placement rules (a right
21229
+ * split by default, focus when already open, replace at the pane cap) and
21230
+ * falls back to plain navigation where splits are off. Opening also expands
21231
+ * the thread's conversation if the side panel had collapsed it.
21232
+ */
21233
+ toThread(threadId: string, options?: {
21234
+ split?: boolean;
21235
+ }): void;
20854
21236
  toProject(projectId: string): void;
20855
21237
  /**
20856
21238
  * Navigate to one of this plugin's own nav panels by its `path`.
@@ -20868,16 +21250,27 @@ interface BbNavigate {
20868
21250
  * and section mention tokens become pills) and `focusPrompt` to focus the
20869
21251
  * composer on arrival — the pairing behind "Create via chat" style entry
20870
21252
  * points that drop the user into chat with a prefilled prompt.
21253
+ * `projectId` makes that project the composer's selection; `placement`
21254
+ * files the new thread in a section and pin state (omitted: unpinned,
21255
+ * outside sections); `environmentId` reuses that environment and `hostId`
21256
+ * picks a machine for a new one (`environmentId` wins when both are set).
20871
21257
  */
20872
21258
  toCompose(options?: {
21259
+ projectId?: string;
20873
21260
  initialPrompt?: string;
20874
21261
  focusPrompt?: boolean;
21262
+ placement?: {
21263
+ sectionId: string | null;
21264
+ pinned: boolean;
21265
+ };
21266
+ environmentId?: string;
21267
+ hostId?: string;
20875
21268
  }): void;
20876
21269
  /**
20877
21270
  * Open one of this plugin's registered panel actions in the current
20878
21271
  * surface's side panel: a `threadPanelAction` in a thread, or an
20879
21272
  * `experimental_newThreadPanelAction` on the New thread screen. Plugin
20880
- * commands use the same opener. Returns false when the surface has no side
21273
+ * commands and thread actions use the focused thread view's opener. Returns false when the surface has no side
20881
21274
  * panel actions (plugin pages) or the action is unavailable.
20882
21275
  */
20883
21276
  openThreadPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
@@ -20989,11 +21382,52 @@ interface PluginSdkApp {
20989
21382
  experimental_lifecycles: readonly ("active" | "archived")[];
20990
21383
  }): PluginSidebarThreadsState;
20991
21384
  /**
20992
- * Thread actions bound to the host's mutations (see
20993
- * {@link PluginSidebarThreadActions}). Experimental: see
21385
+ * Archive an environment's active thread trees the way bb's own list does:
21386
+ * optimistic removal, closing their split panes, leaving a route that shows
21387
+ * one of them, and one Undo toast that restores them and the route. The
21388
+ * promise rejects after bb has shown an error toast. Experimental: see
20994
21389
  * docs/api_to_audit.md.
20995
21390
  */
20996
- experimental_useSidebarThreadActions(): PluginSidebarThreadActions;
21391
+ experimental_useArchiveEnvironmentThreads(): (environmentId: string) => Promise<void>;
21392
+ /**
21393
+ * Every thread action for one thread, in menu order (see
21394
+ * {@link PluginThreadAction} for grouping): bb's own registrations first,
21395
+ * then plugins' in registration order. Registrations' `useData` hooks run
21396
+ * once for the app, so calling this per sidebar row costs one store
21397
+ * subscription and a pure `item` call per registration. Pass `keys` for a
21398
+ * row's quick actions. Experimental: see docs/api_to_audit.md.
21399
+ */
21400
+ experimental_useThreadActions(thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions): readonly PluginThreadActionEntry[];
21401
+ /**
21402
+ * Every registered thread action with its static title and icon, in menu
21403
+ * order and independent of any thread: what a quick-action picker lists.
21404
+ * Experimental: see docs/api_to_audit.md.
21405
+ */
21406
+ experimental_useThreadActionRegistrations(): readonly PluginThreadActionRegistrationInfo[];
21407
+ /**
21408
+ * bb's thread menu behind a trigger (see
21409
+ * {@link PluginThreadActionsMenuProps}): the same items, order, choice
21410
+ * submenus and compact drawer as the thread header's menu. Experimental: see
21411
+ * docs/api_to_audit.md.
21412
+ */
21413
+ experimental_ThreadActionsMenu: ComponentType<PluginThreadActionsMenuProps>;
21414
+ /**
21415
+ * bb's thread menu on right-click or long-press (see
21416
+ * {@link PluginThreadActionsContextMenuProps}). Experimental: see
21417
+ * docs/api_to_audit.md.
21418
+ */
21419
+ experimental_ThreadActionsContextMenu: ComponentType<PluginThreadActionsContextMenuProps>;
21420
+ /**
21421
+ * bb's thread menu groups, for a registration that joins one:
21422
+ * `open` (split), `organize` (copy, read, pin, move, rename), `settings`,
21423
+ * and `lifecycle` (archive, delete). Experimental: see docs/api_to_audit.md.
21424
+ */
21425
+ experimental_THREAD_ACTION_GROUPS: {
21426
+ readonly open: "1_open";
21427
+ readonly organize: "2_organize";
21428
+ readonly settings: "3_settings";
21429
+ readonly lifecycle: "4_lifecycle";
21430
+ };
20997
21431
  /**
20998
21432
  * The pull request for one thread's branch (see
20999
21433
  * {@link PluginSidebarThreadPullRequestState}).
@@ -21057,6 +21491,12 @@ interface PluginSdkApp {
21057
21491
  * form is `displayTitle` on the thread.
21058
21492
  */
21059
21493
  ThreadTitle: ComponentType<PluginThreadTitleProps>;
21494
+ /**
21495
+ * bb's thread status glyph (see {@link PluginThreadStatusGlyphProps}): the
21496
+ * same icons, colors, and accessible labels as bb's own thread lists.
21497
+ * Experimental: see docs/api_to_audit.md.
21498
+ */
21499
+ experimental_ThreadStatusGlyph: ComponentType<PluginThreadStatusGlyphProps>;
21060
21500
  /**
21061
21501
  * bb's environment provider catalog (see
21062
21502
  * {@link PluginEnvironmentProvidersState}), the directory a thread's
@@ -21079,8 +21519,8 @@ interface PluginSdkApp {
21079
21519
  * together. Unarchive, environment-group archive, project/machine/environment
21080
21520
  * renames, and project/section removal are also optimistic and roll back on
21081
21521
  * failure. Created sections enter the cache when the server assigns their id.
21082
- * `experimental_useSidebarThreadActions()` owns navigation, read state,
21083
- * archive confirmation, and delete confirmation.
21522
+ * Navigation belongs to `useBbNavigate()`; archive and delete
21523
+ * confirmation to the thread action menus.
21084
21524
  *
21085
21525
  * The client is stable for the plugin's lifetime, so it is safe in effect
21086
21526
  * and callback dependency lists.
@@ -21192,6 +21632,13 @@ interface PluginSdkApp {
21192
21632
  experimental_Diff: ComponentType<DiffProps>;
21193
21633
  }
21194
21634
 
21635
+ declare const experimental_THREAD_ACTION_GROUPS: {
21636
+ readonly open: "1_open";
21637
+ readonly organize: "2_organize";
21638
+ readonly settings: "3_settings";
21639
+ readonly lifecycle: "4_lifecycle";
21640
+ };
21641
+
21195
21642
  declare const experimental_Icon: react.ComponentType<ExperimentalIconProps>;
21196
21643
  declare const experimental_ProviderIcon: react.ComponentType<ExperimentalProviderIconProps>;
21197
21644
  declare const definePluginApp: PluginSdkApp["definePluginApp"];
@@ -21223,7 +21670,12 @@ declare const useComposers: () => readonly PluginComposerApi[];
21223
21670
  declare const experimental_useSidebarThreads: (options?: {
21224
21671
  experimental_lifecycles: readonly ("active" | "archived")[];
21225
21672
  }) => PluginSidebarThreadsState;
21226
- declare const experimental_useSidebarThreadActions: () => PluginSidebarThreadActions;
21673
+ declare const experimental_useThreadActions: (thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions) => readonly PluginThreadActionEntry[];
21674
+ declare const experimental_useArchiveEnvironmentThreads: () => (environmentId: string) => Promise<void>;
21675
+ declare const experimental_useThreadActionRegistrations: () => readonly PluginThreadActionRegistrationInfo[];
21676
+ declare const experimental_ThreadActionsMenu: react.ComponentType<PluginThreadActionsMenuProps>;
21677
+ declare const experimental_ThreadActionsContextMenu: react.ComponentType<PluginThreadActionsContextMenuProps>;
21678
+
21227
21679
  declare const experimental_useSidebarThreadPullRequest: (threadId: string) => PluginSidebarThreadPullRequestState;
21228
21680
  declare const experimental_useSidebarThreadSplit: (threadId: string) => PluginSidebarThreadSplit;
21229
21681
  declare const useSidebarThreadDraft: (threadId: string) => PluginSidebarThreadDraftState;
@@ -21233,11 +21685,12 @@ declare const useSidebarThreadRowStatuses: () => ReadonlyMap<string, PluginSideb
21233
21685
  declare const useSidebarSplitLayout: () => PluginSidebarSplitLayout | null;
21234
21686
  declare const useSidebarThreadShortcut: (threadId: string) => PluginSidebarThreadShortcut | null;
21235
21687
  declare const ThreadTitle: react.ComponentType<PluginThreadTitleProps>;
21688
+ declare const experimental_ThreadStatusGlyph: react.ComponentType<PluginThreadStatusGlyphProps>;
21236
21689
  declare const useEnvironmentProviders: () => PluginEnvironmentProvidersState;
21237
21690
  declare const useSdk: () => PluginBrowserBbSdk;
21238
21691
  declare const experimental_useProviders: () => PluginProvidersState;
21239
21692
  declare const experimental_useCodeTheme: () => PluginCodeThemeState;
21240
21693
  declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
21241
21694
 
21242
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SourceCode, experimental_VoiceInputTextarea, experimental_copyToClipboard, experimental_useAppPanel, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarThreadActions, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
21243
- export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalVoiceInputTextareaProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
21695
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_VoiceInputTextarea, experimental_copyToClipboard, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useThreadActionRegistrations, experimental_useThreadActions, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
21696
+ export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalVoiceInputTextareaProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };