@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.
@@ -438,7 +438,6 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
438
438
  activity: z$1.ZodObject<{
439
439
  activeBackgroundAgentCount: z$1.ZodNumber;
440
440
  activeBackgroundCommandCount: z$1.ZodNumber;
441
- activeGoalCount: z$1.ZodNumber;
442
441
  activePlanModeCount: z$1.ZodNumber;
443
442
  activeWorkflowCount: z$1.ZodNumber;
444
443
  }, z$1.core.$strip>;
@@ -484,6 +483,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
484
483
  changes: z$1.ZodReadonly<z$1.ZodArray<z$1.ZodEnum<{
485
484
  "environment-created": "environment-created";
486
485
  "environment-deleted": "environment-deleted";
486
+ "git-branches-changed": "git-branches-changed";
487
487
  "git-refs-changed": "git-refs-changed";
488
488
  "metadata-changed": "metadata-changed";
489
489
  "status-changed": "status-changed";
@@ -1407,6 +1407,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
1407
1407
  foreground: z$1.ZodBoolean;
1408
1408
  id: z$1.ZodString;
1409
1409
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1410
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
1410
1411
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1411
1412
  presentation: z$1.ZodOptional<z$1.ZodObject<{
1412
1413
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2175,6 +2176,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2175
2176
  foreground: z$1.ZodBoolean;
2176
2177
  id: z$1.ZodString;
2177
2178
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2179
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2178
2180
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2179
2181
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2180
2182
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2407,6 +2409,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2407
2409
  foreground: z$1.ZodBoolean;
2408
2410
  id: z$1.ZodString;
2409
2411
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2412
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2410
2413
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2411
2414
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2412
2415
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -2506,6 +2509,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2506
2509
  foreground: z$1.ZodBoolean;
2507
2510
  id: z$1.ZodString;
2508
2511
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2512
+ ownerStopped: z$1.ZodOptional<z$1.ZodLiteral<true>>;
2509
2513
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
2510
2514
  presentation: z$1.ZodOptional<z$1.ZodObject<{
2511
2515
  badge: z$1.ZodOptional<z$1.ZodObject<{
@@ -5060,7 +5064,6 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
5060
5064
  activity: z$1.ZodObject<{
5061
5065
  activeBackgroundAgentCount: z$1.ZodNumber;
5062
5066
  activeBackgroundCommandCount: z$1.ZodNumber;
5063
- activeGoalCount: z$1.ZodNumber;
5064
5067
  activePlanModeCount: z$1.ZodNumber;
5065
5068
  activeWorkflowCount: z$1.ZodNumber;
5066
5069
  }, z$1.core.$strip>;
@@ -5171,7 +5174,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5171
5174
  activity: z$1.ZodObject<{
5172
5175
  activeBackgroundAgentCount: z$1.ZodNumber;
5173
5176
  activeBackgroundCommandCount: z$1.ZodNumber;
5174
- activeGoalCount: z$1.ZodNumber;
5175
5177
  activePlanModeCount: z$1.ZodNumber;
5176
5178
  activeWorkflowCount: z$1.ZodNumber;
5177
5179
  }, z$1.core.$strip>;
@@ -5280,7 +5282,6 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
5280
5282
  activity: z$1.ZodObject<{
5281
5283
  activeBackgroundAgentCount: z$1.ZodNumber;
5282
5284
  activeBackgroundCommandCount: z$1.ZodNumber;
5283
- activeGoalCount: z$1.ZodNumber;
5284
5285
  activePlanModeCount: z$1.ZodNumber;
5285
5286
  activeWorkflowCount: z$1.ZodNumber;
5286
5287
  }, z$1.core.$strip>;
@@ -8000,6 +8001,7 @@ declare const hostDaemonCommandRegistry: {
8000
8001
  canInstall: z$1.ZodBoolean;
8001
8002
  canUpdate: z$1.ZodBoolean;
8002
8003
  installedVersion: z$1.ZodNullable<z$1.ZodString>;
8004
+ internal_DO_NOT_USE_setupGuidePlanLabel: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
8003
8005
  localLoginCommand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
8004
8006
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
8005
8007
  minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -8203,6 +8205,7 @@ declare const hostDaemonCommandRegistry: {
8203
8205
  path: z$1.ZodString;
8204
8206
  }, z$1.core.$strict>>;
8205
8207
  truncated: z$1.ZodBoolean;
8208
+ unreadableCount: z$1.ZodNumber;
8206
8209
  }, z$1.core.$strict>, "onlineRpc", true>;
8207
8210
  "server_move.inspect": HostDaemonCommandDescriptor<"server_move.inspect", z$1.ZodObject<{
8208
8211
  paths: z$1.ZodArray<z$1.ZodString>;
@@ -8643,6 +8646,7 @@ declare const hostDiscoveredReposResponseSchema: z$1.ZodObject<{
8643
8646
  projectId: z$1.ZodNullable<z$1.ZodString>;
8644
8647
  }, z$1.core.$strip>>;
8645
8648
  truncated: z$1.ZodBoolean;
8649
+ unreadableCount: z$1.ZodNumber;
8646
8650
  }, z$1.core.$strip>;
8647
8651
  type HostDiscoveredReposResponse = z$1.infer<typeof hostDiscoveredReposResponseSchema>;
8648
8652
  declare const hostCloneDefaultPathQuerySchema: z$1.ZodObject<{
@@ -9981,6 +9985,8 @@ declare const systemProviderStatesResponseSchema: z$1.ZodObject<{
9981
9985
  canUpdate: z$1.ZodBoolean;
9982
9986
  displayName: z$1.ZodString;
9983
9987
  installedVersion: z$1.ZodNullable<z$1.ZodString>;
9988
+ internal_DO_NOT_USE_guidedSignIn: z$1.ZodBoolean;
9989
+ internal_DO_NOT_USE_setupGuidePlanLabel: z$1.ZodNullable<z$1.ZodString>;
9984
9990
  localLoginCommand: z$1.ZodNullable<z$1.ZodString>;
9985
9991
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
9986
9992
  minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
@@ -10088,6 +10094,7 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10088
10094
  name: z$1.ZodLiteral<"recommendation">;
10089
10095
  properties: z$1.ZodObject<{
10090
10096
  action: z$1.ZodEnum<{
10097
+ deselected: "deselected";
10091
10098
  selected: "selected";
10092
10099
  shown: "shown";
10093
10100
  }>;
@@ -10111,11 +10118,30 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10111
10118
  first_run: "first_run";
10112
10119
  replay: "replay";
10113
10120
  }>;
10121
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10122
+ command_failed: "command_failed";
10123
+ host_unavailable: "host_unavailable";
10124
+ no_host: "no_host";
10125
+ not_found: "not_found";
10126
+ other: "other";
10127
+ permission: "permission";
10128
+ timed_out: "timed_out";
10129
+ unsupported: "unsupported";
10130
+ }>>;
10131
+ failure_stage: z$1.ZodOptional<z$1.ZodEnum<{
10132
+ pairing: "pairing";
10133
+ sign_in: "sign_in";
10134
+ turn_on: "turn_on";
10135
+ }>>;
10114
10136
  item_count: z$1.ZodOptional<z$1.ZodNumber>;
10115
10137
  operation: z$1.ZodEnum<{
10116
10138
  add_machine: "add_machine";
10139
+ disable: "disable";
10140
+ enable: "enable";
10141
+ finish: "finish";
10117
10142
  import: "import";
10118
10143
  install: "install";
10144
+ load: "load";
10119
10145
  remote_access: "remote_access";
10120
10146
  scan: "scan";
10121
10147
  update: "update";
@@ -10133,12 +10159,22 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10133
10159
  projects: "projects";
10134
10160
  }>;
10135
10161
  succeeded_count: z$1.ZodOptional<z$1.ZodNumber>;
10162
+ timed_out: z$1.ZodOptional<z$1.ZodBoolean>;
10163
+ unreadable_count: z$1.ZodOptional<z$1.ZodNumber>;
10136
10164
  }, z$1.core.$strict>;
10137
10165
  }, z$1.core.$strict>, z$1.ZodObject<{
10138
10166
  name: z$1.ZodLiteral<"onboarding_agent_state">;
10139
10167
  properties: z$1.ZodObject<{
10140
10168
  agent_installed: z$1.ZodNullable<z$1.ZodBoolean>;
10141
10169
  agent_ready: z$1.ZodNullable<z$1.ZodBoolean>;
10170
+ agent_statuses: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
10171
+ expired: "expired";
10172
+ not_installed: "not_installed";
10173
+ ready: "ready";
10174
+ unauthenticated: "unauthenticated";
10175
+ unknown: "unknown";
10176
+ unsupported_version: "unsupported_version";
10177
+ }>>>;
10142
10178
  entry: z$1.ZodEnum<{
10143
10179
  first_run: "first_run";
10144
10180
  replay: "replay";
@@ -10151,6 +10187,16 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10151
10187
  first_run: "first_run";
10152
10188
  replay: "replay";
10153
10189
  }>;
10190
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10191
+ command_failed: "command_failed";
10192
+ host_unavailable: "host_unavailable";
10193
+ no_host: "no_host";
10194
+ not_found: "not_found";
10195
+ other: "other";
10196
+ permission: "permission";
10197
+ timed_out: "timed_out";
10198
+ unsupported: "unsupported";
10199
+ }>>;
10154
10200
  outcome: z$1.ZodEnum<{
10155
10201
  cancelled: "cancelled";
10156
10202
  exited: "exited";
@@ -10158,6 +10204,7 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10158
10204
  ready: "ready";
10159
10205
  started: "started";
10160
10206
  }>;
10207
+ resource_id: z$1.ZodString;
10161
10208
  }, z$1.core.$strict>;
10162
10209
  }, z$1.core.$strict>, z$1.ZodObject<{
10163
10210
  name: z$1.ZodLiteral<"new_thread_blocker">;
@@ -10174,12 +10221,31 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10174
10221
  }, z$1.core.$strict>;
10175
10222
  }, z$1.core.$strict>, z$1.ZodObject<{
10176
10223
  name: z$1.ZodLiteral<"new_thread_submit">;
10177
- properties: z$1.ZodObject<{
10224
+ properties: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
10178
10225
  outcome: z$1.ZodEnum<{
10179
10226
  accepted: "accepted";
10180
- failed: "failed";
10181
10227
  started: "started";
10182
10228
  }>;
10229
+ }, z$1.core.$strict>, z$1.ZodObject<{
10230
+ failure_reason: z$1.ZodOptional<z$1.ZodEnum<{
10231
+ command_failed: "command_failed";
10232
+ host_unavailable: "host_unavailable";
10233
+ no_host: "no_host";
10234
+ not_found: "not_found";
10235
+ other: "other";
10236
+ permission: "permission";
10237
+ timed_out: "timed_out";
10238
+ unsupported: "unsupported";
10239
+ }>>;
10240
+ outcome: z$1.ZodLiteral<"failed">;
10241
+ }, z$1.core.$strict>], "outcome">;
10242
+ }, z$1.core.$strict>, z$1.ZodObject<{
10243
+ name: z$1.ZodLiteral<"onboarding_exposed">;
10244
+ properties: z$1.ZodObject<{
10245
+ entry: z$1.ZodEnum<{
10246
+ first_run: "first_run";
10247
+ replay: "replay";
10248
+ }>;
10183
10249
  }, z$1.core.$strict>;
10184
10250
  }, z$1.core.$strict>, z$1.ZodObject<{
10185
10251
  name: z$1.ZodLiteral<"onboarding_started">;
@@ -10247,6 +10313,39 @@ declare const recordTelemetryEventRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.
10247
10313
  skipped: "skipped";
10248
10314
  }>;
10249
10315
  }, z$1.core.$strict>;
10316
+ }, z$1.core.$strict>, z$1.ZodObject<{
10317
+ name: z$1.ZodLiteral<"onboarding_left">;
10318
+ properties: z$1.ZodObject<{
10319
+ entry: z$1.ZodEnum<{
10320
+ first_run: "first_run";
10321
+ replay: "replay";
10322
+ }>;
10323
+ step: z$1.ZodEnum<{
10324
+ agent: "agent";
10325
+ devices: "devices";
10326
+ plugins: "plugins";
10327
+ projects: "projects";
10328
+ }>;
10329
+ }, z$1.core.$strict>;
10330
+ }, z$1.core.$strict>, z$1.ZodObject<{
10331
+ name: z$1.ZodLiteral<"onboarding_error">;
10332
+ properties: z$1.ZodObject<{
10333
+ entry: z$1.ZodEnum<{
10334
+ first_run: "first_run";
10335
+ replay: "replay";
10336
+ }>;
10337
+ kind: z$1.ZodEnum<{
10338
+ render: "render";
10339
+ uncaught: "uncaught";
10340
+ unhandled_rejection: "unhandled_rejection";
10341
+ }>;
10342
+ step: z$1.ZodEnum<{
10343
+ agent: "agent";
10344
+ devices: "devices";
10345
+ plugins: "plugins";
10346
+ projects: "projects";
10347
+ }>;
10348
+ }, z$1.core.$strict>;
10250
10349
  }, z$1.core.$strict>, z$1.ZodObject<{
10251
10350
  name: z$1.ZodLiteral<"release_notes_opened">;
10252
10351
  properties: z$1.ZodObject<{
@@ -13915,7 +14014,6 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
13915
14014
  activity: z$1.ZodObject<{
13916
14015
  activeBackgroundAgentCount: z$1.ZodNumber;
13917
14016
  activeBackgroundCommandCount: z$1.ZodNumber;
13918
- activeGoalCount: z$1.ZodNumber;
13919
14017
  activePlanModeCount: z$1.ZodNumber;
13920
14018
  activeWorkflowCount: z$1.ZodNumber;
13921
14019
  }, z$1.core.$strip>;
@@ -14021,7 +14119,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14021
14119
  activity: z$1.ZodObject<{
14022
14120
  activeBackgroundAgentCount: z$1.ZodNumber;
14023
14121
  activeBackgroundCommandCount: z$1.ZodNumber;
14024
- activeGoalCount: z$1.ZodNumber;
14025
14122
  activePlanModeCount: z$1.ZodNumber;
14026
14123
  activeWorkflowCount: z$1.ZodNumber;
14027
14124
  }, z$1.core.$strip>;
@@ -14118,7 +14215,6 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
14118
14215
  activity: z$1.ZodObject<{
14119
14216
  activeBackgroundAgentCount: z$1.ZodNumber;
14120
14217
  activeBackgroundCommandCount: z$1.ZodNumber;
14121
- activeGoalCount: z$1.ZodNumber;
14122
14218
  activePlanModeCount: z$1.ZodNumber;
14123
14219
  activeWorkflowCount: z$1.ZodNumber;
14124
14220
  }, z$1.core.$strip>;
@@ -15985,22 +16081,7 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
15985
16081
  }, z$1.core.$strip>>;
15986
16082
  usedTokens: z$1.ZodNumber;
15987
16083
  }, z$1.core.$strip>>;
15988
- goal: z$1.ZodNullable<z$1.ZodObject<{
15989
- objective: z$1.ZodString;
15990
- sourceSeq: z$1.ZodNumber;
15991
- status: z$1.ZodEnum<{
15992
- active: "active";
15993
- blocked: "blocked";
15994
- budgetLimited: "budgetLimited";
15995
- complete: "complete";
15996
- paused: "paused";
15997
- usageLimited: "usageLimited";
15998
- }>;
15999
- timeUsedSeconds: z$1.ZodNumber;
16000
- tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
16001
- tokensUsed: z$1.ZodNumber;
16002
- updatedAt: z$1.ZodNumber;
16003
- }, z$1.core.$strip>>;
16084
+ extensionStates: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>>;
16004
16085
  maxSeq: z$1.ZodNumber;
16005
16086
  modelFallback: z$1.ZodNullable<z$1.ZodObject<{
16006
16087
  detectedAt: z$1.ZodNumber;
@@ -16333,22 +16414,7 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16333
16414
  }, z$1.core.$strip>>;
16334
16415
  usedTokens: z$1.ZodNumber;
16335
16416
  }, z$1.core.$strip>>>;
16336
- goal: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
16337
- objective: z$1.ZodString;
16338
- sourceSeq: z$1.ZodNumber;
16339
- status: z$1.ZodEnum<{
16340
- active: "active";
16341
- blocked: "blocked";
16342
- budgetLimited: "budgetLimited";
16343
- complete: "complete";
16344
- paused: "paused";
16345
- usageLimited: "usageLimited";
16346
- }>;
16347
- timeUsedSeconds: z$1.ZodNumber;
16348
- tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
16349
- tokensUsed: z$1.ZodNumber;
16350
- updatedAt: z$1.ZodNumber;
16351
- }, z$1.core.$strip>>>;
16417
+ extensionStates: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>>>;
16352
16418
  modelFallback: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
16353
16419
  detectedAt: z$1.ZodNumber;
16354
16420
  fallbackModel: z$1.ZodString;
@@ -16679,22 +16745,7 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16679
16745
  }, z$1.core.$strip>>;
16680
16746
  usedTokens: z$1.ZodNumber;
16681
16747
  }, z$1.core.$strip>>;
16682
- goal: z$1.ZodNullable<z$1.ZodObject<{
16683
- objective: z$1.ZodString;
16684
- sourceSeq: z$1.ZodNumber;
16685
- status: z$1.ZodEnum<{
16686
- active: "active";
16687
- blocked: "blocked";
16688
- budgetLimited: "budgetLimited";
16689
- complete: "complete";
16690
- paused: "paused";
16691
- usageLimited: "usageLimited";
16692
- }>;
16693
- timeUsedSeconds: z$1.ZodNumber;
16694
- tokenBudget: z$1.ZodNullable<z$1.ZodNumber>;
16695
- tokensUsed: z$1.ZodNumber;
16696
- updatedAt: z$1.ZodNumber;
16697
- }, z$1.core.$strip>>;
16748
+ extensionStates: z$1.ZodRecord<z$1.ZodString, z$1.ZodType<JsonValue, unknown, z$1.core.$ZodTypeInternals<JsonValue, unknown>>>;
16698
16749
  maxSeq: z$1.ZodNumber;
16699
16750
  modelFallback: z$1.ZodNullable<z$1.ZodObject<{
16700
16751
  detectedAt: z$1.ZodNumber;
@@ -18356,6 +18407,9 @@ type SystemSetAiServiceSelectionArgs = SetAiServiceSelectionRequest;
18356
18407
  type SystemTestAiServiceArgs = TestAiServiceRequest;
18357
18408
  type SystemTestAiServiceResult = TestAiServiceResponse;
18358
18409
  type SystemRecordTelemetryEventArgs = RecordTelemetryEventRequest;
18410
+ interface SystemRecordTelemetryEventOptions {
18411
+ keepalive: boolean;
18412
+ }
18359
18413
  interface SystemRecordTelemetryEventResult {
18360
18414
  ok: true;
18361
18415
  }
@@ -18414,7 +18468,7 @@ interface SystemArea {
18414
18468
  executionOptions(args?: SystemExecutionOptionsArgs): Promise<SystemExecutionOptionsResult>;
18415
18469
  cliSkillsStatus(args?: SystemCliSkillsStatusArgs): Promise<SystemCliSkillsStatusResult>;
18416
18470
  installCliSkills(args: SystemInstallCliSkillsArgs): Promise<SystemInstallCliSkillsResult>;
18417
- experimental_recordTelemetryEvent(args: SystemRecordTelemetryEventArgs): Promise<SystemRecordTelemetryEventResult>;
18471
+ experimental_recordTelemetryEvent(args: SystemRecordTelemetryEventArgs, options?: SystemRecordTelemetryEventOptions): Promise<SystemRecordTelemetryEventResult>;
18418
18472
  reloadConfig(): Promise<SystemReloadConfigResult>;
18419
18473
  setAiServiceSelection(args: SystemSetAiServiceSelectionArgs): Promise<SystemAiServicesResult>;
18420
18474
  testAiService(args: SystemTestAiServiceArgs): Promise<SystemTestAiServiceResult>;
@@ -19117,10 +19171,27 @@ interface PluginHomepageSectionProps {
19117
19171
  /**
19118
19172
  * Props passed to a `settingsSection` component.
19119
19173
  *
19120
- * Deliberately empty in V1; versioned additive like the other slot props.
19174
+ * Versioned additive like the other slot props.
19121
19175
  */
19122
19176
  interface PluginSettingsSectionProps {
19177
+ /**
19178
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
19179
+ * Set only when the setup guide renders the section; call it when the user
19180
+ * starts setting it up.
19181
+ */
19182
+ internal_DO_NOT_USE_onSetupStarted?: () => void;
19183
+ /**
19184
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
19185
+ * Set only when the setup guide renders the section; call it when a setup
19186
+ * attempt fails, with the stage that failed.
19187
+ */
19188
+ internal_DO_NOT_USE_onSetupFailed?: (stage: InternalDoNotUseSetupFailureStage) => void;
19123
19189
  }
19190
+ /**
19191
+ * Stage of a setup guide section's setup attempt that failed.
19192
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
19193
+ */
19194
+ type InternalDoNotUseSetupFailureStage = "pairing" | "sign_in" | "turn_on";
19124
19195
  /**
19125
19196
  * Props passed to an `experimental_appOverlay` component.
19126
19197
  *
@@ -19129,6 +19200,18 @@ interface PluginSettingsSectionProps {
19129
19200
  */
19130
19201
  interface ExperimentalAppOverlayProps {
19131
19202
  }
19203
+ /**
19204
+ * Props passed to an `internal_DO_NOT_USE_setupGuideSection` component.
19205
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
19206
+ */
19207
+ interface InternalDoNotUseSetupGuideSectionProps {
19208
+ /** True when the setup guide is open on a phone. */
19209
+ onPhone: boolean;
19210
+ /** Call when the user starts setting up this section. */
19211
+ onSetupStarted: () => void;
19212
+ /** Call when a setup attempt fails, with the stage that failed. */
19213
+ onSetupFailed: (stage: InternalDoNotUseSetupFailureStage) => void;
19214
+ }
19132
19215
  type ExperimentalPageTitle = ({
19133
19216
  title: string;
19134
19217
  breadcrumbs?: never;
@@ -19870,6 +19953,15 @@ interface ExperimentalAppOverlayRegistration {
19870
19953
  id: string;
19871
19954
  component: ComponentType<ExperimentalAppOverlayProps>;
19872
19955
  }
19956
+ /**
19957
+ * Render one row in the first-run setup guide's "Where you use bb" group.
19958
+ * Internal to bb's bundled connect plugin; not part of the plugin API.
19959
+ */
19960
+ interface InternalDoNotUseSetupGuideSectionRegistration {
19961
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
19962
+ id: string;
19963
+ component: ComponentType<InternalDoNotUseSetupGuideSectionProps>;
19964
+ }
19873
19965
  /**
19874
19966
  * A name the host resolves to a glyph, in this order: a name any plugin
19875
19967
  * registered with `app.experimental_icons.register()`, then a built-in BB icon
@@ -20201,7 +20293,7 @@ interface ExperimentalSidebarFooter {
20201
20293
  }
20202
20294
  /**
20203
20295
  * The one status bb would paint for a thread, already resolved through the
20204
- * host's precedence (attention before work; plan and goal before the generic
20296
+ * host's precedence (attention before work; plan mode before the generic
20205
20297
  * spinner). Draw it with {@link PluginSdkApp.experimental_ThreadStatusGlyph},
20206
20298
  * or resolve a row that folds in more through
20207
20299
  * {@link PluginSdkApp.experimental_resolveThreadStatus}.
@@ -20216,14 +20308,13 @@ interface ExperimentalSidebarFooter {
20216
20308
  * precedence bb's list uses (a failed send outranks the unread dot; a waiting
20217
20309
  * message ranks just below it).
20218
20310
  */
20219
- 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";
20311
+ 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";
20220
20312
  /** Live work counts on a thread. All zero means nothing is running. */
20221
20313
  interface PluginSidebarThreadActivity {
20222
20314
  workflows: number;
20223
20315
  backgroundAgents: number;
20224
20316
  backgroundCommands: number;
20225
20317
  planMode: number;
20226
- goals: number;
20227
20318
  }
20228
20319
  /**
20229
20320
  * One thread in the sidebar's live view.
@@ -20777,6 +20868,38 @@ interface ExperimentalThreadContextSegmentRegistration {
20777
20868
  */
20778
20869
  useVisible?(input: ExperimentalThreadContextSegmentInput): boolean;
20779
20870
  }
20871
+ /**
20872
+ * The dismiss button of an {@link ExperimentalCollapsibleStackCardProps}
20873
+ * card, such as exiting Plan mode or clearing a Goal. The host disables it
20874
+ * and shows a spinner until `onDismiss` settles, and shows an error toast
20875
+ * built from the rejection, or `failureMessage` when the error has no message
20876
+ * of its own.
20877
+ */
20878
+ interface ExperimentalCollapsibleStackCardDismiss {
20879
+ /** Accessible name of the dismiss button, e.g. `"Clear Goal"`. */
20880
+ label: string;
20881
+ failureMessage: string;
20882
+ onDismiss(): Promise<void>;
20883
+ }
20884
+ /**
20885
+ * Props of the host-owned `experimental_CollapsibleStackCard`: bb's
20886
+ * collapsible card for the stack above a thread's composer, the one bb's Plan
20887
+ * mode card uses. The header shows `icon` and `title` and toggles `children`;
20888
+ * the card starts collapsed.
20889
+ */
20890
+ interface ExperimentalCollapsibleStackCardProps {
20891
+ /** Accessible name of the card and its toggle, e.g. `"Goal"`. */
20892
+ label: string;
20893
+ /** Header text, e.g. `"Goal paused"`. */
20894
+ title: string;
20895
+ icon: BbIconName;
20896
+ /** True draws the header in bb's working style; false draws it muted. */
20897
+ isActive: boolean;
20898
+ /** Adds a dismiss button to the header; omit for none. */
20899
+ dismiss?: ExperimentalCollapsibleStackCardDismiss;
20900
+ /** Shown while the card is expanded. */
20901
+ children: ReactNode;
20902
+ }
20780
20903
  /**
20781
20904
  * A row in the thread Info tab's details block, beside bb's own rows. Render
20782
20905
  * one or more `experimental_DetailRow` elements, or null to show nothing for
@@ -22458,6 +22581,12 @@ interface PluginAppSlots {
22458
22581
  * docs/api_to_audit.md.
22459
22582
  */
22460
22583
  experimental_appOverlay(registration: ExperimentalAppOverlayRegistration): void;
22584
+ /**
22585
+ * Render a setup guide row (see
22586
+ * {@link InternalDoNotUseSetupGuideSectionRegistration}). Internal: see
22587
+ * docs/api_to_audit.md.
22588
+ */
22589
+ internal_DO_NOT_USE_setupGuideSection(registration: InternalDoNotUseSetupGuideSectionRegistration): void;
22461
22590
  navPanel(registration: PluginNavPanelRegistration): void;
22462
22591
  /** Register a context-scoped tab. Experimental: see docs/api_to_audit.md. */
22463
22592
  experimental_tab<C extends ExperimentalTabContext, A extends "action" | "fixed">(registration: ExperimentalTabInput<C, A>): void;
@@ -23964,6 +24093,15 @@ interface PluginSdkApp {
23964
24093
  * Experimental: see docs/api_to_audit.md.
23965
24094
  */
23966
24095
  experimental_useThreadContextKind(): ExperimentalThreadContextKind;
24096
+ /**
24097
+ * The latest state the calling plugin's provider bridge emitted for one of
24098
+ * its declared extension kinds on a thread (`kind` is the local name from
24099
+ * `extensionKinds`, without the plugin id), or null when there is none or
24100
+ * the last state was null. Follows live updates while bb shows the thread.
24101
+ * The value is whatever passed the kind's `state` schema; parse it before
24102
+ * use. Experimental: see docs/api_to_audit.md.
24103
+ */
24104
+ experimental_useThreadExtensionState(threadId: string, kind: string): unknown;
23967
24105
  useBbContext(): BbContext;
23968
24106
  /**
23969
24107
  * The id of the plugin that owns the calling component: the same id
@@ -24392,6 +24530,13 @@ interface PluginSdkApp {
24392
24530
  * remembers that per registration. Experimental: see docs/api_to_audit.md.
24393
24531
  */
24394
24532
  experimental_InfoSection: ComponentType<ExperimentalInfoSectionProps>;
24533
+ /**
24534
+ * bb's collapsible card for the stack above a thread's composer (see
24535
+ * {@link ExperimentalCollapsibleStackCardProps}). Render it from a
24536
+ * thread-scoped composer banner with `chrome: "bare"`. Experimental: see
24537
+ * docs/api_to_audit.md.
24538
+ */
24539
+ experimental_CollapsibleStackCard: ComponentType<ExperimentalCollapsibleStackCardProps>;
24395
24540
  /**
24396
24541
  * The thread Info tab's label and value row (see
24397
24542
  * {@link ExperimentalDetailRowProps}), the one bb's own rows use.
@@ -24537,6 +24682,7 @@ declare const experimental_SourceCode: react.ComponentType<SourceCodeProps>;
24537
24682
  declare const experimental_Diff: react.ComponentType<DiffProps>;
24538
24683
  declare const experimental_FilePreview: react.ComponentType<ExperimentalFilePreviewProps>;
24539
24684
  declare const experimental_InfoSection: react.ComponentType<ExperimentalInfoSectionProps>;
24685
+ declare const experimental_CollapsibleStackCard: react.ComponentType<ExperimentalCollapsibleStackCardProps>;
24540
24686
  declare const experimental_DetailRow: react.ComponentType<ExperimentalDetailRowProps>;
24541
24687
  declare const experimental_InfoList: <Item>(props: ExperimentalInfoListProps<Item>) => react.ReactNode;
24542
24688
  declare const experimental_ThreadContextCardRow: react.ComponentType<ExperimentalThreadContextCardRowProps>;
@@ -24600,6 +24746,7 @@ declare const experimental_ThreadActionsContextMenu: react.ComponentType<PluginT
24600
24746
  declare const experimental_useExperiment: (key: string) => boolean;
24601
24747
  declare const experimental_useThreadContextKind: () => ExperimentalThreadContextKind;
24602
24748
  declare const experimental_usePanelTabs: () => ExperimentalPanelTabs;
24749
+ declare const experimental_useThreadExtensionState: (threadId: string, kind: string) => unknown;
24603
24750
  declare const experimental_useSidebarThreadSplit: (threadId: string, options?: PluginSidebarThreadSplitOptions) => PluginSidebarThreadSplit;
24604
24751
  declare const experimental_useSidebarNavigation: () => ExperimentalSidebarNavigationState;
24605
24752
  declare const experimental_useSidebarNavigationSplit: (itemId: string, options?: ExperimentalSidebarNavigationSplitOptions) => ExperimentalSidebarNavigationSplit;
@@ -24623,5 +24770,5 @@ declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => P
24623
24770
  declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
24624
24771
  declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
24625
24772
 
24626
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
24627
- export type { BbContext, BbNavigate, 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, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, 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, 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, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
24773
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
24774
+ export type { BbContext, BbNavigate, 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, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, 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, 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, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
@@ -1739,6 +1739,14 @@ interface PluginProviderDeclaration {
1739
1739
  * project-scoped entries, which a global declaration cannot carry.
1740
1740
  */
1741
1741
  experimental_resolvesNativeRoots?: boolean;
1742
+ /**
1743
+ * Internal to bb's own provider plugins; not part of the plugin API, and it
1744
+ * may change or disappear in any release. When true, the first-run setup
1745
+ * guide runs this provider's sign-in in its guided panel, which reads the
1746
+ * sign-in link and code from the provider's login output. Otherwise the
1747
+ * guide opens the provider's sign-in terminal in the row. Defaults to false.
1748
+ */
1749
+ internal_DO_NOT_USE_guidedSignIn?: boolean;
1742
1750
  /**
1743
1751
  * Derive this provider's opaque per-command options. Called synchronously
1744
1752
  * by the server for every session and turn command on a thread of this
@@ -1964,10 +1972,11 @@ declare function providerAlreadyRegisteredMessage(id: string): string;
1964
1972
  * the validator GUARANTEES are narrowed here; everything else keeps the
1965
1973
  * author-facing shape.
1966
1974
  */
1967
- type NormalizedPluginProviderDeclaration = Omit<PluginProviderDeclaration, "experimental_nativeCommandRoots" | "experimental_nativeSkillRoots" | "experimental_resolvesNativeRoots"> & {
1975
+ type NormalizedPluginProviderDeclaration = Omit<PluginProviderDeclaration, "experimental_nativeCommandRoots" | "experimental_nativeSkillRoots" | "experimental_resolvesNativeRoots" | "internal_DO_NOT_USE_guidedSignIn"> & {
1968
1976
  readonly experimental_nativeSkillRoots?: ProviderNativeRoots;
1969
1977
  readonly experimental_nativeCommandRoots?: ProviderNativeRoots;
1970
1978
  readonly experimental_resolvesNativeRoots: boolean;
1979
+ readonly internal_DO_NOT_USE_guidedSignIn: boolean;
1971
1980
  readonly completedTurnDisplay: PluginProviderCompletedTurnDisplay;
1972
1981
  readonly maintenance: {
1973
1982
  readonly health: boolean;