@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.
@@ -46,6 +46,7 @@ interface ProviderNativeRootsInputLike {
46
46
 
47
47
  declare const appSettingsSchema: z$1.ZodObject<{
48
48
  allowFastServiceTier: z$1.ZodBoolean;
49
+ confirmThreadArchive: z$1.ZodBoolean;
49
50
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
50
51
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
51
52
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -65,6 +66,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
65
66
  type AppSettings = z$1.infer<typeof appSettingsSchema>;
66
67
  declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
67
68
  allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
69
+ confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
68
70
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
69
71
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
70
72
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -83,6 +85,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
83
85
  telemetryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
84
86
  }, z$1.core.$strict>, z$1.ZodObject<{
85
87
  allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
88
+ confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
86
89
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
87
90
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
88
91
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -299,7 +302,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
299
302
  "events-appended": "events-appended";
300
303
  "history-rewritten": "history-rewritten";
301
304
  "interactions-changed": "interactions-changed";
302
- "order-changed": "order-changed";
303
305
  "parent-changed": "parent-changed";
304
306
  "pin-state-changed": "pin-state-changed";
305
307
  "queue-changed": "queue-changed";
@@ -488,12 +490,9 @@ declare const environmentSchema: z$1.ZodObject<{
488
490
  type Environment = z$1.infer<typeof environmentSchema>;
489
491
 
490
492
  declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
491
- androidTesting: "androidTesting";
492
493
  changelogPreview: "changelogPreview";
493
494
  legacyJitiPluginLoader: "legacyJitiPluginLoader";
494
- mobileApp: "mobileApp";
495
495
  serverMove: "serverMove";
496
- sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
497
496
  }>, z$1.ZodBoolean>;
498
497
  type Experiments = z$1.infer<typeof experimentsSchema>;
499
498
 
@@ -657,7 +656,7 @@ declare const providerRateLimitStateSchema: z$1.ZodObject<{
657
656
  }, z$1.core.$strip>>;
658
657
  }, z$1.core.$strip>;
659
658
  type ProviderRateLimitState = z$1.infer<typeof providerRateLimitStateSchema>;
660
- declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
659
+ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
661
660
  threadId: z$1.ZodString;
662
661
  type: z$1.ZodLiteral<"thread/started">;
663
662
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -2873,7 +2872,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2873
2872
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2874
2873
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
2875
2874
  end: z$1.ZodNumber;
2876
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2875
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2877
2876
  kind: z$1.ZodLiteral<"thread">;
2878
2877
  label: z$1.ZodString;
2879
2878
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -2922,7 +2921,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2922
2921
  kind: z$1.ZodLiteral<"plugin">;
2923
2922
  label: z$1.ZodString;
2924
2923
  pluginId: z$1.ZodString;
2925
- }, z$1.core.$strip>], "kind">>;
2924
+ }, z$1.core.$strip>], "kind">, unknown>;
2926
2925
  start: z$1.ZodNumber;
2927
2926
  }, z$1.core.$strip>>>;
2928
2927
  text: z$1.ZodString;
@@ -2955,7 +2954,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2955
2954
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2956
2955
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
2957
2956
  end: z$1.ZodNumber;
2958
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2957
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2959
2958
  kind: z$1.ZodLiteral<"thread">;
2960
2959
  label: z$1.ZodString;
2961
2960
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -3004,7 +3003,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
3004
3003
  kind: z$1.ZodLiteral<"plugin">;
3005
3004
  label: z$1.ZodString;
3006
3005
  pluginId: z$1.ZodString;
3007
- }, z$1.core.$strip>], "kind">>;
3006
+ }, z$1.core.$strip>], "kind">, unknown>;
3008
3007
  start: z$1.ZodNumber;
3009
3008
  }, z$1.core.$strip>>>;
3010
3009
  text: z$1.ZodString;
@@ -3149,8 +3148,6 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
3149
3148
  code: z$1.ZodOptional<z$1.ZodString>;
3150
3149
  detail: z$1.ZodOptional<z$1.ZodString>;
3151
3150
  message: z$1.ZodString;
3152
- reconnectAttempt: z$1.ZodOptional<z$1.ZodNumber>;
3153
- reconnectTotal: z$1.ZodOptional<z$1.ZodNumber>;
3154
3151
  threadId: z$1.ZodString;
3155
3152
  type: z$1.ZodLiteral<"system/error">;
3156
3153
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -3559,7 +3556,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
3559
3556
  kind: z$1.ZodLiteral<"turn">;
3560
3557
  turnId: z$1.ZodString;
3561
3558
  }, z$1.core.$strip>], "kind">;
3562
- }, z$1.core.$strip>>]>>;
3559
+ }, z$1.core.$strip>>]>;
3563
3560
  type ThreadEvent = z$1.infer<typeof threadEventSchema>;
3564
3561
  type ThreadEventType = ThreadEvent["type"];
3565
3562
 
@@ -3946,7 +3943,7 @@ type PermissionMode = z$1.infer<typeof permissionModeSchema>;
3946
3943
  declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3947
3944
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3948
3945
  end: z$1.ZodNumber;
3949
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3946
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3950
3947
  kind: z$1.ZodLiteral<"thread">;
3951
3948
  label: z$1.ZodString;
3952
3949
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -3995,7 +3992,7 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3995
3992
  kind: z$1.ZodLiteral<"plugin">;
3996
3993
  label: z$1.ZodString;
3997
3994
  pluginId: z$1.ZodString;
3998
- }, z$1.core.$strip>], "kind">>;
3995
+ }, z$1.core.$strip>], "kind">, unknown>;
3999
3996
  start: z$1.ZodNumber;
4000
3997
  }, z$1.core.$strip>>>;
4001
3998
  text: z$1.ZodString;
@@ -4277,7 +4274,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4277
4274
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4278
4275
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4279
4276
  end: z$1.ZodNumber;
4280
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4277
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4281
4278
  kind: z$1.ZodLiteral<"thread">;
4282
4279
  label: z$1.ZodString;
4283
4280
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -4326,7 +4323,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4326
4323
  kind: z$1.ZodLiteral<"plugin">;
4327
4324
  label: z$1.ZodString;
4328
4325
  pluginId: z$1.ZodString;
4329
- }, z$1.core.$strip>], "kind">>;
4326
+ }, z$1.core.$strip>], "kind">, unknown>;
4330
4327
  start: z$1.ZodNumber;
4331
4328
  }, z$1.core.$strip>>>;
4332
4329
  text: z$1.ZodString;
@@ -4434,6 +4431,11 @@ declare const threadQueuedWorkSchema: z$1.ZodEnum<{
4434
4431
  }>;
4435
4432
  type ThreadQueuedWork = z$1.infer<typeof threadQueuedWorkSchema>;
4436
4433
 
4434
+ declare const mobileAppDownloads: {
4435
+ ios: string;
4436
+ android: string;
4437
+ };
4438
+
4437
4439
  declare const threadContextResponseSchema: z$1.ZodObject<{
4438
4440
  usage: z$1.ZodNullable<z$1.ZodObject<{
4439
4441
  estimated: z$1.ZodBoolean;
@@ -4595,14 +4597,14 @@ declare const projectListQuerySchema: z$1.ZodObject<{
4595
4597
  }, z$1.core.$strip>;
4596
4598
  type ProjectListQuery = z$1.infer<typeof projectListQuerySchema>;
4597
4599
  declare const projectFilesQuerySchema: z$1.ZodObject<{
4598
- environmentId: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodOptional<z$1.ZodString>>>;
4600
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4599
4601
  hostId: z$1.ZodOptional<z$1.ZodString>;
4600
4602
  limit: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4601
4603
  query: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4602
4604
  }, z$1.core.$strip>;
4603
4605
  type ProjectFilesQuery = z$1.infer<typeof projectFilesQuerySchema>;
4604
4606
  declare const projectPathsQuerySchema: z$1.ZodObject<{
4605
- environmentId: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodOptional<z$1.ZodString>>>;
4607
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4606
4608
  hostId: z$1.ZodOptional<z$1.ZodString>;
4607
4609
  includeDirectories: z$1.ZodEnum<{
4608
4610
  false: "false";
@@ -4616,12 +4618,6 @@ declare const projectPathsQuerySchema: z$1.ZodObject<{
4616
4618
  query: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4617
4619
  }, z$1.core.$strip>;
4618
4620
  type ProjectPathsQuery = z$1.infer<typeof projectPathsQuerySchema>;
4619
- declare const projectFileContentQuerySchema: z$1.ZodObject<{
4620
- environmentId: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodOptional<z$1.ZodString>>>;
4621
- hostId: z$1.ZodOptional<z$1.ZodString>;
4622
- path: z$1.ZodString;
4623
- }, z$1.core.$strip>;
4624
- type ProjectFileContentQuery = z$1.infer<typeof projectFileContentQuerySchema>;
4625
4621
  declare const projectBranchesQuerySchema: z$1.ZodObject<{
4626
4622
  hostId: z$1.ZodString;
4627
4623
  limit: z$1.ZodOptional<z$1.ZodString>;
@@ -4699,7 +4695,7 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
4699
4695
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4700
4696
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4701
4697
  end: z$1.ZodNumber;
4702
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4698
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4703
4699
  kind: z$1.ZodLiteral<"thread">;
4704
4700
  label: z$1.ZodString;
4705
4701
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -4748,7 +4744,7 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
4748
4744
  kind: z$1.ZodLiteral<"plugin">;
4749
4745
  label: z$1.ZodString;
4750
4746
  pluginId: z$1.ZodString;
4751
- }, z$1.core.$strip>], "kind">>;
4747
+ }, z$1.core.$strip>], "kind">, unknown>;
4752
4748
  start: z$1.ZodNumber;
4753
4749
  }, z$1.core.$strip>>>;
4754
4750
  text: z$1.ZodString;
@@ -4809,7 +4805,7 @@ declare const commandListResponseSchema: z$1.ZodObject<{
4809
4805
  }, z$1.core.$strip>;
4810
4806
  type CommandListResponse = z$1.infer<typeof commandListResponseSchema>;
4811
4807
  declare const projectCommandsQuerySchema: z$1.ZodObject<{
4812
- environmentId: z$1.ZodOptional<z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodOptional<z$1.ZodString>>>;
4808
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4813
4809
  hostId: z$1.ZodOptional<z$1.ZodString>;
4814
4810
  provider: z$1.ZodString;
4815
4811
  }, z$1.core.$strict>;
@@ -5576,9 +5572,11 @@ declare const environmentPullRequestResponseSchema: z$1.ZodDiscriminatedUnion<[z
5576
5572
  draft: "draft";
5577
5573
  merged: "merged";
5578
5574
  none: "none";
5575
+ queued: "queued";
5579
5576
  ready_to_merge: "ready_to_merge";
5580
5577
  review_requested: "review_requested";
5581
5578
  }>;
5579
+ autoMerge: z$1.ZodBoolean;
5582
5580
  baseRefName: z$1.ZodString;
5583
5581
  checks: z$1.ZodObject<{
5584
5582
  failedCount: z$1.ZodNumber;
@@ -5594,6 +5592,7 @@ declare const environmentPullRequestResponseSchema: z$1.ZodDiscriminatedUnion<[z
5594
5592
  totalCount: z$1.ZodNumber;
5595
5593
  }, z$1.core.$strict>;
5596
5594
  headRefName: z$1.ZodString;
5595
+ inMergeQueue: z$1.ZodNullable<z$1.ZodBoolean>;
5597
5596
  mergeability: z$1.ZodObject<{
5598
5597
  mergeStateStatus: z$1.ZodNullable<z$1.ZodEnum<{
5599
5598
  BEHIND: "BEHIND";
@@ -5844,12 +5843,6 @@ declare const hostDaemonCommandRegistry: {
5844
5843
  hidden: "hidden";
5845
5844
  reveal: "reveal";
5846
5845
  }>;
5847
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5848
- id: z$1.ZodString;
5849
- kind: z$1.ZodLiteral<"automation">;
5850
- }, z$1.core.$strip>, z$1.ZodObject<{
5851
- kind: z$1.ZodLiteral<"personal">;
5852
- }, z$1.core.$strip>], "kind">;
5853
5846
  tabId: z$1.ZodString;
5854
5847
  threadId: z$1.ZodString;
5855
5848
  title: z$1.ZodString;
@@ -5863,12 +5856,6 @@ declare const hostDaemonCommandRegistry: {
5863
5856
  hidden: "hidden";
5864
5857
  reveal: "reveal";
5865
5858
  }>;
5866
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5867
- id: z$1.ZodString;
5868
- kind: z$1.ZodLiteral<"automation">;
5869
- }, z$1.core.$strip>, z$1.ZodObject<{
5870
- kind: z$1.ZodLiteral<"personal">;
5871
- }, z$1.core.$strip>], "kind">;
5872
5859
  tabId: z$1.ZodString;
5873
5860
  threadId: z$1.ZodString;
5874
5861
  type: z$1.ZodLiteral<"desktop.browser.create_tab">;
@@ -5884,12 +5871,6 @@ declare const hostDaemonCommandRegistry: {
5884
5871
  hidden: "hidden";
5885
5872
  reveal: "reveal";
5886
5873
  }>;
5887
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5888
- id: z$1.ZodString;
5889
- kind: z$1.ZodLiteral<"automation">;
5890
- }, z$1.core.$strip>, z$1.ZodObject<{
5891
- kind: z$1.ZodLiteral<"personal">;
5892
- }, z$1.core.$strip>], "kind">;
5893
5874
  tabId: z$1.ZodString;
5894
5875
  threadId: z$1.ZodString;
5895
5876
  title: z$1.ZodString;
@@ -6002,12 +5983,6 @@ declare const hostDaemonCommandRegistry: {
6002
5983
  "desktop.browser.import_cookies": HostDaemonCommandDescriptor<"desktop.browser.import_cookies", z$1.ZodObject<{
6003
5984
  generation: z$1.ZodString;
6004
5985
  instanceId: z$1.ZodString;
6005
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6006
- id: z$1.ZodString;
6007
- kind: z$1.ZodLiteral<"automation">;
6008
- }, z$1.core.$strip>, z$1.ZodObject<{
6009
- kind: z$1.ZodLiteral<"personal">;
6010
- }, z$1.core.$strip>], "kind">;
6011
5986
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
6012
5987
  arc: "arc";
6013
5988
  brave: "brave";
@@ -6093,7 +6068,6 @@ declare const hostDaemonCommandRegistry: {
6093
6068
  serverPath: z$1.ZodString;
6094
6069
  }, z$1.core.$strict>]>;
6095
6070
  }, z$1.core.$strict>>>;
6096
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6097
6071
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6098
6072
  description: z$1.ZodString;
6099
6073
  inputSchema: z$1.ZodUnknown;
@@ -6254,7 +6228,6 @@ declare const hostDaemonCommandRegistry: {
6254
6228
  serverPath: z$1.ZodString;
6255
6229
  }, z$1.core.$strict>]>;
6256
6230
  }, z$1.core.$strict>>>;
6257
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6258
6231
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6259
6232
  description: z$1.ZodString;
6260
6233
  inputSchema: z$1.ZodUnknown;
@@ -6321,7 +6294,7 @@ declare const hostDaemonCommandRegistry: {
6321
6294
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6322
6295
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6323
6296
  end: z$1.ZodNumber;
6324
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6297
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6325
6298
  kind: z$1.ZodLiteral<"thread">;
6326
6299
  label: z$1.ZodString;
6327
6300
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6370,7 +6343,7 @@ declare const hostDaemonCommandRegistry: {
6370
6343
  kind: z$1.ZodLiteral<"plugin">;
6371
6344
  label: z$1.ZodString;
6372
6345
  pluginId: z$1.ZodString;
6373
- }, z$1.core.$strip>], "kind">>;
6346
+ }, z$1.core.$strip>], "kind">, unknown>;
6374
6347
  start: z$1.ZodNumber;
6375
6348
  }, z$1.core.$strip>>>;
6376
6349
  text: z$1.ZodString;
@@ -6403,7 +6376,7 @@ declare const hostDaemonCommandRegistry: {
6403
6376
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6404
6377
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6405
6378
  end: z$1.ZodNumber;
6406
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6379
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6407
6380
  kind: z$1.ZodLiteral<"thread">;
6408
6381
  label: z$1.ZodString;
6409
6382
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6452,7 +6425,7 @@ declare const hostDaemonCommandRegistry: {
6452
6425
  kind: z$1.ZodLiteral<"plugin">;
6453
6426
  label: z$1.ZodString;
6454
6427
  pluginId: z$1.ZodString;
6455
- }, z$1.core.$strip>], "kind">>;
6428
+ }, z$1.core.$strip>], "kind">, unknown>;
6456
6429
  start: z$1.ZodNumber;
6457
6430
  }, z$1.core.$strip>>>;
6458
6431
  text: z$1.ZodString;
@@ -6570,7 +6543,7 @@ declare const hostDaemonCommandRegistry: {
6570
6543
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6571
6544
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6572
6545
  end: z$1.ZodNumber;
6573
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6546
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6574
6547
  kind: z$1.ZodLiteral<"thread">;
6575
6548
  label: z$1.ZodString;
6576
6549
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6619,7 +6592,7 @@ declare const hostDaemonCommandRegistry: {
6619
6592
  kind: z$1.ZodLiteral<"plugin">;
6620
6593
  label: z$1.ZodString;
6621
6594
  pluginId: z$1.ZodString;
6622
- }, z$1.core.$strip>], "kind">>;
6595
+ }, z$1.core.$strip>], "kind">, unknown>;
6623
6596
  start: z$1.ZodNumber;
6624
6597
  }, z$1.core.$strip>>>;
6625
6598
  text: z$1.ZodString;
@@ -6652,7 +6625,7 @@ declare const hostDaemonCommandRegistry: {
6652
6625
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6653
6626
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6654
6627
  end: z$1.ZodNumber;
6655
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6628
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6656
6629
  kind: z$1.ZodLiteral<"thread">;
6657
6630
  label: z$1.ZodString;
6658
6631
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6701,7 +6674,7 @@ declare const hostDaemonCommandRegistry: {
6701
6674
  kind: z$1.ZodLiteral<"plugin">;
6702
6675
  label: z$1.ZodString;
6703
6676
  pluginId: z$1.ZodString;
6704
- }, z$1.core.$strip>], "kind">>;
6677
+ }, z$1.core.$strip>], "kind">, unknown>;
6705
6678
  start: z$1.ZodNumber;
6706
6679
  }, z$1.core.$strip>>>;
6707
6680
  text: z$1.ZodString;
@@ -6815,7 +6788,6 @@ declare const hostDaemonCommandRegistry: {
6815
6788
  serverPath: z$1.ZodString;
6816
6789
  }, z$1.core.$strict>]>;
6817
6790
  }, z$1.core.$strict>>>;
6818
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6819
6791
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6820
6792
  description: z$1.ZodString;
6821
6793
  inputSchema: z$1.ZodUnknown;
@@ -6897,12 +6869,7 @@ declare const hostDaemonCommandRegistry: {
6897
6869
  }, z$1.core.$strip>], "mode">;
6898
6870
  threadId: z$1.ZodString;
6899
6871
  type: z$1.ZodLiteral<"turn.submit">;
6900
- }, z$1.core.$strict>, z$1.ZodObject<{
6901
- appliedAs: z$1.ZodEnum<{
6902
- "new-turn": "new-turn";
6903
- steer: "steer";
6904
- }>;
6905
- }, z$1.core.$strip>, "settled", false>;
6872
+ }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
6906
6873
  "thread.stop": HostDaemonCommandDescriptor<"thread.stop", z$1.ZodObject<{
6907
6874
  environmentId: z$1.ZodString;
6908
6875
  intent: z$1.ZodEnum<{
@@ -7034,7 +7001,6 @@ declare const hostDaemonCommandRegistry: {
7034
7001
  serverPath: z$1.ZodString;
7035
7002
  }, z$1.core.$strict>]>;
7036
7003
  }, z$1.core.$strict>>>;
7037
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
7038
7004
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
7039
7005
  description: z$1.ZodString;
7040
7006
  inputSchema: z$1.ZodUnknown;
@@ -7856,15 +7822,6 @@ declare const hostDaemonCommandRegistry: {
7856
7822
  name: z$1.ZodString;
7857
7823
  }, z$1.core.$strip>>;
7858
7824
  }, z$1.core.$strip>, "onlineRpc", true>;
7859
- "host.file_metadata": HostDaemonCommandDescriptor<"host.file_metadata", z$1.ZodObject<{
7860
- path: z$1.ZodString;
7861
- rootPath: z$1.ZodOptional<z$1.ZodString>;
7862
- type: z$1.ZodLiteral<"host.file_metadata">;
7863
- }, z$1.core.$strict>, z$1.ZodObject<{
7864
- modifiedAtMs: z$1.ZodNumber;
7865
- path: z$1.ZodString;
7866
- sizeBytes: z$1.ZodNumber;
7867
- }, z$1.core.$strip>, "onlineRpc", true>;
7868
7825
  "host.read_file": HostDaemonCommandDescriptor<"host.read_file", z$1.ZodObject<{
7869
7826
  ifNoneMatch: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7870
7827
  kind: z$1.ZodLiteral<"any">;
@@ -8129,9 +8086,7 @@ declare const hostDaemonCommandRegistry: {
8129
8086
  kind: z$1.ZodLiteral<"artifact">;
8130
8087
  }, z$1.core.$strict>;
8131
8088
  }, z$1.core.$strict>;
8132
- cwd: z$1.ZodOptional<z$1.ZodString>;
8133
8089
  providerId: z$1.ZodString;
8134
- requirement: z$1.ZodOptional<z$1.ZodLiteral<"thread_rewind">>;
8135
8090
  type: z$1.ZodLiteral<"provider.installation.status">;
8136
8091
  }, z$1.core.$strict>, z$1.ZodObject<{
8137
8092
  currentVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -8192,7 +8147,6 @@ declare const hostDaemonCommandRegistry: {
8192
8147
  kind: z$1.ZodLiteral<"artifact">;
8193
8148
  }, z$1.core.$strict>;
8194
8149
  }, z$1.core.$strict>;
8195
- cwd: z$1.ZodOptional<z$1.ZodString>;
8196
8150
  providerId: z$1.ZodString;
8197
8151
  type: z$1.ZodLiteral<"provider.installation.run">;
8198
8152
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8247,7 +8201,6 @@ declare const hostDaemonCommandRegistry: {
8247
8201
  kind: z$1.ZodLiteral<"artifact">;
8248
8202
  }, z$1.core.$strict>;
8249
8203
  }, z$1.core.$strict>;
8250
- cwd: z$1.ZodOptional<z$1.ZodString>;
8251
8204
  providerId: z$1.ZodString;
8252
8205
  type: z$1.ZodLiteral<"provider.usage">;
8253
8206
  }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -8540,6 +8493,7 @@ declare const hostDaemonCommandRegistry: {
8540
8493
  }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8541
8494
  outcome: z$1.ZodLiteral<"available">;
8542
8495
  pullRequest: z$1.ZodObject<{
8496
+ autoMerge: z$1.ZodBoolean;
8543
8497
  baseRefName: z$1.ZodString;
8544
8498
  checks: z$1.ZodArray<z$1.ZodObject<{
8545
8499
  conclusion: z$1.ZodNullable<z$1.ZodEnum<{
@@ -8565,6 +8519,7 @@ declare const hostDaemonCommandRegistry: {
8565
8519
  url: z$1.ZodNullable<z$1.ZodString>;
8566
8520
  }, z$1.core.$strict>>;
8567
8521
  headRefName: z$1.ZodString;
8522
+ inMergeQueue: z$1.ZodNullable<z$1.ZodBoolean>;
8568
8523
  isDraft: z$1.ZodBoolean;
8569
8524
  mergeStateStatus: z$1.ZodNullable<z$1.ZodEnum<{
8570
8525
  BEHIND: "BEHIND";
@@ -8627,12 +8582,6 @@ declare const hostDaemonCommandRegistry: {
8627
8582
  }>;
8628
8583
  portAvailable: z$1.ZodBoolean;
8629
8584
  serverEntryAvailable: z$1.ZodBoolean;
8630
- serviceManager: z$1.ZodEnum<{
8631
- "systemd-system": "systemd-system";
8632
- "systemd-user": "systemd-user";
8633
- launchd: "launchd";
8634
- none: "none";
8635
- }>;
8636
8585
  timeZone: z$1.ZodNullable<z$1.ZodString>;
8637
8586
  }, z$1.core.$strict>, "onlineRpc", true>;
8638
8587
  "server_move.probe": HostDaemonCommandDescriptor<"server_move.probe", z$1.ZodObject<{
@@ -8811,12 +8760,6 @@ declare const desktopBrowserCommandSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
8811
8760
  hidden: "hidden";
8812
8761
  reveal: "reveal";
8813
8762
  }>;
8814
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8815
- id: z$1.ZodString;
8816
- kind: z$1.ZodLiteral<"automation">;
8817
- }, z$1.core.$strip>, z$1.ZodObject<{
8818
- kind: z$1.ZodLiteral<"personal">;
8819
- }, z$1.core.$strip>], "kind">;
8820
8763
  tabId: z$1.ZodString;
8821
8764
  threadId: z$1.ZodString;
8822
8765
  type: z$1.ZodLiteral<"desktop.browser.create_tab">;
@@ -8868,12 +8811,6 @@ declare const desktopBrowserCommandSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
8868
8811
  }, z$1.core.$strict>, z$1.ZodObject<{
8869
8812
  generation: z$1.ZodString;
8870
8813
  instanceId: z$1.ZodString;
8871
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8872
- id: z$1.ZodString;
8873
- kind: z$1.ZodLiteral<"automation">;
8874
- }, z$1.core.$strip>, z$1.ZodObject<{
8875
- kind: z$1.ZodLiteral<"personal">;
8876
- }, z$1.core.$strip>], "kind">;
8877
8814
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
8878
8815
  arc: "arc";
8879
8816
  brave: "brave";
@@ -8910,12 +8847,6 @@ declare const desktopBrowserResultSchemas: {
8910
8847
  hidden: "hidden";
8911
8848
  reveal: "reveal";
8912
8849
  }>;
8913
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8914
- id: z$1.ZodString;
8915
- kind: z$1.ZodLiteral<"automation">;
8916
- }, z$1.core.$strip>, z$1.ZodObject<{
8917
- kind: z$1.ZodLiteral<"personal">;
8918
- }, z$1.core.$strip>], "kind">;
8919
8850
  tabId: z$1.ZodString;
8920
8851
  threadId: z$1.ZodString;
8921
8852
  title: z$1.ZodString;
@@ -8933,12 +8864,6 @@ declare const desktopBrowserResultSchemas: {
8933
8864
  hidden: "hidden";
8934
8865
  reveal: "reveal";
8935
8866
  }>;
8936
- profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8937
- id: z$1.ZodString;
8938
- kind: z$1.ZodLiteral<"automation">;
8939
- }, z$1.core.$strip>, z$1.ZodObject<{
8940
- kind: z$1.ZodLiteral<"personal">;
8941
- }, z$1.core.$strip>], "kind">;
8942
8867
  tabId: z$1.ZodString;
8943
8868
  threadId: z$1.ZodString;
8944
8869
  title: z$1.ZodString;
@@ -10219,12 +10144,9 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10219
10144
  }, z$1.core.$strict>;
10220
10145
  }, z$1.core.$strict>>;
10221
10146
  experiments: z$1.ZodRecord<z$1.ZodEnum<{
10222
- androidTesting: "androidTesting";
10223
10147
  changelogPreview: "changelogPreview";
10224
10148
  legacyJitiPluginLoader: "legacyJitiPluginLoader";
10225
- mobileApp: "mobileApp";
10226
10149
  serverMove: "serverMove";
10227
- sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
10228
10150
  }>, z$1.ZodBoolean>;
10229
10151
  featureFlags: z$1.ZodObject<{
10230
10152
  placeholder: z$1.ZodBoolean;
@@ -10232,6 +10154,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10232
10154
  }, z$1.core.$strip>;
10233
10155
  generalSettings: z$1.ZodObject<{
10234
10156
  allowFastServiceTier: z$1.ZodBoolean;
10157
+ confirmThreadArchive: z$1.ZodBoolean;
10235
10158
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
10236
10159
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
10237
10160
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -10733,20 +10656,111 @@ declare const androidAppArtifactSchema: z$1.ZodObject<{
10733
10656
  versionCode: z$1.ZodNumber;
10734
10657
  }, z$1.core.$strip>;
10735
10658
  type AndroidAppArtifact = z$1.infer<typeof androidAppArtifactSchema>;
10736
- type SystemAndroidAppResponse = AndroidAppArtifact | null;
10737
- declare const androidAppPrepareRequestSchema: z$1.ZodObject<{
10738
- source: z$1.ZodEnum<{
10739
- github: "github";
10740
- local: "local";
10741
- }>;
10742
- }, z$1.core.$strip>;
10743
- type AndroidAppPrepareRequest = z$1.infer<typeof androidAppPrepareRequestSchema>;
10744
- interface AndroidAppPreparation {
10745
- status: "failed" | "idle" | "preparing" | "ready";
10746
- source: "github" | "local" | null;
10747
- message: string;
10748
- artifact: AndroidAppArtifact | null;
10659
+ interface SystemMobileAppReleasesResponse {
10660
+ android: (AndroidAppArtifact & {
10661
+ updatedAt: string;
10662
+ }) | null;
10749
10663
  }
10664
+ declare const systemProviderCatalogEntrySchema: z$1.ZodObject<{
10665
+ available: z$1.ZodBoolean;
10666
+ displayName: z$1.ZodString;
10667
+ enabled: z$1.ZodBoolean;
10668
+ id: z$1.ZodString;
10669
+ info: z$1.ZodNullable<z$1.ZodObject<{
10670
+ available: z$1.ZodBoolean;
10671
+ capabilities: z$1.ZodObject<{
10672
+ modelCatalogScope: z$1.ZodEnum<{
10673
+ host: "host";
10674
+ workspace: "workspace";
10675
+ }>;
10676
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
10677
+ "accept-edits": "accept-edits";
10678
+ auto: "auto";
10679
+ full: "full";
10680
+ }>>;
10681
+ supportsFork: z$1.ZodBoolean;
10682
+ supportsNativeUserQuestion: z$1.ZodBoolean;
10683
+ supportsServiceTier: z$1.ZodBoolean;
10684
+ supportsSessionRewind: z$1.ZodBoolean;
10685
+ supportsThreadArchive: z$1.ZodBoolean;
10686
+ supportsThreadRename: z$1.ZodBoolean;
10687
+ }, z$1.core.$strip>;
10688
+ completedTurnDisplay: z$1.ZodEnum<{
10689
+ collapse: "collapse";
10690
+ flat: "flat";
10691
+ }>;
10692
+ composerActions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10693
+ kind: z$1.ZodLiteral<"skills">;
10694
+ trigger: z$1.ZodEnum<{
10695
+ "/": "/";
10696
+ $: "$";
10697
+ }>;
10698
+ }, z$1.core.$strip>, z$1.ZodObject<{
10699
+ command: z$1.ZodObject<{
10700
+ name: z$1.ZodString;
10701
+ trailingText: z$1.ZodString;
10702
+ trigger: z$1.ZodEnum<{
10703
+ "/": "/";
10704
+ $: "$";
10705
+ }>;
10706
+ }, z$1.core.$strip>;
10707
+ kind: z$1.ZodLiteral<"plan">;
10708
+ }, z$1.core.$strip>, z$1.ZodObject<{
10709
+ command: z$1.ZodObject<{
10710
+ name: z$1.ZodString;
10711
+ trailingText: z$1.ZodString;
10712
+ trigger: z$1.ZodEnum<{
10713
+ "/": "/";
10714
+ $: "$";
10715
+ }>;
10716
+ }, z$1.core.$strip>;
10717
+ kind: z$1.ZodLiteral<"goal">;
10718
+ }, z$1.core.$strip>], "kind">>;
10719
+ displayName: z$1.ZodString;
10720
+ 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<{
10721
+ item: z$1.ZodBoolean;
10722
+ state: z$1.ZodBoolean;
10723
+ }, z$1.core.$strip>>>;
10724
+ family: z$1.ZodOptional<z$1.ZodString>;
10725
+ icon: z$1.ZodOptional<z$1.ZodObject<{
10726
+ glyph: z$1.ZodString;
10727
+ }, z$1.core.$strip>>;
10728
+ id: z$1.ZodString;
10729
+ logoUrl: z$1.ZodNullable<z$1.ZodString>;
10730
+ maintenance: z$1.ZodObject<{
10731
+ health: z$1.ZodBoolean;
10732
+ installation: z$1.ZodBoolean;
10733
+ usage: z$1.ZodBoolean;
10734
+ }, z$1.core.$strip>;
10735
+ pluginId: z$1.ZodString;
10736
+ reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10737
+ description: z$1.ZodOptional<z$1.ZodString>;
10738
+ id: z$1.ZodString;
10739
+ label: z$1.ZodString;
10740
+ }, z$1.core.$strip>>>;
10741
+ serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10742
+ description: z$1.ZodOptional<z$1.ZodString>;
10743
+ id: z$1.ZodString;
10744
+ label: z$1.ZodString;
10745
+ }, z$1.core.$strip>>>;
10746
+ strings: z$1.ZodOptional<z$1.ZodObject<{
10747
+ brandPrefix: z$1.ZodOptional<z$1.ZodString>;
10748
+ expiredHint: z$1.ZodString;
10749
+ iconTint: z$1.ZodOptional<z$1.ZodObject<{
10750
+ dark: z$1.ZodString;
10751
+ light: z$1.ZodString;
10752
+ }, z$1.core.$strip>>;
10753
+ installUrl: z$1.ZodString;
10754
+ planModeCopy: z$1.ZodOptional<z$1.ZodString>;
10755
+ signInHint: z$1.ZodString;
10756
+ }, z$1.core.$strip>>;
10757
+ }, z$1.core.$strip>>;
10758
+ logoUrl: z$1.ZodNullable<z$1.ZodString>;
10759
+ pluginEnabled: z$1.ZodBoolean;
10760
+ pluginId: z$1.ZodString;
10761
+ pluginName: z$1.ZodString;
10762
+ }, z$1.core.$strip>;
10763
+ type SystemProviderCatalogEntry = z$1.infer<typeof systemProviderCatalogEntrySchema>;
10750
10764
 
10751
10765
  interface UiPreferencesResponse {
10752
10766
  preferences: UiPreferenceEntries;
@@ -10923,7 +10937,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
10923
10937
  kind: z$1.ZodLiteral<"conversation">;
10924
10938
  mentions: z$1.ZodArray<z$1.ZodObject<{
10925
10939
  end: z$1.ZodNumber;
10926
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10940
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10927
10941
  kind: z$1.ZodLiteral<"thread">;
10928
10942
  label: z$1.ZodString;
10929
10943
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -10972,7 +10986,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
10972
10986
  kind: z$1.ZodLiteral<"plugin">;
10973
10987
  label: z$1.ZodString;
10974
10988
  pluginId: z$1.ZodString;
10975
- }, z$1.core.$strip>], "kind">>;
10989
+ }, z$1.core.$strip>], "kind">, unknown>;
10976
10990
  start: z$1.ZodNumber;
10977
10991
  }, z$1.core.$strip>>;
10978
10992
  role: z$1.ZodLiteral<"user">;
@@ -12132,7 +12146,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12132
12146
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12133
12147
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12134
12148
  end: z$1.ZodNumber;
12135
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12149
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12136
12150
  kind: z$1.ZodLiteral<"thread">;
12137
12151
  label: z$1.ZodString;
12138
12152
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12181,7 +12195,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12181
12195
  kind: z$1.ZodLiteral<"plugin">;
12182
12196
  label: z$1.ZodString;
12183
12197
  pluginId: z$1.ZodString;
12184
- }, z$1.core.$strip>], "kind">>;
12198
+ }, z$1.core.$strip>], "kind">, unknown>;
12185
12199
  start: z$1.ZodNumber;
12186
12200
  }, z$1.core.$strip>>>;
12187
12201
  text: z$1.ZodString;
@@ -12273,7 +12287,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12273
12287
  agentContextSeed: z$1.ZodOptional<z$1.ZodArray<z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12274
12288
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12275
12289
  end: z$1.ZodNumber;
12276
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12290
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12277
12291
  kind: z$1.ZodLiteral<"thread">;
12278
12292
  label: z$1.ZodString;
12279
12293
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12322,7 +12336,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12322
12336
  kind: z$1.ZodLiteral<"plugin">;
12323
12337
  label: z$1.ZodString;
12324
12338
  pluginId: z$1.ZodString;
12325
- }, z$1.core.$strip>], "kind">>;
12339
+ }, z$1.core.$strip>], "kind">, unknown>;
12326
12340
  start: z$1.ZodNumber;
12327
12341
  }, z$1.core.$strip>>>;
12328
12342
  text: z$1.ZodString;
@@ -12399,7 +12413,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12399
12413
  input: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12400
12414
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12401
12415
  end: z$1.ZodNumber;
12402
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12416
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12403
12417
  kind: z$1.ZodLiteral<"thread">;
12404
12418
  label: z$1.ZodString;
12405
12419
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12448,7 +12462,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12448
12462
  kind: z$1.ZodLiteral<"plugin">;
12449
12463
  label: z$1.ZodString;
12450
12464
  pluginId: z$1.ZodString;
12451
- }, z$1.core.$strip>], "kind">>;
12465
+ }, z$1.core.$strip>], "kind">, unknown>;
12452
12466
  start: z$1.ZodNumber;
12453
12467
  }, z$1.core.$strip>>>;
12454
12468
  text: z$1.ZodString;
@@ -12523,7 +12537,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
12523
12537
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12524
12538
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12525
12539
  end: z$1.ZodNumber;
12526
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12540
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12527
12541
  kind: z$1.ZodLiteral<"thread">;
12528
12542
  label: z$1.ZodString;
12529
12543
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12572,7 +12586,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
12572
12586
  kind: z$1.ZodLiteral<"plugin">;
12573
12587
  label: z$1.ZodString;
12574
12588
  pluginId: z$1.ZodString;
12575
- }, z$1.core.$strip>], "kind">>;
12589
+ }, z$1.core.$strip>], "kind">, unknown>;
12576
12590
  start: z$1.ZodNumber;
12577
12591
  }, z$1.core.$strip>>>;
12578
12592
  text: z$1.ZodString;
@@ -12652,7 +12666,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
12652
12666
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12653
12667
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12654
12668
  end: z$1.ZodNumber;
12655
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12669
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12656
12670
  kind: z$1.ZodLiteral<"thread">;
12657
12671
  label: z$1.ZodString;
12658
12672
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12701,7 +12715,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
12701
12715
  kind: z$1.ZodLiteral<"plugin">;
12702
12716
  label: z$1.ZodString;
12703
12717
  pluginId: z$1.ZodString;
12704
- }, z$1.core.$strip>], "kind">>;
12718
+ }, z$1.core.$strip>], "kind">, unknown>;
12705
12719
  start: z$1.ZodNumber;
12706
12720
  }, z$1.core.$strip>>>;
12707
12721
  text: z$1.ZodString;
@@ -12826,7 +12840,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
12826
12840
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12827
12841
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12828
12842
  end: z$1.ZodNumber;
12829
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12843
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12830
12844
  kind: z$1.ZodLiteral<"thread">;
12831
12845
  label: z$1.ZodString;
12832
12846
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12875,7 +12889,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
12875
12889
  kind: z$1.ZodLiteral<"plugin">;
12876
12890
  label: z$1.ZodString;
12877
12891
  pluginId: z$1.ZodString;
12878
- }, z$1.core.$strip>], "kind">>;
12892
+ }, z$1.core.$strip>], "kind">, unknown>;
12879
12893
  start: z$1.ZodNumber;
12880
12894
  }, z$1.core.$strip>>>;
12881
12895
  text: z$1.ZodString;
@@ -12998,7 +13012,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
12998
13012
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12999
13013
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13000
13014
  end: z$1.ZodNumber;
13001
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13015
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13002
13016
  kind: z$1.ZodLiteral<"thread">;
13003
13017
  label: z$1.ZodString;
13004
13018
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -13047,7 +13061,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
13047
13061
  kind: z$1.ZodLiteral<"plugin">;
13048
13062
  label: z$1.ZodString;
13049
13063
  pluginId: z$1.ZodString;
13050
- }, z$1.core.$strip>], "kind">>;
13064
+ }, z$1.core.$strip>], "kind">, unknown>;
13051
13065
  start: z$1.ZodNumber;
13052
13066
  }, z$1.core.$strip>>>;
13053
13067
  text: z$1.ZodString;
@@ -13105,7 +13119,7 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13105
13119
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13106
13120
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13107
13121
  end: z$1.ZodNumber;
13108
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13122
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13109
13123
  kind: z$1.ZodLiteral<"thread">;
13110
13124
  label: z$1.ZodString;
13111
13125
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -13154,7 +13168,7 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13154
13168
  kind: z$1.ZodLiteral<"plugin">;
13155
13169
  label: z$1.ZodString;
13156
13170
  pluginId: z$1.ZodString;
13157
- }, z$1.core.$strip>], "kind">>;
13171
+ }, z$1.core.$strip>], "kind">, unknown>;
13158
13172
  start: z$1.ZodNumber;
13159
13173
  }, z$1.core.$strip>>>;
13160
13174
  text: z$1.ZodString;
@@ -13214,7 +13228,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13214
13228
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13215
13229
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13216
13230
  end: z$1.ZodNumber;
13217
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13231
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13218
13232
  kind: z$1.ZodLiteral<"thread">;
13219
13233
  label: z$1.ZodString;
13220
13234
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -13263,7 +13277,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13263
13277
  kind: z$1.ZodLiteral<"plugin">;
13264
13278
  label: z$1.ZodString;
13265
13279
  pluginId: z$1.ZodString;
13266
- }, z$1.core.$strip>], "kind">>;
13280
+ }, z$1.core.$strip>], "kind">, unknown>;
13267
13281
  start: z$1.ZodNumber;
13268
13282
  }, z$1.core.$strip>>>;
13269
13283
  text: z$1.ZodString;
@@ -14144,7 +14158,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14144
14158
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14145
14159
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
14146
14160
  end: z$1.ZodNumber;
14147
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14161
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14148
14162
  kind: z$1.ZodLiteral<"thread">;
14149
14163
  label: z$1.ZodString;
14150
14164
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -14193,7 +14207,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14193
14207
  kind: z$1.ZodLiteral<"plugin">;
14194
14208
  label: z$1.ZodString;
14195
14209
  pluginId: z$1.ZodString;
14196
- }, z$1.core.$strip>], "kind">>;
14210
+ }, z$1.core.$strip>], "kind">, unknown>;
14197
14211
  start: z$1.ZodNumber;
14198
14212
  }, z$1.core.$strip>>>;
14199
14213
  text: z$1.ZodString;
@@ -14792,6 +14806,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
14792
14806
  anchorId: z$1.ZodString;
14793
14807
  anchorSeq: z$1.ZodNumber;
14794
14808
  }, z$1.core.$strict>>;
14809
+ olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
14795
14810
  olderRowsSourceSeqEnd: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
14796
14811
  returnedSegmentCount: z$1.ZodNumber;
14797
14812
  segmentLimit: z$1.ZodNumber;
@@ -14867,7 +14882,6 @@ declare const desktopBrowserCreateRequestSchema: z$1.ZodObject<{
14867
14882
  url: z$1.ZodDefault<z$1.ZodPipe<z$1.ZodString, z$1.ZodString>>;
14868
14883
  }, z$1.core.$strict>;
14869
14884
  declare const desktopBrowserAcquireRequestSchema: z$1.ZodObject<{
14870
- allowPersonal: z$1.ZodDefault<z$1.ZodBoolean>;
14871
14885
  controllerLabel: z$1.ZodString;
14872
14886
  generation: z$1.ZodString;
14873
14887
  hostId: z$1.ZodString;
@@ -14892,12 +14906,6 @@ declare const desktopBrowserImportCookiesRequestSchema: z$1.ZodObject<{
14892
14906
  generation: z$1.ZodString;
14893
14907
  hostId: z$1.ZodString;
14894
14908
  instanceId: z$1.ZodString;
14895
- profile: z$1.ZodDefault<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14896
- id: z$1.ZodString;
14897
- kind: z$1.ZodLiteral<"automation">;
14898
- }, z$1.core.$strip>, z$1.ZodObject<{
14899
- kind: z$1.ZodLiteral<"personal">;
14900
- }, z$1.core.$strip>], "kind">>;
14901
14909
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
14902
14910
  arc: "arc";
14903
14911
  brave: "brave";
@@ -15824,7 +15832,8 @@ type ProjectCommandsArgs = ProjectWorkspaceRoutingArgs & Omit<ProjectCommandsQue
15824
15832
  projectId: string;
15825
15833
  signal?: AbortSignal;
15826
15834
  };
15827
- type ProjectFileContentArgs = ProjectWorkspaceRoutingArgs & Omit<ProjectFileContentQuery, "environmentId" | "hostId"> & {
15835
+ type ProjectFileContentArgs = ProjectWorkspaceRoutingArgs & {
15836
+ path: string;
15828
15837
  projectId: string;
15829
15838
  signal?: AbortSignal;
15830
15839
  };
@@ -15969,6 +15978,11 @@ type ProviderModelsArgs = ProviderHostRoutingArgs & {
15969
15978
  type ProviderListResult = ProviderInfo[];
15970
15979
  type ProviderModelsResult = SystemExecutionOptionsResponse;
15971
15980
  interface ProvidersArea {
15981
+ catalog(): Promise<SystemProviderCatalogEntry[]>;
15982
+ setEnabled(args: {
15983
+ providerId: string;
15984
+ enabled: boolean;
15985
+ }): Promise<SystemProviderCatalogEntry[]>;
15972
15986
  list(args?: ProviderListArgs): Promise<ProviderListResult>;
15973
15987
  models(args?: ProviderModelsArgs): Promise<ProviderModelsResult>;
15974
15988
  }
@@ -16388,9 +16402,8 @@ interface SystemArea {
16388
16402
  testAiService(args: SystemTestAiServiceArgs): Promise<SystemTestAiServiceResult>;
16389
16403
  transcribeVoice(args: SystemVoiceTranscriptionArgs): Promise<SystemVoiceTranscriptionResult>;
16390
16404
  uiPreferences: SystemUiPreferencesArea;
16391
- androidAppPreparation(): Promise<AndroidAppPreparation>;
16392
- prepareAndroidApp(input: AndroidAppPrepareRequest): Promise<AndroidAppPreparation>;
16393
- androidApp(): Promise<SystemAndroidAppResponse>;
16405
+ mobileAppDownloads(): typeof mobileAppDownloads;
16406
+ mobileAppReleases(): Promise<SystemMobileAppReleasesResponse>;
16394
16407
  updateExperiments(args: Experiments): Promise<SystemUpdateExperimentsResult>;
16395
16408
  updateGeneralSettings(args: AppSettingsUpdate): Promise<SystemUpdateGeneralSettingsResult>;
16396
16409
  updateKeyboardSettings(args: AppKeybindingOverrides): Promise<SystemUpdateKeyboardSettingsResult>;
@@ -17508,8 +17521,6 @@ interface PluginFileOpenerProps {
17508
17521
  * @experimental Audit before relying on this as a stable contract.
17509
17522
  */
17510
17523
  Original: ComponentType;
17511
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17512
- experimental_Original?: ComponentType;
17513
17524
  }
17514
17525
  /** How a code line longer than the viewport is presented. */
17515
17526
  type CodeOverflowMode = "scroll" | "wrap";
@@ -17601,8 +17612,6 @@ interface PluginSourceCodeRendererProps {
17601
17612
  * @experimental Audit before relying on this as a stable contract.
17602
17613
  */
17603
17614
  Original: ComponentType;
17604
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17605
- experimental_Original?: ComponentType;
17606
17615
  }
17607
17616
  /**
17608
17617
  * Props passed to an `experimental_diffRenderer` component. `patch` is always
@@ -17630,8 +17639,6 @@ interface PluginDiffRendererProps {
17630
17639
  * @experimental Audit before relying on this as a stable contract.
17631
17640
  */
17632
17641
  Original: ComponentType;
17633
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17634
- experimental_Original?: ComponentType;
17635
17642
  }
17636
17643
  /**
17637
17644
  * Message context passed to a `messageDirective` component — the assistant
@@ -17672,6 +17679,8 @@ interface PluginHomepageSectionRegistration {
17672
17679
  component: ComponentType<PluginHomepageSectionProps>;
17673
17680
  }
17674
17681
  interface PluginSettingsSectionRegistration {
17682
+ /** Render on Mobile settings instead of the plugin configuration page. */
17683
+ experimental_page?: "mobile";
17675
17684
  /** Unique within the plugin; letters, digits, `-`, `_`. */
17676
17685
  id: string;
17677
17686
  /** Optional host-rendered section heading. */
@@ -18124,11 +18133,24 @@ interface PluginSidebarThread {
18124
18133
  * can colour a badge without reading checks, review, and mergeability itself.
18125
18134
  */
18126
18135
  interface PluginSidebarPullRequest {
18136
+ /** Whether GitHub auto-merge is enabled. */
18137
+ experimental_autoMerge: boolean;
18138
+ /** Null when the GitHub merge queue lookup is unavailable. */
18139
+ experimental_inMergeQueue: boolean | null;
18140
+ experimental_checks: {
18141
+ state: "failing" | "no_checks" | "passing" | "pending" | "unknown";
18142
+ };
18143
+ experimental_review: {
18144
+ state: "approved" | "changes_requested" | "none" | "review_requested" | "review_required";
18145
+ };
18146
+ experimental_mergeability: {
18147
+ state: "blocked" | "conflicts" | "draft" | "mergeable" | "unknown";
18148
+ };
18127
18149
  number: number;
18128
18150
  title: string;
18129
18151
  url: string;
18130
18152
  state: "closed" | "draft" | "merged" | "open";
18131
- attention: "blocked" | "changes_requested" | "checks_failed" | "checks_pending" | "closed" | "conflicts" | "draft" | "merged" | "none" | "ready_to_merge" | "review_requested";
18153
+ attention: "blocked" | "changes_requested" | "checks_failed" | "checks_pending" | "closed" | "conflicts" | "draft" | "merged" | "none" | "queued" | "ready_to_merge" | "review_requested";
18132
18154
  }
18133
18155
  interface PluginSidebarThreadPullRequestState {
18134
18156
  /** True while the first lookup for this thread's environment is in flight. */
@@ -18367,7 +18389,7 @@ interface PluginSidebarThreadActions {
18367
18389
  setRead(threadId: string, read: boolean): Promise<void>;
18368
18390
  /** Silent rename — no dialog. For inline editing in your own row. */
18369
18391
  rename(threadId: string, title: string): Promise<void>;
18370
- /** Archives immediately, or confirms first if child threads will also be archived. */
18392
+ /** Confirms before including child threads unless archive confirmation is disabled in Settings → General. */
18371
18393
  archive(threadId: string): void;
18372
18394
  /**
18373
18395
  * Opens bb's delete confirmation, which counts child threads first. Deletion
@@ -21743,7 +21765,7 @@ interface PluginProviderCapabilities {
21743
21765
  * Provider copy core surfaces render from per-provider tables today (usage
21744
21766
  * banners, sign-in hints, the mobile picker, the agent guide). Declared once
21745
21767
  * here so no core surface keys copy on a provider id. Mirrors
21746
- * `ProviderStrings` in `@bb/domain`, which is the client projection.
21768
+ * `providerStringsSchema` in `@bb/domain`, which is the client projection.
21747
21769
  */
21748
21770
  interface PluginProviderStrings {
21749
21771
  /** How to sign in on the host ("Run `claude` on the machine to sign in."). */