@get-bb/plugin-sdk 0.6.23 → 0.6.31

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.
@@ -100,14 +100,17 @@ declare const appSettingsSchema: z$1.ZodObject<{
100
100
  confirmThreadArchive: z$1.ZodBoolean;
101
101
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
102
102
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
103
+ keepHistoryAfterContextClear: z$1.ZodBoolean;
103
104
  machineGitCredentialsEnabled: z$1.ZodBoolean;
104
105
  machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
105
106
  managedBranchPrefix: z$1.ZodString;
107
+ onboardingCompletedAt: z$1.ZodNullable<z$1.ZodString>;
106
108
  providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
107
109
  collapse: "collapse";
108
110
  flat: "flat";
109
111
  }>>;
110
112
  providerOrder: z$1.ZodArray<z$1.ZodString>;
113
+ setupChecklistVisible: z$1.ZodBoolean;
111
114
  showDiagnosticEvents: z$1.ZodBoolean;
112
115
  showGitChanges: z$1.ZodBoolean;
113
116
  showKeyboardHints: z$1.ZodBoolean;
@@ -121,14 +124,17 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
121
124
  confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
122
125
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
123
126
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
127
+ keepHistoryAfterContextClear: z$1.ZodOptional<z$1.ZodBoolean>;
124
128
  machineGitCredentialsEnabled: z$1.ZodBoolean;
125
129
  machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
126
130
  managedBranchPrefix: z$1.ZodString;
131
+ onboardingCompletedAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
127
132
  providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
128
133
  collapse: "collapse";
129
134
  flat: "flat";
130
135
  }>>;
131
136
  providerOrder: z$1.ZodArray<z$1.ZodString>;
137
+ setupChecklistVisible: z$1.ZodOptional<z$1.ZodBoolean>;
132
138
  showDiagnosticEvents: z$1.ZodBoolean;
133
139
  showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
134
140
  showKeyboardHints: z$1.ZodBoolean;
@@ -141,14 +147,17 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
141
147
  confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
142
148
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
143
149
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
150
+ keepHistoryAfterContextClear: z$1.ZodOptional<z$1.ZodBoolean>;
144
151
  machineGitCredentialsEnabled: z$1.ZodBoolean;
145
152
  machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
146
153
  managedBranchPrefix: z$1.ZodString;
154
+ onboardingCompletedAt: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
147
155
  providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
148
156
  collapse: "collapse";
149
157
  flat: "flat";
150
158
  }>>;
151
159
  providerOrder: z$1.ZodArray<z$1.ZodString>;
160
+ setupChecklistVisible: z$1.ZodOptional<z$1.ZodBoolean>;
152
161
  showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
153
162
  showKeyboardHints: z$1.ZodBoolean;
154
163
  showUnhandledProviderEvents: z$1.ZodBoolean;
@@ -263,6 +272,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
263
272
  "panel.toggle": "panel.toggle";
264
273
  "plugins.enterSafeMode": "plugins.enterSafeMode";
265
274
  "plugins.exitSafeMode": "plugins.exitSafeMode";
275
+ "plugins.pruneCache": "plugins.pruneCache";
266
276
  "question.select.1": "question.select.1";
267
277
  "question.select.2": "question.select.2";
268
278
  "question.select.3": "question.select.3";
@@ -410,6 +420,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
410
420
  }>;
411
421
  updatedAt: z$1.ZodNumber;
412
422
  }, z$1.core.$strict>>;
423
+ timelineSequence: z$1.ZodOptional<z$1.ZodNumber>;
413
424
  }, z$1.core.$strict>>;
414
425
  type: z$1.ZodLiteral<"changed">;
415
426
  }, z$1.core.$strict>, z$1.ZodObject<{
@@ -451,6 +462,8 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
451
462
  "app-update-changed": "app-update-changed";
452
463
  "config-changed": "config-changed";
453
464
  "environment-availability-changed": "environment-availability-changed";
465
+ "plugin-install-jobs-changed": "plugin-install-jobs-changed";
466
+ "plugin-update-jobs-changed": "plugin-update-jobs-changed";
454
467
  "plugins-changed": "plugins-changed";
455
468
  "provider-registrations-changed": "provider-registrations-changed";
456
469
  "server-move-changed": "server-move-changed";
@@ -8122,6 +8135,7 @@ declare const hostDaemonCommandRegistry: {
8122
8135
  canInstall: z$1.ZodBoolean;
8123
8136
  canUpdate: z$1.ZodBoolean;
8124
8137
  installedVersion: z$1.ZodNullable<z$1.ZodString>;
8138
+ localLoginCommand: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
8125
8139
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
8126
8140
  minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
8127
8141
  planLabel: z$1.ZodNullable<z$1.ZodString>;
@@ -8311,6 +8325,20 @@ declare const hostDaemonCommandRegistry: {
8311
8325
  status: z$1.ZodLiteral<"error">;
8312
8326
  }, z$1.core.$loose>], "status">;
8313
8327
  }, z$1.core.$loose>], "supported">, "onlineRpc", true>;
8328
+ "host.discover_repos": HostDaemonCommandDescriptor<"host.discover_repos", z$1.ZodObject<{
8329
+ limit: z$1.ZodNumber;
8330
+ maxDepth: z$1.ZodNumber;
8331
+ sinceDays: z$1.ZodNumber;
8332
+ type: z$1.ZodLiteral<"host.discover_repos">;
8333
+ }, z$1.core.$strict>, z$1.ZodObject<{
8334
+ repos: z$1.ZodArray<z$1.ZodObject<{
8335
+ lastActivityAt: z$1.ZodString;
8336
+ name: z$1.ZodString;
8337
+ originUrl: z$1.ZodNullable<z$1.ZodString>;
8338
+ path: z$1.ZodString;
8339
+ }, z$1.core.$strict>>;
8340
+ truncated: z$1.ZodBoolean;
8341
+ }, z$1.core.$strict>, "onlineRpc", true>;
8314
8342
  "workspace.status": HostDaemonCommandDescriptor<"workspace.status", z$1.ZodObject<{
8315
8343
  environmentId: z$1.ZodString;
8316
8344
  maxUntrackedLineStatBytes: z$1.ZodNumber;
@@ -9065,6 +9093,17 @@ declare const hostDirectoryListingSchema: z$1.ZodObject<{
9065
9093
  parent: z$1.ZodNullable<z$1.ZodString>;
9066
9094
  }, z$1.core.$strip>;
9067
9095
  type HostDirectoryListing = z$1.infer<typeof hostDirectoryListingSchema>;
9096
+ declare const hostDiscoveredReposResponseSchema: z$1.ZodObject<{
9097
+ repos: z$1.ZodArray<z$1.ZodObject<{
9098
+ lastActivityAt: z$1.ZodString;
9099
+ name: z$1.ZodString;
9100
+ originUrl: z$1.ZodNullable<z$1.ZodString>;
9101
+ path: z$1.ZodString;
9102
+ projectId: z$1.ZodNullable<z$1.ZodString>;
9103
+ }, z$1.core.$strip>>;
9104
+ truncated: z$1.ZodBoolean;
9105
+ }, z$1.core.$strip>;
9106
+ type HostDiscoveredReposResponse = z$1.infer<typeof hostDiscoveredReposResponseSchema>;
9068
9107
  declare const hostCloneDefaultPathQuerySchema: z$1.ZodObject<{
9069
9108
  projectId: z$1.ZodString;
9070
9109
  }, z$1.core.$strip>;
@@ -9164,6 +9203,52 @@ declare const pluginApplyUpdateResultSchema: z$1.ZodObject<{
9164
9203
  }, z$1.core.$strip>>;
9165
9204
  }, z$1.core.$strip>;
9166
9205
  type PluginApplyUpdateResult$1 = z$1.infer<typeof pluginApplyUpdateResultSchema>;
9206
+ declare const pluginUpdateJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9207
+ displayName: z$1.ZodString;
9208
+ id: z$1.ZodString;
9209
+ pluginId: z$1.ZodString;
9210
+ state: z$1.ZodLiteral<"queued">;
9211
+ }, z$1.core.$strip>, z$1.ZodObject<{
9212
+ displayName: z$1.ZodString;
9213
+ id: z$1.ZodString;
9214
+ phase: z$1.ZodEnum<{
9215
+ "rolling-back": "rolling-back";
9216
+ activating: "activating";
9217
+ checking: "checking";
9218
+ preparing: "preparing";
9219
+ }>;
9220
+ pluginId: z$1.ZodString;
9221
+ state: z$1.ZodLiteral<"running">;
9222
+ }, z$1.core.$strip>, z$1.ZodObject<{
9223
+ displayName: z$1.ZodString;
9224
+ id: z$1.ZodString;
9225
+ pluginId: z$1.ZodString;
9226
+ result: z$1.ZodObject<{
9227
+ applied: z$1.ZodBoolean;
9228
+ detail: z$1.ZodOptional<z$1.ZodString>;
9229
+ from: z$1.ZodObject<{
9230
+ display: z$1.ZodString;
9231
+ version: z$1.ZodString;
9232
+ }, z$1.core.$strip>;
9233
+ outcome: z$1.ZodEnum<{
9234
+ "rolled-back": "rolled-back";
9235
+ current: "current";
9236
+ updated: "updated";
9237
+ }>;
9238
+ to: z$1.ZodOptional<z$1.ZodObject<{
9239
+ display: z$1.ZodString;
9240
+ version: z$1.ZodString;
9241
+ }, z$1.core.$strip>>;
9242
+ }, z$1.core.$strip>;
9243
+ state: z$1.ZodLiteral<"completed">;
9244
+ }, z$1.core.$strip>, z$1.ZodObject<{
9245
+ displayName: z$1.ZodString;
9246
+ error: z$1.ZodString;
9247
+ id: z$1.ZodString;
9248
+ pluginId: z$1.ZodString;
9249
+ state: z$1.ZodLiteral<"failed">;
9250
+ }, z$1.core.$strip>], "state">;
9251
+ type PluginUpdateJob = z$1.infer<typeof pluginUpdateJobSchema>;
9167
9252
  declare const pluginSourceDetailSchema: z$1.ZodObject<{
9168
9253
  engines: z$1.ZodObject<{
9169
9254
  bb: z$1.ZodOptional<z$1.ZodString>;
@@ -9424,6 +9509,253 @@ declare const pluginListResponseSchema: z$1.ZodObject<{
9424
9509
  }, z$1.core.$strip>>;
9425
9510
  }, z$1.core.$strip>;
9426
9511
  type PluginListResponse = z$1.infer<typeof pluginListResponseSchema>;
9512
+ declare const pluginInstallJobSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9513
+ displayName: z$1.ZodString;
9514
+ id: z$1.ZodString;
9515
+ state: z$1.ZodLiteral<"queued">;
9516
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9517
+ entryId: z$1.ZodString;
9518
+ kind: z$1.ZodLiteral<"catalog">;
9519
+ marketplace: z$1.ZodString;
9520
+ }, z$1.core.$strict>, z$1.ZodObject<{
9521
+ kind: z$1.ZodLiteral<"source">;
9522
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9523
+ kind: z$1.ZodLiteral<"root">;
9524
+ }, z$1.core.$strict>, z$1.ZodObject<{
9525
+ kind: z$1.ZodLiteral<"subdirectory">;
9526
+ path: z$1.ZodString;
9527
+ }, z$1.core.$strict>, z$1.ZodObject<{
9528
+ kind: z$1.ZodLiteral<"entry">;
9529
+ name: z$1.ZodString;
9530
+ }, z$1.core.$strict>], "kind">;
9531
+ source: z$1.ZodString;
9532
+ }, z$1.core.$strict>], "kind">;
9533
+ }, z$1.core.$strip>, z$1.ZodObject<{
9534
+ displayName: z$1.ZodString;
9535
+ id: z$1.ZodString;
9536
+ state: z$1.ZodLiteral<"running">;
9537
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9538
+ entryId: z$1.ZodString;
9539
+ kind: z$1.ZodLiteral<"catalog">;
9540
+ marketplace: z$1.ZodString;
9541
+ }, z$1.core.$strict>, z$1.ZodObject<{
9542
+ kind: z$1.ZodLiteral<"source">;
9543
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9544
+ kind: z$1.ZodLiteral<"root">;
9545
+ }, z$1.core.$strict>, z$1.ZodObject<{
9546
+ kind: z$1.ZodLiteral<"subdirectory">;
9547
+ path: z$1.ZodString;
9548
+ }, z$1.core.$strict>, z$1.ZodObject<{
9549
+ kind: z$1.ZodLiteral<"entry">;
9550
+ name: z$1.ZodString;
9551
+ }, z$1.core.$strict>], "kind">;
9552
+ source: z$1.ZodString;
9553
+ }, z$1.core.$strict>], "kind">;
9554
+ }, z$1.core.$strip>, z$1.ZodObject<{
9555
+ displayName: z$1.ZodString;
9556
+ id: z$1.ZodString;
9557
+ state: z$1.ZodLiteral<"cancelling">;
9558
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9559
+ entryId: z$1.ZodString;
9560
+ kind: z$1.ZodLiteral<"catalog">;
9561
+ marketplace: z$1.ZodString;
9562
+ }, z$1.core.$strict>, z$1.ZodObject<{
9563
+ kind: z$1.ZodLiteral<"source">;
9564
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9565
+ kind: z$1.ZodLiteral<"root">;
9566
+ }, z$1.core.$strict>, z$1.ZodObject<{
9567
+ kind: z$1.ZodLiteral<"subdirectory">;
9568
+ path: z$1.ZodString;
9569
+ }, z$1.core.$strict>, z$1.ZodObject<{
9570
+ kind: z$1.ZodLiteral<"entry">;
9571
+ name: z$1.ZodString;
9572
+ }, z$1.core.$strict>], "kind">;
9573
+ source: z$1.ZodString;
9574
+ }, z$1.core.$strict>], "kind">;
9575
+ }, z$1.core.$strip>, z$1.ZodObject<{
9576
+ displayName: z$1.ZodString;
9577
+ id: z$1.ZodString;
9578
+ plugin: z$1.ZodObject<{
9579
+ app: z$1.ZodObject<{
9580
+ bundle: z$1.ZodNullable<z$1.ZodObject<{
9581
+ compatible: z$1.ZodBoolean;
9582
+ cssUrl: z$1.ZodNullable<z$1.ZodString>;
9583
+ hash: z$1.ZodString;
9584
+ jsBytes: z$1.ZodNumber;
9585
+ jsUrl: z$1.ZodString;
9586
+ sdkMajor: z$1.ZodNumber;
9587
+ sdkVersion: z$1.ZodString;
9588
+ }, z$1.core.$strip>>;
9589
+ hasApp: z$1.ZodBoolean;
9590
+ }, z$1.core.$strip>;
9591
+ capabilities: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
9592
+ detail: z$1.ZodNullable<z$1.ZodString>;
9593
+ id: z$1.ZodString;
9594
+ kind: z$1.ZodEnum<{
9595
+ "agent-tool": "agent-tool";
9596
+ "thread-integration": "thread-integration";
9597
+ skill: "skill";
9598
+ theme: "theme";
9599
+ }>;
9600
+ label: z$1.ZodString;
9601
+ }, z$1.core.$strip>>>;
9602
+ catalogEntryId: z$1.ZodOptional<z$1.ZodString>;
9603
+ catalogMarketplaceName: z$1.ZodOptional<z$1.ZodString>;
9604
+ category: z$1.ZodOptional<z$1.ZodString>;
9605
+ categoryId: z$1.ZodOptional<z$1.ZodString>;
9606
+ cliCommand: z$1.ZodNullable<z$1.ZodObject<{
9607
+ name: z$1.ZodString;
9608
+ summary: z$1.ZodString;
9609
+ }, z$1.core.$strip>>;
9610
+ collections: z$1.ZodArray<z$1.ZodObject<{
9611
+ id: z$1.ZodString;
9612
+ rank: z$1.ZodNumber;
9613
+ }, z$1.core.$strip>>;
9614
+ description: z$1.ZodNullable<z$1.ZodString>;
9615
+ enabled: z$1.ZodBoolean;
9616
+ handlerStats: z$1.ZodObject<{
9617
+ count: z$1.ZodNumber;
9618
+ errorCount: z$1.ZodNumber;
9619
+ maxMs: z$1.ZodNumber;
9620
+ totalMs: z$1.ZodNumber;
9621
+ }, z$1.core.$strip>;
9622
+ hasSettings: z$1.ZodBoolean;
9623
+ icon: z$1.ZodNullable<z$1.ZodString>;
9624
+ iconUrl: z$1.ZodNullable<z$1.ZodString>;
9625
+ icons: z$1.ZodRecord<z$1.ZodString, z$1.ZodString>;
9626
+ id: z$1.ZodString;
9627
+ isOrphanedBuiltin: z$1.ZodBoolean;
9628
+ logoDarkUrl: z$1.ZodNullable<z$1.ZodString>;
9629
+ logoUrl: z$1.ZodNullable<z$1.ZodString>;
9630
+ name: z$1.ZodNullable<z$1.ZodString>;
9631
+ provenance: z$1.ZodEnum<{
9632
+ builtin: "builtin";
9633
+ catalog: "catalog";
9634
+ direct: "direct";
9635
+ }>;
9636
+ providerIds: z$1.ZodArray<z$1.ZodString>;
9637
+ publishedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
9638
+ publisherLabel: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodString>>;
9639
+ rootDir: z$1.ZodString;
9640
+ schedules: z$1.ZodArray<z$1.ZodObject<{
9641
+ cron: z$1.ZodString;
9642
+ lastError: z$1.ZodNullable<z$1.ZodString>;
9643
+ lastRunAt: z$1.ZodNullable<z$1.ZodNumber>;
9644
+ lastStatus: z$1.ZodNullable<z$1.ZodEnum<{
9645
+ error: "error";
9646
+ ok: "ok";
9647
+ running: "running";
9648
+ }>>;
9649
+ name: z$1.ZodString;
9650
+ nextRunAt: z$1.ZodNumber;
9651
+ }, z$1.core.$strip>>;
9652
+ screenshots: z$1.ZodArray<z$1.ZodString>;
9653
+ services: z$1.ZodArray<z$1.ZodObject<{
9654
+ name: z$1.ZodString;
9655
+ state: z$1.ZodEnum<{
9656
+ backoff: "backoff";
9657
+ running: "running";
9658
+ stopped: "stopped";
9659
+ }>;
9660
+ }, z$1.core.$strip>>;
9661
+ source: z$1.ZodString;
9662
+ sourceDisplay: z$1.ZodString;
9663
+ status: z$1.ZodEnum<{
9664
+ "needs-configuration": "needs-configuration";
9665
+ degraded: "degraded";
9666
+ disabled: "disabled";
9667
+ error: "error";
9668
+ incompatible: "incompatible";
9669
+ missing: "missing";
9670
+ running: "running";
9671
+ starting: "starting";
9672
+ }>;
9673
+ statusDetail: z$1.ZodNullable<z$1.ZodString>;
9674
+ updateState: z$1.ZodObject<{
9675
+ availableVersion: z$1.ZodOptional<z$1.ZodString>;
9676
+ blockedReasons: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
9677
+ blockedVersion: z$1.ZodOptional<z$1.ZodString>;
9678
+ detail: z$1.ZodOptional<z$1.ZodString>;
9679
+ lastCheckAt: z$1.ZodOptional<z$1.ZodNumber>;
9680
+ lastFailure: z$1.ZodOptional<z$1.ZodObject<{
9681
+ at: z$1.ZodNumber;
9682
+ detail: z$1.ZodString;
9683
+ version: z$1.ZodString;
9684
+ }, z$1.core.$strip>>;
9685
+ outcome: z$1.ZodOptional<z$1.ZodEnum<{
9686
+ "update-available": "update-available";
9687
+ current: "current";
9688
+ incompatible: "incompatible";
9689
+ pinned: "pinned";
9690
+ unavailable: "unavailable";
9691
+ }>>;
9692
+ }, z$1.core.$strip>;
9693
+ updatedAt: z$1.ZodOptional<z$1.ZodISODateTime>;
9694
+ version: z$1.ZodString;
9695
+ }, z$1.core.$strip>;
9696
+ state: z$1.ZodLiteral<"succeeded">;
9697
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9698
+ entryId: z$1.ZodString;
9699
+ kind: z$1.ZodLiteral<"catalog">;
9700
+ marketplace: z$1.ZodString;
9701
+ }, z$1.core.$strict>, z$1.ZodObject<{
9702
+ kind: z$1.ZodLiteral<"source">;
9703
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9704
+ kind: z$1.ZodLiteral<"root">;
9705
+ }, z$1.core.$strict>, z$1.ZodObject<{
9706
+ kind: z$1.ZodLiteral<"subdirectory">;
9707
+ path: z$1.ZodString;
9708
+ }, z$1.core.$strict>, z$1.ZodObject<{
9709
+ kind: z$1.ZodLiteral<"entry">;
9710
+ name: z$1.ZodString;
9711
+ }, z$1.core.$strict>], "kind">;
9712
+ source: z$1.ZodString;
9713
+ }, z$1.core.$strict>], "kind">;
9714
+ }, z$1.core.$strip>, z$1.ZodObject<{
9715
+ displayName: z$1.ZodString;
9716
+ error: z$1.ZodString;
9717
+ id: z$1.ZodString;
9718
+ state: z$1.ZodLiteral<"failed">;
9719
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9720
+ entryId: z$1.ZodString;
9721
+ kind: z$1.ZodLiteral<"catalog">;
9722
+ marketplace: z$1.ZodString;
9723
+ }, z$1.core.$strict>, z$1.ZodObject<{
9724
+ kind: z$1.ZodLiteral<"source">;
9725
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9726
+ kind: z$1.ZodLiteral<"root">;
9727
+ }, z$1.core.$strict>, z$1.ZodObject<{
9728
+ kind: z$1.ZodLiteral<"subdirectory">;
9729
+ path: z$1.ZodString;
9730
+ }, z$1.core.$strict>, z$1.ZodObject<{
9731
+ kind: z$1.ZodLiteral<"entry">;
9732
+ name: z$1.ZodString;
9733
+ }, z$1.core.$strict>], "kind">;
9734
+ source: z$1.ZodString;
9735
+ }, z$1.core.$strict>], "kind">;
9736
+ }, z$1.core.$strip>, z$1.ZodObject<{
9737
+ displayName: z$1.ZodString;
9738
+ id: z$1.ZodString;
9739
+ state: z$1.ZodLiteral<"cancelled">;
9740
+ target: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9741
+ entryId: z$1.ZodString;
9742
+ kind: z$1.ZodLiteral<"catalog">;
9743
+ marketplace: z$1.ZodString;
9744
+ }, z$1.core.$strict>, z$1.ZodObject<{
9745
+ kind: z$1.ZodLiteral<"source">;
9746
+ selection: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
9747
+ kind: z$1.ZodLiteral<"root">;
9748
+ }, z$1.core.$strict>, z$1.ZodObject<{
9749
+ kind: z$1.ZodLiteral<"subdirectory">;
9750
+ path: z$1.ZodString;
9751
+ }, z$1.core.$strict>, z$1.ZodObject<{
9752
+ kind: z$1.ZodLiteral<"entry">;
9753
+ name: z$1.ZodString;
9754
+ }, z$1.core.$strict>], "kind">;
9755
+ source: z$1.ZodString;
9756
+ }, z$1.core.$strict>], "kind">;
9757
+ }, z$1.core.$strip>], "state">;
9758
+ type PluginInstallJob$1 = z$1.infer<typeof pluginInstallJobSchema>;
9427
9759
  declare const pluginReloadResponseSchema: z$1.ZodObject<{
9428
9760
  ok: z$1.ZodLiteral<true>;
9429
9761
  plugins: z$1.ZodArray<z$1.ZodObject<{
@@ -9593,6 +9925,17 @@ declare const pluginSafeModeUpdateResponseSchema: z$1.ZodObject<{
9593
9925
  problems: z$1.ZodArray<z$1.ZodString>;
9594
9926
  }, z$1.core.$strip>;
9595
9927
  type PluginSafeModeUpdateResponse = z$1.infer<typeof pluginSafeModeUpdateResponseSchema>;
9928
+ declare const pluginCachePruneResponseSchema: z$1.ZodObject<{
9929
+ bytes: z$1.ZodNumber;
9930
+ dryRun: z$1.ZodBoolean;
9931
+ removed: z$1.ZodArray<z$1.ZodObject<{
9932
+ bytes: z$1.ZodNumber;
9933
+ path: z$1.ZodString;
9934
+ pluginId: z$1.ZodNullable<z$1.ZodString>;
9935
+ version: z$1.ZodString;
9936
+ }, z$1.core.$strip>>;
9937
+ }, z$1.core.$strip>;
9938
+ type PluginCachePruneResponse = z$1.infer<typeof pluginCachePruneResponseSchema>;
9596
9939
  declare const pluginTokenResponseSchema: z$1.ZodObject<{
9597
9940
  ok: z$1.ZodLiteral<true>;
9598
9941
  token: z$1.ZodString;
@@ -9983,6 +10326,10 @@ type SystemExecutionOptionsQuery = z$1.infer<typeof systemExecutionOptionsQueryS
9983
10326
  declare const systemUsageLimitsQuerySchema: z$1.ZodObject<{
9984
10327
  hostId: z$1.ZodOptional<z$1.ZodString>;
9985
10328
  providerId: z$1.ZodOptional<z$1.ZodString>;
10329
+ refresh: z$1.ZodOptional<z$1.ZodEnum<{
10330
+ false: "false";
10331
+ true: "true";
10332
+ }>>;
9986
10333
  }, z$1.core.$strip>;
9987
10334
  type SystemUsageLimitsQuery = z$1.infer<typeof systemUsageLimitsQuerySchema>;
9988
10335
  declare const systemVoiceTranscriptionResponseSchema: z$1.ZodObject<{
@@ -9996,6 +10343,7 @@ declare const systemProviderStatesResponseSchema: z$1.ZodObject<{
9996
10343
  canUpdate: z$1.ZodBoolean;
9997
10344
  displayName: z$1.ZodString;
9998
10345
  installedVersion: z$1.ZodNullable<z$1.ZodString>;
10346
+ localLoginCommand: z$1.ZodNullable<z$1.ZodString>;
9999
10347
  loginCommand: z$1.ZodNullable<z$1.ZodString>;
10000
10348
  minimumSupportedVersion: z$1.ZodNullable<z$1.ZodString>;
10001
10349
  planLabel: z$1.ZodNullable<z$1.ZodString>;
@@ -10170,6 +10518,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10170
10518
  "panel.toggle": "panel.toggle";
10171
10519
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10172
10520
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10521
+ "plugins.pruneCache": "plugins.pruneCache";
10173
10522
  "question.select.1": "question.select.1";
10174
10523
  "question.select.2": "question.select.2";
10175
10524
  "question.select.3": "question.select.3";
@@ -10259,14 +10608,17 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10259
10608
  confirmThreadArchive: z$1.ZodBoolean;
10260
10609
  defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
10261
10610
  defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
10611
+ keepHistoryAfterContextClear: z$1.ZodBoolean;
10262
10612
  machineGitCredentialsEnabled: z$1.ZodBoolean;
10263
10613
  machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
10264
10614
  managedBranchPrefix: z$1.ZodString;
10615
+ onboardingCompletedAt: z$1.ZodNullable<z$1.ZodString>;
10265
10616
  providerCompletedTurnDisplay: z$1.ZodRecord<z$1.ZodString, z$1.ZodEnum<{
10266
10617
  collapse: "collapse";
10267
10618
  flat: "flat";
10268
10619
  }>>;
10269
10620
  providerOrder: z$1.ZodArray<z$1.ZodString>;
10621
+ setupChecklistVisible: z$1.ZodBoolean;
10270
10622
  showDiagnosticEvents: z$1.ZodBoolean;
10271
10623
  showGitChanges: z$1.ZodBoolean;
10272
10624
  showKeyboardHints: z$1.ZodBoolean;
@@ -10325,6 +10677,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10325
10677
  "panel.toggle": "panel.toggle";
10326
10678
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10327
10679
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10680
+ "plugins.pruneCache": "plugins.pruneCache";
10328
10681
  "question.select.1": "question.select.1";
10329
10682
  "question.select.2": "question.select.2";
10330
10683
  "question.select.3": "question.select.3";
@@ -10420,6 +10773,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
10420
10773
  "panel.toggle": "panel.toggle";
10421
10774
  "plugins.enterSafeMode": "plugins.enterSafeMode";
10422
10775
  "plugins.exitSafeMode": "plugins.exitSafeMode";
10776
+ "plugins.pruneCache": "plugins.pruneCache";
10423
10777
  "question.select.1": "question.select.1";
10424
10778
  "question.select.2": "question.select.2";
10425
10779
  "question.select.3": "question.select.3";
@@ -13339,6 +13693,10 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
13339
13693
  }, z$1.core.$strip>], "type">>;
13340
13694
  }, z$1.core.$strip>;
13341
13695
  type UpdateQueuedMessageRequest = z$1.infer<typeof updateQueuedMessageRequestSchema>;
13696
+ declare const queuedMessageEditHoldResponseSchema: z$1.ZodObject<{
13697
+ leaseMs: z$1.ZodNumber;
13698
+ }, z$1.core.$strip>;
13699
+ type QueuedMessageEditHoldResponse = z$1.infer<typeof queuedMessageEditHoldResponseSchema>;
13342
13700
  declare const sendQueuedMessageRequestSchema: z$1.ZodObject<{
13343
13701
  mode: z$1.ZodEnum<{
13344
13702
  auto: "auto";
@@ -16337,6 +16695,10 @@ interface HostDirectoryArgs extends HostDirectoryQuery {
16337
16695
  hostId: string;
16338
16696
  signal?: AbortSignal;
16339
16697
  }
16698
+ interface HostDiscoverReposArgs {
16699
+ hostId: string;
16700
+ signal?: AbortSignal;
16701
+ }
16340
16702
  interface HostCloneDefaultPathArgs extends HostCloneDefaultPathQuery {
16341
16703
  hostId: string;
16342
16704
  signal?: AbortSignal;
@@ -16369,6 +16731,7 @@ type HostDeleteResult = {
16369
16731
  ok: true;
16370
16732
  };
16371
16733
  type HostDirectoryResult = HostDirectoryListing;
16734
+ type HostDiscoverReposResult = HostDiscoveredReposResponse;
16372
16735
  type HostGetResult = Host & {
16373
16736
  connectMachineId: string | null;
16374
16737
  threadStorageRootPath: string | null;
@@ -16394,6 +16757,7 @@ interface HostsArea {
16394
16757
  delete(args: HostDeleteArgs): Promise<HostDeleteResult>;
16395
16758
  experimental_deleteOldServerCopy(args: HostActionArgs): Promise<DeleteOldServerCopyResponse>;
16396
16759
  directory(args: HostDirectoryArgs): Promise<HostDirectoryResult>;
16760
+ experimental_discoverRepos(args: HostDiscoverReposArgs): Promise<HostDiscoverReposResult>;
16397
16761
  get(args: HostGetArgs): Promise<HostGetResult>;
16398
16762
  cloneDefaultPath(args: HostCloneDefaultPathArgs): Promise<HostCloneDefaultPathResult>;
16399
16763
  installProviderCli(args: HostProviderCliInstallArgs): Promise<HostProviderCliInstallResult>;
@@ -16646,6 +17010,12 @@ interface PluginCatalogInstallArgs {
16646
17010
  marketplace?: string;
16647
17011
  confirmedSource?: PluginCatalogResolvedSource;
16648
17012
  }
17013
+ interface PluginInstallJobArgs {
17014
+ jobId: string;
17015
+ }
17016
+ interface PluginInstallJobListArgs {
17017
+ signal?: AbortSignal;
17018
+ }
16649
17019
  interface PluginCatalogInstallPlanArgs {
16650
17020
  entryId: string;
16651
17021
  marketplace?: string;
@@ -16705,18 +17075,27 @@ interface PluginListUpdateResultsArgs {
16705
17075
  interface PluginGetSafeModeArgs {
16706
17076
  signal?: AbortSignal;
16707
17077
  }
17078
+ interface PluginRpcDiscoveryArgs extends PluginRpcDiscoveryQuery {
17079
+ signal?: AbortSignal;
17080
+ }
16708
17081
  interface PluginSetSafeModeArgs {
16709
17082
  enabled: boolean;
16710
17083
  }
17084
+ interface PluginPruneCacheArgs {
17085
+ dryRun?: boolean;
17086
+ signal?: AbortSignal;
17087
+ }
16711
17088
  type PluginDisableResult = InstalledPlugin;
16712
17089
  type PluginEnableResult = InstalledPlugin;
16713
17090
  type PluginGetSettingsResult = PluginSettingsResponse;
16714
17091
  type PluginInstallResult = InstalledPlugin;
17092
+ type PluginInstallJob = PluginInstallJob$1;
16715
17093
  type PluginListResult = PluginListResponse;
16716
17094
  type PluginReloadResult = PluginReloadResponse;
16717
17095
  type PluginRemoveResult = PluginRemoveResponse;
16718
17096
  type PluginSafeModeResult = PluginSafeModeResponse;
16719
17097
  type PluginSetSafeModeResult = PluginSafeModeUpdateResponse;
17098
+ type PluginPruneCacheResult = PluginCachePruneResponse;
16720
17099
  type PluginTokenResult = PluginTokenResponse;
16721
17100
  type PluginUpdateSettingsResult = PluginSettingsResponse;
16722
17101
  type PluginGetSourceResult = PluginSourceDetail;
@@ -16733,6 +17112,7 @@ interface PluginMarketplaceRemoveResult {
16733
17112
  }
16734
17113
  interface PluginCatalogArea {
16735
17114
  install(args: PluginCatalogInstallArgs): Promise<PluginInstallResult>;
17115
+ startInstall(args: PluginCatalogInstallArgs): Promise<PluginInstallJob>;
16736
17116
  installPlan(args: PluginCatalogInstallPlanArgs): Promise<PluginCatalogInstallPlanResult>;
16737
17117
  search(args: PluginCatalogSearchArgs): Promise<PluginCatalogSearchResult>;
16738
17118
  status(args?: PluginCatalogStatusArgs): Promise<PluginCatalogStatusResult>;
@@ -16743,11 +17123,27 @@ interface PluginMarketplacesArea {
16743
17123
  refresh(args?: PluginMarketplaceRefreshArgs): Promise<PluginMarketplaceRefreshResult>;
16744
17124
  remove(args: PluginMarketplaceRemoveArgs): Promise<PluginMarketplaceRemoveResult>;
16745
17125
  }
17126
+ interface PluginInstallJobsArea {
17127
+ cancel(args: PluginInstallJobArgs): Promise<PluginInstallJob>;
17128
+ get(args: PluginInstallJobArgs): Promise<PluginInstallJob>;
17129
+ list(args?: PluginInstallJobListArgs): Promise<PluginInstallJob[]>;
17130
+ }
17131
+ interface PluginUpdateJobsArea {
17132
+ get(args: {
17133
+ jobId: string;
17134
+ }): Promise<PluginUpdateJob>;
17135
+ list(args?: {
17136
+ signal?: AbortSignal;
17137
+ }): Promise<PluginUpdateJob[]>;
17138
+ }
16746
17139
  interface PluginsArea {
16747
- experimental_discoverRpc(args?: PluginRpcDiscoveryQuery): Promise<PublishedPluginRpcMethod[]>;
17140
+ experimental_discoverRpc(args?: PluginRpcDiscoveryArgs): Promise<PublishedPluginRpcMethod[]>;
16748
17141
  experimental_getSafeMode(args?: PluginGetSafeModeArgs): Promise<PluginSafeModeResult>;
16749
17142
  experimental_setSafeMode(args: PluginSetSafeModeArgs): Promise<PluginSetSafeModeResult>;
17143
+ experimental_pruneCache(args?: PluginPruneCacheArgs): Promise<PluginPruneCacheResult>;
16750
17144
  applyUpdate(args: PluginIdArgs): Promise<PluginApplyUpdateResult>;
17145
+ experimental_startUpdate(args: PluginIdArgs): Promise<PluginUpdateJob>;
17146
+ experimental_updateJobs: PluginUpdateJobsArea;
16751
17147
  callRpc<TOutput>(args: PluginRpcArgs<TOutput>): Promise<TOutput>;
16752
17148
  checkUpdates(args?: PluginCheckUpdatesArgs): Promise<PluginCheckUpdatesResult>;
16753
17149
  catalog: PluginCatalogArea;
@@ -16757,6 +17153,8 @@ interface PluginsArea {
16757
17153
  getSettings(args: PluginGetSettingsArgs): Promise<PluginGetSettingsResult>;
16758
17154
  getSource(args: PluginGetSourceArgs): Promise<PluginGetSourceResult>;
16759
17155
  install(args: PluginInstallArgs): Promise<PluginInstallResult>;
17156
+ startInstall(args: PluginInstallArgs): Promise<PluginInstallJob>;
17157
+ installJobs: PluginInstallJobsArea;
16760
17158
  list(args?: PluginListArgs): Promise<PluginListResult>;
16761
17159
  listUpdateResults(args?: PluginListUpdateResultsArgs): Promise<PluginCheckUpdatesResult>;
16762
17160
  reload(args?: PluginReloadArgs): Promise<PluginReloadResult>;
@@ -16971,7 +17369,8 @@ interface SystemConfigArgs {
16971
17369
  interface SystemExecutionOptionsArgs extends SystemExecutionOptionsQuery {
16972
17370
  signal?: AbortSignal;
16973
17371
  }
16974
- interface SystemUsageLimitsArgs extends SystemUsageLimitsQuery {
17372
+ interface SystemUsageLimitsArgs extends Omit<SystemUsageLimitsQuery, "refresh"> {
17373
+ refresh?: boolean;
16975
17374
  signal?: AbortSignal;
16976
17375
  }
16977
17376
  interface SystemVersionArgs {
@@ -17282,6 +17681,10 @@ type ThreadQueuedMessageUpdateResult = ThreadQueuedMessage;
17282
17681
  type ThreadQueuedMessageDeleteResult = {
17283
17682
  ok: true;
17284
17683
  };
17684
+ type ThreadQueuedMessageEditHoldResult = QueuedMessageEditHoldResponse;
17685
+ type ThreadQueuedMessageEditHoldReleaseResult = {
17686
+ ok: true;
17687
+ };
17285
17688
  type ThreadQueuedMessageReorderResult = ThreadQueuedMessageListResponse;
17286
17689
  type ThreadQueuedMessageSendResult = SendQueuedMessageResponse;
17287
17690
  type ThreadQueuedMessageGroupBoundaryResult = ThreadQueuedMessageListResponse;
@@ -17512,6 +17915,8 @@ interface ThreadEventsArea {
17512
17915
  interface ThreadQueuedMessagesArea {
17513
17916
  create(args: ThreadQueuedMessageCreateArgs): Promise<ThreadQueuedMessageCreateResult>;
17514
17917
  delete(args: ThreadQueuedMessageTargetArgs): Promise<ThreadQueuedMessageDeleteResult>;
17918
+ experimental_holdForEdit(args: ThreadQueuedMessageTargetArgs): Promise<ThreadQueuedMessageEditHoldResult>;
17919
+ experimental_releaseEditHold(args: ThreadQueuedMessageTargetArgs): Promise<ThreadQueuedMessageEditHoldReleaseResult>;
17515
17920
  list(args: ThreadQueuedMessageArgs): Promise<ThreadQueuedMessagesResult>;
17516
17921
  reorder(args: ThreadQueuedMessageReorderArgs): Promise<ThreadQueuedMessageReorderResult>;
17517
17922
  send(args: ThreadQueuedMessageSendArgs): Promise<ThreadQueuedMessageSendResult>;
@@ -18835,6 +19240,15 @@ interface PluginCodeThemeState {
18835
19240
  /** null only before the first theme file resolves. */
18836
19241
  theme: PluginCodeThemeData | null;
18837
19242
  }
19243
+ /**
19244
+ * What {@link PluginSdkApp.experimental_copyToClipboard} writes: plain text,
19245
+ * plus an HTML representation for paste targets that accept rich text.
19246
+ * Without `html`, only plain text is written.
19247
+ */
19248
+ interface ExperimentalClipboardContent {
19249
+ text: string;
19250
+ html?: string;
19251
+ }
18838
19252
  /**
18839
19253
  * The `threads` area of {@link PluginBrowserBbSdk}: bb's public thread API
18840
19254
  * with the calling plugin's identity filled in. `spawn` and `fork` stamp
@@ -18962,6 +19376,8 @@ interface PluginSidebarThreadActions {
18962
19376
  rename(threadId: string, title: string): Promise<void>;
18963
19377
  /** Confirms before including child threads unless archive confirmation is disabled in Settings → General. */
18964
19378
  archive(threadId: string): void;
19379
+ /** Archives an environment's active thread trees with bb's optimistic updates, pane cleanup, and one Undo toast. Rejects after bb shows an error toast on failure. */
19380
+ experimental_archiveEnvironmentThreads(environmentId: string): Promise<void>;
18965
19381
  /**
18966
19382
  * Opens bb's delete confirmation, which counts child threads first. Deletion
18967
19383
  * is destructive and recursive, so the host owns the confirmation: there is
@@ -20667,9 +21083,11 @@ interface BbNavigate {
20667
21083
  focusPrompt?: boolean;
20668
21084
  }): void;
20669
21085
  /**
20670
- * Open one of this plugin's registered thread-panel actions in the current
20671
- * thread surface. Returns false when the surface has no thread side panel or
20672
- * the action is unavailable.
21086
+ * Open one of this plugin's registered panel actions in the current
21087
+ * surface's side panel: a `threadPanelAction` in a thread, or an
21088
+ * `experimental_newThreadPanelAction` on the New thread screen. Plugin
21089
+ * commands use the same opener. Returns false when the surface has no side
21090
+ * panel actions (plugin pages) or the action is unavailable.
20673
21091
  */
20674
21092
  openThreadPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
20675
21093
  /**
@@ -20682,6 +21100,20 @@ interface BbNavigate {
20682
21100
  experimental_openFilePreview(options: ExperimentalFileOpenOptions): boolean;
20683
21101
  /** Open a live file in this client's preferred external file target. */
20684
21102
  experimental_openFileExternally(options: ExperimentalFileOpenOptions): boolean;
21103
+ /**
21104
+ * Show a terminal session in this surface's BB terminal panel: select its
21105
+ * tab, adding one when needed, and reveal the panel. Create the session
21106
+ * first with `useSdk().terminals.create`, whose scope chooses the thread,
21107
+ * environment, or host directory it runs in. A thread surface accepts only
21108
+ * that thread's terminals, the New thread screen only terminals in its
21109
+ * current terminal scope, and a plugin page any terminal. Resolves false
21110
+ * for unknown or exited terminals and surfaces without a terminal panel.
21111
+ * Closing the tab closes the terminal. Experimental: see
21112
+ * docs/api_to_audit.md.
21113
+ */
21114
+ experimental_openTerminal(options: {
21115
+ terminalId: string;
21116
+ }): Promise<boolean>;
20685
21117
  }
20686
21118
  /**
20687
21119
  * Everything `@get-bb/plugin-sdk/app` resolves to at runtime. The BB app builds
@@ -20871,10 +21303,14 @@ interface PluginSdkApp {
20871
21303
  * surfaces without further work. Reserve `useRpc` for work that needs your
20872
21304
  * server: secrets, host files, or your plugin's own storage.
20873
21305
  *
20874
- * Thread title, section, and parent updates are optimistic in bb's surfaces
20875
- * and synchronous calls are applied as one cache transaction. Other writes
20876
- * land when their realtime update does. `experimental_useSidebarThreadActions()`
20877
- * stays the optimistic path for pin, read state, rename, and archive.
21306
+ * Thread title, section, parent, pin, and unpin writes are optimistic in
21307
+ * bb's surfaces. Synchronous calls share one cache transaction; writes to
21308
+ * the same thread execute in order, so unpin and move can be submitted
21309
+ * together. Unarchive, environment-group archive, project/machine/environment
21310
+ * renames, and project/section removal are also optimistic and roll back on
21311
+ * failure. Created sections enter the cache when the server assigns their id.
21312
+ * `experimental_useSidebarThreadActions()` owns navigation, read state,
21313
+ * archive confirmation, and delete confirmation.
20878
21314
  *
20879
21315
  * The client is stable for the plugin's lifetime, so it is safe in effect
20880
21316
  * and callback dependency lists.
@@ -20894,6 +21330,17 @@ interface PluginSdkApp {
20894
21330
  * docs/api_to_audit.md.
20895
21331
  */
20896
21332
  experimental_useCodeTheme(): PluginCodeThemeState;
21333
+ /**
21334
+ * Writes content to the system clipboard through bb's own clipboard writer,
21335
+ * the one bb's copy actions use. A plain function, callable from
21336
+ * components, content scripts, and command callbacks. bb Desktop writes
21337
+ * through the native clipboard, so copies work without window focus or a
21338
+ * secure origin; browsers use the Clipboard API, then the copy command.
21339
+ * Resolves true once the clipboard holds the content and false when every
21340
+ * write path failed; it never rejects. Callers own their success and
21341
+ * failure feedback. Experimental: see docs/api_to_audit.md.
21342
+ */
21343
+ experimental_copyToClipboard(content: ExperimentalClipboardContent): Promise<boolean>;
20897
21344
  /**
20898
21345
  * The host-owned chat component (see {@link ThreadChatProps}). Together
20899
21346
  * with `Markdown`, the only components the SDK ships — everything else
@@ -21023,6 +21470,7 @@ declare const useEnvironmentProviders: () => PluginEnvironmentProvidersState;
21023
21470
  declare const useSdk: () => PluginBrowserBbSdk;
21024
21471
  declare const experimental_useProviders: () => PluginProvidersState;
21025
21472
  declare const experimental_useCodeTheme: () => PluginCodeThemeState;
21473
+ declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
21026
21474
 
21027
- export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_VoiceInputTextarea, experimental_useAppPanel, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadActions, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
21028
- export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalVoiceInputTextareaProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
21475
+ export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_VoiceInputTextarea, experimental_copyToClipboard, experimental_useAppPanel, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadActions, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
21476
+ export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalVoiceInputTextareaProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };