@get-bb/plugin-sdk 0.6.164 → 0.6.169

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.
@@ -300,7 +300,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
300
300
  }, z$1.core.$strict>]>;
301
301
  type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
302
302
 
303
- declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "sidebar.updates.providerCli", "sidebar.updates.skipped", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned"];
303
+ declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "sidebar.updates.providerCli", "sidebar.updates.skipped", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned", "threadContextCard.collapsedSections"];
304
304
  type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
305
305
  interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
306
306
  schema: Schema;
@@ -339,6 +339,7 @@ declare const uiPreferenceDefinitions: {
339
339
  readonly "sidebar.updates.skipped": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
340
340
  readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
341
341
  readonly "threadContextCard.pinned": UiPreferenceDefinition<z$1.ZodBoolean>;
342
+ readonly "threadContextCard.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
342
343
  readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
343
344
  };
344
345
  type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
@@ -5212,7 +5213,7 @@ declare const skillListResponseSchema: z$1.ZodObject<{
5212
5213
  manageable: z$1.ZodBoolean;
5213
5214
  name: z$1.ZodString;
5214
5215
  pluginId: z$1.ZodNullable<z$1.ZodString>;
5215
- provider: z$1.ZodNullable<z$1.ZodString>;
5216
+ providers: z$1.ZodArray<z$1.ZodString>;
5216
5217
  registrySkillId: z$1.ZodNullable<z$1.ZodString>;
5217
5218
  scope: z$1.ZodEnum<{
5218
5219
  "bb-builtin": "bb-builtin";
@@ -10069,8 +10070,10 @@ declare const pluginCatalogInstallPlanSchema: z$1.ZodDiscriminatedUnion<[z$1.Zod
10069
10070
  }, z$1.core.$strip>], "kind">;
10070
10071
  type PluginCatalogInstallPlan = z$1.infer<typeof pluginCatalogInstallPlanSchema>;
10071
10072
  declare const pluginMarketplaceSchema: z$1.ZodObject<{
10073
+ canDisable: z$1.ZodBoolean;
10072
10074
  description: z$1.ZodNullable<z$1.ZodString>;
10073
10075
  displayName: z$1.ZodString;
10076
+ enabled: z$1.ZodBoolean;
10074
10077
  entryCount: z$1.ZodNumber;
10075
10078
  lastAttemptAt: z$1.ZodNullable<z$1.ZodNumber>;
10076
10079
  lastError: z$1.ZodNullable<z$1.ZodString>;
@@ -10090,8 +10093,10 @@ type PluginMarketplace = z$1.infer<typeof pluginMarketplaceSchema>;
10090
10093
  declare const pluginMarketplaceRefreshResultSchema: z$1.ZodObject<{
10091
10094
  error: z$1.ZodNullable<z$1.ZodString>;
10092
10095
  marketplace: z$1.ZodObject<{
10096
+ canDisable: z$1.ZodBoolean;
10093
10097
  description: z$1.ZodNullable<z$1.ZodString>;
10094
10098
  displayName: z$1.ZodString;
10099
+ enabled: z$1.ZodBoolean;
10095
10100
  entryCount: z$1.ZodNumber;
10096
10101
  lastAttemptAt: z$1.ZodNullable<z$1.ZodNumber>;
10097
10102
  lastError: z$1.ZodNullable<z$1.ZodString>;
@@ -19181,6 +19186,10 @@ interface PluginMarketplaceRefreshArgs {
19181
19186
  interface PluginMarketplaceRemoveArgs {
19182
19187
  name: string;
19183
19188
  }
19189
+ interface PluginMarketplaceSetEnabledArgs {
19190
+ name: string;
19191
+ enabled: boolean;
19192
+ }
19184
19193
  interface PluginReloadArgs {
19185
19194
  pluginId?: string;
19186
19195
  }
@@ -19254,6 +19263,7 @@ type PluginCatalogInstallPlanResult = PluginCatalogInstallPlan;
19254
19263
  type PluginMarketplaceListResult = PluginMarketplace[];
19255
19264
  type PluginMarketplaceAddResult = PluginMarketplace;
19256
19265
  type PluginMarketplaceRefreshResult = PluginMarketplaceRefreshResult$1[];
19266
+ type PluginMarketplaceSetEnabledResult = PluginMarketplace;
19257
19267
  interface PluginMarketplaceRemoveResult {
19258
19268
  convertedPluginIds: string[];
19259
19269
  }
@@ -19269,6 +19279,7 @@ interface PluginMarketplacesArea {
19269
19279
  list(args?: PluginMarketplaceListArgs): Promise<PluginMarketplaceListResult>;
19270
19280
  refresh(args?: PluginMarketplaceRefreshArgs): Promise<PluginMarketplaceRefreshResult>;
19271
19281
  remove(args: PluginMarketplaceRemoveArgs): Promise<PluginMarketplaceRemoveResult>;
19282
+ setEnabled(args: PluginMarketplaceSetEnabledArgs): Promise<PluginMarketplaceSetEnabledResult>;
19272
19283
  }
19273
19284
  interface PluginInstallJobsArea {
19274
19285
  cancel(args: PluginInstallJobArgs): Promise<PluginInstallJob>;
@@ -20850,7 +20861,7 @@ interface PluginTurnFailedEvent {
20850
20861
  originPluginId: string | null;
20851
20862
  }
20852
20863
  /**
20853
- * Lifecycle events a plugin can observe with `bb.events.on` (design §4.5).
20864
+ * Lifecycle events a plugin can observe with `bb.events.on`.
20854
20865
  *
20855
20866
  * **Events are announcements core makes.** Something already happened; a
20856
20867
  * handler is told about it and whatever it returns is IGNORED. Handlers run
@@ -21610,8 +21621,8 @@ interface PluginCli {
21610
21621
  */
21611
21622
  register(registration: PluginCliRegistration): void;
21612
21623
  }
21613
- /** Per-turn context handed to bb.agents context providers (design §4.4). */
21614
- /** MCP-style content parts a native tool may return (design §4.4). */
21624
+ /** Per-turn context handed to bb.agents context providers. */
21625
+ /** MCP-style content parts a native tool may return. */
21615
21626
  type PluginAgentToolContentPart = {
21616
21627
  type: "text";
21617
21628
  text: string;
@@ -21624,7 +21635,7 @@ type PluginAgentToolResult = string | {
21624
21635
  content: PluginAgentToolContentPart[];
21625
21636
  isError?: boolean;
21626
21637
  };
21627
- /** Per-call context handed to a native tool's execute (design §4.4). */
21638
+ /** Per-call context handed to a native tool's execute. */
21628
21639
  interface PluginAgentToolContext {
21629
21640
  threadId: string;
21630
21641
  projectId: string;
@@ -22176,7 +22187,7 @@ interface PluginAgents {
22176
22187
  */
22177
22188
  configure(provider: (context: PluginAgentConfigurationContext) => PluginAgentConfiguration): void;
22178
22189
  /**
22179
- * Register a native dynamic tool (design §4.4). `parameters` is either a
22190
+ * Register a native dynamic tool. `parameters` is either a
22180
22191
  * zod schema (validated per call; execute receives the parsed value) or a
22181
22192
  * plain JSON-schema object (no validation; execute receives the raw
22182
22193
  * arguments as `unknown`). Tool-set changes apply on the NEXT session
@@ -22263,7 +22274,7 @@ interface ExperimentalPluginProviderEnvHealth {
22263
22274
  statusMessage: string;
22264
22275
  }
22265
22276
  type PluginMentionTrigger = "!" | "#" | "$" | "@" | "~";
22266
- /** Search context handed to a mention provider (design §4.9). `projectId`/
22277
+ /** Search context handed to a mention provider. `projectId`/
22267
22278
  * `threadId` are null when the composer has not committed one yet. */
22268
22279
  interface PluginMentionSearchContext {
22269
22280
  trigger: PluginMentionTrigger;
@@ -22341,7 +22352,7 @@ interface PluginUi {
22341
22352
  signal?: AbortSignal;
22342
22353
  }): Promise<PluginInteractionResult>;
22343
22354
  /**
22344
- * Register a mention provider for the shipped app's composer (design §4.9).
22355
+ * Register a mention provider for the shipped app's composer.
22345
22356
  * Providers default to the `@` trigger and may opt into `#`, `$`, `!`, or
22346
22357
  * `~` with `triggers`. Items group under `label` in the mention menu; a
22347
22358
  * picked item becomes a `{ kind: "plugin" }` mention resource whose context
@@ -22391,14 +22402,14 @@ interface PluginServerApi {
22391
22402
  /** Options for one `complete` call. */
22392
22403
  interface PluginAiCompleteOptions {
22393
22404
  /**
22394
- * Aborted when bb stops waiting: the task timed out (5 seconds for titles
22405
+ * Aborted when bb stops waiting: the task timed out (8 seconds for titles
22395
22406
  * and commit messages) or the request was cancelled. Pass it to `fetch`.
22396
22407
  */
22397
22408
  readonly signal: AbortSignal;
22398
22409
  }
22399
22410
  /** Options for one `transcribe` call. */
22400
22411
  interface PluginAiTranscribeOptions {
22401
- /** Aborted when bb stops waiting (10 seconds) or the request was cancelled. */
22412
+ /** Aborted when bb stops waiting (70 seconds) or the request was cancelled. */
22402
22413
  readonly signal: AbortSignal;
22403
22414
  /**
22404
22415
  * Vocabulary the speaker is likely to use (names, identifiers), for
@@ -22495,11 +22506,13 @@ interface PluginHosts {
22495
22506
  }
22496
22507
  interface PluginStatusApi {
22497
22508
  /**
22498
- * Mark this plugin `needs-configuration` (with a message shown in
22499
- * `bb plugin list` and the UI) instead of failing — e.g. a factory or
22500
- * service that finds no API key configured. Cleared on the next load;
22501
- * saving settings does not auto-reload in V1, so ask the user to
22502
- * `bb plugin reload <id>` after configuring.
22509
+ * Mark this plugin `needs-configuration` instead of failing — e.g. a
22510
+ * factory or service that finds no API key configured. `bb plugin list`
22511
+ * shows the message; the plugin's page shows it only when the plugin has no
22512
+ * settings, and otherwise links to its settings instead. Cleared on the next
22513
+ * load. Saving settings that change a value reloads a plugin in this state,
22514
+ * so the factory runs again with the new values; without settings, the
22515
+ * user reloads it from the plugin's page or with `bb plugin reload <id>`.
22503
22516
  */
22504
22517
  needsConfiguration(message: string): void;
22505
22518
  }
@@ -22527,7 +22540,7 @@ type PluginBbSdk = Omit<BbSdk, "threads"> & {
22527
22540
  };
22528
22541
  };
22529
22542
  /**
22530
- * The API object handed to a plugin's factory (design §4). Implemented by
22543
+ * The API object handed to a plugin's factory. Implemented by
22531
22544
  * the BB server; this contract is what plugin `server.ts` files compile
22532
22545
  * against.
22533
22546
  */
@@ -22538,28 +22551,28 @@ interface BbPluginApi {
22538
22551
  readonly pluginId: string;
22539
22552
  /** Leveled, plugin-scoped logger. */
22540
22553
  readonly log: PluginLogger;
22541
- /** Declarative settings (design §4.2). */
22554
+ /** Declarative settings. */
22542
22555
  readonly settings: PluginSettings;
22543
- /** Namespaced KV + per-plugin database (design §4.3). */
22556
+ /** Namespaced KV + per-plugin database. */
22544
22557
  readonly storage: PluginStorage;
22545
- /** HTTP routes under /api/v1/plugins/<id>/http/* (design §4.6). */
22558
+ /** HTTP routes under /api/v1/plugins/<id>/http/*. */
22546
22559
  readonly http: PluginHttp;
22547
- /** RPC methods under /api/v1/plugins/<id>/rpc/<method> (design §4.6). */
22560
+ /** RPC methods under /api/v1/plugins/<id>/rpc/<method>. */
22548
22561
  readonly rpc: PluginRpc;
22549
- /** Ephemeral push to connected frontends (design §4.7). */
22562
+ /** Ephemeral push to connected frontends. */
22550
22563
  readonly realtime: PluginRealtime;
22551
- /** Long-lived services + cron schedules (design §4.8). */
22564
+ /** Long-lived services + cron schedules. */
22552
22565
  readonly background: PluginBackground;
22553
- /** Agent-facing `bb` CLI subcommand (design §4.4). */
22566
+ /** Agent-facing `bb` CLI subcommand. */
22554
22567
  readonly cli: PluginCli;
22555
- /** Per-turn agent context contributions (design §4.4). */
22568
+ /** Per-turn agent context contributions. */
22556
22569
  readonly agents: PluginAgents;
22557
22570
  /** Agent provider registration (docs/provider-plugin-api.md §1). */
22558
22571
  readonly providers: PluginProviders;
22559
- /** Host-rendered UI contributions (design §4.9). */
22572
+ /** Host-rendered UI contributions. */
22560
22573
  readonly ui: PluginUi;
22561
22574
  /**
22562
- * Additive plugin lifecycle listeners (design §4.5). Announcements core
22575
+ * Additive plugin lifecycle listeners. Announcements core
22563
22576
  * makes: a handler's return value is ignored.
22564
22577
  */
22565
22578
  readonly events: PluginEvents;
@@ -22572,7 +22585,7 @@ interface BbPluginApi {
22572
22585
  readonly experimental_hooks: PluginHooks;
22573
22586
  /**
22574
22587
  * Environment targets: places a thread can run that this plugin
22575
- * provisions (plans/plugin-environment-providers.md). Experimental: see
22588
+ * provisions. Experimental: see
22576
22589
  * docs/api_to_audit.md.
22577
22590
  */
22578
22591
  readonly experimental_environments: PluginEnvironments;
@@ -22591,7 +22604,7 @@ interface BbPluginApi {
22591
22604
  */
22592
22605
  readonly experimental_aiServices: PluginAiServices;
22593
22606
  /**
22594
- * The full BB SDK, bound to this server over loopback (design §4.1).
22607
+ * The full BB SDK, bound to this server over loopback.
22595
22608
  * Bind-gated: reading this before the host binds the SDK throws. The real
22596
22609
  * server binds it before loading plugins, so it is available from the
22597
22610
  * moment factories run there — but isolated harnesses may not, so prefer
@@ -22620,7 +22633,7 @@ interface BbPluginApi {
22620
22633
  }
22621
22634
 
22622
22635
  /**
22623
- * The `@get-bb/plugin-sdk/app` contract (plugin design §5.2) — pure types with no
22636
+ * The `@get-bb/plugin-sdk/app` contract — pure types with no
22624
22637
  * side effects. The BB app imports these to keep its real implementation in
22625
22638
  * sync (`satisfies PluginSdkApp`). Plugin authors import the same shapes through
22626
22639
  * `@get-bb/plugin-sdk/app`.
@@ -22635,21 +22648,10 @@ interface PluginHomepageSectionProps {
22635
22648
  /**
22636
22649
  * Props passed to a `settingsSection` component.
22637
22650
  *
22638
- * Versioned additive like the other slot props.
22651
+ * Deliberately empty while sections read live app state through SDK hooks;
22652
+ * versioned additive like the other slot props.
22639
22653
  */
22640
22654
  interface PluginSettingsSectionProps {
22641
- /**
22642
- * Internal to bb's bundled connect plugin; not part of the plugin API.
22643
- * Set only when the setup guide renders the section; call it when the user
22644
- * starts setting it up.
22645
- */
22646
- internal_DO_NOT_USE_onSetupStarted?: () => void;
22647
- /**
22648
- * Internal to bb's bundled connect plugin; not part of the plugin API.
22649
- * Set only when the setup guide renders the section; call it when a setup
22650
- * attempt fails, with the stage that failed and, when known, why.
22651
- */
22652
- internal_DO_NOT_USE_onSetupFailed?: (stage: InternalDoNotUseSetupFailureStage, detail?: InternalDoNotUseSetupFailureDetail) => void;
22653
22655
  }
22654
22656
  /**
22655
22657
  * Stage of a setup guide section's setup attempt that failed.
@@ -23575,11 +23577,9 @@ interface PluginNavPanelRegistration {
23575
23577
  * The action is thread-only and is never offered on the root New thread
23576
23578
  * screen, so `threadId` is always present.
23577
23579
  */
23578
- interface ExperimentalThreadTabActionContext {
23580
+ interface ExperimentalThreadTabActionContext extends ExperimentalPluginActionContext {
23579
23581
  /** The thread whose panel launcher invoked the action. */
23580
23582
  threadId: string;
23581
- /** The side panel of the thread view that invoked the action. */
23582
- experimental_panel: ExperimentalPanelController;
23583
23583
  }
23584
23584
  /** Where a plugin tab belongs. Navigation panels are owned by the registering plugin. */
23585
23585
  type ExperimentalTabContext = {
@@ -23611,9 +23611,7 @@ type ExperimentalTabLifecycle<Props, Context> = {
23611
23611
  }>;
23612
23612
  /** Default persisted params when opened without explicit params. */
23613
23613
  params?: JsonValue;
23614
- run?(context: Context & {
23615
- experimental_panel: ExperimentalPanelController;
23616
- }): void | Promise<void>;
23614
+ run?(context: Context & ExperimentalPluginActionContext): void | Promise<void>;
23617
23615
  };
23618
23616
  type ExperimentalTabContextProps<C extends ExperimentalTabContext> = C extends {
23619
23617
  kind: "thread";
@@ -23637,9 +23635,7 @@ type ExperimentalTabInput<C extends ExperimentalTabContext, A extends "action" |
23637
23635
  params: JsonValue | null;
23638
23636
  }>;
23639
23637
  params?: JsonValue;
23640
- run?(context: ExperimentalTabContextProps<C> & {
23641
- experimental_panel: ExperimentalPanelController;
23642
- }): void | Promise<void>;
23638
+ run?(context: ExperimentalTabContextProps<C> & ExperimentalPluginActionContext): void | Promise<void>;
23643
23639
  experimental_target?: never;
23644
23640
  });
23645
23641
  /** One registration for pinned destinations and actions opening closable instances. */
@@ -23668,14 +23664,13 @@ type ExperimentalTabRegistration = ExperimentalTabCommon & (({
23668
23664
  experimental_target?: ExperimentalFixedTabTargetContract<JsonValue>;
23669
23665
  }))));
23670
23666
  /** Context handed to an `experimental_newThreadPanelAction`'s `run`. */
23671
- interface PluginNewThreadPanelActionContext {
23667
+ /**
23668
+ * `panel` is the New thread screen's side panel. Address this
23669
+ * action's tab as `{ id, context: { kind: "thread" }, availability: "action" }`.
23670
+ */
23671
+ interface PluginNewThreadPanelActionContext extends ExperimentalPluginActionContext {
23672
23672
  /** Project selected in the root composer; null in projectless compose. */
23673
23673
  projectId: string | null;
23674
- /**
23675
- * The New thread screen's side panel. Address this action's tab as
23676
- * `{ id, context: { kind: "thread" }, availability: "action" }`.
23677
- */
23678
- experimental_panel: ExperimentalPanelController;
23679
23674
  }
23680
23675
  /** Registration for the root New thread screen's panel Actions list. */
23681
23676
  interface PluginNewThreadPanelActionRegistration {
@@ -23710,8 +23705,11 @@ interface PluginPendingInteractionRegistration {
23710
23705
  id: string;
23711
23706
  component: ComponentType<PluginPendingInteractionProps>;
23712
23707
  }
23713
- /** Context handed to a `sidebarFooterAction`'s `run`. */
23714
- interface PluginSidebarFooterActionContext {
23708
+ /**
23709
+ * Context handed to a `sidebarFooterAction`'s `run`. `navigate` and
23710
+ * `panel` act on the focused surface, as for commands.
23711
+ */
23712
+ interface PluginSidebarFooterActionContext extends ExperimentalPluginActionContext {
23715
23713
  /**
23716
23714
  * Navigate to this plugin's detail page in Tools, where declarative settings
23717
23715
  * and `settingsSection` slots render.
@@ -23737,8 +23735,11 @@ interface PluginSidebarFooterActionRegistration {
23737
23735
  */
23738
23736
  run(context: PluginSidebarFooterActionContext): void | Promise<void>;
23739
23737
  }
23740
- /** Context handed to an experimental sidebar-footer action. */
23741
- interface ExperimentalSidebarFooterActionContext {
23738
+ /**
23739
+ * Context handed to an experimental sidebar-footer action. `navigate` and
23740
+ * `panel` act on the focused surface, as for commands.
23741
+ */
23742
+ interface ExperimentalSidebarFooterActionContext extends ExperimentalPluginActionContext {
23742
23743
  /** Navigate to this plugin's detail page in Tools. */
23743
23744
  openPluginDetails(): void;
23744
23745
  }
@@ -24203,8 +24204,8 @@ interface PluginSidebarThreadDraftState {
24203
24204
  * the content-script context's `experimental_setThreadRowStatus` (see
24204
24205
  * {@link PluginSdkApp.useSidebarThreadRowStatus}). bb's row draws it in
24205
24206
  * place of the draft glyph while it is set; a replaced list should do the
24206
- * same so a status set by, say, the drafts or workflows plugin does not
24207
- * vanish when the list changes hands.
24207
+ * same so a status another plugin set does not vanish when the list changes
24208
+ * hands. No bundled plugin sets one; only content scripts can.
24208
24209
  */
24209
24210
  type PluginSidebarThreadRowStatus = PluginComposerThreadRowStatus;
24210
24211
  /**
@@ -24503,8 +24504,12 @@ type ExperimentalThreadContextKind = "banner" | "card";
24503
24504
  * `experimental_threadInfoRow`. Render one or more
24504
24505
  * `experimental_ThreadContextCardRow` elements, or null to show nothing for
24505
24506
  * this thread. bb draws the card and places it, and mounts rows only in panes
24506
- * whose thread context kind is `card`. A crash removes only this row for that
24507
- * thread.
24507
+ * whose thread context kind is `card`. The card is behind the "Thread context
24508
+ * card" experiment, off by default, and never shows on a phone (a compact
24509
+ * viewport with a coarse pointer); every other pane uses the `banner` kind, so
24510
+ * register an `experimental_threadContextSegment` or
24511
+ * `experimental_threadInfoRow` as well to reach it. A crash removes only this
24512
+ * row for that thread.
24508
24513
  */
24509
24514
  interface ExperimentalThreadContextCardRowRegistration {
24510
24515
  /** Unique within the plugin; letters, digits, `-`, `_`. */
@@ -24521,16 +24526,20 @@ interface ExperimentalThreadContextCardRowRegistration {
24521
24526
  component: ComponentType<ExperimentalThreadContextCardProps>;
24522
24527
  }
24523
24528
  /**
24524
- * A titled section of the thread context card, below its rows; the card's
24525
- * counterpart of `experimental_threadInfoSection`. bb draws the title and a
24526
- * divider above it, and hides the section while its component renders
24527
- * nothing. A crash removes only this section for that thread.
24529
+ * A section of the thread context card, below its rows; the card's
24530
+ * counterpart of `experimental_threadInfoSection`. Render one
24531
+ * `experimental_InfoSection`, or null to hide the section for this thread. In
24532
+ * the card, bb draws the section's label as a button that folds it and a
24533
+ * divider above it. Sections start open; bb remembers the ones the person folds
24534
+ * by `pluginId/id` across threads and restarts. While folded, the component
24535
+ * stays mounted and the `experimental_InfoSection` children unmount. Like
24536
+ * card rows, sections mount only where the card shows: behind the "Thread
24537
+ * context card" experiment, off by default, and never on a phone. A crash
24538
+ * removes only this section for that thread.
24528
24539
  */
24529
24540
  interface ExperimentalThreadContextCardSectionRegistration {
24530
24541
  /** Unique within the plugin; letters, digits, `-`, `_`. */
24531
24542
  id: string;
24532
- /** Heading bb draws above the section's rows. */
24533
- title: string;
24534
24543
  /**
24535
24544
  * Sections sort by `group` (string compare), then by `order` within a group
24536
24545
  * (unset sorts last), then by registration order, with bb's own sections
@@ -24723,36 +24732,25 @@ interface PluginThreadActionDataInput {
24723
24732
  threadIds: readonly string[];
24724
24733
  }
24725
24734
  /** What a registration's `item` receives for each thread it is shown for. */
24726
- interface PluginThreadActionItemInput<Data> {
24735
+ /**
24736
+ * `panel` is the focused surface's side panel, as for plugin
24737
+ * commands. Thread menus are not inside a side panel, so calls return false
24738
+ * when the focused surface has no such tab.
24739
+ */
24740
+ interface PluginThreadActionItemInput<Data> extends ExperimentalPluginActionContext {
24727
24741
  thread: PluginThreadActionTarget;
24728
24742
  /** What `useData` last returned; undefined when the registration has none. */
24729
24743
  data: Data;
24730
- /** The registering plugin's `useSdk()` client. */
24731
- sdk: PluginBrowserBbSdk;
24732
- /** The registering plugin's `useBbNavigate()`. */
24733
- navigate: BbNavigate;
24734
- /**
24735
- * The focused surface's side panel, as for plugin commands. Thread menus
24736
- * are not inside a side panel, so calls return false when the focused
24737
- * surface has no such tab.
24738
- */
24739
- experimental_panel: ExperimentalPanelController;
24740
24744
  }
24741
24745
  /**
24742
24746
  * What a registration's `experimental_bulkItem` receives for a selection
24743
24747
  * of several threads.
24744
24748
  */
24745
- interface PluginThreadActionBulkItemInput<Data> {
24749
+ interface PluginThreadActionBulkItemInput<Data> extends ExperimentalPluginActionContext {
24746
24750
  /** The selected threads in the surface's list order; always two or more. */
24747
24751
  threads: readonly PluginThreadActionTarget[];
24748
24752
  /** What `useData` last returned; undefined when the registration has none. */
24749
24753
  data: Data;
24750
- /** The registering plugin's `useSdk()` client. */
24751
- sdk: PluginBrowserBbSdk;
24752
- /** The registering plugin's `useBbNavigate()`, as for `item`. */
24753
- navigate: BbNavigate;
24754
- /** The focused surface's side panel, as for `item`. */
24755
- experimental_panel: ExperimentalPanelController;
24756
24754
  }
24757
24755
  /**
24758
24756
  * Add an action to every thread actions menu: the thread header's menu, the
@@ -25797,8 +25795,34 @@ interface ExperimentalMessageMetadataRegistration {
25797
25795
  }
25798
25796
  /** A timeline a `messageAction` can show in; see {@link PluginMessageActionRegistration.experimental_surfaces}. */
25799
25797
  type ExperimentalMessageActionSurface = "embedded-chat" | "thread-view";
25798
+ /**
25799
+ * What every plugin callback's context carries besides its own fields:
25800
+ * commands, message actions, thread actions, panel and New thread panel
25801
+ * actions, sidebar footer actions, and composer commands and menu items.
25802
+ * Experimental: see docs/api_to_audit.md.
25803
+ */
25804
+ interface ExperimentalPluginActionContext {
25805
+ /** The registering plugin's `useSdk()` client. */
25806
+ sdk: PluginBrowserBbSdk;
25807
+ /**
25808
+ * The registering plugin's `useBbNavigate()`, bound to the surface that
25809
+ * invoked the callback, so terminals, files and links open there.
25810
+ */
25811
+ navigate: BbNavigate;
25812
+ /** The side panel of the surface that invoked the callback. */
25813
+ panel: ExperimentalPanelController;
25814
+ }
25815
+ /**
25816
+ * Context handed to a composer command's or composer menu item's `run`.
25817
+ * `navigate` and `panel` act on the surface showing the
25818
+ * composer.
25819
+ */
25820
+ interface ExperimentalComposerActionContext extends ExperimentalPluginActionContext {
25821
+ /** The handling composer, bound to this plugin like `useComposer()`. */
25822
+ composer: PluginComposerApi;
25823
+ }
25800
25824
  /** Context handed to a `messageAction`'s `run`. */
25801
- interface PluginMessageActionContext {
25825
+ interface PluginMessageActionContext extends ExperimentalPluginActionContext {
25802
25826
  /** The thread whose timeline surfaced the action. */
25803
25827
  threadId: string;
25804
25828
  message: ThreadChatMessageReference;
@@ -25807,8 +25831,6 @@ interface PluginMessageActionContext {
25807
25831
  * the exact text the user highlighted inside `message`.
25808
25832
  */
25809
25833
  selectedText?: string;
25810
- /** The side panel of the thread view whose timeline surfaced the action. */
25811
- experimental_panel: ExperimentalPanelController;
25812
25834
  /**
25813
25835
  * The composer of the thread the message is in, or null when that thread's
25814
25836
  * composer is not available on this surface. The same handle
@@ -25843,21 +25865,20 @@ interface PluginMessageActionRegistration {
25843
25865
  */
25844
25866
  run(context: PluginMessageActionContext): void | Promise<void>;
25845
25867
  }
25846
- /** Current context for palette and keyboard command invocations. */
25847
- interface PluginCommandContext {
25868
+ /**
25869
+ * Current context for palette and keyboard command invocations. `navigate`
25870
+ * and `panel` act on the focused surface: the thread view or
25871
+ * New thread screen in focus, or the focused plugin page. On the New thread
25872
+ * screen, a `{ context: { kind: "thread" }, availability: "action" }` tab
25873
+ * resolves against `experimental_newThreadPanelAction` with the same id, so
25874
+ * register both slots with the same id to support commands on both screens.
25875
+ * Panel calls return false when the focused surface has no such tab or no
25876
+ * side panel; guard with `isAvailable` rather than assuming.
25877
+ */
25878
+ interface PluginCommandContext extends ExperimentalPluginActionContext {
25848
25879
  /** The thread in view, or null on a surface without one. */
25849
25880
  threadId: string | null;
25850
25881
  projectId: string | null;
25851
- /**
25852
- * The focused surface's side panel: the thread view or New thread screen
25853
- * in focus, or the focused plugin page. On the New thread screen, a
25854
- * `{ context: { kind: "thread" }, availability: "action" }` tab resolves
25855
- * against `experimental_newThreadPanelAction` with the same id, so register
25856
- * both slots with the same id to support commands on both screens. Calls
25857
- * return false when the focused surface has no such tab or no side panel;
25858
- * guard with `isAvailable` rather than assuming.
25859
- */
25860
- experimental_panel: ExperimentalPanelController;
25861
25882
  }
25862
25883
  /** A default keyboard shortcut. Omitted modifiers are false. */
25863
25884
  interface PluginCommandShortcut {
@@ -25920,9 +25941,7 @@ interface ExperimentalComposerCommandRegistration {
25920
25941
  * Runs with the handling composer, bound to this plugin like `useComposer()`.
25921
25942
  * Errors (sync or async) are contained and logged.
25922
25943
  */
25923
- run(context: {
25924
- composer: PluginComposerApi;
25925
- }): void | Promise<void>;
25944
+ run(context: ExperimentalComposerActionContext): void | Promise<void>;
25926
25945
  }
25927
25946
  /** Registers commands for bb's command palette. */
25928
25947
  interface PluginAppCommands {
@@ -26193,13 +26212,13 @@ interface PluginAppSlots {
26193
26212
  */
26194
26213
  experimental_threadHeaderTitle(registration: ExperimentalThreadHeaderTitleRegistration): void;
26195
26214
  /**
26196
- * Add a row to the thread context card of every thread pane (see
26215
+ * Add a row to the thread context card, in panes that show one (see
26197
26216
  * {@link ExperimentalThreadContextCardRowRegistration}). Experimental: see
26198
26217
  * docs/api_to_audit.md.
26199
26218
  */
26200
26219
  experimental_threadContextCardRow(registration: ExperimentalThreadContextCardRowRegistration): void;
26201
26220
  /**
26202
- * Add a titled section to the thread context card of every thread pane (see
26221
+ * Add a section to the thread context card, in panes that show one (see
26203
26222
  * {@link ExperimentalThreadContextCardSectionRegistration}). Experimental:
26204
26223
  * see docs/api_to_audit.md.
26205
26224
  */
@@ -26483,9 +26502,7 @@ interface ComposerPlusMenuItem {
26483
26502
  /** Accessible description for the host-rendered row. */
26484
26503
  description?: string;
26485
26504
  disabled?: boolean | ((composer: PluginComposerApi) => boolean);
26486
- run(context: {
26487
- composer: PluginComposerApi;
26488
- }): void | Promise<void>;
26505
+ run(context: ExperimentalComposerActionContext): void | Promise<void>;
26489
26506
  }
26490
26507
  /**
26491
26508
  * Host-rendered row in the menu next to the composer's send button, for
@@ -26500,9 +26517,7 @@ interface ComposerSendMenuItem {
26500
26517
  /** Accessible description for the host-rendered row. */
26501
26518
  description?: string;
26502
26519
  disabled?: boolean | ((composer: PluginComposerApi) => boolean);
26503
- run(context: {
26504
- composer: PluginComposerApi;
26505
- }): void | Promise<void>;
26520
+ run(context: ExperimentalComposerActionContext): void | Promise<void>;
26506
26521
  }
26507
26522
  interface ComposerRichTextSpec {
26508
26523
  /** Content-derived paint: match ranges receive `className`; text is never mutated. */
@@ -26895,7 +26910,7 @@ interface ThreadChatMessageAction {
26895
26910
  * Props of the host-owned `ThreadChat` component — one thread's chat
26896
26911
  * (timeline, and for the composer variants the full send/queue/draft
26897
26912
  * engine), rendered by the BB app inside a plugin slot. This is the
26898
- * deliberate exception to the no-host-components rule (§5.5): a stable
26913
+ * deliberate exception to the no-host-components rule: a stable
26899
26914
  * product capability, not a UI kit. Versioned additive like slot props;
26900
26915
  * internal timeline rows, query hooks, and prompt-box configuration are
26901
26916
  * deliberately not exposed.
@@ -27110,7 +27125,7 @@ interface NewThreadRequest {
27110
27125
  * rendered by the BB app inside a plugin slot.
27111
27126
  *
27112
27127
  * It is the create-side counterpart to `ThreadChat`: same deliberate
27113
- * exception to the no-host-components rule (§5.5), same additive versioning.
27128
+ * exception to the no-host-components rule, same additive versioning.
27114
27129
  */
27115
27130
  interface NewThreadComposerProps {
27116
27131
  /**
@@ -27432,10 +27447,23 @@ interface ExperimentalPanelTabIconProps {
27432
27447
  /** An {@link ExperimentalPanelTab.key}; renders nothing for a closed tab. */
27433
27448
  tabKey: string;
27434
27449
  }
27450
+ /** A plugin nav panel page; see {@link BbContext.experimental_pluginPanel}. */
27451
+ interface ExperimentalPluginPanelPage {
27452
+ pluginId: string;
27453
+ /** The panel's registered `path`. */
27454
+ path: string;
27455
+ /** The location inside the panel, percent-encoded like the component's `subPath` prop; empty at the panel's root. */
27456
+ subPath: string;
27457
+ }
27435
27458
  /** Current app selection, derived from the route. */
27436
27459
  interface BbContext {
27437
27460
  projectId: string | null;
27438
27461
  threadId: string | null;
27462
+ /**
27463
+ * The plugin nav panel the route shows (any plugin's), or null on other
27464
+ * pages. Experimental: see docs/api_to_audit.md.
27465
+ */
27466
+ experimental_pluginPanel: ExperimentalPluginPanelPage | null;
27439
27467
  }
27440
27468
  interface BbNavigate {
27441
27469
  /**
@@ -27461,14 +27489,17 @@ interface BbNavigate {
27461
27489
  }): void;
27462
27490
  /**
27463
27491
  * Navigate to the root compose surface (the new-thread screen). Pass
27464
- * `initialPrompt` to seed the composer draft (serialized thread, project,
27465
- * and section mention tokens become pills) and `focusPrompt` to focus the
27466
- * composer on arrival — the pairing behind "Create via chat" style entry
27467
- * points that drop the user into chat with a prefilled prompt.
27468
- * `projectId` makes that project the composer's selection; `placement`
27469
- * files the new thread in a section and pin state (omitted: unpinned,
27470
- * outside sections); `environmentId` reuses that environment and `hostId`
27471
- * picks a machine for a new one (`environmentId` wins when both are set).
27492
+ * `initialPrompt` to seed the composer draft when it is empty (serialized
27493
+ * thread, project, and section mention tokens become pills) and
27494
+ * `focusPrompt` to focus the composer on arrival — the pairing behind
27495
+ * "Create via chat" style entry points that drop the user into chat with a
27496
+ * prefilled prompt. `projectId` makes that project the composer's
27497
+ * selection; `placement` files the new thread in a section and pin state.
27498
+ * Without `placement`, the screen keeps the placement it already shows,
27499
+ * unless `environmentId` or `hostId` is set, which resets it to unpinned
27500
+ * and outside sections. `environmentId` reuses that environment and
27501
+ * `hostId` picks a machine for a new one (`environmentId` wins when both
27502
+ * are set).
27472
27503
  */
27473
27504
  toCompose(options?: {
27474
27505
  projectId?: string;
@@ -28015,9 +28046,9 @@ interface PluginSdkApp {
28015
28046
  */
28016
28047
  experimental_saveFile(request: ExperimentalSaveFileRequest): Promise<ExperimentalSaveFileOutcome>;
28017
28048
  /**
28018
- * The host-owned chat component (see {@link ThreadChatProps}). Together
28019
- * with `Markdown`, the only components the SDK ships — everything else
28020
- * stays vendored per §5.5.
28049
+ * The host-owned chat component (see {@link ThreadChatProps}): bb's own
28050
+ * chat, not a generic UI kit. Generic primitives stay vendored from the BB
28051
+ * registry.
28021
28052
  */
28022
28053
  ThreadChat: ComponentType<ThreadChatProps>;
28023
28054
  /**
@@ -28100,10 +28131,12 @@ interface PluginSdkApp {
28100
28131
  */
28101
28132
  experimental_Diff: ComponentType<DiffProps>;
28102
28133
  /**
28103
- * The thread Info tab's section frame (see
28134
+ * The section frame of the thread Info tab and the thread context card (see
28104
28135
  * {@link ExperimentalInfoSectionProps}), the one bb's own sections use.
28105
- * Inside an `experimental_threadInfoSection` it collapses, and the host
28106
- * remembers that per registration. Experimental: see docs/api_to_audit.md.
28136
+ * Inside an `experimental_threadInfoSection` it collapses, and inside an
28137
+ * `experimental_threadContextCardSection` it folds in the card's style; the
28138
+ * host remembers either per registration. Experimental: see
28139
+ * docs/api_to_audit.md.
28107
28140
  */
28108
28141
  experimental_InfoSection: ComponentType<ExperimentalInfoSectionProps>;
28109
28142
  /**
@@ -28489,4 +28522,4 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
28489
28522
  declare function sliceUtf16Head(value: string, maxChars: number): string;
28490
28523
 
28491
28524
  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, sliceUtf16Head as experimental_sliceUtf16Head };
28492
- 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, ExperimentalMessageActionSurface, 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, ExperimentalShortcutKeyEvent, 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, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, 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, PluginThreadSettledEvent, 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 };
28525
+ 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, ExperimentalComposerActionContext, 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, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginActionContext, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginPanelPage, 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, ExperimentalShortcutKeyEvent, 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, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, 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, PluginThreadSettledEvent, 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 };