@get-bb/plugin-sdk 0.4.97 → 0.4.101
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 +88 -26
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +61 -22
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +4 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +5 -0
- package/bundled-types/bb-plugin-sdk-testing.d.ts +3 -2
- package/bundled-types/bb-plugin-sdk.d.ts +557 -49
- package/dist/internal/host-policy.js +1 -0
- package/dist/provider-bridge-acp.js +8 -2
- package/dist/provider-bridge-testing.js +70 -3
- package/dist/provider-bridge.js +8 -2
- package/dist/testing/app.js +17 -0
- package/dist/testing/index.js +10 -6
- package/package.json +1 -1
|
@@ -98,7 +98,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
98
98
|
}, z$1.core.$strict>]>;
|
|
99
99
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
100
100
|
|
|
101
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider"];
|
|
101
|
+
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider"];
|
|
102
102
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
103
103
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
104
104
|
schema: Schema;
|
|
@@ -111,6 +111,7 @@ declare const uiPreferenceDefinitions: {
|
|
|
111
111
|
machine: "machine";
|
|
112
112
|
project: "project";
|
|
113
113
|
}>>;
|
|
114
|
+
readonly "sidebar.threadGrouping.environment": UiPreferenceDefinition<z$1.ZodUnion<readonly [z$1.ZodLiteral<"auto">, z$1.ZodBoolean]>>;
|
|
114
115
|
readonly "sidebar.chronologicalSort": UiPreferenceDefinition<z$1.ZodEnum<{
|
|
115
116
|
alpha: "alpha";
|
|
116
117
|
created: "created";
|
|
@@ -370,6 +371,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
370
371
|
"environment-availability-changed": "environment-availability-changed";
|
|
371
372
|
"plugins-changed": "plugins-changed";
|
|
372
373
|
"provider-registrations-changed": "provider-registrations-changed";
|
|
374
|
+
"server-move-changed": "server-move-changed";
|
|
373
375
|
"ui-preferences-changed": "ui-preferences-changed";
|
|
374
376
|
}>>>;
|
|
375
377
|
entity: z$1.ZodLiteral<"system">;
|
|
@@ -462,6 +464,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
462
464
|
changelogPreview: "changelogPreview";
|
|
463
465
|
mobileApp: "mobileApp";
|
|
464
466
|
multiMachinePicker: "multiMachinePicker";
|
|
467
|
+
serverMove: "serverMove";
|
|
465
468
|
sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
|
|
466
469
|
timelineWindowing: "timelineWindowing";
|
|
467
470
|
}>, z$1.ZodBoolean>;
|
|
@@ -2719,6 +2722,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
2719
2722
|
core: z$1.ZodEnum<{
|
|
2720
2723
|
"machine-environment": "machine-environment";
|
|
2721
2724
|
"machine-git": "machine-git";
|
|
2725
|
+
"project-environment": "project-environment";
|
|
2722
2726
|
}>;
|
|
2723
2727
|
}, z$1.core.$strict>]>;
|
|
2724
2728
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -2878,6 +2882,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
2878
2882
|
}>;
|
|
2879
2883
|
trigger: z$1.ZodEnum<{
|
|
2880
2884
|
"/": "/";
|
|
2885
|
+
$: "$";
|
|
2881
2886
|
}>;
|
|
2882
2887
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2883
2888
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -2959,6 +2964,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
2959
2964
|
}>;
|
|
2960
2965
|
trigger: z$1.ZodEnum<{
|
|
2961
2966
|
"/": "/";
|
|
2967
|
+
$: "$";
|
|
2962
2968
|
}>;
|
|
2963
2969
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2964
2970
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -3844,6 +3850,7 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
3844
3850
|
}>;
|
|
3845
3851
|
trigger: z$1.ZodEnum<{
|
|
3846
3852
|
"/": "/";
|
|
3853
|
+
$: "$";
|
|
3847
3854
|
}>;
|
|
3848
3855
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3849
3856
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -3983,6 +3990,7 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
3983
3990
|
kind: z$1.ZodLiteral<"skills">;
|
|
3984
3991
|
trigger: z$1.ZodEnum<{
|
|
3985
3992
|
"/": "/";
|
|
3993
|
+
$: "$";
|
|
3986
3994
|
}>;
|
|
3987
3995
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3988
3996
|
command: z$1.ZodObject<{
|
|
@@ -3990,6 +3998,7 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
3990
3998
|
trailingText: z$1.ZodString;
|
|
3991
3999
|
trigger: z$1.ZodEnum<{
|
|
3992
4000
|
"/": "/";
|
|
4001
|
+
$: "$";
|
|
3993
4002
|
}>;
|
|
3994
4003
|
}, z$1.core.$strip>;
|
|
3995
4004
|
kind: z$1.ZodLiteral<"plan">;
|
|
@@ -3999,6 +4008,7 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
3999
4008
|
trailingText: z$1.ZodString;
|
|
4000
4009
|
trigger: z$1.ZodEnum<{
|
|
4001
4010
|
"/": "/";
|
|
4011
|
+
$: "$";
|
|
4002
4012
|
}>;
|
|
4003
4013
|
}, z$1.core.$strip>;
|
|
4004
4014
|
kind: z$1.ZodLiteral<"goal">;
|
|
@@ -4075,6 +4085,21 @@ type ThreadEventRow = {
|
|
|
4075
4085
|
[TType in ThreadEventType]: ThreadEventRowOfType<TType>;
|
|
4076
4086
|
}[ThreadEventType];
|
|
4077
4087
|
|
|
4088
|
+
declare const threadTurnInitiatorSchema: z$1.ZodEnum<{
|
|
4089
|
+
agent: "agent";
|
|
4090
|
+
system: "system";
|
|
4091
|
+
user: "user";
|
|
4092
|
+
}>;
|
|
4093
|
+
type ThreadTurnInitiator = z$1.infer<typeof threadTurnInitiatorSchema>;
|
|
4094
|
+
|
|
4095
|
+
declare const threadCreateOriginSchema: z$1.ZodEnum<{
|
|
4096
|
+
app: "app";
|
|
4097
|
+
cli: "cli";
|
|
4098
|
+
plugin: "plugin";
|
|
4099
|
+
sdk: "sdk";
|
|
4100
|
+
}>;
|
|
4101
|
+
type ThreadCreateOrigin = z$1.infer<typeof threadCreateOriginSchema>;
|
|
4102
|
+
|
|
4078
4103
|
declare const threadStatusSchema: z$1.ZodEnum<{
|
|
4079
4104
|
active: "active";
|
|
4080
4105
|
error: "error";
|
|
@@ -4145,6 +4170,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4145
4170
|
}>;
|
|
4146
4171
|
trigger: z$1.ZodEnum<{
|
|
4147
4172
|
"/": "/";
|
|
4173
|
+
$: "$";
|
|
4148
4174
|
}>;
|
|
4149
4175
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4150
4176
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -4193,6 +4219,13 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4193
4219
|
user: "user";
|
|
4194
4220
|
}>;
|
|
4195
4221
|
model: z$1.ZodString;
|
|
4222
|
+
origin: z$1.ZodNullable<z$1.ZodEnum<{
|
|
4223
|
+
app: "app";
|
|
4224
|
+
cli: "cli";
|
|
4225
|
+
plugin: "plugin";
|
|
4226
|
+
sdk: "sdk";
|
|
4227
|
+
}>>;
|
|
4228
|
+
originPluginId: z$1.ZodNullable<z$1.ZodString>;
|
|
4196
4229
|
payload: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
4197
4230
|
kind: z$1.ZodLiteral<"inline">;
|
|
4198
4231
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -4553,6 +4586,7 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
4553
4586
|
}>;
|
|
4554
4587
|
trigger: z$1.ZodEnum<{
|
|
4555
4588
|
"/": "/";
|
|
4589
|
+
$: "$";
|
|
4556
4590
|
}>;
|
|
4557
4591
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4558
4592
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -4750,6 +4784,7 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
4750
4784
|
id: z$1.ZodString;
|
|
4751
4785
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4752
4786
|
latestAttentionAt: z$1.ZodNumber;
|
|
4787
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
4753
4788
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
4754
4789
|
fork: "fork";
|
|
4755
4790
|
}>>;
|
|
@@ -4869,6 +4904,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
4869
4904
|
id: z$1.ZodString;
|
|
4870
4905
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4871
4906
|
latestAttentionAt: z$1.ZodNumber;
|
|
4907
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
4872
4908
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
4873
4909
|
fork: "fork";
|
|
4874
4910
|
}>>;
|
|
@@ -4986,6 +5022,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
4986
5022
|
id: z$1.ZodString;
|
|
4987
5023
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4988
5024
|
latestAttentionAt: z$1.ZodNumber;
|
|
5025
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
4989
5026
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
4990
5027
|
fork: "fork";
|
|
4991
5028
|
}>>;
|
|
@@ -5895,6 +5932,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5895
5932
|
core: z$1.ZodEnum<{
|
|
5896
5933
|
"machine-environment": "machine-environment";
|
|
5897
5934
|
"machine-git": "machine-git";
|
|
5935
|
+
"project-environment": "project-environment";
|
|
5898
5936
|
}>;
|
|
5899
5937
|
}, z$1.core.$strict>]>;
|
|
5900
5938
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -6055,6 +6093,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6055
6093
|
core: z$1.ZodEnum<{
|
|
6056
6094
|
"machine-environment": "machine-environment";
|
|
6057
6095
|
"machine-git": "machine-git";
|
|
6096
|
+
"project-environment": "project-environment";
|
|
6058
6097
|
}>;
|
|
6059
6098
|
}, z$1.core.$strict>]>;
|
|
6060
6099
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -6169,6 +6208,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6169
6208
|
}>;
|
|
6170
6209
|
trigger: z$1.ZodEnum<{
|
|
6171
6210
|
"/": "/";
|
|
6211
|
+
$: "$";
|
|
6172
6212
|
}>;
|
|
6173
6213
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6174
6214
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6250,6 +6290,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6250
6290
|
}>;
|
|
6251
6291
|
trigger: z$1.ZodEnum<{
|
|
6252
6292
|
"/": "/";
|
|
6293
|
+
$: "$";
|
|
6253
6294
|
}>;
|
|
6254
6295
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6255
6296
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6416,6 +6457,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6416
6457
|
}>;
|
|
6417
6458
|
trigger: z$1.ZodEnum<{
|
|
6418
6459
|
"/": "/";
|
|
6460
|
+
$: "$";
|
|
6419
6461
|
}>;
|
|
6420
6462
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6421
6463
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6497,6 +6539,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6497
6539
|
}>;
|
|
6498
6540
|
trigger: z$1.ZodEnum<{
|
|
6499
6541
|
"/": "/";
|
|
6542
|
+
$: "$";
|
|
6500
6543
|
}>;
|
|
6501
6544
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6502
6545
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6611,6 +6654,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6611
6654
|
core: z$1.ZodEnum<{
|
|
6612
6655
|
"machine-environment": "machine-environment";
|
|
6613
6656
|
"machine-git": "machine-git";
|
|
6657
|
+
"project-environment": "project-environment";
|
|
6614
6658
|
}>;
|
|
6615
6659
|
}, z$1.core.$strict>]>;
|
|
6616
6660
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -6714,6 +6758,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6714
6758
|
threadId: z$1.ZodString;
|
|
6715
6759
|
type: z$1.ZodLiteral<"thread.stop">;
|
|
6716
6760
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6761
|
+
activeTurnRetained: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
6717
6762
|
providerCheckpointId: z$1.ZodNullable<z$1.ZodString>;
|
|
6718
6763
|
}, z$1.core.$strict>, "settled", false>;
|
|
6719
6764
|
"thread.storage.delete": HostDaemonCommandDescriptor<"thread.storage.delete", z$1.ZodObject<{
|
|
@@ -6721,6 +6766,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6721
6766
|
threadId: z$1.ZodString;
|
|
6722
6767
|
type: z$1.ZodLiteral<"thread.storage.delete">;
|
|
6723
6768
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6769
|
+
activeTurnRetained: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
6724
6770
|
providerCheckpointId: z$1.ZodNullable<z$1.ZodString>;
|
|
6725
6771
|
}, z$1.core.$strict>, "settled", false>;
|
|
6726
6772
|
"thread.goal.clear": HostDaemonCommandDescriptor<"thread.goal.clear", z$1.ZodObject<{
|
|
@@ -6827,6 +6873,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6827
6873
|
core: z$1.ZodEnum<{
|
|
6828
6874
|
"machine-environment": "machine-environment";
|
|
6829
6875
|
"machine-git": "machine-git";
|
|
6876
|
+
"project-environment": "project-environment";
|
|
6830
6877
|
}>;
|
|
6831
6878
|
}, z$1.core.$strict>]>;
|
|
6832
6879
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -7047,6 +7094,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7047
7094
|
core: z$1.ZodEnum<{
|
|
7048
7095
|
"machine-environment": "machine-environment";
|
|
7049
7096
|
"machine-git": "machine-git";
|
|
7097
|
+
"project-environment": "project-environment";
|
|
7050
7098
|
}>;
|
|
7051
7099
|
}, z$1.core.$strict>]>;
|
|
7052
7100
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -7078,6 +7126,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7078
7126
|
core: z$1.ZodEnum<{
|
|
7079
7127
|
"machine-environment": "machine-environment";
|
|
7080
7128
|
"machine-git": "machine-git";
|
|
7129
|
+
"project-environment": "project-environment";
|
|
7081
7130
|
}>;
|
|
7082
7131
|
}, z$1.core.$strict>]>;
|
|
7083
7132
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -7248,6 +7297,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7248
7297
|
core: z$1.ZodEnum<{
|
|
7249
7298
|
"machine-environment": "machine-environment";
|
|
7250
7299
|
"machine-git": "machine-git";
|
|
7300
|
+
"project-environment": "project-environment";
|
|
7251
7301
|
}>;
|
|
7252
7302
|
}, z$1.core.$strict>]>;
|
|
7253
7303
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -7288,6 +7338,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7288
7338
|
core: z$1.ZodEnum<{
|
|
7289
7339
|
"machine-environment": "machine-environment";
|
|
7290
7340
|
"machine-git": "machine-git";
|
|
7341
|
+
"project-environment": "project-environment";
|
|
7291
7342
|
}>;
|
|
7292
7343
|
}, z$1.core.$strict>]>;
|
|
7293
7344
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -8377,6 +8428,106 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8377
8428
|
message: z$1.ZodString;
|
|
8378
8429
|
outcome: z$1.ZodLiteral<"unavailable">;
|
|
8379
8430
|
}, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
|
|
8431
|
+
"server_move.inspect": HostDaemonCommandDescriptor<"server_move.inspect", z$1.ZodObject<{
|
|
8432
|
+
paths: z$1.ZodArray<z$1.ZodString>;
|
|
8433
|
+
port: z$1.ZodNumber;
|
|
8434
|
+
type: z$1.ZodLiteral<"server_move.inspect">;
|
|
8435
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8436
|
+
bbAppVersion: z$1.ZodString;
|
|
8437
|
+
codexCredentialsPresent: z$1.ZodBoolean;
|
|
8438
|
+
dataDir: z$1.ZodString;
|
|
8439
|
+
dataDirHasServerData: z$1.ZodBoolean;
|
|
8440
|
+
diskFreeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8441
|
+
existingServerData: z$1.ZodNullable<z$1.ZodObject<{
|
|
8442
|
+
path: z$1.ZodString;
|
|
8443
|
+
sizeBytes: z$1.ZodNumber;
|
|
8444
|
+
}, z$1.core.$strict>>;
|
|
8445
|
+
ghAuthenticated: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
8446
|
+
pathsExist: z$1.ZodRecord<z$1.ZodString, z$1.ZodBoolean>;
|
|
8447
|
+
platform: z$1.ZodEnum<{
|
|
8448
|
+
darwin: "darwin";
|
|
8449
|
+
linux: "linux";
|
|
8450
|
+
unknown: "unknown";
|
|
8451
|
+
wsl: "wsl";
|
|
8452
|
+
}>;
|
|
8453
|
+
portAvailable: z$1.ZodBoolean;
|
|
8454
|
+
serverEntryAvailable: z$1.ZodBoolean;
|
|
8455
|
+
serviceManager: z$1.ZodEnum<{
|
|
8456
|
+
"systemd-system": "systemd-system";
|
|
8457
|
+
"systemd-user": "systemd-user";
|
|
8458
|
+
launchd: "launchd";
|
|
8459
|
+
none: "none";
|
|
8460
|
+
}>;
|
|
8461
|
+
timeZone: z$1.ZodNullable<z$1.ZodString>;
|
|
8462
|
+
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
8463
|
+
"server_move.probe": HostDaemonCommandDescriptor<"server_move.probe", z$1.ZodObject<{
|
|
8464
|
+
moveId: z$1.ZodString;
|
|
8465
|
+
type: z$1.ZodLiteral<"server_move.probe">;
|
|
8466
|
+
url: z$1.ZodString;
|
|
8467
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8468
|
+
message: z$1.ZodNullable<z$1.ZodString>;
|
|
8469
|
+
reachable: z$1.ZodBoolean;
|
|
8470
|
+
state: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8471
|
+
activating: "activating";
|
|
8472
|
+
pending: "pending";
|
|
8473
|
+
ready: "ready";
|
|
8474
|
+
}>>;
|
|
8475
|
+
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
8476
|
+
"server_move.prepare": HostDaemonCommandDescriptor<"server_move.prepare", z$1.ZodObject<{
|
|
8477
|
+
activationToken: z$1.ZodString;
|
|
8478
|
+
archive: z$1.ZodObject<{
|
|
8479
|
+
downloadPath: z$1.ZodString;
|
|
8480
|
+
sha256: z$1.ZodString;
|
|
8481
|
+
sizeBytes: z$1.ZodNumber;
|
|
8482
|
+
}, z$1.core.$strict>;
|
|
8483
|
+
archiveExistingServerData: z$1.ZodBoolean;
|
|
8484
|
+
bbApp: z$1.ZodNullable<z$1.ZodObject<{
|
|
8485
|
+
downloadPath: z$1.ZodString;
|
|
8486
|
+
sha256: z$1.ZodString;
|
|
8487
|
+
sizeBytes: z$1.ZodNumber;
|
|
8488
|
+
version: z$1.ZodString;
|
|
8489
|
+
}, z$1.core.$strict>>;
|
|
8490
|
+
bindHost: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8491
|
+
"0.0.0.0": "0.0.0.0";
|
|
8492
|
+
"127.0.0.1": "127.0.0.1";
|
|
8493
|
+
}>>;
|
|
8494
|
+
moveId: z$1.ZodString;
|
|
8495
|
+
serverPort: z$1.ZodNumber;
|
|
8496
|
+
serverUrl: z$1.ZodString;
|
|
8497
|
+
sourceDataDir: z$1.ZodString;
|
|
8498
|
+
sourceServerHostId: z$1.ZodNullable<z$1.ZodString>;
|
|
8499
|
+
type: z$1.ZodLiteral<"server_move.prepare">;
|
|
8500
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8501
|
+
localServerUrl: z$1.ZodString;
|
|
8502
|
+
pid: z$1.ZodNumber;
|
|
8503
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
8504
|
+
"server_move.activate": HostDaemonCommandDescriptor<"server_move.activate", z$1.ZodObject<{
|
|
8505
|
+
activationToken: z$1.ZodString;
|
|
8506
|
+
lastMove: z$1.ZodObject<{
|
|
8507
|
+
completedAt: z$1.ZodNumber;
|
|
8508
|
+
fromHostId: z$1.ZodString;
|
|
8509
|
+
fromHostName: z$1.ZodString;
|
|
8510
|
+
moveId: z$1.ZodString;
|
|
8511
|
+
oldCopyDeletedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8512
|
+
toHostId: z$1.ZodString;
|
|
8513
|
+
toHostName: z$1.ZodString;
|
|
8514
|
+
}, z$1.core.$strict>;
|
|
8515
|
+
moveId: z$1.ZodString;
|
|
8516
|
+
type: z$1.ZodLiteral<"server_move.activate">;
|
|
8517
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8518
|
+
ok: z$1.ZodLiteral<true>;
|
|
8519
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
8520
|
+
"server_move.abort": HostDaemonCommandDescriptor<"server_move.abort", z$1.ZodObject<{
|
|
8521
|
+
moveId: z$1.ZodString;
|
|
8522
|
+
type: z$1.ZodLiteral<"server_move.abort">;
|
|
8523
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8524
|
+
ok: z$1.ZodLiteral<true>;
|
|
8525
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
8526
|
+
"server_move.delete_old_copy": HostDaemonCommandDescriptor<"server_move.delete_old_copy", z$1.ZodObject<{
|
|
8527
|
+
type: z$1.ZodLiteral<"server_move.delete_old_copy">;
|
|
8528
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8529
|
+
deleted: z$1.ZodBoolean;
|
|
8530
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
8380
8531
|
};
|
|
8381
8532
|
type HostDaemonCommandRegistry = typeof hostDaemonCommandRegistry;
|
|
8382
8533
|
type AnyHostDaemonCommandDescriptor = HostDaemonCommandRegistry[keyof HostDaemonCommandRegistry];
|
|
@@ -9500,6 +9651,7 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9500
9651
|
kind: z$1.ZodLiteral<"skills">;
|
|
9501
9652
|
trigger: z$1.ZodEnum<{
|
|
9502
9653
|
"/": "/";
|
|
9654
|
+
$: "$";
|
|
9503
9655
|
}>;
|
|
9504
9656
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
9505
9657
|
command: z$1.ZodObject<{
|
|
@@ -9507,6 +9659,7 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9507
9659
|
trailingText: z$1.ZodString;
|
|
9508
9660
|
trigger: z$1.ZodEnum<{
|
|
9509
9661
|
"/": "/";
|
|
9662
|
+
$: "$";
|
|
9510
9663
|
}>;
|
|
9511
9664
|
}, z$1.core.$strip>;
|
|
9512
9665
|
kind: z$1.ZodLiteral<"plan">;
|
|
@@ -9516,6 +9669,7 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9516
9669
|
trailingText: z$1.ZodString;
|
|
9517
9670
|
trigger: z$1.ZodEnum<{
|
|
9518
9671
|
"/": "/";
|
|
9672
|
+
$: "$";
|
|
9519
9673
|
}>;
|
|
9520
9674
|
}, z$1.core.$strip>;
|
|
9521
9675
|
kind: z$1.ZodLiteral<"goal">;
|
|
@@ -9783,6 +9937,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
9783
9937
|
changelogPreview: "changelogPreview";
|
|
9784
9938
|
mobileApp: "mobileApp";
|
|
9785
9939
|
multiMachinePicker: "multiMachinePicker";
|
|
9940
|
+
serverMove: "serverMove";
|
|
9786
9941
|
sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
|
|
9787
9942
|
timelineWindowing: "timelineWindowing";
|
|
9788
9943
|
}>, z$1.ZodBoolean>;
|
|
@@ -10365,6 +10520,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
10365
10520
|
}>;
|
|
10366
10521
|
trigger: z$1.ZodEnum<{
|
|
10367
10522
|
"/": "/";
|
|
10523
|
+
$: "$";
|
|
10368
10524
|
}>;
|
|
10369
10525
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10370
10526
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11347,13 +11503,6 @@ interface TimelineTurnRow extends TimelineRowBase {
|
|
|
11347
11503
|
type TimelineSourceRow = TimelineConversationRow | TimelineWorkRow | TimelineSystemRow;
|
|
11348
11504
|
type TimelineRow = TimelineSourceRow | TimelineTurnRow;
|
|
11349
11505
|
|
|
11350
|
-
declare const threadCreateOriginSchema: z$1.ZodEnum<{
|
|
11351
|
-
app: "app";
|
|
11352
|
-
cli: "cli";
|
|
11353
|
-
plugin: "plugin";
|
|
11354
|
-
sdk: "sdk";
|
|
11355
|
-
}>;
|
|
11356
|
-
type ThreadCreateOrigin = z$1.infer<typeof threadCreateOriginSchema>;
|
|
11357
11506
|
type ExecutionInputFieldSource = CallerExecutionInputSource;
|
|
11358
11507
|
declare const createExecutionInputSourcesSchema: z$1.ZodObject<{
|
|
11359
11508
|
model: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -11378,14 +11527,6 @@ declare const createExecutionInputSourcesSchema: z$1.ZodObject<{
|
|
|
11378
11527
|
}>>;
|
|
11379
11528
|
}, z$1.core.$strict>;
|
|
11380
11529
|
type CreateExecutionInputSources = z$1.infer<typeof createExecutionInputSourcesSchema>;
|
|
11381
|
-
declare const startedOnBehalfOfSchema: z$1.ZodObject<{
|
|
11382
|
-
initiator: z$1.ZodEnum<{
|
|
11383
|
-
agent: "agent";
|
|
11384
|
-
system: "system";
|
|
11385
|
-
}>;
|
|
11386
|
-
senderThreadId: z$1.ZodString;
|
|
11387
|
-
}, z$1.core.$strip>;
|
|
11388
|
-
type StartedOnBehalfOf = z$1.infer<typeof startedOnBehalfOfSchema>;
|
|
11389
11530
|
declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
11390
11531
|
environment: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11391
11532
|
environmentId: z$1.ZodString;
|
|
@@ -11495,6 +11636,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
11495
11636
|
}>;
|
|
11496
11637
|
trigger: z$1.ZodEnum<{
|
|
11497
11638
|
"/": "/";
|
|
11639
|
+
$: "$";
|
|
11498
11640
|
}>;
|
|
11499
11641
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11500
11642
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11532,6 +11674,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
11532
11674
|
"agent-only": "agent-only";
|
|
11533
11675
|
}>>;
|
|
11534
11676
|
}, z$1.core.$strip>], "type">>;
|
|
11677
|
+
lifecycleOwnerThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
11535
11678
|
model: z$1.ZodOptional<z$1.ZodString>;
|
|
11536
11679
|
origin: z$1.ZodEnum<{
|
|
11537
11680
|
app: "app";
|
|
@@ -11633,6 +11776,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
11633
11776
|
}>;
|
|
11634
11777
|
trigger: z$1.ZodEnum<{
|
|
11635
11778
|
"/": "/";
|
|
11779
|
+
$: "$";
|
|
11636
11780
|
}>;
|
|
11637
11781
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11638
11782
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11758,6 +11902,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
11758
11902
|
}>;
|
|
11759
11903
|
trigger: z$1.ZodEnum<{
|
|
11760
11904
|
"/": "/";
|
|
11905
|
+
$: "$";
|
|
11761
11906
|
}>;
|
|
11762
11907
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11763
11908
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11795,6 +11940,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
11795
11940
|
"agent-only": "agent-only";
|
|
11796
11941
|
}>>;
|
|
11797
11942
|
}, z$1.core.$strip>], "type">>>;
|
|
11943
|
+
lifecycleOwnerThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
11798
11944
|
origin: z$1.ZodDefault<z$1.ZodEnum<{
|
|
11799
11945
|
app: "app";
|
|
11800
11946
|
cli: "cli";
|
|
@@ -11880,6 +12026,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
11880
12026
|
}>;
|
|
11881
12027
|
trigger: z$1.ZodEnum<{
|
|
11882
12028
|
"/": "/";
|
|
12029
|
+
$: "$";
|
|
11883
12030
|
}>;
|
|
11884
12031
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11885
12032
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12008,6 +12155,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
12008
12155
|
}>;
|
|
12009
12156
|
trigger: z$1.ZodEnum<{
|
|
12010
12157
|
"/": "/";
|
|
12158
|
+
$: "$";
|
|
12011
12159
|
}>;
|
|
12012
12160
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12013
12161
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12056,6 +12204,13 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
12056
12204
|
user: "user";
|
|
12057
12205
|
}>;
|
|
12058
12206
|
model: z$1.ZodString;
|
|
12207
|
+
origin: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12208
|
+
app: "app";
|
|
12209
|
+
cli: "cli";
|
|
12210
|
+
plugin: "plugin";
|
|
12211
|
+
sdk: "sdk";
|
|
12212
|
+
}>>;
|
|
12213
|
+
originPluginId: z$1.ZodNullable<z$1.ZodString>;
|
|
12059
12214
|
payload: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
12060
12215
|
kind: z$1.ZodLiteral<"inline">;
|
|
12061
12216
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -12174,6 +12329,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
12174
12329
|
}>;
|
|
12175
12330
|
trigger: z$1.ZodEnum<{
|
|
12176
12331
|
"/": "/";
|
|
12332
|
+
$: "$";
|
|
12177
12333
|
}>;
|
|
12178
12334
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12179
12335
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12345,6 +12501,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
12345
12501
|
}>;
|
|
12346
12502
|
trigger: z$1.ZodEnum<{
|
|
12347
12503
|
"/": "/";
|
|
12504
|
+
$: "$";
|
|
12348
12505
|
}>;
|
|
12349
12506
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12350
12507
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12451,6 +12608,7 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
12451
12608
|
}>;
|
|
12452
12609
|
trigger: z$1.ZodEnum<{
|
|
12453
12610
|
"/": "/";
|
|
12611
|
+
$: "$";
|
|
12454
12612
|
}>;
|
|
12455
12613
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12456
12614
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12559,6 +12717,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
12559
12717
|
}>;
|
|
12560
12718
|
trigger: z$1.ZodEnum<{
|
|
12561
12719
|
"/": "/";
|
|
12720
|
+
$: "$";
|
|
12562
12721
|
}>;
|
|
12563
12722
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12564
12723
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12607,6 +12766,13 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
12607
12766
|
user: "user";
|
|
12608
12767
|
}>;
|
|
12609
12768
|
model: z$1.ZodString;
|
|
12769
|
+
origin: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12770
|
+
app: "app";
|
|
12771
|
+
cli: "cli";
|
|
12772
|
+
plugin: "plugin";
|
|
12773
|
+
sdk: "sdk";
|
|
12774
|
+
}>>;
|
|
12775
|
+
originPluginId: z$1.ZodNullable<z$1.ZodString>;
|
|
12610
12776
|
payload: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
12611
12777
|
kind: z$1.ZodLiteral<"inline">;
|
|
12612
12778
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -12688,6 +12854,7 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
12688
12854
|
id: z$1.ZodString;
|
|
12689
12855
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12690
12856
|
latestAttentionAt: z$1.ZodNumber;
|
|
12857
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12691
12858
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12692
12859
|
fork: "fork";
|
|
12693
12860
|
}>>;
|
|
@@ -12790,6 +12957,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
12790
12957
|
id: z$1.ZodString;
|
|
12791
12958
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12792
12959
|
latestAttentionAt: z$1.ZodNumber;
|
|
12960
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12793
12961
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12794
12962
|
fork: "fork";
|
|
12795
12963
|
}>>;
|
|
@@ -12883,6 +13051,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
12883
13051
|
id: z$1.ZodString;
|
|
12884
13052
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12885
13053
|
latestAttentionAt: z$1.ZodNumber;
|
|
13054
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12886
13055
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12887
13056
|
fork: "fork";
|
|
12888
13057
|
}>>;
|
|
@@ -12944,6 +13113,7 @@ declare const threadResponseSchema: z$1.ZodObject<{
|
|
|
12944
13113
|
id: z$1.ZodString;
|
|
12945
13114
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12946
13115
|
latestAttentionAt: z$1.ZodNumber;
|
|
13116
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12947
13117
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12948
13118
|
fork: "fork";
|
|
12949
13119
|
}>>;
|
|
@@ -13104,6 +13274,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
13104
13274
|
id: z$1.ZodString;
|
|
13105
13275
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13106
13276
|
latestAttentionAt: z$1.ZodNumber;
|
|
13277
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
13107
13278
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
13108
13279
|
fork: "fork";
|
|
13109
13280
|
}>>;
|
|
@@ -13447,6 +13618,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
13447
13618
|
}>;
|
|
13448
13619
|
trigger: z$1.ZodEnum<{
|
|
13449
13620
|
"/": "/";
|
|
13621
|
+
$: "$";
|
|
13450
13622
|
}>;
|
|
13451
13623
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13452
13624
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -13495,6 +13667,13 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
13495
13667
|
user: "user";
|
|
13496
13668
|
}>;
|
|
13497
13669
|
model: z$1.ZodString;
|
|
13670
|
+
origin: z$1.ZodNullable<z$1.ZodEnum<{
|
|
13671
|
+
app: "app";
|
|
13672
|
+
cli: "cli";
|
|
13673
|
+
plugin: "plugin";
|
|
13674
|
+
sdk: "sdk";
|
|
13675
|
+
}>>;
|
|
13676
|
+
originPluginId: z$1.ZodNullable<z$1.ZodString>;
|
|
13498
13677
|
payload: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
13499
13678
|
kind: z$1.ZodLiteral<"inline">;
|
|
13500
13679
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -14193,6 +14372,169 @@ type ExperimentalDesktopBrowserImportCookiesInput = z$1.input<typeof desktopBrow
|
|
|
14193
14372
|
type ExperimentalDesktopBrowserImportSources = DesktopBrowserResult<"desktop.browser.list_import_sources">;
|
|
14194
14373
|
type ExperimentalDesktopBrowserImportOutcome = DesktopBrowserResult<"desktop.browser.import_cookies">;
|
|
14195
14374
|
|
|
14375
|
+
declare const serverMoveStatusSchema: z$1.ZodObject<{
|
|
14376
|
+
cancellable: z$1.ZodBoolean;
|
|
14377
|
+
destinationStatusUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14378
|
+
error: z$1.ZodNullable<z$1.ZodObject<{
|
|
14379
|
+
message: z$1.ZodString;
|
|
14380
|
+
step: z$1.ZodEnum<{
|
|
14381
|
+
"start-target": "start-target";
|
|
14382
|
+
"stop-work": "stop-work";
|
|
14383
|
+
"update-target": "update-target";
|
|
14384
|
+
"verify-address": "verify-address";
|
|
14385
|
+
export: "export";
|
|
14386
|
+
switch: "switch";
|
|
14387
|
+
transfer: "transfer";
|
|
14388
|
+
}>;
|
|
14389
|
+
}, z$1.core.$strict>>;
|
|
14390
|
+
finishedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14391
|
+
mode: z$1.ZodEnum<{
|
|
14392
|
+
connect: "connect";
|
|
14393
|
+
direct: "direct";
|
|
14394
|
+
}>;
|
|
14395
|
+
moveId: z$1.ZodString;
|
|
14396
|
+
serverUrl: z$1.ZodString;
|
|
14397
|
+
startedAt: z$1.ZodNumber;
|
|
14398
|
+
state: z$1.ZodEnum<{
|
|
14399
|
+
cancelled: "cancelled";
|
|
14400
|
+
completed: "completed";
|
|
14401
|
+
failed: "failed";
|
|
14402
|
+
preparing: "preparing";
|
|
14403
|
+
recovery_required: "recovery_required";
|
|
14404
|
+
switching: "switching";
|
|
14405
|
+
}>;
|
|
14406
|
+
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
14407
|
+
id: z$1.ZodEnum<{
|
|
14408
|
+
"start-target": "start-target";
|
|
14409
|
+
"stop-work": "stop-work";
|
|
14410
|
+
"update-target": "update-target";
|
|
14411
|
+
"verify-address": "verify-address";
|
|
14412
|
+
export: "export";
|
|
14413
|
+
switch: "switch";
|
|
14414
|
+
transfer: "transfer";
|
|
14415
|
+
}>;
|
|
14416
|
+
message: z$1.ZodNullable<z$1.ZodString>;
|
|
14417
|
+
status: z$1.ZodEnum<{
|
|
14418
|
+
done: "done";
|
|
14419
|
+
failed: "failed";
|
|
14420
|
+
pending: "pending";
|
|
14421
|
+
running: "running";
|
|
14422
|
+
skipped: "skipped";
|
|
14423
|
+
}>;
|
|
14424
|
+
}, z$1.core.$strict>>;
|
|
14425
|
+
targetHostId: z$1.ZodString;
|
|
14426
|
+
targetHostName: z$1.ZodString;
|
|
14427
|
+
}, z$1.core.$strict>;
|
|
14428
|
+
type ServerMoveStatus = z$1.infer<typeof serverMoveStatusSchema>;
|
|
14429
|
+
declare const serverMoveStatusResponseSchema: z$1.ZodObject<{
|
|
14430
|
+
lastMove: z$1.ZodNullable<z$1.ZodObject<{
|
|
14431
|
+
completedAt: z$1.ZodNumber;
|
|
14432
|
+
fromHostId: z$1.ZodString;
|
|
14433
|
+
fromHostName: z$1.ZodString;
|
|
14434
|
+
moveId: z$1.ZodString;
|
|
14435
|
+
oldCopyDeletedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14436
|
+
toHostId: z$1.ZodString;
|
|
14437
|
+
toHostName: z$1.ZodString;
|
|
14438
|
+
}, z$1.core.$strict>>;
|
|
14439
|
+
move: z$1.ZodNullable<z$1.ZodObject<{
|
|
14440
|
+
cancellable: z$1.ZodBoolean;
|
|
14441
|
+
destinationStatusUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14442
|
+
error: z$1.ZodNullable<z$1.ZodObject<{
|
|
14443
|
+
message: z$1.ZodString;
|
|
14444
|
+
step: z$1.ZodEnum<{
|
|
14445
|
+
"start-target": "start-target";
|
|
14446
|
+
"stop-work": "stop-work";
|
|
14447
|
+
"update-target": "update-target";
|
|
14448
|
+
"verify-address": "verify-address";
|
|
14449
|
+
export: "export";
|
|
14450
|
+
switch: "switch";
|
|
14451
|
+
transfer: "transfer";
|
|
14452
|
+
}>;
|
|
14453
|
+
}, z$1.core.$strict>>;
|
|
14454
|
+
finishedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14455
|
+
mode: z$1.ZodEnum<{
|
|
14456
|
+
connect: "connect";
|
|
14457
|
+
direct: "direct";
|
|
14458
|
+
}>;
|
|
14459
|
+
moveId: z$1.ZodString;
|
|
14460
|
+
serverUrl: z$1.ZodString;
|
|
14461
|
+
startedAt: z$1.ZodNumber;
|
|
14462
|
+
state: z$1.ZodEnum<{
|
|
14463
|
+
cancelled: "cancelled";
|
|
14464
|
+
completed: "completed";
|
|
14465
|
+
failed: "failed";
|
|
14466
|
+
preparing: "preparing";
|
|
14467
|
+
recovery_required: "recovery_required";
|
|
14468
|
+
switching: "switching";
|
|
14469
|
+
}>;
|
|
14470
|
+
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
14471
|
+
id: z$1.ZodEnum<{
|
|
14472
|
+
"start-target": "start-target";
|
|
14473
|
+
"stop-work": "stop-work";
|
|
14474
|
+
"update-target": "update-target";
|
|
14475
|
+
"verify-address": "verify-address";
|
|
14476
|
+
export: "export";
|
|
14477
|
+
switch: "switch";
|
|
14478
|
+
transfer: "transfer";
|
|
14479
|
+
}>;
|
|
14480
|
+
message: z$1.ZodNullable<z$1.ZodString>;
|
|
14481
|
+
status: z$1.ZodEnum<{
|
|
14482
|
+
done: "done";
|
|
14483
|
+
failed: "failed";
|
|
14484
|
+
pending: "pending";
|
|
14485
|
+
running: "running";
|
|
14486
|
+
skipped: "skipped";
|
|
14487
|
+
}>;
|
|
14488
|
+
}, z$1.core.$strict>>;
|
|
14489
|
+
targetHostId: z$1.ZodString;
|
|
14490
|
+
targetHostName: z$1.ZodString;
|
|
14491
|
+
}, z$1.core.$strict>>;
|
|
14492
|
+
}, z$1.core.$strict>;
|
|
14493
|
+
type ServerMoveStatusResponse = z$1.infer<typeof serverMoveStatusResponseSchema>;
|
|
14494
|
+
declare const serverMoveCheckRequestSchema: z$1.ZodObject<{
|
|
14495
|
+
serverUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14496
|
+
targetHostId: z$1.ZodString;
|
|
14497
|
+
}, z$1.core.$strict>;
|
|
14498
|
+
type ServerMoveCheckRequest = z$1.infer<typeof serverMoveCheckRequestSchema>;
|
|
14499
|
+
declare const serverMoveCheckResponseSchema: z$1.ZodObject<{
|
|
14500
|
+
canMove: z$1.ZodBoolean;
|
|
14501
|
+
existingTargetServerData: z$1.ZodNullable<z$1.ZodObject<{
|
|
14502
|
+
path: z$1.ZodString;
|
|
14503
|
+
sizeBytes: z$1.ZodNumber;
|
|
14504
|
+
}, z$1.core.$strict>>;
|
|
14505
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
14506
|
+
detail: z$1.ZodNullable<z$1.ZodString>;
|
|
14507
|
+
id: z$1.ZodString;
|
|
14508
|
+
severity: z$1.ZodEnum<{
|
|
14509
|
+
blocker: "blocker";
|
|
14510
|
+
info: "info";
|
|
14511
|
+
warning: "warning";
|
|
14512
|
+
}>;
|
|
14513
|
+
title: z$1.ZodString;
|
|
14514
|
+
}, z$1.core.$strict>>;
|
|
14515
|
+
mode: z$1.ZodEnum<{
|
|
14516
|
+
connect: "connect";
|
|
14517
|
+
direct: "direct";
|
|
14518
|
+
}>;
|
|
14519
|
+
requiresServerUrl: z$1.ZodBoolean;
|
|
14520
|
+
serverUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14521
|
+
targetDataDir: z$1.ZodNullable<z$1.ZodString>;
|
|
14522
|
+
targetHostId: z$1.ZodString;
|
|
14523
|
+
targetHostName: z$1.ZodString;
|
|
14524
|
+
}, z$1.core.$strict>;
|
|
14525
|
+
type ServerMoveCheckResponse = z$1.infer<typeof serverMoveCheckResponseSchema>;
|
|
14526
|
+
declare const serverMoveStartRequestSchema: z$1.ZodObject<{
|
|
14527
|
+
archiveExistingTargetServerData: z$1.ZodBoolean;
|
|
14528
|
+
serverUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14529
|
+
stopRunningWork: z$1.ZodLiteral<true>;
|
|
14530
|
+
targetHostId: z$1.ZodString;
|
|
14531
|
+
}, z$1.core.$strict>;
|
|
14532
|
+
type ServerMoveStartRequest = z$1.infer<typeof serverMoveStartRequestSchema>;
|
|
14533
|
+
declare const deleteOldServerCopyResponseSchema: z$1.ZodObject<{
|
|
14534
|
+
deleted: z$1.ZodBoolean;
|
|
14535
|
+
}, z$1.core.$strict>;
|
|
14536
|
+
type DeleteOldServerCopyResponse = z$1.infer<typeof deleteOldServerCopyResponseSchema>;
|
|
14537
|
+
|
|
14196
14538
|
declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
14197
14539
|
revision: z$1.ZodNumber;
|
|
14198
14540
|
tabs: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -14474,6 +14816,12 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
|
|
|
14474
14816
|
}, z$1.core.$strict>;
|
|
14475
14817
|
type UpdateThreadTabsRequest = z$1.infer<typeof updateThreadTabsRequestSchema>;
|
|
14476
14818
|
|
|
14819
|
+
declare const machineEnvironmentSetSchema: z$1.ZodObject<{
|
|
14820
|
+
name: z$1.ZodString;
|
|
14821
|
+
note: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
14822
|
+
value: z$1.ZodString;
|
|
14823
|
+
}, z$1.core.$strict>;
|
|
14824
|
+
type MachineEnvironmentSet = z$1.infer<typeof machineEnvironmentSetSchema>;
|
|
14477
14825
|
declare const machineEnvironmentListSchema: z$1.ZodObject<{
|
|
14478
14826
|
builtInGit: z$1.ZodObject<{
|
|
14479
14827
|
status: z$1.ZodEnum<{
|
|
@@ -14492,6 +14840,30 @@ declare const machineEnvironmentListSchema: z$1.ZodObject<{
|
|
|
14492
14840
|
}, z$1.core.$strict>>;
|
|
14493
14841
|
}, z$1.core.$strip>;
|
|
14494
14842
|
type MachineEnvironmentList = z$1.infer<typeof machineEnvironmentListSchema>;
|
|
14843
|
+
declare const projectMachineEnvironmentListSchema: z$1.ZodObject<{
|
|
14844
|
+
builtInGit: z$1.ZodObject<{
|
|
14845
|
+
status: z$1.ZodEnum<{
|
|
14846
|
+
"logged in": "logged in";
|
|
14847
|
+
"not logged in": "not logged in";
|
|
14848
|
+
disabled: "disabled";
|
|
14849
|
+
overridden: "overridden";
|
|
14850
|
+
}>;
|
|
14851
|
+
statusMessage: z$1.ZodString;
|
|
14852
|
+
}, z$1.core.$strip>;
|
|
14853
|
+
inheritedVariables: z$1.ZodArray<z$1.ZodObject<{
|
|
14854
|
+
name: z$1.ZodString;
|
|
14855
|
+
note: z$1.ZodNullable<z$1.ZodString>;
|
|
14856
|
+
secret: z$1.ZodLiteral<true>;
|
|
14857
|
+
value: z$1.ZodNull;
|
|
14858
|
+
}, z$1.core.$strict>>;
|
|
14859
|
+
variables: z$1.ZodArray<z$1.ZodObject<{
|
|
14860
|
+
name: z$1.ZodString;
|
|
14861
|
+
note: z$1.ZodNullable<z$1.ZodString>;
|
|
14862
|
+
secret: z$1.ZodLiteral<true>;
|
|
14863
|
+
value: z$1.ZodNull;
|
|
14864
|
+
}, z$1.core.$strict>>;
|
|
14865
|
+
}, z$1.core.$strip>;
|
|
14866
|
+
type ProjectMachineEnvironmentList = z$1.infer<typeof projectMachineEnvironmentListSchema>;
|
|
14495
14867
|
|
|
14496
14868
|
/**
|
|
14497
14869
|
* A value that survives a JSON round trip without coercion or data loss.
|
|
@@ -14771,6 +15143,34 @@ interface PluginThreadHeaderActionProps {
|
|
|
14771
15143
|
*/
|
|
14772
15144
|
isCompactViewport: boolean;
|
|
14773
15145
|
}
|
|
15146
|
+
/** JavaScript world a Browser page expression runs in. */
|
|
15147
|
+
type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
|
|
15148
|
+
interface ExperimentalPluginBrowserPageEvaluateOptions {
|
|
15149
|
+
/**
|
|
15150
|
+
* `isolated` (default) runs in a BB-owned world that shares the page DOM but
|
|
15151
|
+
* not page globals, and binds `bb.postMessage(data)`. `main` runs beside the
|
|
15152
|
+
* page's own scripts, where `bb` is `null`.
|
|
15153
|
+
*/
|
|
15154
|
+
world?: ExperimentalPluginBrowserPageWorld;
|
|
15155
|
+
}
|
|
15156
|
+
/**
|
|
15157
|
+
* Script access to the top-level document of one Browser tab. Independent of
|
|
15158
|
+
* CDP control leases: it never attaches a debugger or shows a control banner.
|
|
15159
|
+
*/
|
|
15160
|
+
interface ExperimentalPluginBrowserPage {
|
|
15161
|
+
/**
|
|
15162
|
+
* Evaluate a JavaScript expression and resolve its JSON-serialized value.
|
|
15163
|
+
* Promises are awaited and `undefined` resolves to `null`. The expression
|
|
15164
|
+
* can reference `bb`. Rejects when the tab is gone or the expression throws.
|
|
15165
|
+
* Anything the expression installs is lost when the document navigates.
|
|
15166
|
+
*/
|
|
15167
|
+
evaluate(expression: string, options?: ExperimentalPluginBrowserPageEvaluateOptions): Promise<JsonValue>;
|
|
15168
|
+
/**
|
|
15169
|
+
* Subscribe to values this plugin's isolated-world scripts in this tab send
|
|
15170
|
+
* with `bb.postMessage(data)`. Returns the unsubscribe function.
|
|
15171
|
+
*/
|
|
15172
|
+
onMessage(listener: (data: JsonValue) => void): () => void;
|
|
15173
|
+
}
|
|
14774
15174
|
interface ExperimentalPluginBrowserToolbarActionProps {
|
|
14775
15175
|
/** Thread that owns the Browser tab. */
|
|
14776
15176
|
threadId: string;
|
|
@@ -14780,6 +15180,8 @@ interface ExperimentalPluginBrowserToolbarActionProps {
|
|
|
14780
15180
|
url: string;
|
|
14781
15181
|
/** True when the Browser chrome needs compact controls. */
|
|
14782
15182
|
isCompactViewport: boolean;
|
|
15183
|
+
/** Script access to this tab's page; `null` outside the desktop app. */
|
|
15184
|
+
experimental_page: ExperimentalPluginBrowserPage | null;
|
|
14783
15185
|
}
|
|
14784
15186
|
/**
|
|
14785
15187
|
* Where a file being opened by a `fileOpener` lives. `path` semantics follow
|
|
@@ -15013,6 +15415,23 @@ interface ExperimentalAppOverlayRegistration {
|
|
|
15013
15415
|
id: string;
|
|
15014
15416
|
component: ComponentType<ExperimentalAppOverlayProps>;
|
|
15015
15417
|
}
|
|
15418
|
+
/**
|
|
15419
|
+
* A name the host resolves to a glyph, in this order: a name any plugin
|
|
15420
|
+
* registered with `app.experimental_icons.register()`, then a built-in BB icon
|
|
15421
|
+
* name (`"Zap"`), then a namespaced `"<pluginId>/<name>"` glyph naming an
|
|
15422
|
+
* entry of that plugin's manifest `bb.branding.experimental_icons` map. A
|
|
15423
|
+
* registration therefore shadows a built-in, and either shadows a declared
|
|
15424
|
+
* icon of the same name. Names that resolve to none of the three fall back to
|
|
15425
|
+
* the surface's generic icon.
|
|
15426
|
+
*
|
|
15427
|
+
* Declared icons and registrations are one vocabulary here: the same name
|
|
15428
|
+
* works in `experimental_Icon`, in every field below, and — for a declared
|
|
15429
|
+
* icon — in the tool, provider and bridge-row declarations that accept one.
|
|
15430
|
+
* Declared icons need no frontend bundle and survive the plugin being stopped;
|
|
15431
|
+
* registrations can be any React component but live only while the plugin's
|
|
15432
|
+
* app bundle is loaded.
|
|
15433
|
+
*/
|
|
15434
|
+
type BbIconName = string;
|
|
15016
15435
|
/**
|
|
15017
15436
|
* Owner-defined validator for a fixed tab's transient target. The host first
|
|
15018
15437
|
* verifies that the value is JSON-safe, then calls this validator before
|
|
@@ -15037,8 +15456,7 @@ type ExperimentalPluginFixedTabReference<Target extends JsonValue = never> = {
|
|
|
15037
15456
|
/** A fixed tab declared by a plugin nav panel. */
|
|
15038
15457
|
type PluginFixedTabRegistration<Target extends JsonValue = never> = ExperimentalPluginFixedTabReference<Target> & {
|
|
15039
15458
|
title: string;
|
|
15040
|
-
|
|
15041
|
-
icon: string;
|
|
15459
|
+
icon: BbIconName;
|
|
15042
15460
|
component: ComponentType<PluginNavPanelProps>;
|
|
15043
15461
|
/** `flush` lets the component own padding and scrolling. */
|
|
15044
15462
|
layout?: "flush" | "padded";
|
|
@@ -15049,8 +15467,7 @@ interface PluginNavPanelRegistration {
|
|
|
15049
15467
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
15050
15468
|
id: string;
|
|
15051
15469
|
title: string;
|
|
15052
|
-
|
|
15053
|
-
icon: string;
|
|
15470
|
+
icon: BbIconName;
|
|
15054
15471
|
/** URL segment under `/plugins/<pluginId>/`; letters, digits, `-`, `_`. */
|
|
15055
15472
|
path: string;
|
|
15056
15473
|
component: ComponentType<PluginNavPanelProps>;
|
|
@@ -15133,10 +15550,10 @@ interface PluginThreadPanelActionRegistration {
|
|
|
15133
15550
|
/** Label of the action row in the panel's new-tab launcher. */
|
|
15134
15551
|
title: string;
|
|
15135
15552
|
/**
|
|
15136
|
-
*
|
|
15137
|
-
*
|
|
15553
|
+
* Drawn only when the manifest declares no `bb.branding.icon`; the launcher
|
|
15554
|
+
* row and opened tabs prefer that over this hint.
|
|
15138
15555
|
*/
|
|
15139
|
-
icon?:
|
|
15556
|
+
icon?: BbIconName;
|
|
15140
15557
|
/** Rendered inside every panel tab this action opens. */
|
|
15141
15558
|
component: ComponentType<PluginThreadPanelProps>;
|
|
15142
15559
|
/**
|
|
@@ -15173,8 +15590,8 @@ interface PluginNewThreadPanelActionRegistration {
|
|
|
15173
15590
|
id: string;
|
|
15174
15591
|
/** Label of the action row in the panel's new-tab launcher. */
|
|
15175
15592
|
title: string;
|
|
15176
|
-
/**
|
|
15177
|
-
icon?:
|
|
15593
|
+
/** Drawn only when the manifest declares no `bb.branding.icon`. */
|
|
15594
|
+
icon?: BbIconName;
|
|
15178
15595
|
/** Rendered inside every panel tab this action opens. */
|
|
15179
15596
|
component: ComponentType<PluginNewThreadPanelProps>;
|
|
15180
15597
|
/** Host framing; matches `threadPanelAction`. */
|
|
@@ -15218,8 +15635,8 @@ interface PluginSidebarFooterActionRegistration {
|
|
|
15218
15635
|
id: string;
|
|
15219
15636
|
/** Tooltip and accessible label for the icon button. */
|
|
15220
15637
|
title: string;
|
|
15221
|
-
/**
|
|
15222
|
-
icon:
|
|
15638
|
+
/** Drawn only when the manifest declares no `bb.branding.icon`. */
|
|
15639
|
+
icon: BbIconName;
|
|
15223
15640
|
/**
|
|
15224
15641
|
* Runs when the user activates the action (e.g. call `openSettings()`,
|
|
15225
15642
|
* open a panel via other surfaces, toast). Errors (sync or async) are
|
|
@@ -15238,8 +15655,7 @@ interface ExperimentalSidebarFooterItemBase {
|
|
|
15238
15655
|
id: string;
|
|
15239
15656
|
/** Tooltip and accessible label for the host-rendered icon button. */
|
|
15240
15657
|
label: string;
|
|
15241
|
-
|
|
15242
|
-
icon: string;
|
|
15658
|
+
icon: BbIconName;
|
|
15243
15659
|
}
|
|
15244
15660
|
/** A sidebar-footer item that runs a callback when activated. */
|
|
15245
15661
|
interface ExperimentalSidebarFooterActionRegistration extends ExperimentalSidebarFooterItemBase {
|
|
@@ -15716,8 +16132,7 @@ interface PluginMessageActionRegistration {
|
|
|
15716
16132
|
id: string;
|
|
15717
16133
|
/** Tooltip / menu label for the action. */
|
|
15718
16134
|
title: string;
|
|
15719
|
-
|
|
15720
|
-
icon?: string;
|
|
16135
|
+
icon?: BbIconName;
|
|
15721
16136
|
/**
|
|
15722
16137
|
* Runs when the user activates the action. Errors (sync or async) are
|
|
15723
16138
|
* contained and logged; they never break the timeline.
|
|
@@ -16148,6 +16563,11 @@ interface ExperimentalProviderIconProps {
|
|
|
16148
16563
|
"aria-hidden"?: boolean | "false" | "true";
|
|
16149
16564
|
"aria-label"?: string;
|
|
16150
16565
|
}
|
|
16566
|
+
/**
|
|
16567
|
+
* An app icon registered by a plugin. The registry is app-wide: a registered
|
|
16568
|
+
* name is usable wherever a `BbIconName` is — `experimental_Icon`, and every
|
|
16569
|
+
* host-rendered surface that takes one — by this plugin or any other.
|
|
16570
|
+
*/
|
|
16151
16571
|
interface ExperimentalIconRegistration {
|
|
16152
16572
|
/** Shared app name. Namespacing is recommended, but not required. */
|
|
16153
16573
|
name: string;
|
|
@@ -16158,10 +16578,11 @@ interface ExperimentalIconRegistration {
|
|
|
16158
16578
|
}
|
|
16159
16579
|
interface ExperimentalAppIcons {
|
|
16160
16580
|
/**
|
|
16161
|
-
* Add or override an app icon during setup.
|
|
16162
|
-
*
|
|
16163
|
-
*
|
|
16164
|
-
*
|
|
16581
|
+
* Add or override an app icon during setup. A registered name shadows a
|
|
16582
|
+
* built-in of the same name. Returns nothing; the host replaces
|
|
16583
|
+
* registrations on reload and removes them on unload. Duplicate names within
|
|
16584
|
+
* a plugin reject setup. Between plugins, the first plugin id in lexical
|
|
16585
|
+
* order wins, independent of bundle load order.
|
|
16165
16586
|
*/
|
|
16166
16587
|
register(registration: ExperimentalIconRegistration): void;
|
|
16167
16588
|
}
|
|
@@ -16246,8 +16667,8 @@ interface ComposerCustomization {
|
|
|
16246
16667
|
interface ComposerPlusMenuItem {
|
|
16247
16668
|
id: string;
|
|
16248
16669
|
label: string;
|
|
16249
|
-
/**
|
|
16250
|
-
icon?:
|
|
16670
|
+
/** Drawn only when the manifest declares no `bb.branding.icon`. */
|
|
16671
|
+
icon?: BbIconName;
|
|
16251
16672
|
/** Accessible description for the host-rendered row. */
|
|
16252
16673
|
description?: string;
|
|
16253
16674
|
disabled?: boolean | ((view: ComposerView) => boolean);
|
|
@@ -16300,8 +16721,11 @@ interface PluginComposerTextEffect {
|
|
|
16300
16721
|
}
|
|
16301
16722
|
/** Host-rendered status that temporarily replaces a thread's draft glyph. */
|
|
16302
16723
|
interface PluginComposerThreadRowStatus {
|
|
16303
|
-
/**
|
|
16304
|
-
|
|
16724
|
+
/**
|
|
16725
|
+
* Always drawn as given: unlike the plugin-badged surfaces, this one has no
|
|
16726
|
+
* preference for the plugin's own `bb.branding.icon`.
|
|
16727
|
+
*/
|
|
16728
|
+
icon: BbIconName;
|
|
16305
16729
|
/** Accessible label for the status glyph. */
|
|
16306
16730
|
label: string;
|
|
16307
16731
|
/**
|
|
@@ -16370,6 +16794,13 @@ interface PluginComposerApi {
|
|
|
16370
16794
|
* content should be fetched fresh when the message is sent.
|
|
16371
16795
|
*/
|
|
16372
16796
|
insertMention(mention: PluginComposerMention): void;
|
|
16797
|
+
/** Remove this plugin's matching mention pills and their text from the current draft. */
|
|
16798
|
+
experimental_removeMention(mention: {
|
|
16799
|
+
provider: string;
|
|
16800
|
+
id: string;
|
|
16801
|
+
}): void;
|
|
16802
|
+
/** Subscribe to successful local submissions in this composer scope, including accepted queued messages. Failed sends and draft clearing do not notify. Dispose on unmount. */
|
|
16803
|
+
experimental_onSubmitted(listener: () => void): () => void;
|
|
16373
16804
|
/** Focus the composer caret at the end of the draft. */
|
|
16374
16805
|
focus(): void;
|
|
16375
16806
|
/**
|
|
@@ -16427,8 +16858,7 @@ interface ThreadChatMessageAction {
|
|
|
16427
16858
|
id: string;
|
|
16428
16859
|
/** Tooltip / menu label for the action. */
|
|
16429
16860
|
title: string;
|
|
16430
|
-
|
|
16431
|
-
icon?: string;
|
|
16861
|
+
icon?: BbIconName;
|
|
16432
16862
|
/**
|
|
16433
16863
|
* Message roles the action applies to. Omitted = both user and assistant
|
|
16434
16864
|
* messages.
|
|
@@ -17548,6 +17978,7 @@ interface HostsArea {
|
|
|
17548
17978
|
experimental_getEnrollmentCommand(args: HostGetArgs): Promise<HostEnrollmentCommandResult>;
|
|
17549
17979
|
createJoinCode(): Promise<HostCreateJoinCodeResult>;
|
|
17550
17980
|
delete(args: HostDeleteArgs): Promise<HostDeleteResult>;
|
|
17981
|
+
experimental_deleteOldServerCopy(args: HostActionArgs): Promise<DeleteOldServerCopyResponse>;
|
|
17551
17982
|
directory(args: HostDirectoryArgs): Promise<HostDirectoryResult>;
|
|
17552
17983
|
get(args: HostGetArgs): Promise<HostGetResult>;
|
|
17553
17984
|
cloneDefaultPath(args: HostCloneDefaultPathArgs): Promise<HostCloneDefaultPathResult>;
|
|
@@ -17565,6 +17996,28 @@ interface HostsArea {
|
|
|
17565
17996
|
update(args: HostUpdateArgs): Promise<HostUpdateResult>;
|
|
17566
17997
|
}
|
|
17567
17998
|
|
|
17999
|
+
interface ServerMoveCheckArgs extends ServerMoveCheckRequest {
|
|
18000
|
+
signal?: AbortSignal;
|
|
18001
|
+
}
|
|
18002
|
+
interface ServerMoveStatusArgs {
|
|
18003
|
+
signal?: AbortSignal;
|
|
18004
|
+
}
|
|
18005
|
+
interface ServerExportArgs {
|
|
18006
|
+
signal?: AbortSignal;
|
|
18007
|
+
}
|
|
18008
|
+
interface ServerExportResult {
|
|
18009
|
+
fileName: string;
|
|
18010
|
+
body: ReadableStream<Uint8Array>;
|
|
18011
|
+
sha256: string;
|
|
18012
|
+
}
|
|
18013
|
+
interface ExperimentalServerArea {
|
|
18014
|
+
checkMove(args: ServerMoveCheckArgs): Promise<ServerMoveCheckResponse>;
|
|
18015
|
+
startMove(args: ServerMoveStartRequest): Promise<ServerMoveStatus>;
|
|
18016
|
+
moveStatus(args?: ServerMoveStatusArgs): Promise<ServerMoveStatusResponse>;
|
|
18017
|
+
cancelMove(): Promise<ServerMoveStatus>;
|
|
18018
|
+
export(args?: ServerExportArgs): Promise<ServerExportResult>;
|
|
18019
|
+
}
|
|
18020
|
+
|
|
17568
18021
|
interface ProjectListArgs {
|
|
17569
18022
|
include?: ProjectListQuery["include"];
|
|
17570
18023
|
includePersonal?: boolean;
|
|
@@ -17704,6 +18157,19 @@ interface ProjectAttachmentsArea {
|
|
|
17704
18157
|
upload(args: ProjectAttachmentUploadArgs): Promise<ProjectAttachmentUploadResult>;
|
|
17705
18158
|
}
|
|
17706
18159
|
interface ProjectsArea {
|
|
18160
|
+
machineEnvironment(args: {
|
|
18161
|
+
projectId: string;
|
|
18162
|
+
}): Promise<ProjectMachineEnvironmentList>;
|
|
18163
|
+
replaceMachineEnvironment(args: {
|
|
18164
|
+
projectId: string;
|
|
18165
|
+
} & MachineEnvironmentReplace): Promise<ProjectMachineEnvironmentList>;
|
|
18166
|
+
setMachineEnvironmentVariable(args: {
|
|
18167
|
+
projectId: string;
|
|
18168
|
+
} & MachineEnvironmentSet): Promise<ProjectMachineEnvironmentList>;
|
|
18169
|
+
deleteMachineEnvironmentVariable(args: {
|
|
18170
|
+
projectId: string;
|
|
18171
|
+
name: string;
|
|
18172
|
+
}): Promise<ProjectMachineEnvironmentList>;
|
|
17707
18173
|
attachments: ProjectAttachmentsArea;
|
|
17708
18174
|
branches(args: ProjectBranchesArgs): Promise<ProjectBranchesResult>;
|
|
17709
18175
|
commands(args: ProjectCommandsArgs): Promise<ProjectCommandsResult>;
|
|
@@ -18121,6 +18587,10 @@ interface SystemUiPreferencesArea {
|
|
|
18121
18587
|
reset<Key extends UiPreferenceKey>(args: SystemResetUiPreferenceArgs<Key>): Promise<SystemUiPreferenceResult<Key>>;
|
|
18122
18588
|
}
|
|
18123
18589
|
interface SystemArea {
|
|
18590
|
+
setMachineEnvironmentVariable(input: MachineEnvironmentSet): Promise<MachineEnvironmentList>;
|
|
18591
|
+
deleteMachineEnvironmentVariable(input: {
|
|
18592
|
+
name: string;
|
|
18593
|
+
}): Promise<MachineEnvironmentList>;
|
|
18124
18594
|
machineEnvironment(): Promise<MachineEnvironmentList>;
|
|
18125
18595
|
replaceMachineEnvironment(input: MachineEnvironmentReplace): Promise<MachineEnvironmentList>;
|
|
18126
18596
|
attention(args?: SystemAttentionArgs): Promise<SystemAttentionResult>;
|
|
@@ -18637,6 +19107,14 @@ interface ThreadsArea {
|
|
|
18637
19107
|
search(args: ThreadSearchArgs): Promise<ThreadSearchResult>;
|
|
18638
19108
|
send(args: ThreadSendArgs): Promise<ThreadSendResult>;
|
|
18639
19109
|
spawn(args: ThreadSpawnArgs): Promise<ThreadSpawnResult>;
|
|
19110
|
+
/**
|
|
19111
|
+
* Stop the thread's work and release its loaded runtime. An explicit stop
|
|
19112
|
+
* wins over running work: a turn the machine still runs while the thread
|
|
19113
|
+
* looks idle or failed, or a turn that starts while the stop is delivered,
|
|
19114
|
+
* is interrupted. The call waits for the interrupt attempt; if the machine
|
|
19115
|
+
* cannot confirm it, the thread remains stopping. Inspect its status before
|
|
19116
|
+
* treating the stop as confirmed.
|
|
19117
|
+
*/
|
|
18640
19118
|
stop(args: ThreadActionArgs): Promise<ThreadStopResult>;
|
|
18641
19119
|
tabs: ThreadTabsArea;
|
|
18642
19120
|
context(args: ThreadStatusArgs): Promise<ThreadContextResult>;
|
|
@@ -18667,6 +19145,7 @@ interface ThreadSectionsArea {
|
|
|
18667
19145
|
|
|
18668
19146
|
interface BbSdkAreas extends BbRealtime {
|
|
18669
19147
|
experimental_desktopBrowsers: ExperimentalDesktopBrowsersArea;
|
|
19148
|
+
experimental_server: ExperimentalServerArea;
|
|
18670
19149
|
environments: EnvironmentsArea;
|
|
18671
19150
|
files: FilesArea;
|
|
18672
19151
|
hosts: HostsArea;
|
|
@@ -19322,8 +19801,26 @@ interface MessageDispatchHookContext {
|
|
|
19322
19801
|
/** Whether this attempt starts a turn or joins a running one. */
|
|
19323
19802
|
attempt: PluginDispatchAttemptKind;
|
|
19324
19803
|
/**
|
|
19325
|
-
* The
|
|
19326
|
-
*
|
|
19804
|
+
* The author category shared by this dispatch's messages: `user`, `agent`,
|
|
19805
|
+
* or `system`. `mixed` means the queued messages have different categories.
|
|
19806
|
+
* Different agents still share the `agent` category; read `queuedMessages`
|
|
19807
|
+
* for each message's author. `mixed` is a hook summary, not a turn initiator.
|
|
19808
|
+
*/
|
|
19809
|
+
initiator: ThreadTurnInitiator | "mixed";
|
|
19810
|
+
/**
|
|
19811
|
+
* The thread that sent every message in this dispatch: a thread id, null
|
|
19812
|
+
* when none of them has a sender, or the literal `"mixed"` when the rows
|
|
19813
|
+
* disagree. A thread-start names its requesting thread; a message a human
|
|
19814
|
+
* typed and a core-driven retry have no sender. Null therefore still means
|
|
19815
|
+
* "nobody sent this" rather than "bb could not tell", so a handler may key
|
|
19816
|
+
* a human-versus-agent policy on it; `queuedMessages` names each row's own
|
|
19817
|
+
* sender. Thread ids are prefixed, so no id collides with `"mixed"`.
|
|
19818
|
+
*/
|
|
19819
|
+
senderThreadId: string | "mixed" | null;
|
|
19820
|
+
/**
|
|
19821
|
+
* All queued rows this attempt is re-trying, in dispatch order. Empty for
|
|
19822
|
+
* an inline attempt. Each row retains its own content, author, and origin; `input`
|
|
19823
|
+
* contains their combined input, and the hook decides for the whole group.
|
|
19327
19824
|
*
|
|
19328
19825
|
* This is how a hook tells a fresh send from a re-attempt of something it
|
|
19329
19826
|
* already decided about — the replacement for the old
|
|
@@ -19331,7 +19828,7 @@ interface MessageDispatchHookContext {
|
|
|
19331
19828
|
* should treat the two identically; a hook that logs should not
|
|
19332
19829
|
* double-count.
|
|
19333
19830
|
*/
|
|
19334
|
-
|
|
19831
|
+
queuedMessages: ThreadQueuedMessage[];
|
|
19335
19832
|
/**
|
|
19336
19833
|
* Opaque JSON supplied by a plugin through the composer's
|
|
19337
19834
|
* `experimental_submit`, paired with that plugin's id. Null for ordinary
|
|
@@ -19342,10 +19839,15 @@ interface MessageDispatchHookContext {
|
|
|
19342
19839
|
pluginId: string;
|
|
19343
19840
|
data: JsonValue;
|
|
19344
19841
|
} | null;
|
|
19345
|
-
/**
|
|
19346
|
-
|
|
19347
|
-
|
|
19348
|
-
|
|
19842
|
+
/**
|
|
19843
|
+
* How the dispatch was requested; null for internal/core-driven sends, which
|
|
19844
|
+
* includes every follow-up, steer and retry. Persisted with the queued row,
|
|
19845
|
+
* so a drained re-attempt reads what its first attempt read. For a grouped
|
|
19846
|
+
* dispatch, each field is its shared value or `"mixed"` when rows differ,
|
|
19847
|
+
* including a value versus null. Each queued row exposes its own origin.
|
|
19848
|
+
*/
|
|
19849
|
+
origin: ThreadCreateOrigin | "mixed" | null;
|
|
19850
|
+
originPluginId: string | "mixed" | null;
|
|
19349
19851
|
parentThreadId: string | null;
|
|
19350
19852
|
}
|
|
19351
19853
|
/**
|
|
@@ -20232,6 +20734,12 @@ interface PluginMentionItem {
|
|
|
20232
20734
|
id: string;
|
|
20233
20735
|
title: string;
|
|
20234
20736
|
subtitle?: string;
|
|
20737
|
+
/**
|
|
20738
|
+
* BB icon name: a built-in name, or a name the plugin's app bundle
|
|
20739
|
+
* registered with `app.experimental_icons.register()`. The row prefers the
|
|
20740
|
+
* plugin's own branding icon when it ships one; unknown names fall back to
|
|
20741
|
+
* the generic plugin icon.
|
|
20742
|
+
*/
|
|
20235
20743
|
icon?: string;
|
|
20236
20744
|
}
|
|
20237
20745
|
/** Agent-only image context resolved with a plugin mention. */
|
|
@@ -20498,4 +21006,4 @@ interface BbPluginApi {
|
|
|
20498
21006
|
}
|
|
20499
21007
|
|
|
20500
21008
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
|
|
20501
|
-
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, 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, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, 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, 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, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
21009
|
+
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, 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, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, 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, 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, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|