@get-bb/plugin-sdk 0.6.157 → 0.6.164

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.
@@ -215,7 +215,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
215
215
  }, z$1.core.$strict>]>;
216
216
  type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
217
217
 
218
- 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", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned"];
218
+ 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"];
219
219
  type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
220
220
  interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
221
221
  schema: Schema;
@@ -250,6 +250,8 @@ declare const uiPreferenceDefinitions: {
250
250
  readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
251
251
  readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
252
252
  readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
253
+ readonly "sidebar.updates.providerCli": UiPreferenceDefinition<z$1.ZodBoolean>;
254
+ readonly "sidebar.updates.skipped": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
253
255
  readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
254
256
  readonly "threadContextCard.pinned": UiPreferenceDefinition<z$1.ZodBoolean>;
255
257
  readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
@@ -582,6 +584,7 @@ declare const environmentSchema: z$1.ZodObject<{
582
584
  teardown: z$1.ZodNullable<z$1.ZodObject<{
583
585
  attempt: z$1.ZodNumber;
584
586
  message: z$1.ZodOptional<z$1.ZodString>;
587
+ needsRecovery: z$1.ZodBoolean;
585
588
  status: z$1.ZodEnum<{
586
589
  failed: "failed";
587
590
  removed: "removed";
@@ -683,6 +686,8 @@ declare const hostSchema: z$1.ZodObject<{
683
686
  suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
684
687
  teardown: z$1.ZodNullable<z$1.ZodObject<{
685
688
  attempt: z$1.ZodNumber;
689
+ blockedByEnvironmentId: z$1.ZodNullable<z$1.ZodString>;
690
+ needsRecovery: z$1.ZodBoolean;
686
691
  status: z$1.ZodEnum<{
687
692
  failed: "failed";
688
693
  removed: "removed";
@@ -4694,6 +4699,15 @@ declare const workspacePathListResponseSchema: z$1.ZodObject<{
4694
4699
  }, z$1.core.$strip>;
4695
4700
  type WorkspacePathListResponse = z$1.infer<typeof workspacePathListResponseSchema>;
4696
4701
 
4702
+ declare const operationResponseSchema: z$1.ZodObject<{
4703
+ ok: z$1.ZodLiteral<true>;
4704
+ progress: z$1.ZodEnum<{
4705
+ "in-progress": "in-progress";
4706
+ complete: "complete";
4707
+ }>;
4708
+ }, z$1.core.$strict>;
4709
+ type OperationResponse = z$1.infer<typeof operationResponseSchema>;
4710
+
4697
4711
  declare const createProjectSourceRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4698
4712
  hostId: z$1.ZodString;
4699
4713
  path: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
@@ -7041,29 +7055,12 @@ declare const hostDaemonCommandRegistry: {
7041
7055
  type: z$1.ZodLiteral<"interactive.resolve">;
7042
7056
  }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
7043
7057
  "environment.attach": HostDaemonCommandDescriptor<"environment.attach", z$1.ZodObject<{
7044
- contributedEnv: z$1.ZodArray<z$1.ZodObject<{
7045
- name: z$1.ZodString;
7046
- reason: z$1.ZodString;
7047
- source: z$1.ZodUnion<readonly [z$1.ZodObject<{
7048
- plugin: z$1.ZodString;
7049
- }, z$1.core.$strict>, z$1.ZodObject<{
7050
- core: z$1.ZodEnum<{
7051
- "machine-environment": "machine-environment";
7052
- "machine-git": "machine-git";
7053
- "project-environment": "project-environment";
7054
- }>;
7055
- }, z$1.core.$strict>]>;
7056
- value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
7057
- serverPath: z$1.ZodString;
7058
- }, z$1.core.$strict>]>;
7059
- }, z$1.core.$strict>>;
7060
7058
  environmentId: z$1.ZodString;
7061
7059
  initiator: z$1.ZodNullable<z$1.ZodObject<{
7062
7060
  provisioningId: z$1.ZodString;
7063
7061
  threadId: z$1.ZodString;
7064
7062
  }, z$1.core.$strict>>;
7065
7063
  path: z$1.ZodString;
7066
- setupScriptTimeoutMs: z$1.ZodNullable<z$1.ZodNumber>;
7067
7064
  type: z$1.ZodLiteral<"environment.attach">;
7068
7065
  }, z$1.core.$strict>, z$1.ZodObject<{
7069
7066
  branchName: z$1.ZodNullable<z$1.ZodString>;
@@ -7958,6 +7955,22 @@ declare const hostDaemonCommandRegistry: {
7958
7955
  kind: z$1.ZodLiteral<"artifact">;
7959
7956
  }, z$1.core.$strict>;
7960
7957
  }, z$1.core.$strict>;
7958
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
7959
+ name: z$1.ZodString;
7960
+ reason: z$1.ZodString;
7961
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
7962
+ plugin: z$1.ZodString;
7963
+ }, z$1.core.$strict>, z$1.ZodObject<{
7964
+ core: z$1.ZodEnum<{
7965
+ "machine-environment": "machine-environment";
7966
+ "machine-git": "machine-git";
7967
+ "project-environment": "project-environment";
7968
+ }>;
7969
+ }, z$1.core.$strict>]>;
7970
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
7971
+ serverPath: z$1.ZodString;
7972
+ }, z$1.core.$strict>]>;
7973
+ }, z$1.core.$strict>>;
7961
7974
  cwd: z$1.ZodNullable<z$1.ZodString>;
7962
7975
  providerId: z$1.ZodString;
7963
7976
  type: z$1.ZodLiteral<"provider.list_commands">;
@@ -7995,6 +8008,22 @@ declare const hostDaemonCommandRegistry: {
7995
8008
  kind: z$1.ZodLiteral<"artifact">;
7996
8009
  }, z$1.core.$strict>;
7997
8010
  }, z$1.core.$strict>;
8011
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
8012
+ name: z$1.ZodString;
8013
+ reason: z$1.ZodString;
8014
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
8015
+ plugin: z$1.ZodString;
8016
+ }, z$1.core.$strict>, z$1.ZodObject<{
8017
+ core: z$1.ZodEnum<{
8018
+ "machine-environment": "machine-environment";
8019
+ "machine-git": "machine-git";
8020
+ "project-environment": "project-environment";
8021
+ }>;
8022
+ }, z$1.core.$strict>]>;
8023
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
8024
+ serverPath: z$1.ZodString;
8025
+ }, z$1.core.$strict>]>;
8026
+ }, z$1.core.$strict>>;
7998
8027
  cwd: z$1.ZodOptional<z$1.ZodString>;
7999
8028
  providerId: z$1.ZodString;
8000
8029
  type: z$1.ZodLiteral<"provider.health">;
@@ -8050,6 +8079,22 @@ declare const hostDaemonCommandRegistry: {
8050
8079
  kind: z$1.ZodLiteral<"artifact">;
8051
8080
  }, z$1.core.$strict>;
8052
8081
  }, z$1.core.$strict>;
8082
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
8083
+ name: z$1.ZodString;
8084
+ reason: z$1.ZodString;
8085
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
8086
+ plugin: z$1.ZodString;
8087
+ }, z$1.core.$strict>, z$1.ZodObject<{
8088
+ core: z$1.ZodEnum<{
8089
+ "machine-environment": "machine-environment";
8090
+ "machine-git": "machine-git";
8091
+ "project-environment": "project-environment";
8092
+ }>;
8093
+ }, z$1.core.$strict>]>;
8094
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
8095
+ serverPath: z$1.ZodString;
8096
+ }, z$1.core.$strict>]>;
8097
+ }, z$1.core.$strict>>;
8053
8098
  providerId: z$1.ZodString;
8054
8099
  type: z$1.ZodLiteral<"provider.installation.status">;
8055
8100
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8111,6 +8156,22 @@ declare const hostDaemonCommandRegistry: {
8111
8156
  kind: z$1.ZodLiteral<"artifact">;
8112
8157
  }, z$1.core.$strict>;
8113
8158
  }, z$1.core.$strict>;
8159
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
8160
+ name: z$1.ZodString;
8161
+ reason: z$1.ZodString;
8162
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
8163
+ plugin: z$1.ZodString;
8164
+ }, z$1.core.$strict>, z$1.ZodObject<{
8165
+ core: z$1.ZodEnum<{
8166
+ "machine-environment": "machine-environment";
8167
+ "machine-git": "machine-git";
8168
+ "project-environment": "project-environment";
8169
+ }>;
8170
+ }, z$1.core.$strict>]>;
8171
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
8172
+ serverPath: z$1.ZodString;
8173
+ }, z$1.core.$strict>]>;
8174
+ }, z$1.core.$strict>>;
8114
8175
  providerId: z$1.ZodString;
8115
8176
  type: z$1.ZodLiteral<"provider.installation.run">;
8116
8177
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8691,12 +8752,21 @@ declare const updateHostRequestSchema: z$1.ZodObject<{
8691
8752
  name: z$1.ZodString;
8692
8753
  }, z$1.core.$strict>;
8693
8754
  type UpdateHostRequest = z$1.infer<typeof updateHostRequestSchema>;
8694
- declare const hostActionResponseSchema: z$1.ZodObject<{
8755
+ declare const hostRemovalResponseSchema: z$1.ZodObject<{
8695
8756
  ok: z$1.ZodLiteral<true>;
8757
+ progress: z$1.ZodEnum<{
8758
+ "in-progress": "in-progress";
8759
+ complete: "complete";
8760
+ }>;
8761
+ warnings: z$1.ZodArray<z$1.ZodString>;
8696
8762
  }, z$1.core.$strict>;
8697
- type HostActionResponse = z$1.infer<typeof hostActionResponseSchema>;
8763
+ type HostRemovalResponse = z$1.infer<typeof hostRemovalResponseSchema>;
8698
8764
  declare const hostRetryUpdateResponseSchema: z$1.ZodObject<{
8699
8765
  ok: z$1.ZodLiteral<true>;
8766
+ progress: z$1.ZodEnum<{
8767
+ "in-progress": "in-progress";
8768
+ complete: "complete";
8769
+ }>;
8700
8770
  }, z$1.core.$strict>;
8701
8771
  type HostRetryUpdateResponse = z$1.infer<typeof hostRetryUpdateResponseSchema>;
8702
8772
  type HostPathsExistRequest = PathsExistRequest;
@@ -9693,6 +9763,14 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
9693
9763
  installed: z$1.ZodBoolean;
9694
9764
  installedByDefault: z$1.ZodDefault<z$1.ZodBoolean>;
9695
9765
  installs: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodNumber>>;
9766
+ listings: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
9767
+ entryId: z$1.ZodString;
9768
+ marketplace: z$1.ZodString;
9769
+ marketplaceDisplayName: z$1.ZodString;
9770
+ official: z$1.ZodBoolean;
9771
+ publisherLabel: z$1.ZodString;
9772
+ source: z$1.ZodString;
9773
+ }, z$1.core.$strip>>>;
9696
9774
  marketplace: z$1.ZodString;
9697
9775
  marketplaceDisplayName: z$1.ZodString;
9698
9776
  official: z$1.ZodBoolean;
@@ -11204,7 +11282,11 @@ declare const systemAppUpdateAcknowledgeRequestSchema: z$1.ZodObject<{
11204
11282
  type SystemAppUpdateAcknowledgeRequest = z$1.infer<typeof systemAppUpdateAcknowledgeRequestSchema>;
11205
11283
  declare const systemConfigReloadResponseSchema: z$1.ZodObject<{
11206
11284
  ok: z$1.ZodLiteral<true>;
11207
- }, z$1.core.$strip>;
11285
+ progress: z$1.ZodEnum<{
11286
+ "in-progress": "in-progress";
11287
+ complete: "complete";
11288
+ }>;
11289
+ }, z$1.core.$strict>;
11208
11290
  declare const systemCliSkillsStatusResponseSchema: z$1.ZodObject<{
11209
11291
  machines: z$1.ZodArray<z$1.ZodObject<{
11210
11292
  hostId: z$1.ZodString;
@@ -14635,6 +14717,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14635
14717
  teardown: z$1.ZodNullable<z$1.ZodObject<{
14636
14718
  attempt: z$1.ZodNumber;
14637
14719
  message: z$1.ZodOptional<z$1.ZodString>;
14720
+ needsRecovery: z$1.ZodBoolean;
14638
14721
  status: z$1.ZodEnum<{
14639
14722
  failed: "failed";
14640
14723
  removed: "removed";
@@ -14683,6 +14766,8 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14683
14766
  suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
14684
14767
  teardown: z$1.ZodNullable<z$1.ZodObject<{
14685
14768
  attempt: z$1.ZodNumber;
14769
+ blockedByEnvironmentId: z$1.ZodNullable<z$1.ZodString>;
14770
+ needsRecovery: z$1.ZodBoolean;
14686
14771
  status: z$1.ZodEnum<{
14687
14772
  failed: "failed";
14688
14773
  removed: "removed";
@@ -16290,6 +16375,170 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16290
16375
  }>;
16291
16376
  sourceSeq: z$1.ZodNumber;
16292
16377
  }, z$1.core.$strip>>;
16378
+ pendingSteers: z$1.ZodArray<z$1.ZodObject<{
16379
+ attachments: z$1.ZodNullable<z$1.ZodObject<{
16380
+ imageUrls: z$1.ZodArray<z$1.ZodString>;
16381
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
16382
+ name: z$1.ZodString;
16383
+ path: z$1.ZodString;
16384
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
16385
+ }, z$1.core.$strip>>;
16386
+ localFilePaths: z$1.ZodArray<z$1.ZodString>;
16387
+ localFiles: z$1.ZodNumber;
16388
+ localImagePaths: z$1.ZodArray<z$1.ZodString>;
16389
+ localImages: z$1.ZodNumber;
16390
+ webImages: z$1.ZodNumber;
16391
+ }, z$1.core.$strip>>;
16392
+ createdAt: z$1.ZodNumber;
16393
+ id: z$1.ZodString;
16394
+ initiator: z$1.ZodEnum<{
16395
+ agent: "agent";
16396
+ system: "system";
16397
+ user: "user";
16398
+ }>;
16399
+ kind: z$1.ZodLiteral<"conversation">;
16400
+ mentions: z$1.ZodArray<z$1.ZodObject<{
16401
+ end: z$1.ZodNumber;
16402
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16403
+ kind: z$1.ZodLiteral<"thread">;
16404
+ label: z$1.ZodString;
16405
+ projectId: z$1.ZodOptional<z$1.ZodString>;
16406
+ threadId: z$1.ZodString;
16407
+ }, z$1.core.$strip>, z$1.ZodObject<{
16408
+ kind: z$1.ZodLiteral<"project">;
16409
+ label: z$1.ZodString;
16410
+ projectId: z$1.ZodString;
16411
+ }, z$1.core.$strip>, z$1.ZodObject<{
16412
+ kind: z$1.ZodLiteral<"section">;
16413
+ label: z$1.ZodString;
16414
+ sectionId: z$1.ZodString;
16415
+ }, z$1.core.$strip>, z$1.ZodObject<{
16416
+ entryKind: z$1.ZodEnum<{
16417
+ directory: "directory";
16418
+ file: "file";
16419
+ }>;
16420
+ kind: z$1.ZodLiteral<"path">;
16421
+ label: z$1.ZodString;
16422
+ path: z$1.ZodString;
16423
+ source: z$1.ZodEnum<{
16424
+ "thread-storage": "thread-storage";
16425
+ workspace: "workspace";
16426
+ }>;
16427
+ }, z$1.core.$strip>, z$1.ZodObject<{
16428
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
16429
+ kind: z$1.ZodLiteral<"command">;
16430
+ label: z$1.ZodString;
16431
+ name: z$1.ZodString;
16432
+ origin: z$1.ZodEnum<{
16433
+ builtin: "builtin";
16434
+ project: "project";
16435
+ user: "user";
16436
+ }>;
16437
+ source: z$1.ZodEnum<{
16438
+ command: "command";
16439
+ skill: "skill";
16440
+ }>;
16441
+ trigger: z$1.ZodEnum<{
16442
+ "/": "/";
16443
+ $: "$";
16444
+ }>;
16445
+ }, z$1.core.$strip>, z$1.ZodObject<{
16446
+ icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
16447
+ itemId: z$1.ZodString;
16448
+ kind: z$1.ZodLiteral<"plugin">;
16449
+ label: z$1.ZodString;
16450
+ pluginId: z$1.ZodString;
16451
+ }, z$1.core.$strip>, z$1.ZodObject<{
16452
+ kind: z$1.ZodLiteral<"attachment">;
16453
+ label: z$1.ZodString;
16454
+ path: z$1.ZodString;
16455
+ }, z$1.core.$strip>], "kind">, unknown>;
16456
+ start: z$1.ZodNumber;
16457
+ }, z$1.core.$strip>>;
16458
+ messageSeq: z$1.ZodNumber;
16459
+ role: z$1.ZodLiteral<"user">;
16460
+ senderThreadId: z$1.ZodNullable<z$1.ZodString>;
16461
+ sourceSeqEnd: z$1.ZodNumber;
16462
+ sourceSeqStart: z$1.ZodNumber;
16463
+ startedAt: z$1.ZodNumber;
16464
+ systemMessageKind: z$1.ZodEnum<{
16465
+ "child-completed": "child-completed";
16466
+ "child-failed": "child-failed";
16467
+ "child-interrupted": "child-interrupted";
16468
+ "child-needs-attention": "child-needs-attention";
16469
+ "child-outcome-batch": "child-outcome-batch";
16470
+ "environment-directory-updated": "environment-directory-updated";
16471
+ "ownership-assigned": "ownership-assigned";
16472
+ "ownership-batch": "ownership-batch";
16473
+ "ownership-removed": "ownership-removed";
16474
+ "tool-result-delivered": "tool-result-delivered";
16475
+ unlabeled: "unlabeled";
16476
+ }>;
16477
+ systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16478
+ kind: z$1.ZodLiteral<"thread">;
16479
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16480
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
16481
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
16482
+ reason: z$1.ZodEnum<{
16483
+ "host-daemon-restarted": "host-daemon-restarted";
16484
+ "host-removed": "host-removed";
16485
+ "manual-stop": "manual-stop";
16486
+ "provider-turn-idle": "provider-turn-idle";
16487
+ }>;
16488
+ }, z$1.core.$strip>>;
16489
+ status: z$1.ZodEnum<{
16490
+ completed: "completed";
16491
+ failed: "failed";
16492
+ interrupted: "interrupted";
16493
+ }>;
16494
+ threadId: z$1.ZodString;
16495
+ }, z$1.core.$strip>>>;
16496
+ threadId: z$1.ZodString;
16497
+ threadName: z$1.ZodString;
16498
+ }, z$1.core.$strip>, z$1.ZodObject<{
16499
+ count: z$1.ZodNumber;
16500
+ kind: z$1.ZodLiteral<"thread-batch">;
16501
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16502
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
16503
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
16504
+ reason: z$1.ZodEnum<{
16505
+ "host-daemon-restarted": "host-daemon-restarted";
16506
+ "host-removed": "host-removed";
16507
+ "manual-stop": "manual-stop";
16508
+ "provider-turn-idle": "provider-turn-idle";
16509
+ }>;
16510
+ }, z$1.core.$strip>>;
16511
+ status: z$1.ZodEnum<{
16512
+ completed: "completed";
16513
+ failed: "failed";
16514
+ interrupted: "interrupted";
16515
+ }>;
16516
+ threadId: z$1.ZodString;
16517
+ }, z$1.core.$strip>>>;
16518
+ }, z$1.core.$strip>, z$1.ZodObject<{
16519
+ kind: z$1.ZodLiteral<"tool-call">;
16520
+ suppress: z$1.ZodBoolean;
16521
+ toolName: z$1.ZodString;
16522
+ }, z$1.core.$strip>, z$1.ZodObject<{
16523
+ kind: z$1.ZodLiteral<"directory">;
16524
+ path: z$1.ZodString;
16525
+ }, z$1.core.$strip>], "kind">>;
16526
+ text: z$1.ZodString;
16527
+ threadId: z$1.ZodString;
16528
+ turnId: z$1.ZodNullable<z$1.ZodString>;
16529
+ turnRequest: z$1.ZodObject<{
16530
+ isGrouped: z$1.ZodBoolean;
16531
+ kind: z$1.ZodEnum<{
16532
+ message: "message";
16533
+ steer: "steer";
16534
+ }>;
16535
+ status: z$1.ZodEnum<{
16536
+ accepted: "accepted";
16537
+ pending: "pending";
16538
+ rejected: "rejected";
16539
+ }>;
16540
+ }, z$1.core.$strip>;
16541
+ }, z$1.core.$strip>>;
16293
16542
  pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
16294
16543
  items: z$1.ZodArray<z$1.ZodObject<{
16295
16544
  id: z$1.ZodString;
@@ -16622,6 +16871,170 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16622
16871
  }>;
16623
16872
  sourceSeq: z$1.ZodNumber;
16624
16873
  }, z$1.core.$strip>>>;
16874
+ pendingSteers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16875
+ attachments: z$1.ZodNullable<z$1.ZodObject<{
16876
+ imageUrls: z$1.ZodArray<z$1.ZodString>;
16877
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
16878
+ name: z$1.ZodString;
16879
+ path: z$1.ZodString;
16880
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
16881
+ }, z$1.core.$strip>>;
16882
+ localFilePaths: z$1.ZodArray<z$1.ZodString>;
16883
+ localFiles: z$1.ZodNumber;
16884
+ localImagePaths: z$1.ZodArray<z$1.ZodString>;
16885
+ localImages: z$1.ZodNumber;
16886
+ webImages: z$1.ZodNumber;
16887
+ }, z$1.core.$strip>>;
16888
+ createdAt: z$1.ZodNumber;
16889
+ id: z$1.ZodString;
16890
+ initiator: z$1.ZodEnum<{
16891
+ agent: "agent";
16892
+ system: "system";
16893
+ user: "user";
16894
+ }>;
16895
+ kind: z$1.ZodLiteral<"conversation">;
16896
+ mentions: z$1.ZodArray<z$1.ZodObject<{
16897
+ end: z$1.ZodNumber;
16898
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16899
+ kind: z$1.ZodLiteral<"thread">;
16900
+ label: z$1.ZodString;
16901
+ projectId: z$1.ZodOptional<z$1.ZodString>;
16902
+ threadId: z$1.ZodString;
16903
+ }, z$1.core.$strip>, z$1.ZodObject<{
16904
+ kind: z$1.ZodLiteral<"project">;
16905
+ label: z$1.ZodString;
16906
+ projectId: z$1.ZodString;
16907
+ }, z$1.core.$strip>, z$1.ZodObject<{
16908
+ kind: z$1.ZodLiteral<"section">;
16909
+ label: z$1.ZodString;
16910
+ sectionId: z$1.ZodString;
16911
+ }, z$1.core.$strip>, z$1.ZodObject<{
16912
+ entryKind: z$1.ZodEnum<{
16913
+ directory: "directory";
16914
+ file: "file";
16915
+ }>;
16916
+ kind: z$1.ZodLiteral<"path">;
16917
+ label: z$1.ZodString;
16918
+ path: z$1.ZodString;
16919
+ source: z$1.ZodEnum<{
16920
+ "thread-storage": "thread-storage";
16921
+ workspace: "workspace";
16922
+ }>;
16923
+ }, z$1.core.$strip>, z$1.ZodObject<{
16924
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
16925
+ kind: z$1.ZodLiteral<"command">;
16926
+ label: z$1.ZodString;
16927
+ name: z$1.ZodString;
16928
+ origin: z$1.ZodEnum<{
16929
+ builtin: "builtin";
16930
+ project: "project";
16931
+ user: "user";
16932
+ }>;
16933
+ source: z$1.ZodEnum<{
16934
+ command: "command";
16935
+ skill: "skill";
16936
+ }>;
16937
+ trigger: z$1.ZodEnum<{
16938
+ "/": "/";
16939
+ $: "$";
16940
+ }>;
16941
+ }, z$1.core.$strip>, z$1.ZodObject<{
16942
+ icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
16943
+ itemId: z$1.ZodString;
16944
+ kind: z$1.ZodLiteral<"plugin">;
16945
+ label: z$1.ZodString;
16946
+ pluginId: z$1.ZodString;
16947
+ }, z$1.core.$strip>, z$1.ZodObject<{
16948
+ kind: z$1.ZodLiteral<"attachment">;
16949
+ label: z$1.ZodString;
16950
+ path: z$1.ZodString;
16951
+ }, z$1.core.$strip>], "kind">, unknown>;
16952
+ start: z$1.ZodNumber;
16953
+ }, z$1.core.$strip>>;
16954
+ messageSeq: z$1.ZodNumber;
16955
+ role: z$1.ZodLiteral<"user">;
16956
+ senderThreadId: z$1.ZodNullable<z$1.ZodString>;
16957
+ sourceSeqEnd: z$1.ZodNumber;
16958
+ sourceSeqStart: z$1.ZodNumber;
16959
+ startedAt: z$1.ZodNumber;
16960
+ systemMessageKind: z$1.ZodEnum<{
16961
+ "child-completed": "child-completed";
16962
+ "child-failed": "child-failed";
16963
+ "child-interrupted": "child-interrupted";
16964
+ "child-needs-attention": "child-needs-attention";
16965
+ "child-outcome-batch": "child-outcome-batch";
16966
+ "environment-directory-updated": "environment-directory-updated";
16967
+ "ownership-assigned": "ownership-assigned";
16968
+ "ownership-batch": "ownership-batch";
16969
+ "ownership-removed": "ownership-removed";
16970
+ "tool-result-delivered": "tool-result-delivered";
16971
+ unlabeled: "unlabeled";
16972
+ }>;
16973
+ systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16974
+ kind: z$1.ZodLiteral<"thread">;
16975
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16976
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
16977
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
16978
+ reason: z$1.ZodEnum<{
16979
+ "host-daemon-restarted": "host-daemon-restarted";
16980
+ "host-removed": "host-removed";
16981
+ "manual-stop": "manual-stop";
16982
+ "provider-turn-idle": "provider-turn-idle";
16983
+ }>;
16984
+ }, z$1.core.$strip>>;
16985
+ status: z$1.ZodEnum<{
16986
+ completed: "completed";
16987
+ failed: "failed";
16988
+ interrupted: "interrupted";
16989
+ }>;
16990
+ threadId: z$1.ZodString;
16991
+ }, z$1.core.$strip>>>;
16992
+ threadId: z$1.ZodString;
16993
+ threadName: z$1.ZodString;
16994
+ }, z$1.core.$strip>, z$1.ZodObject<{
16995
+ count: z$1.ZodNumber;
16996
+ kind: z$1.ZodLiteral<"thread-batch">;
16997
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16998
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
16999
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
17000
+ reason: z$1.ZodEnum<{
17001
+ "host-daemon-restarted": "host-daemon-restarted";
17002
+ "host-removed": "host-removed";
17003
+ "manual-stop": "manual-stop";
17004
+ "provider-turn-idle": "provider-turn-idle";
17005
+ }>;
17006
+ }, z$1.core.$strip>>;
17007
+ status: z$1.ZodEnum<{
17008
+ completed: "completed";
17009
+ failed: "failed";
17010
+ interrupted: "interrupted";
17011
+ }>;
17012
+ threadId: z$1.ZodString;
17013
+ }, z$1.core.$strip>>>;
17014
+ }, z$1.core.$strip>, z$1.ZodObject<{
17015
+ kind: z$1.ZodLiteral<"tool-call">;
17016
+ suppress: z$1.ZodBoolean;
17017
+ toolName: z$1.ZodString;
17018
+ }, z$1.core.$strip>, z$1.ZodObject<{
17019
+ kind: z$1.ZodLiteral<"directory">;
17020
+ path: z$1.ZodString;
17021
+ }, z$1.core.$strip>], "kind">>;
17022
+ text: z$1.ZodString;
17023
+ threadId: z$1.ZodString;
17024
+ turnId: z$1.ZodNullable<z$1.ZodString>;
17025
+ turnRequest: z$1.ZodObject<{
17026
+ isGrouped: z$1.ZodBoolean;
17027
+ kind: z$1.ZodEnum<{
17028
+ message: "message";
17029
+ steer: "steer";
17030
+ }>;
17031
+ status: z$1.ZodEnum<{
17032
+ accepted: "accepted";
17033
+ pending: "pending";
17034
+ rejected: "rejected";
17035
+ }>;
17036
+ }, z$1.core.$strip>;
17037
+ }, z$1.core.$strip>>>;
16625
17038
  pendingTodos: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
16626
17039
  items: z$1.ZodArray<z$1.ZodObject<{
16627
17040
  id: z$1.ZodString;
@@ -16958,6 +17371,170 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16958
17371
  }>;
16959
17372
  sourceSeq: z$1.ZodNumber;
16960
17373
  }, z$1.core.$strip>>;
17374
+ pendingSteers: z$1.ZodArray<z$1.ZodObject<{
17375
+ attachments: z$1.ZodNullable<z$1.ZodObject<{
17376
+ imageUrls: z$1.ZodArray<z$1.ZodString>;
17377
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
17378
+ name: z$1.ZodString;
17379
+ path: z$1.ZodString;
17380
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
17381
+ }, z$1.core.$strip>>;
17382
+ localFilePaths: z$1.ZodArray<z$1.ZodString>;
17383
+ localFiles: z$1.ZodNumber;
17384
+ localImagePaths: z$1.ZodArray<z$1.ZodString>;
17385
+ localImages: z$1.ZodNumber;
17386
+ webImages: z$1.ZodNumber;
17387
+ }, z$1.core.$strip>>;
17388
+ createdAt: z$1.ZodNumber;
17389
+ id: z$1.ZodString;
17390
+ initiator: z$1.ZodEnum<{
17391
+ agent: "agent";
17392
+ system: "system";
17393
+ user: "user";
17394
+ }>;
17395
+ kind: z$1.ZodLiteral<"conversation">;
17396
+ mentions: z$1.ZodArray<z$1.ZodObject<{
17397
+ end: z$1.ZodNumber;
17398
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
17399
+ kind: z$1.ZodLiteral<"thread">;
17400
+ label: z$1.ZodString;
17401
+ projectId: z$1.ZodOptional<z$1.ZodString>;
17402
+ threadId: z$1.ZodString;
17403
+ }, z$1.core.$strip>, z$1.ZodObject<{
17404
+ kind: z$1.ZodLiteral<"project">;
17405
+ label: z$1.ZodString;
17406
+ projectId: z$1.ZodString;
17407
+ }, z$1.core.$strip>, z$1.ZodObject<{
17408
+ kind: z$1.ZodLiteral<"section">;
17409
+ label: z$1.ZodString;
17410
+ sectionId: z$1.ZodString;
17411
+ }, z$1.core.$strip>, z$1.ZodObject<{
17412
+ entryKind: z$1.ZodEnum<{
17413
+ directory: "directory";
17414
+ file: "file";
17415
+ }>;
17416
+ kind: z$1.ZodLiteral<"path">;
17417
+ label: z$1.ZodString;
17418
+ path: z$1.ZodString;
17419
+ source: z$1.ZodEnum<{
17420
+ "thread-storage": "thread-storage";
17421
+ workspace: "workspace";
17422
+ }>;
17423
+ }, z$1.core.$strip>, z$1.ZodObject<{
17424
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
17425
+ kind: z$1.ZodLiteral<"command">;
17426
+ label: z$1.ZodString;
17427
+ name: z$1.ZodString;
17428
+ origin: z$1.ZodEnum<{
17429
+ builtin: "builtin";
17430
+ project: "project";
17431
+ user: "user";
17432
+ }>;
17433
+ source: z$1.ZodEnum<{
17434
+ command: "command";
17435
+ skill: "skill";
17436
+ }>;
17437
+ trigger: z$1.ZodEnum<{
17438
+ "/": "/";
17439
+ $: "$";
17440
+ }>;
17441
+ }, z$1.core.$strip>, z$1.ZodObject<{
17442
+ icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
17443
+ itemId: z$1.ZodString;
17444
+ kind: z$1.ZodLiteral<"plugin">;
17445
+ label: z$1.ZodString;
17446
+ pluginId: z$1.ZodString;
17447
+ }, z$1.core.$strip>, z$1.ZodObject<{
17448
+ kind: z$1.ZodLiteral<"attachment">;
17449
+ label: z$1.ZodString;
17450
+ path: z$1.ZodString;
17451
+ }, z$1.core.$strip>], "kind">, unknown>;
17452
+ start: z$1.ZodNumber;
17453
+ }, z$1.core.$strip>>;
17454
+ messageSeq: z$1.ZodNumber;
17455
+ role: z$1.ZodLiteral<"user">;
17456
+ senderThreadId: z$1.ZodNullable<z$1.ZodString>;
17457
+ sourceSeqEnd: z$1.ZodNumber;
17458
+ sourceSeqStart: z$1.ZodNumber;
17459
+ startedAt: z$1.ZodNumber;
17460
+ systemMessageKind: z$1.ZodEnum<{
17461
+ "child-completed": "child-completed";
17462
+ "child-failed": "child-failed";
17463
+ "child-interrupted": "child-interrupted";
17464
+ "child-needs-attention": "child-needs-attention";
17465
+ "child-outcome-batch": "child-outcome-batch";
17466
+ "environment-directory-updated": "environment-directory-updated";
17467
+ "ownership-assigned": "ownership-assigned";
17468
+ "ownership-batch": "ownership-batch";
17469
+ "ownership-removed": "ownership-removed";
17470
+ "tool-result-delivered": "tool-result-delivered";
17471
+ unlabeled: "unlabeled";
17472
+ }>;
17473
+ systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
17474
+ kind: z$1.ZodLiteral<"thread">;
17475
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
17476
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
17477
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
17478
+ reason: z$1.ZodEnum<{
17479
+ "host-daemon-restarted": "host-daemon-restarted";
17480
+ "host-removed": "host-removed";
17481
+ "manual-stop": "manual-stop";
17482
+ "provider-turn-idle": "provider-turn-idle";
17483
+ }>;
17484
+ }, z$1.core.$strip>>;
17485
+ status: z$1.ZodEnum<{
17486
+ completed: "completed";
17487
+ failed: "failed";
17488
+ interrupted: "interrupted";
17489
+ }>;
17490
+ threadId: z$1.ZodString;
17491
+ }, z$1.core.$strip>>>;
17492
+ threadId: z$1.ZodString;
17493
+ threadName: z$1.ZodString;
17494
+ }, z$1.core.$strip>, z$1.ZodObject<{
17495
+ count: z$1.ZodNumber;
17496
+ kind: z$1.ZodLiteral<"thread-batch">;
17497
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
17498
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
17499
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
17500
+ reason: z$1.ZodEnum<{
17501
+ "host-daemon-restarted": "host-daemon-restarted";
17502
+ "host-removed": "host-removed";
17503
+ "manual-stop": "manual-stop";
17504
+ "provider-turn-idle": "provider-turn-idle";
17505
+ }>;
17506
+ }, z$1.core.$strip>>;
17507
+ status: z$1.ZodEnum<{
17508
+ completed: "completed";
17509
+ failed: "failed";
17510
+ interrupted: "interrupted";
17511
+ }>;
17512
+ threadId: z$1.ZodString;
17513
+ }, z$1.core.$strip>>>;
17514
+ }, z$1.core.$strip>, z$1.ZodObject<{
17515
+ kind: z$1.ZodLiteral<"tool-call">;
17516
+ suppress: z$1.ZodBoolean;
17517
+ toolName: z$1.ZodString;
17518
+ }, z$1.core.$strip>, z$1.ZodObject<{
17519
+ kind: z$1.ZodLiteral<"directory">;
17520
+ path: z$1.ZodString;
17521
+ }, z$1.core.$strip>], "kind">>;
17522
+ text: z$1.ZodString;
17523
+ threadId: z$1.ZodString;
17524
+ turnId: z$1.ZodNullable<z$1.ZodString>;
17525
+ turnRequest: z$1.ZodObject<{
17526
+ isGrouped: z$1.ZodBoolean;
17527
+ kind: z$1.ZodEnum<{
17528
+ message: "message";
17529
+ steer: "steer";
17530
+ }>;
17531
+ status: z$1.ZodEnum<{
17532
+ accepted: "accepted";
17533
+ pending: "pending";
17534
+ rejected: "rejected";
17535
+ }>;
17536
+ }, z$1.core.$strip>;
17537
+ }, z$1.core.$strip>>;
16961
17538
  pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
16962
17539
  items: z$1.ZodArray<z$1.ZodObject<{
16963
17540
  id: z$1.ZodString;
@@ -17437,6 +18014,23 @@ declare const deleteOldServerCopyResponseSchema: z$1.ZodObject<{
17437
18014
  }, z$1.core.$strict>;
17438
18015
  type DeleteOldServerCopyResponse = z$1.infer<typeof deleteOldServerCopyResponseSchema>;
17439
18016
 
18017
+ declare const serverSweepFailuresResponseSchema: z$1.ZodObject<{
18018
+ failures: z$1.ZodArray<z$1.ZodObject<{
18019
+ attempts: z$1.ZodNumber;
18020
+ firstFailedAt: z$1.ZodNumber;
18021
+ itemKey: z$1.ZodString;
18022
+ lastError: z$1.ZodString;
18023
+ needsRecovery: z$1.ZodBoolean;
18024
+ retryAt: z$1.ZodNumber;
18025
+ sweep: z$1.ZodString;
18026
+ }, z$1.core.$strict>>;
18027
+ }, z$1.core.$strict>;
18028
+ type ServerSweepFailuresResponse = z$1.infer<typeof serverSweepFailuresResponseSchema>;
18029
+ declare const serverSweepRetryResponseSchema: z$1.ZodObject<{
18030
+ retried: z$1.ZodNumber;
18031
+ }, z$1.core.$strict>;
18032
+ type ServerSweepRetryResponse = z$1.infer<typeof serverSweepRetryResponseSchema>;
18033
+
17440
18034
  declare const threadTabsResponseSchema: z$1.ZodObject<{
17441
18035
  revision: z$1.ZodNumber;
17442
18036
  tabs: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -17862,9 +18456,7 @@ type EnvironmentListResult = Environment[];
17862
18456
  interface EnvironmentDeleteArgs {
17863
18457
  environmentId: string;
17864
18458
  }
17865
- type EnvironmentDeleteResult = {
17866
- ok: true;
17867
- };
18459
+ type EnvironmentDeleteResult = OperationResponse;
17868
18460
  interface EnvironmentListProvidersArgs {
17869
18461
  projectId?: string;
17870
18462
  hostId?: string;
@@ -17874,9 +18466,7 @@ type EnvironmentListProvidersResult = SystemEnvironmentProvider[];
17874
18466
  interface EnvironmentsArea {
17875
18467
  experimental_cleanup(args: EnvironmentActionArgs & {
17876
18468
  recover?: boolean;
17877
- }): Promise<{
17878
- ok: true;
17879
- }>;
18469
+ }): Promise<OperationResponse>;
17880
18470
  archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
17881
18471
  commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
17882
18472
  get(args: EnvironmentGetArgs): Promise<EnvironmentGetResult>;
@@ -18038,9 +18628,7 @@ interface MachineProviderListArgs {
18038
18628
  signal?: AbortSignal;
18039
18629
  }
18040
18630
  type HostCreateJoinCodeResult = CreateHostJoinCodeResponse;
18041
- type HostDeleteResult = {
18042
- ok: true;
18043
- };
18631
+ type HostDeleteResult = HostRemovalResponse;
18044
18632
  type HostDirectoryResult = HostDirectoryListing;
18045
18633
  type HostDiscoverReposResult = HostDiscoveredReposResponse;
18046
18634
  type HostGetResult = Host & {
@@ -18056,7 +18644,7 @@ type HostPathsExistResult = HostPathsExistResponse;
18056
18644
  type HostPickFolderResult = HostPickFolderResponse;
18057
18645
  type HostProviderCliStatusResult = HostProviderCliStatusResponse;
18058
18646
  type HostRetryUpdateResult = HostRetryUpdateResponse;
18059
- type HostActionResult = HostActionResponse;
18647
+ type HostRetryCleanupResult = HostRemovalResponse;
18060
18648
  type HostUpdateResult = Host;
18061
18649
  type MachineProviderListResult = SystemMachineProvider[];
18062
18650
  interface HostsArea {
@@ -18080,7 +18668,7 @@ interface HostsArea {
18080
18668
  pickFolder(args: HostPickFolderArgs): Promise<HostPickFolderResult>;
18081
18669
  providerCliStatus(args: HostProviderCliStatusArgs): Promise<HostProviderCliStatusResult>;
18082
18670
  experimental_resume(args: HostActionArgs): Promise<Host>;
18083
- experimental_retryCleanup(args: HostActionArgs): Promise<HostActionResult>;
18671
+ experimental_retryCleanup(args: HostActionArgs): Promise<HostRetryCleanupResult>;
18084
18672
  retryUpdate(args: HostRetryUpdateArgs): Promise<HostRetryUpdateResult>;
18085
18673
  experimental_suspend(args: HostActionArgs): Promise<Host>;
18086
18674
  experimental_reconcile(args: HostActionArgs): Promise<Host>;
@@ -18096,6 +18684,9 @@ interface ServerMoveStatusArgs {
18096
18684
  interface ServerExportArgs {
18097
18685
  signal?: AbortSignal;
18098
18686
  }
18687
+ interface ServerSweepFailuresArgs {
18688
+ signal?: AbortSignal;
18689
+ }
18099
18690
  interface ServerExportResult {
18100
18691
  fileName: string;
18101
18692
  body: ReadableStream<Uint8Array>;
@@ -18107,6 +18698,8 @@ interface ExperimentalServerArea {
18107
18698
  moveStatus(args?: ServerMoveStatusArgs): Promise<ServerMoveStatusResponse>;
18108
18699
  cancelMove(): Promise<ServerMoveStatus>;
18109
18700
  export(args?: ServerExportArgs): Promise<ServerExportResult>;
18701
+ sweepFailures(args?: ServerSweepFailuresArgs): Promise<ServerSweepFailuresResponse>;
18702
+ retrySweepFailures(): Promise<ServerSweepRetryResponse>;
18110
18703
  }
18111
18704
 
18112
18705
  interface ProjectListArgs {
@@ -18216,9 +18809,7 @@ type ProjectAttachmentUploadResult = UploadedPromptAttachment;
18216
18809
  type ProjectCommandsResult = CommandListResponse;
18217
18810
  type ProjectCreateResult = ProjectResponse;
18218
18811
  type ProjectDefaultExecutionOptionsResult = ProjectExecutionDefaults | null;
18219
- type ProjectDeleteResult = {
18220
- ok: true;
18221
- };
18812
+ type ProjectDeleteResult = OperationResponse;
18222
18813
  interface ProjectFileContentResult {
18223
18814
  content: string;
18224
18815
  contentEncoding: "base64" | "utf8";
@@ -18233,9 +18824,7 @@ type ProjectPromptHistoryResult = PromptHistoryResponse;
18233
18824
  type ProjectReorderResult = ProjectResponse[];
18234
18825
  type ProjectSidebarBootstrapResult = SidebarBootstrapResponse;
18235
18826
  type ProjectSourceAddResult = ProjectSource;
18236
- type ProjectSourceDeleteResult = {
18237
- ok: true;
18238
- };
18827
+ type ProjectSourceDeleteResult = OperationResponse;
18239
18828
  type ProjectSourceUpdateResult = ProjectSource;
18240
18829
  type ProjectUpdateResult = ProjectResponse;
18241
18830
  interface ProjectSourcesArea {
@@ -18244,7 +18833,7 @@ interface ProjectSourcesArea {
18244
18833
  update(args: ProjectSourceUpdateArgs): Promise<ProjectSourceUpdateResult>;
18245
18834
  }
18246
18835
  interface ProjectAttachmentsArea {
18247
- copy(args: ProjectAttachmentCopyArgs): Promise<void>;
18836
+ copy(args: ProjectAttachmentCopyArgs): Promise<OperationResponse>;
18248
18837
  read(args: ProjectAttachmentReadArgs): Promise<ProjectAttachmentReadResult>;
18249
18838
  upload(args: ProjectAttachmentUploadArgs): Promise<ProjectAttachmentUploadResult>;
18250
18839
  }
@@ -19018,24 +19607,16 @@ type ThreadTimelineReadResult = ThreadTimelineReadResponse;
19018
19607
  type ThreadArchiveResult = ThreadArchiveAllResponse;
19019
19608
  type ThreadOpenResult = ThreadOpenResponse;
19020
19609
  type ThreadPaneActionResult = ThreadPaneActionResponse;
19021
- type ThreadDeleteResult = {
19022
- ok: true;
19023
- };
19610
+ type ThreadDeleteResult = OperationResponse;
19024
19611
  type ThreadSendResult = SendMessageResponse;
19025
19612
  type ThreadRetryResult = RetryTurnResponse;
19026
19613
  type ThreadEditMessageResult = EditMessageResponse;
19027
- type ThreadStopResult = {
19028
- ok: true;
19029
- };
19030
- type ThreadCompactResult = {
19031
- ok: true;
19032
- };
19033
- type ThreadBannerActionResult = {
19034
- ok: true;
19035
- };
19036
- type ThreadUnarchiveResult = {
19037
- ok: true;
19614
+ type ThreadStopResult = OperationResponse & {
19615
+ status: ThreadStatus;
19038
19616
  };
19617
+ type ThreadCompactResult = OperationResponse;
19618
+ type ThreadBannerActionResult = OperationResponse;
19619
+ type ThreadUnarchiveResult = OperationResponse;
19039
19620
  type ThreadArchiveAllResult = ThreadArchiveAllResponse;
19040
19621
  type ThreadReadStateResult = ThreadResponse;
19041
19622
  type ThreadRestoreEnvironmentResult = ThreadResponse;
@@ -19044,13 +19625,9 @@ type ThreadPromptHistoryResult = PromptHistoryResponse;
19044
19625
  type ThreadQueuedMessagesResult = ThreadQueuedMessageListResponse;
19045
19626
  type ThreadQueuedMessageCreateResult = ThreadQueuedMessage;
19046
19627
  type ThreadQueuedMessageUpdateResult = ThreadQueuedMessage;
19047
- type ThreadQueuedMessageDeleteResult = {
19048
- ok: true;
19049
- };
19628
+ type ThreadQueuedMessageDeleteResult = OperationResponse;
19050
19629
  type ThreadQueuedMessageEditHoldResult = QueuedMessageEditHoldResponse;
19051
- type ThreadQueuedMessageEditHoldReleaseResult = {
19052
- ok: true;
19053
- };
19630
+ type ThreadQueuedMessageEditHoldReleaseResult = OperationResponse;
19054
19631
  type ThreadQueuedMessageReorderResult = ThreadQueuedMessageListResponse;
19055
19632
  type ThreadQueuedMessageSendResult = SendQueuedMessageResponse;
19056
19633
  type ThreadQueuedMessageGroupBoundaryResult = ThreadQueuedMessageListResponse;
@@ -22667,6 +23244,8 @@ interface ExperimentalMessageMetadataRegistration {
22667
23244
  placement?: ExperimentalMessageMetadataPlacement;
22668
23245
  component: ComponentType<ExperimentalMessageMetadataProps>;
22669
23246
  }
23247
+ /** A timeline a `messageAction` can show in; see {@link PluginMessageActionRegistration.experimental_surfaces}. */
23248
+ type ExperimentalMessageActionSurface = "embedded-chat" | "thread-view";
22670
23249
  /** Context handed to a `messageAction`'s `run`. */
22671
23250
  interface PluginMessageActionContext {
22672
23251
  /** The thread whose timeline surfaced the action. */
@@ -22687,12 +23266,13 @@ interface PluginMessageActionContext {
22687
23266
  composer: PluginComposerApi | null;
22688
23267
  }
22689
23268
  /**
22690
- * An action on chat messages in the main thread timeline: an icon button in
22691
- * the per-message action bar (user and assistant messages) and an entry in
22692
- * the assistant-message text-selection menu. Embedded `ThreadChat` timelines
22693
- * do not show slot-registered actions. Host-rendered chrome — the plugin
22694
- * supplies title, icon, and `run` behavior only. Resolved icon names take precedence over
22695
- * plugin branding; omitted or unknown names fall back to branding.
23269
+ * An action on chat messages in every thread timeline, including embedded
23270
+ * `ThreadChat` timelines unless `experimental_surfaces` narrows it: an icon
23271
+ * button in the per-message action bar (user and assistant messages) and an
23272
+ * entry in the assistant-message text-selection menu. Host-rendered chrome —
23273
+ * the plugin supplies title, icon, and `run` behavior only. Resolved icon
23274
+ * names take precedence over plugin branding; omitted or unknown names fall
23275
+ * back to branding.
22696
23276
  */
22697
23277
  interface PluginMessageActionRegistration {
22698
23278
  /** Unique within the plugin; letters, digits, `-`, `_`. */
@@ -22700,6 +23280,12 @@ interface PluginMessageActionRegistration {
22700
23280
  /** Tooltip / menu label for the action. */
22701
23281
  title: string;
22702
23282
  icon?: BbIconName;
23283
+ /**
23284
+ * Timelines that show the action: `"thread-view"` is bb's thread view and
23285
+ * `"embedded-chat"` an embedded `ThreadChat`. Omit for both. Experimental:
23286
+ * see docs/api_to_audit.md.
23287
+ */
23288
+ experimental_surfaces?: readonly ExperimentalMessageActionSurface[];
22703
23289
  /**
22704
23290
  * Runs when the user activates the action. Errors (sync or async) are
22705
23291
  * contained and logged; they never break the timeline.
@@ -22732,6 +23318,13 @@ interface PluginCommandShortcut {
22732
23318
  alt?: boolean;
22733
23319
  shift?: boolean;
22734
23320
  }
23321
+ /** The fields of a keydown that {@link PluginSdkApp.experimental_matchesShortcutKey} reads; DOM and React keyboard events both fit. */
23322
+ interface ExperimentalShortcutKeyEvent {
23323
+ key: string;
23324
+ code: string;
23325
+ altKey: boolean;
23326
+ shiftKey: boolean;
23327
+ }
22735
23328
  /**
22736
23329
  * A command registered with `app.commands.register`, listed in bb's quick
22737
23330
  * palette (Mod+Shift+P) under the plugin's name
@@ -23297,6 +23890,13 @@ interface ComposerCustomization {
23297
23890
  id: string;
23298
23891
  /** Composer kinds where this customization is active; omit for all kinds. */
23299
23892
  scopes?: readonly PluginComposerScope["kind"][];
23893
+ /**
23894
+ * Controls rendered in the composer's action row, before the voice, stop
23895
+ * and submit controls. The collapsed single-line layout leaves them out,
23896
+ * as it does bb's `+` menu and model picker; they show once the composer
23897
+ * expands. bb shows the first three plugins' actions inline and the rest
23898
+ * behind a "More plugin actions" button.
23899
+ */
23300
23900
  actions?: readonly {
23301
23901
  id: string;
23302
23902
  component: ComponentType;
@@ -23719,8 +24319,8 @@ interface ComposerSubmitOptions {
23719
24319
  /**
23720
24320
  * A consumer-supplied action on the messages of one `ThreadChat` instance,
23721
24321
  * rendered in the embedded timeline's per-message action bar alongside the
23722
- * native actions. Slot-registered `messageAction`s do not appear there. Unlike
23723
- * the `messageAction` slot this is scoped to the rendering component, not
24322
+ * native and slot-registered `messageAction` actions. Unlike the
24323
+ * `messageAction` slot this is scoped to the rendering component, not
23724
24324
  * registered globally.
23725
24325
  */
23726
24326
  interface ThreadChatMessageAction {
@@ -23963,9 +24563,10 @@ interface NewThreadRequest {
23963
24563
  */
23964
24564
  interface NewThreadComposerProps {
23965
24565
  /**
23966
- * Seeds the project picker. The user can change it, including choosing
23967
- * "Don't work in a project"; see {@link NewThreadRequest.projectId} for the
23968
- * submitted projectless shape.
24566
+ * Seeds the project picker. Omitted, the picker starts on the project the
24567
+ * user last picked in bb's New thread view. The user can change it,
24568
+ * including choosing "Don't work in a project"; see
24569
+ * {@link NewThreadRequest.projectId} for the submitted projectless shape.
23969
24570
  */
23970
24571
  defaultProjectId?: string;
23971
24572
  /**
@@ -24080,6 +24681,13 @@ interface MarkdownProps {
24080
24681
  kind: "host";
24081
24682
  }>;
24082
24683
  };
24684
+ /**
24685
+ * The chat message this Markdown shows. With it, the code-fence renderers
24686
+ * and message directives plugins register render here as they do in the
24687
+ * thread timeline, and receive this as their `message`. Without it, fences
24688
+ * render as code and directives as their source text.
24689
+ */
24690
+ experimental_message?: PluginMessageDirectiveMessage;
24083
24691
  }
24084
24692
  /**
24085
24693
  * Props for BB's semantic URL link. The host owns ordinary activation while
@@ -25030,6 +25638,22 @@ interface PluginSdkApp {
25030
25638
  experimental_VoiceRecordingBar: ComponentType<ExperimentalVoiceRecordingBarProps>;
25031
25639
  experimental_FailedVoiceRecordings: ComponentType<ExperimentalFailedVoiceRecordingsProps>;
25032
25640
  experimental_ShortcutHint: ComponentType<ExperimentalShortcutHintProps>;
25641
+ /**
25642
+ * Whether `event` presses `key` (a `PluginCommandShortcut` key such as
25643
+ * `"k"`, `"["` or `"Enter"`), compared the way bb compares keys for its own
25644
+ * keybindings; the caller checks modifiers. Letter, digit and punctuation
25645
+ * keys match by physical position when the active layout types a non-Latin
25646
+ * character there, so Ctrl+K is found on Cyrillic, Greek, Hebrew or Arabic
25647
+ * layouts, while Latin layouts such as Dvorak keep their own letters.
25648
+ * Experimental: see docs/api_to_audit.md.
25649
+ */
25650
+ experimental_matchesShortcutKey(event: ExperimentalShortcutKeyEvent, key: string): boolean;
25651
+ /**
25652
+ * Cuts `value` to at most `maxChars` UTF-16 code units without splitting a
25653
+ * surrogate pair, so an emoji at the cut is dropped whole instead of leaving
25654
+ * half of it. Experimental: see docs/api_to_audit.md.
25655
+ */
25656
+ experimental_sliceUtf16Head(value: string, maxChars: number): string;
25033
25657
  experimental_ImageLightbox: ComponentType<ExperimentalImageLightboxProps>;
25034
25658
  experimental_PromptMentionIcon: ComponentType<ExperimentalPromptMentionIconProps>;
25035
25659
  /**
@@ -25146,6 +25770,8 @@ declare const experimental_FailedVoiceRecordings: react.ComponentType<Experiment
25146
25770
  declare const experimental_ShortcutHint: react.ComponentType<ExperimentalShortcutHintProps>;
25147
25771
  declare const experimental_ImageLightbox: react.ComponentType<ExperimentalImageLightboxProps>;
25148
25772
  declare const experimental_PromptMentionIcon: react.ComponentType<ExperimentalPromptMentionIconProps>;
25773
+ declare const experimental_matchesShortcutKey: (event: ExperimentalShortcutKeyEvent, key: string) => boolean;
25774
+ declare const experimental_sliceUtf16Head: (value: string, maxChars: number) => string;
25149
25775
  declare const experimental_describePromptMention: (mention: ExperimentalComposerMentionTarget) => ExperimentalPromptMentionPresentation;
25150
25776
  declare const experimental_promptMentionClipboardAttributes: (mention: ExperimentalComposerMentionTarget, text: string) => Readonly<Record<string, string>>;
25151
25777
  declare const experimental_readPromptMentionClipboard: (element: Element) => ExperimentalPromptMentionClipboardPill | null;
@@ -25187,5 +25813,5 @@ declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => P
25187
25813
  declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
25188
25814
  declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
25189
25815
 
25190
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
25191
- export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
25816
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_matchesShortcutKey, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_sliceUtf16Head, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
25817
+ export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, 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$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };