@get-bb/plugin-sdk 0.4.47 → 0.4.48

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.
@@ -5217,6 +5217,149 @@ interface HostDaemonCommandDescriptor<Type extends string, Schema extends z$1.Zo
5217
5217
  envLane: HostDaemonCommandEnvironmentLane | null;
5218
5218
  }
5219
5219
  declare const hostDaemonCommandRegistry: {
5220
+ "desktop.browser.list_instances": HostDaemonCommandDescriptor<"desktop.browser.list_instances", z$1.ZodObject<{
5221
+ type: z$1.ZodLiteral<"desktop.browser.list_instances">;
5222
+ }, z$1.core.$strict>, z$1.ZodObject<{
5223
+ instances: z$1.ZodArray<z$1.ZodObject<{
5224
+ generation: z$1.ZodString;
5225
+ instanceId: z$1.ZodString;
5226
+ label: z$1.ZodString;
5227
+ }, z$1.core.$strip>>;
5228
+ }, z$1.core.$strip>, "onlineRpc", false>;
5229
+ "desktop.browser.list_tabs": HostDaemonCommandDescriptor<"desktop.browser.list_tabs", z$1.ZodObject<{
5230
+ generation: z$1.ZodString;
5231
+ instanceId: z$1.ZodString;
5232
+ threadId: z$1.ZodString;
5233
+ type: z$1.ZodLiteral<"desktop.browser.list_tabs">;
5234
+ }, z$1.core.$strict>, z$1.ZodObject<{
5235
+ tabs: z$1.ZodArray<z$1.ZodObject<{
5236
+ control: z$1.ZodNullable<z$1.ZodObject<{
5237
+ controllerLabel: z$1.ZodString;
5238
+ expiresAt: z$1.ZodNumber;
5239
+ leaseId: z$1.ZodString;
5240
+ }, z$1.core.$strip>>;
5241
+ presentation: z$1.ZodEnum<{
5242
+ hidden: "hidden";
5243
+ reveal: "reveal";
5244
+ }>;
5245
+ profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5246
+ id: z$1.ZodString;
5247
+ kind: z$1.ZodLiteral<"automation">;
5248
+ }, z$1.core.$strip>, z$1.ZodObject<{
5249
+ kind: z$1.ZodLiteral<"personal">;
5250
+ }, z$1.core.$strip>], "kind">;
5251
+ tabId: z$1.ZodString;
5252
+ threadId: z$1.ZodString;
5253
+ title: z$1.ZodString;
5254
+ url: z$1.ZodString;
5255
+ }, z$1.core.$strip>>;
5256
+ }, z$1.core.$strip>, "onlineRpc", false>;
5257
+ "desktop.browser.create_tab": HostDaemonCommandDescriptor<"desktop.browser.create_tab", z$1.ZodObject<{
5258
+ generation: z$1.ZodString;
5259
+ instanceId: z$1.ZodString;
5260
+ presentation: z$1.ZodEnum<{
5261
+ hidden: "hidden";
5262
+ reveal: "reveal";
5263
+ }>;
5264
+ profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5265
+ id: z$1.ZodString;
5266
+ kind: z$1.ZodLiteral<"automation">;
5267
+ }, z$1.core.$strip>, z$1.ZodObject<{
5268
+ kind: z$1.ZodLiteral<"personal">;
5269
+ }, z$1.core.$strip>], "kind">;
5270
+ tabId: z$1.ZodString;
5271
+ threadId: z$1.ZodString;
5272
+ type: z$1.ZodLiteral<"desktop.browser.create_tab">;
5273
+ url: z$1.ZodString;
5274
+ }, z$1.core.$strict>, z$1.ZodObject<{
5275
+ tab: z$1.ZodObject<{
5276
+ control: z$1.ZodNullable<z$1.ZodObject<{
5277
+ controllerLabel: z$1.ZodString;
5278
+ expiresAt: z$1.ZodNumber;
5279
+ leaseId: z$1.ZodString;
5280
+ }, z$1.core.$strip>>;
5281
+ presentation: z$1.ZodEnum<{
5282
+ hidden: "hidden";
5283
+ reveal: "reveal";
5284
+ }>;
5285
+ profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
5286
+ id: z$1.ZodString;
5287
+ kind: z$1.ZodLiteral<"automation">;
5288
+ }, z$1.core.$strip>, z$1.ZodObject<{
5289
+ kind: z$1.ZodLiteral<"personal">;
5290
+ }, z$1.core.$strip>], "kind">;
5291
+ tabId: z$1.ZodString;
5292
+ threadId: z$1.ZodString;
5293
+ title: z$1.ZodString;
5294
+ url: z$1.ZodString;
5295
+ }, z$1.core.$strip>;
5296
+ }, z$1.core.$strip>, "onlineRpc", false>;
5297
+ "desktop.browser.reveal_tab": HostDaemonCommandDescriptor<"desktop.browser.reveal_tab", z$1.ZodObject<{
5298
+ generation: z$1.ZodString;
5299
+ instanceId: z$1.ZodString;
5300
+ tabId: z$1.ZodString;
5301
+ threadId: z$1.ZodString;
5302
+ type: z$1.ZodLiteral<"desktop.browser.reveal_tab">;
5303
+ }, z$1.core.$strict>, z$1.ZodObject<{
5304
+ ok: z$1.ZodLiteral<true>;
5305
+ }, z$1.core.$strip>, "onlineRpc", false>;
5306
+ "desktop.browser.close_tab": HostDaemonCommandDescriptor<"desktop.browser.close_tab", z$1.ZodObject<{
5307
+ generation: z$1.ZodString;
5308
+ instanceId: z$1.ZodString;
5309
+ tabId: z$1.ZodString;
5310
+ threadId: z$1.ZodString;
5311
+ type: z$1.ZodLiteral<"desktop.browser.close_tab">;
5312
+ }, z$1.core.$strict>, z$1.ZodObject<{
5313
+ ok: z$1.ZodLiteral<true>;
5314
+ }, z$1.core.$strip>, "onlineRpc", false>;
5315
+ "desktop.browser.capture_tab": HostDaemonCommandDescriptor<"desktop.browser.capture_tab", z$1.ZodObject<{
5316
+ generation: z$1.ZodString;
5317
+ instanceId: z$1.ZodString;
5318
+ tabId: z$1.ZodString;
5319
+ threadId: z$1.ZodString;
5320
+ type: z$1.ZodLiteral<"desktop.browser.capture_tab">;
5321
+ }, z$1.core.$strict>, z$1.ZodObject<{
5322
+ base64: z$1.ZodString;
5323
+ height: z$1.ZodNumber;
5324
+ mimeType: z$1.ZodLiteral<"image/jpeg">;
5325
+ width: z$1.ZodNumber;
5326
+ }, z$1.core.$strip>, "onlineRpc", false>;
5327
+ "desktop.browser.acquire_control": HostDaemonCommandDescriptor<"desktop.browser.acquire_control", z$1.ZodObject<{
5328
+ controllerLabel: z$1.ZodString;
5329
+ expiresAt: z$1.ZodNumber;
5330
+ generation: z$1.ZodString;
5331
+ instanceId: z$1.ZodString;
5332
+ leaseId: z$1.ZodString;
5333
+ tabIds: z$1.ZodArray<z$1.ZodString>;
5334
+ threadId: z$1.ZodString;
5335
+ type: z$1.ZodLiteral<"desktop.browser.acquire_control">;
5336
+ }, z$1.core.$strict>, z$1.ZodObject<{
5337
+ lease: z$1.ZodObject<{
5338
+ controllerLabel: z$1.ZodString;
5339
+ expiresAt: z$1.ZodNumber;
5340
+ leaseId: z$1.ZodString;
5341
+ }, z$1.core.$strip>;
5342
+ }, z$1.core.$strip>, "onlineRpc", false>;
5343
+ "desktop.browser.open_connection": HostDaemonCommandDescriptor<"desktop.browser.open_connection", z$1.ZodObject<{
5344
+ generation: z$1.ZodString;
5345
+ instanceId: z$1.ZodString;
5346
+ leaseId: z$1.ZodString;
5347
+ tabIds: z$1.ZodArray<z$1.ZodString>;
5348
+ threadId: z$1.ZodString;
5349
+ type: z$1.ZodLiteral<"desktop.browser.open_connection">;
5350
+ }, z$1.core.$strict>, z$1.ZodObject<{
5351
+ expiresAt: z$1.ZodNumber;
5352
+ wsEndpoint: z$1.ZodString;
5353
+ }, z$1.core.$strip>, "onlineRpc", false>;
5354
+ "desktop.browser.release_control": HostDaemonCommandDescriptor<"desktop.browser.release_control", z$1.ZodObject<{
5355
+ generation: z$1.ZodString;
5356
+ instanceId: z$1.ZodString;
5357
+ leaseId: z$1.ZodString;
5358
+ threadId: z$1.ZodString;
5359
+ type: z$1.ZodLiteral<"desktop.browser.release_control">;
5360
+ }, z$1.core.$strict>, z$1.ZodObject<{
5361
+ ok: z$1.ZodLiteral<true>;
5362
+ }, z$1.core.$strip>, "onlineRpc", false>;
5220
5363
  "thread.rewind.discard": HostDaemonCommandDescriptor<"thread.rewind.discard", z$1.ZodObject<{
5221
5364
  environmentId: z$1.ZodString;
5222
5365
  leaseId: z$1.ZodString;
@@ -7850,6 +7993,162 @@ declare const providerCliInstallEventSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
7850
7993
  }, z$1.core.$strip>], "type">;
7851
7994
  type ProviderCliInstallEvent = z$1.infer<typeof providerCliInstallEventSchema>;
7852
7995
 
7996
+ declare const desktopBrowserInstanceSchema: z$1.ZodObject<{
7997
+ generation: z$1.ZodString;
7998
+ instanceId: z$1.ZodString;
7999
+ label: z$1.ZodString;
8000
+ }, z$1.core.$strip>;
8001
+ declare const desktopBrowserCommandSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8002
+ type: z$1.ZodLiteral<"desktop.browser.list_instances">;
8003
+ }, z$1.core.$strict>, z$1.ZodObject<{
8004
+ generation: z$1.ZodString;
8005
+ instanceId: z$1.ZodString;
8006
+ threadId: z$1.ZodString;
8007
+ type: z$1.ZodLiteral<"desktop.browser.list_tabs">;
8008
+ }, z$1.core.$strict>, z$1.ZodObject<{
8009
+ generation: z$1.ZodString;
8010
+ instanceId: z$1.ZodString;
8011
+ presentation: z$1.ZodEnum<{
8012
+ hidden: "hidden";
8013
+ reveal: "reveal";
8014
+ }>;
8015
+ profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8016
+ id: z$1.ZodString;
8017
+ kind: z$1.ZodLiteral<"automation">;
8018
+ }, z$1.core.$strip>, z$1.ZodObject<{
8019
+ kind: z$1.ZodLiteral<"personal">;
8020
+ }, z$1.core.$strip>], "kind">;
8021
+ tabId: z$1.ZodString;
8022
+ threadId: z$1.ZodString;
8023
+ type: z$1.ZodLiteral<"desktop.browser.create_tab">;
8024
+ url: z$1.ZodString;
8025
+ }, z$1.core.$strict>, z$1.ZodObject<{
8026
+ generation: z$1.ZodString;
8027
+ instanceId: z$1.ZodString;
8028
+ tabId: z$1.ZodString;
8029
+ threadId: z$1.ZodString;
8030
+ type: z$1.ZodLiteral<"desktop.browser.reveal_tab">;
8031
+ }, z$1.core.$strict>, z$1.ZodObject<{
8032
+ generation: z$1.ZodString;
8033
+ instanceId: z$1.ZodString;
8034
+ tabId: z$1.ZodString;
8035
+ threadId: z$1.ZodString;
8036
+ type: z$1.ZodLiteral<"desktop.browser.close_tab">;
8037
+ }, z$1.core.$strict>, z$1.ZodObject<{
8038
+ generation: z$1.ZodString;
8039
+ instanceId: z$1.ZodString;
8040
+ tabId: z$1.ZodString;
8041
+ threadId: z$1.ZodString;
8042
+ type: z$1.ZodLiteral<"desktop.browser.capture_tab">;
8043
+ }, z$1.core.$strict>, z$1.ZodObject<{
8044
+ controllerLabel: z$1.ZodString;
8045
+ expiresAt: z$1.ZodNumber;
8046
+ generation: z$1.ZodString;
8047
+ instanceId: z$1.ZodString;
8048
+ leaseId: z$1.ZodString;
8049
+ tabIds: z$1.ZodArray<z$1.ZodString>;
8050
+ threadId: z$1.ZodString;
8051
+ type: z$1.ZodLiteral<"desktop.browser.acquire_control">;
8052
+ }, z$1.core.$strict>, z$1.ZodObject<{
8053
+ generation: z$1.ZodString;
8054
+ instanceId: z$1.ZodString;
8055
+ leaseId: z$1.ZodString;
8056
+ tabIds: z$1.ZodArray<z$1.ZodString>;
8057
+ threadId: z$1.ZodString;
8058
+ type: z$1.ZodLiteral<"desktop.browser.open_connection">;
8059
+ }, z$1.core.$strict>, z$1.ZodObject<{
8060
+ generation: z$1.ZodString;
8061
+ instanceId: z$1.ZodString;
8062
+ leaseId: z$1.ZodString;
8063
+ threadId: z$1.ZodString;
8064
+ type: z$1.ZodLiteral<"desktop.browser.release_control">;
8065
+ }, z$1.core.$strict>], "type">;
8066
+ declare const desktopBrowserResultSchemas: {
8067
+ "desktop.browser.list_instances": z$1.ZodObject<{
8068
+ instances: z$1.ZodArray<z$1.ZodObject<{
8069
+ generation: z$1.ZodString;
8070
+ instanceId: z$1.ZodString;
8071
+ label: z$1.ZodString;
8072
+ }, z$1.core.$strip>>;
8073
+ }, z$1.core.$strip>;
8074
+ "desktop.browser.list_tabs": z$1.ZodObject<{
8075
+ tabs: z$1.ZodArray<z$1.ZodObject<{
8076
+ control: z$1.ZodNullable<z$1.ZodObject<{
8077
+ controllerLabel: z$1.ZodString;
8078
+ expiresAt: z$1.ZodNumber;
8079
+ leaseId: z$1.ZodString;
8080
+ }, z$1.core.$strip>>;
8081
+ presentation: z$1.ZodEnum<{
8082
+ hidden: "hidden";
8083
+ reveal: "reveal";
8084
+ }>;
8085
+ profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8086
+ id: z$1.ZodString;
8087
+ kind: z$1.ZodLiteral<"automation">;
8088
+ }, z$1.core.$strip>, z$1.ZodObject<{
8089
+ kind: z$1.ZodLiteral<"personal">;
8090
+ }, z$1.core.$strip>], "kind">;
8091
+ tabId: z$1.ZodString;
8092
+ threadId: z$1.ZodString;
8093
+ title: z$1.ZodString;
8094
+ url: z$1.ZodString;
8095
+ }, z$1.core.$strip>>;
8096
+ }, z$1.core.$strip>;
8097
+ "desktop.browser.create_tab": z$1.ZodObject<{
8098
+ tab: z$1.ZodObject<{
8099
+ control: z$1.ZodNullable<z$1.ZodObject<{
8100
+ controllerLabel: z$1.ZodString;
8101
+ expiresAt: z$1.ZodNumber;
8102
+ leaseId: z$1.ZodString;
8103
+ }, z$1.core.$strip>>;
8104
+ presentation: z$1.ZodEnum<{
8105
+ hidden: "hidden";
8106
+ reveal: "reveal";
8107
+ }>;
8108
+ profile: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
8109
+ id: z$1.ZodString;
8110
+ kind: z$1.ZodLiteral<"automation">;
8111
+ }, z$1.core.$strip>, z$1.ZodObject<{
8112
+ kind: z$1.ZodLiteral<"personal">;
8113
+ }, z$1.core.$strip>], "kind">;
8114
+ tabId: z$1.ZodString;
8115
+ threadId: z$1.ZodString;
8116
+ title: z$1.ZodString;
8117
+ url: z$1.ZodString;
8118
+ }, z$1.core.$strip>;
8119
+ }, z$1.core.$strip>;
8120
+ "desktop.browser.reveal_tab": z$1.ZodObject<{
8121
+ ok: z$1.ZodLiteral<true>;
8122
+ }, z$1.core.$strip>;
8123
+ "desktop.browser.close_tab": z$1.ZodObject<{
8124
+ ok: z$1.ZodLiteral<true>;
8125
+ }, z$1.core.$strip>;
8126
+ "desktop.browser.capture_tab": z$1.ZodObject<{
8127
+ base64: z$1.ZodString;
8128
+ height: z$1.ZodNumber;
8129
+ mimeType: z$1.ZodLiteral<"image/jpeg">;
8130
+ width: z$1.ZodNumber;
8131
+ }, z$1.core.$strip>;
8132
+ "desktop.browser.acquire_control": z$1.ZodObject<{
8133
+ lease: z$1.ZodObject<{
8134
+ controllerLabel: z$1.ZodString;
8135
+ expiresAt: z$1.ZodNumber;
8136
+ leaseId: z$1.ZodString;
8137
+ }, z$1.core.$strip>;
8138
+ }, z$1.core.$strip>;
8139
+ "desktop.browser.open_connection": z$1.ZodObject<{
8140
+ expiresAt: z$1.ZodNumber;
8141
+ wsEndpoint: z$1.ZodString;
8142
+ }, z$1.core.$strip>;
8143
+ "desktop.browser.release_control": z$1.ZodObject<{
8144
+ ok: z$1.ZodLiteral<true>;
8145
+ }, z$1.core.$strip>;
8146
+ };
8147
+ type DesktopBrowserCommand = z$1.infer<typeof desktopBrowserCommandSchema>;
8148
+ type DesktopBrowserCommandType = DesktopBrowserCommand["type"];
8149
+ type DesktopBrowserResult<T extends DesktopBrowserCommandType = DesktopBrowserCommandType> = z$1.infer<(typeof desktopBrowserResultSchemas)[T]>;
8150
+ type DesktopBrowserInstance = z$1.infer<typeof desktopBrowserInstanceSchema>;
8151
+
7853
8152
  interface CreateFilePreviewResponse {
7854
8153
  baseUrl: string;
7855
8154
  expiresAtMs: number;
@@ -12875,6 +13174,76 @@ declare const threadStoragePathListResponseSchema: z$1.ZodObject<{
12875
13174
  }, z$1.core.$strip>;
12876
13175
  type ThreadStoragePathListResponse = z$1.infer<typeof threadStoragePathListResponseSchema>;
12877
13176
 
13177
+ declare const desktopBrowserHostRequestSchema: z$1.ZodObject<{
13178
+ hostId: z$1.ZodString;
13179
+ }, z$1.core.$strict>;
13180
+ declare const desktopBrowserScopeSchema: z$1.ZodObject<{
13181
+ generation: z$1.ZodString;
13182
+ hostId: z$1.ZodString;
13183
+ instanceId: z$1.ZodString;
13184
+ threadId: z$1.ZodString;
13185
+ }, z$1.core.$strict>;
13186
+ declare const desktopBrowserTabRequestSchema: z$1.ZodObject<{
13187
+ generation: z$1.ZodString;
13188
+ hostId: z$1.ZodString;
13189
+ instanceId: z$1.ZodString;
13190
+ tabId: z$1.ZodString;
13191
+ threadId: z$1.ZodString;
13192
+ }, z$1.core.$strict>;
13193
+ declare const desktopBrowserCreateRequestSchema: z$1.ZodObject<{
13194
+ generation: z$1.ZodString;
13195
+ hostId: z$1.ZodString;
13196
+ instanceId: z$1.ZodString;
13197
+ presentation: z$1.ZodDefault<z$1.ZodEnum<{
13198
+ hidden: "hidden";
13199
+ reveal: "reveal";
13200
+ }>>;
13201
+ threadId: z$1.ZodString;
13202
+ url: z$1.ZodDefault<z$1.ZodPipe<z$1.ZodString, z$1.ZodString>>;
13203
+ }, z$1.core.$strict>;
13204
+ declare const desktopBrowserAcquireRequestSchema: z$1.ZodObject<{
13205
+ allowPersonal: z$1.ZodDefault<z$1.ZodBoolean>;
13206
+ controllerLabel: z$1.ZodString;
13207
+ generation: z$1.ZodString;
13208
+ hostId: z$1.ZodString;
13209
+ instanceId: z$1.ZodString;
13210
+ tabIds: z$1.ZodArray<z$1.ZodString>;
13211
+ threadId: z$1.ZodString;
13212
+ ttlMs: z$1.ZodDefault<z$1.ZodNumber>;
13213
+ }, z$1.core.$strict>;
13214
+ declare const desktopBrowserLeaseRequestSchema: z$1.ZodObject<{
13215
+ generation: z$1.ZodString;
13216
+ hostId: z$1.ZodString;
13217
+ instanceId: z$1.ZodString;
13218
+ leaseId: z$1.ZodString;
13219
+ threadId: z$1.ZodString;
13220
+ }, z$1.core.$strict>;
13221
+ type ExperimentalDesktopBrowserHostRequest = z$1.infer<typeof desktopBrowserHostRequestSchema>;
13222
+ type ExperimentalDesktopBrowserScope = z$1.infer<typeof desktopBrowserScopeSchema>;
13223
+ type ExperimentalDesktopBrowserTabRequest = z$1.infer<typeof desktopBrowserTabRequestSchema>;
13224
+ type ExperimentalDesktopBrowserLeaseRequest = z$1.infer<typeof desktopBrowserLeaseRequestSchema>;
13225
+ type ExperimentalDesktopBrowserCreateInput = z$1.input<typeof desktopBrowserCreateRequestSchema>;
13226
+ type ExperimentalDesktopBrowserAcquireInput = z$1.input<typeof desktopBrowserAcquireRequestSchema>;
13227
+ type ExperimentalDesktopBrowserLease = ExperimentalDesktopBrowserScope & {
13228
+ leaseId: string;
13229
+ tabIds: string[];
13230
+ controllerLabel: string;
13231
+ expiresAt: number;
13232
+ };
13233
+ type ExperimentalDesktopBrowserInstances = {
13234
+ instances: (DesktopBrowserInstance & {
13235
+ hostId: string;
13236
+ })[];
13237
+ };
13238
+ type ExperimentalDesktopBrowserTabs = DesktopBrowserResult<"desktop.browser.list_tabs">;
13239
+ type ExperimentalDesktopBrowserCreated = DesktopBrowserResult<"desktop.browser.create_tab">;
13240
+ type ExperimentalDesktopBrowserCapture = DesktopBrowserResult<"desktop.browser.capture_tab">;
13241
+ type ExperimentalDesktopBrowserConnection = {
13242
+ hostId: string;
13243
+ wsEndpoint: string;
13244
+ expiresAt: number;
13245
+ };
13246
+
12878
13247
  declare const threadTabsResponseSchema: z$1.ZodObject<{
12879
13248
  revision: z$1.ZodNumber;
12880
13249
  tabs: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -12977,6 +13346,11 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
12977
13346
  path: z$1.ZodString;
12978
13347
  threadId: z$1.ZodNullable<z$1.ZodString>;
12979
13348
  }, z$1.core.$strict>, z$1.ZodObject<{
13349
+ desktopTarget: z$1.ZodOptional<z$1.ZodObject<{
13350
+ generation: z$1.ZodString;
13351
+ hostId: z$1.ZodString;
13352
+ instanceId: z$1.ZodString;
13353
+ }, z$1.core.$strict>>;
12980
13354
  environmentId: z$1.ZodNullable<z$1.ZodString>;
12981
13355
  id: z$1.ZodString;
12982
13356
  kind: z$1.ZodLiteral<"browser">;
@@ -13112,6 +13486,11 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
13112
13486
  path: z$1.ZodString;
13113
13487
  threadId: z$1.ZodNullable<z$1.ZodString>;
13114
13488
  }, z$1.core.$strict>, z$1.ZodObject<{
13489
+ desktopTarget: z$1.ZodOptional<z$1.ZodObject<{
13490
+ generation: z$1.ZodString;
13491
+ hostId: z$1.ZodString;
13492
+ instanceId: z$1.ZodString;
13493
+ }, z$1.core.$strict>>;
13115
13494
  environmentId: z$1.ZodNullable<z$1.ZodString>;
13116
13495
  id: z$1.ZodString;
13117
13496
  kind: z$1.ZodLiteral<"browser">;
@@ -15383,6 +15762,30 @@ interface PluginSdkApp {
15383
15762
  useComposerView(): ComposerView;
15384
15763
  }
15385
15764
 
15765
+ interface ExperimentalDesktopBrowsersArea {
15766
+ listInstances(input: ExperimentalDesktopBrowserHostRequest): Promise<ExperimentalDesktopBrowserInstances>;
15767
+ listTabs(input: ExperimentalDesktopBrowserScope): Promise<ExperimentalDesktopBrowserTabs>;
15768
+ createTab(input: ExperimentalDesktopBrowserCreateInput): Promise<ExperimentalDesktopBrowserCreated>;
15769
+ acquireControl(input: ExperimentalDesktopBrowserAcquireInput): Promise<ExperimentalDesktopBrowserLease>;
15770
+ openConnection(input: ExperimentalDesktopBrowserLeaseRequest): Promise<ExperimentalDesktopBrowserConnection>;
15771
+ releaseControl(input: ExperimentalDesktopBrowserLeaseRequest): Promise<{
15772
+ ok: true;
15773
+ }>;
15774
+ revealTab(input: ExperimentalDesktopBrowserTabRequest): Promise<{
15775
+ ok: true;
15776
+ }>;
15777
+ closeTab(input: ExperimentalDesktopBrowserTabRequest): Promise<{
15778
+ ok: true;
15779
+ }>;
15780
+ captureTab(input: ExperimentalDesktopBrowserTabRequest): Promise<ExperimentalDesktopBrowserCapture>;
15781
+ subscribe(input: ExperimentalDesktopBrowserScope & {
15782
+ onChange: (result: ExperimentalDesktopBrowserTabs) => void;
15783
+ onError: (error: Error) => void;
15784
+ }): {
15785
+ dispose(): void;
15786
+ };
15787
+ }
15788
+
15386
15789
  interface EnvironmentActionArgs {
15387
15790
  environmentId: string;
15388
15791
  }
@@ -16663,6 +17066,7 @@ interface ThreadSectionsArea {
16663
17066
  }
16664
17067
 
16665
17068
  interface BbSdkAreas extends BbRealtime {
17069
+ experimental_desktopBrowsers: ExperimentalDesktopBrowsersArea;
16666
17070
  environments: EnvironmentsArea;
16667
17071
  files: FilesArea;
16668
17072
  hosts: HostsArea;
@@ -18237,4 +18641,4 @@ interface BbPluginApi {
18237
18641
  }
18238
18642
 
18239
18643
  export { PLUGIN_CLI_OUTPUT_MAX_BYTES, defineRpcContract, experimental_defineHostEntry };
18240
- export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerSubmitOptions, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginFixedTabReference, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, 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, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps };
18644
+ export type { BbContext, BbNavigate, BbPluginApi, CodeOverflowMode, ComposerCustomization, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerStructuredDraft, ComposerView, DiffProps, DiffViewMode, 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, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginFixedTabReference, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, JsonValue, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolLabels, PluginAgentToolPresentation, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiServiceDeclaration, PluginAiServiceKind, PluginAiServices, PluginAppBuilder, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginCli, PluginCliCommandInfo, PluginCliContext, PluginCliExecutionResult, PluginCliOutputLimitError, PluginCliRegistration, PluginCliResult, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandPaletteActionContext, PluginCommandPaletteActionRegistration, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, 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, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSidebarWorkspaceKind, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps };
@@ -23,6 +23,7 @@ function parseNamespacedGlyph(glyph) {
23
23
 
24
24
  // ../domain/src/plugin-cli.ts
25
25
  var RESERVED_BB_CLI_COMMANDS = [
26
+ "browser",
26
27
  "environment",
27
28
  "file",
28
29
  "guide",
@@ -36,6 +36,7 @@ function parseNamespacedGlyph(glyph) {
36
36
 
37
37
  // ../domain/src/plugin-cli.ts
38
38
  var RESERVED_BB_CLI_COMMANDS = [
39
+ "browser",
39
40
  "environment",
40
41
  "file",
41
42
  "guide",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@get-bb/plugin-sdk",
3
- "version": "0.4.47",
3
+ "version": "0.4.48",
4
4
  "homepage": "https://github.com/get-bb/bb#readme",
5
5
  "bugs": {
6
6
  "url": "https://github.com/get-bb/bb/issues"