@get-bb/plugin-sdk 0.6.37 → 0.6.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -692,6 +692,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
692
692
  type: z$1.ZodLiteral<"turn/input/accepted">;
693
693
  }, z$1.core.$strict>, z$1.ZodObject<{
694
694
  providerThreadId: z$1.ZodString;
695
+ source: z$1.ZodOptional<z$1.ZodLiteral<"agent">>;
695
696
  threadId: z$1.ZodString;
696
697
  threadName: z$1.ZodString;
697
698
  type: z$1.ZodLiteral<"thread/name/updated">;
@@ -2619,6 +2620,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2619
2620
  type: z$1.ZodLiteral<"thread/tokenUsage/updated">;
2620
2621
  }, z$1.core.$strip>, z$1.ZodObject<{
2621
2622
  contextWindowUsage: z$1.ZodObject<{
2623
+ cost: z$1.ZodOptional<z$1.ZodObject<{
2624
+ amount: z$1.ZodNumber;
2625
+ currency: z$1.ZodString;
2626
+ }, z$1.core.$strip>>;
2622
2627
  estimated: z$1.ZodBoolean;
2623
2628
  modelContextWindow: z$1.ZodNullable<z$1.ZodNumber>;
2624
2629
  snapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -2841,16 +2846,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2841
2846
  full: "full";
2842
2847
  readonly: "readonly";
2843
2848
  }>;
2844
- reasoningLevel: z$1.ZodEnum<{
2845
- high: "high";
2846
- low: "low";
2847
- max: "max";
2848
- medium: "medium";
2849
- none: "none";
2850
- ultra: "ultra";
2851
- ultracode: "ultracode";
2852
- xhigh: "xhigh";
2853
- }>;
2849
+ reasoningLevel: z$1.ZodString;
2854
2850
  seq: z$1.ZodOptional<z$1.ZodNumber>;
2855
2851
  serviceTier: z$1.ZodString;
2856
2852
  source: z$1.ZodEnum<{
@@ -3917,16 +3913,7 @@ declare const projectSourceSchema: z$1.ZodObject<{
3917
3913
  }, z$1.core.$strip>;
3918
3914
  type ProjectSource = z$1.infer<typeof projectSourceSchema>;
3919
3915
 
3920
- declare const reasoningLevelSchema: z$1.ZodEnum<{
3921
- high: "high";
3922
- low: "low";
3923
- max: "max";
3924
- medium: "medium";
3925
- none: "none";
3926
- ultra: "ultra";
3927
- ultracode: "ultracode";
3928
- xhigh: "xhigh";
3929
- }>;
3916
+ declare const reasoningLevelSchema: z$1.ZodString;
3930
3917
  type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
3931
3918
  declare const serviceTierSchema: z$1.ZodString;
3932
3919
  type ServiceTier = z$1.infer<typeof serviceTierSchema>;
@@ -4034,16 +4021,7 @@ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
4034
4021
  auto: "auto";
4035
4022
  full: "full";
4036
4023
  }>;
4037
- reasoningLevel: z$1.ZodEnum<{
4038
- high: "high";
4039
- low: "low";
4040
- max: "max";
4041
- medium: "medium";
4042
- none: "none";
4043
- ultra: "ultra";
4044
- ultracode: "ultracode";
4045
- xhigh: "xhigh";
4046
- }>;
4024
+ reasoningLevel: z$1.ZodString;
4047
4025
  seq: z$1.ZodOptional<z$1.ZodNumber>;
4048
4026
  serviceTier: z$1.ZodString;
4049
4027
  source: z$1.ZodEnum<{
@@ -4053,6 +4031,8 @@ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
4053
4031
  }>;
4054
4032
  }, z$1.core.$strip>;
4055
4033
  type ResolvedThreadExecutionOptions = z$1.infer<typeof resolvedThreadExecutionOptionsSchema>;
4034
+ declare const sessionOptionSelectionsSchema: z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>;
4035
+ type SessionOptionSelections = z$1.infer<typeof sessionOptionSelectionsSchema>;
4056
4036
  declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
4057
4037
  model: z$1.ZodString;
4058
4038
  permissionMode: z$1.ZodEnum<{
@@ -4061,16 +4041,7 @@ declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
4061
4041
  full: "full";
4062
4042
  }>;
4063
4043
  providerId: z$1.ZodString;
4064
- reasoningLevel: z$1.ZodEnum<{
4065
- high: "high";
4066
- low: "low";
4067
- max: "max";
4068
- medium: "medium";
4069
- none: "none";
4070
- ultra: "ultra";
4071
- ultracode: "ultracode";
4072
- xhigh: "xhigh";
4073
- }>;
4044
+ reasoningLevel: z$1.ZodString;
4074
4045
  serviceTier: z$1.ZodString;
4075
4046
  }, z$1.core.$strip>;
4076
4047
  type ProjectExecutionDefaults = z$1.infer<typeof projectExecutionDefaultsSchema>;
@@ -4367,16 +4338,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
4367
4338
  auto: "auto";
4368
4339
  full: "full";
4369
4340
  }>;
4370
- reasoningLevel: z$1.ZodEnum<{
4371
- high: "high";
4372
- low: "low";
4373
- max: "max";
4374
- medium: "medium";
4375
- none: "none";
4376
- ultra: "ultra";
4377
- ultracode: "ultracode";
4378
- xhigh: "xhigh";
4379
- }>;
4341
+ reasoningLevel: z$1.ZodString;
4380
4342
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
4381
4343
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
4382
4344
  serviceTier: z$1.ZodString;
@@ -4418,6 +4380,10 @@ declare const mobileAppDownloads: {
4418
4380
 
4419
4381
  declare const threadContextResponseSchema: z$1.ZodObject<{
4420
4382
  usage: z$1.ZodNullable<z$1.ZodObject<{
4383
+ cost: z$1.ZodOptional<z$1.ZodObject<{
4384
+ amount: z$1.ZodNumber;
4385
+ currency: z$1.ZodString;
4386
+ }, z$1.core.$strip>>;
4421
4387
  estimated: z$1.ZodBoolean;
4422
4388
  modelContextWindow: z$1.ZodNumber;
4423
4389
  snapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -4863,16 +4829,7 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
4863
4829
  full: "full";
4864
4830
  }>;
4865
4831
  providerId: z$1.ZodString;
4866
- reasoningLevel: z$1.ZodEnum<{
4867
- high: "high";
4868
- low: "low";
4869
- max: "max";
4870
- medium: "medium";
4871
- none: "none";
4872
- ultra: "ultra";
4873
- ultracode: "ultracode";
4874
- xhigh: "xhigh";
4875
- }>;
4832
+ reasoningLevel: z$1.ZodString;
4876
4833
  serviceTier: z$1.ZodString;
4877
4834
  }, z$1.core.$strip>>;
4878
4835
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -4978,16 +4935,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
4978
4935
  full: "full";
4979
4936
  }>;
4980
4937
  providerId: z$1.ZodString;
4981
- reasoningLevel: z$1.ZodEnum<{
4982
- high: "high";
4983
- low: "low";
4984
- max: "max";
4985
- medium: "medium";
4986
- none: "none";
4987
- ultra: "ultra";
4988
- ultracode: "ultracode";
4989
- xhigh: "xhigh";
4990
- }>;
4938
+ reasoningLevel: z$1.ZodString;
4991
4939
  serviceTier: z$1.ZodString;
4992
4940
  }, z$1.core.$strip>>;
4993
4941
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -5091,16 +5039,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5091
5039
  full: "full";
5092
5040
  }>;
5093
5041
  providerId: z$1.ZodString;
5094
- reasoningLevel: z$1.ZodEnum<{
5095
- high: "high";
5096
- low: "low";
5097
- max: "max";
5098
- medium: "medium";
5099
- none: "none";
5100
- ultra: "ultra";
5101
- ultracode: "ultracode";
5102
- xhigh: "xhigh";
5103
- }>;
5042
+ reasoningLevel: z$1.ZodString;
5104
5043
  serviceTier: z$1.ZodString;
5105
5044
  }, z$1.core.$strip>>;
5106
5045
  gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
@@ -6227,17 +6166,9 @@ declare const hostDaemonCommandRegistry: {
6227
6166
  model: z$1.ZodString;
6228
6167
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6229
6168
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6230
- reasoningLevel: z$1.ZodEnum<{
6231
- high: "high";
6232
- low: "low";
6233
- max: "max";
6234
- medium: "medium";
6235
- none: "none";
6236
- ultra: "ultra";
6237
- ultracode: "ultracode";
6238
- xhigh: "xhigh";
6239
- }>;
6169
+ reasoningLevel: z$1.ZodString;
6240
6170
  serviceTier: z$1.ZodString;
6171
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6241
6172
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6242
6173
  approvalReviewer: z$1.ZodLiteral<"user">;
6243
6174
  permissionEscalation: z$1.ZodEnum<{
@@ -6567,17 +6498,9 @@ declare const hostDaemonCommandRegistry: {
6567
6498
  model: z$1.ZodString;
6568
6499
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6569
6500
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6570
- reasoningLevel: z$1.ZodEnum<{
6571
- high: "high";
6572
- low: "low";
6573
- max: "max";
6574
- medium: "medium";
6575
- none: "none";
6576
- ultra: "ultra";
6577
- ultracode: "ultracode";
6578
- xhigh: "xhigh";
6579
- }>;
6501
+ reasoningLevel: z$1.ZodString;
6580
6502
  serviceTier: z$1.ZodString;
6503
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6581
6504
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6582
6505
  approvalReviewer: z$1.ZodLiteral<"user">;
6583
6506
  permissionEscalation: z$1.ZodEnum<{
@@ -6824,17 +6747,9 @@ declare const hostDaemonCommandRegistry: {
6824
6747
  model: z$1.ZodString;
6825
6748
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
6826
6749
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
6827
- reasoningLevel: z$1.ZodEnum<{
6828
- high: "high";
6829
- low: "low";
6830
- max: "max";
6831
- medium: "medium";
6832
- none: "none";
6833
- ultra: "ultra";
6834
- ultracode: "ultracode";
6835
- xhigh: "xhigh";
6836
- }>;
6750
+ reasoningLevel: z$1.ZodString;
6837
6751
  serviceTier: z$1.ZodString;
6752
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
6838
6753
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
6839
6754
  approvalReviewer: z$1.ZodLiteral<"user">;
6840
6755
  permissionEscalation: z$1.ZodEnum<{
@@ -7049,17 +6964,9 @@ declare const hostDaemonCommandRegistry: {
7049
6964
  model: z$1.ZodString;
7050
6965
  promptMode: z$1.ZodOptional<z$1.ZodLiteral<"plan">>;
7051
6966
  providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
7052
- reasoningLevel: z$1.ZodEnum<{
7053
- high: "high";
7054
- low: "low";
7055
- max: "max";
7056
- medium: "medium";
7057
- none: "none";
7058
- ultra: "ultra";
7059
- ultracode: "ultracode";
7060
- xhigh: "xhigh";
7061
- }>;
6967
+ reasoningLevel: z$1.ZodString;
7062
6968
  serviceTier: z$1.ZodString;
6969
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
7063
6970
  }, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
7064
6971
  approvalReviewer: z$1.ZodLiteral<"user">;
7065
6972
  permissionEscalation: z$1.ZodEnum<{
@@ -8127,34 +8034,39 @@ declare const hostDaemonCommandRegistry: {
8127
8034
  type: z$1.ZodLiteral<"provider.list_models">;
8128
8035
  }, z$1.core.$strip>, z$1.ZodObject<{
8129
8036
  models: z$1.ZodArray<z$1.ZodObject<{
8130
- defaultReasoningEffort: z$1.ZodEnum<{
8131
- high: "high";
8132
- low: "low";
8133
- max: "max";
8134
- medium: "medium";
8135
- none: "none";
8136
- ultra: "ultra";
8137
- ultracode: "ultracode";
8138
- xhigh: "xhigh";
8139
- }>;
8037
+ defaultReasoningEffort: z$1.ZodString;
8140
8038
  description: z$1.ZodString;
8141
8039
  displayName: z$1.ZodString;
8142
8040
  id: z$1.ZodString;
8143
8041
  isDefault: z$1.ZodBoolean;
8144
8042
  model: z$1.ZodString;
8145
8043
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
8044
+ sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8045
+ category: z$1.ZodOptional<z$1.ZodString>;
8046
+ description: z$1.ZodOptional<z$1.ZodString>;
8047
+ id: z$1.ZodString;
8048
+ label: z$1.ZodString;
8049
+ type: z$1.ZodLiteral<"select">;
8050
+ value: z$1.ZodString;
8051
+ values: z$1.ZodArray<z$1.ZodObject<{
8052
+ description: z$1.ZodOptional<z$1.ZodString>;
8053
+ group: z$1.ZodOptional<z$1.ZodString>;
8054
+ id: z$1.ZodString;
8055
+ label: z$1.ZodString;
8056
+ }, z$1.core.$strip>>;
8057
+ }, z$1.core.$strip>, z$1.ZodObject<{
8058
+ category: z$1.ZodOptional<z$1.ZodString>;
8059
+ description: z$1.ZodOptional<z$1.ZodString>;
8060
+ fixed: z$1.ZodOptional<z$1.ZodBoolean>;
8061
+ id: z$1.ZodString;
8062
+ label: z$1.ZodString;
8063
+ type: z$1.ZodLiteral<"boolean">;
8064
+ value: z$1.ZodBoolean;
8065
+ }, z$1.core.$strip>], "type">>>;
8146
8066
  supportedReasoningEfforts: z$1.ZodArray<z$1.ZodObject<{
8147
8067
  description: z$1.ZodString;
8148
- reasoningEffort: z$1.ZodEnum<{
8149
- high: "high";
8150
- low: "low";
8151
- max: "max";
8152
- medium: "medium";
8153
- none: "none";
8154
- ultra: "ultra";
8155
- ultracode: "ultracode";
8156
- xhigh: "xhigh";
8157
- }>;
8068
+ label: z$1.ZodOptional<z$1.ZodString>;
8069
+ reasoningEffort: z$1.ZodString;
8158
8070
  }, z$1.core.$strip>>;
8159
8071
  supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8160
8072
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -8163,34 +8075,39 @@ declare const hostDaemonCommandRegistry: {
8163
8075
  }, z$1.core.$strip>>>;
8164
8076
  }, z$1.core.$strip>>;
8165
8077
  selectedOnlyModels: z$1.ZodArray<z$1.ZodObject<{
8166
- defaultReasoningEffort: z$1.ZodEnum<{
8167
- high: "high";
8168
- low: "low";
8169
- max: "max";
8170
- medium: "medium";
8171
- none: "none";
8172
- ultra: "ultra";
8173
- ultracode: "ultracode";
8174
- xhigh: "xhigh";
8175
- }>;
8078
+ defaultReasoningEffort: z$1.ZodString;
8176
8079
  description: z$1.ZodString;
8177
8080
  displayName: z$1.ZodString;
8178
8081
  id: z$1.ZodString;
8179
8082
  isDefault: z$1.ZodBoolean;
8180
8083
  model: z$1.ZodString;
8181
8084
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
8085
+ sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8086
+ category: z$1.ZodOptional<z$1.ZodString>;
8087
+ description: z$1.ZodOptional<z$1.ZodString>;
8088
+ id: z$1.ZodString;
8089
+ label: z$1.ZodString;
8090
+ type: z$1.ZodLiteral<"select">;
8091
+ value: z$1.ZodString;
8092
+ values: z$1.ZodArray<z$1.ZodObject<{
8093
+ description: z$1.ZodOptional<z$1.ZodString>;
8094
+ group: z$1.ZodOptional<z$1.ZodString>;
8095
+ id: z$1.ZodString;
8096
+ label: z$1.ZodString;
8097
+ }, z$1.core.$strip>>;
8098
+ }, z$1.core.$strip>, z$1.ZodObject<{
8099
+ category: z$1.ZodOptional<z$1.ZodString>;
8100
+ description: z$1.ZodOptional<z$1.ZodString>;
8101
+ fixed: z$1.ZodOptional<z$1.ZodBoolean>;
8102
+ id: z$1.ZodString;
8103
+ label: z$1.ZodString;
8104
+ type: z$1.ZodLiteral<"boolean">;
8105
+ value: z$1.ZodBoolean;
8106
+ }, z$1.core.$strip>], "type">>>;
8182
8107
  supportedReasoningEfforts: z$1.ZodArray<z$1.ZodObject<{
8183
8108
  description: z$1.ZodString;
8184
- reasoningEffort: z$1.ZodEnum<{
8185
- high: "high";
8186
- low: "low";
8187
- max: "max";
8188
- medium: "medium";
8189
- none: "none";
8190
- ultra: "ultra";
8191
- ultracode: "ultracode";
8192
- xhigh: "xhigh";
8193
- }>;
8109
+ label: z$1.ZodOptional<z$1.ZodString>;
8110
+ reasoningEffort: z$1.ZodString;
8194
8111
  }, z$1.core.$strip>>;
8195
8112
  supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
8196
8113
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -10245,34 +10162,39 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
10245
10162
  providerId: z$1.ZodString;
10246
10163
  }, z$1.core.$strip>>;
10247
10164
  models: z$1.ZodArray<z$1.ZodObject<{
10248
- defaultReasoningEffort: z$1.ZodEnum<{
10249
- high: "high";
10250
- low: "low";
10251
- max: "max";
10252
- medium: "medium";
10253
- none: "none";
10254
- ultra: "ultra";
10255
- ultracode: "ultracode";
10256
- xhigh: "xhigh";
10257
- }>;
10165
+ defaultReasoningEffort: z$1.ZodString;
10258
10166
  description: z$1.ZodString;
10259
10167
  displayName: z$1.ZodString;
10260
10168
  id: z$1.ZodString;
10261
10169
  isDefault: z$1.ZodBoolean;
10262
10170
  model: z$1.ZodString;
10263
10171
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
10172
+ sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10173
+ category: z$1.ZodOptional<z$1.ZodString>;
10174
+ description: z$1.ZodOptional<z$1.ZodString>;
10175
+ id: z$1.ZodString;
10176
+ label: z$1.ZodString;
10177
+ type: z$1.ZodLiteral<"select">;
10178
+ value: z$1.ZodString;
10179
+ values: z$1.ZodArray<z$1.ZodObject<{
10180
+ description: z$1.ZodOptional<z$1.ZodString>;
10181
+ group: z$1.ZodOptional<z$1.ZodString>;
10182
+ id: z$1.ZodString;
10183
+ label: z$1.ZodString;
10184
+ }, z$1.core.$strip>>;
10185
+ }, z$1.core.$strip>, z$1.ZodObject<{
10186
+ category: z$1.ZodOptional<z$1.ZodString>;
10187
+ description: z$1.ZodOptional<z$1.ZodString>;
10188
+ fixed: z$1.ZodOptional<z$1.ZodBoolean>;
10189
+ id: z$1.ZodString;
10190
+ label: z$1.ZodString;
10191
+ type: z$1.ZodLiteral<"boolean">;
10192
+ value: z$1.ZodBoolean;
10193
+ }, z$1.core.$strip>], "type">>>;
10264
10194
  supportedReasoningEfforts: z$1.ZodArray<z$1.ZodObject<{
10265
10195
  description: z$1.ZodString;
10266
- reasoningEffort: z$1.ZodEnum<{
10267
- high: "high";
10268
- low: "low";
10269
- max: "max";
10270
- medium: "medium";
10271
- none: "none";
10272
- ultra: "ultra";
10273
- ultracode: "ultracode";
10274
- xhigh: "xhigh";
10275
- }>;
10196
+ label: z$1.ZodOptional<z$1.ZodString>;
10197
+ reasoningEffort: z$1.ZodString;
10276
10198
  }, z$1.core.$strip>>;
10277
10199
  supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10278
10200
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -10375,34 +10297,39 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
10375
10297
  }, z$1.core.$strip>>;
10376
10298
  }, z$1.core.$strip>>;
10377
10299
  selectedOnlyModels: z$1.ZodArray<z$1.ZodObject<{
10378
- defaultReasoningEffort: z$1.ZodEnum<{
10379
- high: "high";
10380
- low: "low";
10381
- max: "max";
10382
- medium: "medium";
10383
- none: "none";
10384
- ultra: "ultra";
10385
- ultracode: "ultracode";
10386
- xhigh: "xhigh";
10387
- }>;
10300
+ defaultReasoningEffort: z$1.ZodString;
10388
10301
  description: z$1.ZodString;
10389
10302
  displayName: z$1.ZodString;
10390
10303
  id: z$1.ZodString;
10391
10304
  isDefault: z$1.ZodBoolean;
10392
10305
  model: z$1.ZodString;
10393
10306
  routeProviderId: z$1.ZodOptional<z$1.ZodString>;
10307
+ sessionOptions: z$1.ZodOptional<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10308
+ category: z$1.ZodOptional<z$1.ZodString>;
10309
+ description: z$1.ZodOptional<z$1.ZodString>;
10310
+ id: z$1.ZodString;
10311
+ label: z$1.ZodString;
10312
+ type: z$1.ZodLiteral<"select">;
10313
+ value: z$1.ZodString;
10314
+ values: z$1.ZodArray<z$1.ZodObject<{
10315
+ description: z$1.ZodOptional<z$1.ZodString>;
10316
+ group: z$1.ZodOptional<z$1.ZodString>;
10317
+ id: z$1.ZodString;
10318
+ label: z$1.ZodString;
10319
+ }, z$1.core.$strip>>;
10320
+ }, z$1.core.$strip>, z$1.ZodObject<{
10321
+ category: z$1.ZodOptional<z$1.ZodString>;
10322
+ description: z$1.ZodOptional<z$1.ZodString>;
10323
+ fixed: z$1.ZodOptional<z$1.ZodBoolean>;
10324
+ id: z$1.ZodString;
10325
+ label: z$1.ZodString;
10326
+ type: z$1.ZodLiteral<"boolean">;
10327
+ value: z$1.ZodBoolean;
10328
+ }, z$1.core.$strip>], "type">>>;
10394
10329
  supportedReasoningEfforts: z$1.ZodArray<z$1.ZodObject<{
10395
10330
  description: z$1.ZodString;
10396
- reasoningEffort: z$1.ZodEnum<{
10397
- high: "high";
10398
- low: "low";
10399
- max: "max";
10400
- medium: "medium";
10401
- none: "none";
10402
- ultra: "ultra";
10403
- ultracode: "ultracode";
10404
- xhigh: "xhigh";
10405
- }>;
10331
+ label: z$1.ZodOptional<z$1.ZodString>;
10332
+ reasoningEffort: z$1.ZodString;
10406
10333
  }, z$1.core.$strip>>;
10407
10334
  supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
10408
10335
  description: z$1.ZodOptional<z$1.ZodString>;
@@ -12857,19 +12784,11 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
12857
12784
  }, z$1.core.$strip>>;
12858
12785
  projectId: z$1.ZodString;
12859
12786
  providerId: z$1.ZodOptional<z$1.ZodString>;
12860
- reasoningLevel: z$1.ZodOptional<z$1.ZodEnum<{
12861
- high: "high";
12862
- low: "low";
12863
- max: "max";
12864
- medium: "medium";
12865
- none: "none";
12866
- ultra: "ultra";
12867
- ultracode: "ultracode";
12868
- xhigh: "xhigh";
12869
- }>>;
12787
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
12870
12788
  sectionId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
12871
12789
  sendAt: z$1.ZodOptional<z$1.ZodNumber>;
12872
12790
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
12791
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>;
12873
12792
  sourceSeqEnd: z$1.ZodOptional<z$1.ZodNumber>;
12874
12793
  sourceThreadId: z$1.ZodOptional<z$1.ZodString>;
12875
12794
  startedOnBehalfOf: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodObject<{
@@ -13260,16 +13179,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
13260
13179
  data: z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>;
13261
13180
  pluginId: z$1.ZodString;
13262
13181
  }, z$1.core.$strip>>;
13263
- reasoningLevel: z$1.ZodOptional<z$1.ZodEnum<{
13264
- high: "high";
13265
- low: "low";
13266
- max: "max";
13267
- medium: "medium";
13268
- none: "none";
13269
- ultra: "ultra";
13270
- ultracode: "ultracode";
13271
- xhigh: "xhigh";
13272
- }>>;
13182
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
13273
13183
  sendAt: z$1.ZodOptional<z$1.ZodNumber>;
13274
13184
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
13275
13185
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
@@ -13408,16 +13318,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
13408
13318
  auto: "auto";
13409
13319
  full: "full";
13410
13320
  }>;
13411
- reasoningLevel: z$1.ZodEnum<{
13412
- high: "high";
13413
- low: "low";
13414
- max: "max";
13415
- medium: "medium";
13416
- none: "none";
13417
- ultra: "ultra";
13418
- ultracode: "ultracode";
13419
- xhigh: "xhigh";
13420
- }>;
13321
+ reasoningLevel: z$1.ZodString;
13421
13322
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
13422
13323
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
13423
13324
  serviceTier: z$1.ZodString;
@@ -13563,16 +13464,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
13563
13464
  auto: "auto";
13564
13465
  full: "full";
13565
13466
  }>, z$1.ZodLiteral<"workspace-write">]>, z$1.ZodTransform<"accept-edits" | "auto" | "full", "accept-edits" | "auto" | "full" | "workspace-write">>>;
13566
- reasoningLevel: z$1.ZodOptional<z$1.ZodEnum<{
13567
- high: "high";
13568
- low: "low";
13569
- max: "max";
13570
- medium: "medium";
13571
- none: "none";
13572
- ultra: "ultra";
13573
- ultracode: "ultracode";
13574
- xhigh: "xhigh";
13575
- }>>;
13467
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
13576
13468
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
13577
13469
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
13578
13470
  }, z$1.core.$strict>;
@@ -13739,16 +13631,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
13739
13631
  auto: "auto";
13740
13632
  full: "full";
13741
13633
  }>, z$1.ZodLiteral<"workspace-write">]>, z$1.ZodTransform<"accept-edits" | "auto" | "full", "accept-edits" | "auto" | "full" | "workspace-write">>>;
13742
- reasoningLevel: z$1.ZodOptional<z$1.ZodEnum<{
13743
- high: "high";
13744
- low: "low";
13745
- max: "max";
13746
- medium: "medium";
13747
- none: "none";
13748
- ultra: "ultra";
13749
- ultracode: "ultracode";
13750
- xhigh: "xhigh";
13751
- }>>;
13634
+ reasoningLevel: z$1.ZodOptional<z$1.ZodString>;
13752
13635
  senderThreadId: z$1.ZodOptional<z$1.ZodString>;
13753
13636
  serviceTier: z$1.ZodOptional<z$1.ZodString>;
13754
13637
  }, z$1.core.$strip>;
@@ -13997,16 +13880,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
13997
13880
  auto: "auto";
13998
13881
  full: "full";
13999
13882
  }>;
14000
- reasoningLevel: z$1.ZodEnum<{
14001
- high: "high";
14002
- low: "low";
14003
- max: "max";
14004
- medium: "medium";
14005
- none: "none";
14006
- ultra: "ultra";
14007
- ultracode: "ultracode";
14008
- xhigh: "xhigh";
14009
- }>;
13883
+ reasoningLevel: z$1.ZodString;
14010
13884
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
14011
13885
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
14012
13886
  serviceTier: z$1.ZodString;
@@ -14376,6 +14250,13 @@ declare const threadAncestorsListResponseSchema: z$1.ZodObject<{
14376
14250
  }, z$1.core.$strict>>;
14377
14251
  }, z$1.core.$strict>;
14378
14252
  type ThreadAncestorsListResponse = z$1.infer<typeof threadAncestorsListResponseSchema>;
14253
+ declare const threadDescendantsListResponseSchema: z$1.ZodObject<{
14254
+ threads: z$1.ZodArray<z$1.ZodObject<{
14255
+ descendantIds: z$1.ZodArray<z$1.ZodString>;
14256
+ threadId: z$1.ZodString;
14257
+ }, z$1.core.$strict>>;
14258
+ }, z$1.core.$strict>;
14259
+ type ThreadDescendantsListResponse = z$1.infer<typeof threadDescendantsListResponseSchema>;
14379
14260
  declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14380
14261
  activeBackgroundAgentCount: z$1.ZodNumber;
14381
14262
  archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
@@ -14946,16 +14827,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
14946
14827
  auto: "auto";
14947
14828
  full: "full";
14948
14829
  }>;
14949
- reasoningLevel: z$1.ZodEnum<{
14950
- high: "high";
14951
- low: "low";
14952
- max: "max";
14953
- medium: "medium";
14954
- none: "none";
14955
- ultra: "ultra";
14956
- ultracode: "ultracode";
14957
- xhigh: "xhigh";
14958
- }>;
14830
+ reasoningLevel: z$1.ZodString;
14959
14831
  sendAt: z$1.ZodNullable<z$1.ZodNumber>;
14960
14832
  senderThreadId: z$1.ZodNullable<z$1.ZodString>;
14961
14833
  serviceTier: z$1.ZodString;
@@ -14995,17 +14867,9 @@ type DeleteThreadRequest = z$1.infer<typeof deleteThreadRequestSchema>;
14995
14867
  declare const updateThreadRequestSchema: z$1.ZodObject<{
14996
14868
  model: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
14997
14869
  parentThreadId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
14998
- reasoningLevel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<{
14999
- high: "high";
15000
- low: "low";
15001
- max: "max";
15002
- medium: "medium";
15003
- none: "none";
15004
- ultra: "ultra";
15005
- ultracode: "ultracode";
15006
- xhigh: "xhigh";
15007
- }>>>;
14870
+ reasoningLevel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
15008
14871
  sectionId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
14872
+ sessionOptions: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodBoolean]>>>>;
15009
14873
  title: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
15010
14874
  visibility: z$1.ZodOptional<z$1.ZodEnum<{
15011
14875
  hidden: "hidden";
@@ -15957,6 +15821,10 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
15957
15821
  }>;
15958
15822
  contextBoundarySeq: z$1.ZodNullable<z$1.ZodNumber>;
15959
15823
  contextWindowUsage: z$1.ZodOptional<z$1.ZodObject<{
15824
+ cost: z$1.ZodOptional<z$1.ZodObject<{
15825
+ amount: z$1.ZodNumber;
15826
+ currency: z$1.ZodString;
15827
+ }, z$1.core.$strip>>;
15960
15828
  estimated: z$1.ZodBoolean;
15961
15829
  modelContextWindow: z$1.ZodNumber;
15962
15830
  snapshot: z$1.ZodOptional<z$1.ZodObject<{
@@ -16030,7 +15898,44 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16030
15898
  sourceSeq: z$1.ZodNumber;
16031
15899
  updatedAt: z$1.ZodNumber;
16032
15900
  }, z$1.core.$strip>>;
15901
+ providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
15902
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
15903
+ description: z$1.ZodNullable<z$1.ZodString>;
15904
+ name: z$1.ZodString;
15905
+ origin: z$1.ZodEnum<{
15906
+ builtin: "builtin";
15907
+ project: "project";
15908
+ user: "user";
15909
+ }>;
15910
+ source: z$1.ZodEnum<{
15911
+ command: "command";
15912
+ skill: "skill";
15913
+ }>;
15914
+ }, z$1.core.$strip>>>;
16033
15915
  rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
15916
+ sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
15917
+ category: z$1.ZodNullable<z$1.ZodString>;
15918
+ description: z$1.ZodNullable<z$1.ZodString>;
15919
+ id: z$1.ZodString;
15920
+ label: z$1.ZodString;
15921
+ pendingValue: z$1.ZodNullable<z$1.ZodString>;
15922
+ type: z$1.ZodLiteral<"select">;
15923
+ value: z$1.ZodString;
15924
+ values: z$1.ZodArray<z$1.ZodObject<{
15925
+ description: z$1.ZodNullable<z$1.ZodString>;
15926
+ group: z$1.ZodNullable<z$1.ZodString>;
15927
+ id: z$1.ZodString;
15928
+ label: z$1.ZodString;
15929
+ }, z$1.core.$strip>>;
15930
+ }, z$1.core.$strip>, z$1.ZodObject<{
15931
+ category: z$1.ZodNullable<z$1.ZodString>;
15932
+ description: z$1.ZodNullable<z$1.ZodString>;
15933
+ id: z$1.ZodString;
15934
+ label: z$1.ZodString;
15935
+ pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
15936
+ type: z$1.ZodLiteral<"boolean">;
15937
+ value: z$1.ZodBoolean;
15938
+ }, z$1.core.$strip>], "type">>>;
16034
15939
  timelinePage: z$1.ZodObject<{
16035
15940
  contentPage: z$1.ZodOptional<z$1.ZodObject<{
16036
15941
  anchorSeq: z$1.ZodNumber;
@@ -17886,6 +17791,7 @@ type ThreadMutationResult = ThreadResponse;
17886
17791
  type ThreadPluginMetadataResult = ThreadPluginMetadataResponse;
17887
17792
  type PluginThreadMetadataListResult = PluginThreadMetadataListResponse;
17888
17793
  type ThreadAncestorsListResult = ThreadAncestorsListResponse;
17794
+ type ThreadDescendantsListResult = ThreadDescendantsListResponse;
17889
17795
  type ThreadSpawnResult = ThreadResponse;
17890
17796
  type ThreadForkResult = ThreadResponse;
17891
17797
  type ThreadInteractionGetResult = PendingInteraction;
@@ -17979,6 +17885,12 @@ interface ThreadAncestorsListArgs {
17979
17885
  threadIds: readonly string[];
17980
17886
  signal?: AbortSignal;
17981
17887
  }
17888
+ interface ThreadDescendantsListArgs {
17889
+ threadIds: readonly string[];
17890
+ includeArchived?: boolean;
17891
+ includeHidden?: boolean;
17892
+ signal?: AbortSignal;
17893
+ }
17982
17894
  interface ThreadPluginMetadataUpdateArgs {
17983
17895
  threadId: string;
17984
17896
  pluginId: string;
@@ -18231,6 +18143,15 @@ interface ThreadsArea {
18231
18143
  * Experimental: see docs/api_to_audit.md.
18232
18144
  */
18233
18145
  experimental_listAncestors(args: ThreadAncestorsListArgs): Promise<ThreadAncestorsListResult>;
18146
+ /**
18147
+ * Each of `threadIds` (1–200 per request) that exists and is not deleted,
18148
+ * with `descendantIds` for every thread below it, children first (empty
18149
+ * for a leaf). Archived and hidden descendants are omitted unless
18150
+ * `includeArchived` / `includeHidden` is true; threads below them are still
18151
+ * returned. Deleted threads and unknown ids are always omitted.
18152
+ * Experimental: see docs/api_to_audit.md.
18153
+ */
18154
+ experimental_listDescendants(args: ThreadDescendantsListArgs): Promise<ThreadDescendantsListResult>;
18234
18155
  updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
18235
18156
  queue: ThreadQueueArea;
18236
18157
  interactions: ThreadInteractionsArea;
@@ -21072,6 +20993,12 @@ interface NewThreadRequest {
21072
20993
  permissionMode: PermissionMode;
21073
20994
  /** Omitted when the selected provider has no service tiers. */
21074
20995
  serviceTier?: ServiceTier;
20996
+ /**
20997
+ * Agent options the user chose in the model picker or the mode menu, keyed
20998
+ * by option id. Present only when the user changed at least one option the
20999
+ * selected provider declares. Forward it to `threads.spawn` unchanged.
21000
+ */
21001
+ sessionOptions?: SessionOptionSelections;
21075
21002
  /**
21076
21003
  * Per-field provenance (caller-explicit vs. default) for the execution
21077
21004
  * options above, forwarded to `spawn` so the server records what the user