@get-bb/plugin-sdk 0.4.94 → 0.4.99
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 +55 -3
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +1 -0
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +18 -0
- package/bundled-types/bb-plugin-sdk-machine-provider.d.ts +2 -0
- 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 +16 -0
- package/bundled-types/bb-plugin-sdk.d.ts +482 -3
- package/dist/internal/host-policy.js +117 -93
- package/dist/provider-bridge-acp.js +2121 -1562
- package/dist/provider-bridge-testing.js +1301 -1228
- package/dist/provider-bridge.js +1819 -1311
- package/dist/testing/app.js +17 -0
- package/dist/testing/index.js +118 -93
- package/package.json +1 -1
|
@@ -50,6 +50,10 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
50
50
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
51
51
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
52
52
|
managedBranchPrefix: z$1.ZodString;
|
|
53
|
+
providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
|
|
54
|
+
collapse: "collapse";
|
|
55
|
+
flat: "flat";
|
|
56
|
+
}>>;
|
|
53
57
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
54
58
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
55
59
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -64,6 +68,10 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
64
68
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
65
69
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
66
70
|
managedBranchPrefix: z$1.ZodString;
|
|
71
|
+
providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
|
|
72
|
+
collapse: "collapse";
|
|
73
|
+
flat: "flat";
|
|
74
|
+
}>>;
|
|
67
75
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
68
76
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
69
77
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -77,6 +85,10 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
77
85
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
78
86
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
79
87
|
managedBranchPrefix: z$1.ZodString;
|
|
88
|
+
providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
|
|
89
|
+
collapse: "collapse";
|
|
90
|
+
flat: "flat";
|
|
91
|
+
}>>;
|
|
80
92
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
81
93
|
showKeyboardHints: z$1.ZodBoolean;
|
|
82
94
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
@@ -358,6 +370,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
358
370
|
"environment-availability-changed": "environment-availability-changed";
|
|
359
371
|
"plugins-changed": "plugins-changed";
|
|
360
372
|
"provider-registrations-changed": "provider-registrations-changed";
|
|
373
|
+
"server-move-changed": "server-move-changed";
|
|
361
374
|
"ui-preferences-changed": "ui-preferences-changed";
|
|
362
375
|
}>>>;
|
|
363
376
|
entity: z$1.ZodLiteral<"system">;
|
|
@@ -450,6 +463,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
450
463
|
changelogPreview: "changelogPreview";
|
|
451
464
|
mobileApp: "mobileApp";
|
|
452
465
|
multiMachinePicker: "multiMachinePicker";
|
|
466
|
+
serverMove: "serverMove";
|
|
453
467
|
sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
|
|
454
468
|
timelineWindowing: "timelineWindowing";
|
|
455
469
|
}>, z$1.ZodBoolean>;
|
|
@@ -2707,6 +2721,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
2707
2721
|
core: z$1.ZodEnum<{
|
|
2708
2722
|
"machine-environment": "machine-environment";
|
|
2709
2723
|
"machine-git": "machine-git";
|
|
2724
|
+
"project-environment": "project-environment";
|
|
2710
2725
|
}>;
|
|
2711
2726
|
}, z$1.core.$strict>]>;
|
|
2712
2727
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -2866,6 +2881,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
2866
2881
|
}>;
|
|
2867
2882
|
trigger: z$1.ZodEnum<{
|
|
2868
2883
|
"/": "/";
|
|
2884
|
+
$: "$";
|
|
2869
2885
|
}>;
|
|
2870
2886
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2871
2887
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -2947,6 +2963,7 @@ declare const threadEventSchema: z$1.ZodPipe<z$1.ZodUnknown, z$1.ZodUnion<readon
|
|
|
2947
2963
|
}>;
|
|
2948
2964
|
trigger: z$1.ZodEnum<{
|
|
2949
2965
|
"/": "/";
|
|
2966
|
+
$: "$";
|
|
2950
2967
|
}>;
|
|
2951
2968
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2952
2969
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -3832,6 +3849,7 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
3832
3849
|
}>;
|
|
3833
3850
|
trigger: z$1.ZodEnum<{
|
|
3834
3851
|
"/": "/";
|
|
3852
|
+
$: "$";
|
|
3835
3853
|
}>;
|
|
3836
3854
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3837
3855
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -3963,10 +3981,15 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
3963
3981
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
3964
3982
|
supportsThreadRename: z$1.ZodBoolean;
|
|
3965
3983
|
}, z$1.core.$strip>;
|
|
3984
|
+
completedTurnDisplay: z$1.ZodEnum<{
|
|
3985
|
+
collapse: "collapse";
|
|
3986
|
+
flat: "flat";
|
|
3987
|
+
}>;
|
|
3966
3988
|
composerActions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
3967
3989
|
kind: z$1.ZodLiteral<"skills">;
|
|
3968
3990
|
trigger: z$1.ZodEnum<{
|
|
3969
3991
|
"/": "/";
|
|
3992
|
+
$: "$";
|
|
3970
3993
|
}>;
|
|
3971
3994
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3972
3995
|
command: z$1.ZodObject<{
|
|
@@ -3974,6 +3997,7 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
3974
3997
|
trailingText: z$1.ZodString;
|
|
3975
3998
|
trigger: z$1.ZodEnum<{
|
|
3976
3999
|
"/": "/";
|
|
4000
|
+
$: "$";
|
|
3977
4001
|
}>;
|
|
3978
4002
|
}, z$1.core.$strip>;
|
|
3979
4003
|
kind: z$1.ZodLiteral<"plan">;
|
|
@@ -3983,6 +4007,7 @@ declare const providerInfoSchema: z$1.ZodObject<{
|
|
|
3983
4007
|
trailingText: z$1.ZodString;
|
|
3984
4008
|
trigger: z$1.ZodEnum<{
|
|
3985
4009
|
"/": "/";
|
|
4010
|
+
$: "$";
|
|
3986
4011
|
}>;
|
|
3987
4012
|
}, z$1.core.$strip>;
|
|
3988
4013
|
kind: z$1.ZodLiteral<"goal">;
|
|
@@ -4129,6 +4154,7 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4129
4154
|
}>;
|
|
4130
4155
|
trigger: z$1.ZodEnum<{
|
|
4131
4156
|
"/": "/";
|
|
4157
|
+
$: "$";
|
|
4132
4158
|
}>;
|
|
4133
4159
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4134
4160
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -4537,6 +4563,7 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
4537
4563
|
}>;
|
|
4538
4564
|
trigger: z$1.ZodEnum<{
|
|
4539
4565
|
"/": "/";
|
|
4566
|
+
$: "$";
|
|
4540
4567
|
}>;
|
|
4541
4568
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4542
4569
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -4734,6 +4761,7 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
4734
4761
|
id: z$1.ZodString;
|
|
4735
4762
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4736
4763
|
latestAttentionAt: z$1.ZodNumber;
|
|
4764
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
4737
4765
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
4738
4766
|
fork: "fork";
|
|
4739
4767
|
}>>;
|
|
@@ -4853,6 +4881,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
4853
4881
|
id: z$1.ZodString;
|
|
4854
4882
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4855
4883
|
latestAttentionAt: z$1.ZodNumber;
|
|
4884
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
4856
4885
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
4857
4886
|
fork: "fork";
|
|
4858
4887
|
}>>;
|
|
@@ -4970,6 +4999,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
4970
4999
|
id: z$1.ZodString;
|
|
4971
5000
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
4972
5001
|
latestAttentionAt: z$1.ZodNumber;
|
|
5002
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
4973
5003
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
4974
5004
|
fork: "fork";
|
|
4975
5005
|
}>>;
|
|
@@ -5879,6 +5909,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5879
5909
|
core: z$1.ZodEnum<{
|
|
5880
5910
|
"machine-environment": "machine-environment";
|
|
5881
5911
|
"machine-git": "machine-git";
|
|
5912
|
+
"project-environment": "project-environment";
|
|
5882
5913
|
}>;
|
|
5883
5914
|
}, z$1.core.$strict>]>;
|
|
5884
5915
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -6039,6 +6070,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6039
6070
|
core: z$1.ZodEnum<{
|
|
6040
6071
|
"machine-environment": "machine-environment";
|
|
6041
6072
|
"machine-git": "machine-git";
|
|
6073
|
+
"project-environment": "project-environment";
|
|
6042
6074
|
}>;
|
|
6043
6075
|
}, z$1.core.$strict>]>;
|
|
6044
6076
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -6153,6 +6185,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6153
6185
|
}>;
|
|
6154
6186
|
trigger: z$1.ZodEnum<{
|
|
6155
6187
|
"/": "/";
|
|
6188
|
+
$: "$";
|
|
6156
6189
|
}>;
|
|
6157
6190
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6158
6191
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6234,6 +6267,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6234
6267
|
}>;
|
|
6235
6268
|
trigger: z$1.ZodEnum<{
|
|
6236
6269
|
"/": "/";
|
|
6270
|
+
$: "$";
|
|
6237
6271
|
}>;
|
|
6238
6272
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6239
6273
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6400,6 +6434,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6400
6434
|
}>;
|
|
6401
6435
|
trigger: z$1.ZodEnum<{
|
|
6402
6436
|
"/": "/";
|
|
6437
|
+
$: "$";
|
|
6403
6438
|
}>;
|
|
6404
6439
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6405
6440
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6481,6 +6516,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6481
6516
|
}>;
|
|
6482
6517
|
trigger: z$1.ZodEnum<{
|
|
6483
6518
|
"/": "/";
|
|
6519
|
+
$: "$";
|
|
6484
6520
|
}>;
|
|
6485
6521
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6486
6522
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -6595,6 +6631,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6595
6631
|
core: z$1.ZodEnum<{
|
|
6596
6632
|
"machine-environment": "machine-environment";
|
|
6597
6633
|
"machine-git": "machine-git";
|
|
6634
|
+
"project-environment": "project-environment";
|
|
6598
6635
|
}>;
|
|
6599
6636
|
}, z$1.core.$strict>]>;
|
|
6600
6637
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -6698,6 +6735,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6698
6735
|
threadId: z$1.ZodString;
|
|
6699
6736
|
type: z$1.ZodLiteral<"thread.stop">;
|
|
6700
6737
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6738
|
+
activeTurnRetained: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
6701
6739
|
providerCheckpointId: z$1.ZodNullable<z$1.ZodString>;
|
|
6702
6740
|
}, z$1.core.$strict>, "settled", false>;
|
|
6703
6741
|
"thread.storage.delete": HostDaemonCommandDescriptor<"thread.storage.delete", z$1.ZodObject<{
|
|
@@ -6705,6 +6743,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6705
6743
|
threadId: z$1.ZodString;
|
|
6706
6744
|
type: z$1.ZodLiteral<"thread.storage.delete">;
|
|
6707
6745
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6746
|
+
activeTurnRetained: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
6708
6747
|
providerCheckpointId: z$1.ZodNullable<z$1.ZodString>;
|
|
6709
6748
|
}, z$1.core.$strict>, "settled", false>;
|
|
6710
6749
|
"thread.goal.clear": HostDaemonCommandDescriptor<"thread.goal.clear", z$1.ZodObject<{
|
|
@@ -6811,6 +6850,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6811
6850
|
core: z$1.ZodEnum<{
|
|
6812
6851
|
"machine-environment": "machine-environment";
|
|
6813
6852
|
"machine-git": "machine-git";
|
|
6853
|
+
"project-environment": "project-environment";
|
|
6814
6854
|
}>;
|
|
6815
6855
|
}, z$1.core.$strict>]>;
|
|
6816
6856
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -7031,6 +7071,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7031
7071
|
core: z$1.ZodEnum<{
|
|
7032
7072
|
"machine-environment": "machine-environment";
|
|
7033
7073
|
"machine-git": "machine-git";
|
|
7074
|
+
"project-environment": "project-environment";
|
|
7034
7075
|
}>;
|
|
7035
7076
|
}, z$1.core.$strict>]>;
|
|
7036
7077
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -7062,6 +7103,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7062
7103
|
core: z$1.ZodEnum<{
|
|
7063
7104
|
"machine-environment": "machine-environment";
|
|
7064
7105
|
"machine-git": "machine-git";
|
|
7106
|
+
"project-environment": "project-environment";
|
|
7065
7107
|
}>;
|
|
7066
7108
|
}, z$1.core.$strict>]>;
|
|
7067
7109
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -7232,6 +7274,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7232
7274
|
core: z$1.ZodEnum<{
|
|
7233
7275
|
"machine-environment": "machine-environment";
|
|
7234
7276
|
"machine-git": "machine-git";
|
|
7277
|
+
"project-environment": "project-environment";
|
|
7235
7278
|
}>;
|
|
7236
7279
|
}, z$1.core.$strict>]>;
|
|
7237
7280
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -7272,6 +7315,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7272
7315
|
core: z$1.ZodEnum<{
|
|
7273
7316
|
"machine-environment": "machine-environment";
|
|
7274
7317
|
"machine-git": "machine-git";
|
|
7318
|
+
"project-environment": "project-environment";
|
|
7275
7319
|
}>;
|
|
7276
7320
|
}, z$1.core.$strict>]>;
|
|
7277
7321
|
value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
|
|
@@ -8361,6 +8405,106 @@ declare const hostDaemonCommandRegistry: {
|
|
|
8361
8405
|
message: z$1.ZodString;
|
|
8362
8406
|
outcome: z$1.ZodLiteral<"unavailable">;
|
|
8363
8407
|
}, z$1.core.$strict>], "outcome">, "onlineRpc", true>;
|
|
8408
|
+
"server_move.inspect": HostDaemonCommandDescriptor<"server_move.inspect", z$1.ZodObject<{
|
|
8409
|
+
paths: z$1.ZodArray<z$1.ZodString>;
|
|
8410
|
+
port: z$1.ZodNumber;
|
|
8411
|
+
type: z$1.ZodLiteral<"server_move.inspect">;
|
|
8412
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8413
|
+
bbAppVersion: z$1.ZodString;
|
|
8414
|
+
codexCredentialsPresent: z$1.ZodBoolean;
|
|
8415
|
+
dataDir: z$1.ZodString;
|
|
8416
|
+
dataDirHasServerData: z$1.ZodBoolean;
|
|
8417
|
+
diskFreeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8418
|
+
existingServerData: z$1.ZodNullable<z$1.ZodObject<{
|
|
8419
|
+
path: z$1.ZodString;
|
|
8420
|
+
sizeBytes: z$1.ZodNumber;
|
|
8421
|
+
}, z$1.core.$strict>>;
|
|
8422
|
+
ghAuthenticated: z$1.ZodNullable<z$1.ZodBoolean>;
|
|
8423
|
+
pathsExist: z$1.ZodRecord<z$1.ZodString, z$1.ZodBoolean>;
|
|
8424
|
+
platform: z$1.ZodEnum<{
|
|
8425
|
+
darwin: "darwin";
|
|
8426
|
+
linux: "linux";
|
|
8427
|
+
unknown: "unknown";
|
|
8428
|
+
wsl: "wsl";
|
|
8429
|
+
}>;
|
|
8430
|
+
portAvailable: z$1.ZodBoolean;
|
|
8431
|
+
serverEntryAvailable: z$1.ZodBoolean;
|
|
8432
|
+
serviceManager: z$1.ZodEnum<{
|
|
8433
|
+
"systemd-system": "systemd-system";
|
|
8434
|
+
"systemd-user": "systemd-user";
|
|
8435
|
+
launchd: "launchd";
|
|
8436
|
+
none: "none";
|
|
8437
|
+
}>;
|
|
8438
|
+
timeZone: z$1.ZodNullable<z$1.ZodString>;
|
|
8439
|
+
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
8440
|
+
"server_move.probe": HostDaemonCommandDescriptor<"server_move.probe", z$1.ZodObject<{
|
|
8441
|
+
moveId: z$1.ZodString;
|
|
8442
|
+
type: z$1.ZodLiteral<"server_move.probe">;
|
|
8443
|
+
url: z$1.ZodString;
|
|
8444
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8445
|
+
message: z$1.ZodNullable<z$1.ZodString>;
|
|
8446
|
+
reachable: z$1.ZodBoolean;
|
|
8447
|
+
state: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8448
|
+
activating: "activating";
|
|
8449
|
+
pending: "pending";
|
|
8450
|
+
ready: "ready";
|
|
8451
|
+
}>>;
|
|
8452
|
+
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
8453
|
+
"server_move.prepare": HostDaemonCommandDescriptor<"server_move.prepare", z$1.ZodObject<{
|
|
8454
|
+
activationToken: z$1.ZodString;
|
|
8455
|
+
archive: z$1.ZodObject<{
|
|
8456
|
+
downloadPath: z$1.ZodString;
|
|
8457
|
+
sha256: z$1.ZodString;
|
|
8458
|
+
sizeBytes: z$1.ZodNumber;
|
|
8459
|
+
}, z$1.core.$strict>;
|
|
8460
|
+
archiveExistingServerData: z$1.ZodBoolean;
|
|
8461
|
+
bbApp: z$1.ZodNullable<z$1.ZodObject<{
|
|
8462
|
+
downloadPath: z$1.ZodString;
|
|
8463
|
+
sha256: z$1.ZodString;
|
|
8464
|
+
sizeBytes: z$1.ZodNumber;
|
|
8465
|
+
version: z$1.ZodString;
|
|
8466
|
+
}, z$1.core.$strict>>;
|
|
8467
|
+
bindHost: z$1.ZodNullable<z$1.ZodEnum<{
|
|
8468
|
+
"0.0.0.0": "0.0.0.0";
|
|
8469
|
+
"127.0.0.1": "127.0.0.1";
|
|
8470
|
+
}>>;
|
|
8471
|
+
moveId: z$1.ZodString;
|
|
8472
|
+
serverPort: z$1.ZodNumber;
|
|
8473
|
+
serverUrl: z$1.ZodString;
|
|
8474
|
+
sourceDataDir: z$1.ZodString;
|
|
8475
|
+
sourceServerHostId: z$1.ZodNullable<z$1.ZodString>;
|
|
8476
|
+
type: z$1.ZodLiteral<"server_move.prepare">;
|
|
8477
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8478
|
+
localServerUrl: z$1.ZodString;
|
|
8479
|
+
pid: z$1.ZodNumber;
|
|
8480
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
8481
|
+
"server_move.activate": HostDaemonCommandDescriptor<"server_move.activate", z$1.ZodObject<{
|
|
8482
|
+
activationToken: z$1.ZodString;
|
|
8483
|
+
lastMove: z$1.ZodObject<{
|
|
8484
|
+
completedAt: z$1.ZodNumber;
|
|
8485
|
+
fromHostId: z$1.ZodString;
|
|
8486
|
+
fromHostName: z$1.ZodString;
|
|
8487
|
+
moveId: z$1.ZodString;
|
|
8488
|
+
oldCopyDeletedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
8489
|
+
toHostId: z$1.ZodString;
|
|
8490
|
+
toHostName: z$1.ZodString;
|
|
8491
|
+
}, z$1.core.$strict>;
|
|
8492
|
+
moveId: z$1.ZodString;
|
|
8493
|
+
type: z$1.ZodLiteral<"server_move.activate">;
|
|
8494
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8495
|
+
ok: z$1.ZodLiteral<true>;
|
|
8496
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
8497
|
+
"server_move.abort": HostDaemonCommandDescriptor<"server_move.abort", z$1.ZodObject<{
|
|
8498
|
+
moveId: z$1.ZodString;
|
|
8499
|
+
type: z$1.ZodLiteral<"server_move.abort">;
|
|
8500
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8501
|
+
ok: z$1.ZodLiteral<true>;
|
|
8502
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
8503
|
+
"server_move.delete_old_copy": HostDaemonCommandDescriptor<"server_move.delete_old_copy", z$1.ZodObject<{
|
|
8504
|
+
type: z$1.ZodLiteral<"server_move.delete_old_copy">;
|
|
8505
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
8506
|
+
deleted: z$1.ZodBoolean;
|
|
8507
|
+
}, z$1.core.$strict>, "onlineRpc", false>;
|
|
8364
8508
|
};
|
|
8365
8509
|
type HostDaemonCommandRegistry = typeof hostDaemonCommandRegistry;
|
|
8366
8510
|
type AnyHostDaemonCommandDescriptor = HostDaemonCommandRegistry[keyof HostDaemonCommandRegistry];
|
|
@@ -9476,10 +9620,15 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9476
9620
|
supportsThreadArchive: z$1.ZodBoolean;
|
|
9477
9621
|
supportsThreadRename: z$1.ZodBoolean;
|
|
9478
9622
|
}, z$1.core.$strip>;
|
|
9623
|
+
completedTurnDisplay: z$1.ZodEnum<{
|
|
9624
|
+
collapse: "collapse";
|
|
9625
|
+
flat: "flat";
|
|
9626
|
+
}>;
|
|
9479
9627
|
composerActions: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
9480
9628
|
kind: z$1.ZodLiteral<"skills">;
|
|
9481
9629
|
trigger: z$1.ZodEnum<{
|
|
9482
9630
|
"/": "/";
|
|
9631
|
+
$: "$";
|
|
9483
9632
|
}>;
|
|
9484
9633
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
9485
9634
|
command: z$1.ZodObject<{
|
|
@@ -9487,6 +9636,7 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9487
9636
|
trailingText: z$1.ZodString;
|
|
9488
9637
|
trigger: z$1.ZodEnum<{
|
|
9489
9638
|
"/": "/";
|
|
9639
|
+
$: "$";
|
|
9490
9640
|
}>;
|
|
9491
9641
|
}, z$1.core.$strip>;
|
|
9492
9642
|
kind: z$1.ZodLiteral<"plan">;
|
|
@@ -9496,6 +9646,7 @@ declare const systemExecutionOptionsResponseSchema: z$1.ZodObject<{
|
|
|
9496
9646
|
trailingText: z$1.ZodString;
|
|
9497
9647
|
trigger: z$1.ZodEnum<{
|
|
9498
9648
|
"/": "/";
|
|
9649
|
+
$: "$";
|
|
9499
9650
|
}>;
|
|
9500
9651
|
}, z$1.core.$strip>;
|
|
9501
9652
|
kind: z$1.ZodLiteral<"goal">;
|
|
@@ -9763,6 +9914,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
9763
9914
|
changelogPreview: "changelogPreview";
|
|
9764
9915
|
mobileApp: "mobileApp";
|
|
9765
9916
|
multiMachinePicker: "multiMachinePicker";
|
|
9917
|
+
serverMove: "serverMove";
|
|
9766
9918
|
sidebarProgressiveDisclosure: "sidebarProgressiveDisclosure";
|
|
9767
9919
|
timelineWindowing: "timelineWindowing";
|
|
9768
9920
|
}>, z$1.ZodBoolean>;
|
|
@@ -9776,6 +9928,10 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
9776
9928
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
9777
9929
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
9778
9930
|
managedBranchPrefix: z$1.ZodString;
|
|
9931
|
+
providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
|
|
9932
|
+
collapse: "collapse";
|
|
9933
|
+
flat: "flat";
|
|
9934
|
+
}>>;
|
|
9779
9935
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
9780
9936
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
9781
9937
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -10341,6 +10497,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
10341
10497
|
}>;
|
|
10342
10498
|
trigger: z$1.ZodEnum<{
|
|
10343
10499
|
"/": "/";
|
|
10500
|
+
$: "$";
|
|
10344
10501
|
}>;
|
|
10345
10502
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10346
10503
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11471,6 +11628,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
11471
11628
|
}>;
|
|
11472
11629
|
trigger: z$1.ZodEnum<{
|
|
11473
11630
|
"/": "/";
|
|
11631
|
+
$: "$";
|
|
11474
11632
|
}>;
|
|
11475
11633
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11476
11634
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11508,6 +11666,7 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
11508
11666
|
"agent-only": "agent-only";
|
|
11509
11667
|
}>>;
|
|
11510
11668
|
}, z$1.core.$strip>], "type">>;
|
|
11669
|
+
lifecycleOwnerThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
11511
11670
|
model: z$1.ZodOptional<z$1.ZodString>;
|
|
11512
11671
|
origin: z$1.ZodEnum<{
|
|
11513
11672
|
app: "app";
|
|
@@ -11609,6 +11768,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
11609
11768
|
}>;
|
|
11610
11769
|
trigger: z$1.ZodEnum<{
|
|
11611
11770
|
"/": "/";
|
|
11771
|
+
$: "$";
|
|
11612
11772
|
}>;
|
|
11613
11773
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11614
11774
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11734,6 +11894,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
11734
11894
|
}>;
|
|
11735
11895
|
trigger: z$1.ZodEnum<{
|
|
11736
11896
|
"/": "/";
|
|
11897
|
+
$: "$";
|
|
11737
11898
|
}>;
|
|
11738
11899
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11739
11900
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11771,6 +11932,7 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
11771
11932
|
"agent-only": "agent-only";
|
|
11772
11933
|
}>>;
|
|
11773
11934
|
}, z$1.core.$strip>], "type">>>;
|
|
11935
|
+
lifecycleOwnerThreadId: z$1.ZodOptional<z$1.ZodString>;
|
|
11774
11936
|
origin: z$1.ZodDefault<z$1.ZodEnum<{
|
|
11775
11937
|
app: "app";
|
|
11776
11938
|
cli: "cli";
|
|
@@ -11856,6 +12018,7 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
11856
12018
|
}>;
|
|
11857
12019
|
trigger: z$1.ZodEnum<{
|
|
11858
12020
|
"/": "/";
|
|
12021
|
+
$: "$";
|
|
11859
12022
|
}>;
|
|
11860
12023
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11861
12024
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -11984,6 +12147,7 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
11984
12147
|
}>;
|
|
11985
12148
|
trigger: z$1.ZodEnum<{
|
|
11986
12149
|
"/": "/";
|
|
12150
|
+
$: "$";
|
|
11987
12151
|
}>;
|
|
11988
12152
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11989
12153
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12150,6 +12314,7 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
12150
12314
|
}>;
|
|
12151
12315
|
trigger: z$1.ZodEnum<{
|
|
12152
12316
|
"/": "/";
|
|
12317
|
+
$: "$";
|
|
12153
12318
|
}>;
|
|
12154
12319
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12155
12320
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12321,6 +12486,7 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
12321
12486
|
}>;
|
|
12322
12487
|
trigger: z$1.ZodEnum<{
|
|
12323
12488
|
"/": "/";
|
|
12489
|
+
$: "$";
|
|
12324
12490
|
}>;
|
|
12325
12491
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12326
12492
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12427,6 +12593,7 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
12427
12593
|
}>;
|
|
12428
12594
|
trigger: z$1.ZodEnum<{
|
|
12429
12595
|
"/": "/";
|
|
12596
|
+
$: "$";
|
|
12430
12597
|
}>;
|
|
12431
12598
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12432
12599
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12535,6 +12702,7 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
12535
12702
|
}>;
|
|
12536
12703
|
trigger: z$1.ZodEnum<{
|
|
12537
12704
|
"/": "/";
|
|
12705
|
+
$: "$";
|
|
12538
12706
|
}>;
|
|
12539
12707
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12540
12708
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -12664,6 +12832,7 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
12664
12832
|
id: z$1.ZodString;
|
|
12665
12833
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12666
12834
|
latestAttentionAt: z$1.ZodNumber;
|
|
12835
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12667
12836
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12668
12837
|
fork: "fork";
|
|
12669
12838
|
}>>;
|
|
@@ -12766,6 +12935,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
12766
12935
|
id: z$1.ZodString;
|
|
12767
12936
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12768
12937
|
latestAttentionAt: z$1.ZodNumber;
|
|
12938
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12769
12939
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12770
12940
|
fork: "fork";
|
|
12771
12941
|
}>>;
|
|
@@ -12859,6 +13029,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
12859
13029
|
id: z$1.ZodString;
|
|
12860
13030
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12861
13031
|
latestAttentionAt: z$1.ZodNumber;
|
|
13032
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12862
13033
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12863
13034
|
fork: "fork";
|
|
12864
13035
|
}>>;
|
|
@@ -12920,6 +13091,7 @@ declare const threadResponseSchema: z$1.ZodObject<{
|
|
|
12920
13091
|
id: z$1.ZodString;
|
|
12921
13092
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
12922
13093
|
latestAttentionAt: z$1.ZodNumber;
|
|
13094
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
12923
13095
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
12924
13096
|
fork: "fork";
|
|
12925
13097
|
}>>;
|
|
@@ -13080,6 +13252,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
13080
13252
|
id: z$1.ZodString;
|
|
13081
13253
|
lastReadAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13082
13254
|
latestAttentionAt: z$1.ZodNumber;
|
|
13255
|
+
lifecycleOwnerThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
13083
13256
|
originKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
13084
13257
|
fork: "fork";
|
|
13085
13258
|
}>>;
|
|
@@ -13423,6 +13596,7 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
13423
13596
|
}>;
|
|
13424
13597
|
trigger: z$1.ZodEnum<{
|
|
13425
13598
|
"/": "/";
|
|
13599
|
+
$: "$";
|
|
13426
13600
|
}>;
|
|
13427
13601
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13428
13602
|
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
@@ -13923,6 +14097,10 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
13923
14097
|
}, z$1.core.$strip>>;
|
|
13924
14098
|
workflowName: z$1.ZodNullable<z$1.ZodString>;
|
|
13925
14099
|
}, z$1.core.$strip>>;
|
|
14100
|
+
completedTurnDisplay: z$1.ZodEnum<{
|
|
14101
|
+
collapse: "collapse";
|
|
14102
|
+
flat: "flat";
|
|
14103
|
+
}>;
|
|
13926
14104
|
contextBoundarySeq: z$1.ZodNullable<z$1.ZodNumber>;
|
|
13927
14105
|
contextWindowUsage: z$1.ZodOptional<z$1.ZodObject<{
|
|
13928
14106
|
estimated: z$1.ZodBoolean;
|
|
@@ -14165,6 +14343,169 @@ type ExperimentalDesktopBrowserImportCookiesInput = z$1.input<typeof desktopBrow
|
|
|
14165
14343
|
type ExperimentalDesktopBrowserImportSources = DesktopBrowserResult<"desktop.browser.list_import_sources">;
|
|
14166
14344
|
type ExperimentalDesktopBrowserImportOutcome = DesktopBrowserResult<"desktop.browser.import_cookies">;
|
|
14167
14345
|
|
|
14346
|
+
declare const serverMoveStatusSchema: z$1.ZodObject<{
|
|
14347
|
+
cancellable: z$1.ZodBoolean;
|
|
14348
|
+
destinationStatusUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14349
|
+
error: z$1.ZodNullable<z$1.ZodObject<{
|
|
14350
|
+
message: z$1.ZodString;
|
|
14351
|
+
step: z$1.ZodEnum<{
|
|
14352
|
+
"start-target": "start-target";
|
|
14353
|
+
"stop-work": "stop-work";
|
|
14354
|
+
"update-target": "update-target";
|
|
14355
|
+
"verify-address": "verify-address";
|
|
14356
|
+
export: "export";
|
|
14357
|
+
switch: "switch";
|
|
14358
|
+
transfer: "transfer";
|
|
14359
|
+
}>;
|
|
14360
|
+
}, z$1.core.$strict>>;
|
|
14361
|
+
finishedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14362
|
+
mode: z$1.ZodEnum<{
|
|
14363
|
+
connect: "connect";
|
|
14364
|
+
direct: "direct";
|
|
14365
|
+
}>;
|
|
14366
|
+
moveId: z$1.ZodString;
|
|
14367
|
+
serverUrl: z$1.ZodString;
|
|
14368
|
+
startedAt: z$1.ZodNumber;
|
|
14369
|
+
state: z$1.ZodEnum<{
|
|
14370
|
+
cancelled: "cancelled";
|
|
14371
|
+
completed: "completed";
|
|
14372
|
+
failed: "failed";
|
|
14373
|
+
preparing: "preparing";
|
|
14374
|
+
recovery_required: "recovery_required";
|
|
14375
|
+
switching: "switching";
|
|
14376
|
+
}>;
|
|
14377
|
+
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
14378
|
+
id: z$1.ZodEnum<{
|
|
14379
|
+
"start-target": "start-target";
|
|
14380
|
+
"stop-work": "stop-work";
|
|
14381
|
+
"update-target": "update-target";
|
|
14382
|
+
"verify-address": "verify-address";
|
|
14383
|
+
export: "export";
|
|
14384
|
+
switch: "switch";
|
|
14385
|
+
transfer: "transfer";
|
|
14386
|
+
}>;
|
|
14387
|
+
message: z$1.ZodNullable<z$1.ZodString>;
|
|
14388
|
+
status: z$1.ZodEnum<{
|
|
14389
|
+
done: "done";
|
|
14390
|
+
failed: "failed";
|
|
14391
|
+
pending: "pending";
|
|
14392
|
+
running: "running";
|
|
14393
|
+
skipped: "skipped";
|
|
14394
|
+
}>;
|
|
14395
|
+
}, z$1.core.$strict>>;
|
|
14396
|
+
targetHostId: z$1.ZodString;
|
|
14397
|
+
targetHostName: z$1.ZodString;
|
|
14398
|
+
}, z$1.core.$strict>;
|
|
14399
|
+
type ServerMoveStatus = z$1.infer<typeof serverMoveStatusSchema>;
|
|
14400
|
+
declare const serverMoveStatusResponseSchema: z$1.ZodObject<{
|
|
14401
|
+
lastMove: z$1.ZodNullable<z$1.ZodObject<{
|
|
14402
|
+
completedAt: z$1.ZodNumber;
|
|
14403
|
+
fromHostId: z$1.ZodString;
|
|
14404
|
+
fromHostName: z$1.ZodString;
|
|
14405
|
+
moveId: z$1.ZodString;
|
|
14406
|
+
oldCopyDeletedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14407
|
+
toHostId: z$1.ZodString;
|
|
14408
|
+
toHostName: z$1.ZodString;
|
|
14409
|
+
}, z$1.core.$strict>>;
|
|
14410
|
+
move: z$1.ZodNullable<z$1.ZodObject<{
|
|
14411
|
+
cancellable: z$1.ZodBoolean;
|
|
14412
|
+
destinationStatusUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14413
|
+
error: z$1.ZodNullable<z$1.ZodObject<{
|
|
14414
|
+
message: z$1.ZodString;
|
|
14415
|
+
step: z$1.ZodEnum<{
|
|
14416
|
+
"start-target": "start-target";
|
|
14417
|
+
"stop-work": "stop-work";
|
|
14418
|
+
"update-target": "update-target";
|
|
14419
|
+
"verify-address": "verify-address";
|
|
14420
|
+
export: "export";
|
|
14421
|
+
switch: "switch";
|
|
14422
|
+
transfer: "transfer";
|
|
14423
|
+
}>;
|
|
14424
|
+
}, z$1.core.$strict>>;
|
|
14425
|
+
finishedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14426
|
+
mode: z$1.ZodEnum<{
|
|
14427
|
+
connect: "connect";
|
|
14428
|
+
direct: "direct";
|
|
14429
|
+
}>;
|
|
14430
|
+
moveId: z$1.ZodString;
|
|
14431
|
+
serverUrl: z$1.ZodString;
|
|
14432
|
+
startedAt: z$1.ZodNumber;
|
|
14433
|
+
state: z$1.ZodEnum<{
|
|
14434
|
+
cancelled: "cancelled";
|
|
14435
|
+
completed: "completed";
|
|
14436
|
+
failed: "failed";
|
|
14437
|
+
preparing: "preparing";
|
|
14438
|
+
recovery_required: "recovery_required";
|
|
14439
|
+
switching: "switching";
|
|
14440
|
+
}>;
|
|
14441
|
+
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
14442
|
+
id: z$1.ZodEnum<{
|
|
14443
|
+
"start-target": "start-target";
|
|
14444
|
+
"stop-work": "stop-work";
|
|
14445
|
+
"update-target": "update-target";
|
|
14446
|
+
"verify-address": "verify-address";
|
|
14447
|
+
export: "export";
|
|
14448
|
+
switch: "switch";
|
|
14449
|
+
transfer: "transfer";
|
|
14450
|
+
}>;
|
|
14451
|
+
message: z$1.ZodNullable<z$1.ZodString>;
|
|
14452
|
+
status: z$1.ZodEnum<{
|
|
14453
|
+
done: "done";
|
|
14454
|
+
failed: "failed";
|
|
14455
|
+
pending: "pending";
|
|
14456
|
+
running: "running";
|
|
14457
|
+
skipped: "skipped";
|
|
14458
|
+
}>;
|
|
14459
|
+
}, z$1.core.$strict>>;
|
|
14460
|
+
targetHostId: z$1.ZodString;
|
|
14461
|
+
targetHostName: z$1.ZodString;
|
|
14462
|
+
}, z$1.core.$strict>>;
|
|
14463
|
+
}, z$1.core.$strict>;
|
|
14464
|
+
type ServerMoveStatusResponse = z$1.infer<typeof serverMoveStatusResponseSchema>;
|
|
14465
|
+
declare const serverMoveCheckRequestSchema: z$1.ZodObject<{
|
|
14466
|
+
serverUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14467
|
+
targetHostId: z$1.ZodString;
|
|
14468
|
+
}, z$1.core.$strict>;
|
|
14469
|
+
type ServerMoveCheckRequest = z$1.infer<typeof serverMoveCheckRequestSchema>;
|
|
14470
|
+
declare const serverMoveCheckResponseSchema: z$1.ZodObject<{
|
|
14471
|
+
canMove: z$1.ZodBoolean;
|
|
14472
|
+
existingTargetServerData: z$1.ZodNullable<z$1.ZodObject<{
|
|
14473
|
+
path: z$1.ZodString;
|
|
14474
|
+
sizeBytes: z$1.ZodNumber;
|
|
14475
|
+
}, z$1.core.$strict>>;
|
|
14476
|
+
items: z$1.ZodArray<z$1.ZodObject<{
|
|
14477
|
+
detail: z$1.ZodNullable<z$1.ZodString>;
|
|
14478
|
+
id: z$1.ZodString;
|
|
14479
|
+
severity: z$1.ZodEnum<{
|
|
14480
|
+
blocker: "blocker";
|
|
14481
|
+
info: "info";
|
|
14482
|
+
warning: "warning";
|
|
14483
|
+
}>;
|
|
14484
|
+
title: z$1.ZodString;
|
|
14485
|
+
}, z$1.core.$strict>>;
|
|
14486
|
+
mode: z$1.ZodEnum<{
|
|
14487
|
+
connect: "connect";
|
|
14488
|
+
direct: "direct";
|
|
14489
|
+
}>;
|
|
14490
|
+
requiresServerUrl: z$1.ZodBoolean;
|
|
14491
|
+
serverUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14492
|
+
targetDataDir: z$1.ZodNullable<z$1.ZodString>;
|
|
14493
|
+
targetHostId: z$1.ZodString;
|
|
14494
|
+
targetHostName: z$1.ZodString;
|
|
14495
|
+
}, z$1.core.$strict>;
|
|
14496
|
+
type ServerMoveCheckResponse = z$1.infer<typeof serverMoveCheckResponseSchema>;
|
|
14497
|
+
declare const serverMoveStartRequestSchema: z$1.ZodObject<{
|
|
14498
|
+
archiveExistingTargetServerData: z$1.ZodBoolean;
|
|
14499
|
+
serverUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
14500
|
+
stopRunningWork: z$1.ZodLiteral<true>;
|
|
14501
|
+
targetHostId: z$1.ZodString;
|
|
14502
|
+
}, z$1.core.$strict>;
|
|
14503
|
+
type ServerMoveStartRequest = z$1.infer<typeof serverMoveStartRequestSchema>;
|
|
14504
|
+
declare const deleteOldServerCopyResponseSchema: z$1.ZodObject<{
|
|
14505
|
+
deleted: z$1.ZodBoolean;
|
|
14506
|
+
}, z$1.core.$strict>;
|
|
14507
|
+
type DeleteOldServerCopyResponse = z$1.infer<typeof deleteOldServerCopyResponseSchema>;
|
|
14508
|
+
|
|
14168
14509
|
declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
14169
14510
|
revision: z$1.ZodNumber;
|
|
14170
14511
|
tabs: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
@@ -14446,6 +14787,12 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
|
|
|
14446
14787
|
}, z$1.core.$strict>;
|
|
14447
14788
|
type UpdateThreadTabsRequest = z$1.infer<typeof updateThreadTabsRequestSchema>;
|
|
14448
14789
|
|
|
14790
|
+
declare const machineEnvironmentSetSchema: z$1.ZodObject<{
|
|
14791
|
+
name: z$1.ZodString;
|
|
14792
|
+
note: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
|
|
14793
|
+
value: z$1.ZodString;
|
|
14794
|
+
}, z$1.core.$strict>;
|
|
14795
|
+
type MachineEnvironmentSet = z$1.infer<typeof machineEnvironmentSetSchema>;
|
|
14449
14796
|
declare const machineEnvironmentListSchema: z$1.ZodObject<{
|
|
14450
14797
|
builtInGit: z$1.ZodObject<{
|
|
14451
14798
|
status: z$1.ZodEnum<{
|
|
@@ -14464,6 +14811,30 @@ declare const machineEnvironmentListSchema: z$1.ZodObject<{
|
|
|
14464
14811
|
}, z$1.core.$strict>>;
|
|
14465
14812
|
}, z$1.core.$strip>;
|
|
14466
14813
|
type MachineEnvironmentList = z$1.infer<typeof machineEnvironmentListSchema>;
|
|
14814
|
+
declare const projectMachineEnvironmentListSchema: z$1.ZodObject<{
|
|
14815
|
+
builtInGit: z$1.ZodObject<{
|
|
14816
|
+
status: z$1.ZodEnum<{
|
|
14817
|
+
"logged in": "logged in";
|
|
14818
|
+
"not logged in": "not logged in";
|
|
14819
|
+
disabled: "disabled";
|
|
14820
|
+
overridden: "overridden";
|
|
14821
|
+
}>;
|
|
14822
|
+
statusMessage: z$1.ZodString;
|
|
14823
|
+
}, z$1.core.$strip>;
|
|
14824
|
+
inheritedVariables: z$1.ZodArray<z$1.ZodObject<{
|
|
14825
|
+
name: z$1.ZodString;
|
|
14826
|
+
note: z$1.ZodNullable<z$1.ZodString>;
|
|
14827
|
+
secret: z$1.ZodLiteral<true>;
|
|
14828
|
+
value: z$1.ZodNull;
|
|
14829
|
+
}, z$1.core.$strict>>;
|
|
14830
|
+
variables: z$1.ZodArray<z$1.ZodObject<{
|
|
14831
|
+
name: z$1.ZodString;
|
|
14832
|
+
note: z$1.ZodNullable<z$1.ZodString>;
|
|
14833
|
+
secret: z$1.ZodLiteral<true>;
|
|
14834
|
+
value: z$1.ZodNull;
|
|
14835
|
+
}, z$1.core.$strict>>;
|
|
14836
|
+
}, z$1.core.$strip>;
|
|
14837
|
+
type ProjectMachineEnvironmentList = z$1.infer<typeof projectMachineEnvironmentListSchema>;
|
|
14467
14838
|
|
|
14468
14839
|
/**
|
|
14469
14840
|
* A value that survives a JSON round trip without coercion or data loss.
|
|
@@ -14743,6 +15114,34 @@ interface PluginThreadHeaderActionProps {
|
|
|
14743
15114
|
*/
|
|
14744
15115
|
isCompactViewport: boolean;
|
|
14745
15116
|
}
|
|
15117
|
+
/** JavaScript world a Browser page expression runs in. */
|
|
15118
|
+
type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
|
|
15119
|
+
interface ExperimentalPluginBrowserPageEvaluateOptions {
|
|
15120
|
+
/**
|
|
15121
|
+
* `isolated` (default) runs in a BB-owned world that shares the page DOM but
|
|
15122
|
+
* not page globals, and binds `bb.postMessage(data)`. `main` runs beside the
|
|
15123
|
+
* page's own scripts, where `bb` is `null`.
|
|
15124
|
+
*/
|
|
15125
|
+
world?: ExperimentalPluginBrowserPageWorld;
|
|
15126
|
+
}
|
|
15127
|
+
/**
|
|
15128
|
+
* Script access to the top-level document of one Browser tab. Independent of
|
|
15129
|
+
* CDP control leases: it never attaches a debugger or shows a control banner.
|
|
15130
|
+
*/
|
|
15131
|
+
interface ExperimentalPluginBrowserPage {
|
|
15132
|
+
/**
|
|
15133
|
+
* Evaluate a JavaScript expression and resolve its JSON-serialized value.
|
|
15134
|
+
* Promises are awaited and `undefined` resolves to `null`. The expression
|
|
15135
|
+
* can reference `bb`. Rejects when the tab is gone or the expression throws.
|
|
15136
|
+
* Anything the expression installs is lost when the document navigates.
|
|
15137
|
+
*/
|
|
15138
|
+
evaluate(expression: string, options?: ExperimentalPluginBrowserPageEvaluateOptions): Promise<JsonValue>;
|
|
15139
|
+
/**
|
|
15140
|
+
* Subscribe to values this plugin's isolated-world scripts in this tab send
|
|
15141
|
+
* with `bb.postMessage(data)`. Returns the unsubscribe function.
|
|
15142
|
+
*/
|
|
15143
|
+
onMessage(listener: (data: JsonValue) => void): () => void;
|
|
15144
|
+
}
|
|
14746
15145
|
interface ExperimentalPluginBrowserToolbarActionProps {
|
|
14747
15146
|
/** Thread that owns the Browser tab. */
|
|
14748
15147
|
threadId: string;
|
|
@@ -14752,6 +15151,8 @@ interface ExperimentalPluginBrowserToolbarActionProps {
|
|
|
14752
15151
|
url: string;
|
|
14753
15152
|
/** True when the Browser chrome needs compact controls. */
|
|
14754
15153
|
isCompactViewport: boolean;
|
|
15154
|
+
/** Script access to this tab's page; `null` outside the desktop app. */
|
|
15155
|
+
experimental_page: ExperimentalPluginBrowserPage | null;
|
|
14755
15156
|
}
|
|
14756
15157
|
/**
|
|
14757
15158
|
* Where a file being opened by a `fileOpener` lives. `path` semantics follow
|
|
@@ -16342,6 +16743,13 @@ interface PluginComposerApi {
|
|
|
16342
16743
|
* content should be fetched fresh when the message is sent.
|
|
16343
16744
|
*/
|
|
16344
16745
|
insertMention(mention: PluginComposerMention): void;
|
|
16746
|
+
/** Remove this plugin's matching mention pills and their text from the current draft. */
|
|
16747
|
+
experimental_removeMention(mention: {
|
|
16748
|
+
provider: string;
|
|
16749
|
+
id: string;
|
|
16750
|
+
}): void;
|
|
16751
|
+
/** Subscribe to successful local submissions in this composer scope, including accepted queued messages. Failed sends and draft clearing do not notify. Dispose on unmount. */
|
|
16752
|
+
experimental_onSubmitted(listener: () => void): () => void;
|
|
16345
16753
|
/** Focus the composer caret at the end of the draft. */
|
|
16346
16754
|
focus(): void;
|
|
16347
16755
|
/**
|
|
@@ -16696,7 +17104,13 @@ interface NewThreadComposerProps {
|
|
|
16696
17104
|
* the original `default` submission would have created from.
|
|
16697
17105
|
*/
|
|
16698
17106
|
defaultEnvironment?: CreateThreadEnvironmentArgs;
|
|
16699
|
-
/**
|
|
17107
|
+
/**
|
|
17108
|
+
* Seeds the draft, only while the draft is still empty. Serialized
|
|
17109
|
+
* `@thread:<id>`, `@project:<id>`, and `@section:<id>` tokens become mention
|
|
17110
|
+
* pills with host-resolved titles/names. Missing projects/sections use their
|
|
17111
|
+
* IDs; unavailable generated thread IDs use "Unavailable thread" ("Thread"
|
|
17112
|
+
* if lookup fails). Other unknown thread IDs use the ID as their label.
|
|
17113
|
+
*/
|
|
16700
17114
|
initialPrompt?: string;
|
|
16701
17115
|
placeholder?: string;
|
|
16702
17116
|
/**
|
|
@@ -16831,7 +17245,8 @@ interface BbNavigate {
|
|
|
16831
17245
|
}): void;
|
|
16832
17246
|
/**
|
|
16833
17247
|
* Navigate to the root compose surface (the new-thread screen). Pass
|
|
16834
|
-
* `initialPrompt` to seed the composer draft
|
|
17248
|
+
* `initialPrompt` to seed the composer draft (serialized thread, project,
|
|
17249
|
+
* and section mention tokens become pills) and `focusPrompt` to focus the
|
|
16835
17250
|
* composer on arrival — the pairing behind "Create via chat" style entry
|
|
16836
17251
|
* points that drop the user into chat with a prefilled prompt.
|
|
16837
17252
|
*/
|
|
@@ -17083,7 +17498,9 @@ interface PluginMachineProviderDefinition<S extends PluginMachineProviderInputsS
|
|
|
17083
17498
|
report: PluginMachineProviderProgress;
|
|
17084
17499
|
signal: AbortSignal;
|
|
17085
17500
|
}): Promise<PluginMachineProviderRemoveResult>;
|
|
17501
|
+
/** Idempotent: preserve saved state when compute is already stopped; save and stop any remaining compute, including during reconciliation of a suspended machine. */
|
|
17086
17502
|
suspend?(context: PluginMachineProviderResourceLifecycleContext): Promise<PluginMachineProviderResourceResult>;
|
|
17503
|
+
/** Idempotent: reuse existing running compute instead of allocating a duplicate. */
|
|
17087
17504
|
resume?(context: PluginMachineProviderResourceLifecycleContext): Promise<PluginMachineProviderResourceResult>;
|
|
17088
17505
|
remove(context: PluginMachineProviderRemoveContext): Promise<PluginMachineProviderRemoveResult>;
|
|
17089
17506
|
}
|
|
@@ -17511,6 +17928,7 @@ interface HostsArea {
|
|
|
17511
17928
|
experimental_getEnrollmentCommand(args: HostGetArgs): Promise<HostEnrollmentCommandResult>;
|
|
17512
17929
|
createJoinCode(): Promise<HostCreateJoinCodeResult>;
|
|
17513
17930
|
delete(args: HostDeleteArgs): Promise<HostDeleteResult>;
|
|
17931
|
+
experimental_deleteOldServerCopy(args: HostActionArgs): Promise<DeleteOldServerCopyResponse>;
|
|
17514
17932
|
directory(args: HostDirectoryArgs): Promise<HostDirectoryResult>;
|
|
17515
17933
|
get(args: HostGetArgs): Promise<HostGetResult>;
|
|
17516
17934
|
cloneDefaultPath(args: HostCloneDefaultPathArgs): Promise<HostCloneDefaultPathResult>;
|
|
@@ -17524,9 +17942,32 @@ interface HostsArea {
|
|
|
17524
17942
|
experimental_retryCleanup(args: HostActionArgs): Promise<HostActionResult>;
|
|
17525
17943
|
retryUpdate(args: HostRetryUpdateArgs): Promise<HostRetryUpdateResult>;
|
|
17526
17944
|
experimental_suspend(args: HostActionArgs): Promise<Host>;
|
|
17945
|
+
experimental_reconcile(args: HostActionArgs): Promise<Host>;
|
|
17527
17946
|
update(args: HostUpdateArgs): Promise<HostUpdateResult>;
|
|
17528
17947
|
}
|
|
17529
17948
|
|
|
17949
|
+
interface ServerMoveCheckArgs extends ServerMoveCheckRequest {
|
|
17950
|
+
signal?: AbortSignal;
|
|
17951
|
+
}
|
|
17952
|
+
interface ServerMoveStatusArgs {
|
|
17953
|
+
signal?: AbortSignal;
|
|
17954
|
+
}
|
|
17955
|
+
interface ServerExportArgs {
|
|
17956
|
+
signal?: AbortSignal;
|
|
17957
|
+
}
|
|
17958
|
+
interface ServerExportResult {
|
|
17959
|
+
fileName: string;
|
|
17960
|
+
body: ReadableStream<Uint8Array>;
|
|
17961
|
+
sha256: string;
|
|
17962
|
+
}
|
|
17963
|
+
interface ExperimentalServerArea {
|
|
17964
|
+
checkMove(args: ServerMoveCheckArgs): Promise<ServerMoveCheckResponse>;
|
|
17965
|
+
startMove(args: ServerMoveStartRequest): Promise<ServerMoveStatus>;
|
|
17966
|
+
moveStatus(args?: ServerMoveStatusArgs): Promise<ServerMoveStatusResponse>;
|
|
17967
|
+
cancelMove(): Promise<ServerMoveStatus>;
|
|
17968
|
+
export(args?: ServerExportArgs): Promise<ServerExportResult>;
|
|
17969
|
+
}
|
|
17970
|
+
|
|
17530
17971
|
interface ProjectListArgs {
|
|
17531
17972
|
include?: ProjectListQuery["include"];
|
|
17532
17973
|
includePersonal?: boolean;
|
|
@@ -17666,6 +18107,19 @@ interface ProjectAttachmentsArea {
|
|
|
17666
18107
|
upload(args: ProjectAttachmentUploadArgs): Promise<ProjectAttachmentUploadResult>;
|
|
17667
18108
|
}
|
|
17668
18109
|
interface ProjectsArea {
|
|
18110
|
+
machineEnvironment(args: {
|
|
18111
|
+
projectId: string;
|
|
18112
|
+
}): Promise<ProjectMachineEnvironmentList>;
|
|
18113
|
+
replaceMachineEnvironment(args: {
|
|
18114
|
+
projectId: string;
|
|
18115
|
+
} & MachineEnvironmentReplace): Promise<ProjectMachineEnvironmentList>;
|
|
18116
|
+
setMachineEnvironmentVariable(args: {
|
|
18117
|
+
projectId: string;
|
|
18118
|
+
} & MachineEnvironmentSet): Promise<ProjectMachineEnvironmentList>;
|
|
18119
|
+
deleteMachineEnvironmentVariable(args: {
|
|
18120
|
+
projectId: string;
|
|
18121
|
+
name: string;
|
|
18122
|
+
}): Promise<ProjectMachineEnvironmentList>;
|
|
17669
18123
|
attachments: ProjectAttachmentsArea;
|
|
17670
18124
|
branches(args: ProjectBranchesArgs): Promise<ProjectBranchesResult>;
|
|
17671
18125
|
commands(args: ProjectCommandsArgs): Promise<ProjectCommandsResult>;
|
|
@@ -18083,6 +18537,10 @@ interface SystemUiPreferencesArea {
|
|
|
18083
18537
|
reset<Key extends UiPreferenceKey>(args: SystemResetUiPreferenceArgs<Key>): Promise<SystemUiPreferenceResult<Key>>;
|
|
18084
18538
|
}
|
|
18085
18539
|
interface SystemArea {
|
|
18540
|
+
setMachineEnvironmentVariable(input: MachineEnvironmentSet): Promise<MachineEnvironmentList>;
|
|
18541
|
+
deleteMachineEnvironmentVariable(input: {
|
|
18542
|
+
name: string;
|
|
18543
|
+
}): Promise<MachineEnvironmentList>;
|
|
18086
18544
|
machineEnvironment(): Promise<MachineEnvironmentList>;
|
|
18087
18545
|
replaceMachineEnvironment(input: MachineEnvironmentReplace): Promise<MachineEnvironmentList>;
|
|
18088
18546
|
attention(args?: SystemAttentionArgs): Promise<SystemAttentionResult>;
|
|
@@ -18599,6 +19057,14 @@ interface ThreadsArea {
|
|
|
18599
19057
|
search(args: ThreadSearchArgs): Promise<ThreadSearchResult>;
|
|
18600
19058
|
send(args: ThreadSendArgs): Promise<ThreadSendResult>;
|
|
18601
19059
|
spawn(args: ThreadSpawnArgs): Promise<ThreadSpawnResult>;
|
|
19060
|
+
/**
|
|
19061
|
+
* Stop the thread's work and release its loaded runtime. An explicit stop
|
|
19062
|
+
* wins over running work: a turn the machine still runs while the thread
|
|
19063
|
+
* looks idle or failed, or a turn that starts while the stop is delivered,
|
|
19064
|
+
* is interrupted. The call waits for the interrupt attempt; if the machine
|
|
19065
|
+
* cannot confirm it, the thread remains stopping. Inspect its status before
|
|
19066
|
+
* treating the stop as confirmed.
|
|
19067
|
+
*/
|
|
18602
19068
|
stop(args: ThreadActionArgs): Promise<ThreadStopResult>;
|
|
18603
19069
|
tabs: ThreadTabsArea;
|
|
18604
19070
|
context(args: ThreadStatusArgs): Promise<ThreadContextResult>;
|
|
@@ -18629,6 +19095,7 @@ interface ThreadSectionsArea {
|
|
|
18629
19095
|
|
|
18630
19096
|
interface BbSdkAreas extends BbRealtime {
|
|
18631
19097
|
experimental_desktopBrowsers: ExperimentalDesktopBrowsersArea;
|
|
19098
|
+
experimental_server: ExperimentalServerArea;
|
|
18632
19099
|
environments: EnvironmentsArea;
|
|
18633
19100
|
files: FilesArea;
|
|
18634
19101
|
hosts: HostsArea;
|
|
@@ -19863,6 +20330,8 @@ interface PluginProviderOptionsContext {
|
|
|
19863
20330
|
}
|
|
19864
20331
|
/** See {@link PluginProviderDeclaration.models}. */
|
|
19865
20332
|
type PluginProviderModelCatalogScope = "host" | "workspace";
|
|
20333
|
+
/** See {@link PluginProviderDeclaration.completedTurnDisplay}. */
|
|
20334
|
+
type PluginProviderCompletedTurnDisplay = "collapse" | "flat";
|
|
19866
20335
|
/**
|
|
19867
20336
|
* One cold-cache fallback model. The provider's live `model/list` result is
|
|
19868
20337
|
* the only real model source; this list stands in only while no probe has
|
|
@@ -19971,6 +20440,16 @@ interface PluginProviderDeclaration {
|
|
|
19971
20440
|
/** Composer actions this provider supports. No duplicates; may be empty
|
|
19972
20441
|
* (the universal skills typeahead is implicit). */
|
|
19973
20442
|
composerActions: readonly PluginProviderComposerAction[];
|
|
20443
|
+
/**
|
|
20444
|
+
* How the thread timeline shows this provider's turns once they finish.
|
|
20445
|
+
* `"collapse"` (the default) folds a finished turn's work into one
|
|
20446
|
+
* "Worked for" row and leaves the final answer visible. `"flat"` keeps
|
|
20447
|
+
* every row of a finished turn visible, as it was while the turn ran. This
|
|
20448
|
+
* is only the provider's default: the user can choose either display for
|
|
20449
|
+
* each provider in Settings → Providers or with
|
|
20450
|
+
* `bb settings completed-turns`, and that choice wins.
|
|
20451
|
+
*/
|
|
20452
|
+
completedTurnDisplay?: PluginProviderCompletedTurnDisplay;
|
|
19974
20453
|
/** Provider copy for core surfaces ({@link PluginProviderStrings}). */
|
|
19975
20454
|
strings?: PluginProviderStrings;
|
|
19976
20455
|
/** Service tiers this provider accepts, as picker options. Non-empty when
|
|
@@ -20448,4 +20927,4 @@ interface BbPluginApi {
|
|
|
20448
20927
|
}
|
|
20449
20928
|
|
|
20450
20929
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
|
|
20451
|
-
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, 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 };
|
|
20930
|
+
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 };
|