@get-bb/plugin-sdk 0.6.5 → 0.6.9

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.
@@ -97,6 +97,7 @@ type PluginRpcResult<Method extends PluginRpcMethodContract> = StandardSchemaV1I
97
97
 
98
98
  declare const appSettingsSchema: z$1.ZodObject<{
99
99
  allowFastServiceTier: z$1.ZodBoolean;
100
+ confirmThreadArchive: z$1.ZodBoolean;
100
101
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
101
102
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
102
103
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -116,6 +117,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
116
117
  type AppSettings = z$1.infer<typeof appSettingsSchema>;
117
118
  declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
118
119
  allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
120
+ confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
119
121
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
120
122
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
121
123
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -134,6 +136,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
134
136
  telemetryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
135
137
  }, z$1.core.$strict>, z$1.ZodObject<{
136
138
  allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
139
+ confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
137
140
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
138
141
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
139
142
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -350,7 +353,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
350
353
  "events-appended": "events-appended";
351
354
  "history-rewritten": "history-rewritten";
352
355
  "interactions-changed": "interactions-changed";
353
- "order-changed": "order-changed";
354
356
  "parent-changed": "parent-changed";
355
357
  "pin-state-changed": "pin-state-changed";
356
358
  "queue-changed": "queue-changed";
@@ -533,12 +535,9 @@ declare const environmentSchema: z$1.ZodObject<{
533
535
  type Environment = z$1.infer<typeof environmentSchema>;
534
536
 
535
537
  declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
536
- androidTesting: "androidTesting";
537
538
  changelogPreview: "changelogPreview";
538
539
  legacyJitiPluginLoader: "legacyJitiPluginLoader";
539
- mobileApp: "mobileApp";
540
540
  serverMove: "serverMove";
541
- sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
542
541
  }>, z$1.ZodBoolean>;
543
542
  type Experiments = z$1.infer<typeof experimentsSchema>;
544
543
 
@@ -641,7 +640,7 @@ declare const threadEventItemPresentationSchema: z$1.ZodObject<{
641
640
  }, z$1.core.$strip>;
642
641
  type ThreadEventItemPresentation = z$1.infer<typeof threadEventItemPresentationSchema>;
643
642
 
644
- declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
643
+ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
645
644
  threadId: z$1.ZodString;
646
645
  type: z$1.ZodLiteral<"thread/started">;
647
646
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -2857,7 +2856,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2857
2856
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2858
2857
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
2859
2858
  end: z$1.ZodNumber;
2860
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2859
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2861
2860
  kind: z$1.ZodLiteral<"thread">;
2862
2861
  label: z$1.ZodString;
2863
2862
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -2906,7 +2905,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2906
2905
  kind: z$1.ZodLiteral<"plugin">;
2907
2906
  label: z$1.ZodString;
2908
2907
  pluginId: z$1.ZodString;
2909
- }, z$1.core.$strip>], "kind">>;
2908
+ }, z$1.core.$strip>], "kind">, unknown>;
2910
2909
  start: z$1.ZodNumber;
2911
2910
  }, z$1.core.$strip>>>;
2912
2911
  text: z$1.ZodString;
@@ -2939,7 +2938,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2939
2938
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2940
2939
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
2941
2940
  end: z$1.ZodNumber;
2942
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2941
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2943
2942
  kind: z$1.ZodLiteral<"thread">;
2944
2943
  label: z$1.ZodString;
2945
2944
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -2988,7 +2987,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2988
2987
  kind: z$1.ZodLiteral<"plugin">;
2989
2988
  label: z$1.ZodString;
2990
2989
  pluginId: z$1.ZodString;
2991
- }, z$1.core.$strip>], "kind">>;
2990
+ }, z$1.core.$strip>], "kind">, unknown>;
2992
2991
  start: z$1.ZodNumber;
2993
2992
  }, z$1.core.$strip>>>;
2994
2993
  text: z$1.ZodString;
@@ -3133,8 +3132,6 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
3133
3132
  code: z$1.ZodOptional<z$1.ZodString>;
3134
3133
  detail: z$1.ZodOptional<z$1.ZodString>;
3135
3134
  message: z$1.ZodString;
3136
- reconnectAttempt: z$1.ZodOptional<z$1.ZodNumber>;
3137
- reconnectTotal: z$1.ZodOptional<z$1.ZodNumber>;
3138
3135
  threadId: z$1.ZodString;
3139
3136
  type: z$1.ZodLiteral<"system/error">;
3140
3137
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -3543,7 +3540,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
3543
3540
  kind: z$1.ZodLiteral<"turn">;
3544
3541
  turnId: z$1.ZodString;
3545
3542
  }, z$1.core.$strip>], "kind">;
3546
- }, z$1.core.$strip>>]>>;
3543
+ }, z$1.core.$strip>>]>;
3547
3544
  type ThreadEvent = z$1.infer<typeof threadEventSchema>;
3548
3545
  type ThreadEventType = ThreadEvent["type"];
3549
3546
 
@@ -3918,7 +3915,7 @@ type PermissionMode = z$1.infer<typeof permissionModeSchema>;
3918
3915
  declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3919
3916
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3920
3917
  end: z$1.ZodNumber;
3921
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3918
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3922
3919
  kind: z$1.ZodLiteral<"thread">;
3923
3920
  label: z$1.ZodString;
3924
3921
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -3967,7 +3964,7 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3967
3964
  kind: z$1.ZodLiteral<"plugin">;
3968
3965
  label: z$1.ZodString;
3969
3966
  pluginId: z$1.ZodString;
3970
- }, z$1.core.$strip>], "kind">>;
3967
+ }, z$1.core.$strip>], "kind">, unknown>;
3971
3968
  start: z$1.ZodNumber;
3972
3969
  }, z$1.core.$strip>>>;
3973
3970
  text: z$1.ZodString;
@@ -4226,7 +4223,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4226
4223
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4227
4224
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4228
4225
  end: z$1.ZodNumber;
4229
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4226
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4230
4227
  kind: z$1.ZodLiteral<"thread">;
4231
4228
  label: z$1.ZodString;
4232
4229
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -4275,7 +4272,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4275
4272
  kind: z$1.ZodLiteral<"plugin">;
4276
4273
  label: z$1.ZodString;
4277
4274
  pluginId: z$1.ZodString;
4278
- }, z$1.core.$strip>], "kind">>;
4275
+ }, z$1.core.$strip>], "kind">, unknown>;
4279
4276
  start: z$1.ZodNumber;
4280
4277
  }, z$1.core.$strip>>>;
4281
4278
  text: z$1.ZodString;
@@ -4383,6 +4380,11 @@ declare const threadQueuedWorkSchema: z$1.ZodEnum<{
4383
4380
  }>;
4384
4381
  type ThreadQueuedWork = z$1.infer<typeof threadQueuedWorkSchema>;
4385
4382
 
4383
+ declare const mobileAppDownloads: {
4384
+ ios: string;
4385
+ android: string;
4386
+ };
4387
+
4386
4388
  declare const threadContextResponseSchema: z$1.ZodObject<{
4387
4389
  usage: z$1.ZodNullable<z$1.ZodObject<{
4388
4390
  estimated: z$1.ZodBoolean;
@@ -4544,14 +4546,14 @@ declare const projectListQuerySchema: z$1.ZodObject<{
4544
4546
  }, z$1.core.$strip>;
4545
4547
  type ProjectListQuery = z$1.infer<typeof projectListQuerySchema>;
4546
4548
  declare const projectFilesQuerySchema: z$1.ZodObject<{
4547
- environmentId: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodOptional<z$1.ZodString>>>;
4549
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4548
4550
  hostId: z$1.ZodOptional<z$1.ZodString>;
4549
4551
  limit: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4550
4552
  query: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4551
4553
  }, z$1.core.$strip>;
4552
4554
  type ProjectFilesQuery = z$1.infer<typeof projectFilesQuerySchema>;
4553
4555
  declare const projectPathsQuerySchema: z$1.ZodObject<{
4554
- environmentId: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodOptional<z$1.ZodString>>>;
4556
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4555
4557
  hostId: z$1.ZodOptional<z$1.ZodString>;
4556
4558
  includeDirectories: z$1.ZodEnum<{
4557
4559
  false: "false";
@@ -4565,12 +4567,6 @@ declare const projectPathsQuerySchema: z$1.ZodObject<{
4565
4567
  query: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4566
4568
  }, z$1.core.$strip>;
4567
4569
  type ProjectPathsQuery = z$1.infer<typeof projectPathsQuerySchema>;
4568
- declare const projectFileContentQuerySchema: z$1.ZodObject<{
4569
- environmentId: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodOptional<z$1.ZodString>>>;
4570
- hostId: z$1.ZodOptional<z$1.ZodString>;
4571
- path: z$1.ZodString;
4572
- }, z$1.core.$strip>;
4573
- type ProjectFileContentQuery = z$1.infer<typeof projectFileContentQuerySchema>;
4574
4570
  declare const projectBranchesQuerySchema: z$1.ZodObject<{
4575
4571
  hostId: z$1.ZodString;
4576
4572
  limit: z$1.ZodOptional<z$1.ZodString>;
@@ -4648,7 +4644,7 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
4648
4644
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4649
4645
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4650
4646
  end: z$1.ZodNumber;
4651
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4647
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4652
4648
  kind: z$1.ZodLiteral<"thread">;
4653
4649
  label: z$1.ZodString;
4654
4650
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -4697,7 +4693,7 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
4697
4693
  kind: z$1.ZodLiteral<"plugin">;
4698
4694
  label: z$1.ZodString;
4699
4695
  pluginId: z$1.ZodString;
4700
- }, z$1.core.$strip>], "kind">>;
4696
+ }, z$1.core.$strip>], "kind">, unknown>;
4701
4697
  start: z$1.ZodNumber;
4702
4698
  }, z$1.core.$strip>>>;
4703
4699
  text: z$1.ZodString;
@@ -4758,7 +4754,7 @@ declare const commandListResponseSchema: z$1.ZodObject<{
4758
4754
  }, z$1.core.$strip>;
4759
4755
  type CommandListResponse = z$1.infer<typeof commandListResponseSchema>;
4760
4756
  declare const projectCommandsQuerySchema: z$1.ZodObject<{
4761
- environmentId: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodOptional<z$1.ZodString>>>;
4757
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4762
4758
  hostId: z$1.ZodOptional<z$1.ZodString>;
4763
4759
  provider: z$1.ZodString;
4764
4760
  }, z$1.core.$strict>;
@@ -5525,9 +5521,11 @@ declare const environmentPullRequestResponseSchema: z$1.ZodDiscriminatedUnion<[z
5525
5521
  draft: "draft";
5526
5522
  merged: "merged";
5527
5523
  none: "none";
5524
+ queued: "queued";
5528
5525
  ready_to_merge: "ready_to_merge";
5529
5526
  review_requested: "review_requested";
5530
5527
  }>;
5528
+ autoMerge: z$1.ZodBoolean;
5531
5529
  baseRefName: z$1.ZodString;
5532
5530
  checks: z$1.ZodObject<{
5533
5531
  failedCount: z$1.ZodNumber;
@@ -5543,6 +5541,7 @@ declare const environmentPullRequestResponseSchema: z$1.ZodDiscriminatedUnion<[z
5543
5541
  totalCount: z$1.ZodNumber;
5544
5542
  }, z$1.core.$strict>;
5545
5543
  headRefName: z$1.ZodString;
5544
+ inMergeQueue: z$1.ZodNullable<z$1.ZodBoolean>;
5546
5545
  mergeability: z$1.ZodObject<{
5547
5546
  mergeStateStatus: z$1.ZodNullable<z$1.ZodEnum<{
5548
5547
  BEHIND: "BEHIND";
@@ -5793,12 +5792,6 @@ declare const hostDaemonCommandRegistry: {
5793
5792
  hidden: "hidden";
5794
5793
  reveal: "reveal";
5795
5794
  }>;
5796
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5797
- id: z$1.ZodString;
5798
- kind: z$1.ZodLiteral<"automation">;
5799
- }, z$1.core.$strip>, z$1.ZodObject<{
5800
- kind: z$1.ZodLiteral<"personal">;
5801
- }, z$1.core.$strip>], "kind">;
5802
5795
  tabId: z$1.ZodString;
5803
5796
  threadId: z$1.ZodString;
5804
5797
  title: z$1.ZodString;
@@ -5812,12 +5805,6 @@ declare const hostDaemonCommandRegistry: {
5812
5805
  hidden: "hidden";
5813
5806
  reveal: "reveal";
5814
5807
  }>;
5815
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5816
- id: z$1.ZodString;
5817
- kind: z$1.ZodLiteral<"automation">;
5818
- }, z$1.core.$strip>, z$1.ZodObject<{
5819
- kind: z$1.ZodLiteral<"personal">;
5820
- }, z$1.core.$strip>], "kind">;
5821
5808
  tabId: z$1.ZodString;
5822
5809
  threadId: z$1.ZodString;
5823
5810
  type: z$1.ZodLiteral<"desktop.browser.create_tab">;
@@ -5833,12 +5820,6 @@ declare const hostDaemonCommandRegistry: {
5833
5820
  hidden: "hidden";
5834
5821
  reveal: "reveal";
5835
5822
  }>;
5836
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5837
- id: z$1.ZodString;
5838
- kind: z$1.ZodLiteral<"automation">;
5839
- }, z$1.core.$strip>, z$1.ZodObject<{
5840
- kind: z$1.ZodLiteral<"personal">;
5841
- }, z$1.core.$strip>], "kind">;
5842
5823
  tabId: z$1.ZodString;
5843
5824
  threadId: z$1.ZodString;
5844
5825
  title: z$1.ZodString;
@@ -5951,12 +5932,6 @@ declare const hostDaemonCommandRegistry: {
5951
5932
  "desktop.browser.import_cookies": HostDaemonCommandDescriptor<"desktop.browser.import_cookies", z$1.ZodObject<{
5952
5933
  generation: z$1.ZodString;
5953
5934
  instanceId: z$1.ZodString;
5954
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5955
- id: z$1.ZodString;
5956
- kind: z$1.ZodLiteral<"automation">;
5957
- }, z$1.core.$strip>, z$1.ZodObject<{
5958
- kind: z$1.ZodLiteral<"personal">;
5959
- }, z$1.core.$strip>], "kind">;
5960
5935
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
5961
5936
  arc: "arc";
5962
5937
  brave: "brave";
@@ -6042,7 +6017,6 @@ declare const hostDaemonCommandRegistry: {
6042
6017
  serverPath: z$1.ZodString;
6043
6018
  }, z$1.core.$strict>]>;
6044
6019
  }, z$1.core.$strict>>>;
6045
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6046
6020
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6047
6021
  description: z$1.ZodString;
6048
6022
  inputSchema: z$1.ZodUnknown;
@@ -6203,7 +6177,6 @@ declare const hostDaemonCommandRegistry: {
6203
6177
  serverPath: z$1.ZodString;
6204
6178
  }, z$1.core.$strict>]>;
6205
6179
  }, z$1.core.$strict>>>;
6206
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6207
6180
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6208
6181
  description: z$1.ZodString;
6209
6182
  inputSchema: z$1.ZodUnknown;
@@ -6270,7 +6243,7 @@ declare const hostDaemonCommandRegistry: {
6270
6243
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6271
6244
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6272
6245
  end: z$1.ZodNumber;
6273
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6246
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6274
6247
  kind: z$1.ZodLiteral<"thread">;
6275
6248
  label: z$1.ZodString;
6276
6249
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6319,7 +6292,7 @@ declare const hostDaemonCommandRegistry: {
6319
6292
  kind: z$1.ZodLiteral<"plugin">;
6320
6293
  label: z$1.ZodString;
6321
6294
  pluginId: z$1.ZodString;
6322
- }, z$1.core.$strip>], "kind">>;
6295
+ }, z$1.core.$strip>], "kind">, unknown>;
6323
6296
  start: z$1.ZodNumber;
6324
6297
  }, z$1.core.$strip>>>;
6325
6298
  text: z$1.ZodString;
@@ -6352,7 +6325,7 @@ declare const hostDaemonCommandRegistry: {
6352
6325
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6353
6326
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6354
6327
  end: z$1.ZodNumber;
6355
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6328
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6356
6329
  kind: z$1.ZodLiteral<"thread">;
6357
6330
  label: z$1.ZodString;
6358
6331
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6401,7 +6374,7 @@ declare const hostDaemonCommandRegistry: {
6401
6374
  kind: z$1.ZodLiteral<"plugin">;
6402
6375
  label: z$1.ZodString;
6403
6376
  pluginId: z$1.ZodString;
6404
- }, z$1.core.$strip>], "kind">>;
6377
+ }, z$1.core.$strip>], "kind">, unknown>;
6405
6378
  start: z$1.ZodNumber;
6406
6379
  }, z$1.core.$strip>>>;
6407
6380
  text: z$1.ZodString;
@@ -6519,7 +6492,7 @@ declare const hostDaemonCommandRegistry: {
6519
6492
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6520
6493
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6521
6494
  end: z$1.ZodNumber;
6522
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6495
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6523
6496
  kind: z$1.ZodLiteral<"thread">;
6524
6497
  label: z$1.ZodString;
6525
6498
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6568,7 +6541,7 @@ declare const hostDaemonCommandRegistry: {
6568
6541
  kind: z$1.ZodLiteral<"plugin">;
6569
6542
  label: z$1.ZodString;
6570
6543
  pluginId: z$1.ZodString;
6571
- }, z$1.core.$strip>], "kind">>;
6544
+ }, z$1.core.$strip>], "kind">, unknown>;
6572
6545
  start: z$1.ZodNumber;
6573
6546
  }, z$1.core.$strip>>>;
6574
6547
  text: z$1.ZodString;
@@ -6601,7 +6574,7 @@ declare const hostDaemonCommandRegistry: {
6601
6574
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6602
6575
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6603
6576
  end: z$1.ZodNumber;
6604
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6577
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6605
6578
  kind: z$1.ZodLiteral<"thread">;
6606
6579
  label: z$1.ZodString;
6607
6580
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6650,7 +6623,7 @@ declare const hostDaemonCommandRegistry: {
6650
6623
  kind: z$1.ZodLiteral<"plugin">;
6651
6624
  label: z$1.ZodString;
6652
6625
  pluginId: z$1.ZodString;
6653
- }, z$1.core.$strip>], "kind">>;
6626
+ }, z$1.core.$strip>], "kind">, unknown>;
6654
6627
  start: z$1.ZodNumber;
6655
6628
  }, z$1.core.$strip>>>;
6656
6629
  text: z$1.ZodString;
@@ -6764,7 +6737,6 @@ declare const hostDaemonCommandRegistry: {
6764
6737
  serverPath: z$1.ZodString;
6765
6738
  }, z$1.core.$strict>]>;
6766
6739
  }, z$1.core.$strict>>>;
6767
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6768
6740
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6769
6741
  description: z$1.ZodString;
6770
6742
  inputSchema: z$1.ZodUnknown;
@@ -6846,12 +6818,7 @@ declare const hostDaemonCommandRegistry: {
6846
6818
  }, z$1.core.$strip>], "mode">;
6847
6819
  threadId: z$1.ZodString;
6848
6820
  type: z$1.ZodLiteral<"turn.submit">;
6849
- }, z$1.core.$strict>, z$1.ZodObject<{
6850
- appliedAs: z$1.ZodEnum<{
6851
- "new-turn": "new-turn";
6852
- steer: "steer";
6853
- }>;
6854
- }, z$1.core.$strip>, "settled", false>;
6821
+ }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
6855
6822
  "thread.stop": HostDaemonCommandDescriptor<"thread.stop", z$1.ZodObject<{
6856
6823
  environmentId: z$1.ZodString;
6857
6824
  intent: z$1.ZodEnum<{
@@ -6983,7 +6950,6 @@ declare const hostDaemonCommandRegistry: {
6983
6950
  serverPath: z$1.ZodString;
6984
6951
  }, z$1.core.$strict>]>;
6985
6952
  }, z$1.core.$strict>>>;
6986
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6987
6953
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6988
6954
  description: z$1.ZodString;
6989
6955
  inputSchema: z$1.ZodUnknown;
@@ -7805,15 +7771,6 @@ declare const hostDaemonCommandRegistry: {
7805
7771
  name: z$1.ZodString;
7806
7772
  }, z$1.core.$strip>>;
7807
7773
  }, z$1.core.$strip>, "onlineRpc", true>;
7808
- "host.file_metadata": HostDaemonCommandDescriptor<"host.file_metadata", z$1.ZodObject<{
7809
- path: z$1.ZodString;
7810
- rootPath: z$1.ZodOptional<z$1.ZodString>;
7811
- type: z$1.ZodLiteral<"host.file_metadata">;
7812
- }, z$1.core.$strict>, z$1.ZodObject<{
7813
- modifiedAtMs: z$1.ZodNumber;
7814
- path: z$1.ZodString;
7815
- sizeBytes: z$1.ZodNumber;
7816
- }, z$1.core.$strip>, "onlineRpc", true>;
7817
7774
  "host.read_file": HostDaemonCommandDescriptor<"host.read_file", z$1.ZodObject<{
7818
7775
  ifNoneMatch: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7819
7776
  kind: z$1.ZodLiteral<"any">;
@@ -8078,9 +8035,7 @@ declare const hostDaemonCommandRegistry: {
8078
8035
  kind: z$1.ZodLiteral<"artifact">;
8079
8036
  }, z$1.core.$strict>;
8080
8037
  }, z$1.core.$strict>;
8081
- cwd: z$1.ZodOptional<z$1.ZodString>;
8082
8038
  providerId: z$1.ZodString;
8083
- requirement: z$1.ZodOptional<z$1.ZodLiteral<"thread_rewind">>;
8084
8039
  type: z$1.ZodLiteral<"provider.installation.status">;
8085
8040
  }, z$1.core.$strict>, z$1.ZodObject<{
8086
8041
  currentVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -8141,7 +8096,6 @@ declare const hostDaemonCommandRegistry: {
8141
8096
  kind: z$1.ZodLiteral<"artifact">;
8142
8097
  }, z$1.core.$strict>;
8143
8098
  }, z$1.core.$strict>;
8144
- cwd: z$1.ZodOptional<z$1.ZodString>;
8145
8099
  providerId: z$1.ZodString;
8146
8100
  type: z$1.ZodLiteral<"provider.installation.run">;
8147
8101
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8196,7 +8150,6 @@ declare const hostDaemonCommandRegistry: {
8196
8150
  kind: z$1.ZodLiteral<"artifact">;
8197
8151
  }, z$1.core.$strict>;
8198
8152
  }, z$1.core.$strict>;
8199
- cwd: z$1.ZodOptional<z$1.ZodString>;
8200
8153
  providerId: z$1.ZodString;
8201
8154
  type: z$1.ZodLiteral<"provider.usage">;
8202
8155
  }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -8489,6 +8442,7 @@ declare const hostDaemonCommandRegistry: {
8489
8442
  }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8490
8443
  outcome: z$1.ZodLiteral<"available">;
8491
8444
  pullRequest: z$1.ZodObject<{
8445
+ autoMerge: z$1.ZodBoolean;
8492
8446
  baseRefName: z$1.ZodString;
8493
8447
  checks: z$1.ZodArray<z$1.ZodObject<{
8494
8448
  conclusion: z$1.ZodNullable<z$1.ZodEnum<{
@@ -8514,6 +8468,7 @@ declare const hostDaemonCommandRegistry: {
8514
8468
  url: z$1.ZodNullable<z$1.ZodString>;
8515
8469
  }, z$1.core.$strict>>;
8516
8470
  headRefName: z$1.ZodString;
8471
+ inMergeQueue: z$1.ZodNullable<z$1.ZodBoolean>;
8517
8472
  isDraft: z$1.ZodBoolean;
8518
8473
  mergeStateStatus: z$1.ZodNullable<z$1.ZodEnum<{
8519
8474
  BEHIND: "BEHIND";
@@ -8576,12 +8531,6 @@ declare const hostDaemonCommandRegistry: {
8576
8531
  }>;
8577
8532
  portAvailable: z$1.ZodBoolean;
8578
8533
  serverEntryAvailable: z$1.ZodBoolean;
8579
- serviceManager: z$1.ZodEnum<{
8580
- "systemd-system": "systemd-system";
8581
- "systemd-user": "systemd-user";
8582
- launchd: "launchd";
8583
- none: "none";
8584
- }>;
8585
8534
  timeZone: z$1.ZodNullable<z$1.ZodString>;
8586
8535
  }, z$1.core.$strict>, "onlineRpc", true>;
8587
8536
  "server_move.probe": HostDaemonCommandDescriptor<"server_move.probe", z$1.ZodObject<{
@@ -8760,12 +8709,6 @@ declare const desktopBrowserCommandSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
8760
8709
  hidden: "hidden";
8761
8710
  reveal: "reveal";
8762
8711
  }>;
8763
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8764
- id: z$1.ZodString;
8765
- kind: z$1.ZodLiteral<"automation">;
8766
- }, z$1.core.$strip>, z$1.ZodObject<{
8767
- kind: z$1.ZodLiteral<"personal">;
8768
- }, z$1.core.$strip>], "kind">;
8769
8712
  tabId: z$1.ZodString;
8770
8713
  threadId: z$1.ZodString;
8771
8714
  type: z$1.ZodLiteral<"desktop.browser.create_tab">;
@@ -8817,12 +8760,6 @@ declare const desktopBrowserCommandSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
8817
8760
  }, z$1.core.$strict>, z$1.ZodObject<{
8818
8761
  generation: z$1.ZodString;
8819
8762
  instanceId: z$1.ZodString;
8820
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8821
- id: z$1.ZodString;
8822
- kind: z$1.ZodLiteral<"automation">;
8823
- }, z$1.core.$strip>, z$1.ZodObject<{
8824
- kind: z$1.ZodLiteral<"personal">;
8825
- }, z$1.core.$strip>], "kind">;
8826
8763
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
8827
8764
  arc: "arc";
8828
8765
  brave: "brave";
@@ -8859,12 +8796,6 @@ declare const desktopBrowserResultSchemas: {
8859
8796
  hidden: "hidden";
8860
8797
  reveal: "reveal";
8861
8798
  }>;
8862
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8863
- id: z$1.ZodString;
8864
- kind: z$1.ZodLiteral<"automation">;
8865
- }, z$1.core.$strip>, z$1.ZodObject<{
8866
- kind: z$1.ZodLiteral<"personal">;
8867
- }, z$1.core.$strip>], "kind">;
8868
8799
  tabId: z$1.ZodString;
8869
8800
  threadId: z$1.ZodString;
8870
8801
  title: z$1.ZodString;
@@ -8882,12 +8813,6 @@ declare const desktopBrowserResultSchemas: {
8882
8813
  hidden: "hidden";
8883
8814
  reveal: "reveal";
8884
8815
  }>;
8885
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8886
- id: z$1.ZodString;
8887
- kind: z$1.ZodLiteral<"automation">;
8888
- }, z$1.core.$strip>, z$1.ZodObject<{
8889
- kind: z$1.ZodLiteral<"personal">;
8890
- }, z$1.core.$strip>], "kind">;
8891
8816
  tabId: z$1.ZodString;
8892
8817
  threadId: z$1.ZodString;
8893
8818
  title: z$1.ZodString;
@@ -10168,12 +10093,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10168
10093
  }, z$1.core.$strict>;
10169
10094
  }, z$1.core.$strict>>;
10170
10095
  experiments: z$1.ZodRecord<z$1.ZodEnum<{
10171
- androidTesting: "androidTesting";
10172
10096
  changelogPreview: "changelogPreview";
10173
10097
  legacyJitiPluginLoader: "legacyJitiPluginLoader";
10174
- mobileApp: "mobileApp";
10175
10098
  serverMove: "serverMove";
10176
- sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
10177
10099
  }>, z$1.ZodBoolean>;
10178
10100
  featureFlags: z$1.ZodObject<{
10179
10101
  placeholder: z$1.ZodBoolean;
@@ -10181,6 +10103,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10181
10103
  }, z$1.core.$strip>;
10182
10104
  generalSettings: z$1.ZodObject<{
10183
10105
  allowFastServiceTier: z$1.ZodBoolean;
10106
+ confirmThreadArchive: z$1.ZodBoolean;
10184
10107
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
10185
10108
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
10186
10109
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -10682,20 +10605,111 @@ declare const androidAppArtifactSchema: z$1.ZodObject<{
10682
10605
  versionCode: z$1.ZodNumber;
10683
10606
  }, z$1.core.$strip>;
10684
10607
  type AndroidAppArtifact = z$1.infer<typeof androidAppArtifactSchema>;
10685
- type SystemAndroidAppResponse = AndroidAppArtifact | null;
10686
- declare const androidAppPrepareRequestSchema: z$1.ZodObject<{
10687
- source: z$1.ZodEnum<{
10688
- github: "github";
10689
- local: "local";
10690
- }>;
10691
- }, z$1.core.$strip>;
10692
- type AndroidAppPrepareRequest = z$1.infer<typeof androidAppPrepareRequestSchema>;
10693
- interface AndroidAppPreparation {
10694
- status: "failed" | "idle" | "preparing" | "ready";
10695
- source: "github" | "local" | null;
10696
- message: string;
10697
- artifact: AndroidAppArtifact | null;
10608
+ interface SystemMobileAppReleasesResponse {
10609
+ android: (AndroidAppArtifact & {
10610
+ updatedAt: string;
10611
+ }) | null;
10698
10612
  }
10613
+ declare const systemProviderCatalogEntrySchema: z$1.ZodObject<{
10614
+ available: z$1.ZodBoolean;
10615
+ displayName: z$1.ZodString;
10616
+ enabled: z$1.ZodBoolean;
10617
+ id: z$1.ZodString;
10618
+ info: z$1.ZodNullable<z$1.ZodObject<{
10619
+ available: z$1.ZodBoolean;
10620
+ capabilities: z$1.ZodObject<{
10621
+ modelCatalogScope: z$1.ZodEnum<{
10622
+ host: "host";
10623
+ workspace: "workspace";
10624
+ }>;
10625
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
10626
+ "accept-edits": "accept-edits";
10627
+ auto: "auto";
10628
+ full: "full";
10629
+ }>>;
10630
+ supportsFork: z$1.ZodBoolean;
10631
+ supportsNativeUserQuestion: z$1.ZodBoolean;
10632
+ supportsServiceTier: z$1.ZodBoolean;
10633
+ supportsSessionRewind: z$1.ZodBoolean;
10634
+ supportsThreadArchive: z$1.ZodBoolean;
10635
+ supportsThreadRename: z$1.ZodBoolean;
10636
+ }, z$1.core.$strip>;
10637
+ completedTurnDisplay: z$1.ZodEnum<{
10638
+ collapse: "collapse";
10639
+ flat: "flat";
10640
+ }>;
10641
+ composerActions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10642
+ kind: z$1.ZodLiteral<"skills">;
10643
+ trigger: z$1.ZodEnum<{
10644
+ "/": "/";
10645
+ $: "$";
10646
+ }>;
10647
+ }, z$1.core.$strip>, z$1.ZodObject<{
10648
+ command: z$1.ZodObject<{
10649
+ name: z$1.ZodString;
10650
+ trailingText: z$1.ZodString;
10651
+ trigger: z$1.ZodEnum<{
10652
+ "/": "/";
10653
+ $: "$";
10654
+ }>;
10655
+ }, z$1.core.$strip>;
10656
+ kind: z$1.ZodLiteral<"plan">;
10657
+ }, z$1.core.$strip>, z$1.ZodObject<{
10658
+ command: z$1.ZodObject<{
10659
+ name: z$1.ZodString;
10660
+ trailingText: z$1.ZodString;
10661
+ trigger: z$1.ZodEnum<{
10662
+ "/": "/";
10663
+ $: "$";
10664
+ }>;
10665
+ }, z$1.core.$strip>;
10666
+ kind: z$1.ZodLiteral<"goal">;
10667
+ }, z$1.core.$strip>], "kind">>;
10668
+ displayName: z$1.ZodString;
10669
+ extensionKinds: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString & z$1.ZodType<`${string}/${string}`, string, z$1.core.$ZodTypeInternals<`${string}/${string}`, string>>, z$1.ZodObject<{
10670
+ item: z$1.ZodBoolean;
10671
+ state: z$1.ZodBoolean;
10672
+ }, z$1.core.$strip>>>;
10673
+ family: z$1.ZodOptional<z$1.ZodString>;
10674
+ icon: z$1.ZodOptional<z$1.ZodObject<{
10675
+ glyph: z$1.ZodString;
10676
+ }, z$1.core.$strip>>;
10677
+ id: z$1.ZodString;
10678
+ logoUrl: z$1.ZodNullable<z$1.ZodString>;
10679
+ maintenance: z$1.ZodObject<{
10680
+ health: z$1.ZodBoolean;
10681
+ installation: z$1.ZodBoolean;
10682
+ usage: z$1.ZodBoolean;
10683
+ }, z$1.core.$strip>;
10684
+ pluginId: z$1.ZodString;
10685
+ reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10686
+ description: z$1.ZodOptional<z$1.ZodString>;
10687
+ id: z$1.ZodString;
10688
+ label: z$1.ZodString;
10689
+ }, z$1.core.$strip>>>;
10690
+ serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10691
+ description: z$1.ZodOptional<z$1.ZodString>;
10692
+ id: z$1.ZodString;
10693
+ label: z$1.ZodString;
10694
+ }, z$1.core.$strip>>>;
10695
+ strings: z$1.ZodOptional<z$1.ZodObject<{
10696
+ brandPrefix: z$1.ZodOptional<z$1.ZodString>;
10697
+ expiredHint: z$1.ZodString;
10698
+ iconTint: z$1.ZodOptional<z$1.ZodObject<{
10699
+ dark: z$1.ZodString;
10700
+ light: z$1.ZodString;
10701
+ }, z$1.core.$strip>>;
10702
+ installUrl: z$1.ZodString;
10703
+ planModeCopy: z$1.ZodOptional<z$1.ZodString>;
10704
+ signInHint: z$1.ZodString;
10705
+ }, z$1.core.$strip>>;
10706
+ }, z$1.core.$strip>>;
10707
+ logoUrl: z$1.ZodNullable<z$1.ZodString>;
10708
+ pluginEnabled: z$1.ZodBoolean;
10709
+ pluginId: z$1.ZodString;
10710
+ pluginName: z$1.ZodString;
10711
+ }, z$1.core.$strip>;
10712
+ type SystemProviderCatalogEntry = z$1.infer<typeof systemProviderCatalogEntrySchema>;
10699
10713
 
10700
10714
  interface UiPreferencesResponse {
10701
10715
  preferences: UiPreferenceEntries;
@@ -10872,7 +10886,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
10872
10886
  kind: z$1.ZodLiteral<"conversation">;
10873
10887
  mentions: z$1.ZodArray<z$1.ZodObject<{
10874
10888
  end: z$1.ZodNumber;
10875
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10889
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10876
10890
  kind: z$1.ZodLiteral<"thread">;
10877
10891
  label: z$1.ZodString;
10878
10892
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -10921,7 +10935,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
10921
10935
  kind: z$1.ZodLiteral<"plugin">;
10922
10936
  label: z$1.ZodString;
10923
10937
  pluginId: z$1.ZodString;
10924
- }, z$1.core.$strip>], "kind">>;
10938
+ }, z$1.core.$strip>], "kind">, unknown>;
10925
10939
  start: z$1.ZodNumber;
10926
10940
  }, z$1.core.$strip>>;
10927
10941
  role: z$1.ZodLiteral<"user">;
@@ -12080,7 +12094,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12080
12094
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12081
12095
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12082
12096
  end: z$1.ZodNumber;
12083
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12097
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12084
12098
  kind: z$1.ZodLiteral<"thread">;
12085
12099
  label: z$1.ZodString;
12086
12100
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12129,7 +12143,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12129
12143
  kind: z$1.ZodLiteral<"plugin">;
12130
12144
  label: z$1.ZodString;
12131
12145
  pluginId: z$1.ZodString;
12132
- }, z$1.core.$strip>], "kind">>;
12146
+ }, z$1.core.$strip>], "kind">, unknown>;
12133
12147
  start: z$1.ZodNumber;
12134
12148
  }, z$1.core.$strip>>>;
12135
12149
  text: z$1.ZodString;
@@ -12221,7 +12235,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12221
12235
  agentContextSeed: z$1.ZodOptional<z$1.ZodArray<z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12222
12236
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12223
12237
  end: z$1.ZodNumber;
12224
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12238
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12225
12239
  kind: z$1.ZodLiteral<"thread">;
12226
12240
  label: z$1.ZodString;
12227
12241
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12270,7 +12284,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12270
12284
  kind: z$1.ZodLiteral<"plugin">;
12271
12285
  label: z$1.ZodString;
12272
12286
  pluginId: z$1.ZodString;
12273
- }, z$1.core.$strip>], "kind">>;
12287
+ }, z$1.core.$strip>], "kind">, unknown>;
12274
12288
  start: z$1.ZodNumber;
12275
12289
  }, z$1.core.$strip>>>;
12276
12290
  text: z$1.ZodString;
@@ -12347,7 +12361,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12347
12361
  input: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12348
12362
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12349
12363
  end: z$1.ZodNumber;
12350
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12364
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12351
12365
  kind: z$1.ZodLiteral<"thread">;
12352
12366
  label: z$1.ZodString;
12353
12367
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12396,7 +12410,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12396
12410
  kind: z$1.ZodLiteral<"plugin">;
12397
12411
  label: z$1.ZodString;
12398
12412
  pluginId: z$1.ZodString;
12399
- }, z$1.core.$strip>], "kind">>;
12413
+ }, z$1.core.$strip>], "kind">, unknown>;
12400
12414
  start: z$1.ZodNumber;
12401
12415
  }, z$1.core.$strip>>>;
12402
12416
  text: z$1.ZodString;
@@ -12471,7 +12485,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
12471
12485
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12472
12486
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12473
12487
  end: z$1.ZodNumber;
12474
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12488
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12475
12489
  kind: z$1.ZodLiteral<"thread">;
12476
12490
  label: z$1.ZodString;
12477
12491
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12520,7 +12534,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
12520
12534
  kind: z$1.ZodLiteral<"plugin">;
12521
12535
  label: z$1.ZodString;
12522
12536
  pluginId: z$1.ZodString;
12523
- }, z$1.core.$strip>], "kind">>;
12537
+ }, z$1.core.$strip>], "kind">, unknown>;
12524
12538
  start: z$1.ZodNumber;
12525
12539
  }, z$1.core.$strip>>>;
12526
12540
  text: z$1.ZodString;
@@ -12600,7 +12614,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
12600
12614
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12601
12615
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12602
12616
  end: z$1.ZodNumber;
12603
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12617
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12604
12618
  kind: z$1.ZodLiteral<"thread">;
12605
12619
  label: z$1.ZodString;
12606
12620
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12649,7 +12663,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
12649
12663
  kind: z$1.ZodLiteral<"plugin">;
12650
12664
  label: z$1.ZodString;
12651
12665
  pluginId: z$1.ZodString;
12652
- }, z$1.core.$strip>], "kind">>;
12666
+ }, z$1.core.$strip>], "kind">, unknown>;
12653
12667
  start: z$1.ZodNumber;
12654
12668
  }, z$1.core.$strip>>>;
12655
12669
  text: z$1.ZodString;
@@ -12774,7 +12788,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
12774
12788
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12775
12789
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12776
12790
  end: z$1.ZodNumber;
12777
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12791
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12778
12792
  kind: z$1.ZodLiteral<"thread">;
12779
12793
  label: z$1.ZodString;
12780
12794
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12823,7 +12837,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
12823
12837
  kind: z$1.ZodLiteral<"plugin">;
12824
12838
  label: z$1.ZodString;
12825
12839
  pluginId: z$1.ZodString;
12826
- }, z$1.core.$strip>], "kind">>;
12840
+ }, z$1.core.$strip>], "kind">, unknown>;
12827
12841
  start: z$1.ZodNumber;
12828
12842
  }, z$1.core.$strip>>>;
12829
12843
  text: z$1.ZodString;
@@ -12946,7 +12960,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
12946
12960
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12947
12961
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12948
12962
  end: z$1.ZodNumber;
12949
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12963
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12950
12964
  kind: z$1.ZodLiteral<"thread">;
12951
12965
  label: z$1.ZodString;
12952
12966
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12995,7 +13009,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
12995
13009
  kind: z$1.ZodLiteral<"plugin">;
12996
13010
  label: z$1.ZodString;
12997
13011
  pluginId: z$1.ZodString;
12998
- }, z$1.core.$strip>], "kind">>;
13012
+ }, z$1.core.$strip>], "kind">, unknown>;
12999
13013
  start: z$1.ZodNumber;
13000
13014
  }, z$1.core.$strip>>>;
13001
13015
  text: z$1.ZodString;
@@ -13053,7 +13067,7 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13053
13067
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13054
13068
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13055
13069
  end: z$1.ZodNumber;
13056
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13070
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13057
13071
  kind: z$1.ZodLiteral<"thread">;
13058
13072
  label: z$1.ZodString;
13059
13073
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -13102,7 +13116,7 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13102
13116
  kind: z$1.ZodLiteral<"plugin">;
13103
13117
  label: z$1.ZodString;
13104
13118
  pluginId: z$1.ZodString;
13105
- }, z$1.core.$strip>], "kind">>;
13119
+ }, z$1.core.$strip>], "kind">, unknown>;
13106
13120
  start: z$1.ZodNumber;
13107
13121
  }, z$1.core.$strip>>>;
13108
13122
  text: z$1.ZodString;
@@ -13162,7 +13176,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13162
13176
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13163
13177
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13164
13178
  end: z$1.ZodNumber;
13165
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13179
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13166
13180
  kind: z$1.ZodLiteral<"thread">;
13167
13181
  label: z$1.ZodString;
13168
13182
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -13211,7 +13225,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13211
13225
  kind: z$1.ZodLiteral<"plugin">;
13212
13226
  label: z$1.ZodString;
13213
13227
  pluginId: z$1.ZodString;
13214
- }, z$1.core.$strip>], "kind">>;
13228
+ }, z$1.core.$strip>], "kind">, unknown>;
13215
13229
  start: z$1.ZodNumber;
13216
13230
  }, z$1.core.$strip>>>;
13217
13231
  text: z$1.ZodString;
@@ -14092,7 +14106,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14092
14106
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14093
14107
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
14094
14108
  end: z$1.ZodNumber;
14095
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14109
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14096
14110
  kind: z$1.ZodLiteral<"thread">;
14097
14111
  label: z$1.ZodString;
14098
14112
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -14141,7 +14155,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14141
14155
  kind: z$1.ZodLiteral<"plugin">;
14142
14156
  label: z$1.ZodString;
14143
14157
  pluginId: z$1.ZodString;
14144
- }, z$1.core.$strip>], "kind">>;
14158
+ }, z$1.core.$strip>], "kind">, unknown>;
14145
14159
  start: z$1.ZodNumber;
14146
14160
  }, z$1.core.$strip>>>;
14147
14161
  text: z$1.ZodString;
@@ -14740,6 +14754,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
14740
14754
  anchorId: z$1.ZodString;
14741
14755
  anchorSeq: z$1.ZodNumber;
14742
14756
  }, z$1.core.$strict>>;
14757
+ olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
14743
14758
  olderRowsSourceSeqEnd: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
14744
14759
  returnedSegmentCount: z$1.ZodNumber;
14745
14760
  segmentLimit: z$1.ZodNumber;
@@ -14815,7 +14830,6 @@ declare const desktopBrowserCreateRequestSchema: z$1.ZodObject<{
14815
14830
  url: z$1.ZodDefault<z$1.ZodPipe<z$1.ZodString, z$1.ZodString>>;
14816
14831
  }, z$1.core.$strict>;
14817
14832
  declare const desktopBrowserAcquireRequestSchema: z$1.ZodObject<{
14818
- allowPersonal: z$1.ZodDefault<z$1.ZodBoolean>;
14819
14833
  controllerLabel: z$1.ZodString;
14820
14834
  generation: z$1.ZodString;
14821
14835
  hostId: z$1.ZodString;
@@ -14840,12 +14854,6 @@ declare const desktopBrowserImportCookiesRequestSchema: z$1.ZodObject<{
14840
14854
  generation: z$1.ZodString;
14841
14855
  hostId: z$1.ZodString;
14842
14856
  instanceId: z$1.ZodString;
14843
- profile: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14844
- id: z$1.ZodString;
14845
- kind: z$1.ZodLiteral<"automation">;
14846
- }, z$1.core.$strip>, z$1.ZodObject<{
14847
- kind: z$1.ZodLiteral<"personal">;
14848
- }, z$1.core.$strip>], "kind">>;
14849
14857
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
14850
14858
  arc: "arc";
14851
14859
  brave: "brave";
@@ -15761,7 +15769,8 @@ type ProjectCommandsArgs = ProjectWorkspaceRoutingArgs & Omit<ProjectCommandsQue
15761
15769
  projectId: string;
15762
15770
  signal?: AbortSignal;
15763
15771
  };
15764
- type ProjectFileContentArgs = ProjectWorkspaceRoutingArgs & Omit<ProjectFileContentQuery, "environmentId" | "hostId"> & {
15772
+ type ProjectFileContentArgs = ProjectWorkspaceRoutingArgs & {
15773
+ path: string;
15765
15774
  projectId: string;
15766
15775
  signal?: AbortSignal;
15767
15776
  };
@@ -15906,6 +15915,11 @@ type ProviderModelsArgs = ProviderHostRoutingArgs & {
15906
15915
  type ProviderListResult = ProviderInfo[];
15907
15916
  type ProviderModelsResult = SystemExecutionOptionsResponse;
15908
15917
  interface ProvidersArea {
15918
+ catalog(): Promise<SystemProviderCatalogEntry[]>;
15919
+ setEnabled(args: {
15920
+ providerId: string;
15921
+ enabled: boolean;
15922
+ }): Promise<SystemProviderCatalogEntry[]>;
15909
15923
  list(args?: ProviderListArgs): Promise<ProviderListResult>;
15910
15924
  models(args?: ProviderModelsArgs): Promise<ProviderModelsResult>;
15911
15925
  }
@@ -16325,9 +16339,8 @@ interface SystemArea {
16325
16339
  testAiService(args: SystemTestAiServiceArgs): Promise<SystemTestAiServiceResult>;
16326
16340
  transcribeVoice(args: SystemVoiceTranscriptionArgs): Promise<SystemVoiceTranscriptionResult>;
16327
16341
  uiPreferences: SystemUiPreferencesArea;
16328
- androidAppPreparation(): Promise<AndroidAppPreparation>;
16329
- prepareAndroidApp(input: AndroidAppPrepareRequest): Promise<AndroidAppPreparation>;
16330
- androidApp(): Promise<SystemAndroidAppResponse>;
16342
+ mobileAppDownloads(): typeof mobileAppDownloads;
16343
+ mobileAppReleases(): Promise<SystemMobileAppReleasesResponse>;
16331
16344
  updateExperiments(args: Experiments): Promise<SystemUpdateExperimentsResult>;
16332
16345
  updateGeneralSettings(args: AppSettingsUpdate): Promise<SystemUpdateGeneralSettingsResult>;
16333
16346
  updateKeyboardSettings(args: AppKeybindingOverrides): Promise<SystemUpdateKeyboardSettingsResult>;
@@ -17332,8 +17345,6 @@ interface PluginFileOpenerProps {
17332
17345
  * @experimental Audit before relying on this as a stable contract.
17333
17346
  */
17334
17347
  Original: ComponentType;
17335
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17336
- experimental_Original?: ComponentType;
17337
17348
  }
17338
17349
  /** How a code line longer than the viewport is presented. */
17339
17350
  type CodeOverflowMode = "scroll" | "wrap";
@@ -17425,8 +17436,6 @@ interface PluginSourceCodeRendererProps {
17425
17436
  * @experimental Audit before relying on this as a stable contract.
17426
17437
  */
17427
17438
  Original: ComponentType;
17428
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17429
- experimental_Original?: ComponentType;
17430
17439
  }
17431
17440
  /**
17432
17441
  * Props passed to an `experimental_diffRenderer` component. `patch` is always
@@ -17454,8 +17463,6 @@ interface PluginDiffRendererProps {
17454
17463
  * @experimental Audit before relying on this as a stable contract.
17455
17464
  */
17456
17465
  Original: ComponentType;
17457
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17458
- experimental_Original?: ComponentType;
17459
17466
  }
17460
17467
  /**
17461
17468
  * Message context passed to a `messageDirective` component — the assistant
@@ -17496,6 +17503,8 @@ interface PluginHomepageSectionRegistration {
17496
17503
  component: ComponentType<PluginHomepageSectionProps>;
17497
17504
  }
17498
17505
  interface PluginSettingsSectionRegistration {
17506
+ /** Render on Mobile settings instead of the plugin configuration page. */
17507
+ experimental_page?: "mobile";
17499
17508
  /** Unique within the plugin; letters, digits, `-`, `_`. */
17500
17509
  id: string;
17501
17510
  /** Optional host-rendered section heading. */
@@ -17948,11 +17957,24 @@ interface PluginSidebarThread {
17948
17957
  * can colour a badge without reading checks, review, and mergeability itself.
17949
17958
  */
17950
17959
  interface PluginSidebarPullRequest {
17960
+ /** Whether GitHub auto-merge is enabled. */
17961
+ experimental_autoMerge: boolean;
17962
+ /** Null when the GitHub merge queue lookup is unavailable. */
17963
+ experimental_inMergeQueue: boolean | null;
17964
+ experimental_checks: {
17965
+ state: "failing" | "no_checks" | "passing" | "pending" | "unknown";
17966
+ };
17967
+ experimental_review: {
17968
+ state: "approved" | "changes_requested" | "none" | "review_requested" | "review_required";
17969
+ };
17970
+ experimental_mergeability: {
17971
+ state: "blocked" | "conflicts" | "draft" | "mergeable" | "unknown";
17972
+ };
17951
17973
  number: number;
17952
17974
  title: string;
17953
17975
  url: string;
17954
17976
  state: "closed" | "draft" | "merged" | "open";
17955
- attention: "blocked" | "changes_requested" | "checks_failed" | "checks_pending" | "closed" | "conflicts" | "draft" | "merged" | "none" | "ready_to_merge" | "review_requested";
17977
+ attention: "blocked" | "changes_requested" | "checks_failed" | "checks_pending" | "closed" | "conflicts" | "draft" | "merged" | "none" | "queued" | "ready_to_merge" | "review_requested";
17956
17978
  }
17957
17979
  interface PluginSidebarThreadPullRequestState {
17958
17980
  /** True while the first lookup for this thread's environment is in flight. */
@@ -18191,7 +18213,7 @@ interface PluginSidebarThreadActions {
18191
18213
  setRead(threadId: string, read: boolean): Promise<void>;
18192
18214
  /** Silent rename — no dialog. For inline editing in your own row. */
18193
18215
  rename(threadId: string, title: string): Promise<void>;
18194
- /** Archives immediately, or confirms first if child threads will also be archived. */
18216
+ /** Confirms before including child threads unless archive confirmation is disabled in Settings → General. */
18195
18217
  archive(threadId: string): void;
18196
18218
  /**
18197
18219
  * Opens bb's delete confirmation, which counts child threads first. Deletion