@get-bb/plugin-sdk 0.6.9 → 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.
- package/bundled-types/bb-plugin-sdk-app.d.ts +189 -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-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 +193 -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 +23 -7
- package/dist/provider-bridge-acp.js +7662 -314
- package/dist/provider-bridge-testing.js +9 -3
- package/dist/provider-bridge-worker-entry.mjs +7 -2
- package/dist/provider-bridge.js +7401 -169
- package/dist/testing/app.js +26 -8
- package/dist/testing/index.js +1 -0
- package/package.json +1 -1
|
@@ -351,6 +351,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
351
351
|
"archived-changed": "archived-changed";
|
|
352
352
|
"environment-changed": "environment-changed";
|
|
353
353
|
"events-appended": "events-appended";
|
|
354
|
+
"history-compacted": "history-compacted";
|
|
354
355
|
"history-rewritten": "history-rewritten";
|
|
355
356
|
"interactions-changed": "interactions-changed";
|
|
356
357
|
"parent-changed": "parent-changed";
|
|
@@ -536,10 +537,14 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
536
537
|
|
|
537
538
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
538
539
|
changelogPreview: "changelogPreview";
|
|
539
|
-
legacyJitiPluginLoader: "legacyJitiPluginLoader";
|
|
540
540
|
serverMove: "serverMove";
|
|
541
541
|
}>, z$1.ZodBoolean>;
|
|
542
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>;
|
|
543
548
|
|
|
544
549
|
declare const workspaceGitOperationSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
545
550
|
kind: z$1.ZodLiteral<"none">;
|
|
@@ -2838,10 +2843,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2838
2843
|
xhigh: "xhigh";
|
|
2839
2844
|
}>;
|
|
2840
2845
|
seq: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2841
|
-
serviceTier: z$1.
|
|
2842
|
-
default: "default";
|
|
2843
|
-
fast: "fast";
|
|
2844
|
-
}>;
|
|
2846
|
+
serviceTier: z$1.ZodString;
|
|
2845
2847
|
source: z$1.ZodEnum<{
|
|
2846
2848
|
"client/thread/start": "client/thread/start";
|
|
2847
2849
|
"client/turn/requested": "client/turn/requested";
|
|
@@ -3901,10 +3903,7 @@ declare const reasoningLevelSchema: z$1.ZodEnum<{
|
|
|
3901
3903
|
xhigh: "xhigh";
|
|
3902
3904
|
}>;
|
|
3903
3905
|
type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
|
|
3904
|
-
declare const serviceTierSchema: z$1.
|
|
3905
|
-
default: "default";
|
|
3906
|
-
fast: "fast";
|
|
3907
|
-
}>;
|
|
3906
|
+
declare const serviceTierSchema: z$1.ZodString;
|
|
3908
3907
|
type ServiceTier = z$1.infer<typeof serviceTierSchema>;
|
|
3909
3908
|
declare const permissionModeSchema: z$1.ZodEnum<{
|
|
3910
3909
|
"accept-edits": "accept-edits";
|
|
@@ -4013,10 +4012,7 @@ declare const resolvedThreadExecutionOptionsSchema: z$1.ZodObject<{
|
|
|
4013
4012
|
xhigh: "xhigh";
|
|
4014
4013
|
}>;
|
|
4015
4014
|
seq: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4016
|
-
serviceTier: z$1.
|
|
4017
|
-
default: "default";
|
|
4018
|
-
fast: "fast";
|
|
4019
|
-
}>;
|
|
4015
|
+
serviceTier: z$1.ZodString;
|
|
4020
4016
|
source: z$1.ZodEnum<{
|
|
4021
4017
|
"client/thread/start": "client/thread/start";
|
|
4022
4018
|
"client/turn/requested": "client/turn/requested";
|
|
@@ -4042,10 +4038,7 @@ declare const projectExecutionDefaultsSchema: z$1.ZodObject<{
|
|
|
4042
4038
|
ultracode: "ultracode";
|
|
4043
4039
|
xhigh: "xhigh";
|
|
4044
4040
|
}>;
|
|
4045
|
-
serviceTier: z$1.
|
|
4046
|
-
default: "default";
|
|
4047
|
-
fast: "fast";
|
|
4048
|
-
}>;
|
|
4041
|
+
serviceTier: z$1.ZodString;
|
|
4049
4042
|
}, z$1.core.$strip>;
|
|
4050
4043
|
type ProjectExecutionDefaults = z$1.infer<typeof projectExecutionDefaultsSchema>;
|
|
4051
4044
|
|
|
@@ -4345,10 +4338,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4345
4338
|
}>;
|
|
4346
4339
|
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4347
4340
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
4348
|
-
serviceTier: z$1.
|
|
4349
|
-
default: "default";
|
|
4350
|
-
fast: "fast";
|
|
4351
|
-
}>;
|
|
4341
|
+
serviceTier: z$1.ZodString;
|
|
4352
4342
|
threadId: z$1.ZodString;
|
|
4353
4343
|
updatedAt: z$1.ZodNumber;
|
|
4354
4344
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -4434,7 +4424,7 @@ declare const createThreadEnvironmentArgsSchema: z$1.ZodDiscriminatedUnion<[z$1.
|
|
|
4434
4424
|
baseBranch: z$1.ZodString;
|
|
4435
4425
|
kind: z$1.ZodLiteral<"new">;
|
|
4436
4426
|
}, z$1.core.$strict>], "kind">>;
|
|
4437
|
-
path: z$1.ZodNullable<z$1.ZodString
|
|
4427
|
+
path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
4438
4428
|
type: z$1.ZodLiteral<"unmanaged">;
|
|
4439
4429
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4440
4430
|
baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -4834,10 +4824,7 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
4834
4824
|
ultracode: "ultracode";
|
|
4835
4825
|
xhigh: "xhigh";
|
|
4836
4826
|
}>;
|
|
4837
|
-
serviceTier: z$1.
|
|
4838
|
-
default: "default";
|
|
4839
|
-
fast: "fast";
|
|
4840
|
-
}>;
|
|
4827
|
+
serviceTier: z$1.ZodString;
|
|
4841
4828
|
}, z$1.core.$strip>>;
|
|
4842
4829
|
gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
4843
4830
|
id: z$1.ZodString;
|
|
@@ -4952,10 +4939,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
4952
4939
|
ultracode: "ultracode";
|
|
4953
4940
|
xhigh: "xhigh";
|
|
4954
4941
|
}>;
|
|
4955
|
-
serviceTier: z$1.
|
|
4956
|
-
default: "default";
|
|
4957
|
-
fast: "fast";
|
|
4958
|
-
}>;
|
|
4942
|
+
serviceTier: z$1.ZodString;
|
|
4959
4943
|
}, z$1.core.$strip>>;
|
|
4960
4944
|
gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
4961
4945
|
id: z$1.ZodString;
|
|
@@ -5068,10 +5052,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5068
5052
|
ultracode: "ultracode";
|
|
5069
5053
|
xhigh: "xhigh";
|
|
5070
5054
|
}>;
|
|
5071
|
-
serviceTier: z$1.
|
|
5072
|
-
default: "default";
|
|
5073
|
-
fast: "fast";
|
|
5074
|
-
}>;
|
|
5055
|
+
serviceTier: z$1.ZodString;
|
|
5075
5056
|
}, z$1.core.$strip>>;
|
|
5076
5057
|
gitRemoteUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
5077
5058
|
id: z$1.ZodString;
|
|
@@ -5189,6 +5170,104 @@ declare const copyProjectAttachmentsRequestSchema: z$1.ZodObject<{
|
|
|
5189
5170
|
}, z$1.core.$strict>;
|
|
5190
5171
|
type CopyProjectAttachmentsRequest = z$1.infer<typeof copyProjectAttachmentsRequestSchema>;
|
|
5191
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
|
+
|
|
5192
5271
|
declare const registrySkillSchema: z$1.ZodObject<{
|
|
5193
5272
|
id: z$1.ZodString;
|
|
5194
5273
|
installUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6096,10 +6175,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6096
6175
|
ultracode: "ultracode";
|
|
6097
6176
|
xhigh: "xhigh";
|
|
6098
6177
|
}>;
|
|
6099
|
-
serviceTier: z$1.
|
|
6100
|
-
default: "default";
|
|
6101
|
-
fast: "fast";
|
|
6102
|
-
}>;
|
|
6178
|
+
serviceTier: z$1.ZodString;
|
|
6103
6179
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6104
6180
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6105
6181
|
permissionEscalation: z$1.ZodEnum<{
|
|
@@ -6423,10 +6499,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6423
6499
|
ultracode: "ultracode";
|
|
6424
6500
|
xhigh: "xhigh";
|
|
6425
6501
|
}>;
|
|
6426
|
-
serviceTier: z$1.
|
|
6427
|
-
default: "default";
|
|
6428
|
-
fast: "fast";
|
|
6429
|
-
}>;
|
|
6502
|
+
serviceTier: z$1.ZodString;
|
|
6430
6503
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6431
6504
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6432
6505
|
permissionEscalation: z$1.ZodEnum<{
|
|
@@ -6667,10 +6740,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6667
6740
|
ultracode: "ultracode";
|
|
6668
6741
|
xhigh: "xhigh";
|
|
6669
6742
|
}>;
|
|
6670
|
-
serviceTier: z$1.
|
|
6671
|
-
default: "default";
|
|
6672
|
-
fast: "fast";
|
|
6673
|
-
}>;
|
|
6743
|
+
serviceTier: z$1.ZodString;
|
|
6674
6744
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6675
6745
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6676
6746
|
permissionEscalation: z$1.ZodEnum<{
|
|
@@ -6881,10 +6951,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6881
6951
|
ultracode: "ultracode";
|
|
6882
6952
|
xhigh: "xhigh";
|
|
6883
6953
|
}>;
|
|
6884
|
-
serviceTier: z$1.
|
|
6885
|
-
default: "default";
|
|
6886
|
-
fast: "fast";
|
|
6887
|
-
}>;
|
|
6954
|
+
serviceTier: z$1.ZodString;
|
|
6888
6955
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
6889
6956
|
approvalReviewer: z$1.ZodLiteral<"user">;
|
|
6890
6957
|
permissionEscalation: z$1.ZodEnum<{
|
|
@@ -7922,6 +7989,11 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7922
7989
|
xhigh: "xhigh";
|
|
7923
7990
|
}>;
|
|
7924
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>>>;
|
|
7925
7997
|
}, z$1.core.$strip>>;
|
|
7926
7998
|
selectedOnlyModels: z$1.ZodArray<z$1.ZodObject<{
|
|
7927
7999
|
defaultReasoningEffort: z$1.ZodEnum<{
|
|
@@ -7953,6 +8025,11 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7953
8025
|
xhigh: "xhigh";
|
|
7954
8026
|
}>;
|
|
7955
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>>>;
|
|
7956
8033
|
}, z$1.core.$strip>>;
|
|
7957
8034
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7958
8035
|
"provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
|
|
@@ -9491,6 +9568,7 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
|
|
|
9491
9568
|
rank: z$1.ZodNumber;
|
|
9492
9569
|
}, z$1.core.$strip>>>;
|
|
9493
9570
|
compatible: z$1.ZodBoolean;
|
|
9571
|
+
conflictingInstallSource: z$1.ZodNullable<z$1.ZodString>;
|
|
9494
9572
|
description: z$1.ZodString;
|
|
9495
9573
|
displayName: z$1.ZodString;
|
|
9496
9574
|
entryId: z$1.ZodString;
|
|
@@ -9689,6 +9767,11 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9689
9767
|
xhigh: "xhigh";
|
|
9690
9768
|
}>;
|
|
9691
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>>>;
|
|
9692
9775
|
}, z$1.core.$strip>>;
|
|
9693
9776
|
permissionCeiling: z$1.ZodEnum<{
|
|
9694
9777
|
"accept-edits": "accept-edits";
|
|
@@ -9814,6 +9897,11 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9814
9897
|
xhigh: "xhigh";
|
|
9815
9898
|
}>;
|
|
9816
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>>>;
|
|
9817
9905
|
}, z$1.core.$strip>>;
|
|
9818
9906
|
}, z$1.core.$strip>;
|
|
9819
9907
|
type SystemExecutionOptionsResponse = z$1.infer<typeof systemExecutionOptionsResponseSchema>;
|
|
@@ -10094,7 +10182,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10094
10182
|
}, z$1.core.$strict>>;
|
|
10095
10183
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10096
10184
|
changelogPreview: "changelogPreview";
|
|
10097
|
-
legacyJitiPluginLoader: "legacyJitiPluginLoader";
|
|
10098
10185
|
serverMove: "serverMove";
|
|
10099
10186
|
}>, z$1.ZodBoolean>;
|
|
10100
10187
|
featureFlags: z$1.ZodObject<{
|
|
@@ -10790,6 +10877,9 @@ declare const createTerminalRequestSchema: z$1.ZodObject<{
|
|
|
10790
10877
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
10791
10878
|
command: z$1.ZodString;
|
|
10792
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">;
|
|
10793
10883
|
}, z$1.core.$strict>], "mode">>;
|
|
10794
10884
|
target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
10795
10885
|
kind: z$1.ZodLiteral<"thread">;
|
|
@@ -12041,7 +12131,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12041
12131
|
baseBranch: z$1.ZodString;
|
|
12042
12132
|
kind: z$1.ZodLiteral<"new">;
|
|
12043
12133
|
}, z$1.core.$strict>], "kind">>;
|
|
12044
|
-
path: z$1.ZodNullable<z$1.ZodString
|
|
12134
|
+
path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
12045
12135
|
type: z$1.ZodLiteral<"unmanaged">;
|
|
12046
12136
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12047
12137
|
baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -12211,10 +12301,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12211
12301
|
}>>;
|
|
12212
12302
|
sectionId: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
12213
12303
|
sendAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12214
|
-
serviceTier: z$1.ZodOptional<z$1.
|
|
12215
|
-
default: "default";
|
|
12216
|
-
fast: "fast";
|
|
12217
|
-
}>>;
|
|
12304
|
+
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
12218
12305
|
sourceSeqEnd: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12219
12306
|
sourceThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
12220
12307
|
startedOnBehalfOf: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -12330,7 +12417,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12330
12417
|
baseBranch: z$1.ZodString;
|
|
12331
12418
|
kind: z$1.ZodLiteral<"new">;
|
|
12332
12419
|
}, z$1.core.$strict>], "kind">>;
|
|
12333
|
-
path: z$1.ZodNullable<z$1.ZodString
|
|
12420
|
+
path: z$1.ZodNullable<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
12334
12421
|
type: z$1.ZodLiteral<"unmanaged">;
|
|
12335
12422
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12336
12423
|
baseBranch: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -12593,10 +12680,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
12593
12680
|
}>>;
|
|
12594
12681
|
sendAt: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12595
12682
|
senderThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
12596
|
-
serviceTier: z$1.ZodOptional<z$1.
|
|
12597
|
-
default: "default";
|
|
12598
|
-
fast: "fast";
|
|
12599
|
-
}>>;
|
|
12683
|
+
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
12600
12684
|
}, z$1.core.$strip>;
|
|
12601
12685
|
type SendMessageRequest = z$1.infer<typeof sendMessageRequestSchema>;
|
|
12602
12686
|
/**
|
|
@@ -12736,10 +12820,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
12736
12820
|
}>;
|
|
12737
12821
|
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12738
12822
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12739
|
-
serviceTier: z$1.
|
|
12740
|
-
default: "default";
|
|
12741
|
-
fast: "fast";
|
|
12742
|
-
}>;
|
|
12823
|
+
serviceTier: z$1.ZodString;
|
|
12743
12824
|
threadId: z$1.ZodString;
|
|
12744
12825
|
updatedAt: z$1.ZodNumber;
|
|
12745
12826
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -12885,10 +12966,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
12885
12966
|
xhigh: "xhigh";
|
|
12886
12967
|
}>>;
|
|
12887
12968
|
senderThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
12888
|
-
serviceTier: z$1.ZodOptional<z$1.
|
|
12889
|
-
default: "default";
|
|
12890
|
-
fast: "fast";
|
|
12891
|
-
}>>;
|
|
12969
|
+
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
12892
12970
|
}, z$1.core.$strict>;
|
|
12893
12971
|
type EditMessageRequest = z$1.infer<typeof editMessageRequestSchema>;
|
|
12894
12972
|
declare const editMessageResponseSchema: z$1.ZodObject<{
|
|
@@ -13056,10 +13134,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13056
13134
|
xhigh: "xhigh";
|
|
13057
13135
|
}>>;
|
|
13058
13136
|
senderThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
13059
|
-
serviceTier: z$1.ZodOptional<z$1.
|
|
13060
|
-
default: "default";
|
|
13061
|
-
fast: "fast";
|
|
13062
|
-
}>>;
|
|
13137
|
+
serviceTier: z$1.ZodOptional<z$1.ZodString>;
|
|
13063
13138
|
}, z$1.core.$strip>;
|
|
13064
13139
|
type CreateQueuedMessageRequest = z$1.infer<typeof createQueuedMessageRequestSchema>;
|
|
13065
13140
|
declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
@@ -13298,10 +13373,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13298
13373
|
}>;
|
|
13299
13374
|
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13300
13375
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
13301
|
-
serviceTier: z$1.
|
|
13302
|
-
default: "default";
|
|
13303
|
-
fast: "fast";
|
|
13304
|
-
}>;
|
|
13376
|
+
serviceTier: z$1.ZodString;
|
|
13305
13377
|
threadId: z$1.ZodString;
|
|
13306
13378
|
updatedAt: z$1.ZodNumber;
|
|
13307
13379
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -14228,10 +14300,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14228
14300
|
}>;
|
|
14229
14301
|
sendAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14230
14302
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14231
|
-
serviceTier: z$1.
|
|
14232
|
-
default: "default";
|
|
14233
|
-
fast: "fast";
|
|
14234
|
-
}>;
|
|
14303
|
+
serviceTier: z$1.ZodString;
|
|
14235
14304
|
threadId: z$1.ZodString;
|
|
14236
14305
|
updatedAt: z$1.ZodNumber;
|
|
14237
14306
|
waitingOn: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -16056,6 +16125,14 @@ interface PluginsArea {
|
|
|
16056
16125
|
updateSettings(args: PluginSettingsUpdateArgs): Promise<PluginUpdateSettingsResult>;
|
|
16057
16126
|
}
|
|
16058
16127
|
|
|
16128
|
+
type ExperimentalPromptHistoryListArgs = PromptHistoryListQuery & {
|
|
16129
|
+
signal?: AbortSignal;
|
|
16130
|
+
};
|
|
16131
|
+
type ExperimentalPromptHistoryListResult = PromptHistoryListResponse;
|
|
16132
|
+
interface ExperimentalPromptHistoryArea {
|
|
16133
|
+
list(args?: ExperimentalPromptHistoryListArgs): Promise<ExperimentalPromptHistoryListResult>;
|
|
16134
|
+
}
|
|
16135
|
+
|
|
16059
16136
|
type BbRealtimeUnsubscribe = () => void;
|
|
16060
16137
|
type BbRealtimeEventName = "environment:changed" | "host:changed" | "project:changed" | "realtime:connection" | "system:changed" | "system:config-changed" | "thread:changed";
|
|
16061
16138
|
type ThreadRealtimeEvent = Extract<ChangedMessage, {
|
|
@@ -16341,7 +16418,7 @@ interface SystemArea {
|
|
|
16341
16418
|
uiPreferences: SystemUiPreferencesArea;
|
|
16342
16419
|
mobileAppDownloads(): typeof mobileAppDownloads;
|
|
16343
16420
|
mobileAppReleases(): Promise<SystemMobileAppReleasesResponse>;
|
|
16344
|
-
updateExperiments(args:
|
|
16421
|
+
updateExperiments(args: ExperimentUpdates): Promise<SystemUpdateExperimentsResult>;
|
|
16345
16422
|
updateGeneralSettings(args: AppSettingsUpdate): Promise<SystemUpdateGeneralSettingsResult>;
|
|
16346
16423
|
updateKeyboardSettings(args: AppKeybindingOverrides): Promise<SystemUpdateKeyboardSettingsResult>;
|
|
16347
16424
|
providerStates(args?: SystemProviderStatesArgs): Promise<SystemProviderStatesResult>;
|
|
@@ -16898,6 +16975,7 @@ interface ThreadSectionsArea {
|
|
|
16898
16975
|
|
|
16899
16976
|
interface BbSdkAreas extends BbRealtime {
|
|
16900
16977
|
experimental_desktopBrowsers: ExperimentalDesktopBrowsersArea;
|
|
16978
|
+
experimental_promptHistory: ExperimentalPromptHistoryArea;
|
|
16901
16979
|
experimental_server: ExperimentalServerArea;
|
|
16902
16980
|
environments: EnvironmentsArea;
|
|
16903
16981
|
files: FilesArea;
|
|
@@ -19040,6 +19118,17 @@ interface ComposerCustomization {
|
|
|
19040
19118
|
/** Host-rendered rows in the menu next to the composer's send button. */
|
|
19041
19119
|
sendMenu?: readonly ComposerSendMenuItem[];
|
|
19042
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;
|
|
19043
19132
|
}
|
|
19044
19133
|
/** Host-rendered menu row in the composer's `+` menu. */
|
|
19045
19134
|
interface ComposerPlusMenuItem {
|
|
@@ -19207,6 +19296,10 @@ interface PluginComposerMention {
|
|
|
19207
19296
|
* text methods log a warning and do nothing.
|
|
19208
19297
|
*/
|
|
19209
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;
|
|
19210
19303
|
scope: PluginComposerScope;
|
|
19211
19304
|
/**
|
|
19212
19305
|
* Stable identity for this composer's draft: the same across remounts and
|
|
@@ -19330,8 +19423,8 @@ interface PluginComposerApi {
|
|
|
19330
19423
|
* selection as it stands. The result carries only the fields this composer
|
|
19331
19424
|
* has, so a missing key means "no such picker here" and a value that
|
|
19332
19425
|
* differs from the one passed was reconciled (a reasoning level the model
|
|
19333
|
-
* does not support, a
|
|
19334
|
-
* 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
|
|
19335
19428
|
* ignored together with the model and reasoning level meant for it, so the
|
|
19336
19429
|
* stored provider preference never names something the picker could not
|
|
19337
19430
|
* have chosen. `environment` is absent while the composer
|
|
@@ -19342,8 +19435,8 @@ interface PluginComposerApi {
|
|
|
19342
19435
|
* Rejects, with a message safe to show to the user, in a composer with no
|
|
19343
19436
|
* pickers at all (a queued-message editor, a side chat, a plugin surface
|
|
19344
19437
|
* mounted outside any composer), when the calling surface is no longer
|
|
19345
|
-
* active, and when a value is not a known reasoning level
|
|
19346
|
-
*
|
|
19438
|
+
* active, and when a value is not a known reasoning level or permission
|
|
19439
|
+
* mode, or is an empty service tier.
|
|
19347
19440
|
*/
|
|
19348
19441
|
setSelection(selection: ComposerSelection): Promise<ComposerSelection>;
|
|
19349
19442
|
}
|
|
@@ -19368,7 +19461,11 @@ interface ComposerSelection {
|
|
|
19368
19461
|
model?: string;
|
|
19369
19462
|
/** Applied only when the composer ends up on the requested provider (or none was requested). */
|
|
19370
19463
|
reasoningLevel?: ReasoningLevel;
|
|
19371
|
-
/**
|
|
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
|
+
*/
|
|
19372
19469
|
serviceTier?: ServiceTier;
|
|
19373
19470
|
permissionMode?: PermissionMode;
|
|
19374
19471
|
}
|
|
@@ -19462,7 +19559,10 @@ interface ExperimentalProviderModelPickerValue {
|
|
|
19462
19559
|
providerId: string;
|
|
19463
19560
|
model: string;
|
|
19464
19561
|
reasoningLevel: ReasoningLevel;
|
|
19465
|
-
/**
|
|
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
|
+
*/
|
|
19466
19566
|
serviceTier?: ServiceTier;
|
|
19467
19567
|
}
|
|
19468
19568
|
/** Where the picker resolves the live provider and model catalog. */
|
|
@@ -20193,4 +20293,4 @@ declare const experimental_useProviders: () => PluginProvidersState;
|
|
|
20193
20293
|
declare const experimental_useCodeTheme: () => PluginCodeThemeState;
|
|
20194
20294
|
|
|
20195
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 };
|
|
20196
|
-
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 };
|
|
@@ -621,6 +621,8 @@ interface PortableOutputChildProcess extends PortableChildProcess {
|
|
|
621
621
|
stdout: Readable;
|
|
622
622
|
stderr: Readable;
|
|
623
623
|
}
|
|
624
|
+
declare function spawnPortableOutputProcess(request: PortablePipedSpawnRequest): PortableOutputChildProcess;
|
|
625
|
+
|
|
624
626
|
interface ProcessWithCwd {
|
|
625
627
|
pid: number;
|
|
626
628
|
cwd: string;
|
|
@@ -629,12 +631,12 @@ interface KillProcessesWithCwdUnderArgs {
|
|
|
629
631
|
directory: string;
|
|
630
632
|
graceMs?: number;
|
|
631
633
|
}
|
|
634
|
+
declare function killProcessesWithCwdUnder(args: KillProcessesWithCwdUnderArgs): Promise<ProcessWithCwd[]>;
|
|
635
|
+
|
|
632
636
|
interface SanitizeInheritedChildProcessEnvArgs {
|
|
633
637
|
env: NodeJS.ProcessEnv;
|
|
634
638
|
shellPath?: string;
|
|
635
639
|
}
|
|
636
|
-
declare function spawnPortableOutputProcess(request: PortablePipedSpawnRequest): PortableOutputChildProcess;
|
|
637
|
-
declare function killProcessesWithCwdUnder(args: KillProcessesWithCwdUnderArgs): Promise<ProcessWithCwd[]>;
|
|
638
640
|
declare function sanitizeInheritedChildProcessEnv(args: SanitizeInheritedChildProcessEnvArgs): NodeJS.ProcessEnv;
|
|
639
641
|
|
|
640
642
|
export { experimental_defineHostEntry, experimental_filterResolvedNativeRoots, killProcessesWithCwdUnder as experimental_killProcessesWithCwdUnder, experimental_nativeRootsHostContract, experimental_nativeRootsResolveInputSchema, experimental_nativeRootsResolveOutputSchema, experimental_resolveClaudePluginRoots, experimental_resolveVendorPluginRoots, sanitizeInheritedChildProcessEnv as experimental_sanitizeInheritedChildProcessEnv, spawnPortableOutputProcess as experimental_spawnPortableOutputProcess };
|
|
@@ -40,6 +40,6 @@ declare function requireUniqueId(kind: string, seen: Set<string>, id: string): v
|
|
|
40
40
|
* Validate one registration while isolating composer customization failures.
|
|
41
41
|
* The host and test harness inject their own rejection reporters.
|
|
42
42
|
*/
|
|
43
|
-
declare function collectComposerCustomization(registration: unknown, seenIds: Set<string>, onRejected: RejectionReporter): ComposerCustomization | null;
|
|
43
|
+
declare function collectComposerCustomization(registration: unknown, seenIds: Set<string>, onRejected: RejectionReporter, seenPopupIds?: Set<string>): ComposerCustomization | null;
|
|
44
44
|
|
|
45
45
|
export { PLUGIN_SLOT_ID_PATTERN, PLUGIN_TIMELINE_RENDERER_KIND_PATTERN, collectComposerCustomization, normalizePluginThreadRowStatus, requireComponent, requireEnvironmentProviderId, requireMessageDirectiveId, requireNonEmptyString, requireOptionalString, requireProviderId, requireSlotId, requireTimelineRendererKind, requireUniqueId };
|