@get-bb/plugin-sdk 0.6.125 → 0.6.133

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.
@@ -523,7 +523,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
523
523
  activity: z$1.ZodObject<{
524
524
  activeBackgroundAgentCount: z$1.ZodNumber;
525
525
  activeBackgroundCommandCount: z$1.ZodNumber;
526
- activeGoalCount: z$1.ZodNumber;
527
526
  activePlanModeCount: z$1.ZodNumber;
528
527
  activeWorkflowCount: z$1.ZodNumber;
529
528
  }, z$1.core.$strip>;
@@ -569,6 +568,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
569
568
  changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
570
569
  "environment-created": "environment-created";
571
570
  "environment-deleted": "environment-deleted";
571
+ "git-branches-changed": "git-branches-changed";
572
572
  "git-refs-changed": "git-refs-changed";
573
573
  "metadata-changed": "metadata-changed";
574
574
  "status-changed": "status-changed";
@@ -708,7 +708,6 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
708
708
  skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
709
709
  threadContextCard: "threadContextCard";
710
710
  threadRowMetadata: "threadRowMetadata";
711
- timelinePush: "timelinePush";
712
711
  updateWhenIdle: "updateWhenIdle";
713
712
  }>, z$1.ZodBoolean>;
714
713
  type Experiments = z$1.infer<typeof experimentsSchema>;
@@ -723,7 +722,6 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
723
722
  skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
724
723
  threadContextCard: "threadContextCard";
725
724
  threadRowMetadata: "threadRowMetadata";
726
- timelinePush: "timelinePush";
727
725
  updateWhenIdle: "updateWhenIdle";
728
726
  }> & z$1.core.$partial, z$1.ZodBoolean>;
729
727
  type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
@@ -1559,6 +1557,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
1559
1557
  foreground: z$1.ZodBoolean;
1560
1558
  id: z$1.ZodString;
1561
1559
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1560
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
1562
1561
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1563
1562
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1564
1563
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2327,6 +2326,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2327
2326
  foreground: z$1.ZodBoolean;
2328
2327
  id: z$1.ZodString;
2329
2328
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2329
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2330
2330
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2331
2331
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2332
2332
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2559,6 +2559,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2559
2559
  foreground: z$1.ZodBoolean;
2560
2560
  id: z$1.ZodString;
2561
2561
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2562
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2562
2563
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2563
2564
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2564
2565
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2658,6 +2659,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2658
2659
  foreground: z$1.ZodBoolean;
2659
2660
  id: z$1.ZodString;
2660
2661
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2662
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2661
2663
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2662
2664
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2663
2665
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -5275,7 +5277,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
5275
5277
  activity: z$1.ZodObject<{
5276
5278
  activeBackgroundAgentCount: z$1.ZodNumber;
5277
5279
  activeBackgroundCommandCount: z$1.ZodNumber;
5278
- activeGoalCount: z$1.ZodNumber;
5279
5280
  activePlanModeCount: z$1.ZodNumber;
5280
5281
  activeWorkflowCount: z$1.ZodNumber;
5281
5282
  }, z$1.core.$strip>;
@@ -5386,7 +5387,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5386
5387
  activity: z$1.ZodObject<{
5387
5388
  activeBackgroundAgentCount: z$1.ZodNumber;
5388
5389
  activeBackgroundCommandCount: z$1.ZodNumber;
5389
- activeGoalCount: z$1.ZodNumber;
5390
5390
  activePlanModeCount: z$1.ZodNumber;
5391
5391
  activeWorkflowCount: z$1.ZodNumber;
5392
5392
  }, z$1.core.$strip>;
@@ -5495,7 +5495,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5495
5495
  activity: z$1.ZodObject<{
5496
5496
  activeBackgroundAgentCount: z$1.ZodNumber;
5497
5497
  activeBackgroundCommandCount: z$1.ZodNumber;
5498
- activeGoalCount: z$1.ZodNumber;
5499
5498
  activePlanModeCount: z$1.ZodNumber;
5500
5499
  activeWorkflowCount: z$1.ZodNumber;
5501
5500
  }, z$1.core.$strip>;
@@ -8215,6 +8214,7 @@ declare const hostDaemonCommandRegistry: {
8215
8214
  canInstall: z$1.ZodBoolean;
8216
8215
  canUpdate: z$1.ZodBoolean;
8217
8216
  installedVersion: z$1.ZodNullable<z$1.ZodString>;
8217
+ internal_DO_NOT_USE_setupGuidePlanLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
8218
8218
  localLoginCommand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
8219
8219
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
8220
8220
  minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -8418,6 +8418,7 @@ declare const hostDaemonCommandRegistry: {
8418
8418
  path: z$1.ZodString;
8419
8419
  }, z$1.core.$strict>>;
8420
8420
  truncated: z$1.ZodBoolean;
8421
+ unreadableCount: z$1.ZodNumber;
8421
8422
  }, z$1.core.$strict>, "onlineRpc", true>;
8422
8423
  "server_move.inspect": HostDaemonCommandDescriptor<"server_move.inspect", z$1.ZodObject<{
8423
8424
  paths: z$1.ZodArray<z$1.ZodString>;
@@ -8858,6 +8859,7 @@ declare const hostDiscoveredReposResponseSchema: z$1.ZodObject<{
8858
8859
  projectId: z$1.ZodNullable<z$1.ZodString>;
8859
8860
  }, z$1.core.$strip>>;
8860
8861
  truncated: z$1.ZodBoolean;
8862
+ unreadableCount: z$1.ZodNumber;
8861
8863
  }, z$1.core.$strip>;
8862
8864
  type HostDiscoveredReposResponse = z$1.infer<typeof hostDiscoveredReposResponseSchema>;
8863
8865
  declare const hostCloneDefaultPathQuerySchema: z$1.ZodObject<{
@@ -10196,6 +10198,8 @@ declare const systemProviderStatesResponseSchema: z$1.ZodObject<{
10196
10198
  canUpdate: z$1.ZodBoolean;
10197
10199
  displayName: z$1.ZodString;
10198
10200
  installedVersion: z$1.ZodNullable<z$1.ZodString>;
10201
+ internal_DO_NOT_USE_guidedSignIn: z$1.ZodBoolean;
10202
+ internal_DO_NOT_USE_setupGuidePlanLabel: z$1.ZodNullable<z$1.ZodString>;
10199
10203
  localLoginCommand: z$1.ZodNullable<z$1.ZodString>;
10200
10204
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
10201
10205
  minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -10303,6 +10307,7 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10303
10307
  name: z$1.ZodLiteral<"recommendation">;
10304
10308
  properties: z$1.ZodObject<{
10305
10309
  action: z$1.ZodEnum<{
10310
+ deselected: "deselected";
10306
10311
  selected: "selected";
10307
10312
  shown: "shown";
10308
10313
  }>;
@@ -10326,11 +10331,30 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10326
10331
  first_run: "first_run";
10327
10332
  replay: "replay";
10328
10333
  }>;
10334
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10335
+ command_failed: "command_failed";
10336
+ host_unavailable: "host_unavailable";
10337
+ no_host: "no_host";
10338
+ not_found: "not_found";
10339
+ other: "other";
10340
+ permission: "permission";
10341
+ timed_out: "timed_out";
10342
+ unsupported: "unsupported";
10343
+ }>>;
10344
+ failure_stage: z$1.ZodOptional<z$1.ZodEnum<{
10345
+ pairing: "pairing";
10346
+ sign_in: "sign_in";
10347
+ turn_on: "turn_on";
10348
+ }>>;
10329
10349
  item_count: z$1.ZodOptional<z$1.ZodNumber>;
10330
10350
  operation: z$1.ZodEnum<{
10331
10351
  add_machine: "add_machine";
10352
+ disable: "disable";
10353
+ enable: "enable";
10354
+ finish: "finish";
10332
10355
  import: "import";
10333
10356
  install: "install";
10357
+ load: "load";
10334
10358
  remote_access: "remote_access";
10335
10359
  scan: "scan";
10336
10360
  update: "update";
@@ -10348,12 +10372,22 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10348
10372
  projects: "projects";
10349
10373
  }>;
10350
10374
  succeeded_count: z$1.ZodOptional<z$1.ZodNumber>;
10375
+ timed_out: z$1.ZodOptional<z$1.ZodBoolean>;
10376
+ unreadable_count: z$1.ZodOptional<z$1.ZodNumber>;
10351
10377
  }, z$1.core.$strict>;
10352
10378
  }, z$1.core.$strict>, z$1.ZodObject<{
10353
10379
  name: z$1.ZodLiteral<"onboarding_agent_state">;
10354
10380
  properties: z$1.ZodObject<{
10355
10381
  agent_installed: z$1.ZodNullable<z$1.ZodBoolean>;
10356
10382
  agent_ready: z$1.ZodNullable<z$1.ZodBoolean>;
10383
+ agent_statuses: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
10384
+ expired: "expired";
10385
+ not_installed: "not_installed";
10386
+ ready: "ready";
10387
+ unauthenticated: "unauthenticated";
10388
+ unknown: "unknown";
10389
+ unsupported_version: "unsupported_version";
10390
+ }>>>;
10357
10391
  entry: z$1.ZodEnum<{
10358
10392
  first_run: "first_run";
10359
10393
  replay: "replay";
@@ -10366,6 +10400,16 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10366
10400
  first_run: "first_run";
10367
10401
  replay: "replay";
10368
10402
  }>;
10403
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10404
+ command_failed: "command_failed";
10405
+ host_unavailable: "host_unavailable";
10406
+ no_host: "no_host";
10407
+ not_found: "not_found";
10408
+ other: "other";
10409
+ permission: "permission";
10410
+ timed_out: "timed_out";
10411
+ unsupported: "unsupported";
10412
+ }>>;
10369
10413
  outcome: z$1.ZodEnum<{
10370
10414
  cancelled: "cancelled";
10371
10415
  exited: "exited";
@@ -10373,6 +10417,7 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10373
10417
  ready: "ready";
10374
10418
  started: "started";
10375
10419
  }>;
10420
+ resource_id: z$1.ZodString;
10376
10421
  }, z$1.core.$strict>;
10377
10422
  }, z$1.core.$strict>, z$1.ZodObject<{
10378
10423
  name: z$1.ZodLiteral<"new_thread_blocker">;
@@ -10389,12 +10434,31 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10389
10434
  }, z$1.core.$strict>;
10390
10435
  }, z$1.core.$strict>, z$1.ZodObject<{
10391
10436
  name: z$1.ZodLiteral<"new_thread_submit">;
10392
- properties: z$1.ZodObject<{
10437
+ properties: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10393
10438
  outcome: z$1.ZodEnum<{
10394
10439
  accepted: "accepted";
10395
- failed: "failed";
10396
10440
  started: "started";
10397
10441
  }>;
10442
+ }, z$1.core.$strict>, z$1.ZodObject<{
10443
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10444
+ command_failed: "command_failed";
10445
+ host_unavailable: "host_unavailable";
10446
+ no_host: "no_host";
10447
+ not_found: "not_found";
10448
+ other: "other";
10449
+ permission: "permission";
10450
+ timed_out: "timed_out";
10451
+ unsupported: "unsupported";
10452
+ }>>;
10453
+ outcome: z$1.ZodLiteral<"failed">;
10454
+ }, z$1.core.$strict>], "outcome">;
10455
+ }, z$1.core.$strict>, z$1.ZodObject<{
10456
+ name: z$1.ZodLiteral<"onboarding_exposed">;
10457
+ properties: z$1.ZodObject<{
10458
+ entry: z$1.ZodEnum<{
10459
+ first_run: "first_run";
10460
+ replay: "replay";
10461
+ }>;
10398
10462
  }, z$1.core.$strict>;
10399
10463
  }, z$1.core.$strict>, z$1.ZodObject<{
10400
10464
  name: z$1.ZodLiteral<"onboarding_started">;
@@ -10462,6 +10526,39 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10462
10526
  skipped: "skipped";
10463
10527
  }>;
10464
10528
  }, z$1.core.$strict>;
10529
+ }, z$1.core.$strict>, z$1.ZodObject<{
10530
+ name: z$1.ZodLiteral<"onboarding_left">;
10531
+ properties: z$1.ZodObject<{
10532
+ entry: z$1.ZodEnum<{
10533
+ first_run: "first_run";
10534
+ replay: "replay";
10535
+ }>;
10536
+ step: z$1.ZodEnum<{
10537
+ agent: "agent";
10538
+ devices: "devices";
10539
+ plugins: "plugins";
10540
+ projects: "projects";
10541
+ }>;
10542
+ }, z$1.core.$strict>;
10543
+ }, z$1.core.$strict>, z$1.ZodObject<{
10544
+ name: z$1.ZodLiteral<"onboarding_error">;
10545
+ properties: z$1.ZodObject<{
10546
+ entry: z$1.ZodEnum<{
10547
+ first_run: "first_run";
10548
+ replay: "replay";
10549
+ }>;
10550
+ kind: z$1.ZodEnum<{
10551
+ render: "render";
10552
+ uncaught: "uncaught";
10553
+ unhandled_rejection: "unhandled_rejection";
10554
+ }>;
10555
+ step: z$1.ZodEnum<{
10556
+ agent: "agent";
10557
+ devices: "devices";
10558
+ plugins: "plugins";
10559
+ projects: "projects";
10560
+ }>;
10561
+ }, z$1.core.$strict>;
10465
10562
  }, z$1.core.$strict>, z$1.ZodObject<{
10466
10563
  name: z$1.ZodLiteral<"release_notes_opened">;
10467
10564
  properties: z$1.ZodObject<{
@@ -10643,7 +10740,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10643
10740
  skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
10644
10741
  threadContextCard: "threadContextCard";
10645
10742
  threadRowMetadata: "threadRowMetadata";
10646
- timelinePush: "timelinePush";
10647
10743
  updateWhenIdle: "updateWhenIdle";
10648
10744
  }>, z$1.ZodBoolean>;
10649
10745
  featureFlags: z$1.ZodObject<{
@@ -14131,7 +14227,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
14131
14227
  activity: z$1.ZodObject<{
14132
14228
  activeBackgroundAgentCount: z$1.ZodNumber;
14133
14229
  activeBackgroundCommandCount: z$1.ZodNumber;
14134
- activeGoalCount: z$1.ZodNumber;
14135
14230
  activePlanModeCount: z$1.ZodNumber;
14136
14231
  activeWorkflowCount: z$1.ZodNumber;
14137
14232
  }, z$1.core.$strip>;
@@ -14237,7 +14332,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14237
14332
  activity: z$1.ZodObject<{
14238
14333
  activeBackgroundAgentCount: z$1.ZodNumber;
14239
14334
  activeBackgroundCommandCount: z$1.ZodNumber;
14240
- activeGoalCount: z$1.ZodNumber;
14241
14335
  activePlanModeCount: z$1.ZodNumber;
14242
14336
  activeWorkflowCount: z$1.ZodNumber;
14243
14337
  }, z$1.core.$strip>;
@@ -14334,7 +14428,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14334
14428
  activity: z$1.ZodObject<{
14335
14429
  activeBackgroundAgentCount: z$1.ZodNumber;
14336
14430
  activeBackgroundCommandCount: z$1.ZodNumber;
14337
- activeGoalCount: z$1.ZodNumber;
14338
14431
  activePlanModeCount: z$1.ZodNumber;
14339
14432
  activeWorkflowCount: z$1.ZodNumber;
14340
14433
  }, z$1.core.$strip>;
@@ -16201,22 +16294,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16201
16294
  }, z$1.core.$strip>>;
16202
16295
  usedTokens: z$1.ZodNumber;
16203
16296
  }, z$1.core.$strip>>;
16204
- goal: z$1.ZodNullable<z$1.ZodObject<{
16205
- objective: z$1.ZodString;
16206
- sourceSeq: z$1.ZodNumber;
16207
- status: z$1.ZodEnum<{
16208
- active: "active";
16209
- blocked: "blocked";
16210
- budgetLimited: "budgetLimited";
16211
- complete: "complete";
16212
- paused: "paused";
16213
- usageLimited: "usageLimited";
16214
- }>;
16215
- timeUsedSeconds: z$1.ZodNumber;
16216
- tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
16217
- tokensUsed: z$1.ZodNumber;
16218
- updatedAt: z$1.ZodNumber;
16219
- }, z$1.core.$strip>>;
16297
+ extensionStates: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>;
16220
16298
  maxSeq: z$1.ZodNumber;
16221
16299
  modelFallback: z$1.ZodNullable<z$1.ZodObject<{
16222
16300
  detectedAt: z$1.ZodNumber;
@@ -16549,22 +16627,7 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16549
16627
  }, z$1.core.$strip>>;
16550
16628
  usedTokens: z$1.ZodNumber;
16551
16629
  }, z$1.core.$strip>>>;
16552
- goal: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
16553
- objective: z$1.ZodString;
16554
- sourceSeq: z$1.ZodNumber;
16555
- status: z$1.ZodEnum<{
16556
- active: "active";
16557
- blocked: "blocked";
16558
- budgetLimited: "budgetLimited";
16559
- complete: "complete";
16560
- paused: "paused";
16561
- usageLimited: "usageLimited";
16562
- }>;
16563
- timeUsedSeconds: z$1.ZodNumber;
16564
- tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
16565
- tokensUsed: z$1.ZodNumber;
16566
- updatedAt: z$1.ZodNumber;
16567
- }, z$1.core.$strip>>>;
16630
+ extensionStates: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>>;
16568
16631
  modelFallback: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
16569
16632
  detectedAt: z$1.ZodNumber;
16570
16633
  fallbackModel: z$1.ZodString;
@@ -16895,22 +16958,7 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16895
16958
  }, z$1.core.$strip>>;
16896
16959
  usedTokens: z$1.ZodNumber;
16897
16960
  }, z$1.core.$strip>>;
16898
- goal: z$1.ZodNullable<z$1.ZodObject<{
16899
- objective: z$1.ZodString;
16900
- sourceSeq: z$1.ZodNumber;
16901
- status: z$1.ZodEnum<{
16902
- active: "active";
16903
- blocked: "blocked";
16904
- budgetLimited: "budgetLimited";
16905
- complete: "complete";
16906
- paused: "paused";
16907
- usageLimited: "usageLimited";
16908
- }>;
16909
- timeUsedSeconds: z$1.ZodNumber;
16910
- tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
16911
- tokensUsed: z$1.ZodNumber;
16912
- updatedAt: z$1.ZodNumber;
16913
- }, z$1.core.$strip>>;
16961
+ extensionStates: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>;
16914
16962
  maxSeq: z$1.ZodNumber;
16915
16963
  modelFallback: z$1.ZodNullable<z$1.ZodObject<{
16916
16964
  detectedAt: z$1.ZodNumber;
@@ -18583,6 +18631,9 @@ type SystemSetAiServiceSelectionArgs = SetAiServiceSelectionRequest;
18583
18631
  type SystemTestAiServiceArgs = TestAiServiceRequest;
18584
18632
  type SystemTestAiServiceResult = TestAiServiceResponse;
18585
18633
  type SystemRecordTelemetryEventArgs = RecordTelemetryEventRequest;
18634
+ interface SystemRecordTelemetryEventOptions {
18635
+ keepalive: boolean;
18636
+ }
18586
18637
  interface SystemRecordTelemetryEventResult {
18587
18638
  ok: true;
18588
18639
  }
@@ -18641,7 +18692,7 @@ interface SystemArea {
18641
18692
  executionOptions(args?: SystemExecutionOptionsArgs): Promise<SystemExecutionOptionsResult>;
18642
18693
  cliSkillsStatus(args?: SystemCliSkillsStatusArgs): Promise<SystemCliSkillsStatusResult>;
18643
18694
  installCliSkills(args: SystemInstallCliSkillsArgs): Promise<SystemInstallCliSkillsResult>;
18644
- experimental_recordTelemetryEvent(args: SystemRecordTelemetryEventArgs): Promise<SystemRecordTelemetryEventResult>;
18695
+ experimental_recordTelemetryEvent(args: SystemRecordTelemetryEventArgs, options?: SystemRecordTelemetryEventOptions): Promise<SystemRecordTelemetryEventResult>;
18645
18696
  reloadConfig(): Promise<SystemReloadConfigResult>;
18646
18697
  setAiServiceSelection(args: SystemSetAiServiceSelectionArgs): Promise<SystemAiServicesResult>;
18647
18698
  testAiService(args: SystemTestAiServiceArgs): Promise<SystemTestAiServiceResult>;
@@ -19778,10 +19829,12 @@ interface PluginStorage {
19778
19829
  kv: PluginKvStorage;
19779
19830
  /**
19780
19831
  * The plugin's own SQLite database at <dataDir>/plugins/<id>/data.db — the
19781
- * server's better-sqlite3, WAL mode, busy_timeout 5000. Returns the same
19782
- * open handle for the whole plugin load, so calling it per request is
19783
- * cheap; a new handle is opened only on the first call or after the
19784
- * plugin closed the previous one. The host closes handles on
19832
+ * server's better-sqlite3, WAL mode, busy_timeout 5000. A file the host
19833
+ * creates uses incremental auto_vacuum, so the plugin can return freed
19834
+ * pages with `PRAGMA incremental_vacuum`; bb never runs a full VACUUM on
19835
+ * it. Returns the same open handle for the whole plugin load, so calling it
19836
+ * per request is cheap; a new handle is opened only on the first call or
19837
+ * after the plugin closed the previous one. The host closes handles on
19785
19838
  * dispose/reload; a closed handle throws on use.
19786
19839
  */
19787
19840
  database(): Database.Database;
@@ -21127,6 +21180,14 @@ interface PluginProviderDeclaration {
21127
21180
  * project-scoped entries, which a global declaration cannot carry.
21128
21181
  */
21129
21182
  experimental_resolvesNativeRoots?: boolean;
21183
+ /**
21184
+ * Internal to bb's own provider plugins; not part of the plugin API, and it
21185
+ * may change or disappear in any release. When true, the first-run setup
21186
+ * guide runs this provider's sign-in in its guided panel, which reads the
21187
+ * sign-in link and code from the provider's login output. Otherwise the
21188
+ * guide opens the provider's sign-in terminal in the row. Defaults to false.
21189
+ */
21190
+ internal_DO_NOT_USE_guidedSignIn?: boolean;
21130
21191
  /**
21131
21192
  * Derive this provider's opaque per-command options. Called synchronously
21132
21193
  * by the server for every session and turn command on a thread of this
@@ -21710,10 +21771,27 @@ interface PluginHomepageSectionProps {
21710
21771
  /**
21711
21772
  * Props passed to a `settingsSection` component.
21712
21773
  *
21713
- * Deliberately empty in V1; versioned additive like the other slot props.
21774
+ * Versioned additive like the other slot props.
21714
21775
  */
21715
21776
  interface PluginSettingsSectionProps {
21777
+ /**
21778
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
21779
+ * Set only when the setup guide renders the section; call it when the user
21780
+ * starts setting it up.
21781
+ */
21782
+ internal_DO_NOT_USE_onSetupStarted?: () => void;
21783
+ /**
21784
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
21785
+ * Set only when the setup guide renders the section; call it when a setup
21786
+ * attempt fails, with the stage that failed.
21787
+ */
21788
+ internal_DO_NOT_USE_onSetupFailed?: (stage: InternalDoNotUseSetupFailureStage) => void;
21716
21789
  }
21790
+ /**
21791
+ * Stage of a setup guide section's setup attempt that failed.
21792
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
21793
+ */
21794
+ type InternalDoNotUseSetupFailureStage = "pairing" | "sign_in" | "turn_on";
21717
21795
  /**
21718
21796
  * Props passed to an `experimental_appOverlay` component.
21719
21797
  *
@@ -21722,6 +21800,18 @@ interface PluginSettingsSectionProps {
21722
21800
  */
21723
21801
  interface ExperimentalAppOverlayProps {
21724
21802
  }
21803
+ /**
21804
+ * Props passed to an `internal_DO_NOT_USE_setupGuideSection` component.
21805
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
21806
+ */
21807
+ interface InternalDoNotUseSetupGuideSectionProps {
21808
+ /** True when the setup guide is open on a phone. */
21809
+ onPhone: boolean;
21810
+ /** Call when the user starts setting up this section. */
21811
+ onSetupStarted: () => void;
21812
+ /** Call when a setup attempt fails, with the stage that failed. */
21813
+ onSetupFailed: (stage: InternalDoNotUseSetupFailureStage) => void;
21814
+ }
21725
21815
  type ExperimentalPageTitle = ({
21726
21816
  title: string;
21727
21817
  breadcrumbs?: never;
@@ -22463,6 +22553,15 @@ interface ExperimentalAppOverlayRegistration {
22463
22553
  id: string;
22464
22554
  component: ComponentType<ExperimentalAppOverlayProps>;
22465
22555
  }
22556
+ /**
22557
+ * Render one row in the first-run setup guide's "Where you use bb" group.
22558
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
22559
+ */
22560
+ interface InternalDoNotUseSetupGuideSectionRegistration {
22561
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
22562
+ id: string;
22563
+ component: ComponentType<InternalDoNotUseSetupGuideSectionProps>;
22564
+ }
22466
22565
  /**
22467
22566
  * A name the host resolves to a glyph, in this order: a name any plugin
22468
22567
  * registered with `app.experimental_icons.register()`, then a built-in BB icon
@@ -22794,7 +22893,7 @@ interface ExperimentalSidebarFooter {
22794
22893
  }
22795
22894
  /**
22796
22895
  * The one status bb would paint for a thread, already resolved through the
22797
- * host's precedence (attention before work; plan and goal before the generic
22896
+ * host's precedence (attention before work; plan mode before the generic
22798
22897
  * spinner). Draw it with {@link PluginSdkApp.experimental_ThreadStatusGlyph},
22799
22898
  * or resolve a row that folds in more through
22800
22899
  * {@link PluginSdkApp.experimental_resolveThreadStatus}.
@@ -22809,14 +22908,13 @@ interface ExperimentalSidebarFooter {
22809
22908
  * precedence bb's list uses (a failed send outranks the unread dot; a waiting
22810
22909
  * message ranks just below it).
22811
22910
  */
22812
- type PluginSidebarThreadIndicator = "background-agent" | "background-command" | "draft" | "goal" | "none" | "plan-mode" | "queued-failed" | "queued-waiting" | "runtime" | "unread-error" | "unread-success" | "waiting-for-input" | "workflow" | "working-draft";
22911
+ type PluginSidebarThreadIndicator = "background-agent" | "background-command" | "draft" | "none" | "plan-mode" | "queued-failed" | "queued-waiting" | "runtime" | "unread-error" | "unread-success" | "waiting-for-input" | "workflow" | "working-draft";
22813
22912
  /** Live work counts on a thread. All zero means nothing is running. */
22814
22913
  interface PluginSidebarThreadActivity {
22815
22914
  workflows: number;
22816
22915
  backgroundAgents: number;
22817
22916
  backgroundCommands: number;
22818
22917
  planMode: number;
22819
- goals: number;
22820
22918
  }
22821
22919
  /**
22822
22920
  * One thread in the sidebar's live view.
@@ -23370,6 +23468,38 @@ interface ExperimentalThreadContextSegmentRegistration {
23370
23468
  */
23371
23469
  useVisible?(input: ExperimentalThreadContextSegmentInput): boolean;
23372
23470
  }
23471
+ /**
23472
+ * The dismiss button of an {@link ExperimentalCollapsibleStackCardProps}
23473
+ * card, such as exiting Plan mode or clearing a Goal. The host disables it
23474
+ * and shows a spinner until `onDismiss` settles, and shows an error toast
23475
+ * built from the rejection, or `failureMessage` when the error has no message
23476
+ * of its own.
23477
+ */
23478
+ interface ExperimentalCollapsibleStackCardDismiss {
23479
+ /** Accessible name of the dismiss button, e.g. `"Clear Goal"`. */
23480
+ label: string;
23481
+ failureMessage: string;
23482
+ onDismiss(): Promise<void>;
23483
+ }
23484
+ /**
23485
+ * Props of the host-owned `experimental_CollapsibleStackCard`: bb's
23486
+ * collapsible card for the stack above a thread's composer, the one bb's Plan
23487
+ * mode card uses. The header shows `icon` and `title` and toggles `children`;
23488
+ * the card starts collapsed.
23489
+ */
23490
+ interface ExperimentalCollapsibleStackCardProps {
23491
+ /** Accessible name of the card and its toggle, e.g. `"Goal"`. */
23492
+ label: string;
23493
+ /** Header text, e.g. `"Goal paused"`. */
23494
+ title: string;
23495
+ icon: BbIconName;
23496
+ /** True draws the header in bb's working style; false draws it muted. */
23497
+ isActive: boolean;
23498
+ /** Adds a dismiss button to the header; omit for none. */
23499
+ dismiss?: ExperimentalCollapsibleStackCardDismiss;
23500
+ /** Shown while the card is expanded. */
23501
+ children: ReactNode;
23502
+ }
23373
23503
  /**
23374
23504
  * A row in the thread Info tab's details block, beside bb's own rows. Render
23375
23505
  * one or more `experimental_DetailRow` elements, or null to show nothing for
@@ -25051,6 +25181,12 @@ interface PluginAppSlots {
25051
25181
  * docs/api_to_audit.md.
25052
25182
  */
25053
25183
  experimental_appOverlay(registration: ExperimentalAppOverlayRegistration): void;
25184
+ /**
25185
+ * Render a setup guide row (see
25186
+ * {@link InternalDoNotUseSetupGuideSectionRegistration}). Internal: see
25187
+ * docs/api_to_audit.md.
25188
+ */
25189
+ internal_DO_NOT_USE_setupGuideSection(registration: InternalDoNotUseSetupGuideSectionRegistration): void;
25054
25190
  navPanel(registration: PluginNavPanelRegistration): void;
25055
25191
  /** Register a context-scoped tab. Experimental: see docs/api_to_audit.md. */
25056
25192
  experimental_tab<C extends ExperimentalTabContext, A extends "action" | "fixed">(registration: ExperimentalTabInput<C, A>): void;
@@ -26557,6 +26693,15 @@ interface PluginSdkApp {
26557
26693
  * Experimental: see docs/api_to_audit.md.
26558
26694
  */
26559
26695
  experimental_useThreadContextKind(): ExperimentalThreadContextKind;
26696
+ /**
26697
+ * The latest state the calling plugin's provider bridge emitted for one of
26698
+ * its declared extension kinds on a thread (`kind` is the local name from
26699
+ * `extensionKinds`, without the plugin id), or null when there is none or
26700
+ * the last state was null. Follows live updates while bb shows the thread.
26701
+ * The value is whatever passed the kind's `state` schema; parse it before
26702
+ * use. Experimental: see docs/api_to_audit.md.
26703
+ */
26704
+ experimental_useThreadExtensionState(threadId: string, kind: string): unknown;
26560
26705
  useBbContext(): BbContext;
26561
26706
  /**
26562
26707
  * The id of the plugin that owns the calling component: the same id
@@ -26985,6 +27130,13 @@ interface PluginSdkApp {
26985
27130
  * remembers that per registration. Experimental: see docs/api_to_audit.md.
26986
27131
  */
26987
27132
  experimental_InfoSection: ComponentType<ExperimentalInfoSectionProps>;
27133
+ /**
27134
+ * bb's collapsible card for the stack above a thread's composer (see
27135
+ * {@link ExperimentalCollapsibleStackCardProps}). Render it from a
27136
+ * thread-scoped composer banner with `chrome: "bare"`. Experimental: see
27137
+ * docs/api_to_audit.md.
27138
+ */
27139
+ experimental_CollapsibleStackCard: ComponentType<ExperimentalCollapsibleStackCardProps>;
26988
27140
  /**
26989
27141
  * The thread Info tab's label and value row (see
26990
27142
  * {@link ExperimentalDetailRowProps}), the one bb's own rows use.
@@ -27343,4 +27495,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
27343
27495
  };
27344
27496
 
27345
27497
  export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry, getHostPathBasename as experimental_getHostPathBasename, getHostPathComparisonKey as experimental_getHostPathComparisonKey, getHostPathDirname as experimental_getHostPathDirname, getRelativeHostPath as experimental_getRelativeHostPath, isHostPathWithin as experimental_isHostPathWithin, joinHostPath as experimental_joinHostPath, normalizeHostPath as experimental_normalizeHostPath, resolveHostPath as experimental_resolveHostPath };
27346
- export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
27498
+ export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };