@get-bb/plugin-sdk 0.6.9 → 0.6.15
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.
- package/bundled-types/bb-plugin-sdk-app.d.ts +218 -89
- package/bundled-types/bb-plugin-sdk-host.d.ts +4 -2
- package/bundled-types/bb-plugin-sdk-internal-composer-customization-validation.d.ts +1 -1
- package/bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts +17 -10
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +8 -12
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +9 -4
- package/bundled-types/bb-plugin-sdk-provider-bridge-acp.d.ts +6 -4
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +1 -4
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +38 -31
- package/bundled-types/bb-plugin-sdk-testing.d.ts +4 -2
- package/bundled-types/bb-plugin-sdk.d.ts +222 -91
- package/dist/host.js +17 -14
- package/dist/internal/composer-customization-validation.js +20 -6
- package/dist/internal/composer-handle.js +2 -0
- package/dist/internal/host-policy.js +1 -0
- package/dist/internal/plugin-app-collector.js +44 -13
- package/dist/provider-bridge-acp.js +7662 -314
- package/dist/provider-bridge-testing.js +21 -6
- package/dist/provider-bridge-worker-entry.mjs +7 -2
- package/dist/provider-bridge.js +7401 -169
- package/dist/replay-provider-child.mjs +72 -0
- package/dist/testing/app.js +47 -14
- package/dist/testing/index.js +1 -0
- package/package.json +1 -1
|
@@ -300,6 +300,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
300
300
|
"archived-changed": "archived-changed";
|
|
301
301
|
"environment-changed": "environment-changed";
|
|
302
302
|
"events-appended": "events-appended";
|
|
303
|
+
"history-compacted": "history-compacted";
|
|
303
304
|
"history-rewritten": "history-rewritten";
|
|
304
305
|
"interactions-changed": "interactions-changed";
|
|
305
306
|
"parent-changed": "parent-changed";
|
|
@@ -491,10 +492,14 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
491
492
|
|
|
492
493
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
493
494
|
changelogPreview: "changelogPreview";
|
|
494
|
-
legacyJitiPluginLoader: "legacyJitiPluginLoader";
|
|
495
495
|
serverMove: "serverMove";
|
|
496
496
|
}>, z$1.ZodBoolean>;
|
|
497
497
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
498
|
+
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
499
|
+
changelogPreview: "changelogPreview";
|
|
500
|
+
serverMove: "serverMove";
|
|
501
|
+
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
502
|
+
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
498
503
|
|
|
499
504
|
declare const workspaceGitOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
500
505
|
kind: z$1.ZodLiteral<"none">;
|
|
@@ -2854,10 +2859,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2854
2859
|
xhigh: "xhigh";
|
|
2855
2860
|
}>;
|
|
2856
2861
|
seq: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2857
|
-
serviceTier: z$1.
|
|
2858
|
-
default: "default";
|
|
2859
|
-
fast: "fast";
|
|
2860
|
-
}>;
|
|
2862
|
+
serviceTier: z$1.ZodString;
|
|
2861
2863
|
source: z$1.ZodEnum<{
|
|
2862
2864
|
"client/thread/start": "client/thread/start";
|
|
2863
2865
|
"client/turn/requested": "client/turn/requested";
|
|
@@ -3929,10 +3931,7 @@ declare const reasoningLevelSchema: z$1.ZodEnum<{
|
|
|
3929
3931
|
xhigh: "xhigh";
|
|
3930
3932
|
}>;
|
|
3931
3933
|
type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
|
|
3932
|
-
declare const serviceTierSchema: z$1.
|
|
3933
|
-
default: "default";
|
|
3934
|
-
fast: "fast";
|
|
3935
|
-
}>;
|
|
3934
|
+
declare const serviceTierSchema: z$1.ZodString;
|
|
3936
3935
|
type ServiceTier = z$1.infer<typeof serviceTierSchema>;
|
|
3937
3936
|
declare const permissionModeSchema: z$1.ZodEnum<{
|
|
3938
3937
|
"accept-edits": "accept-edits";
|
|
@@ -4046,10 +4045,7 @@ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
|
|
|
4046
4045
|
xhigh: "xhigh";
|
|
4047
4046
|
}>;
|
|
4048
4047
|
seq: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4049
|
-
serviceTier: z$1.
|
|
4050
|
-
default: "default";
|
|
4051
|
-
fast: "fast";
|
|
4052
|
-
}>;
|
|
4048
|
+
serviceTier: z$1.ZodString;
|
|
4053
4049
|
source: z$1.ZodEnum<{
|
|
4054
4050
|
"client/thread/start": "client/thread/start";
|
|
4055
4051
|
"client/turn/requested": "client/turn/requested";
|
|
@@ -4075,10 +4071,7 @@ declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
|
|
|
4075
4071
|
ultracode: "ultracode";
|
|
4076
4072
|
xhigh: "xhigh";
|
|
4077
4073
|
}>;
|
|
4078
|
-
serviceTier: z$1.
|
|
4079
|
-
default: "default";
|
|
4080
|
-
fast: "fast";
|
|
4081
|
-
}>;
|
|
4074
|
+
serviceTier: z$1.ZodString;
|
|
4082
4075
|
}, z$1.core.$strip>;
|
|
4083
4076
|
type ProjectExecutionDefaults = z$1.infer<typeof projectExecutionDefaultsSchema>;
|
|
4084
4077
|
|
|
@@ -4396,10 +4389,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4396
4389
|
}>;
|
|
4397
4390
|
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4398
4391
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
4399
|
-
serviceTier: z$1.
|
|
4400
|
-
default: "default";
|
|
4401
|
-
fast: "fast";
|
|
4402
|
-
}>;
|
|
4392
|
+
serviceTier: z$1.ZodString;
|
|
4403
4393
|
threadId: z$1.ZodString;
|
|
4404
4394
|
updatedAt: z$1.ZodNumber;
|
|
4405
4395
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -4485,7 +4475,7 @@ declare const createThreadEnvironmentArgsSchema: z$1.ZodDiscriminatedUnion<[z$1.
|
|
|
4485
4475
|
baseBranch: z$1.ZodString;
|
|
4486
4476
|
kind: z$1.ZodLiteral<"new">;
|
|
4487
4477
|
}, z$1.core.$strict>], "kind">>;
|
|
4488
|
-
path: z$1.ZodNullable<z$1.ZodString
|
|
4478
|
+
path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
4489
4479
|
type: z$1.ZodLiteral<"unmanaged">;
|
|
4490
4480
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4491
4481
|
baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -4885,10 +4875,7 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
4885
4875
|
ultracode: "ultracode";
|
|
4886
4876
|
xhigh: "xhigh";
|
|
4887
4877
|
}>;
|
|
4888
|
-
serviceTier: z$1.
|
|
4889
|
-
default: "default";
|
|
4890
|
-
fast: "fast";
|
|
4891
|
-
}>;
|
|
4878
|
+
serviceTier: z$1.ZodString;
|
|
4892
4879
|
}, z$1.core.$strip>>;
|
|
4893
4880
|
gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
4894
4881
|
id: z$1.ZodString;
|
|
@@ -5003,10 +4990,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5003
4990
|
ultracode: "ultracode";
|
|
5004
4991
|
xhigh: "xhigh";
|
|
5005
4992
|
}>;
|
|
5006
|
-
serviceTier: z$1.
|
|
5007
|
-
default: "default";
|
|
5008
|
-
fast: "fast";
|
|
5009
|
-
}>;
|
|
4993
|
+
serviceTier: z$1.ZodString;
|
|
5010
4994
|
}, z$1.core.$strip>>;
|
|
5011
4995
|
gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
5012
4996
|
id: z$1.ZodString;
|
|
@@ -5119,10 +5103,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5119
5103
|
ultracode: "ultracode";
|
|
5120
5104
|
xhigh: "xhigh";
|
|
5121
5105
|
}>;
|
|
5122
|
-
serviceTier: z$1.
|
|
5123
|
-
default: "default";
|
|
5124
|
-
fast: "fast";
|
|
5125
|
-
}>;
|
|
5106
|
+
serviceTier: z$1.ZodString;
|
|
5126
5107
|
}, z$1.core.$strip>>;
|
|
5127
5108
|
gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
5128
5109
|
id: z$1.ZodString;
|
|
@@ -5240,6 +5221,104 @@ declare const copyProjectAttachmentsRequestSchema: z$1.ZodObject<{
|
|
|
5240
5221
|
}, z$1.core.$strict>;
|
|
5241
5222
|
type CopyProjectAttachmentsRequest = z$1.infer<typeof copyProjectAttachmentsRequestSchema>;
|
|
5242
5223
|
|
|
5224
|
+
declare const promptHistoryListQuerySchema: z$1.ZodObject<{
|
|
5225
|
+
cursor: z$1.ZodOptional<z$1.ZodString>;
|
|
5226
|
+
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
5227
|
+
}, z$1.core.$strip>;
|
|
5228
|
+
type PromptHistoryListQuery = z$1.infer<typeof promptHistoryListQuerySchema>;
|
|
5229
|
+
declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
5230
|
+
entries: z$1.ZodArray<z$1.ZodObject<{
|
|
5231
|
+
createdAt: z$1.ZodNumber;
|
|
5232
|
+
id: z$1.ZodString;
|
|
5233
|
+
input: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5234
|
+
mentions: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
5235
|
+
end: z$1.ZodNumber;
|
|
5236
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
5237
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
5238
|
+
label: z$1.ZodString;
|
|
5239
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5240
|
+
threadId: z$1.ZodString;
|
|
5241
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5242
|
+
kind: z$1.ZodLiteral<"project">;
|
|
5243
|
+
label: z$1.ZodString;
|
|
5244
|
+
projectId: z$1.ZodString;
|
|
5245
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5246
|
+
kind: z$1.ZodLiteral<"section">;
|
|
5247
|
+
label: z$1.ZodString;
|
|
5248
|
+
sectionId: z$1.ZodString;
|
|
5249
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5250
|
+
entryKind: z$1.ZodEnum<{
|
|
5251
|
+
directory: "directory";
|
|
5252
|
+
file: "file";
|
|
5253
|
+
}>;
|
|
5254
|
+
kind: z$1.ZodLiteral<"path">;
|
|
5255
|
+
label: z$1.ZodString;
|
|
5256
|
+
path: z$1.ZodString;
|
|
5257
|
+
source: z$1.ZodEnum<{
|
|
5258
|
+
"thread-storage": "thread-storage";
|
|
5259
|
+
workspace: "workspace";
|
|
5260
|
+
}>;
|
|
5261
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5262
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
5263
|
+
kind: z$1.ZodLiteral<"command">;
|
|
5264
|
+
label: z$1.ZodString;
|
|
5265
|
+
name: z$1.ZodString;
|
|
5266
|
+
origin: z$1.ZodEnum<{
|
|
5267
|
+
builtin: "builtin";
|
|
5268
|
+
project: "project";
|
|
5269
|
+
user: "user";
|
|
5270
|
+
}>;
|
|
5271
|
+
source: z$1.ZodEnum<{
|
|
5272
|
+
command: "command";
|
|
5273
|
+
skill: "skill";
|
|
5274
|
+
}>;
|
|
5275
|
+
trigger: z$1.ZodEnum<{
|
|
5276
|
+
"/": "/";
|
|
5277
|
+
$: "$";
|
|
5278
|
+
}>;
|
|
5279
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5280
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
5281
|
+
itemId: z$1.ZodString;
|
|
5282
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
5283
|
+
label: z$1.ZodString;
|
|
5284
|
+
pluginId: z$1.ZodString;
|
|
5285
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
5286
|
+
start: z$1.ZodNumber;
|
|
5287
|
+
}, z$1.core.$strip>>>;
|
|
5288
|
+
text: z$1.ZodString;
|
|
5289
|
+
type: z$1.ZodLiteral<"text">;
|
|
5290
|
+
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5291
|
+
"agent-only": "agent-only";
|
|
5292
|
+
}>>;
|
|
5293
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5294
|
+
type: z$1.ZodLiteral<"image">;
|
|
5295
|
+
url: z$1.ZodString;
|
|
5296
|
+
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5297
|
+
"agent-only": "agent-only";
|
|
5298
|
+
}>>;
|
|
5299
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5300
|
+
path: z$1.ZodString;
|
|
5301
|
+
type: z$1.ZodLiteral<"localImage">;
|
|
5302
|
+
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5303
|
+
"agent-only": "agent-only";
|
|
5304
|
+
}>>;
|
|
5305
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5306
|
+
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
5307
|
+
name: z$1.ZodOptional<z$1.ZodString>;
|
|
5308
|
+
path: z$1.ZodString;
|
|
5309
|
+
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
5310
|
+
type: z$1.ZodLiteral<"localFile">;
|
|
5311
|
+
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5312
|
+
"agent-only": "agent-only";
|
|
5313
|
+
}>>;
|
|
5314
|
+
}, z$1.core.$strip>], "type">>;
|
|
5315
|
+
projectId: z$1.ZodString;
|
|
5316
|
+
threadId: z$1.ZodString;
|
|
5317
|
+
}, z$1.core.$strip>>;
|
|
5318
|
+
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
5319
|
+
}, z$1.core.$strip>;
|
|
5320
|
+
type PromptHistoryListResponse = z$1.infer<typeof promptHistoryListResponseSchema>;
|
|
5321
|
+
|
|
5243
5322
|
declare const registrySkillSchema: z$1.ZodObject<{
|
|
5244
5323
|
id: z$1.ZodString;
|
|
5245
5324
|
installUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6147,10 +6226,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6147
6226
|
ultracode: "ultracode";
|
|
6148
6227
|
xhigh: "xhigh";
|
|
6149
6228
|
}>;
|
|
6150
|
-
serviceTier: z$1.
|
|
6151
|
-
default: "default";
|
|
6152
|
-
fast: "fast";
|
|
6153
|
-
}>;
|
|
6229
|
+
serviceTier: z$1.ZodString;
|
|
6154
6230
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6155
6231
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6156
6232
|
permissionEscalation: z$1.ZodEnum<{
|
|
@@ -6474,10 +6550,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6474
6550
|
ultracode: "ultracode";
|
|
6475
6551
|
xhigh: "xhigh";
|
|
6476
6552
|
}>;
|
|
6477
|
-
serviceTier: z$1.
|
|
6478
|
-
default: "default";
|
|
6479
|
-
fast: "fast";
|
|
6480
|
-
}>;
|
|
6553
|
+
serviceTier: z$1.ZodString;
|
|
6481
6554
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6482
6555
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6483
6556
|
permissionEscalation: z$1.ZodEnum<{
|
|
@@ -6718,10 +6791,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6718
6791
|
ultracode: "ultracode";
|
|
6719
6792
|
xhigh: "xhigh";
|
|
6720
6793
|
}>;
|
|
6721
|
-
serviceTier: z$1.
|
|
6722
|
-
default: "default";
|
|
6723
|
-
fast: "fast";
|
|
6724
|
-
}>;
|
|
6794
|
+
serviceTier: z$1.ZodString;
|
|
6725
6795
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6726
6796
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6727
6797
|
permissionEscalation: z$1.ZodEnum<{
|
|
@@ -6932,10 +7002,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6932
7002
|
ultracode: "ultracode";
|
|
6933
7003
|
xhigh: "xhigh";
|
|
6934
7004
|
}>;
|
|
6935
|
-
serviceTier: z$1.
|
|
6936
|
-
default: "default";
|
|
6937
|
-
fast: "fast";
|
|
6938
|
-
}>;
|
|
7005
|
+
serviceTier: z$1.ZodString;
|
|
6939
7006
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6940
7007
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6941
7008
|
permissionEscalation: z$1.ZodEnum<{
|
|
@@ -7973,6 +8040,11 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7973
8040
|
xhigh: "xhigh";
|
|
7974
8041
|
}>;
|
|
7975
8042
|
}, z$1.core.$strip>>;
|
|
8043
|
+
supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
8044
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
8045
|
+
id: z$1.ZodString;
|
|
8046
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
8047
|
+
}, z$1.core.$strip>>>;
|
|
7976
8048
|
}, z$1.core.$strip>>;
|
|
7977
8049
|
selectedOnlyModels: z$1.ZodArray<z$1.ZodObject<{
|
|
7978
8050
|
defaultReasoningEffort: z$1.ZodEnum<{
|
|
@@ -8004,6 +8076,11 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8004
8076
|
xhigh: "xhigh";
|
|
8005
8077
|
}>;
|
|
8006
8078
|
}, z$1.core.$strip>>;
|
|
8079
|
+
supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
8080
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
8081
|
+
id: z$1.ZodString;
|
|
8082
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
8083
|
+
}, z$1.core.$strip>>>;
|
|
8007
8084
|
}, z$1.core.$strip>>;
|
|
8008
8085
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
8009
8086
|
"provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
|
|
@@ -8578,6 +8655,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8578
8655
|
darwin: "darwin";
|
|
8579
8656
|
linux: "linux";
|
|
8580
8657
|
unknown: "unknown";
|
|
8658
|
+
win32: "win32";
|
|
8581
8659
|
wsl: "wsl";
|
|
8582
8660
|
}>;
|
|
8583
8661
|
portAvailable: z$1.ZodBoolean;
|
|
@@ -9003,12 +9081,14 @@ type CreateMachineRequest = z$1.infer<typeof createMachineRequestSchema>;
|
|
|
9003
9081
|
declare const hostEnrollmentCommandResponseSchema: z$1.ZodNullable<z$1.ZodObject<{
|
|
9004
9082
|
command: z$1.ZodString;
|
|
9005
9083
|
expiresAt: z$1.ZodNumber;
|
|
9084
|
+
windowsCommand: z$1.ZodString;
|
|
9006
9085
|
}, z$1.core.$strip>>;
|
|
9007
9086
|
type HostEnrollmentCommandResponse = z$1.infer<typeof hostEnrollmentCommandResponseSchema>;
|
|
9008
9087
|
declare const hostReconnectResponseSchema: z$1.ZodObject<{
|
|
9009
9088
|
command: z$1.ZodString;
|
|
9010
9089
|
expiresAt: z$1.ZodNumber;
|
|
9011
9090
|
hostId: z$1.ZodString;
|
|
9091
|
+
windowsCommand: z$1.ZodString;
|
|
9012
9092
|
}, z$1.core.$strict>;
|
|
9013
9093
|
type HostReconnectResponse = z$1.infer<typeof hostReconnectResponseSchema>;
|
|
9014
9094
|
declare const createHostJoinCodeResponseSchema: z$1.ZodObject<{
|
|
@@ -9542,6 +9622,7 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
|
|
|
9542
9622
|
rank: z$1.ZodNumber;
|
|
9543
9623
|
}, z$1.core.$strip>>>;
|
|
9544
9624
|
compatible: z$1.ZodBoolean;
|
|
9625
|
+
conflictingInstallSource: z$1.ZodNullable<z$1.ZodString>;
|
|
9545
9626
|
description: z$1.ZodString;
|
|
9546
9627
|
displayName: z$1.ZodString;
|
|
9547
9628
|
entryId: z$1.ZodString;
|
|
@@ -9740,6 +9821,11 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9740
9821
|
xhigh: "xhigh";
|
|
9741
9822
|
}>;
|
|
9742
9823
|
}, z$1.core.$strip>>;
|
|
9824
|
+
supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
9825
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
9826
|
+
id: z$1.ZodString;
|
|
9827
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
9828
|
+
}, z$1.core.$strip>>>;
|
|
9743
9829
|
}, z$1.core.$strip>>;
|
|
9744
9830
|
permissionCeiling: z$1.ZodEnum<{
|
|
9745
9831
|
"accept-edits": "accept-edits";
|
|
@@ -9865,6 +9951,11 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9865
9951
|
xhigh: "xhigh";
|
|
9866
9952
|
}>;
|
|
9867
9953
|
}, z$1.core.$strip>>;
|
|
9954
|
+
supportedServiceTiers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
9955
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
9956
|
+
id: z$1.ZodString;
|
|
9957
|
+
label: z$1.ZodOptional<z$1.ZodString>;
|
|
9958
|
+
}, z$1.core.$strip>>>;
|
|
9868
9959
|
}, z$1.core.$strip>>;
|
|
9869
9960
|
}, z$1.core.$strip>;
|
|
9870
9961
|
type SystemExecutionOptionsResponse = z$1.infer<typeof systemExecutionOptionsResponseSchema>;
|
|
@@ -10145,7 +10236,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10145
10236
|
}, z$1.core.$strict>>;
|
|
10146
10237
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10147
10238
|
changelogPreview: "changelogPreview";
|
|
10148
|
-
legacyJitiPluginLoader: "legacyJitiPluginLoader";
|
|
10149
10239
|
serverMove: "serverMove";
|
|
10150
10240
|
}>, z$1.ZodBoolean>;
|
|
10151
10241
|
featureFlags: z$1.ZodObject<{
|
|
@@ -10397,6 +10487,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10397
10487
|
darwin: "darwin";
|
|
10398
10488
|
linux: "linux";
|
|
10399
10489
|
unknown: "unknown";
|
|
10490
|
+
win32: "win32";
|
|
10400
10491
|
wsl: "wsl";
|
|
10401
10492
|
}>>;
|
|
10402
10493
|
serverAccess: z$1.ZodObject<{
|
|
@@ -10841,6 +10932,9 @@ declare const createTerminalRequestSchema: z$1.ZodObject<{
|
|
|
10841
10932
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10842
10933
|
command: z$1.ZodString;
|
|
10843
10934
|
mode: z$1.ZodLiteral<"command">;
|
|
10935
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10936
|
+
argv: z$1.ZodArray<z$1.ZodString>;
|
|
10937
|
+
mode: z$1.ZodLiteral<"argv">;
|
|
10844
10938
|
}, z$1.core.$strict>], "mode">>;
|
|
10845
10939
|
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10846
10940
|
kind: z$1.ZodLiteral<"thread">;
|
|
@@ -12093,7 +12187,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12093
12187
|
baseBranch: z$1.ZodString;
|
|
12094
12188
|
kind: z$1.ZodLiteral<"new">;
|
|
12095
12189
|
}, z$1.core.$strict>], "kind">>;
|
|
12096
|
-
path: z$1.ZodNullable<z$1.ZodString
|
|
12190
|
+
path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
12097
12191
|
type: z$1.ZodLiteral<"unmanaged">;
|
|
12098
12192
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12099
12193
|
baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -12263,10 +12357,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12263
12357
|
}>>;
|
|
12264
12358
|
sectionId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
12265
12359
|
sendAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12266
|
-
serviceTier: z$1.ZodOptional<z$1.
|
|
12267
|
-
default: "default";
|
|
12268
|
-
fast: "fast";
|
|
12269
|
-
}>>;
|
|
12360
|
+
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
12270
12361
|
sourceSeqEnd: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12271
12362
|
sourceThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
12272
12363
|
startedOnBehalfOf: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -12382,7 +12473,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12382
12473
|
baseBranch: z$1.ZodString;
|
|
12383
12474
|
kind: z$1.ZodLiteral<"new">;
|
|
12384
12475
|
}, z$1.core.$strict>], "kind">>;
|
|
12385
|
-
path: z$1.ZodNullable<z$1.ZodString
|
|
12476
|
+
path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
12386
12477
|
type: z$1.ZodLiteral<"unmanaged">;
|
|
12387
12478
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12388
12479
|
baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -12645,10 +12736,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
12645
12736
|
}>>;
|
|
12646
12737
|
sendAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12647
12738
|
senderThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
12648
|
-
serviceTier: z$1.ZodOptional<z$1.
|
|
12649
|
-
default: "default";
|
|
12650
|
-
fast: "fast";
|
|
12651
|
-
}>>;
|
|
12739
|
+
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
12652
12740
|
}, z$1.core.$strip>;
|
|
12653
12741
|
type SendMessageRequest = z$1.infer<typeof sendMessageRequestSchema>;
|
|
12654
12742
|
/**
|
|
@@ -12788,10 +12876,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
12788
12876
|
}>;
|
|
12789
12877
|
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12790
12878
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12791
|
-
serviceTier: z$1.
|
|
12792
|
-
default: "default";
|
|
12793
|
-
fast: "fast";
|
|
12794
|
-
}>;
|
|
12879
|
+
serviceTier: z$1.ZodString;
|
|
12795
12880
|
threadId: z$1.ZodString;
|
|
12796
12881
|
updatedAt: z$1.ZodNumber;
|
|
12797
12882
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -12937,10 +13022,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
12937
13022
|
xhigh: "xhigh";
|
|
12938
13023
|
}>>;
|
|
12939
13024
|
senderThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
12940
|
-
serviceTier: z$1.ZodOptional<z$1.
|
|
12941
|
-
default: "default";
|
|
12942
|
-
fast: "fast";
|
|
12943
|
-
}>>;
|
|
13025
|
+
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
12944
13026
|
}, z$1.core.$strict>;
|
|
12945
13027
|
type EditMessageRequest = z$1.infer<typeof editMessageRequestSchema>;
|
|
12946
13028
|
declare const editMessageResponseSchema: z$1.ZodObject<{
|
|
@@ -13108,10 +13190,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13108
13190
|
xhigh: "xhigh";
|
|
13109
13191
|
}>>;
|
|
13110
13192
|
senderThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
13111
|
-
serviceTier: z$1.ZodOptional<z$1.
|
|
13112
|
-
default: "default";
|
|
13113
|
-
fast: "fast";
|
|
13114
|
-
}>>;
|
|
13193
|
+
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
13115
13194
|
}, z$1.core.$strip>;
|
|
13116
13195
|
type CreateQueuedMessageRequest = z$1.infer<typeof createQueuedMessageRequestSchema>;
|
|
13117
13196
|
declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
@@ -13350,10 +13429,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13350
13429
|
}>;
|
|
13351
13430
|
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13352
13431
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
13353
|
-
serviceTier: z$1.
|
|
13354
|
-
default: "default";
|
|
13355
|
-
fast: "fast";
|
|
13356
|
-
}>;
|
|
13432
|
+
serviceTier: z$1.ZodString;
|
|
13357
13433
|
threadId: z$1.ZodString;
|
|
13358
13434
|
updatedAt: z$1.ZodNumber;
|
|
13359
13435
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -14280,10 +14356,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14280
14356
|
}>;
|
|
14281
14357
|
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14282
14358
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14283
|
-
serviceTier: z$1.
|
|
14284
|
-
default: "default";
|
|
14285
|
-
fast: "fast";
|
|
14286
|
-
}>;
|
|
14359
|
+
serviceTier: z$1.ZodString;
|
|
14287
14360
|
threadId: z$1.ZodString;
|
|
14288
14361
|
updatedAt: z$1.ZodNumber;
|
|
14289
14362
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -16119,6 +16192,14 @@ interface PluginsArea {
|
|
|
16119
16192
|
updateSettings(args: PluginSettingsUpdateArgs): Promise<PluginUpdateSettingsResult>;
|
|
16120
16193
|
}
|
|
16121
16194
|
|
|
16195
|
+
type ExperimentalPromptHistoryListArgs = PromptHistoryListQuery & {
|
|
16196
|
+
signal?: AbortSignal;
|
|
16197
|
+
};
|
|
16198
|
+
type ExperimentalPromptHistoryListResult = PromptHistoryListResponse;
|
|
16199
|
+
interface ExperimentalPromptHistoryArea {
|
|
16200
|
+
list(args?: ExperimentalPromptHistoryListArgs): Promise<ExperimentalPromptHistoryListResult>;
|
|
16201
|
+
}
|
|
16202
|
+
|
|
16122
16203
|
type BbRealtimeUnsubscribe = () => void;
|
|
16123
16204
|
type BbRealtimeEventName = "environment:changed" | "host:changed" | "project:changed" | "realtime:connection" | "system:changed" | "system:config-changed" | "thread:changed";
|
|
16124
16205
|
type ThreadRealtimeEvent = Extract<ChangedMessage, {
|
|
@@ -16404,7 +16485,7 @@ interface SystemArea {
|
|
|
16404
16485
|
uiPreferences: SystemUiPreferencesArea;
|
|
16405
16486
|
mobileAppDownloads(): typeof mobileAppDownloads;
|
|
16406
16487
|
mobileAppReleases(): Promise<SystemMobileAppReleasesResponse>;
|
|
16407
|
-
updateExperiments(args:
|
|
16488
|
+
updateExperiments(args: ExperimentUpdates): Promise<SystemUpdateExperimentsResult>;
|
|
16408
16489
|
updateGeneralSettings(args: AppSettingsUpdate): Promise<SystemUpdateGeneralSettingsResult>;
|
|
16409
16490
|
updateKeyboardSettings(args: AppKeybindingOverrides): Promise<SystemUpdateKeyboardSettingsResult>;
|
|
16410
16491
|
providerStates(args?: SystemProviderStatesArgs): Promise<SystemProviderStatesResult>;
|
|
@@ -16961,6 +17042,7 @@ interface ThreadSectionsArea {
|
|
|
16961
17042
|
|
|
16962
17043
|
interface BbSdkAreas extends BbRealtime {
|
|
16963
17044
|
experimental_desktopBrowsers: ExperimentalDesktopBrowsersArea;
|
|
17045
|
+
experimental_promptHistory: ExperimentalPromptHistoryArea;
|
|
16964
17046
|
experimental_server: ExperimentalServerArea;
|
|
16965
17047
|
environments: EnvironmentsArea;
|
|
16966
17048
|
files: FilesArea;
|
|
@@ -18747,6 +18829,29 @@ interface PluginCommandRegistration {
|
|
|
18747
18829
|
*/
|
|
18748
18830
|
run(context: PluginCommandContext): void | Promise<void>;
|
|
18749
18831
|
}
|
|
18832
|
+
/**
|
|
18833
|
+
* A command handled by a composer through the same path as bb's own "Focus
|
|
18834
|
+
* composer" command. Listed, rebindable and namespaced like any other plugin
|
|
18835
|
+
* command. The composer holding the caret runs it; with the caret outside every
|
|
18836
|
+
* composer, the focused pane's primary composer does. Like bb's composer
|
|
18837
|
+
* commands, its shortcut is inactive while a terminal, browser tab or modal has
|
|
18838
|
+
* focus, and the palette lists it only when some composer would run it.
|
|
18839
|
+
*/
|
|
18840
|
+
interface ExperimentalComposerCommandRegistration {
|
|
18841
|
+
/** Initial keyboard binding. Users can rebind every command, including ones without a default. Conflicting defaults remain unbound. */
|
|
18842
|
+
defaultShortcut?: PluginCommandShortcut;
|
|
18843
|
+
/** Unique within the plugin across every command; letters, digits, `-`, `_`. */
|
|
18844
|
+
id: string;
|
|
18845
|
+
/** The palette row's and keyboard settings' label. */
|
|
18846
|
+
title: string;
|
|
18847
|
+
/**
|
|
18848
|
+
* Runs with the handling composer, bound to this plugin like `useComposer()`.
|
|
18849
|
+
* Errors (sync or async) are contained and logged.
|
|
18850
|
+
*/
|
|
18851
|
+
run(context: {
|
|
18852
|
+
composer: PluginComposerApi;
|
|
18853
|
+
}): void | Promise<void>;
|
|
18854
|
+
}
|
|
18750
18855
|
/** Registers commands for bb's command palette. */
|
|
18751
18856
|
interface PluginAppCommands {
|
|
18752
18857
|
/** Register a command. IDs are unique within this plugin, including legacy slot registrations. */
|
|
@@ -19039,6 +19144,8 @@ interface PluginAppSlots {
|
|
|
19039
19144
|
}
|
|
19040
19145
|
interface PluginAppComposer {
|
|
19041
19146
|
customize(registration: ComposerCustomization): void;
|
|
19147
|
+
/** Register a command that the composer holding the caret runs. IDs share the `app.commands` namespace. */
|
|
19148
|
+
experimental_registerCommand(registration: ExperimentalComposerCommandRegistration): void;
|
|
19042
19149
|
}
|
|
19043
19150
|
/** Stable lifecycle values for one content-script instance in one bb client. */
|
|
19044
19151
|
interface PluginContentScriptContext {
|
|
@@ -19216,6 +19323,17 @@ interface ComposerCustomization {
|
|
|
19216
19323
|
/** Host-rendered rows in the menu next to the composer's send button. */
|
|
19217
19324
|
sendMenu?: readonly ComposerSendMenuItem[];
|
|
19218
19325
|
richText?: ComposerRichTextSpec;
|
|
19326
|
+
/** 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. */
|
|
19327
|
+
experimental_popups?: readonly ExperimentalComposerPopupRegistration[];
|
|
19328
|
+
}
|
|
19329
|
+
/** Content for one composer's popup. The host owns placement, dismissal and focus restoration; the component owns its content and keyboard navigation. */
|
|
19330
|
+
interface ExperimentalComposerPopupRegistration {
|
|
19331
|
+
/** Popup id, unique across this plugin's composer customizations. */
|
|
19332
|
+
id: string;
|
|
19333
|
+
/** Accessible name of the popup and compact drawer. */
|
|
19334
|
+
label: string;
|
|
19335
|
+
/** Inside this component, useComposer() is bound to the composer that opened it. */
|
|
19336
|
+
component: ComponentType;
|
|
19219
19337
|
}
|
|
19220
19338
|
/** Host-rendered menu row in the composer's `+` menu. */
|
|
19221
19339
|
interface ComposerPlusMenuItem {
|
|
@@ -19383,6 +19501,10 @@ interface PluginComposerMention {
|
|
|
19383
19501
|
* text methods log a warning and do nothing.
|
|
19384
19502
|
*/
|
|
19385
19503
|
interface PluginComposerApi {
|
|
19504
|
+
/** 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. */
|
|
19505
|
+
experimental_openPopup(popupId: string): boolean;
|
|
19506
|
+
/** Close this plugin's open popup in this composer and restore editor focus. Returns false if this plugin has no open popup. */
|
|
19507
|
+
experimental_closePopup(): boolean;
|
|
19386
19508
|
scope: PluginComposerScope;
|
|
19387
19509
|
/**
|
|
19388
19510
|
* Stable identity for this composer's draft: the same across remounts and
|
|
@@ -19506,8 +19628,8 @@ interface PluginComposerApi {
|
|
|
19506
19628
|
* selection as it stands. The result carries only the fields this composer
|
|
19507
19629
|
* has, so a missing key means "no such picker here" and a value that
|
|
19508
19630
|
* differs from the one passed was reconciled (a reasoning level the model
|
|
19509
|
-
* does not support, a
|
|
19510
|
-
* the provider does not list). A provider the composer does not list is
|
|
19631
|
+
* does not support, a service tier the model does not offer, a permission
|
|
19632
|
+
* mode above the machine's ceiling, a model the provider does not list). A provider the composer does not list is
|
|
19511
19633
|
* ignored together with the model and reasoning level meant for it, so the
|
|
19512
19634
|
* stored provider preference never names something the picker could not
|
|
19513
19635
|
* have chosen. `environment` is absent while the composer
|
|
@@ -19518,8 +19640,8 @@ interface PluginComposerApi {
|
|
|
19518
19640
|
* Rejects, with a message safe to show to the user, in a composer with no
|
|
19519
19641
|
* pickers at all (a queued-message editor, a side chat, a plugin surface
|
|
19520
19642
|
* mounted outside any composer), when the calling surface is no longer
|
|
19521
|
-
* active, and when a value is not a known reasoning level
|
|
19522
|
-
*
|
|
19643
|
+
* active, and when a value is not a known reasoning level or permission
|
|
19644
|
+
* mode, or is an empty service tier.
|
|
19523
19645
|
*/
|
|
19524
19646
|
setSelection(selection: ComposerSelection): Promise<ComposerSelection>;
|
|
19525
19647
|
}
|
|
@@ -19544,7 +19666,11 @@ interface ComposerSelection {
|
|
|
19544
19666
|
model?: string;
|
|
19545
19667
|
/** Applied only when the composer ends up on the requested provider (or none was requested). */
|
|
19546
19668
|
reasoningLevel?: ReasoningLevel;
|
|
19547
|
-
/**
|
|
19669
|
+
/**
|
|
19670
|
+
* A tier id the provider declares (`"default"`, `"fast"`, …). Ignored by a
|
|
19671
|
+
* provider with no service tiers; a tier the selected model does not offer
|
|
19672
|
+
* becomes `"default"`.
|
|
19673
|
+
*/
|
|
19548
19674
|
serviceTier?: ServiceTier;
|
|
19549
19675
|
permissionMode?: PermissionMode;
|
|
19550
19676
|
}
|
|
@@ -19638,7 +19764,10 @@ interface ExperimentalProviderModelPickerValue {
|
|
|
19638
19764
|
providerId: string;
|
|
19639
19765
|
model: string;
|
|
19640
19766
|
reasoningLevel: ReasoningLevel;
|
|
19641
|
-
/**
|
|
19767
|
+
/**
|
|
19768
|
+
* Present only when the selected provider supports service tiers. A tier
|
|
19769
|
+
* id the provider declares; `"default"` when the selected model offers none.
|
|
19770
|
+
*/
|
|
19642
19771
|
serviceTier?: ServiceTier;
|
|
19643
19772
|
}
|
|
19644
19773
|
/** Where the picker resolves the live provider and model catalog. */
|
|
@@ -21960,8 +22089,10 @@ interface PluginProviderDeclaration {
|
|
|
21960
22089
|
/** Provider copy for core surfaces ({@link PluginProviderStrings}). */
|
|
21961
22090
|
strings?: PluginProviderStrings;
|
|
21962
22091
|
/** Service tiers this provider accepts, as picker options. Non-empty when
|
|
21963
|
-
* present, unique ids.
|
|
21964
|
-
*
|
|
22092
|
+
* present, unique ids. Ids are open: `"default"` is the provider's standard
|
|
22093
|
+
* tier and every other id is passed to the bridge as `serviceTier`. A
|
|
22094
|
+
* `model/list` entry narrows the list with `supportedServiceTiers`. The
|
|
22095
|
+
* coarse `capabilities.supportsServiceTier` stays until WS2a stabilizes. */
|
|
21965
22096
|
serviceTiers?: readonly PluginProviderOptionDescriptor[];
|
|
21966
22097
|
/** Reasoning levels as picker options with labels, beside the coarse
|
|
21967
22098
|
* `capabilities.reasoningLevels` ladder (ids only). Non-empty when present,
|
|
@@ -22732,4 +22863,4 @@ declare function cliCommand<const TOptions extends CliOptions = Record<string, n
|
|
|
22732
22863
|
declare function defineCli(spec: PluginCliSpec): PluginCliRegistration;
|
|
22733
22864
|
|
|
22734
22865
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_defineHostEntry };
|
|
22735
|
-
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, 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, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
22866
|
+
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, 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, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|