@get-bb/plugin-sdk 0.6.5 → 0.6.14

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;
@@ -348,9 +351,9 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
348
351
  "archived-changed": "archived-changed";
349
352
  "environment-changed": "environment-changed";
350
353
  "events-appended": "events-appended";
354
+ "history-compacted": "history-compacted";
351
355
  "history-rewritten": "history-rewritten";
352
356
  "interactions-changed": "interactions-changed";
353
- "order-changed": "order-changed";
354
357
  "parent-changed": "parent-changed";
355
358
  "pin-state-changed": "pin-state-changed";
356
359
  "queue-changed": "queue-changed";
@@ -533,14 +536,15 @@ declare const environmentSchema: z$1.ZodObject<{
533
536
  type Environment = z$1.infer<typeof environmentSchema>;
534
537
 
535
538
  declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
536
- androidTesting: "androidTesting";
537
539
  changelogPreview: "changelogPreview";
538
- 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>;
543
+ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
544
+ changelogPreview: "changelogPreview";
545
+ serverMove: "serverMove";
546
+ }> & z$1.core.$partial, z$1.ZodBoolean>;
547
+ type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
544
548
 
545
549
  declare const workspaceGitOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
546
550
  kind: z$1.ZodLiteral<"none">;
@@ -641,7 +645,7 @@ declare const threadEventItemPresentationSchema: z$1.ZodObject<{
641
645
  }, z$1.core.$strip>;
642
646
  type ThreadEventItemPresentation = z$1.infer<typeof threadEventItemPresentationSchema>;
643
647
 
644
- declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
648
+ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
645
649
  threadId: z$1.ZodString;
646
650
  type: z$1.ZodLiteral<"thread/started">;
647
651
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -2839,10 +2843,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2839
2843
  xhigh: "xhigh";
2840
2844
  }>;
2841
2845
  seq: z$1.ZodOptional<z$1.ZodNumber>;
2842
- serviceTier: z$1.ZodEnum<{
2843
- default: "default";
2844
- fast: "fast";
2845
- }>;
2846
+ serviceTier: z$1.ZodString;
2846
2847
  source: z$1.ZodEnum<{
2847
2848
  "client/thread/start": "client/thread/start";
2848
2849
  "client/turn/requested": "client/turn/requested";
@@ -2857,7 +2858,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2857
2858
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2858
2859
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
2859
2860
  end: z$1.ZodNumber;
2860
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2861
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2861
2862
  kind: z$1.ZodLiteral<"thread">;
2862
2863
  label: z$1.ZodString;
2863
2864
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -2906,7 +2907,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2906
2907
  kind: z$1.ZodLiteral<"plugin">;
2907
2908
  label: z$1.ZodString;
2908
2909
  pluginId: z$1.ZodString;
2909
- }, z$1.core.$strip>], "kind">>;
2910
+ }, z$1.core.$strip>], "kind">, unknown>;
2910
2911
  start: z$1.ZodNumber;
2911
2912
  }, z$1.core.$strip>>>;
2912
2913
  text: z$1.ZodString;
@@ -2939,7 +2940,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2939
2940
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2940
2941
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
2941
2942
  end: z$1.ZodNumber;
2942
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2943
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
2943
2944
  kind: z$1.ZodLiteral<"thread">;
2944
2945
  label: z$1.ZodString;
2945
2946
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -2988,7 +2989,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
2988
2989
  kind: z$1.ZodLiteral<"plugin">;
2989
2990
  label: z$1.ZodString;
2990
2991
  pluginId: z$1.ZodString;
2991
- }, z$1.core.$strip>], "kind">>;
2992
+ }, z$1.core.$strip>], "kind">, unknown>;
2992
2993
  start: z$1.ZodNumber;
2993
2994
  }, z$1.core.$strip>>>;
2994
2995
  text: z$1.ZodString;
@@ -3133,8 +3134,6 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
3133
3134
  code: z$1.ZodOptional<z$1.ZodString>;
3134
3135
  detail: z$1.ZodOptional<z$1.ZodString>;
3135
3136
  message: z$1.ZodString;
3136
- reconnectAttempt: z$1.ZodOptional<z$1.ZodNumber>;
3137
- reconnectTotal: z$1.ZodOptional<z$1.ZodNumber>;
3138
3137
  threadId: z$1.ZodString;
3139
3138
  type: z$1.ZodLiteral<"system/error">;
3140
3139
  }, z$1.core.$strip>, z$1.ZodObject<{
@@ -3543,7 +3542,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
3543
3542
  kind: z$1.ZodLiteral<"turn">;
3544
3543
  turnId: z$1.ZodString;
3545
3544
  }, z$1.core.$strip>], "kind">;
3546
- }, z$1.core.$strip>>]>>;
3545
+ }, z$1.core.$strip>>]>;
3547
3546
  type ThreadEvent = z$1.infer<typeof threadEventSchema>;
3548
3547
  type ThreadEventType = ThreadEvent["type"];
3549
3548
 
@@ -3904,10 +3903,7 @@ declare const reasoningLevelSchema: z$1.ZodEnum<{
3904
3903
  xhigh: "xhigh";
3905
3904
  }>;
3906
3905
  type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
3907
- declare const serviceTierSchema: z$1.ZodEnum<{
3908
- default: "default";
3909
- fast: "fast";
3910
- }>;
3906
+ declare const serviceTierSchema: z$1.ZodString;
3911
3907
  type ServiceTier = z$1.infer<typeof serviceTierSchema>;
3912
3908
  declare const permissionModeSchema: z$1.ZodEnum<{
3913
3909
  "accept-edits": "accept-edits";
@@ -3918,7 +3914,7 @@ type PermissionMode = z$1.infer<typeof permissionModeSchema>;
3918
3914
  declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3919
3915
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
3920
3916
  end: z$1.ZodNumber;
3921
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3917
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3922
3918
  kind: z$1.ZodLiteral<"thread">;
3923
3919
  label: z$1.ZodString;
3924
3920
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -3967,7 +3963,7 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3967
3963
  kind: z$1.ZodLiteral<"plugin">;
3968
3964
  label: z$1.ZodString;
3969
3965
  pluginId: z$1.ZodString;
3970
- }, z$1.core.$strip>], "kind">>;
3966
+ }, z$1.core.$strip>], "kind">, unknown>;
3971
3967
  start: z$1.ZodNumber;
3972
3968
  }, z$1.core.$strip>>>;
3973
3969
  text: z$1.ZodString;
@@ -4016,10 +4012,7 @@ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
4016
4012
  xhigh: "xhigh";
4017
4013
  }>;
4018
4014
  seq: z$1.ZodOptional<z$1.ZodNumber>;
4019
- serviceTier: z$1.ZodEnum<{
4020
- default: "default";
4021
- fast: "fast";
4022
- }>;
4015
+ serviceTier: z$1.ZodString;
4023
4016
  source: z$1.ZodEnum<{
4024
4017
  "client/thread/start": "client/thread/start";
4025
4018
  "client/turn/requested": "client/turn/requested";
@@ -4045,10 +4038,7 @@ declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
4045
4038
  ultracode: "ultracode";
4046
4039
  xhigh: "xhigh";
4047
4040
  }>;
4048
- serviceTier: z$1.ZodEnum<{
4049
- default: "default";
4050
- fast: "fast";
4051
- }>;
4041
+ serviceTier: z$1.ZodString;
4052
4042
  }, z$1.core.$strip>;
4053
4043
  type ProjectExecutionDefaults = z$1.infer<typeof projectExecutionDefaultsSchema>;
4054
4044
 
@@ -4226,7 +4216,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4226
4216
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4227
4217
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4228
4218
  end: z$1.ZodNumber;
4229
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4219
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4230
4220
  kind: z$1.ZodLiteral<"thread">;
4231
4221
  label: z$1.ZodString;
4232
4222
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -4275,7 +4265,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4275
4265
  kind: z$1.ZodLiteral<"plugin">;
4276
4266
  label: z$1.ZodString;
4277
4267
  pluginId: z$1.ZodString;
4278
- }, z$1.core.$strip>], "kind">>;
4268
+ }, z$1.core.$strip>], "kind">, unknown>;
4279
4269
  start: z$1.ZodNumber;
4280
4270
  }, z$1.core.$strip>>>;
4281
4271
  text: z$1.ZodString;
@@ -4348,10 +4338,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4348
4338
  }>;
4349
4339
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
4350
4340
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
4351
- serviceTier: z$1.ZodEnum<{
4352
- default: "default";
4353
- fast: "fast";
4354
- }>;
4341
+ serviceTier: z$1.ZodString;
4355
4342
  threadId: z$1.ZodString;
4356
4343
  updatedAt: z$1.ZodNumber;
4357
4344
  waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -4383,6 +4370,11 @@ declare const threadQueuedWorkSchema: z$1.ZodEnum<{
4383
4370
  }>;
4384
4371
  type ThreadQueuedWork = z$1.infer<typeof threadQueuedWorkSchema>;
4385
4372
 
4373
+ declare const mobileAppDownloads: {
4374
+ ios: string;
4375
+ android: string;
4376
+ };
4377
+
4386
4378
  declare const threadContextResponseSchema: z$1.ZodObject<{
4387
4379
  usage: z$1.ZodNullable<z$1.ZodObject<{
4388
4380
  estimated: z$1.ZodBoolean;
@@ -4432,7 +4424,7 @@ declare const createThreadEnvironmentArgsSchema: z$1.ZodDiscriminatedUnion<[z$1.
4432
4424
  baseBranch: z$1.ZodString;
4433
4425
  kind: z$1.ZodLiteral<"new">;
4434
4426
  }, z$1.core.$strict>], "kind">>;
4435
- path: z$1.ZodNullable<z$1.ZodString>;
4427
+ path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
4436
4428
  type: z$1.ZodLiteral<"unmanaged">;
4437
4429
  }, z$1.core.$strip>, z$1.ZodObject<{
4438
4430
  baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -4544,14 +4536,14 @@ declare const projectListQuerySchema: z$1.ZodObject<{
4544
4536
  }, z$1.core.$strip>;
4545
4537
  type ProjectListQuery = z$1.infer<typeof projectListQuerySchema>;
4546
4538
  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>>>;
4539
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4548
4540
  hostId: z$1.ZodOptional<z$1.ZodString>;
4549
4541
  limit: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4550
4542
  query: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4551
4543
  }, z$1.core.$strip>;
4552
4544
  type ProjectFilesQuery = z$1.infer<typeof projectFilesQuerySchema>;
4553
4545
  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>>>;
4546
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4555
4547
  hostId: z$1.ZodOptional<z$1.ZodString>;
4556
4548
  includeDirectories: z$1.ZodEnum<{
4557
4549
  false: "false";
@@ -4565,12 +4557,6 @@ declare const projectPathsQuerySchema: z$1.ZodObject<{
4565
4557
  query: z$1.ZodOptional<z$1.ZodOptional<z$1.ZodString>>;
4566
4558
  }, z$1.core.$strip>;
4567
4559
  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
4560
  declare const projectBranchesQuerySchema: z$1.ZodObject<{
4575
4561
  hostId: z$1.ZodString;
4576
4562
  limit: z$1.ZodOptional<z$1.ZodString>;
@@ -4648,7 +4634,7 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
4648
4634
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4649
4635
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
4650
4636
  end: z$1.ZodNumber;
4651
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4637
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4652
4638
  kind: z$1.ZodLiteral<"thread">;
4653
4639
  label: z$1.ZodString;
4654
4640
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -4697,7 +4683,7 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
4697
4683
  kind: z$1.ZodLiteral<"plugin">;
4698
4684
  label: z$1.ZodString;
4699
4685
  pluginId: z$1.ZodString;
4700
- }, z$1.core.$strip>], "kind">>;
4686
+ }, z$1.core.$strip>], "kind">, unknown>;
4701
4687
  start: z$1.ZodNumber;
4702
4688
  }, z$1.core.$strip>>>;
4703
4689
  text: z$1.ZodString;
@@ -4758,7 +4744,7 @@ declare const commandListResponseSchema: z$1.ZodObject<{
4758
4744
  }, z$1.core.$strip>;
4759
4745
  type CommandListResponse = z$1.infer<typeof commandListResponseSchema>;
4760
4746
  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>>>;
4747
+ environmentId: z$1.ZodOptional<z$1.ZodPreprocess<z$1.ZodOptional<z$1.ZodString>, unknown>>;
4762
4748
  hostId: z$1.ZodOptional<z$1.ZodString>;
4763
4749
  provider: z$1.ZodString;
4764
4750
  }, z$1.core.$strict>;
@@ -4838,10 +4824,7 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
4838
4824
  ultracode: "ultracode";
4839
4825
  xhigh: "xhigh";
4840
4826
  }>;
4841
- serviceTier: z$1.ZodEnum<{
4842
- default: "default";
4843
- fast: "fast";
4844
- }>;
4827
+ serviceTier: z$1.ZodString;
4845
4828
  }, z$1.core.$strip>>;
4846
4829
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
4847
4830
  id: z$1.ZodString;
@@ -4956,10 +4939,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
4956
4939
  ultracode: "ultracode";
4957
4940
  xhigh: "xhigh";
4958
4941
  }>;
4959
- serviceTier: z$1.ZodEnum<{
4960
- default: "default";
4961
- fast: "fast";
4962
- }>;
4942
+ serviceTier: z$1.ZodString;
4963
4943
  }, z$1.core.$strip>>;
4964
4944
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
4965
4945
  id: z$1.ZodString;
@@ -5072,10 +5052,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5072
5052
  ultracode: "ultracode";
5073
5053
  xhigh: "xhigh";
5074
5054
  }>;
5075
- serviceTier: z$1.ZodEnum<{
5076
- default: "default";
5077
- fast: "fast";
5078
- }>;
5055
+ serviceTier: z$1.ZodString;
5079
5056
  }, z$1.core.$strip>>;
5080
5057
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
5081
5058
  id: z$1.ZodString;
@@ -5193,6 +5170,104 @@ declare const copyProjectAttachmentsRequestSchema: z$1.ZodObject<{
5193
5170
  }, z$1.core.$strict>;
5194
5171
  type CopyProjectAttachmentsRequest = z$1.infer<typeof copyProjectAttachmentsRequestSchema>;
5195
5172
 
5173
+ declare const promptHistoryListQuerySchema: z$1.ZodObject<{
5174
+ cursor: z$1.ZodOptional<z$1.ZodString>;
5175
+ limit: z$1.ZodOptional<z$1.ZodString>;
5176
+ }, z$1.core.$strip>;
5177
+ type PromptHistoryListQuery = z$1.infer<typeof promptHistoryListQuerySchema>;
5178
+ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
5179
+ entries: z$1.ZodArray<z$1.ZodObject<{
5180
+ createdAt: z$1.ZodNumber;
5181
+ id: z$1.ZodString;
5182
+ input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5183
+ mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
5184
+ end: z$1.ZodNumber;
5185
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5186
+ kind: z$1.ZodLiteral<"thread">;
5187
+ label: z$1.ZodString;
5188
+ projectId: z$1.ZodOptional<z$1.ZodString>;
5189
+ threadId: z$1.ZodString;
5190
+ }, z$1.core.$strip>, z$1.ZodObject<{
5191
+ kind: z$1.ZodLiteral<"project">;
5192
+ label: z$1.ZodString;
5193
+ projectId: z$1.ZodString;
5194
+ }, z$1.core.$strip>, z$1.ZodObject<{
5195
+ kind: z$1.ZodLiteral<"section">;
5196
+ label: z$1.ZodString;
5197
+ sectionId: z$1.ZodString;
5198
+ }, z$1.core.$strip>, z$1.ZodObject<{
5199
+ entryKind: z$1.ZodEnum<{
5200
+ directory: "directory";
5201
+ file: "file";
5202
+ }>;
5203
+ kind: z$1.ZodLiteral<"path">;
5204
+ label: z$1.ZodString;
5205
+ path: z$1.ZodString;
5206
+ source: z$1.ZodEnum<{
5207
+ "thread-storage": "thread-storage";
5208
+ workspace: "workspace";
5209
+ }>;
5210
+ }, z$1.core.$strip>, z$1.ZodObject<{
5211
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
5212
+ kind: z$1.ZodLiteral<"command">;
5213
+ label: z$1.ZodString;
5214
+ name: z$1.ZodString;
5215
+ origin: z$1.ZodEnum<{
5216
+ builtin: "builtin";
5217
+ project: "project";
5218
+ user: "user";
5219
+ }>;
5220
+ source: z$1.ZodEnum<{
5221
+ command: "command";
5222
+ skill: "skill";
5223
+ }>;
5224
+ trigger: z$1.ZodEnum<{
5225
+ "/": "/";
5226
+ $: "$";
5227
+ }>;
5228
+ }, z$1.core.$strip>, z$1.ZodObject<{
5229
+ icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
5230
+ itemId: z$1.ZodString;
5231
+ kind: z$1.ZodLiteral<"plugin">;
5232
+ label: z$1.ZodString;
5233
+ pluginId: z$1.ZodString;
5234
+ }, z$1.core.$strip>], "kind">, unknown>;
5235
+ start: z$1.ZodNumber;
5236
+ }, z$1.core.$strip>>>;
5237
+ text: z$1.ZodString;
5238
+ type: z$1.ZodLiteral<"text">;
5239
+ visibility: z$1.ZodOptional<z$1.ZodEnum<{
5240
+ "agent-only": "agent-only";
5241
+ }>>;
5242
+ }, z$1.core.$strip>, z$1.ZodObject<{
5243
+ type: z$1.ZodLiteral<"image">;
5244
+ url: z$1.ZodString;
5245
+ visibility: z$1.ZodOptional<z$1.ZodEnum<{
5246
+ "agent-only": "agent-only";
5247
+ }>>;
5248
+ }, z$1.core.$strip>, z$1.ZodObject<{
5249
+ path: z$1.ZodString;
5250
+ type: z$1.ZodLiteral<"localImage">;
5251
+ visibility: z$1.ZodOptional<z$1.ZodEnum<{
5252
+ "agent-only": "agent-only";
5253
+ }>>;
5254
+ }, z$1.core.$strip>, z$1.ZodObject<{
5255
+ mimeType: z$1.ZodOptional<z$1.ZodString>;
5256
+ name: z$1.ZodOptional<z$1.ZodString>;
5257
+ path: z$1.ZodString;
5258
+ sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
5259
+ type: z$1.ZodLiteral<"localFile">;
5260
+ visibility: z$1.ZodOptional<z$1.ZodEnum<{
5261
+ "agent-only": "agent-only";
5262
+ }>>;
5263
+ }, z$1.core.$strip>], "type">>;
5264
+ projectId: z$1.ZodString;
5265
+ threadId: z$1.ZodString;
5266
+ }, z$1.core.$strip>>;
5267
+ nextCursor: z$1.ZodNullable<z$1.ZodString>;
5268
+ }, z$1.core.$strip>;
5269
+ type PromptHistoryListResponse = z$1.infer<typeof promptHistoryListResponseSchema>;
5270
+
5196
5271
  declare const registrySkillSchema: z$1.ZodObject<{
5197
5272
  id: z$1.ZodString;
5198
5273
  installUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -5525,9 +5600,11 @@ declare const environmentPullRequestResponseSchema: z$1.ZodDiscriminatedUnion<[z
5525
5600
  draft: "draft";
5526
5601
  merged: "merged";
5527
5602
  none: "none";
5603
+ queued: "queued";
5528
5604
  ready_to_merge: "ready_to_merge";
5529
5605
  review_requested: "review_requested";
5530
5606
  }>;
5607
+ autoMerge: z$1.ZodBoolean;
5531
5608
  baseRefName: z$1.ZodString;
5532
5609
  checks: z$1.ZodObject<{
5533
5610
  failedCount: z$1.ZodNumber;
@@ -5543,6 +5620,7 @@ declare const environmentPullRequestResponseSchema: z$1.ZodDiscriminatedUnion<[z
5543
5620
  totalCount: z$1.ZodNumber;
5544
5621
  }, z$1.core.$strict>;
5545
5622
  headRefName: z$1.ZodString;
5623
+ inMergeQueue: z$1.ZodNullable<z$1.ZodBoolean>;
5546
5624
  mergeability: z$1.ZodObject<{
5547
5625
  mergeStateStatus: z$1.ZodNullable<z$1.ZodEnum<{
5548
5626
  BEHIND: "BEHIND";
@@ -5793,12 +5871,6 @@ declare const hostDaemonCommandRegistry: {
5793
5871
  hidden: "hidden";
5794
5872
  reveal: "reveal";
5795
5873
  }>;
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
5874
  tabId: z$1.ZodString;
5803
5875
  threadId: z$1.ZodString;
5804
5876
  title: z$1.ZodString;
@@ -5812,12 +5884,6 @@ declare const hostDaemonCommandRegistry: {
5812
5884
  hidden: "hidden";
5813
5885
  reveal: "reveal";
5814
5886
  }>;
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
5887
  tabId: z$1.ZodString;
5822
5888
  threadId: z$1.ZodString;
5823
5889
  type: z$1.ZodLiteral<"desktop.browser.create_tab">;
@@ -5833,12 +5899,6 @@ declare const hostDaemonCommandRegistry: {
5833
5899
  hidden: "hidden";
5834
5900
  reveal: "reveal";
5835
5901
  }>;
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
5902
  tabId: z$1.ZodString;
5843
5903
  threadId: z$1.ZodString;
5844
5904
  title: z$1.ZodString;
@@ -5951,12 +6011,6 @@ declare const hostDaemonCommandRegistry: {
5951
6011
  "desktop.browser.import_cookies": HostDaemonCommandDescriptor<"desktop.browser.import_cookies", z$1.ZodObject<{
5952
6012
  generation: z$1.ZodString;
5953
6013
  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
6014
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
5961
6015
  arc: "arc";
5962
6016
  brave: "brave";
@@ -6042,7 +6096,6 @@ declare const hostDaemonCommandRegistry: {
6042
6096
  serverPath: z$1.ZodString;
6043
6097
  }, z$1.core.$strict>]>;
6044
6098
  }, z$1.core.$strict>>>;
6045
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6046
6099
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6047
6100
  description: z$1.ZodString;
6048
6101
  inputSchema: z$1.ZodUnknown;
@@ -6122,10 +6175,7 @@ declare const hostDaemonCommandRegistry: {
6122
6175
  ultracode: "ultracode";
6123
6176
  xhigh: "xhigh";
6124
6177
  }>;
6125
- serviceTier: z$1.ZodEnum<{
6126
- default: "default";
6127
- fast: "fast";
6128
- }>;
6178
+ serviceTier: z$1.ZodString;
6129
6179
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6130
6180
  approvalReviewer: z$1.ZodLiteral<"user">;
6131
6181
  permissionEscalation: z$1.ZodEnum<{
@@ -6203,7 +6253,6 @@ declare const hostDaemonCommandRegistry: {
6203
6253
  serverPath: z$1.ZodString;
6204
6254
  }, z$1.core.$strict>]>;
6205
6255
  }, z$1.core.$strict>>>;
6206
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6207
6256
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6208
6257
  description: z$1.ZodString;
6209
6258
  inputSchema: z$1.ZodUnknown;
@@ -6270,7 +6319,7 @@ declare const hostDaemonCommandRegistry: {
6270
6319
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6271
6320
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6272
6321
  end: z$1.ZodNumber;
6273
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6322
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6274
6323
  kind: z$1.ZodLiteral<"thread">;
6275
6324
  label: z$1.ZodString;
6276
6325
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6319,7 +6368,7 @@ declare const hostDaemonCommandRegistry: {
6319
6368
  kind: z$1.ZodLiteral<"plugin">;
6320
6369
  label: z$1.ZodString;
6321
6370
  pluginId: z$1.ZodString;
6322
- }, z$1.core.$strip>], "kind">>;
6371
+ }, z$1.core.$strip>], "kind">, unknown>;
6323
6372
  start: z$1.ZodNumber;
6324
6373
  }, z$1.core.$strip>>>;
6325
6374
  text: z$1.ZodString;
@@ -6352,7 +6401,7 @@ declare const hostDaemonCommandRegistry: {
6352
6401
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6353
6402
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6354
6403
  end: z$1.ZodNumber;
6355
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6404
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6356
6405
  kind: z$1.ZodLiteral<"thread">;
6357
6406
  label: z$1.ZodString;
6358
6407
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6401,7 +6450,7 @@ declare const hostDaemonCommandRegistry: {
6401
6450
  kind: z$1.ZodLiteral<"plugin">;
6402
6451
  label: z$1.ZodString;
6403
6452
  pluginId: z$1.ZodString;
6404
- }, z$1.core.$strip>], "kind">>;
6453
+ }, z$1.core.$strip>], "kind">, unknown>;
6405
6454
  start: z$1.ZodNumber;
6406
6455
  }, z$1.core.$strip>>>;
6407
6456
  text: z$1.ZodString;
@@ -6450,10 +6499,7 @@ declare const hostDaemonCommandRegistry: {
6450
6499
  ultracode: "ultracode";
6451
6500
  xhigh: "xhigh";
6452
6501
  }>;
6453
- serviceTier: z$1.ZodEnum<{
6454
- default: "default";
6455
- fast: "fast";
6456
- }>;
6502
+ serviceTier: z$1.ZodString;
6457
6503
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6458
6504
  approvalReviewer: z$1.ZodLiteral<"user">;
6459
6505
  permissionEscalation: z$1.ZodEnum<{
@@ -6519,7 +6565,7 @@ declare const hostDaemonCommandRegistry: {
6519
6565
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6520
6566
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6521
6567
  end: z$1.ZodNumber;
6522
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6568
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6523
6569
  kind: z$1.ZodLiteral<"thread">;
6524
6570
  label: z$1.ZodString;
6525
6571
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6568,7 +6614,7 @@ declare const hostDaemonCommandRegistry: {
6568
6614
  kind: z$1.ZodLiteral<"plugin">;
6569
6615
  label: z$1.ZodString;
6570
6616
  pluginId: z$1.ZodString;
6571
- }, z$1.core.$strip>], "kind">>;
6617
+ }, z$1.core.$strip>], "kind">, unknown>;
6572
6618
  start: z$1.ZodNumber;
6573
6619
  }, z$1.core.$strip>>>;
6574
6620
  text: z$1.ZodString;
@@ -6601,7 +6647,7 @@ declare const hostDaemonCommandRegistry: {
6601
6647
  inputGroups: z$1.ZodOptional<z$1.ZodArray<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6602
6648
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
6603
6649
  end: z$1.ZodNumber;
6604
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6650
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6605
6651
  kind: z$1.ZodLiteral<"thread">;
6606
6652
  label: z$1.ZodString;
6607
6653
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -6650,7 +6696,7 @@ declare const hostDaemonCommandRegistry: {
6650
6696
  kind: z$1.ZodLiteral<"plugin">;
6651
6697
  label: z$1.ZodString;
6652
6698
  pluginId: z$1.ZodString;
6653
- }, z$1.core.$strip>], "kind">>;
6699
+ }, z$1.core.$strip>], "kind">, unknown>;
6654
6700
  start: z$1.ZodNumber;
6655
6701
  }, z$1.core.$strip>>>;
6656
6702
  text: z$1.ZodString;
@@ -6694,10 +6740,7 @@ declare const hostDaemonCommandRegistry: {
6694
6740
  ultracode: "ultracode";
6695
6741
  xhigh: "xhigh";
6696
6742
  }>;
6697
- serviceTier: z$1.ZodEnum<{
6698
- default: "default";
6699
- fast: "fast";
6700
- }>;
6743
+ serviceTier: z$1.ZodString;
6701
6744
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6702
6745
  approvalReviewer: z$1.ZodLiteral<"user">;
6703
6746
  permissionEscalation: z$1.ZodEnum<{
@@ -6764,7 +6807,6 @@ declare const hostDaemonCommandRegistry: {
6764
6807
  serverPath: z$1.ZodString;
6765
6808
  }, z$1.core.$strict>]>;
6766
6809
  }, z$1.core.$strict>>>;
6767
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6768
6810
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6769
6811
  description: z$1.ZodString;
6770
6812
  inputSchema: z$1.ZodUnknown;
@@ -6846,12 +6888,7 @@ declare const hostDaemonCommandRegistry: {
6846
6888
  }, z$1.core.$strip>], "mode">;
6847
6889
  threadId: z$1.ZodString;
6848
6890
  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>;
6891
+ }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
6855
6892
  "thread.stop": HostDaemonCommandDescriptor<"thread.stop", z$1.ZodObject<{
6856
6893
  environmentId: z$1.ZodString;
6857
6894
  intent: z$1.ZodEnum<{
@@ -6914,10 +6951,7 @@ declare const hostDaemonCommandRegistry: {
6914
6951
  ultracode: "ultracode";
6915
6952
  xhigh: "xhigh";
6916
6953
  }>;
6917
- serviceTier: z$1.ZodEnum<{
6918
- default: "default";
6919
- fast: "fast";
6920
- }>;
6954
+ serviceTier: z$1.ZodString;
6921
6955
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6922
6956
  approvalReviewer: z$1.ZodLiteral<"user">;
6923
6957
  permissionEscalation: z$1.ZodEnum<{
@@ -6983,7 +7017,6 @@ declare const hostDaemonCommandRegistry: {
6983
7017
  serverPath: z$1.ZodString;
6984
7018
  }, z$1.core.$strict>]>;
6985
7019
  }, z$1.core.$strict>>>;
6986
- disallowedTools: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
6987
7020
  dynamicTools: z$1.ZodArray<z$1.ZodObject<{
6988
7021
  description: z$1.ZodString;
6989
7022
  inputSchema: z$1.ZodUnknown;
@@ -7805,15 +7838,6 @@ declare const hostDaemonCommandRegistry: {
7805
7838
  name: z$1.ZodString;
7806
7839
  }, z$1.core.$strip>>;
7807
7840
  }, 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
7841
  "host.read_file": HostDaemonCommandDescriptor<"host.read_file", z$1.ZodObject<{
7818
7842
  ifNoneMatch: z$1.ZodOptional<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7819
7843
  kind: z$1.ZodLiteral<"any">;
@@ -7965,6 +7989,11 @@ declare const hostDaemonCommandRegistry: {
7965
7989
  xhigh: "xhigh";
7966
7990
  }>;
7967
7991
  }, z$1.core.$strip>>;
7992
+ supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
7993
+ description: z$1.ZodOptional<z$1.ZodString>;
7994
+ id: z$1.ZodString;
7995
+ label: z$1.ZodOptional<z$1.ZodString>;
7996
+ }, z$1.core.$strip>>>;
7968
7997
  }, z$1.core.$strip>>;
7969
7998
  selectedOnlyModels: z$1.ZodArray<z$1.ZodObject<{
7970
7999
  defaultReasoningEffort: z$1.ZodEnum<{
@@ -7996,6 +8025,11 @@ declare const hostDaemonCommandRegistry: {
7996
8025
  xhigh: "xhigh";
7997
8026
  }>;
7998
8027
  }, z$1.core.$strip>>;
8028
+ supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8029
+ description: z$1.ZodOptional<z$1.ZodString>;
8030
+ id: z$1.ZodString;
8031
+ label: z$1.ZodOptional<z$1.ZodString>;
8032
+ }, z$1.core.$strip>>>;
7999
8033
  }, z$1.core.$strip>>;
8000
8034
  }, z$1.core.$strip>, "onlineRpc", true>;
8001
8035
  "provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
@@ -8078,9 +8112,7 @@ declare const hostDaemonCommandRegistry: {
8078
8112
  kind: z$1.ZodLiteral<"artifact">;
8079
8113
  }, z$1.core.$strict>;
8080
8114
  }, z$1.core.$strict>;
8081
- cwd: z$1.ZodOptional<z$1.ZodString>;
8082
8115
  providerId: z$1.ZodString;
8083
- requirement: z$1.ZodOptional<z$1.ZodLiteral<"thread_rewind">>;
8084
8116
  type: z$1.ZodLiteral<"provider.installation.status">;
8085
8117
  }, z$1.core.$strict>, z$1.ZodObject<{
8086
8118
  currentVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -8141,7 +8173,6 @@ declare const hostDaemonCommandRegistry: {
8141
8173
  kind: z$1.ZodLiteral<"artifact">;
8142
8174
  }, z$1.core.$strict>;
8143
8175
  }, z$1.core.$strict>;
8144
- cwd: z$1.ZodOptional<z$1.ZodString>;
8145
8176
  providerId: z$1.ZodString;
8146
8177
  type: z$1.ZodLiteral<"provider.installation.run">;
8147
8178
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8196,7 +8227,6 @@ declare const hostDaemonCommandRegistry: {
8196
8227
  kind: z$1.ZodLiteral<"artifact">;
8197
8228
  }, z$1.core.$strict>;
8198
8229
  }, z$1.core.$strict>;
8199
- cwd: z$1.ZodOptional<z$1.ZodString>;
8200
8230
  providerId: z$1.ZodString;
8201
8231
  type: z$1.ZodLiteral<"provider.usage">;
8202
8232
  }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -8489,6 +8519,7 @@ declare const hostDaemonCommandRegistry: {
8489
8519
  }, z$1.core.$strict>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8490
8520
  outcome: z$1.ZodLiteral<"available">;
8491
8521
  pullRequest: z$1.ZodObject<{
8522
+ autoMerge: z$1.ZodBoolean;
8492
8523
  baseRefName: z$1.ZodString;
8493
8524
  checks: z$1.ZodArray<z$1.ZodObject<{
8494
8525
  conclusion: z$1.ZodNullable<z$1.ZodEnum<{
@@ -8514,6 +8545,7 @@ declare const hostDaemonCommandRegistry: {
8514
8545
  url: z$1.ZodNullable<z$1.ZodString>;
8515
8546
  }, z$1.core.$strict>>;
8516
8547
  headRefName: z$1.ZodString;
8548
+ inMergeQueue: z$1.ZodNullable<z$1.ZodBoolean>;
8517
8549
  isDraft: z$1.ZodBoolean;
8518
8550
  mergeStateStatus: z$1.ZodNullable<z$1.ZodEnum<{
8519
8551
  BEHIND: "BEHIND";
@@ -8576,12 +8608,6 @@ declare const hostDaemonCommandRegistry: {
8576
8608
  }>;
8577
8609
  portAvailable: z$1.ZodBoolean;
8578
8610
  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
8611
  timeZone: z$1.ZodNullable<z$1.ZodString>;
8586
8612
  }, z$1.core.$strict>, "onlineRpc", true>;
8587
8613
  "server_move.probe": HostDaemonCommandDescriptor<"server_move.probe", z$1.ZodObject<{
@@ -8760,12 +8786,6 @@ declare const desktopBrowserCommandSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
8760
8786
  hidden: "hidden";
8761
8787
  reveal: "reveal";
8762
8788
  }>;
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
8789
  tabId: z$1.ZodString;
8770
8790
  threadId: z$1.ZodString;
8771
8791
  type: z$1.ZodLiteral<"desktop.browser.create_tab">;
@@ -8817,12 +8837,6 @@ declare const desktopBrowserCommandSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObj
8817
8837
  }, z$1.core.$strict>, z$1.ZodObject<{
8818
8838
  generation: z$1.ZodString;
8819
8839
  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
8840
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
8827
8841
  arc: "arc";
8828
8842
  brave: "brave";
@@ -8859,12 +8873,6 @@ declare const desktopBrowserResultSchemas: {
8859
8873
  hidden: "hidden";
8860
8874
  reveal: "reveal";
8861
8875
  }>;
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
8876
  tabId: z$1.ZodString;
8869
8877
  threadId: z$1.ZodString;
8870
8878
  title: z$1.ZodString;
@@ -8882,12 +8890,6 @@ declare const desktopBrowserResultSchemas: {
8882
8890
  hidden: "hidden";
8883
8891
  reveal: "reveal";
8884
8892
  }>;
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
8893
  tabId: z$1.ZodString;
8892
8894
  threadId: z$1.ZodString;
8893
8895
  title: z$1.ZodString;
@@ -9566,6 +9568,7 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
9566
9568
  rank: z$1.ZodNumber;
9567
9569
  }, z$1.core.$strip>>>;
9568
9570
  compatible: z$1.ZodBoolean;
9571
+ conflictingInstallSource: z$1.ZodNullable<z$1.ZodString>;
9569
9572
  description: z$1.ZodString;
9570
9573
  displayName: z$1.ZodString;
9571
9574
  entryId: z$1.ZodString;
@@ -9764,6 +9767,11 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
9764
9767
  xhigh: "xhigh";
9765
9768
  }>;
9766
9769
  }, z$1.core.$strip>>;
9770
+ supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
9771
+ description: z$1.ZodOptional<z$1.ZodString>;
9772
+ id: z$1.ZodString;
9773
+ label: z$1.ZodOptional<z$1.ZodString>;
9774
+ }, z$1.core.$strip>>>;
9767
9775
  }, z$1.core.$strip>>;
9768
9776
  permissionCeiling: z$1.ZodEnum<{
9769
9777
  "accept-edits": "accept-edits";
@@ -9889,6 +9897,11 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
9889
9897
  xhigh: "xhigh";
9890
9898
  }>;
9891
9899
  }, z$1.core.$strip>>;
9900
+ supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
9901
+ description: z$1.ZodOptional<z$1.ZodString>;
9902
+ id: z$1.ZodString;
9903
+ label: z$1.ZodOptional<z$1.ZodString>;
9904
+ }, z$1.core.$strip>>>;
9892
9905
  }, z$1.core.$strip>>;
9893
9906
  }, z$1.core.$strip>;
9894
9907
  type SystemExecutionOptionsResponse = z$1.infer<typeof systemExecutionOptionsResponseSchema>;
@@ -10168,12 +10181,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10168
10181
  }, z$1.core.$strict>;
10169
10182
  }, z$1.core.$strict>>;
10170
10183
  experiments: z$1.ZodRecord<z$1.ZodEnum<{
10171
- androidTesting: "androidTesting";
10172
10184
  changelogPreview: "changelogPreview";
10173
- legacyJitiPluginLoader: "legacyJitiPluginLoader";
10174
- mobileApp: "mobileApp";
10175
10185
  serverMove: "serverMove";
10176
- sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
10177
10186
  }>, z$1.ZodBoolean>;
10178
10187
  featureFlags: z$1.ZodObject<{
10179
10188
  placeholder: z$1.ZodBoolean;
@@ -10181,6 +10190,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10181
10190
  }, z$1.core.$strip>;
10182
10191
  generalSettings: z$1.ZodObject<{
10183
10192
  allowFastServiceTier: z$1.ZodBoolean;
10193
+ confirmThreadArchive: z$1.ZodBoolean;
10184
10194
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
10185
10195
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
10186
10196
  machineGitCredentialsEnabled: z$1.ZodBoolean;
@@ -10682,20 +10692,111 @@ declare const androidAppArtifactSchema: z$1.ZodObject<{
10682
10692
  versionCode: z$1.ZodNumber;
10683
10693
  }, z$1.core.$strip>;
10684
10694
  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;
10695
+ interface SystemMobileAppReleasesResponse {
10696
+ android: (AndroidAppArtifact & {
10697
+ updatedAt: string;
10698
+ }) | null;
10698
10699
  }
10700
+ declare const systemProviderCatalogEntrySchema: z$1.ZodObject<{
10701
+ available: z$1.ZodBoolean;
10702
+ displayName: z$1.ZodString;
10703
+ enabled: z$1.ZodBoolean;
10704
+ id: z$1.ZodString;
10705
+ info: z$1.ZodNullable<z$1.ZodObject<{
10706
+ available: z$1.ZodBoolean;
10707
+ capabilities: z$1.ZodObject<{
10708
+ modelCatalogScope: z$1.ZodEnum<{
10709
+ host: "host";
10710
+ workspace: "workspace";
10711
+ }>;
10712
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
10713
+ "accept-edits": "accept-edits";
10714
+ auto: "auto";
10715
+ full: "full";
10716
+ }>>;
10717
+ supportsFork: z$1.ZodBoolean;
10718
+ supportsNativeUserQuestion: z$1.ZodBoolean;
10719
+ supportsServiceTier: z$1.ZodBoolean;
10720
+ supportsSessionRewind: z$1.ZodBoolean;
10721
+ supportsThreadArchive: z$1.ZodBoolean;
10722
+ supportsThreadRename: z$1.ZodBoolean;
10723
+ }, z$1.core.$strip>;
10724
+ completedTurnDisplay: z$1.ZodEnum<{
10725
+ collapse: "collapse";
10726
+ flat: "flat";
10727
+ }>;
10728
+ composerActions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10729
+ kind: z$1.ZodLiteral<"skills">;
10730
+ trigger: z$1.ZodEnum<{
10731
+ "/": "/";
10732
+ $: "$";
10733
+ }>;
10734
+ }, z$1.core.$strip>, z$1.ZodObject<{
10735
+ command: z$1.ZodObject<{
10736
+ name: z$1.ZodString;
10737
+ trailingText: z$1.ZodString;
10738
+ trigger: z$1.ZodEnum<{
10739
+ "/": "/";
10740
+ $: "$";
10741
+ }>;
10742
+ }, z$1.core.$strip>;
10743
+ kind: z$1.ZodLiteral<"plan">;
10744
+ }, z$1.core.$strip>, z$1.ZodObject<{
10745
+ command: z$1.ZodObject<{
10746
+ name: z$1.ZodString;
10747
+ trailingText: z$1.ZodString;
10748
+ trigger: z$1.ZodEnum<{
10749
+ "/": "/";
10750
+ $: "$";
10751
+ }>;
10752
+ }, z$1.core.$strip>;
10753
+ kind: z$1.ZodLiteral<"goal">;
10754
+ }, z$1.core.$strip>], "kind">>;
10755
+ displayName: z$1.ZodString;
10756
+ 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<{
10757
+ item: z$1.ZodBoolean;
10758
+ state: z$1.ZodBoolean;
10759
+ }, z$1.core.$strip>>>;
10760
+ family: z$1.ZodOptional<z$1.ZodString>;
10761
+ icon: z$1.ZodOptional<z$1.ZodObject<{
10762
+ glyph: z$1.ZodString;
10763
+ }, z$1.core.$strip>>;
10764
+ id: z$1.ZodString;
10765
+ logoUrl: z$1.ZodNullable<z$1.ZodString>;
10766
+ maintenance: z$1.ZodObject<{
10767
+ health: z$1.ZodBoolean;
10768
+ installation: z$1.ZodBoolean;
10769
+ usage: z$1.ZodBoolean;
10770
+ }, z$1.core.$strip>;
10771
+ pluginId: z$1.ZodString;
10772
+ reasoningLevels: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10773
+ description: z$1.ZodOptional<z$1.ZodString>;
10774
+ id: z$1.ZodString;
10775
+ label: z$1.ZodString;
10776
+ }, z$1.core.$strip>>>;
10777
+ serviceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10778
+ description: z$1.ZodOptional<z$1.ZodString>;
10779
+ id: z$1.ZodString;
10780
+ label: z$1.ZodString;
10781
+ }, z$1.core.$strip>>>;
10782
+ strings: z$1.ZodOptional<z$1.ZodObject<{
10783
+ brandPrefix: z$1.ZodOptional<z$1.ZodString>;
10784
+ expiredHint: z$1.ZodString;
10785
+ iconTint: z$1.ZodOptional<z$1.ZodObject<{
10786
+ dark: z$1.ZodString;
10787
+ light: z$1.ZodString;
10788
+ }, z$1.core.$strip>>;
10789
+ installUrl: z$1.ZodString;
10790
+ planModeCopy: z$1.ZodOptional<z$1.ZodString>;
10791
+ signInHint: z$1.ZodString;
10792
+ }, z$1.core.$strip>>;
10793
+ }, z$1.core.$strip>>;
10794
+ logoUrl: z$1.ZodNullable<z$1.ZodString>;
10795
+ pluginEnabled: z$1.ZodBoolean;
10796
+ pluginId: z$1.ZodString;
10797
+ pluginName: z$1.ZodString;
10798
+ }, z$1.core.$strip>;
10799
+ type SystemProviderCatalogEntry = z$1.infer<typeof systemProviderCatalogEntrySchema>;
10699
10800
 
10700
10801
  interface UiPreferencesResponse {
10701
10802
  preferences: UiPreferenceEntries;
@@ -10776,6 +10877,9 @@ declare const createTerminalRequestSchema: z$1.ZodObject<{
10776
10877
  }, z$1.core.$strict>, z$1.ZodObject<{
10777
10878
  command: z$1.ZodString;
10778
10879
  mode: z$1.ZodLiteral<"command">;
10880
+ }, z$1.core.$strict>, z$1.ZodObject<{
10881
+ argv: z$1.ZodArray<z$1.ZodString>;
10882
+ mode: z$1.ZodLiteral<"argv">;
10779
10883
  }, z$1.core.$strict>], "mode">>;
10780
10884
  target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10781
10885
  kind: z$1.ZodLiteral<"thread">;
@@ -10872,7 +10976,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
10872
10976
  kind: z$1.ZodLiteral<"conversation">;
10873
10977
  mentions: z$1.ZodArray<z$1.ZodObject<{
10874
10978
  end: z$1.ZodNumber;
10875
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10979
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10876
10980
  kind: z$1.ZodLiteral<"thread">;
10877
10981
  label: z$1.ZodString;
10878
10982
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -10921,7 +11025,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
10921
11025
  kind: z$1.ZodLiteral<"plugin">;
10922
11026
  label: z$1.ZodString;
10923
11027
  pluginId: z$1.ZodString;
10924
- }, z$1.core.$strip>], "kind">>;
11028
+ }, z$1.core.$strip>], "kind">, unknown>;
10925
11029
  start: z$1.ZodNumber;
10926
11030
  }, z$1.core.$strip>>;
10927
11031
  role: z$1.ZodLiteral<"user">;
@@ -12027,7 +12131,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12027
12131
  baseBranch: z$1.ZodString;
12028
12132
  kind: z$1.ZodLiteral<"new">;
12029
12133
  }, z$1.core.$strict>], "kind">>;
12030
- path: z$1.ZodNullable<z$1.ZodString>;
12134
+ path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
12031
12135
  type: z$1.ZodLiteral<"unmanaged">;
12032
12136
  }, z$1.core.$strip>, z$1.ZodObject<{
12033
12137
  baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -12080,7 +12184,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12080
12184
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12081
12185
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12082
12186
  end: z$1.ZodNumber;
12083
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12187
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12084
12188
  kind: z$1.ZodLiteral<"thread">;
12085
12189
  label: z$1.ZodString;
12086
12190
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12129,7 +12233,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12129
12233
  kind: z$1.ZodLiteral<"plugin">;
12130
12234
  label: z$1.ZodString;
12131
12235
  pluginId: z$1.ZodString;
12132
- }, z$1.core.$strip>], "kind">>;
12236
+ }, z$1.core.$strip>], "kind">, unknown>;
12133
12237
  start: z$1.ZodNumber;
12134
12238
  }, z$1.core.$strip>>>;
12135
12239
  text: z$1.ZodString;
@@ -12197,10 +12301,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12197
12301
  }>>;
12198
12302
  sectionId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12199
12303
  sendAt: z$1.ZodOptional<z$1.ZodNumber>;
12200
- serviceTier: z$1.ZodOptional<z$1.ZodEnum<{
12201
- default: "default";
12202
- fast: "fast";
12203
- }>>;
12304
+ serviceTier: z$1.ZodOptional<z$1.ZodString>;
12204
12305
  sourceSeqEnd: z$1.ZodOptional<z$1.ZodNumber>;
12205
12306
  sourceThreadId: z$1.ZodOptional<z$1.ZodString>;
12206
12307
  startedOnBehalfOf: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodObject<{
@@ -12221,7 +12322,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12221
12322
  agentContextSeed: z$1.ZodOptional<z$1.ZodArray<z$1.ZodIntersection<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12222
12323
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12223
12324
  end: z$1.ZodNumber;
12224
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12325
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12225
12326
  kind: z$1.ZodLiteral<"thread">;
12226
12327
  label: z$1.ZodString;
12227
12328
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12270,7 +12371,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12270
12371
  kind: z$1.ZodLiteral<"plugin">;
12271
12372
  label: z$1.ZodString;
12272
12373
  pluginId: z$1.ZodString;
12273
- }, z$1.core.$strip>], "kind">>;
12374
+ }, z$1.core.$strip>], "kind">, unknown>;
12274
12375
  start: z$1.ZodNumber;
12275
12376
  }, z$1.core.$strip>>>;
12276
12377
  text: z$1.ZodString;
@@ -12316,7 +12417,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12316
12417
  baseBranch: z$1.ZodString;
12317
12418
  kind: z$1.ZodLiteral<"new">;
12318
12419
  }, z$1.core.$strict>], "kind">>;
12319
- path: z$1.ZodNullable<z$1.ZodString>;
12420
+ path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
12320
12421
  type: z$1.ZodLiteral<"unmanaged">;
12321
12422
  }, z$1.core.$strip>, z$1.ZodObject<{
12322
12423
  baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -12347,7 +12448,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12347
12448
  input: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12348
12449
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12349
12450
  end: z$1.ZodNumber;
12350
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12451
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12351
12452
  kind: z$1.ZodLiteral<"thread">;
12352
12453
  label: z$1.ZodString;
12353
12454
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12396,7 +12497,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
12396
12497
  kind: z$1.ZodLiteral<"plugin">;
12397
12498
  label: z$1.ZodString;
12398
12499
  pluginId: z$1.ZodString;
12399
- }, z$1.core.$strip>], "kind">>;
12500
+ }, z$1.core.$strip>], "kind">, unknown>;
12400
12501
  start: z$1.ZodNumber;
12401
12502
  }, z$1.core.$strip>>>;
12402
12503
  text: z$1.ZodString;
@@ -12471,7 +12572,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
12471
12572
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12472
12573
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12473
12574
  end: z$1.ZodNumber;
12474
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12575
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12475
12576
  kind: z$1.ZodLiteral<"thread">;
12476
12577
  label: z$1.ZodString;
12477
12578
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12520,7 +12621,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
12520
12621
  kind: z$1.ZodLiteral<"plugin">;
12521
12622
  label: z$1.ZodString;
12522
12623
  pluginId: z$1.ZodString;
12523
- }, z$1.core.$strip>], "kind">>;
12624
+ }, z$1.core.$strip>], "kind">, unknown>;
12524
12625
  start: z$1.ZodNumber;
12525
12626
  }, z$1.core.$strip>>>;
12526
12627
  text: z$1.ZodString;
@@ -12579,10 +12680,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
12579
12680
  }>>;
12580
12681
  sendAt: z$1.ZodOptional<z$1.ZodNumber>;
12581
12682
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
12582
- serviceTier: z$1.ZodOptional<z$1.ZodEnum<{
12583
- default: "default";
12584
- fast: "fast";
12585
- }>>;
12683
+ serviceTier: z$1.ZodOptional<z$1.ZodString>;
12586
12684
  }, z$1.core.$strip>;
12587
12685
  type SendMessageRequest = z$1.infer<typeof sendMessageRequestSchema>;
12588
12686
  /**
@@ -12600,7 +12698,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
12600
12698
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12601
12699
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12602
12700
  end: z$1.ZodNumber;
12603
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12701
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12604
12702
  kind: z$1.ZodLiteral<"thread">;
12605
12703
  label: z$1.ZodString;
12606
12704
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12649,7 +12747,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
12649
12747
  kind: z$1.ZodLiteral<"plugin">;
12650
12748
  label: z$1.ZodString;
12651
12749
  pluginId: z$1.ZodString;
12652
- }, z$1.core.$strip>], "kind">>;
12750
+ }, z$1.core.$strip>], "kind">, unknown>;
12653
12751
  start: z$1.ZodNumber;
12654
12752
  }, z$1.core.$strip>>>;
12655
12753
  text: z$1.ZodString;
@@ -12722,10 +12820,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
12722
12820
  }>;
12723
12821
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
12724
12822
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
12725
- serviceTier: z$1.ZodEnum<{
12726
- default: "default";
12727
- fast: "fast";
12728
- }>;
12823
+ serviceTier: z$1.ZodString;
12729
12824
  threadId: z$1.ZodString;
12730
12825
  updatedAt: z$1.ZodNumber;
12731
12826
  waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -12774,7 +12869,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
12774
12869
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12775
12870
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12776
12871
  end: z$1.ZodNumber;
12777
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12872
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12778
12873
  kind: z$1.ZodLiteral<"thread">;
12779
12874
  label: z$1.ZodString;
12780
12875
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12823,7 +12918,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
12823
12918
  kind: z$1.ZodLiteral<"plugin">;
12824
12919
  label: z$1.ZodString;
12825
12920
  pluginId: z$1.ZodString;
12826
- }, z$1.core.$strip>], "kind">>;
12921
+ }, z$1.core.$strip>], "kind">, unknown>;
12827
12922
  start: z$1.ZodNumber;
12828
12923
  }, z$1.core.$strip>>>;
12829
12924
  text: z$1.ZodString;
@@ -12871,10 +12966,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
12871
12966
  xhigh: "xhigh";
12872
12967
  }>>;
12873
12968
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
12874
- serviceTier: z$1.ZodOptional<z$1.ZodEnum<{
12875
- default: "default";
12876
- fast: "fast";
12877
- }>>;
12969
+ serviceTier: z$1.ZodOptional<z$1.ZodString>;
12878
12970
  }, z$1.core.$strict>;
12879
12971
  type EditMessageRequest = z$1.infer<typeof editMessageRequestSchema>;
12880
12972
  declare const editMessageResponseSchema: z$1.ZodObject<{
@@ -12946,7 +13038,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
12946
13038
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12947
13039
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
12948
13040
  end: z$1.ZodNumber;
12949
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13041
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
12950
13042
  kind: z$1.ZodLiteral<"thread">;
12951
13043
  label: z$1.ZodString;
12952
13044
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -12995,7 +13087,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
12995
13087
  kind: z$1.ZodLiteral<"plugin">;
12996
13088
  label: z$1.ZodString;
12997
13089
  pluginId: z$1.ZodString;
12998
- }, z$1.core.$strip>], "kind">>;
13090
+ }, z$1.core.$strip>], "kind">, unknown>;
12999
13091
  start: z$1.ZodNumber;
13000
13092
  }, z$1.core.$strip>>>;
13001
13093
  text: z$1.ZodString;
@@ -13042,10 +13134,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
13042
13134
  xhigh: "xhigh";
13043
13135
  }>>;
13044
13136
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
13045
- serviceTier: z$1.ZodOptional<z$1.ZodEnum<{
13046
- default: "default";
13047
- fast: "fast";
13048
- }>>;
13137
+ serviceTier: z$1.ZodOptional<z$1.ZodString>;
13049
13138
  }, z$1.core.$strip>;
13050
13139
  type CreateQueuedMessageRequest = z$1.infer<typeof createQueuedMessageRequestSchema>;
13051
13140
  declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
@@ -13053,7 +13142,7 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13053
13142
  input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13054
13143
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13055
13144
  end: z$1.ZodNumber;
13056
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13145
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13057
13146
  kind: z$1.ZodLiteral<"thread">;
13058
13147
  label: z$1.ZodString;
13059
13148
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -13102,7 +13191,7 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13102
13191
  kind: z$1.ZodLiteral<"plugin">;
13103
13192
  label: z$1.ZodString;
13104
13193
  pluginId: z$1.ZodString;
13105
- }, z$1.core.$strip>], "kind">>;
13194
+ }, z$1.core.$strip>], "kind">, unknown>;
13106
13195
  start: z$1.ZodNumber;
13107
13196
  }, z$1.core.$strip>>>;
13108
13197
  text: z$1.ZodString;
@@ -13162,7 +13251,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13162
13251
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13163
13252
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
13164
13253
  end: z$1.ZodNumber;
13165
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13254
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
13166
13255
  kind: z$1.ZodLiteral<"thread">;
13167
13256
  label: z$1.ZodString;
13168
13257
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -13211,7 +13300,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13211
13300
  kind: z$1.ZodLiteral<"plugin">;
13212
13301
  label: z$1.ZodString;
13213
13302
  pluginId: z$1.ZodString;
13214
- }, z$1.core.$strip>], "kind">>;
13303
+ }, z$1.core.$strip>], "kind">, unknown>;
13215
13304
  start: z$1.ZodNumber;
13216
13305
  }, z$1.core.$strip>>>;
13217
13306
  text: z$1.ZodString;
@@ -13284,10 +13373,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13284
13373
  }>;
13285
13374
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
13286
13375
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
13287
- serviceTier: z$1.ZodEnum<{
13288
- default: "default";
13289
- fast: "fast";
13290
- }>;
13376
+ serviceTier: z$1.ZodString;
13291
13377
  threadId: z$1.ZodString;
13292
13378
  updatedAt: z$1.ZodNumber;
13293
13379
  waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -14092,7 +14178,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14092
14178
  content: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14093
14179
  mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
14094
14180
  end: z$1.ZodNumber;
14095
- resource: z$1.ZodPipe<z$1.ZodTransform<unknown, unknown>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14181
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
14096
14182
  kind: z$1.ZodLiteral<"thread">;
14097
14183
  label: z$1.ZodString;
14098
14184
  projectId: z$1.ZodOptional<z$1.ZodString>;
@@ -14141,7 +14227,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14141
14227
  kind: z$1.ZodLiteral<"plugin">;
14142
14228
  label: z$1.ZodString;
14143
14229
  pluginId: z$1.ZodString;
14144
- }, z$1.core.$strip>], "kind">>;
14230
+ }, z$1.core.$strip>], "kind">, unknown>;
14145
14231
  start: z$1.ZodNumber;
14146
14232
  }, z$1.core.$strip>>>;
14147
14233
  text: z$1.ZodString;
@@ -14214,10 +14300,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14214
14300
  }>;
14215
14301
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
14216
14302
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
14217
- serviceTier: z$1.ZodEnum<{
14218
- default: "default";
14219
- fast: "fast";
14220
- }>;
14303
+ serviceTier: z$1.ZodString;
14221
14304
  threadId: z$1.ZodString;
14222
14305
  updatedAt: z$1.ZodNumber;
14223
14306
  waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -14740,6 +14823,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
14740
14823
  anchorId: z$1.ZodString;
14741
14824
  anchorSeq: z$1.ZodNumber;
14742
14825
  }, z$1.core.$strict>>;
14826
+ olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
14743
14827
  olderRowsSourceSeqEnd: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
14744
14828
  returnedSegmentCount: z$1.ZodNumber;
14745
14829
  segmentLimit: z$1.ZodNumber;
@@ -14815,7 +14899,6 @@ declare const desktopBrowserCreateRequestSchema: z$1.ZodObject<{
14815
14899
  url: z$1.ZodDefault<z$1.ZodPipe<z$1.ZodString, z$1.ZodString>>;
14816
14900
  }, z$1.core.$strict>;
14817
14901
  declare const desktopBrowserAcquireRequestSchema: z$1.ZodObject<{
14818
- allowPersonal: z$1.ZodDefault<z$1.ZodBoolean>;
14819
14902
  controllerLabel: z$1.ZodString;
14820
14903
  generation: z$1.ZodString;
14821
14904
  hostId: z$1.ZodString;
@@ -14840,12 +14923,6 @@ declare const desktopBrowserImportCookiesRequestSchema: z$1.ZodObject<{
14840
14923
  generation: z$1.ZodString;
14841
14924
  hostId: z$1.ZodString;
14842
14925
  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
14926
  sourceId: z$1.ZodUnion<readonly [z$1.ZodEnum<{
14850
14927
  arc: "arc";
14851
14928
  brave: "brave";
@@ -15761,7 +15838,8 @@ type ProjectCommandsArgs = ProjectWorkspaceRoutingArgs & Omit<ProjectCommandsQue
15761
15838
  projectId: string;
15762
15839
  signal?: AbortSignal;
15763
15840
  };
15764
- type ProjectFileContentArgs = ProjectWorkspaceRoutingArgs & Omit<ProjectFileContentQuery, "environmentId" | "hostId"> & {
15841
+ type ProjectFileContentArgs = ProjectWorkspaceRoutingArgs & {
15842
+ path: string;
15765
15843
  projectId: string;
15766
15844
  signal?: AbortSignal;
15767
15845
  };
@@ -15906,6 +15984,11 @@ type ProviderModelsArgs = ProviderHostRoutingArgs & {
15906
15984
  type ProviderListResult = ProviderInfo[];
15907
15985
  type ProviderModelsResult = SystemExecutionOptionsResponse;
15908
15986
  interface ProvidersArea {
15987
+ catalog(): Promise<SystemProviderCatalogEntry[]>;
15988
+ setEnabled(args: {
15989
+ providerId: string;
15990
+ enabled: boolean;
15991
+ }): Promise<SystemProviderCatalogEntry[]>;
15909
15992
  list(args?: ProviderListArgs): Promise<ProviderListResult>;
15910
15993
  models(args?: ProviderModelsArgs): Promise<ProviderModelsResult>;
15911
15994
  }
@@ -16042,6 +16125,14 @@ interface PluginsArea {
16042
16125
  updateSettings(args: PluginSettingsUpdateArgs): Promise<PluginUpdateSettingsResult>;
16043
16126
  }
16044
16127
 
16128
+ type ExperimentalPromptHistoryListArgs = PromptHistoryListQuery & {
16129
+ signal?: AbortSignal;
16130
+ };
16131
+ type ExperimentalPromptHistoryListResult = PromptHistoryListResponse;
16132
+ interface ExperimentalPromptHistoryArea {
16133
+ list(args?: ExperimentalPromptHistoryListArgs): Promise<ExperimentalPromptHistoryListResult>;
16134
+ }
16135
+
16045
16136
  type BbRealtimeUnsubscribe = () => void;
16046
16137
  type BbRealtimeEventName = "environment:changed" | "host:changed" | "project:changed" | "realtime:connection" | "system:changed" | "system:config-changed" | "thread:changed";
16047
16138
  type ThreadRealtimeEvent = Extract<ChangedMessage, {
@@ -16325,10 +16416,9 @@ interface SystemArea {
16325
16416
  testAiService(args: SystemTestAiServiceArgs): Promise<SystemTestAiServiceResult>;
16326
16417
  transcribeVoice(args: SystemVoiceTranscriptionArgs): Promise<SystemVoiceTranscriptionResult>;
16327
16418
  uiPreferences: SystemUiPreferencesArea;
16328
- androidAppPreparation(): Promise<AndroidAppPreparation>;
16329
- prepareAndroidApp(input: AndroidAppPrepareRequest): Promise<AndroidAppPreparation>;
16330
- androidApp(): Promise<SystemAndroidAppResponse>;
16331
- updateExperiments(args: Experiments): Promise<SystemUpdateExperimentsResult>;
16419
+ mobileAppDownloads(): typeof mobileAppDownloads;
16420
+ mobileAppReleases(): Promise<SystemMobileAppReleasesResponse>;
16421
+ updateExperiments(args: ExperimentUpdates): Promise<SystemUpdateExperimentsResult>;
16332
16422
  updateGeneralSettings(args: AppSettingsUpdate): Promise<SystemUpdateGeneralSettingsResult>;
16333
16423
  updateKeyboardSettings(args: AppKeybindingOverrides): Promise<SystemUpdateKeyboardSettingsResult>;
16334
16424
  providerStates(args?: SystemProviderStatesArgs): Promise<SystemProviderStatesResult>;
@@ -16885,6 +16975,7 @@ interface ThreadSectionsArea {
16885
16975
 
16886
16976
  interface BbSdkAreas extends BbRealtime {
16887
16977
  experimental_desktopBrowsers: ExperimentalDesktopBrowsersArea;
16978
+ experimental_promptHistory: ExperimentalPromptHistoryArea;
16888
16979
  experimental_server: ExperimentalServerArea;
16889
16980
  environments: EnvironmentsArea;
16890
16981
  files: FilesArea;
@@ -17332,8 +17423,6 @@ interface PluginFileOpenerProps {
17332
17423
  * @experimental Audit before relying on this as a stable contract.
17333
17424
  */
17334
17425
  Original: ComponentType;
17335
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17336
- experimental_Original?: ComponentType;
17337
17426
  }
17338
17427
  /** How a code line longer than the viewport is presented. */
17339
17428
  type CodeOverflowMode = "scroll" | "wrap";
@@ -17425,8 +17514,6 @@ interface PluginSourceCodeRendererProps {
17425
17514
  * @experimental Audit before relying on this as a stable contract.
17426
17515
  */
17427
17516
  Original: ComponentType;
17428
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17429
- experimental_Original?: ComponentType;
17430
17517
  }
17431
17518
  /**
17432
17519
  * Props passed to an `experimental_diffRenderer` component. `patch` is always
@@ -17454,8 +17541,6 @@ interface PluginDiffRendererProps {
17454
17541
  * @experimental Audit before relying on this as a stable contract.
17455
17542
  */
17456
17543
  Original: ComponentType;
17457
- /** @deprecated Renamed to `Original` in SDK 0.4.16; removed in bb 0.42. */
17458
- experimental_Original?: ComponentType;
17459
17544
  }
17460
17545
  /**
17461
17546
  * Message context passed to a `messageDirective` component — the assistant
@@ -17496,6 +17581,8 @@ interface PluginHomepageSectionRegistration {
17496
17581
  component: ComponentType<PluginHomepageSectionProps>;
17497
17582
  }
17498
17583
  interface PluginSettingsSectionRegistration {
17584
+ /** Render on Mobile settings instead of the plugin configuration page. */
17585
+ experimental_page?: "mobile";
17499
17586
  /** Unique within the plugin; letters, digits, `-`, `_`. */
17500
17587
  id: string;
17501
17588
  /** Optional host-rendered section heading. */
@@ -17948,11 +18035,24 @@ interface PluginSidebarThread {
17948
18035
  * can colour a badge without reading checks, review, and mergeability itself.
17949
18036
  */
17950
18037
  interface PluginSidebarPullRequest {
18038
+ /** Whether GitHub auto-merge is enabled. */
18039
+ experimental_autoMerge: boolean;
18040
+ /** Null when the GitHub merge queue lookup is unavailable. */
18041
+ experimental_inMergeQueue: boolean | null;
18042
+ experimental_checks: {
18043
+ state: "failing" | "no_checks" | "passing" | "pending" | "unknown";
18044
+ };
18045
+ experimental_review: {
18046
+ state: "approved" | "changes_requested" | "none" | "review_requested" | "review_required";
18047
+ };
18048
+ experimental_mergeability: {
18049
+ state: "blocked" | "conflicts" | "draft" | "mergeable" | "unknown";
18050
+ };
17951
18051
  number: number;
17952
18052
  title: string;
17953
18053
  url: string;
17954
18054
  state: "closed" | "draft" | "merged" | "open";
17955
- attention: "blocked" | "changes_requested" | "checks_failed" | "checks_pending" | "closed" | "conflicts" | "draft" | "merged" | "none" | "ready_to_merge" | "review_requested";
18055
+ attention: "blocked" | "changes_requested" | "checks_failed" | "checks_pending" | "closed" | "conflicts" | "draft" | "merged" | "none" | "queued" | "ready_to_merge" | "review_requested";
17956
18056
  }
17957
18057
  interface PluginSidebarThreadPullRequestState {
17958
18058
  /** True while the first lookup for this thread's environment is in flight. */
@@ -18191,7 +18291,7 @@ interface PluginSidebarThreadActions {
18191
18291
  setRead(threadId: string, read: boolean): Promise<void>;
18192
18292
  /** Silent rename — no dialog. For inline editing in your own row. */
18193
18293
  rename(threadId: string, title: string): Promise<void>;
18194
- /** Archives immediately, or confirms first if child threads will also be archived. */
18294
+ /** Confirms before including child threads unless archive confirmation is disabled in Settings → General. */
18195
18295
  archive(threadId: string): void;
18196
18296
  /**
18197
18297
  * Opens bb's delete confirmation, which counts child threads first. Deletion
@@ -19018,6 +19118,17 @@ interface ComposerCustomization {
19018
19118
  /** Host-rendered rows in the menu next to the composer's send button. */
19019
19119
  sendMenu?: readonly ComposerSendMenuItem[];
19020
19120
  richText?: ComposerRichTextSpec;
19121
+ /** Host-managed popups sharing the mention menu's above/below placement, with a responsive drawer on compact screens. Open by popup id, unique within this plugin. */
19122
+ experimental_popups?: readonly ExperimentalComposerPopupRegistration[];
19123
+ }
19124
+ /** Content for one composer's popup. The host owns placement, dismissal and focus restoration; the component owns its content and keyboard navigation. */
19125
+ interface ExperimentalComposerPopupRegistration {
19126
+ /** Popup id, unique across this plugin's composer customizations. */
19127
+ id: string;
19128
+ /** Accessible name of the popup and compact drawer. */
19129
+ label: string;
19130
+ /** Inside this component, useComposer() is bound to the composer that opened it. */
19131
+ component: ComponentType;
19021
19132
  }
19022
19133
  /** Host-rendered menu row in the composer's `+` menu. */
19023
19134
  interface ComposerPlusMenuItem {
@@ -19185,6 +19296,10 @@ interface PluginComposerMention {
19185
19296
  * text methods log a warning and do nothing.
19186
19297
  */
19187
19298
  interface PluginComposerApi {
19299
+ /** Open this plugin's registered composer popup by popup id in this mounted composer. Returns false for an unavailable, suppressed or out-of-scope popup. */
19300
+ experimental_openPopup(popupId: string): boolean;
19301
+ /** Close this plugin's open popup in this composer and restore editor focus. Returns false if this plugin has no open popup. */
19302
+ experimental_closePopup(): boolean;
19188
19303
  scope: PluginComposerScope;
19189
19304
  /**
19190
19305
  * Stable identity for this composer's draft: the same across remounts and
@@ -19308,8 +19423,8 @@ interface PluginComposerApi {
19308
19423
  * selection as it stands. The result carries only the fields this composer
19309
19424
  * has, so a missing key means "no such picker here" and a value that
19310
19425
  * differs from the one passed was reconciled (a reasoning level the model
19311
- * does not support, a permission mode above the machine's ceiling, a model
19312
- * the provider does not list). A provider the composer does not list is
19426
+ * does not support, a service tier the model does not offer, a permission
19427
+ * mode above the machine's ceiling, a model the provider does not list). A provider the composer does not list is
19313
19428
  * ignored together with the model and reasoning level meant for it, so the
19314
19429
  * stored provider preference never names something the picker could not
19315
19430
  * have chosen. `environment` is absent while the composer
@@ -19320,8 +19435,8 @@ interface PluginComposerApi {
19320
19435
  * Rejects, with a message safe to show to the user, in a composer with no
19321
19436
  * pickers at all (a queued-message editor, a side chat, a plugin surface
19322
19437
  * mounted outside any composer), when the calling surface is no longer
19323
- * active, and when a value is not a known reasoning level, service tier or
19324
- * permission mode.
19438
+ * active, and when a value is not a known reasoning level or permission
19439
+ * mode, or is an empty service tier.
19325
19440
  */
19326
19441
  setSelection(selection: ComposerSelection): Promise<ComposerSelection>;
19327
19442
  }
@@ -19346,7 +19461,11 @@ interface ComposerSelection {
19346
19461
  model?: string;
19347
19462
  /** Applied only when the composer ends up on the requested provider (or none was requested). */
19348
19463
  reasoningLevel?: ReasoningLevel;
19349
- /** Ignored by a provider with no service tiers. */
19464
+ /**
19465
+ * A tier id the provider declares (`"default"`, `"fast"`, …). Ignored by a
19466
+ * provider with no service tiers; a tier the selected model does not offer
19467
+ * becomes `"default"`.
19468
+ */
19350
19469
  serviceTier?: ServiceTier;
19351
19470
  permissionMode?: PermissionMode;
19352
19471
  }
@@ -19440,7 +19559,10 @@ interface ExperimentalProviderModelPickerValue {
19440
19559
  providerId: string;
19441
19560
  model: string;
19442
19561
  reasoningLevel: ReasoningLevel;
19443
- /** Present only when the selected provider supports service tiers. */
19562
+ /**
19563
+ * Present only when the selected provider supports service tiers. A tier
19564
+ * id the provider declares; `"default"` when the selected model offers none.
19565
+ */
19444
19566
  serviceTier?: ServiceTier;
19445
19567
  }
19446
19568
  /** Where the picker resolves the live provider and model catalog. */
@@ -20171,4 +20293,4 @@ declare const experimental_useProviders: () => PluginProvidersState;
20171
20293
  declare const experimental_useCodeTheme: () => PluginCodeThemeState;
20172
20294
 
20173
20295
  export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_useAppPanel, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadActions, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
20174
- export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
20296
+ export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };