@get-bb/plugin-sdk 0.6.125 → 0.6.132

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";
@@ -1559,6 +1559,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
1559
1559
  foreground: z$1.ZodBoolean;
1560
1560
  id: z$1.ZodString;
1561
1561
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1562
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
1562
1563
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1563
1564
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1564
1565
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2327,6 +2328,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2327
2328
  foreground: z$1.ZodBoolean;
2328
2329
  id: z$1.ZodString;
2329
2330
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2331
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2330
2332
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2331
2333
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2332
2334
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2559,6 +2561,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2559
2561
  foreground: z$1.ZodBoolean;
2560
2562
  id: z$1.ZodString;
2561
2563
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2564
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2562
2565
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2563
2566
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2564
2567
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2658,6 +2661,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2658
2661
  foreground: z$1.ZodBoolean;
2659
2662
  id: z$1.ZodString;
2660
2663
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2664
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2661
2665
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2662
2666
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2663
2667
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -5275,7 +5279,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
5275
5279
  activity: z$1.ZodObject<{
5276
5280
  activeBackgroundAgentCount: z$1.ZodNumber;
5277
5281
  activeBackgroundCommandCount: z$1.ZodNumber;
5278
- activeGoalCount: z$1.ZodNumber;
5279
5282
  activePlanModeCount: z$1.ZodNumber;
5280
5283
  activeWorkflowCount: z$1.ZodNumber;
5281
5284
  }, z$1.core.$strip>;
@@ -5386,7 +5389,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5386
5389
  activity: z$1.ZodObject<{
5387
5390
  activeBackgroundAgentCount: z$1.ZodNumber;
5388
5391
  activeBackgroundCommandCount: z$1.ZodNumber;
5389
- activeGoalCount: z$1.ZodNumber;
5390
5392
  activePlanModeCount: z$1.ZodNumber;
5391
5393
  activeWorkflowCount: z$1.ZodNumber;
5392
5394
  }, z$1.core.$strip>;
@@ -5495,7 +5497,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5495
5497
  activity: z$1.ZodObject<{
5496
5498
  activeBackgroundAgentCount: z$1.ZodNumber;
5497
5499
  activeBackgroundCommandCount: z$1.ZodNumber;
5498
- activeGoalCount: z$1.ZodNumber;
5499
5500
  activePlanModeCount: z$1.ZodNumber;
5500
5501
  activeWorkflowCount: z$1.ZodNumber;
5501
5502
  }, z$1.core.$strip>;
@@ -8215,6 +8216,7 @@ declare const hostDaemonCommandRegistry: {
8215
8216
  canInstall: z$1.ZodBoolean;
8216
8217
  canUpdate: z$1.ZodBoolean;
8217
8218
  installedVersion: z$1.ZodNullable<z$1.ZodString>;
8219
+ internal_DO_NOT_USE_setupGuidePlanLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
8218
8220
  localLoginCommand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
8219
8221
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
8220
8222
  minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -8418,6 +8420,7 @@ declare const hostDaemonCommandRegistry: {
8418
8420
  path: z$1.ZodString;
8419
8421
  }, z$1.core.$strict>>;
8420
8422
  truncated: z$1.ZodBoolean;
8423
+ unreadableCount: z$1.ZodNumber;
8421
8424
  }, z$1.core.$strict>, "onlineRpc", true>;
8422
8425
  "server_move.inspect": HostDaemonCommandDescriptor<"server_move.inspect", z$1.ZodObject<{
8423
8426
  paths: z$1.ZodArray<z$1.ZodString>;
@@ -8858,6 +8861,7 @@ declare const hostDiscoveredReposResponseSchema: z$1.ZodObject<{
8858
8861
  projectId: z$1.ZodNullable<z$1.ZodString>;
8859
8862
  }, z$1.core.$strip>>;
8860
8863
  truncated: z$1.ZodBoolean;
8864
+ unreadableCount: z$1.ZodNumber;
8861
8865
  }, z$1.core.$strip>;
8862
8866
  type HostDiscoveredReposResponse = z$1.infer<typeof hostDiscoveredReposResponseSchema>;
8863
8867
  declare const hostCloneDefaultPathQuerySchema: z$1.ZodObject<{
@@ -10196,6 +10200,8 @@ declare const systemProviderStatesResponseSchema: z$1.ZodObject<{
10196
10200
  canUpdate: z$1.ZodBoolean;
10197
10201
  displayName: z$1.ZodString;
10198
10202
  installedVersion: z$1.ZodNullable<z$1.ZodString>;
10203
+ internal_DO_NOT_USE_guidedSignIn: z$1.ZodBoolean;
10204
+ internal_DO_NOT_USE_setupGuidePlanLabel: z$1.ZodNullable<z$1.ZodString>;
10199
10205
  localLoginCommand: z$1.ZodNullable<z$1.ZodString>;
10200
10206
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
10201
10207
  minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -10303,6 +10309,7 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10303
10309
  name: z$1.ZodLiteral<"recommendation">;
10304
10310
  properties: z$1.ZodObject<{
10305
10311
  action: z$1.ZodEnum<{
10312
+ deselected: "deselected";
10306
10313
  selected: "selected";
10307
10314
  shown: "shown";
10308
10315
  }>;
@@ -10326,11 +10333,30 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10326
10333
  first_run: "first_run";
10327
10334
  replay: "replay";
10328
10335
  }>;
10336
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10337
+ command_failed: "command_failed";
10338
+ host_unavailable: "host_unavailable";
10339
+ no_host: "no_host";
10340
+ not_found: "not_found";
10341
+ other: "other";
10342
+ permission: "permission";
10343
+ timed_out: "timed_out";
10344
+ unsupported: "unsupported";
10345
+ }>>;
10346
+ failure_stage: z$1.ZodOptional<z$1.ZodEnum<{
10347
+ pairing: "pairing";
10348
+ sign_in: "sign_in";
10349
+ turn_on: "turn_on";
10350
+ }>>;
10329
10351
  item_count: z$1.ZodOptional<z$1.ZodNumber>;
10330
10352
  operation: z$1.ZodEnum<{
10331
10353
  add_machine: "add_machine";
10354
+ disable: "disable";
10355
+ enable: "enable";
10356
+ finish: "finish";
10332
10357
  import: "import";
10333
10358
  install: "install";
10359
+ load: "load";
10334
10360
  remote_access: "remote_access";
10335
10361
  scan: "scan";
10336
10362
  update: "update";
@@ -10348,12 +10374,22 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10348
10374
  projects: "projects";
10349
10375
  }>;
10350
10376
  succeeded_count: z$1.ZodOptional<z$1.ZodNumber>;
10377
+ timed_out: z$1.ZodOptional<z$1.ZodBoolean>;
10378
+ unreadable_count: z$1.ZodOptional<z$1.ZodNumber>;
10351
10379
  }, z$1.core.$strict>;
10352
10380
  }, z$1.core.$strict>, z$1.ZodObject<{
10353
10381
  name: z$1.ZodLiteral<"onboarding_agent_state">;
10354
10382
  properties: z$1.ZodObject<{
10355
10383
  agent_installed: z$1.ZodNullable<z$1.ZodBoolean>;
10356
10384
  agent_ready: z$1.ZodNullable<z$1.ZodBoolean>;
10385
+ agent_statuses: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
10386
+ expired: "expired";
10387
+ not_installed: "not_installed";
10388
+ ready: "ready";
10389
+ unauthenticated: "unauthenticated";
10390
+ unknown: "unknown";
10391
+ unsupported_version: "unsupported_version";
10392
+ }>>>;
10357
10393
  entry: z$1.ZodEnum<{
10358
10394
  first_run: "first_run";
10359
10395
  replay: "replay";
@@ -10366,6 +10402,16 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10366
10402
  first_run: "first_run";
10367
10403
  replay: "replay";
10368
10404
  }>;
10405
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10406
+ command_failed: "command_failed";
10407
+ host_unavailable: "host_unavailable";
10408
+ no_host: "no_host";
10409
+ not_found: "not_found";
10410
+ other: "other";
10411
+ permission: "permission";
10412
+ timed_out: "timed_out";
10413
+ unsupported: "unsupported";
10414
+ }>>;
10369
10415
  outcome: z$1.ZodEnum<{
10370
10416
  cancelled: "cancelled";
10371
10417
  exited: "exited";
@@ -10373,6 +10419,7 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10373
10419
  ready: "ready";
10374
10420
  started: "started";
10375
10421
  }>;
10422
+ resource_id: z$1.ZodString;
10376
10423
  }, z$1.core.$strict>;
10377
10424
  }, z$1.core.$strict>, z$1.ZodObject<{
10378
10425
  name: z$1.ZodLiteral<"new_thread_blocker">;
@@ -10389,12 +10436,31 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10389
10436
  }, z$1.core.$strict>;
10390
10437
  }, z$1.core.$strict>, z$1.ZodObject<{
10391
10438
  name: z$1.ZodLiteral<"new_thread_submit">;
10392
- properties: z$1.ZodObject<{
10439
+ properties: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10393
10440
  outcome: z$1.ZodEnum<{
10394
10441
  accepted: "accepted";
10395
- failed: "failed";
10396
10442
  started: "started";
10397
10443
  }>;
10444
+ }, z$1.core.$strict>, z$1.ZodObject<{
10445
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10446
+ command_failed: "command_failed";
10447
+ host_unavailable: "host_unavailable";
10448
+ no_host: "no_host";
10449
+ not_found: "not_found";
10450
+ other: "other";
10451
+ permission: "permission";
10452
+ timed_out: "timed_out";
10453
+ unsupported: "unsupported";
10454
+ }>>;
10455
+ outcome: z$1.ZodLiteral<"failed">;
10456
+ }, z$1.core.$strict>], "outcome">;
10457
+ }, z$1.core.$strict>, z$1.ZodObject<{
10458
+ name: z$1.ZodLiteral<"onboarding_exposed">;
10459
+ properties: z$1.ZodObject<{
10460
+ entry: z$1.ZodEnum<{
10461
+ first_run: "first_run";
10462
+ replay: "replay";
10463
+ }>;
10398
10464
  }, z$1.core.$strict>;
10399
10465
  }, z$1.core.$strict>, z$1.ZodObject<{
10400
10466
  name: z$1.ZodLiteral<"onboarding_started">;
@@ -10462,6 +10528,39 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10462
10528
  skipped: "skipped";
10463
10529
  }>;
10464
10530
  }, z$1.core.$strict>;
10531
+ }, z$1.core.$strict>, z$1.ZodObject<{
10532
+ name: z$1.ZodLiteral<"onboarding_left">;
10533
+ properties: z$1.ZodObject<{
10534
+ entry: z$1.ZodEnum<{
10535
+ first_run: "first_run";
10536
+ replay: "replay";
10537
+ }>;
10538
+ step: z$1.ZodEnum<{
10539
+ agent: "agent";
10540
+ devices: "devices";
10541
+ plugins: "plugins";
10542
+ projects: "projects";
10543
+ }>;
10544
+ }, z$1.core.$strict>;
10545
+ }, z$1.core.$strict>, z$1.ZodObject<{
10546
+ name: z$1.ZodLiteral<"onboarding_error">;
10547
+ properties: z$1.ZodObject<{
10548
+ entry: z$1.ZodEnum<{
10549
+ first_run: "first_run";
10550
+ replay: "replay";
10551
+ }>;
10552
+ kind: z$1.ZodEnum<{
10553
+ render: "render";
10554
+ uncaught: "uncaught";
10555
+ unhandled_rejection: "unhandled_rejection";
10556
+ }>;
10557
+ step: z$1.ZodEnum<{
10558
+ agent: "agent";
10559
+ devices: "devices";
10560
+ plugins: "plugins";
10561
+ projects: "projects";
10562
+ }>;
10563
+ }, z$1.core.$strict>;
10465
10564
  }, z$1.core.$strict>, z$1.ZodObject<{
10466
10565
  name: z$1.ZodLiteral<"release_notes_opened">;
10467
10566
  properties: z$1.ZodObject<{
@@ -14131,7 +14230,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
14131
14230
  activity: z$1.ZodObject<{
14132
14231
  activeBackgroundAgentCount: z$1.ZodNumber;
14133
14232
  activeBackgroundCommandCount: z$1.ZodNumber;
14134
- activeGoalCount: z$1.ZodNumber;
14135
14233
  activePlanModeCount: z$1.ZodNumber;
14136
14234
  activeWorkflowCount: z$1.ZodNumber;
14137
14235
  }, z$1.core.$strip>;
@@ -14237,7 +14335,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14237
14335
  activity: z$1.ZodObject<{
14238
14336
  activeBackgroundAgentCount: z$1.ZodNumber;
14239
14337
  activeBackgroundCommandCount: z$1.ZodNumber;
14240
- activeGoalCount: z$1.ZodNumber;
14241
14338
  activePlanModeCount: z$1.ZodNumber;
14242
14339
  activeWorkflowCount: z$1.ZodNumber;
14243
14340
  }, z$1.core.$strip>;
@@ -14334,7 +14431,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14334
14431
  activity: z$1.ZodObject<{
14335
14432
  activeBackgroundAgentCount: z$1.ZodNumber;
14336
14433
  activeBackgroundCommandCount: z$1.ZodNumber;
14337
- activeGoalCount: z$1.ZodNumber;
14338
14434
  activePlanModeCount: z$1.ZodNumber;
14339
14435
  activeWorkflowCount: z$1.ZodNumber;
14340
14436
  }, z$1.core.$strip>;
@@ -16201,22 +16297,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16201
16297
  }, z$1.core.$strip>>;
16202
16298
  usedTokens: z$1.ZodNumber;
16203
16299
  }, 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>>;
16300
+ extensionStates: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>;
16220
16301
  maxSeq: z$1.ZodNumber;
16221
16302
  modelFallback: z$1.ZodNullable<z$1.ZodObject<{
16222
16303
  detectedAt: z$1.ZodNumber;
@@ -16549,22 +16630,7 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16549
16630
  }, z$1.core.$strip>>;
16550
16631
  usedTokens: z$1.ZodNumber;
16551
16632
  }, 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>>>;
16633
+ extensionStates: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>>;
16568
16634
  modelFallback: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
16569
16635
  detectedAt: z$1.ZodNumber;
16570
16636
  fallbackModel: z$1.ZodString;
@@ -16895,22 +16961,7 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16895
16961
  }, z$1.core.$strip>>;
16896
16962
  usedTokens: z$1.ZodNumber;
16897
16963
  }, 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>>;
16964
+ extensionStates: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue$1, unknown, z$1.core.$ZodTypeInternals<JsonValue$1, unknown>>>;
16914
16965
  maxSeq: z$1.ZodNumber;
16915
16966
  modelFallback: z$1.ZodNullable<z$1.ZodObject<{
16916
16967
  detectedAt: z$1.ZodNumber;
@@ -18583,6 +18634,9 @@ type SystemSetAiServiceSelectionArgs = SetAiServiceSelectionRequest;
18583
18634
  type SystemTestAiServiceArgs = TestAiServiceRequest;
18584
18635
  type SystemTestAiServiceResult = TestAiServiceResponse;
18585
18636
  type SystemRecordTelemetryEventArgs = RecordTelemetryEventRequest;
18637
+ interface SystemRecordTelemetryEventOptions {
18638
+ keepalive: boolean;
18639
+ }
18586
18640
  interface SystemRecordTelemetryEventResult {
18587
18641
  ok: true;
18588
18642
  }
@@ -18641,7 +18695,7 @@ interface SystemArea {
18641
18695
  executionOptions(args?: SystemExecutionOptionsArgs): Promise<SystemExecutionOptionsResult>;
18642
18696
  cliSkillsStatus(args?: SystemCliSkillsStatusArgs): Promise<SystemCliSkillsStatusResult>;
18643
18697
  installCliSkills(args: SystemInstallCliSkillsArgs): Promise<SystemInstallCliSkillsResult>;
18644
- experimental_recordTelemetryEvent(args: SystemRecordTelemetryEventArgs): Promise<SystemRecordTelemetryEventResult>;
18698
+ experimental_recordTelemetryEvent(args: SystemRecordTelemetryEventArgs, options?: SystemRecordTelemetryEventOptions): Promise<SystemRecordTelemetryEventResult>;
18645
18699
  reloadConfig(): Promise<SystemReloadConfigResult>;
18646
18700
  setAiServiceSelection(args: SystemSetAiServiceSelectionArgs): Promise<SystemAiServicesResult>;
18647
18701
  testAiService(args: SystemTestAiServiceArgs): Promise<SystemTestAiServiceResult>;
@@ -19778,10 +19832,12 @@ interface PluginStorage {
19778
19832
  kv: PluginKvStorage;
19779
19833
  /**
19780
19834
  * 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
19835
+ * server's better-sqlite3, WAL mode, busy_timeout 5000. A file the host
19836
+ * creates uses incremental auto_vacuum, so the plugin can return freed
19837
+ * pages with `PRAGMA incremental_vacuum`; bb never runs a full VACUUM on
19838
+ * it. Returns the same open handle for the whole plugin load, so calling it
19839
+ * per request is cheap; a new handle is opened only on the first call or
19840
+ * after the plugin closed the previous one. The host closes handles on
19785
19841
  * dispose/reload; a closed handle throws on use.
19786
19842
  */
19787
19843
  database(): Database.Database;
@@ -21127,6 +21183,14 @@ interface PluginProviderDeclaration {
21127
21183
  * project-scoped entries, which a global declaration cannot carry.
21128
21184
  */
21129
21185
  experimental_resolvesNativeRoots?: boolean;
21186
+ /**
21187
+ * Internal to bb's own provider plugins; not part of the plugin API, and it
21188
+ * may change or disappear in any release. When true, the first-run setup
21189
+ * guide runs this provider's sign-in in its guided panel, which reads the
21190
+ * sign-in link and code from the provider's login output. Otherwise the
21191
+ * guide opens the provider's sign-in terminal in the row. Defaults to false.
21192
+ */
21193
+ internal_DO_NOT_USE_guidedSignIn?: boolean;
21130
21194
  /**
21131
21195
  * Derive this provider's opaque per-command options. Called synchronously
21132
21196
  * by the server for every session and turn command on a thread of this
@@ -21710,10 +21774,27 @@ interface PluginHomepageSectionProps {
21710
21774
  /**
21711
21775
  * Props passed to a `settingsSection` component.
21712
21776
  *
21713
- * Deliberately empty in V1; versioned additive like the other slot props.
21777
+ * Versioned additive like the other slot props.
21714
21778
  */
21715
21779
  interface PluginSettingsSectionProps {
21780
+ /**
21781
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
21782
+ * Set only when the setup guide renders the section; call it when the user
21783
+ * starts setting it up.
21784
+ */
21785
+ internal_DO_NOT_USE_onSetupStarted?: () => void;
21786
+ /**
21787
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
21788
+ * Set only when the setup guide renders the section; call it when a setup
21789
+ * attempt fails, with the stage that failed.
21790
+ */
21791
+ internal_DO_NOT_USE_onSetupFailed?: (stage: InternalDoNotUseSetupFailureStage) => void;
21716
21792
  }
21793
+ /**
21794
+ * Stage of a setup guide section's setup attempt that failed.
21795
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
21796
+ */
21797
+ type InternalDoNotUseSetupFailureStage = "pairing" | "sign_in" | "turn_on";
21717
21798
  /**
21718
21799
  * Props passed to an `experimental_appOverlay` component.
21719
21800
  *
@@ -21722,6 +21803,18 @@ interface PluginSettingsSectionProps {
21722
21803
  */
21723
21804
  interface ExperimentalAppOverlayProps {
21724
21805
  }
21806
+ /**
21807
+ * Props passed to an `internal_DO_NOT_USE_setupGuideSection` component.
21808
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
21809
+ */
21810
+ interface InternalDoNotUseSetupGuideSectionProps {
21811
+ /** True when the setup guide is open on a phone. */
21812
+ onPhone: boolean;
21813
+ /** Call when the user starts setting up this section. */
21814
+ onSetupStarted: () => void;
21815
+ /** Call when a setup attempt fails, with the stage that failed. */
21816
+ onSetupFailed: (stage: InternalDoNotUseSetupFailureStage) => void;
21817
+ }
21725
21818
  type ExperimentalPageTitle = ({
21726
21819
  title: string;
21727
21820
  breadcrumbs?: never;
@@ -22463,6 +22556,15 @@ interface ExperimentalAppOverlayRegistration {
22463
22556
  id: string;
22464
22557
  component: ComponentType<ExperimentalAppOverlayProps>;
22465
22558
  }
22559
+ /**
22560
+ * Render one row in the first-run setup guide's "Where you use bb" group.
22561
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
22562
+ */
22563
+ interface InternalDoNotUseSetupGuideSectionRegistration {
22564
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
22565
+ id: string;
22566
+ component: ComponentType<InternalDoNotUseSetupGuideSectionProps>;
22567
+ }
22466
22568
  /**
22467
22569
  * A name the host resolves to a glyph, in this order: a name any plugin
22468
22570
  * registered with `app.experimental_icons.register()`, then a built-in BB icon
@@ -22794,7 +22896,7 @@ interface ExperimentalSidebarFooter {
22794
22896
  }
22795
22897
  /**
22796
22898
  * 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
22899
+ * host's precedence (attention before work; plan mode before the generic
22798
22900
  * spinner). Draw it with {@link PluginSdkApp.experimental_ThreadStatusGlyph},
22799
22901
  * or resolve a row that folds in more through
22800
22902
  * {@link PluginSdkApp.experimental_resolveThreadStatus}.
@@ -22809,14 +22911,13 @@ interface ExperimentalSidebarFooter {
22809
22911
  * precedence bb's list uses (a failed send outranks the unread dot; a waiting
22810
22912
  * message ranks just below it).
22811
22913
  */
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";
22914
+ 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
22915
  /** Live work counts on a thread. All zero means nothing is running. */
22814
22916
  interface PluginSidebarThreadActivity {
22815
22917
  workflows: number;
22816
22918
  backgroundAgents: number;
22817
22919
  backgroundCommands: number;
22818
22920
  planMode: number;
22819
- goals: number;
22820
22921
  }
22821
22922
  /**
22822
22923
  * One thread in the sidebar's live view.
@@ -23370,6 +23471,38 @@ interface ExperimentalThreadContextSegmentRegistration {
23370
23471
  */
23371
23472
  useVisible?(input: ExperimentalThreadContextSegmentInput): boolean;
23372
23473
  }
23474
+ /**
23475
+ * The dismiss button of an {@link ExperimentalCollapsibleStackCardProps}
23476
+ * card, such as exiting Plan mode or clearing a Goal. The host disables it
23477
+ * and shows a spinner until `onDismiss` settles, and shows an error toast
23478
+ * built from the rejection, or `failureMessage` when the error has no message
23479
+ * of its own.
23480
+ */
23481
+ interface ExperimentalCollapsibleStackCardDismiss {
23482
+ /** Accessible name of the dismiss button, e.g. `"Clear Goal"`. */
23483
+ label: string;
23484
+ failureMessage: string;
23485
+ onDismiss(): Promise<void>;
23486
+ }
23487
+ /**
23488
+ * Props of the host-owned `experimental_CollapsibleStackCard`: bb's
23489
+ * collapsible card for the stack above a thread's composer, the one bb's Plan
23490
+ * mode card uses. The header shows `icon` and `title` and toggles `children`;
23491
+ * the card starts collapsed.
23492
+ */
23493
+ interface ExperimentalCollapsibleStackCardProps {
23494
+ /** Accessible name of the card and its toggle, e.g. `"Goal"`. */
23495
+ label: string;
23496
+ /** Header text, e.g. `"Goal paused"`. */
23497
+ title: string;
23498
+ icon: BbIconName;
23499
+ /** True draws the header in bb's working style; false draws it muted. */
23500
+ isActive: boolean;
23501
+ /** Adds a dismiss button to the header; omit for none. */
23502
+ dismiss?: ExperimentalCollapsibleStackCardDismiss;
23503
+ /** Shown while the card is expanded. */
23504
+ children: ReactNode;
23505
+ }
23373
23506
  /**
23374
23507
  * A row in the thread Info tab's details block, beside bb's own rows. Render
23375
23508
  * one or more `experimental_DetailRow` elements, or null to show nothing for
@@ -25051,6 +25184,12 @@ interface PluginAppSlots {
25051
25184
  * docs/api_to_audit.md.
25052
25185
  */
25053
25186
  experimental_appOverlay(registration: ExperimentalAppOverlayRegistration): void;
25187
+ /**
25188
+ * Render a setup guide row (see
25189
+ * {@link InternalDoNotUseSetupGuideSectionRegistration}). Internal: see
25190
+ * docs/api_to_audit.md.
25191
+ */
25192
+ internal_DO_NOT_USE_setupGuideSection(registration: InternalDoNotUseSetupGuideSectionRegistration): void;
25054
25193
  navPanel(registration: PluginNavPanelRegistration): void;
25055
25194
  /** Register a context-scoped tab. Experimental: see docs/api_to_audit.md. */
25056
25195
  experimental_tab<C extends ExperimentalTabContext, A extends "action" | "fixed">(registration: ExperimentalTabInput<C, A>): void;
@@ -26557,6 +26696,15 @@ interface PluginSdkApp {
26557
26696
  * Experimental: see docs/api_to_audit.md.
26558
26697
  */
26559
26698
  experimental_useThreadContextKind(): ExperimentalThreadContextKind;
26699
+ /**
26700
+ * The latest state the calling plugin's provider bridge emitted for one of
26701
+ * its declared extension kinds on a thread (`kind` is the local name from
26702
+ * `extensionKinds`, without the plugin id), or null when there is none or
26703
+ * the last state was null. Follows live updates while bb shows the thread.
26704
+ * The value is whatever passed the kind's `state` schema; parse it before
26705
+ * use. Experimental: see docs/api_to_audit.md.
26706
+ */
26707
+ experimental_useThreadExtensionState(threadId: string, kind: string): unknown;
26560
26708
  useBbContext(): BbContext;
26561
26709
  /**
26562
26710
  * The id of the plugin that owns the calling component: the same id
@@ -26985,6 +27133,13 @@ interface PluginSdkApp {
26985
27133
  * remembers that per registration. Experimental: see docs/api_to_audit.md.
26986
27134
  */
26987
27135
  experimental_InfoSection: ComponentType<ExperimentalInfoSectionProps>;
27136
+ /**
27137
+ * bb's collapsible card for the stack above a thread's composer (see
27138
+ * {@link ExperimentalCollapsibleStackCardProps}). Render it from a
27139
+ * thread-scoped composer banner with `chrome: "bare"`. Experimental: see
27140
+ * docs/api_to_audit.md.
27141
+ */
27142
+ experimental_CollapsibleStackCard: ComponentType<ExperimentalCollapsibleStackCardProps>;
26988
27143
  /**
26989
27144
  * The thread Info tab's label and value row (see
26990
27145
  * {@link ExperimentalDetailRowProps}), the one bb's own rows use.
@@ -27343,4 +27498,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
27343
27498
  };
27344
27499
 
27345
27500
  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 };
27501
+ 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 };