@get-bb/plugin-sdk 0.6.52 → 0.6.59

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.
@@ -118,6 +118,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
118
118
  streamerMode: z$1.ZodBoolean;
119
119
  summarizeShellCommands: z$1.ZodBoolean;
120
120
  telemetryEnabled: z$1.ZodBoolean;
121
+ terminalCopyOnSelect: z$1.ZodBoolean;
121
122
  }, z$1.core.$strict>;
122
123
  type AppSettings = z$1.infer<typeof appSettingsSchema>;
123
124
  declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
@@ -144,6 +145,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
144
145
  streamerMode: z$1.ZodBoolean;
145
146
  summarizeShellCommands: z$1.ZodOptional<z$1.ZodBoolean>;
146
147
  telemetryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
148
+ terminalCopyOnSelect: z$1.ZodOptional<z$1.ZodBoolean>;
147
149
  }, z$1.core.$strict>, z$1.ZodObject<{
148
150
  allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
149
151
  confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -167,10 +169,11 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
167
169
  streamerMode: z$1.ZodBoolean;
168
170
  summarizeShellCommands: z$1.ZodOptional<z$1.ZodBoolean>;
169
171
  telemetryEnabled: z$1.ZodOptional<z$1.ZodBoolean>;
172
+ terminalCopyOnSelect: z$1.ZodOptional<z$1.ZodBoolean>;
170
173
  }, z$1.core.$strict>]>;
171
174
  type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
172
175
 
173
- 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.threadListProvider", "infoPanel.collapsedSections"];
176
+ 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", "infoPanel.collapsedSections"];
174
177
  type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
175
178
  interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
176
179
  schema: Schema;
@@ -203,6 +206,7 @@ declare const uiPreferenceDefinitions: {
203
206
  readonly "sidebar.hiddenFooterItems": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
204
207
  readonly "sidebar.pluginPanelOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
205
208
  readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
209
+ readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
206
210
  readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
207
211
  readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
208
212
  };
@@ -379,7 +383,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
379
383
  id: z$1.ZodOptional<z$1.ZodString>;
380
384
  metadata: z$1.ZodOptional<z$1.ZodObject<{
381
385
  backgroundActivityChanged: z$1.ZodOptional<z$1.ZodBoolean>;
382
- eventTypes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodArray<z$1.ZodString & z$1.ZodType<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string, z$1.core.$ZodTypeInternals<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/plan/updated" | "turn/started", string>>>>>;
386
+ eventTypes: z$1.ZodOptional<z$1.ZodReadonly<z$1.ZodArray<z$1.ZodString & z$1.ZodType<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/mainRun/updated" | "turn/plan/updated" | "turn/started", string, z$1.core.$ZodTypeInternals<"client/thread/start" | "client/turn/rejected" | "client/turn/requested" | "client/turn/start" | "item/agentMessage/delta" | "item/backgroundTask/completed" | "item/backgroundTask/progress" | "item/commandExecution/outputDelta" | "item/completed" | "item/delegation/completed" | "item/delegation/progress" | "item/fileChange/outputDelta" | "item/mcpToolCall/progress" | "item/plan/delta" | "item/reasoning/summaryTextDelta" | "item/reasoning/textDelta" | "item/started" | "item/toolCall/progress" | "provider.env-resolved" | "provider/error" | "provider/modelFallback" | "provider/rateLimits/updated" | "provider/unhandled" | "provider/warning" | "system/error" | "system/interaction/lifecycle" | "system/manager/user_message" | "system/operation" | "system/permissionGrant/lifecycle" | "system/provider-turn-watchdog" | "system/thread-provisioning" | "system/thread/interrupted" | "system/userQuestion/lifecycle" | "thread/compacted" | "thread/context/cleared" | "thread/contextWindowUsage/updated" | "thread/extensionState/updated" | "thread/goal/cleared" | "thread/goal/updated" | "thread/identity" | "thread/name/updated" | "thread/started" | "thread/tokenUsage/updated" | "turn/completed" | "turn/diff/updated" | "turn/input/accepted" | "turn/mainRun/updated" | "turn/plan/updated" | "turn/started", string>>>>>;
383
387
  hasPendingInteraction: z$1.ZodOptional<z$1.ZodBoolean>;
384
388
  projectId: z$1.ZodOptional<z$1.ZodString>;
385
389
  statusChange: z$1.ZodOptional<z$1.ZodObject<{
@@ -860,6 +864,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
860
864
  movePath: z$1.ZodOptional<z$1.ZodString>;
861
865
  path: z$1.ZodString;
862
866
  }, z$1.core.$strip>>;
867
+ error: z$1.ZodOptional<z$1.ZodString>;
863
868
  id: z$1.ZodString;
864
869
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
865
870
  presentation: z$1.ZodOptional<z$1.ZodObject<{
@@ -1328,6 +1333,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
1328
1333
  description: z$1.ZodString;
1329
1334
  error: z$1.ZodOptional<z$1.ZodString>;
1330
1335
  familyId: z$1.ZodOptional<z$1.ZodString>;
1336
+ foreground: z$1.ZodBoolean;
1331
1337
  id: z$1.ZodString;
1332
1338
  outputFile: z$1.ZodOptional<z$1.ZodString>;
1333
1339
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
@@ -1625,6 +1631,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
1625
1631
  movePath: z$1.ZodOptional<z$1.ZodString>;
1626
1632
  path: z$1.ZodString;
1627
1633
  }, z$1.core.$strip>>;
1634
+ error: z$1.ZodOptional<z$1.ZodString>;
1628
1635
  id: z$1.ZodString;
1629
1636
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
1630
1637
  presentation: z$1.ZodOptional<z$1.ZodObject<{
@@ -2093,6 +2100,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2093
2100
  description: z$1.ZodString;
2094
2101
  error: z$1.ZodOptional<z$1.ZodString>;
2095
2102
  familyId: z$1.ZodOptional<z$1.ZodString>;
2103
+ foreground: z$1.ZodBoolean;
2096
2104
  id: z$1.ZodString;
2097
2105
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2098
2106
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
@@ -2324,6 +2332,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2324
2332
  description: z$1.ZodString;
2325
2333
  error: z$1.ZodOptional<z$1.ZodString>;
2326
2334
  familyId: z$1.ZodOptional<z$1.ZodString>;
2335
+ foreground: z$1.ZodBoolean;
2327
2336
  id: z$1.ZodString;
2328
2337
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2329
2338
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
@@ -2422,6 +2431,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2422
2431
  description: z$1.ZodString;
2423
2432
  error: z$1.ZodOptional<z$1.ZodString>;
2424
2433
  familyId: z$1.ZodOptional<z$1.ZodString>;
2434
+ foreground: z$1.ZodBoolean;
2425
2435
  id: z$1.ZodString;
2426
2436
  outputFile: z$1.ZodOptional<z$1.ZodString>;
2427
2437
  parentToolCallId: z$1.ZodOptional<z$1.ZodString>;
@@ -2682,6 +2692,14 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
2682
2692
  providerThreadId: z$1.ZodString;
2683
2693
  threadId: z$1.ZodString;
2684
2694
  type: z$1.ZodLiteral<"turn/plan/updated">;
2695
+ }, z$1.core.$strip>, z$1.ZodObject<{
2696
+ providerThreadId: z$1.ZodString;
2697
+ state: z$1.ZodEnum<{
2698
+ idle: "idle";
2699
+ running: "running";
2700
+ }>;
2701
+ threadId: z$1.ZodString;
2702
+ type: z$1.ZodLiteral<"turn/mainRun/updated">;
2685
2703
  }, z$1.core.$strip>, z$1.ZodObject<{
2686
2704
  diff: z$1.ZodOptional<z$1.ZodString>;
2687
2705
  providerThreadId: z$1.ZodString;
@@ -3072,6 +3090,7 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3072
3090
  "child-interrupted": "child-interrupted";
3073
3091
  "child-needs-attention": "child-needs-attention";
3074
3092
  "child-outcome-batch": "child-outcome-batch";
3093
+ "environment-directory-updated": "environment-directory-updated";
3075
3094
  "ownership-assigned": "ownership-assigned";
3076
3095
  "ownership-removed": "ownership-removed";
3077
3096
  "tool-result-delivered": "tool-result-delivered";
@@ -3122,6 +3141,9 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
3122
3141
  kind: z$1.ZodLiteral<"tool-call">;
3123
3142
  suppress: z$1.ZodBoolean;
3124
3143
  toolName: z$1.ZodString;
3144
+ }, z$1.core.$strip>, z$1.ZodObject<{
3145
+ kind: z$1.ZodLiteral<"directory">;
3146
+ path: z$1.ZodString;
3125
3147
  }, z$1.core.$strip>], "kind">>>;
3126
3148
  target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
3127
3149
  kind: z$1.ZodLiteral<"thread-start">;
@@ -7388,6 +7410,7 @@ declare const hostDaemonCommandRegistry: {
7388
7410
  }, z$1.core.$strict>], "operation">, z$1.ZodObject<{}, z$1.core.$strict>, "settled", false>;
7389
7411
  "host.list_files": HostDaemonCommandDescriptor<"host.list_files", z$1.ZodObject<{
7390
7412
  excludeNames: z$1.ZodArray<z$1.ZodString>;
7413
+ followRootSymlink: z$1.ZodBoolean;
7391
7414
  includeHidden: z$1.ZodBoolean;
7392
7415
  limit: z$1.ZodNumber;
7393
7416
  path: z$1.ZodString;
@@ -7462,6 +7485,7 @@ declare const hostDaemonCommandRegistry: {
7462
7485
  path: z$1.ZodString;
7463
7486
  }, z$1.core.$strip>>;
7464
7487
  parent: z$1.ZodNullable<z$1.ZodString>;
7488
+ roots: z$1.ZodArray<z$1.ZodString>;
7465
7489
  }, z$1.core.$strip>, "onlineRpc", true>;
7466
7490
  "host.paths_exist": HostDaemonCommandDescriptor<"host.paths_exist", z$1.ZodObject<{
7467
7491
  paths: z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>;
@@ -8011,6 +8035,7 @@ declare const hostDaemonCommandRegistry: {
8011
8035
  allow: "allow";
8012
8036
  deny: "deny";
8013
8037
  }>;
8038
+ followRootSymlink: z$1.ZodBoolean;
8014
8039
  path: z$1.ZodString;
8015
8040
  rootPath: z$1.ZodString;
8016
8041
  type: z$1.ZodLiteral<"host.read_file_relative">;
@@ -8073,6 +8098,22 @@ declare const hostDaemonCommandRegistry: {
8073
8098
  kind: z$1.ZodLiteral<"artifact">;
8074
8099
  }, z$1.core.$strict>;
8075
8100
  }, z$1.core.$strict>;
8101
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
8102
+ name: z$1.ZodString;
8103
+ reason: z$1.ZodString;
8104
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
8105
+ plugin: z$1.ZodString;
8106
+ }, z$1.core.$strict>, z$1.ZodObject<{
8107
+ core: z$1.ZodEnum<{
8108
+ "machine-environment": "machine-environment";
8109
+ "machine-git": "machine-git";
8110
+ "project-environment": "project-environment";
8111
+ }>;
8112
+ }, z$1.core.$strict>]>;
8113
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
8114
+ serverPath: z$1.ZodString;
8115
+ }, z$1.core.$strict>]>;
8116
+ }, z$1.core.$strict>>;
8076
8117
  cwd: z$1.ZodOptional<z$1.ZodString>;
8077
8118
  providerId: z$1.ZodString;
8078
8119
  type: z$1.ZodLiteral<"provider.list_models">;
@@ -8160,6 +8201,43 @@ declare const hostDaemonCommandRegistry: {
8160
8201
  }, z$1.core.$strip>>>;
8161
8202
  }, z$1.core.$strip>>;
8162
8203
  }, z$1.core.$strip>, "onlineRpc", true>;
8204
+ "provider.list_commands": HostDaemonCommandDescriptor<"provider.list_commands", z$1.ZodObject<{
8205
+ bridgeLaunch: z$1.ZodObject<{
8206
+ capabilities: z$1.ZodObject<{
8207
+ fork: z$1.ZodEnum<{
8208
+ checkpoint: "checkpoint";
8209
+ none: "none";
8210
+ tip: "tip";
8211
+ }>;
8212
+ permissionModes: z$1.ZodArray<z$1.ZodEnum<{
8213
+ "accept-edits": "accept-edits";
8214
+ auto: "auto";
8215
+ full: "full";
8216
+ }>>;
8217
+ providerInstallation: z$1.ZodBoolean;
8218
+ supportsServiceTier: z$1.ZodBoolean;
8219
+ supportsThreadArchive: z$1.ZodBoolean;
8220
+ supportsThreadRename: z$1.ZodBoolean;
8221
+ }, z$1.core.$strict>;
8222
+ envPassthrough: z$1.ZodArray<z$1.ZodString>;
8223
+ pluginId: z$1.ZodString;
8224
+ providerOptions: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
8225
+ source: z$1.ZodObject<{
8226
+ byteLength: z$1.ZodNumber;
8227
+ digest: z$1.ZodString;
8228
+ kind: z$1.ZodLiteral<"artifact">;
8229
+ }, z$1.core.$strict>;
8230
+ }, z$1.core.$strict>;
8231
+ cwd: z$1.ZodNullable<z$1.ZodString>;
8232
+ providerId: z$1.ZodString;
8233
+ type: z$1.ZodLiteral<"provider.list_commands">;
8234
+ }, z$1.core.$strict>, z$1.ZodObject<{
8235
+ commands: z$1.ZodArray<z$1.ZodObject<{
8236
+ description: z$1.ZodString;
8237
+ inputHint: z$1.ZodOptional<z$1.ZodString>;
8238
+ name: z$1.ZodString;
8239
+ }, z$1.core.$strip>>;
8240
+ }, z$1.core.$strip>, "onlineRpc", true>;
8163
8241
  "provider.health": HostDaemonCommandDescriptor<"provider.health", z$1.ZodObject<{
8164
8242
  bridgeLaunch: z$1.ZodObject<{
8165
8243
  capabilities: z$1.ZodObject<{
@@ -9157,6 +9235,7 @@ declare const hostDirectoryListingSchema: z$1.ZodObject<{
9157
9235
  path: z$1.ZodString;
9158
9236
  }, z$1.core.$strip>>;
9159
9237
  parent: z$1.ZodNullable<z$1.ZodString>;
9238
+ roots: z$1.ZodArray<z$1.ZodString>;
9160
9239
  }, z$1.core.$strip>;
9161
9240
  type HostDirectoryListing = z$1.infer<typeof hostDirectoryListingSchema>;
9162
9241
  declare const hostDiscoveredReposResponseSchema: z$1.ZodObject<{
@@ -10811,6 +10890,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10811
10890
  streamerMode: z$1.ZodBoolean;
10812
10891
  summarizeShellCommands: z$1.ZodBoolean;
10813
10892
  telemetryEnabled: z$1.ZodBoolean;
10893
+ terminalCopyOnSelect: z$1.ZodBoolean;
10814
10894
  }, z$1.core.$strict>;
10815
10895
  hostDaemonPort: z$1.ZodNullable<z$1.ZodNumber>;
10816
10896
  keybindingOverrides: z$1.ZodArray<z$1.ZodObject<{
@@ -11687,6 +11767,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
11687
11767
  "child-interrupted": "child-interrupted";
11688
11768
  "child-needs-attention": "child-needs-attention";
11689
11769
  "child-outcome-batch": "child-outcome-batch";
11770
+ "environment-directory-updated": "environment-directory-updated";
11690
11771
  "ownership-assigned": "ownership-assigned";
11691
11772
  "ownership-removed": "ownership-removed";
11692
11773
  "tool-result-delivered": "tool-result-delivered";
@@ -11737,6 +11818,9 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
11737
11818
  kind: z$1.ZodLiteral<"tool-call">;
11738
11819
  suppress: z$1.ZodBoolean;
11739
11820
  toolName: z$1.ZodString;
11821
+ }, z$1.core.$strip>, z$1.ZodObject<{
11822
+ kind: z$1.ZodLiteral<"directory">;
11823
+ path: z$1.ZodString;
11740
11824
  }, z$1.core.$strip>], "kind">>;
11741
11825
  text: z$1.ZodString;
11742
11826
  threadId: z$1.ZodString;
@@ -14390,6 +14474,7 @@ type ThreadSearchResponse = z$1.infer<typeof threadSearchResponseSchema>;
14390
14474
  declare const threadResponseSchema: z$1.ZodObject<{
14391
14475
  activeBackgroundAgentCount: z$1.ZodNumber;
14392
14476
  archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
14477
+ canEditMessages: z$1.ZodBoolean;
14393
14478
  canRestoreEnvironment: z$1.ZodBoolean;
14394
14479
  canSpawnChild: z$1.ZodBoolean;
14395
14480
  createdAt: z$1.ZodNumber;
@@ -14473,6 +14558,7 @@ type ThreadDescendantsListResponse = z$1.infer<typeof threadDescendantsListRespo
14473
14558
  declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14474
14559
  activeBackgroundAgentCount: z$1.ZodNumber;
14475
14560
  archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
14561
+ canEditMessages: z$1.ZodBoolean;
14476
14562
  canRestoreEnvironment: z$1.ZodBoolean;
14477
14563
  canSpawnChild: z$1.ZodBoolean;
14478
14564
  createdAt: z$1.ZodNumber;
@@ -15341,6 +15427,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15341
15427
  "child-interrupted": "child-interrupted";
15342
15428
  "child-needs-attention": "child-needs-attention";
15343
15429
  "child-outcome-batch": "child-outcome-batch";
15430
+ "environment-directory-updated": "environment-directory-updated";
15344
15431
  "ownership-assigned": "ownership-assigned";
15345
15432
  "ownership-removed": "ownership-removed";
15346
15433
  "tool-result-delivered": "tool-result-delivered";
@@ -15391,6 +15478,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15391
15478
  kind: z$1.ZodLiteral<"tool-call">;
15392
15479
  suppress: z$1.ZodBoolean;
15393
15480
  toolName: z$1.ZodString;
15481
+ }, z$1.core.$strip>, z$1.ZodObject<{
15482
+ kind: z$1.ZodLiteral<"directory">;
15483
+ path: z$1.ZodString;
15394
15484
  }, z$1.core.$strip>], "kind">>;
15395
15485
  text: z$1.ZodString;
15396
15486
  threadId: z$1.ZodString;
@@ -15526,6 +15616,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15526
15616
  "child-interrupted": "child-interrupted";
15527
15617
  "child-needs-attention": "child-needs-attention";
15528
15618
  "child-outcome-batch": "child-outcome-batch";
15619
+ "environment-directory-updated": "environment-directory-updated";
15529
15620
  "ownership-assigned": "ownership-assigned";
15530
15621
  "ownership-removed": "ownership-removed";
15531
15622
  "tool-result-delivered": "tool-result-delivered";
@@ -15576,6 +15667,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15576
15667
  kind: z$1.ZodLiteral<"tool-call">;
15577
15668
  suppress: z$1.ZodBoolean;
15578
15669
  toolName: z$1.ZodString;
15670
+ }, z$1.core.$strip>, z$1.ZodObject<{
15671
+ kind: z$1.ZodLiteral<"directory">;
15672
+ path: z$1.ZodString;
15579
15673
  }, z$1.core.$strip>], "kind">>;
15580
15674
  text: z$1.ZodString;
15581
15675
  threadId: z$1.ZodString;
@@ -15711,6 +15805,7 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15711
15805
  "child-interrupted": "child-interrupted";
15712
15806
  "child-needs-attention": "child-needs-attention";
15713
15807
  "child-outcome-batch": "child-outcome-batch";
15808
+ "environment-directory-updated": "environment-directory-updated";
15714
15809
  "ownership-assigned": "ownership-assigned";
15715
15810
  "ownership-removed": "ownership-removed";
15716
15811
  "tool-result-delivered": "tool-result-delivered";
@@ -15761,6 +15856,9 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
15761
15856
  kind: z$1.ZodLiteral<"tool-call">;
15762
15857
  suppress: z$1.ZodBoolean;
15763
15858
  toolName: z$1.ZodString;
15859
+ }, z$1.core.$strip>, z$1.ZodObject<{
15860
+ kind: z$1.ZodLiteral<"directory">;
15861
+ path: z$1.ZodString;
15764
15862
  }, z$1.core.$strip>], "kind">>;
15765
15863
  text: z$1.ZodString;
15766
15864
  threadId: z$1.ZodString;
@@ -18629,6 +18727,226 @@ interface ExperimentalSidebarFooterDisclosureProps {
18629
18727
  /** Hide this disclosure without affecting another plugin's open disclosure. */
18630
18728
  dismiss(): void;
18631
18729
  }
18730
+ /** Display and accessibility metadata for a host-owned sidebar shortcut. */
18731
+ interface ExperimentalSidebarNavigationShortcut {
18732
+ label: string;
18733
+ ariaKeyShortcuts: string;
18734
+ }
18735
+ /** Host-owned behavior represented by one sidebar navigation item. */
18736
+ type ExperimentalSidebarNavigationAction = {
18737
+ kind: "new-thread";
18738
+ } | {
18739
+ kind: "search-threads";
18740
+ } | {
18741
+ kind: "open-extensions";
18742
+ } | {
18743
+ kind: "open-skills";
18744
+ } | {
18745
+ kind: "open-plugin-panel";
18746
+ pluginId: string;
18747
+ panelId: string;
18748
+ };
18749
+ /**
18750
+ * Semantic icon identity for one sidebar navigation item. Render it with
18751
+ * {@link PluginSdkApp.experimental_SidebarNavigationIcon} to match bb's
18752
+ * artwork, including panel icons with plugin branding as their fallback.
18753
+ */
18754
+ type ExperimentalSidebarNavigationIcon = {
18755
+ kind: "host";
18756
+ name: "extensions" | "new-thread" | "search" | "skills";
18757
+ } | {
18758
+ kind: "plugin";
18759
+ pluginId: string;
18760
+ icon: string | null;
18761
+ };
18762
+ /** One host-owned destination or action a navigation provider arranges. */
18763
+ interface ExperimentalSidebarNavigationItem {
18764
+ /**
18765
+ * Arrangement key, stable across reloads: `__bb__/new-thread`,
18766
+ * `__bb__/search-threads`, `__bb__/extensions`, `__bb__/skills`,
18767
+ * `__bb__/automations`, or `<pluginId>/<panelId>`. The same keys appear in
18768
+ * the `sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`
18769
+ * settings.
18770
+ */
18771
+ id: string;
18772
+ label: string;
18773
+ icon: ExperimentalSidebarNavigationIcon;
18774
+ action: ExperimentalSidebarNavigationAction;
18775
+ isDisabled: boolean;
18776
+ /**
18777
+ * False when the user hid the item. Draw hidden items in an overflow menu
18778
+ * rather than dropping them, so they stay reachable. New thread is always
18779
+ * visible.
18780
+ */
18781
+ isVisible: boolean;
18782
+ /**
18783
+ * A plugin panel remembered from the last session whose bundle has not
18784
+ * registered yet. Activating it does nothing until it loads.
18785
+ */
18786
+ isLoading: boolean;
18787
+ /**
18788
+ * The plugin that contributed this panel; null for bb's own items. Gates
18789
+ * `openDetails` and `disablePlugin`.
18790
+ */
18791
+ pluginId: string | null;
18792
+ shortcut: ExperimentalSidebarNavigationShortcut | null;
18793
+ /**
18794
+ * The panel's current {@link PluginNavPanelRegistration.experimental_useBadge}
18795
+ * value, or null. Add `label` to the item's accessible name when you draw
18796
+ * it.
18797
+ */
18798
+ badge: ExperimentalBadge | null;
18799
+ }
18800
+ /** How the host should activate a sidebar navigation item. */
18801
+ interface ExperimentalSidebarNavigationActivationOptions {
18802
+ openInSplit: boolean;
18803
+ }
18804
+ /**
18805
+ * Host behavior for sidebar navigation items (see
18806
+ * {@link ExperimentalSidebarNavigationState}). Unknown item ids are ignored.
18807
+ * Calls made after the calling component unmounts do nothing.
18808
+ */
18809
+ interface ExperimentalSidebarNavigationActions {
18810
+ /**
18811
+ * Run the item's host behavior. Plugin panels close the mobile sidebar
18812
+ * drawer; Plugins and Skills swap the list beside the navigation.
18813
+ * `openInSplit` opens Plugins and Skills in a browser tab because those
18814
+ * destinations do not support splits. New thread and plugin panels retain
18815
+ * their split placement rules, including in-place navigation on compact
18816
+ * screens. Search remains a command. Disabled or loading items do nothing.
18817
+ * Browser-tab activation must run synchronously from a user gesture;
18818
+ * native shells handle the new-window request using their existing policy.
18819
+ */
18820
+ activate(itemId: string, options: ExperimentalSidebarNavigationActivationOptions): void;
18821
+ /**
18822
+ * Return to the thread list and the last thread or new thread screen the
18823
+ * user had open before visiting Settings, Plugins, Skills, or a plugin
18824
+ * panel.
18825
+ */
18826
+ goHome(): void;
18827
+ /** Hide or show one item. Persists to `sidebar.visiblePluginPanels`. */
18828
+ setVisible(itemId: string, isVisible: boolean): void;
18829
+ /**
18830
+ * Save a new order. Pass item ids in the order you want; unknown ids are
18831
+ * dropped and ids you leave out keep their relative order after the ones
18832
+ * you pass. Persists to `sidebar.pluginPanelOrder`.
18833
+ */
18834
+ setOrder(itemIds: readonly string[]): void;
18835
+ /**
18836
+ * Open bb's customize editor, which reorders and hides items, beside the
18837
+ * navigation. It waits for an open menu to close and returns focus to the
18838
+ * control that opened it.
18839
+ */
18840
+ openCustomize(): void;
18841
+ /** Open the owning plugin's details. Does nothing when `pluginId` is null. */
18842
+ openDetails(itemId: string): void;
18843
+ /**
18844
+ * Disable the owning plugin, leave its panel if it is open, and show a
18845
+ * toast. Rejects after the host's error toast when disabling fails. Does
18846
+ * nothing when `pluginId` is null.
18847
+ */
18848
+ disablePlugin(itemId: string): Promise<void>;
18849
+ }
18850
+ /** What {@link PluginSdkApp.experimental_useSidebarNavigation} returns. */
18851
+ interface ExperimentalSidebarNavigationState {
18852
+ /** Every item in the user's saved order, visible and hidden. */
18853
+ items: readonly ExperimentalSidebarNavigationItem[];
18854
+ /** The item whose destination the route currently shows, or null. */
18855
+ activeItemId: string | null;
18856
+ /**
18857
+ * True on the thread list's routes: a thread, the new thread screen, or a
18858
+ * project page. Settings, Plugins, Skills, and plugin panels are not home.
18859
+ */
18860
+ isHomeActive: boolean;
18861
+ /**
18862
+ * True while the user holds the app command modifier, when bb's own
18863
+ * navigation reveals its `shortcut` labels. Show yours at the same time.
18864
+ */
18865
+ isShortcutModifierHeld: boolean;
18866
+ actions: ExperimentalSidebarNavigationActions;
18867
+ }
18868
+ /**
18869
+ * Per-item drag-to-split support (see
18870
+ * {@link PluginSdkApp.experimental_useSidebarNavigationSplit}). Same contract
18871
+ * as {@link PluginSidebarThreadSplit}.
18872
+ */
18873
+ interface ExperimentalSidebarNavigationSplit {
18874
+ /**
18875
+ * Spread onto the item's interactive element. Empty when the item cannot
18876
+ * open in a pane, so spreading it is always safe.
18877
+ */
18878
+ splitProps: {
18879
+ onPointerDown?: (event: react.PointerEvent<HTMLElement>) => void;
18880
+ };
18881
+ /**
18882
+ * False for items that cannot open in a pane (Search, Plugins, Skills), on
18883
+ * compact viewports, and when splits are unavailable.
18884
+ */
18885
+ isAvailable: boolean;
18886
+ /** Where this item's destination sits in the split layout, or null. */
18887
+ layout: {
18888
+ panes: readonly PluginSidebarSplitPane[];
18889
+ } | null;
18890
+ }
18891
+ /** Options for {@link PluginSdkApp.experimental_useSidebarNavigationSplit}. */
18892
+ interface ExperimentalSidebarNavigationSplitOptions {
18893
+ /**
18894
+ * `sidebar` (the default) engages the drag once the pointer leaves the
18895
+ * sidebar, so a row list with its own drag-to-reorder keeps working.
18896
+ * `distance` engages after a short movement in any direction; use it for
18897
+ * rows inside a menu or popover that covers the main area.
18898
+ */
18899
+ activation?: "distance" | "sidebar";
18900
+ /** Called when the drag engages, for example to close the menu the row is in. */
18901
+ onDragStart?: () => void;
18902
+ }
18903
+ /** Props for {@link PluginSdkApp.experimental_SidebarNavigationIcon}. */
18904
+ interface ExperimentalSidebarNavigationIconProps {
18905
+ icon: ExperimentalSidebarNavigationIcon;
18906
+ className?: string;
18907
+ }
18908
+ /**
18909
+ * Where a sidebar navigation provider draws (see
18910
+ * {@link ExperimentalSidebarNavigationRegistration.placement}).
18911
+ */
18912
+ type ExperimentalSidebarNavigationPlacement = "list" | "rail";
18913
+ /**
18914
+ * Props passed to an `experimental_sidebarNavigation` component. Read the
18915
+ * items and their actions with
18916
+ * {@link PluginSdkApp.experimental_useSidebarNavigation}.
18917
+ */
18918
+ interface ExperimentalSidebarNavigationProps {
18919
+ isCompactViewport: boolean;
18920
+ placement: ExperimentalSidebarNavigationPlacement;
18921
+ /**
18922
+ * Renders the bundled Navigation plugin's provider for the same placement,
18923
+ * Rail or Top list, or nothing when that plugin is disabled. Kept for
18924
+ * plugins written before `experimental_useSidebarNavigation`; render items
18925
+ * from that hook instead. Scheduled for removal.
18926
+ *
18927
+ * @deprecated
18928
+ */
18929
+ experimental_Original: ComponentType;
18930
+ }
18931
+ /**
18932
+ * Props passed to a navigation's `headerComponent`, rendered in the sidebar's
18933
+ * header row between the sidebar toggle (and the macOS window controls) and
18934
+ * bb's back and forward buttons.
18935
+ */
18936
+ interface ExperimentalSidebarHeaderProps {
18937
+ /**
18938
+ * Width in px of the space the component may use, updated when the sidebar
18939
+ * resizes or the window chrome changes. It can be smaller than
18940
+ * `controlSize` in a narrow sidebar.
18941
+ */
18942
+ width: number;
18943
+ /**
18944
+ * Width and height in px of the header's own buttons, equal to the
18945
+ * `--bb-sidebar-control-size` CSS variable. Size your controls to match.
18946
+ */
18947
+ controlSize: number;
18948
+ isCompactViewport: boolean;
18949
+ }
18632
18950
  /**
18633
18951
  * Props passed to an `experimental_threadList` component — the sidebar's
18634
18952
  * scrolling thread area, replaced wholesale by one plugin.
@@ -19032,6 +19350,41 @@ type PluginFixedTabRegistration<Target extends JsonValue$1 = never> = Experiment
19032
19350
  };
19033
19351
  /** A fixed tab with either no target or an owner-validated JSON target. */
19034
19352
  type PluginFixedTabDeclaration = PluginFixedTabRegistration | PluginFixedTabRegistration<JsonValue$1>;
19353
+ /**
19354
+ * How urgent an {@link ExperimentalBadge} is. bb picks the colors: `neutral`
19355
+ * (the default) for counts and new items, `warning` for something due or
19356
+ * degraded, and `critical` for something failing or waiting on the user.
19357
+ *
19358
+ * Experimental: see docs/api_to_audit.md.
19359
+ */
19360
+ type ExperimentalBadgeTone = "critical" | "neutral" | "warning";
19361
+ /**
19362
+ * A live value the host draws on a nav panel's navigation entry. Set at most
19363
+ * one of `count` and `text`; with neither, bb draws a dot.
19364
+ *
19365
+ * Experimental: see docs/api_to_audit.md.
19366
+ */
19367
+ interface ExperimentalBadge {
19368
+ /**
19369
+ * Positive integer drawn on the entry, shown as `9+` above 9 on the rail and
19370
+ * `99+` above 99 in lists.
19371
+ */
19372
+ count?: number;
19373
+ /**
19374
+ * A short visible value, at most 8 characters, such as "NEW", "73%", or
19375
+ * "3/5". Lists draw it; the icon-only rail draws a dot and puts `label` in
19376
+ * the tooltip.
19377
+ */
19378
+ text?: string;
19379
+ /** Defaults to `neutral`. */
19380
+ tone?: ExperimentalBadgeTone;
19381
+ /**
19382
+ * Text for the destination's tooltip and accessible name, such as
19383
+ * "3 open tasks". Required because the drawn badge is hidden from assistive
19384
+ * technology.
19385
+ */
19386
+ label: string;
19387
+ }
19035
19388
  interface PluginNavPanelRegistration {
19036
19389
  /** Unique within the plugin; letters, digits, `-`, `_`. */
19037
19390
  id: string;
@@ -19053,16 +19406,19 @@ interface PluginNavPanelRegistration {
19053
19406
  */
19054
19407
  fixedTabs?: readonly PluginFixedTabDeclaration[];
19055
19408
  /**
19056
- * Optional presentational component for a narrow live value next to this
19057
- * panel's entry in the sidebar. It receives no props so it can own that
19058
- * value through the ordinary SDK hooks without coupling its state to the
19059
- * host sidebar. The host still validates it, but no host surface currently
19060
- * mounts it. Keep it to a small, single-line box; do not render controls or
19061
- * rely on unbounded content here.
19409
+ * Optional React hook that returns this panel's navigation badge, or `null`
19410
+ * for none. The host calls it once in your plugin's scope for every
19411
+ * registered panel, including ones hidden under More, so it can own an RPC
19412
+ * query and realtime subscription through the ordinary SDK hooks. The value
19413
+ * reaches every navigation provider as the item's `badge`; bb's draw a
19414
+ * count or a dot on the entry, a dot on More while the panel is hidden
19415
+ * there, and `label` in the tooltip and accessible name. A hook that throws
19416
+ * or returns an invalid badge is treated as a crashed slot and shows no
19417
+ * badge.
19062
19418
  *
19063
19419
  * Experimental: see docs/api_to_audit.md.
19064
19420
  */
19065
- experimental_sidebarAccessory?: ComponentType;
19421
+ experimental_useBadge?: () => ExperimentalBadge | null;
19066
19422
  /**
19067
19423
  * Optional component rendered on the right side of the shared title bar
19068
19424
  * (e.g. a sync button or a count). Contained separately from the body: a
@@ -20018,6 +20374,50 @@ interface PluginThreadListRegistration {
20018
20374
  description?: string;
20019
20375
  component: ComponentType<PluginThreadListProps>;
20020
20376
  }
20377
+ /**
20378
+ * Draw the sidebar's navigation: New thread, Plugins, Skills, Automations,
20379
+ * plugin panels, and More, plus optional controls in the sidebar header.
20380
+ * Exclusive: bb's bundled Navigation plugin registers Rail
20381
+ * (`navigation/rail`, the default) and Top list (`navigation/top-list`)
20382
+ * through this slot. By default the first provider from another plugin is
20383
+ * active, falling back to Rail; the user can pin one provider under Settings →
20384
+ * Appearance → Navigation. A pinned provider that is disabled or removed falls
20385
+ * back the same way, and a crashing provider is replaced by the Navigation
20386
+ * plugin's provider for the same placement.
20387
+ *
20388
+ * `placement` decides the layout around the component, so bb can lay out the
20389
+ * sidebar before the plugin loads:
20390
+ *
20391
+ * - `rail`: a fixed-width column on the sidebar's left edge that stays when
20392
+ * the sidebar collapses. bb draws Settings at the bottom of the column;
20393
+ * draw Home with `actions.goHome()`. On macOS, wide windows frame the
20394
+ * sidebar and page below a title bar.
20395
+ * - `list` (the default): the area above the thread list. Settings is a
20396
+ * footer action, the Settings, Plugins, and Skills lists start with a Back
20397
+ * to app row, and collapsing hides the whole sidebar.
20398
+ *
20399
+ * Draw New thread yourself, in `component` or `headerComponent`. bb's Rail
20400
+ * puts it in its header; Top list draws it as a row.
20401
+ */
20402
+ interface ExperimentalSidebarNavigationRegistration {
20403
+ /** Unique within the plugin; letters, digits, `-`, `_`. */
20404
+ id: string;
20405
+ /** Label shown in Settings → Appearance and capability details. */
20406
+ title: string;
20407
+ /** Optional one-line description shown with the provider choice. */
20408
+ description?: string;
20409
+ placement?: ExperimentalSidebarNavigationPlacement;
20410
+ component: ComponentType<ExperimentalSidebarNavigationProps>;
20411
+ /**
20412
+ * Rendered in the sidebar's header row while this navigation is active,
20413
+ * between the sidebar toggle and bb's back and forward buttons. Content is
20414
+ * clipped to the row, so it cannot move the thread list or bb's controls.
20415
+ * On macOS the empty space keeps dragging the window; buttons, links, and
20416
+ * inputs do not. A crashing header is replaced by the header of the
20417
+ * bundled Navigation plugin's provider for the same placement.
20418
+ */
20419
+ headerComponent?: ComponentType<ExperimentalSidebarHeaderProps>;
20420
+ }
20021
20421
  /**
20022
20422
  * Register this plugin as a viewer/editor for file extensions. By default,
20023
20423
  * matching files render the first applicable opener in deterministic slot
@@ -20042,8 +20442,9 @@ interface PluginFileOpenerRegistration {
20042
20442
  * text — the native file preview and every plugin that calls
20043
20443
  * `experimental_SourceCode`. Like `experimental_threadList` this slot is
20044
20444
  * **exclusive**: one renderer at a time. Registering activates it while the
20045
- * plugin is enabled; if several are registered the first in deterministic slot
20046
- * order wins. A missing, disabled, or crashing replacement falls back to BB's
20445
+ * plugin is enabled; if several are registered, one from a plugin the user
20446
+ * installed wins over one bundled with bb, then the first in deterministic
20447
+ * slot order. A missing, disabled, or crashing replacement falls back to BB's
20047
20448
  * renderer, and a replacement can render `Original` to delegate
20048
20449
  * per call (behind its own setting, by language, by size — whatever it needs).
20049
20450
  */
@@ -20489,6 +20890,12 @@ interface PluginAppSlots {
20489
20890
  * docs/api_to_audit.md for what to audit before the prefix drops.
20490
20891
  */
20491
20892
  experimental_threadList(registration: PluginThreadListRegistration): void;
20893
+ /**
20894
+ * Draw the sidebar navigation and its header controls (see
20895
+ * {@link ExperimentalSidebarNavigationRegistration}). Experimental: see
20896
+ * docs/api_to_audit.md.
20897
+ */
20898
+ experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
20492
20899
  /**
20493
20900
  * Render a component in the thread header's action row (see
20494
20901
  * {@link PluginThreadHeaderActionRegistration}). Experimental: see
@@ -21794,6 +22201,27 @@ interface PluginSdkApp {
21794
22201
  * Experimental: see docs/api_to_audit.md.
21795
22202
  */
21796
22203
  experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
22204
+ /**
22205
+ * The sidebar navigation items in the user's saved order, the active item,
22206
+ * and the host actions that activate, hide, reorder, and customize them
22207
+ * (see {@link ExperimentalSidebarNavigationState}). One model shared by
22208
+ * every navigation provider, bb's included. Items keep their identity while
22209
+ * unchanged. Outside the sidebar it returns no items and actions that do
22210
+ * nothing. Experimental: see docs/api_to_audit.md.
22211
+ */
22212
+ experimental_useSidebarNavigation(): ExperimentalSidebarNavigationState;
22213
+ /**
22214
+ * Per-item drag-to-split support for navigation items (see
22215
+ * {@link ExperimentalSidebarNavigationSplit}). Call it once per rendered
22216
+ * item. Experimental: see docs/api_to_audit.md.
22217
+ */
22218
+ experimental_useSidebarNavigationSplit(itemId: string, options?: ExperimentalSidebarNavigationSplitOptions): ExperimentalSidebarNavigationSplit;
22219
+ /**
22220
+ * bb's artwork for a navigation item's icon: bb's glyphs for its own items,
22221
+ * and the panel's explicit icon, falling back to plugin branding, for
22222
+ * plugin panels. Experimental: see docs/api_to_audit.md.
22223
+ */
22224
+ experimental_SidebarNavigationIcon: ComponentType<ExperimentalSidebarNavigationIconProps>;
21797
22225
  /**
21798
22226
  * Whether the composer holds an unsent draft for one thread (see
21799
22227
  * {@link PluginSidebarThreadDraftState}). Per row, because a draft is
@@ -22040,6 +22468,9 @@ declare const experimental_ThreadActionsContextMenu: react.ComponentType<PluginT
22040
22468
 
22041
22469
  declare const experimental_useSidebarThreadPullRequest: (threadId: string) => PluginSidebarThreadPullRequestState;
22042
22470
  declare const experimental_useSidebarThreadSplit: (threadId: string) => PluginSidebarThreadSplit;
22471
+ declare const experimental_useSidebarNavigation: () => ExperimentalSidebarNavigationState;
22472
+ declare const experimental_useSidebarNavigationSplit: (itemId: string, options?: ExperimentalSidebarNavigationSplitOptions) => ExperimentalSidebarNavigationSplit;
22473
+ declare const experimental_SidebarNavigationIcon: react.ComponentType<ExperimentalSidebarNavigationIconProps>;
22043
22474
  declare const useSidebarThreadDraft: (threadId: string) => PluginSidebarThreadDraftState;
22044
22475
  declare const useSidebarThreadDraftIds: () => ReadonlySet<string>;
22045
22476
  declare const useSidebarThreadRowStatus: (threadId: string) => PluginSidebarThreadRowStatus | null;
@@ -22055,5 +22486,5 @@ declare const experimental_useCodeTheme: () => PluginCodeThemeState;
22055
22486
  declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
22056
22487
  declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => Promise<ExperimentalSaveFileOutcome>;
22057
22488
 
22058
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_VoiceInputTextarea, experimental_copyToClipboard, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useThreadActionRegistrations, experimental_useThreadActions, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
22059
- 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, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalVoiceInputTextareaProps, 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, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
22489
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_VoiceInputTextarea, experimental_copyToClipboard, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useThreadActionRegistrations, experimental_useThreadActions, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
22490
+ 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, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalVoiceInputTextareaProps, 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, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };