@get-bb/plugin-sdk 0.6.150 → 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.
@@ -236,6 +236,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
236
236
  flat: "flat";
237
237
  }>>;
238
238
  providerOrder: z$1.ZodArray<z$1.ZodString>;
239
+ resumeThreadsAfterRestart: z$1.ZodBoolean;
239
240
  showDiagnosticEvents: z$1.ZodBoolean;
240
241
  showKeyboardHints: z$1.ZodBoolean;
241
242
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -262,6 +263,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
262
263
  flat: "flat";
263
264
  }>>;
264
265
  providerOrder: z$1.ZodArray<z$1.ZodString>;
266
+ resumeThreadsAfterRestart: z$1.ZodOptional<z$1.ZodBoolean>;
265
267
  showDiagnosticEvents: z$1.ZodBoolean;
266
268
  showKeyboardHints: z$1.ZodBoolean;
267
269
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -287,6 +289,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
287
289
  flat: "flat";
288
290
  }>>;
289
291
  providerOrder: z$1.ZodArray<z$1.ZodString>;
292
+ resumeThreadsAfterRestart: z$1.ZodOptional<z$1.ZodBoolean>;
290
293
  showKeyboardHints: z$1.ZodBoolean;
291
294
  showUnhandledProviderEvents: z$1.ZodBoolean;
292
295
  steerActiveThreadOnEnter: z$1.ZodBoolean;
@@ -297,7 +300,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
297
300
  }, z$1.core.$strict>]>;
298
301
  type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
299
302
 
300
- 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"];
303
+ declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "sidebar.updates.providerCli", "sidebar.updates.skipped", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned"];
301
304
  type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
302
305
  interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
303
306
  schema: Schema;
@@ -332,6 +335,8 @@ declare const uiPreferenceDefinitions: {
332
335
  readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
333
336
  readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
334
337
  readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
338
+ readonly "sidebar.updates.providerCli": UiPreferenceDefinition<z$1.ZodBoolean>;
339
+ readonly "sidebar.updates.skipped": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
335
340
  readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
336
341
  readonly "threadContextCard.pinned": UiPreferenceDefinition<z$1.ZodBoolean>;
337
342
  readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
@@ -670,6 +675,7 @@ declare const environmentSchema: z$1.ZodObject<{
670
675
  teardown: z$1.ZodNullable<z$1.ZodObject<{
671
676
  attempt: z$1.ZodNumber;
672
677
  message: z$1.ZodOptional<z$1.ZodString>;
678
+ needsRecovery: z$1.ZodBoolean;
673
679
  status: z$1.ZodEnum<{
674
680
  failed: "failed";
675
681
  removed: "removed";
@@ -701,32 +707,26 @@ type Environment = z$1.infer<typeof environmentSchema>;
701
707
  declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
702
708
  agentCpuPriority: "agentCpuPriority";
703
709
  compactExpiredCache: "compactExpiredCache";
704
- dismissReadNotifications: "dismissReadNotifications";
705
710
  keyedPluginCss: "keyedPluginCss";
706
711
  performanceDiagnostics: "performanceDiagnostics";
707
712
  pluginUpdates: "pluginUpdates";
708
- resumeThreadsAfterRestart: "resumeThreadsAfterRestart";
713
+ resumeDaemonSessions: "resumeDaemonSessions";
709
714
  serverMove: "serverMove";
710
715
  skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
711
716
  threadContextCard: "threadContextCard";
712
- threadRowMetadata: "threadRowMetadata";
713
- updateWhenIdle: "updateWhenIdle";
714
717
  walCheckpointWorker: "walCheckpointWorker";
715
718
  }>, z$1.ZodBoolean>;
716
719
  type Experiments = z$1.infer<typeof experimentsSchema>;
717
720
  declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
718
721
  agentCpuPriority: "agentCpuPriority";
719
722
  compactExpiredCache: "compactExpiredCache";
720
- dismissReadNotifications: "dismissReadNotifications";
721
723
  keyedPluginCss: "keyedPluginCss";
722
724
  performanceDiagnostics: "performanceDiagnostics";
723
725
  pluginUpdates: "pluginUpdates";
724
- resumeThreadsAfterRestart: "resumeThreadsAfterRestart";
726
+ resumeDaemonSessions: "resumeDaemonSessions";
725
727
  serverMove: "serverMove";
726
728
  skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
727
729
  threadContextCard: "threadContextCard";
728
- threadRowMetadata: "threadRowMetadata";
729
- updateWhenIdle: "updateWhenIdle";
730
730
  walCheckpointWorker: "walCheckpointWorker";
731
731
  }> & z$1.core.$partial, z$1.ZodBoolean>;
732
732
  type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
@@ -777,6 +777,8 @@ declare const hostSchema: z$1.ZodObject<{
777
777
  suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
778
778
  teardown: z$1.ZodNullable<z$1.ZodObject<{
779
779
  attempt: z$1.ZodNumber;
780
+ blockedByEnvironmentId: z$1.ZodNullable<z$1.ZodString>;
781
+ needsRecovery: z$1.ZodBoolean;
780
782
  status: z$1.ZodEnum<{
781
783
  failed: "failed";
782
784
  removed: "removed";
@@ -4912,6 +4914,15 @@ declare const workspacePathListResponseSchema: z$1.ZodObject<{
4912
4914
  }, z$1.core.$strip>;
4913
4915
  type WorkspacePathListResponse = z$1.infer<typeof workspacePathListResponseSchema>;
4914
4916
 
4917
+ declare const operationResponseSchema: z$1.ZodObject<{
4918
+ ok: z$1.ZodLiteral<true>;
4919
+ progress: z$1.ZodEnum<{
4920
+ "in-progress": "in-progress";
4921
+ complete: "complete";
4922
+ }>;
4923
+ }, z$1.core.$strict>;
4924
+ type OperationResponse = z$1.infer<typeof operationResponseSchema>;
4925
+
4915
4926
  declare const createProjectSourceRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
4916
4927
  hostId: z$1.ZodString;
4917
4928
  path: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
@@ -7259,29 +7270,12 @@ declare const hostDaemonCommandRegistry: {
7259
7270
  type: z$1.ZodLiteral<"interactive.resolve">;
7260
7271
  }, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
7261
7272
  "environment.attach": HostDaemonCommandDescriptor<"environment.attach", z$1.ZodObject<{
7262
- contributedEnv: z$1.ZodArray<z$1.ZodObject<{
7263
- name: z$1.ZodString;
7264
- reason: z$1.ZodString;
7265
- source: z$1.ZodUnion<readonly [z$1.ZodObject<{
7266
- plugin: z$1.ZodString;
7267
- }, z$1.core.$strict>, z$1.ZodObject<{
7268
- core: z$1.ZodEnum<{
7269
- "machine-environment": "machine-environment";
7270
- "machine-git": "machine-git";
7271
- "project-environment": "project-environment";
7272
- }>;
7273
- }, z$1.core.$strict>]>;
7274
- value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
7275
- serverPath: z$1.ZodString;
7276
- }, z$1.core.$strict>]>;
7277
- }, z$1.core.$strict>>;
7278
7273
  environmentId: z$1.ZodString;
7279
7274
  initiator: z$1.ZodNullable<z$1.ZodObject<{
7280
7275
  provisioningId: z$1.ZodString;
7281
7276
  threadId: z$1.ZodString;
7282
7277
  }, z$1.core.$strict>>;
7283
7278
  path: z$1.ZodString;
7284
- setupScriptTimeoutMs: z$1.ZodNullable<z$1.ZodNumber>;
7285
7279
  type: z$1.ZodLiteral<"environment.attach">;
7286
7280
  }, z$1.core.$strict>, z$1.ZodObject<{
7287
7281
  branchName: z$1.ZodNullable<z$1.ZodString>;
@@ -7872,6 +7866,7 @@ declare const hostDaemonCommandRegistry: {
7872
7866
  equal: "equal";
7873
7867
  unknown: "unknown";
7874
7868
  }>>;
7869
+ defaultWorktreeBaseBranch: z$1.ZodNullable<z$1.ZodString>;
7875
7870
  hasUncommittedChanges: z$1.ZodBoolean;
7876
7871
  isWorktree: z$1.ZodBoolean;
7877
7872
  operation: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -8175,6 +8170,22 @@ declare const hostDaemonCommandRegistry: {
8175
8170
  kind: z$1.ZodLiteral<"artifact">;
8176
8171
  }, z$1.core.$strict>;
8177
8172
  }, z$1.core.$strict>;
8173
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
8174
+ name: z$1.ZodString;
8175
+ reason: z$1.ZodString;
8176
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
8177
+ plugin: z$1.ZodString;
8178
+ }, z$1.core.$strict>, z$1.ZodObject<{
8179
+ core: z$1.ZodEnum<{
8180
+ "machine-environment": "machine-environment";
8181
+ "machine-git": "machine-git";
8182
+ "project-environment": "project-environment";
8183
+ }>;
8184
+ }, z$1.core.$strict>]>;
8185
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
8186
+ serverPath: z$1.ZodString;
8187
+ }, z$1.core.$strict>]>;
8188
+ }, z$1.core.$strict>>;
8178
8189
  cwd: z$1.ZodNullable<z$1.ZodString>;
8179
8190
  providerId: z$1.ZodString;
8180
8191
  type: z$1.ZodLiteral<"provider.list_commands">;
@@ -8212,6 +8223,22 @@ declare const hostDaemonCommandRegistry: {
8212
8223
  kind: z$1.ZodLiteral<"artifact">;
8213
8224
  }, z$1.core.$strict>;
8214
8225
  }, z$1.core.$strict>;
8226
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
8227
+ name: z$1.ZodString;
8228
+ reason: z$1.ZodString;
8229
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
8230
+ plugin: z$1.ZodString;
8231
+ }, z$1.core.$strict>, z$1.ZodObject<{
8232
+ core: z$1.ZodEnum<{
8233
+ "machine-environment": "machine-environment";
8234
+ "machine-git": "machine-git";
8235
+ "project-environment": "project-environment";
8236
+ }>;
8237
+ }, z$1.core.$strict>]>;
8238
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
8239
+ serverPath: z$1.ZodString;
8240
+ }, z$1.core.$strict>]>;
8241
+ }, z$1.core.$strict>>;
8215
8242
  cwd: z$1.ZodOptional<z$1.ZodString>;
8216
8243
  providerId: z$1.ZodString;
8217
8244
  type: z$1.ZodLiteral<"provider.health">;
@@ -8267,6 +8294,22 @@ declare const hostDaemonCommandRegistry: {
8267
8294
  kind: z$1.ZodLiteral<"artifact">;
8268
8295
  }, z$1.core.$strict>;
8269
8296
  }, z$1.core.$strict>;
8297
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
8298
+ name: z$1.ZodString;
8299
+ reason: z$1.ZodString;
8300
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
8301
+ plugin: z$1.ZodString;
8302
+ }, z$1.core.$strict>, z$1.ZodObject<{
8303
+ core: z$1.ZodEnum<{
8304
+ "machine-environment": "machine-environment";
8305
+ "machine-git": "machine-git";
8306
+ "project-environment": "project-environment";
8307
+ }>;
8308
+ }, z$1.core.$strict>]>;
8309
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
8310
+ serverPath: z$1.ZodString;
8311
+ }, z$1.core.$strict>]>;
8312
+ }, z$1.core.$strict>>;
8270
8313
  providerId: z$1.ZodString;
8271
8314
  type: z$1.ZodLiteral<"provider.installation.status">;
8272
8315
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8328,6 +8371,22 @@ declare const hostDaemonCommandRegistry: {
8328
8371
  kind: z$1.ZodLiteral<"artifact">;
8329
8372
  }, z$1.core.$strict>;
8330
8373
  }, z$1.core.$strict>;
8374
+ contributedEnv: z$1.ZodArray<z$1.ZodObject<{
8375
+ name: z$1.ZodString;
8376
+ reason: z$1.ZodString;
8377
+ source: z$1.ZodUnion<readonly [z$1.ZodObject<{
8378
+ plugin: z$1.ZodString;
8379
+ }, z$1.core.$strict>, z$1.ZodObject<{
8380
+ core: z$1.ZodEnum<{
8381
+ "machine-environment": "machine-environment";
8382
+ "machine-git": "machine-git";
8383
+ "project-environment": "project-environment";
8384
+ }>;
8385
+ }, z$1.core.$strict>]>;
8386
+ value: z$1.ZodUnion<readonly [z$1.ZodString, z$1.ZodObject<{
8387
+ serverPath: z$1.ZodString;
8388
+ }, z$1.core.$strict>]>;
8389
+ }, z$1.core.$strict>>;
8331
8390
  providerId: z$1.ZodString;
8332
8391
  type: z$1.ZodLiteral<"provider.installation.run">;
8333
8392
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -8908,12 +8967,21 @@ declare const updateHostRequestSchema: z$1.ZodObject<{
8908
8967
  name: z$1.ZodString;
8909
8968
  }, z$1.core.$strict>;
8910
8969
  type UpdateHostRequest = z$1.infer<typeof updateHostRequestSchema>;
8911
- declare const hostActionResponseSchema: z$1.ZodObject<{
8970
+ declare const hostRemovalResponseSchema: z$1.ZodObject<{
8912
8971
  ok: z$1.ZodLiteral<true>;
8972
+ progress: z$1.ZodEnum<{
8973
+ "in-progress": "in-progress";
8974
+ complete: "complete";
8975
+ }>;
8976
+ warnings: z$1.ZodArray<z$1.ZodString>;
8913
8977
  }, z$1.core.$strict>;
8914
- type HostActionResponse = z$1.infer<typeof hostActionResponseSchema>;
8978
+ type HostRemovalResponse = z$1.infer<typeof hostRemovalResponseSchema>;
8915
8979
  declare const hostRetryUpdateResponseSchema: z$1.ZodObject<{
8916
8980
  ok: z$1.ZodLiteral<true>;
8981
+ progress: z$1.ZodEnum<{
8982
+ "in-progress": "in-progress";
8983
+ complete: "complete";
8984
+ }>;
8917
8985
  }, z$1.core.$strict>;
8918
8986
  type HostRetryUpdateResponse = z$1.infer<typeof hostRetryUpdateResponseSchema>;
8919
8987
  type HostPathsExistRequest = PathsExistRequest;
@@ -9910,6 +9978,14 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
9910
9978
  installed: z$1.ZodBoolean;
9911
9979
  installedByDefault: z$1.ZodDefault<z$1.ZodBoolean>;
9912
9980
  installs: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodNumber>>;
9981
+ listings: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
9982
+ entryId: z$1.ZodString;
9983
+ marketplace: z$1.ZodString;
9984
+ marketplaceDisplayName: z$1.ZodString;
9985
+ official: z$1.ZodBoolean;
9986
+ publisherLabel: z$1.ZodString;
9987
+ source: z$1.ZodString;
9988
+ }, z$1.core.$strip>>>;
9913
9989
  marketplace: z$1.ZodString;
9914
9990
  marketplaceDisplayName: z$1.ZodString;
9915
9991
  official: z$1.ZodBoolean;
@@ -10936,16 +11012,13 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10936
11012
  experiments: z$1.ZodRecord<z$1.ZodEnum<{
10937
11013
  agentCpuPriority: "agentCpuPriority";
10938
11014
  compactExpiredCache: "compactExpiredCache";
10939
- dismissReadNotifications: "dismissReadNotifications";
10940
11015
  keyedPluginCss: "keyedPluginCss";
10941
11016
  performanceDiagnostics: "performanceDiagnostics";
10942
11017
  pluginUpdates: "pluginUpdates";
10943
- resumeThreadsAfterRestart: "resumeThreadsAfterRestart";
11018
+ resumeDaemonSessions: "resumeDaemonSessions";
10944
11019
  serverMove: "serverMove";
10945
11020
  skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
10946
11021
  threadContextCard: "threadContextCard";
10947
- threadRowMetadata: "threadRowMetadata";
10948
- updateWhenIdle: "updateWhenIdle";
10949
11022
  walCheckpointWorker: "walCheckpointWorker";
10950
11023
  }>, z$1.ZodBoolean>;
10951
11024
  featureFlags: z$1.ZodObject<{
@@ -10970,6 +11043,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10970
11043
  flat: "flat";
10971
11044
  }>>;
10972
11045
  providerOrder: z$1.ZodArray<z$1.ZodString>;
11046
+ resumeThreadsAfterRestart: z$1.ZodBoolean;
10973
11047
  showDiagnosticEvents: z$1.ZodBoolean;
10974
11048
  showKeyboardHints: z$1.ZodBoolean;
10975
11049
  showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
@@ -11423,7 +11497,11 @@ declare const systemAppUpdateAcknowledgeRequestSchema: z$1.ZodObject<{
11423
11497
  type SystemAppUpdateAcknowledgeRequest = z$1.infer<typeof systemAppUpdateAcknowledgeRequestSchema>;
11424
11498
  declare const systemConfigReloadResponseSchema: z$1.ZodObject<{
11425
11499
  ok: z$1.ZodLiteral<true>;
11426
- }, z$1.core.$strip>;
11500
+ progress: z$1.ZodEnum<{
11501
+ "in-progress": "in-progress";
11502
+ complete: "complete";
11503
+ }>;
11504
+ }, z$1.core.$strict>;
11427
11505
  declare const systemCliSkillsStatusResponseSchema: z$1.ZodObject<{
11428
11506
  machines: z$1.ZodArray<z$1.ZodObject<{
11429
11507
  hostId: z$1.ZodString;
@@ -14855,6 +14933,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14855
14933
  teardown: z$1.ZodNullable<z$1.ZodObject<{
14856
14934
  attempt: z$1.ZodNumber;
14857
14935
  message: z$1.ZodOptional<z$1.ZodString>;
14936
+ needsRecovery: z$1.ZodBoolean;
14858
14937
  status: z$1.ZodEnum<{
14859
14938
  failed: "failed";
14860
14939
  removed: "removed";
@@ -14903,6 +14982,8 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
14903
14982
  suspendedAt: z$1.ZodNullable<z$1.ZodNumber>;
14904
14983
  teardown: z$1.ZodNullable<z$1.ZodObject<{
14905
14984
  attempt: z$1.ZodNumber;
14985
+ blockedByEnvironmentId: z$1.ZodNullable<z$1.ZodString>;
14986
+ needsRecovery: z$1.ZodBoolean;
14906
14987
  status: z$1.ZodEnum<{
14907
14988
  failed: "failed";
14908
14989
  removed: "removed";
@@ -16510,130 +16591,294 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
16510
16591
  }>;
16511
16592
  sourceSeq: z$1.ZodNumber;
16512
16593
  }, z$1.core.$strip>>;
16513
- pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
16514
- items: z$1.ZodArray<z$1.ZodObject<{
16515
- id: z$1.ZodString;
16516
- status: z$1.ZodEnum<{
16517
- completed: "completed";
16518
- in_progress: "in_progress";
16519
- pending: "pending";
16520
- }>;
16521
- text: z$1.ZodString;
16594
+ pendingSteers: z$1.ZodArray<z$1.ZodObject<{
16595
+ attachments: z$1.ZodNullable<z$1.ZodObject<{
16596
+ imageUrls: z$1.ZodArray<z$1.ZodString>;
16597
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
16598
+ name: z$1.ZodString;
16599
+ path: z$1.ZodString;
16600
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
16601
+ }, z$1.core.$strip>>;
16602
+ localFilePaths: z$1.ZodArray<z$1.ZodString>;
16603
+ localFiles: z$1.ZodNumber;
16604
+ localImagePaths: z$1.ZodArray<z$1.ZodString>;
16605
+ localImages: z$1.ZodNumber;
16606
+ webImages: z$1.ZodNumber;
16522
16607
  }, z$1.core.$strip>>;
16523
- sourceSeq: z$1.ZodNumber;
16524
- updatedAt: z$1.ZodNumber;
16525
- }, z$1.core.$strip>>;
16526
- providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
16527
- argumentHint: z$1.ZodNullable<z$1.ZodString>;
16528
- description: z$1.ZodNullable<z$1.ZodString>;
16529
- name: z$1.ZodString;
16530
- origin: z$1.ZodEnum<{
16531
- builtin: "builtin";
16532
- project: "project";
16608
+ createdAt: z$1.ZodNumber;
16609
+ id: z$1.ZodString;
16610
+ initiator: z$1.ZodEnum<{
16611
+ agent: "agent";
16612
+ system: "system";
16533
16613
  user: "user";
16534
16614
  }>;
16535
- source: z$1.ZodEnum<{
16536
- command: "command";
16537
- skill: "skill";
16538
- }>;
16539
- }, z$1.core.$strip>>>;
16540
- rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
16541
- sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16542
- category: z$1.ZodNullable<z$1.ZodString>;
16543
- description: z$1.ZodNullable<z$1.ZodString>;
16544
- id: z$1.ZodString;
16545
- label: z$1.ZodString;
16546
- pendingValue: z$1.ZodNullable<z$1.ZodString>;
16547
- type: z$1.ZodLiteral<"select">;
16548
- value: z$1.ZodString;
16549
- values: z$1.ZodArray<z$1.ZodObject<{
16550
- description: z$1.ZodNullable<z$1.ZodString>;
16551
- group: z$1.ZodNullable<z$1.ZodString>;
16552
- id: z$1.ZodString;
16553
- label: z$1.ZodString;
16554
- }, z$1.core.$strip>>;
16555
- }, z$1.core.$strip>, z$1.ZodObject<{
16556
- category: z$1.ZodNullable<z$1.ZodString>;
16557
- description: z$1.ZodNullable<z$1.ZodString>;
16558
- id: z$1.ZodString;
16559
- label: z$1.ZodString;
16560
- pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
16561
- type: z$1.ZodLiteral<"boolean">;
16562
- value: z$1.ZodBoolean;
16563
- }, z$1.core.$strip>], "type">>>;
16564
- tag: z$1.ZodString;
16565
- timelinePage: z$1.ZodObject<{
16566
- historySnapshot: z$1.ZodString;
16567
- olderCursor: z$1.ZodNullable<z$1.ZodObject<{
16568
- anchorId: z$1.ZodString;
16569
- anchorSeq: z$1.ZodNumber;
16570
- }, z$1.core.$strict>>;
16571
- olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
16572
- olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
16573
- returnedSegmentCount: z$1.ZodNumber;
16574
- }, z$1.core.$strict>;
16575
- }, z$1.core.$strip>;
16576
- type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
16577
- declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
16578
- delta: z$1.ZodObject<{
16579
- afterTag: z$1.ZodString;
16580
- fields: z$1.ZodObject<{
16581
- activeBackgroundCommands: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16582
- completedAt: z$1.ZodNullable<z$1.ZodNumber>;
16583
- createdAt: z$1.ZodNumber;
16584
- description: z$1.ZodString;
16585
- error: z$1.ZodNullable<z$1.ZodString>;
16586
- id: z$1.ZodString;
16587
- itemId: z$1.ZodString;
16588
- kind: z$1.ZodLiteral<"work">;
16589
- model: z$1.ZodNullable<z$1.ZodString>;
16590
- presentation: z$1.ZodOptional<z$1.ZodObject<{
16591
- badge: z$1.ZodOptional<z$1.ZodObject<{
16592
- glyph: z$1.ZodString;
16593
- hint: z$1.ZodString;
16594
- label: z$1.ZodString;
16595
- tone: z$1.ZodEnum<{
16596
- destructive: "destructive";
16597
- neutral: "neutral";
16598
- }>;
16599
- }, z$1.core.$strip>>;
16600
- detail: z$1.ZodOptional<z$1.ZodString>;
16601
- icon: z$1.ZodObject<{
16602
- glyph: z$1.ZodString;
16603
- }, z$1.core.$strip>;
16604
- label: z$1.ZodObject<{
16605
- completed: z$1.ZodString;
16606
- pending: z$1.ZodString;
16607
- }, z$1.core.$strip>;
16608
- suppress: z$1.ZodOptional<z$1.ZodBoolean>;
16609
- tint: z$1.ZodOptional<z$1.ZodObject<{
16610
- dark: z$1.ZodString;
16611
- light: z$1.ZodString;
16612
- }, z$1.core.$strip>>;
16613
- title: z$1.ZodOptional<z$1.ZodString>;
16614
- }, z$1.core.$strip>>;
16615
- sourceSeqEnd: z$1.ZodNumber;
16616
- sourceSeqStart: z$1.ZodNumber;
16617
- startedAt: z$1.ZodNumber;
16618
- status: z$1.ZodEnum<{
16619
- completed: "completed";
16620
- error: "error";
16621
- interrupted: "interrupted";
16622
- pending: "pending";
16615
+ kind: z$1.ZodLiteral<"conversation">;
16616
+ mentions: z$1.ZodArray<z$1.ZodObject<{
16617
+ end: z$1.ZodNumber;
16618
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16619
+ kind: z$1.ZodLiteral<"thread">;
16620
+ label: z$1.ZodString;
16621
+ projectId: z$1.ZodOptional<z$1.ZodString>;
16622
+ threadId: z$1.ZodString;
16623
+ }, z$1.core.$strip>, z$1.ZodObject<{
16624
+ kind: z$1.ZodLiteral<"project">;
16625
+ label: z$1.ZodString;
16626
+ projectId: z$1.ZodString;
16627
+ }, z$1.core.$strip>, z$1.ZodObject<{
16628
+ kind: z$1.ZodLiteral<"section">;
16629
+ label: z$1.ZodString;
16630
+ sectionId: z$1.ZodString;
16631
+ }, z$1.core.$strip>, z$1.ZodObject<{
16632
+ entryKind: z$1.ZodEnum<{
16633
+ directory: "directory";
16634
+ file: "file";
16623
16635
  }>;
16624
- summary: z$1.ZodNullable<z$1.ZodString>;
16625
- taskStatus: z$1.ZodEnum<{
16626
- completed: "completed";
16627
- failed: "failed";
16628
- killed: "killed";
16629
- paused: "paused";
16630
- pending: "pending";
16631
- running: "running";
16632
- stopped: "stopped";
16636
+ kind: z$1.ZodLiteral<"path">;
16637
+ label: z$1.ZodString;
16638
+ path: z$1.ZodString;
16639
+ source: z$1.ZodEnum<{
16640
+ "thread-storage": "thread-storage";
16641
+ workspace: "workspace";
16633
16642
  }>;
16634
- taskType: z$1.ZodString;
16635
- threadId: z$1.ZodString;
16636
- turnId: z$1.ZodNullable<z$1.ZodString>;
16643
+ }, z$1.core.$strip>, z$1.ZodObject<{
16644
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
16645
+ kind: z$1.ZodLiteral<"command">;
16646
+ label: z$1.ZodString;
16647
+ name: z$1.ZodString;
16648
+ origin: z$1.ZodEnum<{
16649
+ builtin: "builtin";
16650
+ project: "project";
16651
+ user: "user";
16652
+ }>;
16653
+ source: z$1.ZodEnum<{
16654
+ command: "command";
16655
+ skill: "skill";
16656
+ }>;
16657
+ trigger: z$1.ZodEnum<{
16658
+ "/": "/";
16659
+ $: "$";
16660
+ }>;
16661
+ }, z$1.core.$strip>, z$1.ZodObject<{
16662
+ icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
16663
+ itemId: z$1.ZodString;
16664
+ kind: z$1.ZodLiteral<"plugin">;
16665
+ label: z$1.ZodString;
16666
+ pluginId: z$1.ZodString;
16667
+ }, z$1.core.$strip>, z$1.ZodObject<{
16668
+ kind: z$1.ZodLiteral<"attachment">;
16669
+ label: z$1.ZodString;
16670
+ path: z$1.ZodString;
16671
+ }, z$1.core.$strip>], "kind">, unknown>;
16672
+ start: z$1.ZodNumber;
16673
+ }, z$1.core.$strip>>;
16674
+ messageSeq: z$1.ZodNumber;
16675
+ role: z$1.ZodLiteral<"user">;
16676
+ senderThreadId: z$1.ZodNullable<z$1.ZodString>;
16677
+ sourceSeqEnd: z$1.ZodNumber;
16678
+ sourceSeqStart: z$1.ZodNumber;
16679
+ startedAt: z$1.ZodNumber;
16680
+ systemMessageKind: z$1.ZodEnum<{
16681
+ "child-completed": "child-completed";
16682
+ "child-failed": "child-failed";
16683
+ "child-interrupted": "child-interrupted";
16684
+ "child-needs-attention": "child-needs-attention";
16685
+ "child-outcome-batch": "child-outcome-batch";
16686
+ "environment-directory-updated": "environment-directory-updated";
16687
+ "ownership-assigned": "ownership-assigned";
16688
+ "ownership-batch": "ownership-batch";
16689
+ "ownership-removed": "ownership-removed";
16690
+ "tool-result-delivered": "tool-result-delivered";
16691
+ unlabeled: "unlabeled";
16692
+ }>;
16693
+ systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16694
+ kind: z$1.ZodLiteral<"thread">;
16695
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16696
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
16697
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
16698
+ reason: z$1.ZodEnum<{
16699
+ "host-daemon-restarted": "host-daemon-restarted";
16700
+ "host-removed": "host-removed";
16701
+ "manual-stop": "manual-stop";
16702
+ "provider-turn-idle": "provider-turn-idle";
16703
+ }>;
16704
+ }, z$1.core.$strip>>;
16705
+ status: z$1.ZodEnum<{
16706
+ completed: "completed";
16707
+ failed: "failed";
16708
+ interrupted: "interrupted";
16709
+ }>;
16710
+ threadId: z$1.ZodString;
16711
+ }, z$1.core.$strip>>>;
16712
+ threadId: z$1.ZodString;
16713
+ threadName: z$1.ZodString;
16714
+ }, z$1.core.$strip>, z$1.ZodObject<{
16715
+ count: z$1.ZodNumber;
16716
+ kind: z$1.ZodLiteral<"thread-batch">;
16717
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16718
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
16719
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
16720
+ reason: z$1.ZodEnum<{
16721
+ "host-daemon-restarted": "host-daemon-restarted";
16722
+ "host-removed": "host-removed";
16723
+ "manual-stop": "manual-stop";
16724
+ "provider-turn-idle": "provider-turn-idle";
16725
+ }>;
16726
+ }, z$1.core.$strip>>;
16727
+ status: z$1.ZodEnum<{
16728
+ completed: "completed";
16729
+ failed: "failed";
16730
+ interrupted: "interrupted";
16731
+ }>;
16732
+ threadId: z$1.ZodString;
16733
+ }, z$1.core.$strip>>>;
16734
+ }, z$1.core.$strip>, z$1.ZodObject<{
16735
+ kind: z$1.ZodLiteral<"tool-call">;
16736
+ suppress: z$1.ZodBoolean;
16737
+ toolName: z$1.ZodString;
16738
+ }, z$1.core.$strip>, z$1.ZodObject<{
16739
+ kind: z$1.ZodLiteral<"directory">;
16740
+ path: z$1.ZodString;
16741
+ }, z$1.core.$strip>], "kind">>;
16742
+ text: z$1.ZodString;
16743
+ threadId: z$1.ZodString;
16744
+ turnId: z$1.ZodNullable<z$1.ZodString>;
16745
+ turnRequest: z$1.ZodObject<{
16746
+ isGrouped: z$1.ZodBoolean;
16747
+ kind: z$1.ZodEnum<{
16748
+ message: "message";
16749
+ steer: "steer";
16750
+ }>;
16751
+ status: z$1.ZodEnum<{
16752
+ accepted: "accepted";
16753
+ pending: "pending";
16754
+ rejected: "rejected";
16755
+ }>;
16756
+ }, z$1.core.$strip>;
16757
+ }, z$1.core.$strip>>;
16758
+ pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
16759
+ items: z$1.ZodArray<z$1.ZodObject<{
16760
+ id: z$1.ZodString;
16761
+ status: z$1.ZodEnum<{
16762
+ completed: "completed";
16763
+ in_progress: "in_progress";
16764
+ pending: "pending";
16765
+ }>;
16766
+ text: z$1.ZodString;
16767
+ }, z$1.core.$strip>>;
16768
+ sourceSeq: z$1.ZodNumber;
16769
+ updatedAt: z$1.ZodNumber;
16770
+ }, z$1.core.$strip>>;
16771
+ providerCommands: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
16772
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
16773
+ description: z$1.ZodNullable<z$1.ZodString>;
16774
+ name: z$1.ZodString;
16775
+ origin: z$1.ZodEnum<{
16776
+ builtin: "builtin";
16777
+ project: "project";
16778
+ user: "user";
16779
+ }>;
16780
+ source: z$1.ZodEnum<{
16781
+ command: "command";
16782
+ skill: "skill";
16783
+ }>;
16784
+ }, z$1.core.$strip>>>;
16785
+ rows: z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>;
16786
+ sessionOptions: z$1.ZodNullable<z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
16787
+ category: z$1.ZodNullable<z$1.ZodString>;
16788
+ description: z$1.ZodNullable<z$1.ZodString>;
16789
+ id: z$1.ZodString;
16790
+ label: z$1.ZodString;
16791
+ pendingValue: z$1.ZodNullable<z$1.ZodString>;
16792
+ type: z$1.ZodLiteral<"select">;
16793
+ value: z$1.ZodString;
16794
+ values: z$1.ZodArray<z$1.ZodObject<{
16795
+ description: z$1.ZodNullable<z$1.ZodString>;
16796
+ group: z$1.ZodNullable<z$1.ZodString>;
16797
+ id: z$1.ZodString;
16798
+ label: z$1.ZodString;
16799
+ }, z$1.core.$strip>>;
16800
+ }, z$1.core.$strip>, z$1.ZodObject<{
16801
+ category: z$1.ZodNullable<z$1.ZodString>;
16802
+ description: z$1.ZodNullable<z$1.ZodString>;
16803
+ id: z$1.ZodString;
16804
+ label: z$1.ZodString;
16805
+ pendingValue: z$1.ZodNullable<z$1.ZodBoolean>;
16806
+ type: z$1.ZodLiteral<"boolean">;
16807
+ value: z$1.ZodBoolean;
16808
+ }, z$1.core.$strip>], "type">>>;
16809
+ tag: z$1.ZodString;
16810
+ timelinePage: z$1.ZodObject<{
16811
+ historySnapshot: z$1.ZodString;
16812
+ olderCursor: z$1.ZodNullable<z$1.ZodObject<{
16813
+ anchorId: z$1.ZodString;
16814
+ anchorSeq: z$1.ZodNumber;
16815
+ }, z$1.core.$strict>>;
16816
+ olderRowUpdates: z$1.ZodOptional<z$1.ZodArray<z$1.ZodType<TimelineRow, unknown, z$1.core.$ZodTypeInternals<TimelineRow, unknown>>>>;
16817
+ olderRowsSourceSeqEnd: z$1.ZodNullable<z$1.ZodNumber>;
16818
+ returnedSegmentCount: z$1.ZodNumber;
16819
+ }, z$1.core.$strict>;
16820
+ }, z$1.core.$strip>;
16821
+ type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
16822
+ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
16823
+ delta: z$1.ZodObject<{
16824
+ afterTag: z$1.ZodString;
16825
+ fields: z$1.ZodObject<{
16826
+ activeBackgroundCommands: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
16827
+ completedAt: z$1.ZodNullable<z$1.ZodNumber>;
16828
+ createdAt: z$1.ZodNumber;
16829
+ description: z$1.ZodString;
16830
+ error: z$1.ZodNullable<z$1.ZodString>;
16831
+ id: z$1.ZodString;
16832
+ itemId: z$1.ZodString;
16833
+ kind: z$1.ZodLiteral<"work">;
16834
+ model: z$1.ZodNullable<z$1.ZodString>;
16835
+ presentation: z$1.ZodOptional<z$1.ZodObject<{
16836
+ badge: z$1.ZodOptional<z$1.ZodObject<{
16837
+ glyph: z$1.ZodString;
16838
+ hint: z$1.ZodString;
16839
+ label: z$1.ZodString;
16840
+ tone: z$1.ZodEnum<{
16841
+ destructive: "destructive";
16842
+ neutral: "neutral";
16843
+ }>;
16844
+ }, z$1.core.$strip>>;
16845
+ detail: z$1.ZodOptional<z$1.ZodString>;
16846
+ icon: z$1.ZodObject<{
16847
+ glyph: z$1.ZodString;
16848
+ }, z$1.core.$strip>;
16849
+ label: z$1.ZodObject<{
16850
+ completed: z$1.ZodString;
16851
+ pending: z$1.ZodString;
16852
+ }, z$1.core.$strip>;
16853
+ suppress: z$1.ZodOptional<z$1.ZodBoolean>;
16854
+ tint: z$1.ZodOptional<z$1.ZodObject<{
16855
+ dark: z$1.ZodString;
16856
+ light: z$1.ZodString;
16857
+ }, z$1.core.$strip>>;
16858
+ title: z$1.ZodOptional<z$1.ZodString>;
16859
+ }, z$1.core.$strip>>;
16860
+ sourceSeqEnd: z$1.ZodNumber;
16861
+ sourceSeqStart: z$1.ZodNumber;
16862
+ startedAt: z$1.ZodNumber;
16863
+ status: z$1.ZodEnum<{
16864
+ completed: "completed";
16865
+ error: "error";
16866
+ interrupted: "interrupted";
16867
+ pending: "pending";
16868
+ }>;
16869
+ summary: z$1.ZodNullable<z$1.ZodString>;
16870
+ taskStatus: z$1.ZodEnum<{
16871
+ completed: "completed";
16872
+ failed: "failed";
16873
+ killed: "killed";
16874
+ paused: "paused";
16875
+ pending: "pending";
16876
+ running: "running";
16877
+ stopped: "stopped";
16878
+ }>;
16879
+ taskType: z$1.ZodString;
16880
+ threadId: z$1.ZodString;
16881
+ turnId: z$1.ZodNullable<z$1.ZodString>;
16637
16882
  usage: z$1.ZodNullable<z$1.ZodObject<{
16638
16883
  durationMs: z$1.ZodNumber;
16639
16884
  toolUses: z$1.ZodNumber;
@@ -16842,6 +17087,170 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
16842
17087
  }>;
16843
17088
  sourceSeq: z$1.ZodNumber;
16844
17089
  }, z$1.core.$strip>>>;
17090
+ pendingSteers: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
17091
+ attachments: z$1.ZodNullable<z$1.ZodObject<{
17092
+ imageUrls: z$1.ZodArray<z$1.ZodString>;
17093
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
17094
+ name: z$1.ZodString;
17095
+ path: z$1.ZodString;
17096
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
17097
+ }, z$1.core.$strip>>;
17098
+ localFilePaths: z$1.ZodArray<z$1.ZodString>;
17099
+ localFiles: z$1.ZodNumber;
17100
+ localImagePaths: z$1.ZodArray<z$1.ZodString>;
17101
+ localImages: z$1.ZodNumber;
17102
+ webImages: z$1.ZodNumber;
17103
+ }, z$1.core.$strip>>;
17104
+ createdAt: z$1.ZodNumber;
17105
+ id: z$1.ZodString;
17106
+ initiator: z$1.ZodEnum<{
17107
+ agent: "agent";
17108
+ system: "system";
17109
+ user: "user";
17110
+ }>;
17111
+ kind: z$1.ZodLiteral<"conversation">;
17112
+ mentions: z$1.ZodArray<z$1.ZodObject<{
17113
+ end: z$1.ZodNumber;
17114
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
17115
+ kind: z$1.ZodLiteral<"thread">;
17116
+ label: z$1.ZodString;
17117
+ projectId: z$1.ZodOptional<z$1.ZodString>;
17118
+ threadId: z$1.ZodString;
17119
+ }, z$1.core.$strip>, z$1.ZodObject<{
17120
+ kind: z$1.ZodLiteral<"project">;
17121
+ label: z$1.ZodString;
17122
+ projectId: z$1.ZodString;
17123
+ }, z$1.core.$strip>, z$1.ZodObject<{
17124
+ kind: z$1.ZodLiteral<"section">;
17125
+ label: z$1.ZodString;
17126
+ sectionId: z$1.ZodString;
17127
+ }, z$1.core.$strip>, z$1.ZodObject<{
17128
+ entryKind: z$1.ZodEnum<{
17129
+ directory: "directory";
17130
+ file: "file";
17131
+ }>;
17132
+ kind: z$1.ZodLiteral<"path">;
17133
+ label: z$1.ZodString;
17134
+ path: z$1.ZodString;
17135
+ source: z$1.ZodEnum<{
17136
+ "thread-storage": "thread-storage";
17137
+ workspace: "workspace";
17138
+ }>;
17139
+ }, z$1.core.$strip>, z$1.ZodObject<{
17140
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
17141
+ kind: z$1.ZodLiteral<"command">;
17142
+ label: z$1.ZodString;
17143
+ name: z$1.ZodString;
17144
+ origin: z$1.ZodEnum<{
17145
+ builtin: "builtin";
17146
+ project: "project";
17147
+ user: "user";
17148
+ }>;
17149
+ source: z$1.ZodEnum<{
17150
+ command: "command";
17151
+ skill: "skill";
17152
+ }>;
17153
+ trigger: z$1.ZodEnum<{
17154
+ "/": "/";
17155
+ $: "$";
17156
+ }>;
17157
+ }, z$1.core.$strip>, z$1.ZodObject<{
17158
+ icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
17159
+ itemId: z$1.ZodString;
17160
+ kind: z$1.ZodLiteral<"plugin">;
17161
+ label: z$1.ZodString;
17162
+ pluginId: z$1.ZodString;
17163
+ }, z$1.core.$strip>, z$1.ZodObject<{
17164
+ kind: z$1.ZodLiteral<"attachment">;
17165
+ label: z$1.ZodString;
17166
+ path: z$1.ZodString;
17167
+ }, z$1.core.$strip>], "kind">, unknown>;
17168
+ start: z$1.ZodNumber;
17169
+ }, z$1.core.$strip>>;
17170
+ messageSeq: z$1.ZodNumber;
17171
+ role: z$1.ZodLiteral<"user">;
17172
+ senderThreadId: z$1.ZodNullable<z$1.ZodString>;
17173
+ sourceSeqEnd: z$1.ZodNumber;
17174
+ sourceSeqStart: z$1.ZodNumber;
17175
+ startedAt: z$1.ZodNumber;
17176
+ systemMessageKind: z$1.ZodEnum<{
17177
+ "child-completed": "child-completed";
17178
+ "child-failed": "child-failed";
17179
+ "child-interrupted": "child-interrupted";
17180
+ "child-needs-attention": "child-needs-attention";
17181
+ "child-outcome-batch": "child-outcome-batch";
17182
+ "environment-directory-updated": "environment-directory-updated";
17183
+ "ownership-assigned": "ownership-assigned";
17184
+ "ownership-batch": "ownership-batch";
17185
+ "ownership-removed": "ownership-removed";
17186
+ "tool-result-delivered": "tool-result-delivered";
17187
+ unlabeled: "unlabeled";
17188
+ }>;
17189
+ systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
17190
+ kind: z$1.ZodLiteral<"thread">;
17191
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
17192
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
17193
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
17194
+ reason: z$1.ZodEnum<{
17195
+ "host-daemon-restarted": "host-daemon-restarted";
17196
+ "host-removed": "host-removed";
17197
+ "manual-stop": "manual-stop";
17198
+ "provider-turn-idle": "provider-turn-idle";
17199
+ }>;
17200
+ }, z$1.core.$strip>>;
17201
+ status: z$1.ZodEnum<{
17202
+ completed: "completed";
17203
+ failed: "failed";
17204
+ interrupted: "interrupted";
17205
+ }>;
17206
+ threadId: z$1.ZodString;
17207
+ }, z$1.core.$strip>>>;
17208
+ threadId: z$1.ZodString;
17209
+ threadName: z$1.ZodString;
17210
+ }, z$1.core.$strip>, z$1.ZodObject<{
17211
+ count: z$1.ZodNumber;
17212
+ kind: z$1.ZodLiteral<"thread-batch">;
17213
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
17214
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
17215
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
17216
+ reason: z$1.ZodEnum<{
17217
+ "host-daemon-restarted": "host-daemon-restarted";
17218
+ "host-removed": "host-removed";
17219
+ "manual-stop": "manual-stop";
17220
+ "provider-turn-idle": "provider-turn-idle";
17221
+ }>;
17222
+ }, z$1.core.$strip>>;
17223
+ status: z$1.ZodEnum<{
17224
+ completed: "completed";
17225
+ failed: "failed";
17226
+ interrupted: "interrupted";
17227
+ }>;
17228
+ threadId: z$1.ZodString;
17229
+ }, z$1.core.$strip>>>;
17230
+ }, z$1.core.$strip>, z$1.ZodObject<{
17231
+ kind: z$1.ZodLiteral<"tool-call">;
17232
+ suppress: z$1.ZodBoolean;
17233
+ toolName: z$1.ZodString;
17234
+ }, z$1.core.$strip>, z$1.ZodObject<{
17235
+ kind: z$1.ZodLiteral<"directory">;
17236
+ path: z$1.ZodString;
17237
+ }, z$1.core.$strip>], "kind">>;
17238
+ text: z$1.ZodString;
17239
+ threadId: z$1.ZodString;
17240
+ turnId: z$1.ZodNullable<z$1.ZodString>;
17241
+ turnRequest: z$1.ZodObject<{
17242
+ isGrouped: z$1.ZodBoolean;
17243
+ kind: z$1.ZodEnum<{
17244
+ message: "message";
17245
+ steer: "steer";
17246
+ }>;
17247
+ status: z$1.ZodEnum<{
17248
+ accepted: "accepted";
17249
+ pending: "pending";
17250
+ rejected: "rejected";
17251
+ }>;
17252
+ }, z$1.core.$strip>;
17253
+ }, z$1.core.$strip>>>;
16845
17254
  pendingTodos: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
16846
17255
  items: z$1.ZodArray<z$1.ZodObject<{
16847
17256
  id: z$1.ZodString;
@@ -17178,6 +17587,170 @@ declare const threadTimelineReadResponseSchema: z$1.ZodUnion<readonly [z$1.ZodOb
17178
17587
  }>;
17179
17588
  sourceSeq: z$1.ZodNumber;
17180
17589
  }, z$1.core.$strip>>;
17590
+ pendingSteers: z$1.ZodArray<z$1.ZodObject<{
17591
+ attachments: z$1.ZodNullable<z$1.ZodObject<{
17592
+ imageUrls: z$1.ZodArray<z$1.ZodString>;
17593
+ localFileDetails: z$1.ZodArray<z$1.ZodObject<{
17594
+ name: z$1.ZodString;
17595
+ path: z$1.ZodString;
17596
+ sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
17597
+ }, z$1.core.$strip>>;
17598
+ localFilePaths: z$1.ZodArray<z$1.ZodString>;
17599
+ localFiles: z$1.ZodNumber;
17600
+ localImagePaths: z$1.ZodArray<z$1.ZodString>;
17601
+ localImages: z$1.ZodNumber;
17602
+ webImages: z$1.ZodNumber;
17603
+ }, z$1.core.$strip>>;
17604
+ createdAt: z$1.ZodNumber;
17605
+ id: z$1.ZodString;
17606
+ initiator: z$1.ZodEnum<{
17607
+ agent: "agent";
17608
+ system: "system";
17609
+ user: "user";
17610
+ }>;
17611
+ kind: z$1.ZodLiteral<"conversation">;
17612
+ mentions: z$1.ZodArray<z$1.ZodObject<{
17613
+ end: z$1.ZodNumber;
17614
+ resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
17615
+ kind: z$1.ZodLiteral<"thread">;
17616
+ label: z$1.ZodString;
17617
+ projectId: z$1.ZodOptional<z$1.ZodString>;
17618
+ threadId: z$1.ZodString;
17619
+ }, z$1.core.$strip>, z$1.ZodObject<{
17620
+ kind: z$1.ZodLiteral<"project">;
17621
+ label: z$1.ZodString;
17622
+ projectId: z$1.ZodString;
17623
+ }, z$1.core.$strip>, z$1.ZodObject<{
17624
+ kind: z$1.ZodLiteral<"section">;
17625
+ label: z$1.ZodString;
17626
+ sectionId: z$1.ZodString;
17627
+ }, z$1.core.$strip>, z$1.ZodObject<{
17628
+ entryKind: z$1.ZodEnum<{
17629
+ directory: "directory";
17630
+ file: "file";
17631
+ }>;
17632
+ kind: z$1.ZodLiteral<"path">;
17633
+ label: z$1.ZodString;
17634
+ path: z$1.ZodString;
17635
+ source: z$1.ZodEnum<{
17636
+ "thread-storage": "thread-storage";
17637
+ workspace: "workspace";
17638
+ }>;
17639
+ }, z$1.core.$strip>, z$1.ZodObject<{
17640
+ argumentHint: z$1.ZodNullable<z$1.ZodString>;
17641
+ kind: z$1.ZodLiteral<"command">;
17642
+ label: z$1.ZodString;
17643
+ name: z$1.ZodString;
17644
+ origin: z$1.ZodEnum<{
17645
+ builtin: "builtin";
17646
+ project: "project";
17647
+ user: "user";
17648
+ }>;
17649
+ source: z$1.ZodEnum<{
17650
+ command: "command";
17651
+ skill: "skill";
17652
+ }>;
17653
+ trigger: z$1.ZodEnum<{
17654
+ "/": "/";
17655
+ $: "$";
17656
+ }>;
17657
+ }, z$1.core.$strip>, z$1.ZodObject<{
17658
+ icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
17659
+ itemId: z$1.ZodString;
17660
+ kind: z$1.ZodLiteral<"plugin">;
17661
+ label: z$1.ZodString;
17662
+ pluginId: z$1.ZodString;
17663
+ }, z$1.core.$strip>, z$1.ZodObject<{
17664
+ kind: z$1.ZodLiteral<"attachment">;
17665
+ label: z$1.ZodString;
17666
+ path: z$1.ZodString;
17667
+ }, z$1.core.$strip>], "kind">, unknown>;
17668
+ start: z$1.ZodNumber;
17669
+ }, z$1.core.$strip>>;
17670
+ messageSeq: z$1.ZodNumber;
17671
+ role: z$1.ZodLiteral<"user">;
17672
+ senderThreadId: z$1.ZodNullable<z$1.ZodString>;
17673
+ sourceSeqEnd: z$1.ZodNumber;
17674
+ sourceSeqStart: z$1.ZodNumber;
17675
+ startedAt: z$1.ZodNumber;
17676
+ systemMessageKind: z$1.ZodEnum<{
17677
+ "child-completed": "child-completed";
17678
+ "child-failed": "child-failed";
17679
+ "child-interrupted": "child-interrupted";
17680
+ "child-needs-attention": "child-needs-attention";
17681
+ "child-outcome-batch": "child-outcome-batch";
17682
+ "environment-directory-updated": "environment-directory-updated";
17683
+ "ownership-assigned": "ownership-assigned";
17684
+ "ownership-batch": "ownership-batch";
17685
+ "ownership-removed": "ownership-removed";
17686
+ "tool-result-delivered": "tool-result-delivered";
17687
+ unlabeled: "unlabeled";
17688
+ }>;
17689
+ systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
17690
+ kind: z$1.ZodLiteral<"thread">;
17691
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
17692
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
17693
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
17694
+ reason: z$1.ZodEnum<{
17695
+ "host-daemon-restarted": "host-daemon-restarted";
17696
+ "host-removed": "host-removed";
17697
+ "manual-stop": "manual-stop";
17698
+ "provider-turn-idle": "provider-turn-idle";
17699
+ }>;
17700
+ }, z$1.core.$strip>>;
17701
+ status: z$1.ZodEnum<{
17702
+ completed: "completed";
17703
+ failed: "failed";
17704
+ interrupted: "interrupted";
17705
+ }>;
17706
+ threadId: z$1.ZodString;
17707
+ }, z$1.core.$strip>>>;
17708
+ threadId: z$1.ZodString;
17709
+ threadName: z$1.ZodString;
17710
+ }, z$1.core.$strip>, z$1.ZodObject<{
17711
+ count: z$1.ZodNumber;
17712
+ kind: z$1.ZodLiteral<"thread-batch">;
17713
+ outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
17714
+ interruption: z$1.ZodOptional<z$1.ZodObject<{
17715
+ cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
17716
+ reason: z$1.ZodEnum<{
17717
+ "host-daemon-restarted": "host-daemon-restarted";
17718
+ "host-removed": "host-removed";
17719
+ "manual-stop": "manual-stop";
17720
+ "provider-turn-idle": "provider-turn-idle";
17721
+ }>;
17722
+ }, z$1.core.$strip>>;
17723
+ status: z$1.ZodEnum<{
17724
+ completed: "completed";
17725
+ failed: "failed";
17726
+ interrupted: "interrupted";
17727
+ }>;
17728
+ threadId: z$1.ZodString;
17729
+ }, z$1.core.$strip>>>;
17730
+ }, z$1.core.$strip>, z$1.ZodObject<{
17731
+ kind: z$1.ZodLiteral<"tool-call">;
17732
+ suppress: z$1.ZodBoolean;
17733
+ toolName: z$1.ZodString;
17734
+ }, z$1.core.$strip>, z$1.ZodObject<{
17735
+ kind: z$1.ZodLiteral<"directory">;
17736
+ path: z$1.ZodString;
17737
+ }, z$1.core.$strip>], "kind">>;
17738
+ text: z$1.ZodString;
17739
+ threadId: z$1.ZodString;
17740
+ turnId: z$1.ZodNullable<z$1.ZodString>;
17741
+ turnRequest: z$1.ZodObject<{
17742
+ isGrouped: z$1.ZodBoolean;
17743
+ kind: z$1.ZodEnum<{
17744
+ message: "message";
17745
+ steer: "steer";
17746
+ }>;
17747
+ status: z$1.ZodEnum<{
17748
+ accepted: "accepted";
17749
+ pending: "pending";
17750
+ rejected: "rejected";
17751
+ }>;
17752
+ }, z$1.core.$strip>;
17753
+ }, z$1.core.$strip>>;
17181
17754
  pendingTodos: z$1.ZodNullable<z$1.ZodObject<{
17182
17755
  items: z$1.ZodArray<z$1.ZodObject<{
17183
17756
  id: z$1.ZodString;
@@ -17657,6 +18230,23 @@ declare const deleteOldServerCopyResponseSchema: z$1.ZodObject<{
17657
18230
  }, z$1.core.$strict>;
17658
18231
  type DeleteOldServerCopyResponse = z$1.infer<typeof deleteOldServerCopyResponseSchema>;
17659
18232
 
18233
+ declare const serverSweepFailuresResponseSchema: z$1.ZodObject<{
18234
+ failures: z$1.ZodArray<z$1.ZodObject<{
18235
+ attempts: z$1.ZodNumber;
18236
+ firstFailedAt: z$1.ZodNumber;
18237
+ itemKey: z$1.ZodString;
18238
+ lastError: z$1.ZodString;
18239
+ needsRecovery: z$1.ZodBoolean;
18240
+ retryAt: z$1.ZodNumber;
18241
+ sweep: z$1.ZodString;
18242
+ }, z$1.core.$strict>>;
18243
+ }, z$1.core.$strict>;
18244
+ type ServerSweepFailuresResponse = z$1.infer<typeof serverSweepFailuresResponseSchema>;
18245
+ declare const serverSweepRetryResponseSchema: z$1.ZodObject<{
18246
+ retried: z$1.ZodNumber;
18247
+ }, z$1.core.$strict>;
18248
+ type ServerSweepRetryResponse = z$1.infer<typeof serverSweepRetryResponseSchema>;
18249
+
17660
18250
  declare const threadTabsResponseSchema: z$1.ZodObject<{
17661
18251
  revision: z$1.ZodNumber;
17662
18252
  tabs: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
@@ -18082,9 +18672,7 @@ type EnvironmentListResult = Environment[];
18082
18672
  interface EnvironmentDeleteArgs {
18083
18673
  environmentId: string;
18084
18674
  }
18085
- type EnvironmentDeleteResult = {
18086
- ok: true;
18087
- };
18675
+ type EnvironmentDeleteResult = OperationResponse;
18088
18676
  interface EnvironmentListProvidersArgs {
18089
18677
  projectId?: string;
18090
18678
  hostId?: string;
@@ -18094,9 +18682,7 @@ type EnvironmentListProvidersResult = SystemEnvironmentProvider[];
18094
18682
  interface EnvironmentsArea {
18095
18683
  experimental_cleanup(args: EnvironmentActionArgs & {
18096
18684
  recover?: boolean;
18097
- }): Promise<{
18098
- ok: true;
18099
- }>;
18685
+ }): Promise<OperationResponse>;
18100
18686
  archiveThreads(args: EnvironmentActionArgs): Promise<EnvironmentArchiveThreadsResult>;
18101
18687
  commit(args: EnvironmentCommitArgs): Promise<EnvironmentCommitResult>;
18102
18688
  get(args: EnvironmentGetArgs): Promise<EnvironmentGetResult>;
@@ -18269,9 +18855,7 @@ interface MachineProviderListArgs {
18269
18855
  signal?: AbortSignal;
18270
18856
  }
18271
18857
  type HostCreateJoinCodeResult = CreateHostJoinCodeResponse;
18272
- type HostDeleteResult = {
18273
- ok: true;
18274
- };
18858
+ type HostDeleteResult = HostRemovalResponse;
18275
18859
  type HostDirectoryResult = HostDirectoryListing;
18276
18860
  type HostDiscoverReposResult = HostDiscoveredReposResponse;
18277
18861
  type HostGetResult = Host & {
@@ -18287,7 +18871,7 @@ type HostPathsExistResult = HostPathsExistResponse;
18287
18871
  type HostPickFolderResult = HostPickFolderResponse;
18288
18872
  type HostProviderCliStatusResult = HostProviderCliStatusResponse;
18289
18873
  type HostRetryUpdateResult = HostRetryUpdateResponse;
18290
- type HostActionResult = HostActionResponse;
18874
+ type HostRetryCleanupResult = HostRemovalResponse;
18291
18875
  type HostUpdateResult = Host;
18292
18876
  type MachineProviderListResult = SystemMachineProvider[];
18293
18877
  interface HostsArea {
@@ -18311,7 +18895,7 @@ interface HostsArea {
18311
18895
  pickFolder(args: HostPickFolderArgs): Promise<HostPickFolderResult>;
18312
18896
  providerCliStatus(args: HostProviderCliStatusArgs): Promise<HostProviderCliStatusResult>;
18313
18897
  experimental_resume(args: HostActionArgs): Promise<Host>;
18314
- experimental_retryCleanup(args: HostActionArgs): Promise<HostActionResult>;
18898
+ experimental_retryCleanup(args: HostActionArgs): Promise<HostRetryCleanupResult>;
18315
18899
  retryUpdate(args: HostRetryUpdateArgs): Promise<HostRetryUpdateResult>;
18316
18900
  experimental_suspend(args: HostActionArgs): Promise<Host>;
18317
18901
  experimental_reconcile(args: HostActionArgs): Promise<Host>;
@@ -18327,6 +18911,9 @@ interface ServerMoveStatusArgs {
18327
18911
  interface ServerExportArgs {
18328
18912
  signal?: AbortSignal;
18329
18913
  }
18914
+ interface ServerSweepFailuresArgs {
18915
+ signal?: AbortSignal;
18916
+ }
18330
18917
  interface ServerExportResult {
18331
18918
  fileName: string;
18332
18919
  body: ReadableStream<Uint8Array>;
@@ -18338,6 +18925,8 @@ interface ExperimentalServerArea {
18338
18925
  moveStatus(args?: ServerMoveStatusArgs): Promise<ServerMoveStatusResponse>;
18339
18926
  cancelMove(): Promise<ServerMoveStatus>;
18340
18927
  export(args?: ServerExportArgs): Promise<ServerExportResult>;
18928
+ sweepFailures(args?: ServerSweepFailuresArgs): Promise<ServerSweepFailuresResponse>;
18929
+ retrySweepFailures(): Promise<ServerSweepRetryResponse>;
18341
18930
  }
18342
18931
 
18343
18932
  interface ProjectListArgs {
@@ -18447,9 +19036,7 @@ type ProjectAttachmentUploadResult = UploadedPromptAttachment;
18447
19036
  type ProjectCommandsResult = CommandListResponse;
18448
19037
  type ProjectCreateResult = ProjectResponse;
18449
19038
  type ProjectDefaultExecutionOptionsResult = ProjectExecutionDefaults | null;
18450
- type ProjectDeleteResult = {
18451
- ok: true;
18452
- };
19039
+ type ProjectDeleteResult = OperationResponse;
18453
19040
  interface ProjectFileContentResult {
18454
19041
  content: string;
18455
19042
  contentEncoding: "base64" | "utf8";
@@ -18464,9 +19051,7 @@ type ProjectPromptHistoryResult = PromptHistoryResponse;
18464
19051
  type ProjectReorderResult = ProjectResponse[];
18465
19052
  type ProjectSidebarBootstrapResult = SidebarBootstrapResponse;
18466
19053
  type ProjectSourceAddResult = ProjectSource;
18467
- type ProjectSourceDeleteResult = {
18468
- ok: true;
18469
- };
19054
+ type ProjectSourceDeleteResult = OperationResponse;
18470
19055
  type ProjectSourceUpdateResult = ProjectSource;
18471
19056
  type ProjectUpdateResult = ProjectResponse;
18472
19057
  interface ProjectSourcesArea {
@@ -18475,7 +19060,7 @@ interface ProjectSourcesArea {
18475
19060
  update(args: ProjectSourceUpdateArgs): Promise<ProjectSourceUpdateResult>;
18476
19061
  }
18477
19062
  interface ProjectAttachmentsArea {
18478
- copy(args: ProjectAttachmentCopyArgs): Promise<void>;
19063
+ copy(args: ProjectAttachmentCopyArgs): Promise<OperationResponse>;
18479
19064
  read(args: ProjectAttachmentReadArgs): Promise<ProjectAttachmentReadResult>;
18480
19065
  upload(args: ProjectAttachmentUploadArgs): Promise<ProjectAttachmentUploadResult>;
18481
19066
  }
@@ -19249,24 +19834,16 @@ type ThreadTimelineReadResult = ThreadTimelineReadResponse;
19249
19834
  type ThreadArchiveResult = ThreadArchiveAllResponse;
19250
19835
  type ThreadOpenResult = ThreadOpenResponse;
19251
19836
  type ThreadPaneActionResult = ThreadPaneActionResponse;
19252
- type ThreadDeleteResult = {
19253
- ok: true;
19254
- };
19837
+ type ThreadDeleteResult = OperationResponse;
19255
19838
  type ThreadSendResult = SendMessageResponse;
19256
19839
  type ThreadRetryResult = RetryTurnResponse;
19257
19840
  type ThreadEditMessageResult = EditMessageResponse;
19258
- type ThreadStopResult = {
19259
- ok: true;
19260
- };
19261
- type ThreadCompactResult = {
19262
- ok: true;
19263
- };
19264
- type ThreadBannerActionResult = {
19265
- ok: true;
19266
- };
19267
- type ThreadUnarchiveResult = {
19268
- ok: true;
19841
+ type ThreadStopResult = OperationResponse & {
19842
+ status: ThreadStatus;
19269
19843
  };
19844
+ type ThreadCompactResult = OperationResponse;
19845
+ type ThreadBannerActionResult = OperationResponse;
19846
+ type ThreadUnarchiveResult = OperationResponse;
19270
19847
  type ThreadArchiveAllResult = ThreadArchiveAllResponse;
19271
19848
  type ThreadReadStateResult = ThreadResponse;
19272
19849
  type ThreadRestoreEnvironmentResult = ThreadResponse;
@@ -19275,13 +19852,9 @@ type ThreadPromptHistoryResult = PromptHistoryResponse;
19275
19852
  type ThreadQueuedMessagesResult = ThreadQueuedMessageListResponse;
19276
19853
  type ThreadQueuedMessageCreateResult = ThreadQueuedMessage;
19277
19854
  type ThreadQueuedMessageUpdateResult = ThreadQueuedMessage;
19278
- type ThreadQueuedMessageDeleteResult = {
19279
- ok: true;
19280
- };
19855
+ type ThreadQueuedMessageDeleteResult = OperationResponse;
19281
19856
  type ThreadQueuedMessageEditHoldResult = QueuedMessageEditHoldResponse;
19282
- type ThreadQueuedMessageEditHoldReleaseResult = {
19283
- ok: true;
19284
- };
19857
+ type ThreadQueuedMessageEditHoldReleaseResult = OperationResponse;
19285
19858
  type ThreadQueuedMessageReorderResult = ThreadQueuedMessageListResponse;
19286
19859
  type ThreadQueuedMessageSendResult = SendQueuedMessageResponse;
19287
19860
  type ThreadQueuedMessageGroupBoundaryResult = ThreadQueuedMessageListResponse;
@@ -20189,6 +20762,36 @@ interface PluginStorage {
20189
20762
  */
20190
20763
  migrate(db: Database.Database, statements: string[]): void;
20191
20764
  }
20765
+ /**
20766
+ * One terminal outcome of the work on a thread, in a single union so a plugin
20767
+ * that keeps a record per run handles every way that work can end in one
20768
+ * exhaustive `switch`. Experimental: see docs/api_to_audit.md.
20769
+ *
20770
+ * - `completed`: the thread went idle; `lastAssistantText` as on `thread.idle`.
20771
+ * - `failed`: the thread landed in `error`; `error` as on `thread.failed`.
20772
+ * - `cancelled`: a queued message was removed before it dispatched; `entry`
20773
+ * is that message, so `entry.originPluginId` says whose it was.
20774
+ * - `archived` / `deleted`: the thread itself is gone.
20775
+ */
20776
+ type PluginThreadSettledEvent = {
20777
+ outcome: "completed";
20778
+ thread: ThreadResponse;
20779
+ lastAssistantText: string | null;
20780
+ } | {
20781
+ outcome: "failed";
20782
+ thread: ThreadResponse;
20783
+ error: string | null;
20784
+ } | {
20785
+ outcome: "cancelled";
20786
+ thread: ThreadResponse;
20787
+ entry: ThreadQueuedMessage;
20788
+ } | {
20789
+ outcome: "archived";
20790
+ thread: ThreadResponse;
20791
+ } | {
20792
+ outcome: "deleted";
20793
+ thread: ThreadResponse;
20794
+ };
20192
20795
  /**
20193
20796
  * Why a turn failed, assembled by core from the failed turn's own records so a
20194
20797
  * listener never has to replay the event log to find out.
@@ -20390,6 +20993,13 @@ interface PluginThreadEventPayloads {
20390
20993
  "message.cancelled": {
20391
20994
  entry: ThreadQueuedMessage;
20392
20995
  };
20996
+ /**
20997
+ * Fired with every `thread.idle`, `thread.failed`, `thread.archived` and
20998
+ * `thread.deleted`, and with every `message.cancelled` whose thread still
20999
+ * exists, as one {@link PluginThreadSettledEvent}. Experimental: see
21000
+ * docs/api_to_audit.md.
21001
+ */
21002
+ "experimental_thread.settled": PluginThreadSettledEvent;
20393
21003
  }
20394
21004
  type PluginThreadEventName = keyof PluginThreadEventPayloads;
20395
21005
  type PluginThreadEventHandler<E extends PluginThreadEventName> = (payload: PluginThreadEventPayloads[E]) => void | Promise<void>;
@@ -21743,7 +22353,12 @@ interface PluginUi {
21743
22353
  interface PluginEvents {
21744
22354
  /**
21745
22355
  * Add a thread lifecycle listener. Multiple listeners for the same event are
21746
- * additive and run independently in registration order.
22356
+ * additive and run independently in registration order. Events for a thread
22357
+ * that this plugin's own `bb.sdk.threads.spawn` or `bb.sdk.threads.fork`
22358
+ * call may have created wait until that call has returned to the plugin,
22359
+ * and keep their order. Record the returned thread before your next
22360
+ * `await` and its `thread.idle` or `thread.failed` finds the record, even
22361
+ * when the turn ends before the call returns.
21747
22362
  */
21748
22363
  on<E extends PluginThreadEventName>(event: E, handler: PluginThreadEventHandler<E>): void;
21749
22364
  }
@@ -21772,36 +22387,6 @@ interface PluginServerApi {
21772
22387
  * not a place to write.
21773
22388
  */
21774
22389
  readonly experimental_dataDir: string;
21775
- /**
21776
- * Internal to bb's own connect plugins. Do not use: it is not part of the
21777
- * plugin API and may change or disappear in any release.
21778
- *
21779
- * Open (or share) this server's tunnel ingress for `audience`, a private
21780
- * listener on 127.0.0.1 with an ephemeral port. For a plugin that runs a
21781
- * tunnel client for bb connect next: point the client at `baseUrl`.
21782
- *
21783
- * Every HTTP request and WebSocket upgrade must carry an
21784
- * `x-bb-gate-assertion` signed by the bb connect gate for `audience`
21785
- * (`server:<serverId>`), the request method and the exact path and query;
21786
- * anything else is answered 401. A verified request reaches the same app
21787
- * as `loopbackBaseUrl`, authenticated only by the gate's claims.
21788
- *
21789
- * Opening the same audience again shares the listener; it stops when every
21790
- * handle is closed. Handles close when the plugin is disabled or unloaded.
21791
- */
21792
- internal_DO_NOT_USE_openTunnelIngress(options: InternalDoNotUsePluginTunnelIngressOptions): Promise<InternalDoNotUsePluginTunnelIngress>;
21793
- }
21794
- /** Options for `bb.server.internal_DO_NOT_USE_openTunnelIngress`. */
21795
- interface InternalDoNotUsePluginTunnelIngressOptions {
21796
- /** The gate assertion audience this ingress accepts, e.g. `server:<id>`. */
21797
- audience: string;
21798
- }
21799
- /** A handle on an open tunnel ingress. */
21800
- interface InternalDoNotUsePluginTunnelIngress {
21801
- /** Base URL of the ingress listener, e.g. "http://127.0.0.1:41234". */
21802
- readonly baseUrl: string;
21803
- /** Release this handle; idempotent. */
21804
- close(): Promise<void>;
21805
22390
  }
21806
22391
  /** Options for one `complete` call. */
21807
22392
  interface PluginAiCompleteOptions {
@@ -21885,45 +22470,6 @@ interface PluginSharedPortTunnelIdentity {
21885
22470
  /** Gate apex without a scheme, e.g. "getbb.app". */
21886
22471
  baseDomain: string;
21887
22472
  }
21888
- /** The frp server a machine's next tunnel dials. */
21889
- interface InternalDoNotUsePluginNextTunnelServer {
21890
- /** `wss` for TLS, `websocket` for plain `ws://` (local runs only). */
21891
- protocol: "websocket" | "wss";
21892
- /** Host name without a port, e.g. "tunnel.next.getbb.app". */
21893
- host: string;
21894
- port: number;
21895
- }
21896
- /** Where every eligible machine serves its port shares through bb connect next. */
21897
- interface InternalDoNotUsePluginNextTunnelConfig {
21898
- /**
21899
- * Next domain without a scheme, with a port only for local runs, e.g.
21900
- * "next.getbb.app". A share answers at `<machine-label>--<port>.<domain>`.
21901
- */
21902
- domain: string;
21903
- server: InternalDoNotUsePluginNextTunnelServer;
21904
- }
21905
- /** One machine's next tunnel, as its daemon last reported it. */
21906
- interface InternalDoNotUsePluginHostNextTunnelStatus {
21907
- hostId: string;
21908
- hostName: string;
21909
- /**
21910
- * `idle` while the machine shares no port or next is off, `refused` when
21911
- * the gate refused the machine credential (retried after five minutes),
21912
- * `offline` when the gate cannot be reached (retried with backoff),
21913
- * `error` when the daemon could not start frpc or refused the configuration.
21914
- */
21915
- state: "connected" | "connecting" | "error" | "idle" | "offline" | "refused";
21916
- /** The machine's gate label, or null before the daemon learned it. */
21917
- label: string | null;
21918
- lastError: string | null;
21919
- nextRetryAt: number | null;
21920
- since: number;
21921
- shares: Array<{
21922
- port: number;
21923
- state: "active" | "pending" | "refused";
21924
- error: string | null;
21925
- }>;
21926
- }
21927
22473
  interface PluginHosts {
21928
22474
  /** Create the owning plugin's typed client for its singular `bb.host` entry. */
21929
22475
  experimental_client<Contract extends PluginRpcContract, Signals extends ExperimentalHostSignals = {}>(args: {
@@ -21946,31 +22492,6 @@ interface PluginHosts {
21946
22492
  * here: it is owned by the daemon's trusted enrollment.
21947
22493
  */
21948
22494
  declareSharedPorts(hostId: string, ports: readonly number[]): void;
21949
- /**
21950
- * Internal to bb's own connect plugins. Do not use: it is not part of the
21951
- * plugin API and may change or disappear in any release.
21952
- *
21953
- * Turn bb connect next machine tunnels on (a config) or off (`null`). The
21954
- * server sends the config to every connected daemon that holds a bb connect
21955
- * machine credential and speaks a protocol that knows next tunnels; each
21956
- * such daemon runs frpc with one proxy per port declared with
21957
- * `declareSharedPorts`, at `<machine-label>--<port>.<domain>`. The daemon
21958
- * refuses a domain or tunnel server outside its trusted enrollment's
21959
- * domain. One plugin owns the setting at a time; another plugin's call
21960
- * throws while it is set. Cleared when the owning plugin is disabled.
21961
- */
21962
- internal_DO_NOT_USE_setNextTunnels(config: InternalDoNotUsePluginNextTunnelConfig | null): void;
21963
- /** Internal to bb's own connect plugins; do not use. The last next-tunnel status of every connected daemon that reported one. */
21964
- internal_DO_NOT_USE_nextTunnelStatuses(): InternalDoNotUsePluginHostNextTunnelStatus[];
21965
- /**
21966
- * Internal to bb's own connect plugins. Do not use: it is not part of the
21967
- * plugin API and may change or disappear in any release.
21968
- *
21969
- * Call `listener` whenever a daemon reports a changed next-tunnel status or
21970
- * its session ends. Returns an unsubscribe function; plugin disposal also
21971
- * unsubscribes.
21972
- */
21973
- internal_DO_NOT_USE_onNextTunnelStatusChange(listener: () => void): () => void;
21974
22495
  }
21975
22496
  interface PluginStatusApi {
21976
22497
  /**
@@ -23722,8 +24243,7 @@ interface ExperimentalThreadRowMetadataDataInput {
23722
24243
  /**
23723
24244
  * A small item on a thread row's metadata line, under the title: a badge, not
23724
24245
  * a control. Items share one line, left to right, and the line clips at the
23725
- * row's edge. bb's sidebar draws the line only while the `threadRowMetadata`
23726
- * experiment is on and the user turns on Organize → Rows → Metadata, and only
24246
+ * row's edge. bb's sidebar draws the line when the user turns on Organize → Rows → Metadata, and only
23727
24247
  * on rows where an item shows something.
23728
24248
  * Load the line's data in `useData`, a React hook bb calls once for the
23729
24249
  * whole app while any list draws a metadata line, never per row; it
@@ -25275,6 +25795,8 @@ interface ExperimentalMessageMetadataRegistration {
25275
25795
  placement?: ExperimentalMessageMetadataPlacement;
25276
25796
  component: ComponentType<ExperimentalMessageMetadataProps>;
25277
25797
  }
25798
+ /** A timeline a `messageAction` can show in; see {@link PluginMessageActionRegistration.experimental_surfaces}. */
25799
+ type ExperimentalMessageActionSurface = "embedded-chat" | "thread-view";
25278
25800
  /** Context handed to a `messageAction`'s `run`. */
25279
25801
  interface PluginMessageActionContext {
25280
25802
  /** The thread whose timeline surfaced the action. */
@@ -25295,12 +25817,13 @@ interface PluginMessageActionContext {
25295
25817
  composer: PluginComposerApi | null;
25296
25818
  }
25297
25819
  /**
25298
- * An action on chat messages in the main thread timeline: an icon button in
25299
- * the per-message action bar (user and assistant messages) and an entry in
25300
- * the assistant-message text-selection menu. Embedded `ThreadChat` timelines
25301
- * do not show slot-registered actions. Host-rendered chrome — the plugin
25302
- * supplies title, icon, and `run` behavior only. Resolved icon names take precedence over
25303
- * plugin branding; omitted or unknown names fall back to branding.
25820
+ * An action on chat messages in every thread timeline, including embedded
25821
+ * `ThreadChat` timelines unless `experimental_surfaces` narrows it: an icon
25822
+ * button in the per-message action bar (user and assistant messages) and an
25823
+ * entry in the assistant-message text-selection menu. Host-rendered chrome —
25824
+ * the plugin supplies title, icon, and `run` behavior only. Resolved icon
25825
+ * names take precedence over plugin branding; omitted or unknown names fall
25826
+ * back to branding.
25304
25827
  */
25305
25828
  interface PluginMessageActionRegistration {
25306
25829
  /** Unique within the plugin; letters, digits, `-`, `_`. */
@@ -25308,6 +25831,12 @@ interface PluginMessageActionRegistration {
25308
25831
  /** Tooltip / menu label for the action. */
25309
25832
  title: string;
25310
25833
  icon?: BbIconName;
25834
+ /**
25835
+ * Timelines that show the action: `"thread-view"` is bb's thread view and
25836
+ * `"embedded-chat"` an embedded `ThreadChat`. Omit for both. Experimental:
25837
+ * see docs/api_to_audit.md.
25838
+ */
25839
+ experimental_surfaces?: readonly ExperimentalMessageActionSurface[];
25311
25840
  /**
25312
25841
  * Runs when the user activates the action. Errors (sync or async) are
25313
25842
  * contained and logged; they never break the timeline.
@@ -25340,6 +25869,13 @@ interface PluginCommandShortcut {
25340
25869
  alt?: boolean;
25341
25870
  shift?: boolean;
25342
25871
  }
25872
+ /** The fields of a keydown that {@link PluginSdkApp.experimental_matchesShortcutKey} reads; DOM and React keyboard events both fit. */
25873
+ interface ExperimentalShortcutKeyEvent {
25874
+ key: string;
25875
+ code: string;
25876
+ altKey: boolean;
25877
+ shiftKey: boolean;
25878
+ }
25343
25879
  /**
25344
25880
  * A command registered with `app.commands.register`, listed in bb's quick
25345
25881
  * palette (Mod+Shift+P) under the plugin's name
@@ -25905,6 +26441,13 @@ interface ComposerCustomization {
25905
26441
  id: string;
25906
26442
  /** Composer kinds where this customization is active; omit for all kinds. */
25907
26443
  scopes?: readonly PluginComposerScope["kind"][];
26444
+ /**
26445
+ * Controls rendered in the composer's action row, before the voice, stop
26446
+ * and submit controls. The collapsed single-line layout leaves them out,
26447
+ * as it does bb's `+` menu and model picker; they show once the composer
26448
+ * expands. bb shows the first three plugins' actions inline and the rest
26449
+ * behind a "More plugin actions" button.
26450
+ */
25908
26451
  actions?: readonly {
25909
26452
  id: string;
25910
26453
  component: ComponentType;
@@ -26327,8 +26870,8 @@ interface ComposerSubmitOptions {
26327
26870
  /**
26328
26871
  * A consumer-supplied action on the messages of one `ThreadChat` instance,
26329
26872
  * rendered in the embedded timeline's per-message action bar alongside the
26330
- * native actions. Slot-registered `messageAction`s do not appear there. Unlike
26331
- * the `messageAction` slot this is scoped to the rendering component, not
26873
+ * native and slot-registered `messageAction` actions. Unlike the
26874
+ * `messageAction` slot this is scoped to the rendering component, not
26332
26875
  * registered globally.
26333
26876
  */
26334
26877
  interface ThreadChatMessageAction {
@@ -26571,9 +27114,10 @@ interface NewThreadRequest {
26571
27114
  */
26572
27115
  interface NewThreadComposerProps {
26573
27116
  /**
26574
- * Seeds the project picker. The user can change it, including choosing
26575
- * "Don't work in a project"; see {@link NewThreadRequest.projectId} for the
26576
- * submitted projectless shape.
27117
+ * Seeds the project picker. Omitted, the picker starts on the project the
27118
+ * user last picked in bb's New thread view. The user can change it,
27119
+ * including choosing "Don't work in a project"; see
27120
+ * {@link NewThreadRequest.projectId} for the submitted projectless shape.
26577
27121
  */
26578
27122
  defaultProjectId?: string;
26579
27123
  /**
@@ -26688,6 +27232,13 @@ interface MarkdownProps {
26688
27232
  kind: "host";
26689
27233
  }>;
26690
27234
  };
27235
+ /**
27236
+ * The chat message this Markdown shows. With it, the code-fence renderers
27237
+ * and message directives plugins register render here as they do in the
27238
+ * thread timeline, and receive this as their `message`. Without it, fences
27239
+ * render as code and directives as their source text.
27240
+ */
27241
+ experimental_message?: PluginMessageDirectiveMessage;
26691
27242
  }
26692
27243
  /**
26693
27244
  * Props for BB's semantic URL link. The host owns ordinary activation while
@@ -27638,6 +28189,22 @@ interface PluginSdkApp {
27638
28189
  experimental_VoiceRecordingBar: ComponentType<ExperimentalVoiceRecordingBarProps>;
27639
28190
  experimental_FailedVoiceRecordings: ComponentType<ExperimentalFailedVoiceRecordingsProps>;
27640
28191
  experimental_ShortcutHint: ComponentType<ExperimentalShortcutHintProps>;
28192
+ /**
28193
+ * Whether `event` presses `key` (a `PluginCommandShortcut` key such as
28194
+ * `"k"`, `"["` or `"Enter"`), compared the way bb compares keys for its own
28195
+ * keybindings; the caller checks modifiers. Letter, digit and punctuation
28196
+ * keys match by physical position when the active layout types a non-Latin
28197
+ * character there, so Ctrl+K is found on Cyrillic, Greek, Hebrew or Arabic
28198
+ * layouts, while Latin layouts such as Dvorak keep their own letters.
28199
+ * Experimental: see docs/api_to_audit.md.
28200
+ */
28201
+ experimental_matchesShortcutKey(event: ExperimentalShortcutKeyEvent, key: string): boolean;
28202
+ /**
28203
+ * Cuts `value` to at most `maxChars` UTF-16 code units without splitting a
28204
+ * surrogate pair, so an emoji at the cut is dropped whole instead of leaving
28205
+ * half of it. Experimental: see docs/api_to_audit.md.
28206
+ */
28207
+ experimental_sliceUtf16Head(value: string, maxChars: number): string;
27641
28208
  experimental_ImageLightbox: ComponentType<ExperimentalImageLightboxProps>;
27642
28209
  experimental_PromptMentionIcon: ComponentType<ExperimentalPromptMentionIconProps>;
27643
28210
  /**
@@ -27919,5 +28486,7 @@ declare const experimental_THREAD_INFO_SECTION_GROUPS: {
27919
28486
  readonly storage: "3_storage";
27920
28487
  };
27921
28488
 
27922
- export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry, getHostPathBasename as experimental_getHostPathBasename, getHostPathComparisonKey as experimental_getHostPathComparisonKey, getHostPathDirname as experimental_getHostPathDirname, getRelativeHostPath as experimental_getRelativeHostPath, isHostPathWithin as experimental_isHostPathWithin, joinHostPath as experimental_joinHostPath, normalizeHostPath as experimental_normalizeHostPath, resolveHostPath as experimental_resolveHostPath };
27923
- export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUsePluginHostNextTunnelStatus, InternalDoNotUsePluginNextTunnelConfig, InternalDoNotUsePluginNextTunnelServer, InternalDoNotUsePluginTunnelIngress, InternalDoNotUsePluginTunnelIngressOptions, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
28489
+ declare function sliceUtf16Head(value: string, maxChars: number): string;
28490
+
28491
+ export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_PluginRpcCallError, experimental_PluginRpcRefusal, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_defineHostEntry, getHostPathBasename as experimental_getHostPathBasename, getHostPathComparisonKey as experimental_getHostPathComparisonKey, getHostPathDirname as experimental_getHostPathDirname, getRelativeHostPath as experimental_getRelativeHostPath, isHostPathWithin as experimental_isHostPathWithin, joinHostPath as experimental_joinHostPath, normalizeHostPath as experimental_normalizeHostPath, resolveHostPath as experimental_resolveHostPath, sliceUtf16Head as experimental_sliceUtf16Head };
28492
+ export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalShortcutHintProps, ExperimentalShortcutKeyEvent, ExperimentalShortcutPresentation, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationPlacement, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalSidebarNavigationTarget, ExperimentalTabContext, ExperimentalTabReference, ExperimentalTabRegistration, ExperimentalTabTargetReference, ExperimentalThreadActionTabProps, ExperimentalThreadContextCardProps, ExperimentalThreadContextCardRowProps, ExperimentalThreadContextCardRowRegistration, ExperimentalThreadContextCardSectionRegistration, ExperimentalThreadContextKind, ExperimentalThreadContextSegmentInput, ExperimentalThreadContextSegmentProps, ExperimentalThreadContextSegmentReference, ExperimentalThreadContextSegmentRegistration, ExperimentalThreadEnvironment, ExperimentalThreadHeaderRowProps, ExperimentalThreadHeaderRowRegistration, ExperimentalThreadHeaderTitleProps, ExperimentalThreadHeaderTitleRegistration, ExperimentalThreadInfoProps, ExperimentalThreadInfoRowRegistration, ExperimentalThreadInfoSectionRegistration, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadListProps, PluginThreadListRegistration, PluginThreadSettledEvent, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };