@get-bb/plugin-sdk 0.6.178 → 0.6.189
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.
- package/bundled-types/bb-plugin-sdk-app.d.ts +382 -77
- package/bundled-types/bb-plugin-sdk-environment-provider.d.ts +34 -1
- package/bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts +21 -6
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +98 -9
- package/bundled-types/bb-plugin-sdk-internal-thread-event-gate.d.ts +10 -0
- package/bundled-types/bb-plugin-sdk-internal-thread-status.d.ts +7 -0
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +19 -1
- package/bundled-types/bb-plugin-sdk-testing.d.ts +48 -4
- package/bundled-types/bb-plugin-sdk.d.ts +474 -85
- package/dist/app.js +8 -0
- package/dist/internal/composer-handle.js +13 -4
- package/dist/internal/host-policy.js +14 -2
- package/dist/internal/plugin-app-collector.js +24 -8
- package/dist/internal/rpc-query-host.js +7 -1
- package/dist/provider-bridge-acp-next.js +5 -1
- package/dist/provider-bridge-acp.js +5 -1
- package/dist/testing/app.js +139 -16
- package/dist/testing/index.js +81 -8
- package/package.json +1 -1
|
@@ -137,11 +137,11 @@ type PluginRpcResult<Method extends PluginRpcMethodContract> = StandardSchemaV1I
|
|
|
137
137
|
declare const appSettingsSchema: z$1.ZodObject<{
|
|
138
138
|
allowFastServiceTier: z$1.ZodBoolean;
|
|
139
139
|
confirmThreadArchive: z$1.ZodBoolean;
|
|
140
|
-
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
141
140
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
142
141
|
earlyAdopter: z$1.ZodBoolean;
|
|
143
142
|
idleProviderSessionTimeoutMinutes: z$1.ZodLiteral<0 | 5 | 10 | 30 | 60>;
|
|
144
143
|
keepHistoryAfterContextClear: z$1.ZodBoolean;
|
|
144
|
+
localNetworkEnabled: z$1.ZodBoolean;
|
|
145
145
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
146
146
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
147
147
|
managedBranchPrefix: z$1.ZodString;
|
|
@@ -152,6 +152,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
152
152
|
}>>;
|
|
153
153
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
154
154
|
resumeThreadsAfterRestart: z$1.ZodBoolean;
|
|
155
|
+
serverAccessOrder: z$1.ZodArray<z$1.ZodString>;
|
|
155
156
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
156
157
|
showKeyboardHints: z$1.ZodBoolean;
|
|
157
158
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -164,11 +165,11 @@ type AppSettings = z$1.infer<typeof appSettingsSchema>;
|
|
|
164
165
|
declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
165
166
|
allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
166
167
|
confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
167
|
-
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
168
168
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
169
169
|
earlyAdopter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
170
170
|
idleProviderSessionTimeoutMinutes: z$1.ZodOptional<z$1.ZodLiteral<0 | 5 | 10 | 30 | 60>>;
|
|
171
171
|
keepHistoryAfterContextClear: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
172
|
+
localNetworkEnabled: z$1.ZodBoolean;
|
|
172
173
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
173
174
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
174
175
|
managedBranchPrefix: z$1.ZodString;
|
|
@@ -179,6 +180,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
179
180
|
}>>;
|
|
180
181
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
181
182
|
resumeThreadsAfterRestart: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
183
|
+
serverAccessOrder: z$1.ZodArray<z$1.ZodString>;
|
|
182
184
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
183
185
|
showKeyboardHints: z$1.ZodBoolean;
|
|
184
186
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -190,11 +192,11 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
190
192
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
191
193
|
allowFastServiceTier: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
192
194
|
confirmThreadArchive: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
193
|
-
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
194
195
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
195
196
|
earlyAdopter: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
196
197
|
idleProviderSessionTimeoutMinutes: z$1.ZodOptional<z$1.ZodLiteral<0 | 5 | 10 | 30 | 60>>;
|
|
197
198
|
keepHistoryAfterContextClear: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
199
|
+
localNetworkEnabled: z$1.ZodBoolean;
|
|
198
200
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
199
201
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
200
202
|
managedBranchPrefix: z$1.ZodString;
|
|
@@ -205,6 +207,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
205
207
|
}>>;
|
|
206
208
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
207
209
|
resumeThreadsAfterRestart: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
210
|
+
serverAccessOrder: z$1.ZodArray<z$1.ZodString>;
|
|
208
211
|
showKeyboardHints: z$1.ZodBoolean;
|
|
209
212
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
210
213
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -215,7 +218,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
215
218
|
}, z$1.core.$strict>]>;
|
|
216
219
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
217
220
|
|
|
218
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.threadListProvider", "sidebar.updates.providerCli", "sidebar.updates.skipped", "composer.provider", "infoPanel.collapsedSections", "threadContextCard.pinned", "threadContextCard.collapsedSections"];
|
|
221
|
+
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", "diff.provider", "sourceCode.provider", "threadHeader.titleProvider", "fileOpener.byExtension", "codeFence.byLanguage", "messageDirective.byName", "infoPanel.collapsedSections", "threadContextCard.pinned", "threadContextCard.collapsedSections"];
|
|
219
222
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
220
223
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
221
224
|
schema: Schema;
|
|
@@ -253,6 +256,12 @@ declare const uiPreferenceDefinitions: {
|
|
|
253
256
|
readonly "sidebar.updates.providerCli": UiPreferenceDefinition<z$1.ZodBoolean>;
|
|
254
257
|
readonly "sidebar.updates.skipped": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
255
258
|
readonly "composer.provider": UiPreferenceDefinition<z$1.ZodString>;
|
|
259
|
+
readonly "diff.provider": UiPreferenceDefinition<z$1.ZodString>;
|
|
260
|
+
readonly "sourceCode.provider": UiPreferenceDefinition<z$1.ZodString>;
|
|
261
|
+
readonly "threadHeader.titleProvider": UiPreferenceDefinition<z$1.ZodString>;
|
|
262
|
+
readonly "fileOpener.byExtension": UiPreferenceDefinition<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
263
|
+
readonly "codeFence.byLanguage": UiPreferenceDefinition<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
264
|
+
readonly "messageDirective.byName": UiPreferenceDefinition<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
256
265
|
readonly "threadContextCard.pinned": UiPreferenceDefinition<z$1.ZodBoolean>;
|
|
257
266
|
readonly "threadContextCard.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
|
|
258
267
|
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
|
|
@@ -330,6 +339,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
330
339
|
"question.submit": "question.submit";
|
|
331
340
|
"settings.open": "settings.open";
|
|
332
341
|
"settings.openServers": "settings.openServers";
|
|
342
|
+
"settings.search": "settings.search";
|
|
333
343
|
"sidebar.toggle": "sidebar.toggle";
|
|
334
344
|
"terminal.find": "terminal.find";
|
|
335
345
|
"terminal.open": "terminal.open";
|
|
@@ -469,6 +479,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
469
479
|
starting: "starting";
|
|
470
480
|
stopping: "stopping";
|
|
471
481
|
}>;
|
|
482
|
+
statusChangedAt: z$1.ZodNumber;
|
|
472
483
|
updatedAt: z$1.ZodNumber;
|
|
473
484
|
}, z$1.core.$strict>>;
|
|
474
485
|
timelineSequence: z$1.ZodOptional<z$1.ZodNumber>;
|
|
@@ -533,7 +544,7 @@ declare const changedMessageSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
533
544
|
}, z$1.core.$strict>], "entity">;
|
|
534
545
|
type ChangedMessage = z$1.infer<typeof changedMessageSchema>;
|
|
535
546
|
|
|
536
|
-
declare const environmentHolderSchema: z$1.ZodLiteral<"user">;
|
|
547
|
+
declare const environmentHolderSchema: z$1.ZodUnion<readonly [z$1.ZodLiteral<"user">, z$1.ZodTemplateLiteral<`plugin:${string}`>]>;
|
|
537
548
|
type EnvironmentHolder = z$1.infer<typeof environmentHolderSchema>;
|
|
538
549
|
declare const environmentStatusSchema: z$1.ZodEnum<{
|
|
539
550
|
creating: "creating";
|
|
@@ -550,6 +561,7 @@ declare const environmentWorkspaceDisplayKindSchema: z$1.ZodEnum<{
|
|
|
550
561
|
}>;
|
|
551
562
|
type EnvironmentWorkspaceDisplayKind = z$1.infer<typeof environmentWorkspaceDisplayKindSchema>;
|
|
552
563
|
declare const environmentSchema: z$1.ZodObject<{
|
|
564
|
+
additionalPaths: z$1.ZodArray<z$1.ZodString>;
|
|
553
565
|
baseBranch: z$1.ZodNullable<z$1.ZodString>;
|
|
554
566
|
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
555
567
|
createdAt: z$1.ZodNumber;
|
|
@@ -567,7 +579,7 @@ declare const environmentSchema: z$1.ZodObject<{
|
|
|
567
579
|
type: z$1.ZodLiteral<"new">;
|
|
568
580
|
}, z$1.core.$strip>], "type">;
|
|
569
581
|
}, z$1.core.$strip>>;
|
|
570
|
-
heldBy: z$1.ZodNullable<z$1.ZodLiteral<"user">>;
|
|
582
|
+
heldBy: z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodLiteral<"user">, z$1.ZodTemplateLiteral<`plugin:${string}`>]>>;
|
|
571
583
|
hostId: z$1.ZodString;
|
|
572
584
|
hostLifecycle: z$1.ZodEnum<{
|
|
573
585
|
"cleanup-failed": "cleanup-failed";
|
|
@@ -627,6 +639,7 @@ declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
627
639
|
pluginUpdates: "pluginUpdates";
|
|
628
640
|
resumeDaemonSessions: "resumeDaemonSessions";
|
|
629
641
|
serverMove: "serverMove";
|
|
642
|
+
serverRoutes: "serverRoutes";
|
|
630
643
|
skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
|
|
631
644
|
threadContextCard: "threadContextCard";
|
|
632
645
|
walCheckpointWorker: "walCheckpointWorker";
|
|
@@ -640,6 +653,7 @@ declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
|
640
653
|
pluginUpdates: "pluginUpdates";
|
|
641
654
|
resumeDaemonSessions: "resumeDaemonSessions";
|
|
642
655
|
serverMove: "serverMove";
|
|
656
|
+
serverRoutes: "serverRoutes";
|
|
643
657
|
skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
|
|
644
658
|
threadContextCard: "threadContextCard";
|
|
645
659
|
walCheckpointWorker: "walCheckpointWorker";
|
|
@@ -708,6 +722,16 @@ declare const hostSchema: z$1.ZodObject<{
|
|
|
708
722
|
full: "full";
|
|
709
723
|
}>;
|
|
710
724
|
name: z$1.ZodString;
|
|
725
|
+
route: z$1.ZodNullable<z$1.ZodObject<{
|
|
726
|
+
displayName: z$1.ZodString;
|
|
727
|
+
kind: z$1.ZodEnum<{
|
|
728
|
+
"local-network": "local-network";
|
|
729
|
+
"private-overlay": "private-overlay";
|
|
730
|
+
custom: "custom";
|
|
731
|
+
relay: "relay";
|
|
732
|
+
}>;
|
|
733
|
+
providerId: z$1.ZodString;
|
|
734
|
+
}, z$1.core.$strip>>;
|
|
711
735
|
status: z$1.ZodEnum<{
|
|
712
736
|
connected: "connected";
|
|
713
737
|
disconnected: "disconnected";
|
|
@@ -4037,6 +4061,13 @@ declare const projectSourceSchema: z$1.ZodObject<{
|
|
|
4037
4061
|
updatedAt: z$1.ZodNumber;
|
|
4038
4062
|
}, z$1.core.$strip>;
|
|
4039
4063
|
type ProjectSource = z$1.infer<typeof projectSourceSchema>;
|
|
4064
|
+
declare const projectSourceFolderSchema: z$1.ZodObject<{
|
|
4065
|
+
createdAt: z$1.ZodNumber;
|
|
4066
|
+
id: z$1.ZodString;
|
|
4067
|
+
path: z$1.ZodString;
|
|
4068
|
+
projectSourceId: z$1.ZodString;
|
|
4069
|
+
}, z$1.core.$strip>;
|
|
4070
|
+
type ProjectSourceFolder = z$1.infer<typeof projectSourceFolderSchema>;
|
|
4040
4071
|
|
|
4041
4072
|
declare const reasoningLevelSchema: z$1.ZodString;
|
|
4042
4073
|
type ReasoningLevel = z$1.infer<typeof reasoningLevelSchema>;
|
|
@@ -4725,6 +4756,14 @@ declare const createProjectSourceRequestSchema: z$1.ZodDiscriminatedUnion<[z$1.Z
|
|
|
4725
4756
|
type: z$1.ZodLiteral<"clone">;
|
|
4726
4757
|
}, z$1.core.$strict>], "type">;
|
|
4727
4758
|
type CreateProjectSourceRequest = z$1.infer<typeof createProjectSourceRequestSchema>;
|
|
4759
|
+
declare const createProjectSourceFolderRequestSchema: z$1.ZodObject<{
|
|
4760
|
+
path: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
4761
|
+
}, z$1.core.$strict>;
|
|
4762
|
+
type CreateProjectSourceFolderRequest = z$1.infer<typeof createProjectSourceFolderRequestSchema>;
|
|
4763
|
+
declare const updateProjectSourceFolderRequestSchema: z$1.ZodObject<{
|
|
4764
|
+
path: z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>;
|
|
4765
|
+
}, z$1.core.$strict>;
|
|
4766
|
+
type UpdateProjectSourceFolderRequest = z$1.infer<typeof updateProjectSourceFolderRequestSchema>;
|
|
4728
4767
|
declare const createProjectRequestSchema: z$1.ZodObject<{
|
|
4729
4768
|
name: z$1.ZodString;
|
|
4730
4769
|
source: z$1.ZodObject<{
|
|
@@ -5148,6 +5187,7 @@ declare const projectWithThreadsResponseSchema: z$1.ZodObject<{
|
|
|
5148
5187
|
starting: "starting";
|
|
5149
5188
|
stopping: "stopping";
|
|
5150
5189
|
}>;
|
|
5190
|
+
statusChangedAt: z$1.ZodNumber;
|
|
5151
5191
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
5152
5192
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
5153
5193
|
updatedAt: z$1.ZodNumber;
|
|
@@ -5258,6 +5298,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5258
5298
|
starting: "starting";
|
|
5259
5299
|
stopping: "stopping";
|
|
5260
5300
|
}>;
|
|
5301
|
+
statusChangedAt: z$1.ZodNumber;
|
|
5261
5302
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
5262
5303
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
5263
5304
|
updatedAt: z$1.ZodNumber;
|
|
@@ -5366,6 +5407,7 @@ declare const sidebarBootstrapResponseSchema: z$1.ZodObject<{
|
|
|
5366
5407
|
starting: "starting";
|
|
5367
5408
|
stopping: "stopping";
|
|
5368
5409
|
}>;
|
|
5410
|
+
statusChangedAt: z$1.ZodNumber;
|
|
5369
5411
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
5370
5412
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
5371
5413
|
updatedAt: z$1.ZodNumber;
|
|
@@ -5871,6 +5913,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
5871
5913
|
type: z$1.ZodLiteral<"thread.rewind.discard">;
|
|
5872
5914
|
}, z$1.core.$strict>, z$1.ZodObject<{}, z$1.core.$strip>, "settled", false>;
|
|
5873
5915
|
"thread.rewind.prepare": HostDaemonCommandDescriptor<"thread.rewind.prepare", z$1.ZodObject<{
|
|
5916
|
+
additionalWorkspaceFolders: z$1.ZodArray<z$1.ZodString>;
|
|
5874
5917
|
bridgeLaunch: z$1.ZodObject<{
|
|
5875
5918
|
capabilities: z$1.ZodObject<{
|
|
5876
5919
|
fork: z$1.ZodEnum<{
|
|
@@ -6020,6 +6063,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6020
6063
|
providerThreadId: z$1.ZodString;
|
|
6021
6064
|
}, z$1.core.$strip>, "settled", false>;
|
|
6022
6065
|
"thread.start": HostDaemonCommandDescriptor<"thread.start", z$1.ZodObject<{
|
|
6066
|
+
additionalWorkspaceFolders: z$1.ZodArray<z$1.ZodString>;
|
|
6023
6067
|
bridgeLaunch: z$1.ZodObject<{
|
|
6024
6068
|
capabilities: z$1.ZodObject<{
|
|
6025
6069
|
fork: z$1.ZodEnum<{
|
|
@@ -6590,6 +6634,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6590
6634
|
}, z$1.core.$strip>], "permissionMode">>;
|
|
6591
6635
|
requestId: z$1.ZodString;
|
|
6592
6636
|
resumeContext: z$1.ZodObject<{
|
|
6637
|
+
additionalWorkspaceFolders: z$1.ZodArray<z$1.ZodString>;
|
|
6593
6638
|
bridgeLaunch: z$1.ZodObject<{
|
|
6594
6639
|
capabilities: z$1.ZodObject<{
|
|
6595
6640
|
fork: z$1.ZodEnum<{
|
|
@@ -6810,6 +6855,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6810
6855
|
permissionScope: z$1.ZodLiteral<"full">;
|
|
6811
6856
|
}, z$1.core.$strip>], "permissionMode">>;
|
|
6812
6857
|
resumeContext: z$1.ZodObject<{
|
|
6858
|
+
additionalWorkspaceFolders: z$1.ZodArray<z$1.ZodString>;
|
|
6813
6859
|
bridgeLaunch: z$1.ZodObject<{
|
|
6814
6860
|
capabilities: z$1.ZodObject<{
|
|
6815
6861
|
fork: z$1.ZodEnum<{
|
|
@@ -7512,6 +7558,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7512
7558
|
}, z$1.core.$strip>>;
|
|
7513
7559
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7514
7560
|
"host.read_workspace_agent_context": HostDaemonCommandDescriptor<"host.read_workspace_agent_context", z$1.ZodObject<{
|
|
7561
|
+
folderPaths: z$1.ZodArray<z$1.ZodString>;
|
|
7515
7562
|
includeAgentInstructions: z$1.ZodBoolean;
|
|
7516
7563
|
projectSkillRead: z$1.ZodObject<{
|
|
7517
7564
|
excludeNames: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -7539,6 +7586,11 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7539
7586
|
type: z$1.ZodLiteral<"host.read_workspace_agent_context">;
|
|
7540
7587
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7541
7588
|
agentInstructions: z$1.ZodNullable<z$1.ZodString>;
|
|
7589
|
+
folders: z$1.ZodArray<z$1.ZodObject<{
|
|
7590
|
+
exists: z$1.ZodBoolean;
|
|
7591
|
+
isGitRepo: z$1.ZodBoolean;
|
|
7592
|
+
path: z$1.ZodString;
|
|
7593
|
+
}, z$1.core.$strict>>;
|
|
7542
7594
|
projectSkills: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7543
7595
|
directoryName: z$1.ZodString;
|
|
7544
7596
|
kind: z$1.ZodLiteral<"budget-exceeded">;
|
|
@@ -10735,6 +10787,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10735
10787
|
"question.submit": "question.submit";
|
|
10736
10788
|
"settings.open": "settings.open";
|
|
10737
10789
|
"settings.openServers": "settings.openServers";
|
|
10790
|
+
"settings.search": "settings.search";
|
|
10738
10791
|
"sidebar.toggle": "sidebar.toggle";
|
|
10739
10792
|
"terminal.find": "terminal.find";
|
|
10740
10793
|
"terminal.open": "terminal.open";
|
|
@@ -10779,9 +10832,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10779
10832
|
mainSurface: "mainSurface";
|
|
10780
10833
|
modalOpen: "modalOpen";
|
|
10781
10834
|
modelPickerOpen: "modelPickerOpen";
|
|
10835
|
+
pluginPage: "pluginPage";
|
|
10782
10836
|
promptAvailable: "promptAvailable";
|
|
10783
10837
|
questionFocus: "questionFocus";
|
|
10784
10838
|
questionOpen: "questionOpen";
|
|
10839
|
+
settingsPage: "settingsPage";
|
|
10785
10840
|
splitActive: "splitActive";
|
|
10786
10841
|
terminalFocus: "terminalFocus";
|
|
10787
10842
|
webSurface: "webSurface";
|
|
@@ -10795,9 +10850,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10795
10850
|
mainSurface: "mainSurface";
|
|
10796
10851
|
modalOpen: "modalOpen";
|
|
10797
10852
|
modelPickerOpen: "modelPickerOpen";
|
|
10853
|
+
pluginPage: "pluginPage";
|
|
10798
10854
|
promptAvailable: "promptAvailable";
|
|
10799
10855
|
questionFocus: "questionFocus";
|
|
10800
10856
|
questionOpen: "questionOpen";
|
|
10857
|
+
settingsPage: "settingsPage";
|
|
10801
10858
|
splitActive: "splitActive";
|
|
10802
10859
|
terminalFocus: "terminalFocus";
|
|
10803
10860
|
webSurface: "webSurface";
|
|
@@ -10813,6 +10870,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10813
10870
|
pluginUpdates: "pluginUpdates";
|
|
10814
10871
|
resumeDaemonSessions: "resumeDaemonSessions";
|
|
10815
10872
|
serverMove: "serverMove";
|
|
10873
|
+
serverRoutes: "serverRoutes";
|
|
10816
10874
|
skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
|
|
10817
10875
|
threadContextCard: "threadContextCard";
|
|
10818
10876
|
walCheckpointWorker: "walCheckpointWorker";
|
|
@@ -10825,11 +10883,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10825
10883
|
generalSettings: z$1.ZodObject<{
|
|
10826
10884
|
allowFastServiceTier: z$1.ZodBoolean;
|
|
10827
10885
|
confirmThreadArchive: z$1.ZodBoolean;
|
|
10828
|
-
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
10829
10886
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
10830
10887
|
earlyAdopter: z$1.ZodBoolean;
|
|
10831
10888
|
idleProviderSessionTimeoutMinutes: z$1.ZodLiteral<0 | 5 | 60 | 10 | 30>;
|
|
10832
10889
|
keepHistoryAfterContextClear: z$1.ZodBoolean;
|
|
10890
|
+
localNetworkEnabled: z$1.ZodBoolean;
|
|
10833
10891
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
10834
10892
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
10835
10893
|
managedBranchPrefix: z$1.ZodString;
|
|
@@ -10840,6 +10898,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10840
10898
|
}>>;
|
|
10841
10899
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10842
10900
|
resumeThreadsAfterRestart: z$1.ZodBoolean;
|
|
10901
|
+
serverAccessOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10843
10902
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
10844
10903
|
showKeyboardHints: z$1.ZodBoolean;
|
|
10845
10904
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -10914,6 +10973,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10914
10973
|
"question.submit": "question.submit";
|
|
10915
10974
|
"settings.open": "settings.open";
|
|
10916
10975
|
"settings.openServers": "settings.openServers";
|
|
10976
|
+
"settings.search": "settings.search";
|
|
10917
10977
|
"sidebar.toggle": "sidebar.toggle";
|
|
10918
10978
|
"terminal.find": "terminal.find";
|
|
10919
10979
|
"terminal.open": "terminal.open";
|
|
@@ -11018,6 +11078,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11018
11078
|
"question.submit": "question.submit";
|
|
11019
11079
|
"settings.open": "settings.open";
|
|
11020
11080
|
"settings.openServers": "settings.openServers";
|
|
11081
|
+
"settings.search": "settings.search";
|
|
11021
11082
|
"sidebar.toggle": "sidebar.toggle";
|
|
11022
11083
|
"terminal.find": "terminal.find";
|
|
11023
11084
|
"terminal.open": "terminal.open";
|
|
@@ -11062,9 +11123,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11062
11123
|
mainSurface: "mainSurface";
|
|
11063
11124
|
modalOpen: "modalOpen";
|
|
11064
11125
|
modelPickerOpen: "modelPickerOpen";
|
|
11126
|
+
pluginPage: "pluginPage";
|
|
11065
11127
|
promptAvailable: "promptAvailable";
|
|
11066
11128
|
questionFocus: "questionFocus";
|
|
11067
11129
|
questionOpen: "questionOpen";
|
|
11130
|
+
settingsPage: "settingsPage";
|
|
11068
11131
|
splitActive: "splitActive";
|
|
11069
11132
|
terminalFocus: "terminalFocus";
|
|
11070
11133
|
webSurface: "webSurface";
|
|
@@ -11078,9 +11141,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11078
11141
|
mainSurface: "mainSurface";
|
|
11079
11142
|
modalOpen: "modalOpen";
|
|
11080
11143
|
modelPickerOpen: "modelPickerOpen";
|
|
11144
|
+
pluginPage: "pluginPage";
|
|
11081
11145
|
promptAvailable: "promptAvailable";
|
|
11082
11146
|
questionFocus: "questionFocus";
|
|
11083
11147
|
questionOpen: "questionOpen";
|
|
11148
|
+
settingsPage: "settingsPage";
|
|
11084
11149
|
splitActive: "splitActive";
|
|
11085
11150
|
terminalFocus: "terminalFocus";
|
|
11086
11151
|
webSurface: "webSurface";
|
|
@@ -11104,11 +11169,29 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11104
11169
|
win32: "win32";
|
|
11105
11170
|
wsl: "wsl";
|
|
11106
11171
|
}>>;
|
|
11172
|
+
routes: z$1.ZodArray<z$1.ZodObject<{
|
|
11173
|
+
displayName: z$1.ZodString;
|
|
11174
|
+
kind: z$1.ZodEnum<{
|
|
11175
|
+
"local-network": "local-network";
|
|
11176
|
+
"private-overlay": "private-overlay";
|
|
11177
|
+
custom: "custom";
|
|
11178
|
+
relay: "relay";
|
|
11179
|
+
}>;
|
|
11180
|
+
providerId: z$1.ZodString;
|
|
11181
|
+
url: z$1.ZodString;
|
|
11182
|
+
}, z$1.core.$strip>>;
|
|
11107
11183
|
serverAccess: z$1.ZodObject<{
|
|
11108
|
-
defaultProviderId: z$1.ZodString;
|
|
11109
11184
|
effectiveUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
11185
|
+
localNetwork: z$1.ZodObject<{
|
|
11186
|
+
addresses: z$1.ZodArray<z$1.ZodString>;
|
|
11187
|
+
bindHost: z$1.ZodEnum<{
|
|
11188
|
+
"0.0.0.0": "0.0.0.0";
|
|
11189
|
+
"127.0.0.1": "127.0.0.1";
|
|
11190
|
+
}>;
|
|
11191
|
+
listenerError: z$1.ZodNullable<z$1.ZodString>;
|
|
11192
|
+
}, z$1.core.$strip>;
|
|
11110
11193
|
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
11111
|
-
availability: z$1.
|
|
11194
|
+
availability: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11112
11195
|
serverUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
11113
11196
|
status: z$1.ZodLiteral<"available">;
|
|
11114
11197
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -11117,17 +11200,25 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11117
11200
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11118
11201
|
message: z$1.ZodString;
|
|
11119
11202
|
status: z$1.ZodLiteral<"unavailable">;
|
|
11120
|
-
}, z$1.core.$strip>], "status"
|
|
11203
|
+
}, z$1.core.$strip>], "status">;
|
|
11121
11204
|
description: z$1.ZodString;
|
|
11122
11205
|
displayName: z$1.ZodString;
|
|
11123
11206
|
id: z$1.ZodString;
|
|
11124
11207
|
pluginId: z$1.ZodNullable<z$1.ZodString>;
|
|
11208
|
+
routeKind: z$1.ZodEnum<{
|
|
11209
|
+
"local-network": "local-network";
|
|
11210
|
+
"private-overlay": "private-overlay";
|
|
11211
|
+
custom: "custom";
|
|
11212
|
+
relay: "relay";
|
|
11213
|
+
}>;
|
|
11214
|
+
urls: z$1.ZodArray<z$1.ZodString>;
|
|
11125
11215
|
}, z$1.core.$strip>>;
|
|
11126
11216
|
urlSource: z$1.ZodNullable<z$1.ZodEnum<{
|
|
11127
11217
|
BB_EXTERNAL_URL: "BB_EXTERNAL_URL";
|
|
11128
11218
|
setting: "setting";
|
|
11129
11219
|
}>>;
|
|
11130
11220
|
}, z$1.core.$strip>;
|
|
11221
|
+
serverId: z$1.ZodString;
|
|
11131
11222
|
serverUrl: z$1.ZodString;
|
|
11132
11223
|
voiceTranscriptionEnabled: z$1.ZodBoolean;
|
|
11133
11224
|
}, z$1.core.$strip>;
|
|
@@ -14373,6 +14464,7 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
14373
14464
|
starting: "starting";
|
|
14374
14465
|
stopping: "stopping";
|
|
14375
14466
|
}>;
|
|
14467
|
+
statusChangedAt: z$1.ZodNumber;
|
|
14376
14468
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
14377
14469
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
14378
14470
|
updatedAt: z$1.ZodNumber;
|
|
@@ -14478,6 +14570,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
14478
14570
|
starting: "starting";
|
|
14479
14571
|
stopping: "stopping";
|
|
14480
14572
|
}>;
|
|
14573
|
+
statusChangedAt: z$1.ZodNumber;
|
|
14481
14574
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
14482
14575
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
14483
14576
|
updatedAt: z$1.ZodNumber;
|
|
@@ -14575,6 +14668,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
14575
14668
|
starting: "starting";
|
|
14576
14669
|
stopping: "stopping";
|
|
14577
14670
|
}>;
|
|
14671
|
+
statusChangedAt: z$1.ZodNumber;
|
|
14578
14672
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
14579
14673
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
14580
14674
|
updatedAt: z$1.ZodNumber;
|
|
@@ -14694,6 +14788,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14694
14788
|
createdAt: z$1.ZodNumber;
|
|
14695
14789
|
deletedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14696
14790
|
environment: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
14791
|
+
additionalPaths: z$1.ZodArray<z$1.ZodString>;
|
|
14697
14792
|
baseBranch: z$1.ZodNullable<z$1.ZodString>;
|
|
14698
14793
|
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
14699
14794
|
createdAt: z$1.ZodNumber;
|
|
@@ -14711,7 +14806,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14711
14806
|
type: z$1.ZodLiteral<"new">;
|
|
14712
14807
|
}, z$1.core.$strip>], "type">;
|
|
14713
14808
|
}, z$1.core.$strip>>;
|
|
14714
|
-
heldBy: z$1.ZodNullable<z$1.ZodLiteral<"user">>;
|
|
14809
|
+
heldBy: z$1.ZodNullable<z$1.ZodUnion<readonly [z$1.ZodLiteral<"user">, z$1.ZodTemplateLiteral<`plugin:${string}`>]>>;
|
|
14715
14810
|
hostId: z$1.ZodString;
|
|
14716
14811
|
hostLifecycle: z$1.ZodEnum<{
|
|
14717
14812
|
"cleanup-failed": "cleanup-failed";
|
|
@@ -14799,6 +14894,16 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14799
14894
|
full: "full";
|
|
14800
14895
|
}>;
|
|
14801
14896
|
name: z$1.ZodString;
|
|
14897
|
+
route: z$1.ZodNullable<z$1.ZodObject<{
|
|
14898
|
+
displayName: z$1.ZodString;
|
|
14899
|
+
kind: z$1.ZodEnum<{
|
|
14900
|
+
"local-network": "local-network";
|
|
14901
|
+
"private-overlay": "private-overlay";
|
|
14902
|
+
custom: "custom";
|
|
14903
|
+
relay: "relay";
|
|
14904
|
+
}>;
|
|
14905
|
+
providerId: z$1.ZodString;
|
|
14906
|
+
}, z$1.core.$strip>>;
|
|
14802
14907
|
status: z$1.ZodEnum<{
|
|
14803
14908
|
connected: "connected";
|
|
14804
14909
|
disconnected: "disconnected";
|
|
@@ -17736,6 +17841,7 @@ declare const threadConversationOutlineResponseSchema: z$1.ZodObject<{
|
|
|
17736
17841
|
imageCount: z$1.ZodNumber;
|
|
17737
17842
|
}, z$1.core.$strict>>;
|
|
17738
17843
|
id: z$1.ZodString;
|
|
17844
|
+
messageSeq: z$1.ZodNumber;
|
|
17739
17845
|
preview: z$1.ZodString;
|
|
17740
17846
|
role: z$1.ZodEnum<{
|
|
17741
17847
|
assistant: "assistant";
|
|
@@ -17770,6 +17876,16 @@ declare const threadStoragePathListResponseSchema: z$1.ZodObject<{
|
|
|
17770
17876
|
}, z$1.core.$strip>;
|
|
17771
17877
|
type ThreadStoragePathListResponse = z$1.infer<typeof threadStoragePathListResponseSchema>;
|
|
17772
17878
|
|
|
17879
|
+
/**
|
|
17880
|
+
* The result of importing a thread file: the recreated thread and the number of
|
|
17881
|
+
* events it was recreated with.
|
|
17882
|
+
*/
|
|
17883
|
+
declare const threadImportResponseSchema: z$1.ZodObject<{
|
|
17884
|
+
rows: z$1.ZodNumber;
|
|
17885
|
+
threadId: z$1.ZodString;
|
|
17886
|
+
}, z$1.core.$strip>;
|
|
17887
|
+
type ThreadImportResponse = z$1.infer<typeof threadImportResponseSchema>;
|
|
17888
|
+
|
|
17773
17889
|
declare const desktopBrowserHostRequestSchema: z$1.ZodObject<{
|
|
17774
17890
|
hostId: z$1.ZodString;
|
|
17775
17891
|
}, z$1.core.$strict>;
|
|
@@ -18490,11 +18606,17 @@ interface EnvironmentCreateBaseArgs {
|
|
|
18490
18606
|
}
|
|
18491
18607
|
/**
|
|
18492
18608
|
* `hold: "user"` keeps the environment until the user deletes it and lets
|
|
18493
|
-
* threads join it.
|
|
18609
|
+
* threads join it. `hold: "plugin"` keeps it for plugin `pluginId`: threads
|
|
18610
|
+
* cannot join it, and it loses the hold when that plugin's provider hands it
|
|
18611
|
+
* to a new thread from `create`, or when that plugin is disabled or
|
|
18612
|
+
* uninstalled.
|
|
18494
18613
|
*/
|
|
18495
|
-
type EnvironmentCreateArgs = EnvironmentCreateBaseArgs & {
|
|
18614
|
+
type EnvironmentCreateArgs = EnvironmentCreateBaseArgs & ({
|
|
18496
18615
|
hold: "user";
|
|
18497
|
-
}
|
|
18616
|
+
} | {
|
|
18617
|
+
hold: "plugin";
|
|
18618
|
+
pluginId: string;
|
|
18619
|
+
});
|
|
18498
18620
|
type EnvironmentCreateResult = Environment;
|
|
18499
18621
|
interface EnvironmentDeleteArgs {
|
|
18500
18622
|
environmentId: string;
|
|
@@ -18844,6 +18966,25 @@ interface ProjectSourceDeleteArgs {
|
|
|
18844
18966
|
projectId: string;
|
|
18845
18967
|
sourceId: string;
|
|
18846
18968
|
}
|
|
18969
|
+
interface ProjectSourceFolderListArgs {
|
|
18970
|
+
projectId: string;
|
|
18971
|
+
sourceId: string;
|
|
18972
|
+
signal?: AbortSignal;
|
|
18973
|
+
}
|
|
18974
|
+
interface ProjectSourceFolderAddArgs extends CreateProjectSourceFolderRequest {
|
|
18975
|
+
projectId: string;
|
|
18976
|
+
sourceId: string;
|
|
18977
|
+
}
|
|
18978
|
+
interface ProjectSourceFolderUpdateArgs extends UpdateProjectSourceFolderRequest {
|
|
18979
|
+
folderId: string;
|
|
18980
|
+
projectId: string;
|
|
18981
|
+
sourceId: string;
|
|
18982
|
+
}
|
|
18983
|
+
interface ProjectSourceFolderRemoveArgs {
|
|
18984
|
+
folderId: string;
|
|
18985
|
+
projectId: string;
|
|
18986
|
+
sourceId: string;
|
|
18987
|
+
}
|
|
18847
18988
|
type ProjectBranchesResult = ProjectBranchesResponse;
|
|
18848
18989
|
interface ProjectAttachmentReadResult {
|
|
18849
18990
|
bytes: Uint8Array;
|
|
@@ -18872,8 +19013,15 @@ type ProjectSourceAddResult = ProjectSource;
|
|
|
18872
19013
|
type ProjectSourceDeleteResult = OperationResponse;
|
|
18873
19014
|
type ProjectSourceUpdateResult = ProjectSource;
|
|
18874
19015
|
type ProjectUpdateResult = ProjectResponse;
|
|
19016
|
+
interface ProjectSourceFoldersArea {
|
|
19017
|
+
add(args: ProjectSourceFolderAddArgs): Promise<ProjectSourceFolder>;
|
|
19018
|
+
list(args: ProjectSourceFolderListArgs): Promise<ProjectSourceFolder[]>;
|
|
19019
|
+
remove(args: ProjectSourceFolderRemoveArgs): Promise<OperationResponse>;
|
|
19020
|
+
update(args: ProjectSourceFolderUpdateArgs): Promise<ProjectSourceFolder>;
|
|
19021
|
+
}
|
|
18875
19022
|
interface ProjectSourcesArea {
|
|
18876
19023
|
add(args: ProjectSourceAddArgs): Promise<ProjectSourceAddResult>;
|
|
19024
|
+
experimental_folders: ProjectSourceFoldersArea;
|
|
18877
19025
|
delete(args: ProjectSourceDeleteArgs): Promise<ProjectSourceDeleteResult>;
|
|
18878
19026
|
update(args: ProjectSourceUpdateArgs): Promise<ProjectSourceUpdateResult>;
|
|
18879
19027
|
}
|
|
@@ -19674,6 +19822,7 @@ type ThreadCompactResult = OperationResponse;
|
|
|
19674
19822
|
type ThreadBannerActionResult = OperationResponse;
|
|
19675
19823
|
type ThreadUnarchiveResult = OperationResponse;
|
|
19676
19824
|
type ThreadArchiveAllResult = ThreadArchiveAllResponse;
|
|
19825
|
+
type ThreadImportResult = ThreadImportResponse;
|
|
19677
19826
|
type ThreadReadStateResult = ThreadResponse;
|
|
19678
19827
|
type ThreadRestoreEnvironmentResult = ThreadResponse;
|
|
19679
19828
|
type ThreadPinOrderResult = ThreadListResponse;
|
|
@@ -19777,6 +19926,10 @@ interface ThreadActionArgs {
|
|
|
19777
19926
|
signal?: AbortSignal;
|
|
19778
19927
|
threadId: string;
|
|
19779
19928
|
}
|
|
19929
|
+
interface ThreadImportArgs {
|
|
19930
|
+
file: ArrayBuffer | Blob | Uint8Array;
|
|
19931
|
+
signal?: AbortSignal;
|
|
19932
|
+
}
|
|
19780
19933
|
interface ThreadStatusArgs extends ThreadActionArgs {
|
|
19781
19934
|
signal?: AbortSignal;
|
|
19782
19935
|
}
|
|
@@ -20020,6 +20173,21 @@ interface ThreadsArea {
|
|
|
20020
20173
|
* on failure. Experimental: see docs/api_to_audit.md.
|
|
20021
20174
|
*/
|
|
20022
20175
|
experimental_regenerateTitle(args: ThreadActionArgs): Promise<ThreadMutationResult>;
|
|
20176
|
+
/**
|
|
20177
|
+
* Download the thread as a thread file: zstd-compressed JSONL with a header
|
|
20178
|
+
* line, then the thread's rows, every event in sequence order and its
|
|
20179
|
+
* attachments. A deleted thread can still be exported until its purge
|
|
20180
|
+
* starts. Experimental: see docs/api_to_audit.md.
|
|
20181
|
+
*/
|
|
20182
|
+
experimental_export(args: ThreadActionArgs): Promise<Uint8Array>;
|
|
20183
|
+
/**
|
|
20184
|
+
* Import a thread file: recreates a deleted thread in its project. A
|
|
20185
|
+
* recreated archived thread counts as archived now. Rejects a thread that
|
|
20186
|
+
* still exists or is still being deleted, and a file whose project is not on
|
|
20187
|
+
* this server.
|
|
20188
|
+
* Experimental: see docs/api_to_audit.md.
|
|
20189
|
+
*/
|
|
20190
|
+
experimental_import(args: ThreadImportArgs): Promise<ThreadImportResult>;
|
|
20023
20191
|
updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
|
|
20024
20192
|
queue: ThreadQueueArea;
|
|
20025
20193
|
interactions: ThreadInteractionsArea;
|
|
@@ -20575,6 +20743,15 @@ interface PluginThreadListProps {
|
|
|
20575
20743
|
* Call after the user opens a thread. It closes the mobile sidebar drawer.
|
|
20576
20744
|
*/
|
|
20577
20745
|
onNavigate: () => void;
|
|
20746
|
+
/**
|
|
20747
|
+
* The sidebar element that scrolls this list. Window rows against it, use
|
|
20748
|
+
* it as an `IntersectionObserver` root, and scroll it for drag autoscroll
|
|
20749
|
+
* instead of walking up the DOM. The host mounts the list only after this
|
|
20750
|
+
* element exists, so it is set on the first render, and it changes only
|
|
20751
|
+
* when the list itself remounts.
|
|
20752
|
+
* Experimental: see docs/api_to_audit.md.
|
|
20753
|
+
*/
|
|
20754
|
+
experimental_scrollElement: HTMLElement;
|
|
20578
20755
|
}
|
|
20579
20756
|
/** JavaScript world a Browser page expression runs in. */
|
|
20580
20757
|
type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
|
|
@@ -21205,8 +21382,9 @@ interface PluginPendingInteractionRegistration {
|
|
|
21205
21382
|
*/
|
|
21206
21383
|
interface PluginSidebarFooterActionContext extends ExperimentalPluginActionContext {
|
|
21207
21384
|
/**
|
|
21208
|
-
*
|
|
21209
|
-
*
|
|
21385
|
+
* Open this plugin's settings page, where declarative settings and
|
|
21386
|
+
* `settingsSection` slots render; the same as
|
|
21387
|
+
* `navigate.experimental_toSettings()`.
|
|
21210
21388
|
*/
|
|
21211
21389
|
openSettings(): void;
|
|
21212
21390
|
}
|
|
@@ -21234,7 +21412,7 @@ interface PluginSidebarFooterActionRegistration {
|
|
|
21234
21412
|
* `panel` act on the focused surface, as for commands.
|
|
21235
21413
|
*/
|
|
21236
21414
|
interface ExperimentalSidebarFooterActionContext extends ExperimentalPluginActionContext {
|
|
21237
|
-
/**
|
|
21415
|
+
/** Open this plugin's settings page; the same as `navigate.experimental_toSettings()`. */
|
|
21238
21416
|
openPluginDetails(): void;
|
|
21239
21417
|
}
|
|
21240
21418
|
/** Fields shared by both experimental sidebar-footer item behaviors. */
|
|
@@ -21426,6 +21604,13 @@ interface PluginSidebarThread {
|
|
|
21426
21604
|
updatedAt: number;
|
|
21427
21605
|
lastReadAt: number | null;
|
|
21428
21606
|
latestAttentionAt: number;
|
|
21607
|
+
/**
|
|
21608
|
+
* Epoch ms of the last durable status transition, or creation for a new
|
|
21609
|
+
* thread (0 for legacy rows). Unlike updatedAt, reading or renaming a
|
|
21610
|
+
* thread does not change it. Independent of unread attention: successful
|
|
21611
|
+
* child completion advances this even when latestAttentionAt stays put.
|
|
21612
|
+
*/
|
|
21613
|
+
experimental_statusChangedAt: number;
|
|
21429
21614
|
}
|
|
21430
21615
|
/** One project in the sidebar's live view. */
|
|
21431
21616
|
interface PluginSidebarProject {
|
|
@@ -21959,8 +22144,10 @@ type ExperimentalThreadHeaderTitleProps = ExperimentalThreadHeaderRowProps;
|
|
|
21959
22144
|
* right-panel toggle and the window drag region. While the user renames the
|
|
21960
22145
|
* thread, bb shows its rename field instead. Double-click does not start a
|
|
21961
22146
|
* rename on a plugin title, and dragging a split pane starts only from parts
|
|
21962
|
-
* that are not links, buttons or inputs.
|
|
21963
|
-
* the
|
|
22147
|
+
* that are not links, buttons or inputs. Exclusive (see "Exclusive slots" in
|
|
22148
|
+
* the Plugin Guide); the user's pick is `threadHeader.titleProvider`, which can
|
|
22149
|
+
* also choose bb's title (`__builtin__`). A crash shows bb's title for that
|
|
22150
|
+
* thread.
|
|
21964
22151
|
* The window title stays the thread title.
|
|
21965
22152
|
*/
|
|
21966
22153
|
interface ExperimentalThreadHeaderTitleRegistration {
|
|
@@ -22495,15 +22682,11 @@ interface PluginSidebarThreadSplit {
|
|
|
22495
22682
|
/**
|
|
22496
22683
|
* Replace the sidebar's thread list with a plugin component.
|
|
22497
22684
|
*
|
|
22498
|
-
*
|
|
22499
|
-
* scroll area. bb ships its own list as the bundled Thread list
|
|
22500
|
-
* (`thread-list/thread-list`)
|
|
22501
|
-
*
|
|
22502
|
-
*
|
|
22503
|
-
* bundled list; removing it reveals the next. The user can pin a specific
|
|
22504
|
-
* provider, including the bundled one, under Settings → Appearance → Sidebar.
|
|
22505
|
-
* A missing pinned provider or a crashing list shows a placeholder rather than
|
|
22506
|
-
* leaving the user with no sidebar.
|
|
22685
|
+
* Exclusive (see "Exclusive slots" in the Plugin Guide): two lists cannot
|
|
22686
|
+
* share one scroll area. bb ships its own list as the bundled Thread list
|
|
22687
|
+
* plugin (`thread-list/thread-list`), an ordinary claimant. The user's pick is
|
|
22688
|
+
* `sidebar.threadListProvider`. While another plugin's list is crashed, bb
|
|
22689
|
+
* shows the bundled list and offers a Reload.
|
|
22507
22690
|
*
|
|
22508
22691
|
* The plugin gets the scrolling list and nothing else. The New-thread button,
|
|
22509
22692
|
* the search action, the plugin nav rows, and the footer stay host-rendered in
|
|
@@ -22522,13 +22705,11 @@ interface PluginThreadListRegistration {
|
|
|
22522
22705
|
/**
|
|
22523
22706
|
* Draw the sidebar's navigation: New thread, Plugins, Skills, Automations,
|
|
22524
22707
|
* plugin panels, and More, plus optional controls in the sidebar header.
|
|
22525
|
-
* Exclusive: bb's bundled
|
|
22526
|
-
* (`navigation/rail`, the default) and Top
|
|
22527
|
-
* through this slot
|
|
22528
|
-
*
|
|
22529
|
-
*
|
|
22530
|
-
* back the same way, and a crashing provider is replaced by the Navigation
|
|
22531
|
-
* plugin's provider for the same placement.
|
|
22708
|
+
* Exclusive (see "Exclusive slots" in the Plugin Guide): bb's bundled
|
|
22709
|
+
* Navigation plugin registers Rail (`navigation/rail`, the default) and Top
|
|
22710
|
+
* list (`navigation/top-list`) through this slot as ordinary claimants. The
|
|
22711
|
+
* user's pick is `sidebar.navigationProvider`. A crashing provider is replaced
|
|
22712
|
+
* by the Navigation plugin's provider for the same placement.
|
|
22532
22713
|
*
|
|
22533
22714
|
* `placement` decides the layout around the component, so bb can lay out the
|
|
22534
22715
|
* sidebar before the plugin loads:
|
|
@@ -22564,10 +22745,10 @@ interface ExperimentalSidebarNavigationRegistration {
|
|
|
22564
22745
|
headerComponent?: ComponentType<ExperimentalSidebarHeaderProps>;
|
|
22565
22746
|
}
|
|
22566
22747
|
/**
|
|
22567
|
-
* Register this plugin as a viewer/editor for file extensions.
|
|
22568
|
-
*
|
|
22569
|
-
*
|
|
22570
|
-
*
|
|
22748
|
+
* Register this plugin as a viewer/editor for file extensions. Exclusive per
|
|
22749
|
+
* extension (see "Exclusive slots" in the Plugin Guide); the user's picks are
|
|
22750
|
+
* `fileOpener.byExtension`, which can also choose BB's preview
|
|
22751
|
+
* (`__builtin__`). The file tab's "Open with" menu can override that
|
|
22571
22752
|
* choice for one open, and so can the plugin by passing the opener's id as
|
|
22572
22753
|
* `experimental_openFilePreview`'s `opener`. A plugin can also use its own
|
|
22573
22754
|
* setting and render `Original` conditionally. Applies to working-tree, host,
|
|
@@ -22591,11 +22772,9 @@ interface PluginFileOpenerRegistration {
|
|
|
22591
22772
|
/**
|
|
22592
22773
|
* Replace BB's source-code renderer everywhere it renders supplied source
|
|
22593
22774
|
* text — the native file preview and every plugin that calls
|
|
22594
|
-
* `experimental_SourceCode`.
|
|
22595
|
-
*
|
|
22596
|
-
*
|
|
22597
|
-
* installed wins over one bundled with bb, then the first in deterministic
|
|
22598
|
-
* slot order. A missing, disabled, or crashing replacement falls back to BB's
|
|
22775
|
+
* `experimental_SourceCode`. Exclusive (see "Exclusive slots" in the Plugin
|
|
22776
|
+
* Guide); the user's pick is `sourceCode.provider`, which can also choose BB's
|
|
22777
|
+
* renderer (`__builtin__`). A crashing replacement falls back to BB's
|
|
22599
22778
|
* renderer, and a replacement can render `Original` to delegate
|
|
22600
22779
|
* per call (behind its own setting, by language, by size — whatever it needs).
|
|
22601
22780
|
*/
|
|
@@ -22611,9 +22790,10 @@ interface PluginSourceCodeRendererRegistration {
|
|
|
22611
22790
|
/**
|
|
22612
22791
|
* Replace BB's diff renderer everywhere it renders supplied diff content — the
|
|
22613
22792
|
* timeline file diffs, the environment diff panel's text bodies, and every
|
|
22614
|
-
* plugin that calls `experimental_Diff`. Exclusive, with the same
|
|
22615
|
-
*
|
|
22616
|
-
* {@link PluginSourceCodeRendererRegistration}
|
|
22793
|
+
* plugin that calls `experimental_Diff`. Exclusive, with the same fallback
|
|
22794
|
+
* and `Original` delegation rules as
|
|
22795
|
+
* {@link PluginSourceCodeRendererRegistration}; the user's pick is
|
|
22796
|
+
* `diff.provider`.
|
|
22617
22797
|
*/
|
|
22618
22798
|
interface PluginDiffRendererRegistration {
|
|
22619
22799
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
@@ -22638,11 +22818,11 @@ interface ExperimentalComposerProps {
|
|
|
22638
22818
|
* composer, the New thread screen, queued and sent message editors). The
|
|
22639
22819
|
* banners, approval cards and queued messages above the box stay bb's.
|
|
22640
22820
|
*
|
|
22641
|
-
* Exclusive
|
|
22642
|
-
*
|
|
22643
|
-
*
|
|
22644
|
-
*
|
|
22645
|
-
*
|
|
22821
|
+
* Exclusive (see "Exclusive slots" in the Plugin Guide); the user's pick is
|
|
22822
|
+
* `composer.provider`. bb ships its own composer as the bundled Composer
|
|
22823
|
+
* plugin, an ordinary claimant; with no composer plugin enabled, no composer
|
|
22824
|
+
* is shown. While another plugin's composer is crashed, bb shows the bundled
|
|
22825
|
+
* one with the same draft and offers a Reload.
|
|
22646
22826
|
*
|
|
22647
22827
|
* The host keeps the draft, uploads, history, pickers and submission; the
|
|
22648
22828
|
* component draws over them with `experimental_useComposerRenderer()`.
|
|
@@ -23212,6 +23392,11 @@ interface ExperimentalThreadTitleTextProps {
|
|
|
23212
23392
|
* Register a leaf message directive rendered inside assistant (and nested
|
|
23213
23393
|
* agent) message Markdown. `id` is the directive name: `inline-vis` matches
|
|
23214
23394
|
* `::inline-vis{file="demo.html"}`.
|
|
23395
|
+
*
|
|
23396
|
+
* Exclusive per directive name (see "Exclusive slots" in the Plugin Guide),
|
|
23397
|
+
* with no automatic winner: a name several plugins claim shows a plugin picker
|
|
23398
|
+
* with its source text until the user picks one, which sets
|
|
23399
|
+
* `messageDirective.byName`.
|
|
23215
23400
|
*/
|
|
23216
23401
|
interface PluginMessageDirectiveRegistration {
|
|
23217
23402
|
/**
|
|
@@ -23226,8 +23411,9 @@ interface PluginMessageDirectiveRegistration {
|
|
|
23226
23411
|
* include `"ui"`. Fences elsewhere (user messages, file previews, plugin
|
|
23227
23412
|
* Markdown) keep BB's code block.
|
|
23228
23413
|
*
|
|
23229
|
-
*
|
|
23230
|
-
*
|
|
23414
|
+
* Exclusive per language (see "Exclusive slots" in the Plugin Guide); the
|
|
23415
|
+
* user's picks are `codeFence.byLanguage`. BB's code block renders when the
|
|
23416
|
+
* user picks it (`__builtin__`), when the plugin is disabled, and for a fence
|
|
23231
23417
|
* whose component throws. A throw affects that fence only, and BB tries the
|
|
23232
23418
|
* component again when the fence's `code` or `status` changes.
|
|
23233
23419
|
*
|
|
@@ -23266,6 +23452,12 @@ interface ThreadChatMessageReference {
|
|
|
23266
23452
|
}
|
|
23267
23453
|
/** Stable identity and creation time of one rendered conversation message. */
|
|
23268
23454
|
type ExperimentalMessageMetadataContext = Pick<ThreadChatMessageReference, "id" | "threadId"> & {
|
|
23455
|
+
/**
|
|
23456
|
+
* The message's link sequence, the same value as
|
|
23457
|
+
* `ThreadChatMessageReference.experimental_messageSeq`; pass it to
|
|
23458
|
+
* `navigate.toThread` or `navigate.experimental_threadHref`.
|
|
23459
|
+
*/
|
|
23460
|
+
messageSeq: number;
|
|
23269
23461
|
/** Unix time in milliseconds, supplied by BB's timeline. */
|
|
23270
23462
|
createdAt: number;
|
|
23271
23463
|
/** The containing turn, or null for a message outside a turn. */
|
|
@@ -23443,8 +23635,22 @@ interface ExperimentalShortcutKeyEvent {
|
|
|
23443
23635
|
* `run`, and the host owns matching, ordering, and recency.
|
|
23444
23636
|
*/
|
|
23445
23637
|
interface PluginCommandRegistration {
|
|
23446
|
-
/**
|
|
23638
|
+
/**
|
|
23639
|
+
* Initial keyboard binding. Users can rebind every command, including ones without a default. Conflicting defaults remain unbound.
|
|
23640
|
+
* It needs Command, Control or Alt, or a function key; with `experimental_keyScope: "pluginPage"` it may be a bare key such as `{ key: "c" }`.
|
|
23641
|
+
*/
|
|
23447
23642
|
defaultShortcut?: PluginCommandShortcut;
|
|
23643
|
+
/**
|
|
23644
|
+
* Where the keyboard binding works. Omitted, it works app-wide outside
|
|
23645
|
+
* modals. `"pluginPage"` limits it to while one of this plugin's nav panel
|
|
23646
|
+
* pages is the focused surface, and never while focus is in a field, an
|
|
23647
|
+
* editor or a menu, or a modal is open; only this scope accepts a bare-key
|
|
23648
|
+
* default. Another plugin's page-scoped binding never conflicts with it,
|
|
23649
|
+
* since the two pages are never focused together.
|
|
23650
|
+
* The palette still lists the command everywhere `isAvailable` allows.
|
|
23651
|
+
* Experimental: see docs/api_to_audit.md.
|
|
23652
|
+
*/
|
|
23653
|
+
experimental_keyScope?: "pluginPage";
|
|
23448
23654
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
23449
23655
|
id: string;
|
|
23450
23656
|
/** The row's label, e.g. "Linear: open issue for this thread". */
|
|
@@ -23984,10 +24190,18 @@ type PluginRealtimeConnectionState = "connected" | "connecting" | "reconnecting"
|
|
|
23984
24190
|
type PluginComposerScope = {
|
|
23985
24191
|
kind: "thread";
|
|
23986
24192
|
threadId: string;
|
|
24193
|
+
/** The thread's project. */
|
|
24194
|
+
projectId: string;
|
|
24195
|
+
/** The thread's environment; null while the thread has none. */
|
|
24196
|
+
environmentId: string | null;
|
|
23987
24197
|
} | {
|
|
23988
24198
|
kind: "queued-message";
|
|
23989
24199
|
threadId: string;
|
|
23990
24200
|
queuedMessageId: string;
|
|
24201
|
+
/** The queued message's thread's project. */
|
|
24202
|
+
projectId: string;
|
|
24203
|
+
/** The queued message's thread's environment; null while it has none. */
|
|
24204
|
+
environmentId: string | null;
|
|
23991
24205
|
} | {
|
|
23992
24206
|
kind: "new-thread";
|
|
23993
24207
|
/** Root compose's effective selected project; null only while unresolved. */
|
|
@@ -24277,8 +24491,9 @@ interface PluginComposerApi {
|
|
|
24277
24491
|
* Insert text and mentions. See {@link ComposerInsertOptions} for placement.
|
|
24278
24492
|
* Mentions read from `draft` are recreated exactly; the calling plugin's
|
|
24279
24493
|
* own `{ provider, id, label }` resolves through its mention provider.
|
|
24280
|
-
* Throws for another plugin's mention without `kind`,
|
|
24281
|
-
* `at: "cursor"` when
|
|
24494
|
+
* Throws for another plugin's mention without `kind`, for an empty provider
|
|
24495
|
+
* id, one containing `:`, or an empty item id, and for `at: "cursor"` when
|
|
24496
|
+
* the composer is not on screen.
|
|
24282
24497
|
*/
|
|
24283
24498
|
insert(parts: ComposerInsertPart | readonly ComposerInsertPart[], options?: ComposerInsertOptions): void;
|
|
24284
24499
|
/**
|
|
@@ -24366,7 +24581,8 @@ interface PluginComposerApi {
|
|
|
24366
24581
|
* has, so a missing key means "no such picker here" and a value that
|
|
24367
24582
|
* differs from the one passed was reconciled (a reasoning level the model
|
|
24368
24583
|
* does not support, a service tier the model does not offer, a permission
|
|
24369
|
-
* mode above the machine's ceiling, a model the provider does not list
|
|
24584
|
+
* mode above the machine's ceiling, a model the provider does not list, a
|
|
24585
|
+
* `reuse` of a missing or destroyed environment). A provider the composer does not list is
|
|
24370
24586
|
* ignored together with the model and reasoning level meant for it, so the
|
|
24371
24587
|
* stored provider preference never names something the picker could not
|
|
24372
24588
|
* have chosen. `environment` is absent while the composer
|
|
@@ -24732,8 +24948,8 @@ interface NewThreadComposerProps {
|
|
|
24732
24948
|
* - A `host` environment whose host no longer exists (or whose project has
|
|
24733
24949
|
* no source on it) falls back to the composer's default host, exactly as
|
|
24734
24950
|
* the primary compose surface would.
|
|
24735
|
-
* - A `reuse` environment
|
|
24736
|
-
* falls back the same way.
|
|
24951
|
+
* - A `reuse` environment is looked up directly, even without unarchived
|
|
24952
|
+
* threads. A missing or destroyed environment falls back the same way.
|
|
24737
24953
|
* - An `unmanaged` workspace's `path` has no composer control; the seeded
|
|
24738
24954
|
* selection submits `path: null` (the host's configured checkout). The
|
|
24739
24955
|
* composer itself never produces a non-null `path`, so real round trips
|
|
@@ -24745,13 +24961,22 @@ interface NewThreadComposerProps {
|
|
|
24745
24961
|
*/
|
|
24746
24962
|
defaultEnvironment?: CreateThreadEnvironmentArgs;
|
|
24747
24963
|
/**
|
|
24748
|
-
* Seeds the draft, only while the draft is still empty.
|
|
24749
|
-
* `@thread:<id>`, `@project:<id>`, and `@section:<id>` tokens
|
|
24750
|
-
* pills with host-resolved titles/names. Missing
|
|
24751
|
-
* IDs; unavailable generated thread IDs use
|
|
24752
|
-
* if lookup fails). Other unknown thread IDs
|
|
24753
|
-
|
|
24754
|
-
|
|
24964
|
+
* Seeds the draft, only while the draft is still empty. In a string,
|
|
24965
|
+
* serialized `@thread:<id>`, `@project:<id>`, and `@section:<id>` tokens
|
|
24966
|
+
* become mention pills with host-resolved titles/names. Missing
|
|
24967
|
+
* projects/sections use their IDs; unavailable generated thread IDs use
|
|
24968
|
+
* "Unavailable thread" ("Thread" if lookup fails). Other unknown thread IDs
|
|
24969
|
+
* use the ID as their label.
|
|
24970
|
+
*
|
|
24971
|
+
* Pass {@link ComposerInsertPart}s instead to seed any mention kind,
|
|
24972
|
+
* exactly as `useComposer().insert()` would: string parts stay plain text,
|
|
24973
|
+
* mentions with a `kind` are recreated as given, and this plugin's own
|
|
24974
|
+
* `{ provider, id, label }` resolves through its mention provider at send
|
|
24975
|
+
* time. Parts that `insert()` would reject (an empty provider id, one
|
|
24976
|
+
* containing `:`, or an empty item id) leave the draft empty and log a
|
|
24977
|
+
* console warning instead of throwing.
|
|
24978
|
+
*/
|
|
24979
|
+
initialPrompt?: string | readonly ComposerInsertPart[];
|
|
24755
24980
|
placeholder?: string;
|
|
24756
24981
|
/**
|
|
24757
24982
|
* "contained" (default) fills and scrolls inside a bounded parent;
|
|
@@ -24851,7 +25076,7 @@ interface ExperimentalFilePreviewOptions extends ExperimentalFileOpenOptions {
|
|
|
24851
25076
|
/**
|
|
24852
25077
|
* Id of one of the calling plugin's `fileOpener` registrations to show the
|
|
24853
25078
|
* file with for this open, as the file tab's "Open with" menu does. Omit it
|
|
24854
|
-
* to use the opener the user's
|
|
25079
|
+
* to use the opener the user's `fileOpener.byExtension` pick selects. An opener
|
|
24855
25080
|
* that is not registered falls back to BB's preview.
|
|
24856
25081
|
*/
|
|
24857
25082
|
opener?: string;
|
|
@@ -25010,15 +25235,26 @@ interface BbContext {
|
|
|
25010
25235
|
*/
|
|
25011
25236
|
experimental_pluginPanel: ExperimentalPluginPanelPage | null;
|
|
25012
25237
|
}
|
|
25238
|
+
/** A bb settings section, as `/settings/<section>` names it. */
|
|
25239
|
+
type ExperimentalSettingsSection = "ai-services" | "appearance" | "archived" | "browser" | "community" | "environment-variables" | "experiments" | "files" | "general" | "keyboard" | "machines" | "marketplaces" | "mobile" | "plugins" | "projects" | "providers" | "updates";
|
|
25240
|
+
/** A bb settings page; omit it to mean the calling plugin's own settings page. */
|
|
25241
|
+
interface ExperimentalSettingsTarget {
|
|
25242
|
+
section: ExperimentalSettingsSection;
|
|
25243
|
+
}
|
|
25013
25244
|
interface BbNavigate {
|
|
25014
25245
|
/**
|
|
25015
25246
|
* Open a thread. `split: true` applies bb's split placement rules (a right
|
|
25016
25247
|
* split by default, focus when already open, replace at the pane cap) and
|
|
25017
25248
|
* falls back to plain navigation where splits are off. Opening also expands
|
|
25018
25249
|
* the thread's conversation if the side panel had collapsed it.
|
|
25250
|
+
* `messageSeq` opens the thread at that message, as a message
|
|
25251
|
+
* link does: bb loads older history as needed, scrolls to the message and
|
|
25252
|
+
* highlights it, or shows a "Message not found" toast. Repeating the call
|
|
25253
|
+
* reveals the message again.
|
|
25019
25254
|
*/
|
|
25020
25255
|
toThread(threadId: string, options?: {
|
|
25021
25256
|
split?: boolean;
|
|
25257
|
+
messageSeq?: number;
|
|
25022
25258
|
}): void;
|
|
25023
25259
|
toProject(projectId: string): void;
|
|
25024
25260
|
/**
|
|
@@ -25034,21 +25270,28 @@ interface BbNavigate {
|
|
|
25034
25270
|
}): void;
|
|
25035
25271
|
/**
|
|
25036
25272
|
* Navigate to the root compose surface (the new-thread screen). Pass
|
|
25037
|
-
* `initialPrompt` to seed the composer draft when it is empty
|
|
25038
|
-
* thread, project, and section mention tokens become pills)
|
|
25273
|
+
* `initialPrompt` to seed the composer draft when it is empty, as a string
|
|
25274
|
+
* (serialized thread, project, and section mention tokens become pills) or
|
|
25275
|
+
* as {@link ComposerInsertPart}s with the same meaning as
|
|
25276
|
+
* `useComposer().insert()` (throws for an invalid provider or item id), and
|
|
25039
25277
|
* `focusPrompt` to focus the composer on arrival — the pairing behind
|
|
25040
25278
|
* "Create via chat" style entry points that drop the user into chat with a
|
|
25041
25279
|
* prefilled prompt. `projectId` makes that project the composer's
|
|
25042
25280
|
* selection; `placement` files the new thread in a section and pin state.
|
|
25043
25281
|
* Without `placement`, the screen keeps the placement it already shows,
|
|
25044
25282
|
* unless `environmentId` or `hostId` is set, which resets it to unpinned
|
|
25045
|
-
* and outside sections. `environmentId` reuses that environment
|
|
25283
|
+
* and outside sections. `environmentId` reuses that environment (falling
|
|
25284
|
+
* back to the composer's default when it is missing or destroyed) and
|
|
25046
25285
|
* `hostId` picks a machine for a new one (`environmentId` wins when both
|
|
25047
|
-
* are set).
|
|
25286
|
+
* are set). `split: true` opens the screen beside the caller with
|
|
25287
|
+
* `toThread`'s split rules: a right split by default, replace at the pane
|
|
25288
|
+
* cap, plain navigation where splits are off. bb has one new-thread screen,
|
|
25289
|
+
* so when it is already open in a pane, bb focuses that pane and applies the
|
|
25290
|
+
* other options to it.
|
|
25048
25291
|
*/
|
|
25049
25292
|
toCompose(options?: {
|
|
25050
25293
|
projectId?: string;
|
|
25051
|
-
initialPrompt?: string;
|
|
25294
|
+
initialPrompt?: string | readonly ComposerInsertPart[];
|
|
25052
25295
|
focusPrompt?: boolean;
|
|
25053
25296
|
placement?: {
|
|
25054
25297
|
sectionId: string | null;
|
|
@@ -25056,6 +25299,7 @@ interface BbNavigate {
|
|
|
25056
25299
|
};
|
|
25057
25300
|
environmentId?: string;
|
|
25058
25301
|
hostId?: string;
|
|
25302
|
+
split?: boolean;
|
|
25059
25303
|
}): void;
|
|
25060
25304
|
/**
|
|
25061
25305
|
* Open an HTTP(S) URL using this client's BB browser preference, or request
|
|
@@ -25083,6 +25327,30 @@ interface BbNavigate {
|
|
|
25083
25327
|
experimental_openTerminal(options: {
|
|
25084
25328
|
terminalId: string;
|
|
25085
25329
|
}): Promise<boolean>;
|
|
25330
|
+
/**
|
|
25331
|
+
* Open bb settings: this plugin's own settings page, or `target.section`.
|
|
25332
|
+
* Settings replaces the whole window, including any split panes; Back
|
|
25333
|
+
* returns to them. Experimental: see docs/api_to_audit.md.
|
|
25334
|
+
*/
|
|
25335
|
+
experimental_toSettings(target?: ExperimentalSettingsTarget): void;
|
|
25336
|
+
/**
|
|
25337
|
+
* The app-relative href of the location `toThread(threadId, options)`
|
|
25338
|
+
* opens: the thread, or its message at `messageSeq`. When bb
|
|
25339
|
+
* has not loaded the thread's project, the href is `/threads/<id>`, which bb
|
|
25340
|
+
* redirects to the project route, keeping the message. Use it on an `<a>`:
|
|
25341
|
+
* bb routes a plain click in place, Cmd/Ctrl-click opens a split, and
|
|
25342
|
+
* middle-click a new tab. For a URL to copy, use
|
|
25343
|
+
* `new URL(href, location.origin)`, as bb's Copy link does. Experimental:
|
|
25344
|
+
* see docs/api_to_audit.md.
|
|
25345
|
+
*/
|
|
25346
|
+
experimental_threadHref(threadId: string, options?: {
|
|
25347
|
+
messageSeq?: number;
|
|
25348
|
+
}): string;
|
|
25349
|
+
/**
|
|
25350
|
+
* The app-relative href of the settings page `experimental_toSettings(target)`
|
|
25351
|
+
* opens. Experimental: see docs/api_to_audit.md.
|
|
25352
|
+
*/
|
|
25353
|
+
experimental_settingsHref(target?: ExperimentalSettingsTarget): string;
|
|
25086
25354
|
}
|
|
25087
25355
|
/**
|
|
25088
25356
|
* BB live reads are fresh for two seconds, with no polling when freshness expires.
|
|
@@ -25361,8 +25629,9 @@ interface PluginSdkApp {
|
|
|
25361
25629
|
* objects keep their identity across updates while the underlying entry is
|
|
25362
25630
|
* unchanged, so a memoized row re-renders only when its own thread changed;
|
|
25363
25631
|
* the array itself is new on every update. Window your rows (render only
|
|
25364
|
-
* what is on screen)
|
|
25365
|
-
*
|
|
25632
|
+
* what is on screen) against `PluginThreadListProps.experimental_scrollElement`,
|
|
25633
|
+
* as the built-in sidebar does — a list that mounts one row per thread is
|
|
25634
|
+
* slow on phones with many threads.
|
|
25366
25635
|
* Experimental: see docs/api_to_audit.md.
|
|
25367
25636
|
*/
|
|
25368
25637
|
experimental_useSidebarThreads(options?: {
|
|
@@ -25610,6 +25879,27 @@ interface PluginSdkApp {
|
|
|
25610
25879
|
* failure feedback. Experimental: see docs/api_to_audit.md.
|
|
25611
25880
|
*/
|
|
25612
25881
|
experimental_copyToClipboard(content: ExperimentalClipboardContent): Promise<boolean>;
|
|
25882
|
+
/**
|
|
25883
|
+
* Shows the error toast bb's own actions show when a request fails. A plain
|
|
25884
|
+
* function, callable from components, action callbacks, and command
|
|
25885
|
+
* callbacks. Nothing shows when `error` is an `AbortError`. When the server
|
|
25886
|
+
* returned a lifecycle error, such as an environment that is not ready or
|
|
25887
|
+
* a thread that cannot be changed, the toast shows bb's own title and body
|
|
25888
|
+
* for it. Otherwise the title is
|
|
25889
|
+
* `fallbackMessage` and the description is the failure's message: for an
|
|
25890
|
+
* SDK error (`experimental_BbHttpError`), the message in the server's
|
|
25891
|
+
* response body, else the error's message without its `HTTP <status>:`
|
|
25892
|
+
* prefix; when the request never reached the server, "Could not reach the
|
|
25893
|
+
* server. Check that it is running and try again."; for any other error,
|
|
25894
|
+
* its message. The title and description drop a trailing period, the
|
|
25895
|
+
* description is left out when it equals the title or there is no message,
|
|
25896
|
+
* and a failure whose message is "Request failed" shows "Request failed"
|
|
25897
|
+
* with "Please try again". Experimental: see docs/api_to_audit.md.
|
|
25898
|
+
*/
|
|
25899
|
+
experimental_showErrorToast(options: {
|
|
25900
|
+
error: unknown;
|
|
25901
|
+
fallbackMessage: string;
|
|
25902
|
+
}): void;
|
|
25613
25903
|
/**
|
|
25614
25904
|
* Saves a file through bb's own download path, the one bb's file preview
|
|
25615
25905
|
* and attachment downloads use. Browsers and bb Desktop start an ordinary
|
|
@@ -25800,6 +26090,16 @@ interface PluginSdkApp {
|
|
|
25800
26090
|
experimental_VoiceRecordingBar: ComponentType<ExperimentalVoiceRecordingBarProps>;
|
|
25801
26091
|
experimental_FailedVoiceRecordings: ComponentType<ExperimentalFailedVoiceRecordingsProps>;
|
|
25802
26092
|
experimental_ShortcutHint: ComponentType<ExperimentalShortcutHintProps>;
|
|
26093
|
+
/**
|
|
26094
|
+
* The shortcut currently bound to this plugin's command `commandId` (the
|
|
26095
|
+
* `id` given to `app.commands.register`), formatted for this platform and
|
|
26096
|
+
* following the user's rebinds: the label bb's own buttons and tooltips
|
|
26097
|
+
* show. Null when the command is unbound, including a default left unbound
|
|
26098
|
+
* by a conflict, or when this plugin registered no such command. Throws for
|
|
26099
|
+
* an id that is not letters, digits, `-` and `_`.
|
|
26100
|
+
* Experimental: see docs/api_to_audit.md.
|
|
26101
|
+
*/
|
|
26102
|
+
experimental_useCommandShortcut(commandId: string): ExperimentalShortcutPresentation | null;
|
|
25803
26103
|
/**
|
|
25804
26104
|
* Whether `event` presses `key` (a `PluginCommandShortcut` key such as
|
|
25805
26105
|
* `"k"`, `"["` or `"Enter"`), compared the way bb compares keys for its own
|
|
@@ -25934,6 +26234,7 @@ declare const experimental_FailedVoiceRecordings: react.ComponentType<Experiment
|
|
|
25934
26234
|
declare const experimental_ShortcutHint: react.ComponentType<ExperimentalShortcutHintProps>;
|
|
25935
26235
|
declare const experimental_ImageLightbox: react.ComponentType<ExperimentalImageLightboxProps>;
|
|
25936
26236
|
declare const experimental_PromptMentionIcon: react.ComponentType<ExperimentalPromptMentionIconProps>;
|
|
26237
|
+
declare const experimental_useCommandShortcut: (commandId: string) => ExperimentalShortcutPresentation | null;
|
|
25937
26238
|
declare const experimental_matchesShortcutKey: (event: ExperimentalShortcutKeyEvent, key: string) => boolean;
|
|
25938
26239
|
declare const experimental_sliceUtf16Head: (value: string, maxChars: number) => string;
|
|
25939
26240
|
declare const experimental_describePromptMention: (mention: ExperimentalComposerMentionTarget) => ExperimentalPromptMentionPresentation;
|
|
@@ -25974,9 +26275,13 @@ declare const useSdk: () => PluginBrowserBbSdk;
|
|
|
25974
26275
|
declare const experimental_useProviders: () => PluginProvidersState;
|
|
25975
26276
|
declare const experimental_useCodeTheme: () => PluginCodeThemeState;
|
|
25976
26277
|
declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
|
|
26278
|
+
declare const experimental_showErrorToast: (options: {
|
|
26279
|
+
error: unknown;
|
|
26280
|
+
fallbackMessage: string;
|
|
26281
|
+
}) => void;
|
|
25977
26282
|
declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => Promise<ExperimentalSaveFileOutcome>;
|
|
25978
26283
|
declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
|
|
25979
26284
|
declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
|
|
25980
26285
|
|
|
25981
|
-
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_hasServers, experimental_matchesShortcutKey, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_sliceUtf16Head, experimental_useActiveComposer, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadRequests, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
25982
|
-
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerActionContext, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginActionContext, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginPanelPage, 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, ExperimentalThreadRequests, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
26286
|
+
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_CollapsibleStackCard, experimental_ComposerRoot, experimental_DetailRow, experimental_Diff, experimental_FailedVoiceRecordings, experimental_FileLink, experimental_FilePreview, experimental_Icon, experimental_ImageLightbox, experimental_InfoList, experimental_InfoListRow, experimental_InfoSection, experimental_NewThreadComposer, experimental_PanelTabIcon, experimental_PermissionModePicker, experimental_PluginIcon, experimental_PluginRpcCallError, experimental_PromptMentionIcon, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_ShortcutHint, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_THREAD_CONTEXT_SEGMENT_GROUPS, experimental_THREAD_INFO_ROW_GROUPS, experimental_THREAD_INFO_SECTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadContextCardRow, experimental_ThreadRowMetadata, experimental_ThreadStatusGlyph, experimental_ThreadTitleText, experimental_VoiceInputButton, experimental_VoiceInputTextarea, experimental_VoiceRecordingBar, experimental_copyToClipboard, experimental_describePromptMention, experimental_getApplicationLinkApprovals, experimental_hasServers, experimental_matchesShortcutKey, experimental_promptMentionClipboardAttributes, experimental_readPromptMentionClipboard, experimental_resolveThreadStatus, experimental_revokeApplicationLinkApproval, experimental_saveFile, experimental_showErrorToast, experimental_sliceUtf16Head, experimental_useActiveComposer, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCanOpenFileExternally, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useCommandShortcut, experimental_useComposerCommandSearch, experimental_useComposerContributions, experimental_useComposerMentionSearch, experimental_useComposerRenderer, experimental_useExperiment, experimental_useFixedTabTarget, experimental_usePanelTabs, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useRpcKeyedQuery, experimental_useRpcMutation, experimental_useRpcQuery, experimental_useRpcRefresh, experimental_useServers, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useTabVisible, experimental_useThreadActionRegistrations, experimental_useThreadActions, experimental_useThreadContextKind, experimental_useThreadExtensionState, experimental_useThreadRequests, experimental_useThreadTitleDisplayText, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
26287
|
+
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalBadge, ExperimentalBadgeTone, ExperimentalClipboardContent, ExperimentalCodeFenceRendererProps, ExperimentalCodeFenceRendererRegistration, ExperimentalCodeFenceStatus, ExperimentalCollapsibleStackCardDismiss, ExperimentalCollapsibleStackCardProps, ExperimentalComposerAction, ExperimentalComposerActionContext, ExperimentalComposerAttachments, ExperimentalComposerClipboard, ExperimentalComposerCommandRegistration, ExperimentalComposerCommandSearch, ExperimentalComposerCommandSuggestion, ExperimentalComposerCommandSuggestionGroup, ExperimentalComposerCommandTrigger, ExperimentalComposerContribution, ExperimentalComposerContributions, ExperimentalComposerDecorationSource, ExperimentalComposerEditor, ExperimentalComposerEditorState, ExperimentalComposerEditorVoice, ExperimentalComposerHistory, ExperimentalComposerInput, ExperimentalComposerMentionSearch, ExperimentalComposerMentionSuggestion, ExperimentalComposerMentionSuggestionGroup, ExperimentalComposerMentionTarget, ExperimentalComposerMenuEntryProps, ExperimentalComposerMenuSelection, ExperimentalComposerPendingUpload, ExperimentalComposerPlusMenuContribution, ExperimentalComposerPopupContribution, ExperimentalComposerPopupProps, ExperimentalComposerPopupRegistration, ExperimentalComposerPromptAction, ExperimentalComposerProps, ExperimentalComposerRegistration, ExperimentalComposerRendererApi, ExperimentalComposerRootProps, ExperimentalComposerSearchQuery, ExperimentalComposerSendMenuContribution, ExperimentalComposerSubmission, ExperimentalComposerThreadLink, ExperimentalComposerThreadLinkTarget, ExperimentalComposerThreadLinks, ExperimentalComposerThreadRelation, ExperimentalComposerVoice, ExperimentalDetailRowProps, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalDroppedThreadMention, ExperimentalFailedVoiceRecording, ExperimentalFailedVoiceRecordingsProps, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFilePreviewFile, ExperimentalFilePreviewOptions, ExperimentalFilePreviewProps, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalImageLightboxProps, ExperimentalInfoListProps, ExperimentalInfoListRowProps, ExperimentalInfoSectionProps, ExperimentalLiveFileTarget, ExperimentalMessageActionSurface, ExperimentalMessageClipboardPayload, ExperimentalMessageMetadataContext, ExperimentalMessageMetadataPlacement, ExperimentalMessageMetadataProps, ExperimentalMessageMetadataRegistration, ExperimentalOpenTabOptions, ExperimentalPageBreadcrumb, ExperimentalPageTitle, ExperimentalPanelController, ExperimentalPanelTab, ExperimentalPanelTabDetail, ExperimentalPanelTabIconProps, ExperimentalPanelTabs, ExperimentalPermissionModePickerProps, ExperimentalPluginActionContext, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginIconProps, ExperimentalPluginPanelPage, ExperimentalPromptMentionClipboardPill, ExperimentalPromptMentionIconProps, ExperimentalPromptMentionPresentation, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormAction, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalRpcKeyedMethod, ExperimentalRpcKeyedQueryState, ExperimentalRpcKeyedValue, ExperimentalRpcMutationOptions, ExperimentalRpcMutationState, ExperimentalRpcOptimisticCache, ExperimentalRpcQueryOptions, ExperimentalRpcQueryState, ExperimentalSaveFileOutcome, ExperimentalSaveFileRequest, ExperimentalServer, ExperimentalServers, ExperimentalSettingsSection, ExperimentalSettingsTarget, 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, ExperimentalThreadRequests, ExperimentalThreadRowMetadataDataInput, ExperimentalThreadRowMetadataLineProps, ExperimentalThreadRowMetadataProps, ExperimentalThreadRowMetadataRegistration, ExperimentalThreadTabActionContext, ExperimentalThreadTabProps, ExperimentalThreadTitleTextProps, ExperimentalVoiceDelivery, ExperimentalVoiceInputButtonProps, ExperimentalVoiceInputTextareaProps, ExperimentalVoiceRecordingBarProps, InternalDoNotUseSetupFailureDetail, InternalDoNotUseSetupFailureStage, InternalDoNotUseSetupGuideSectionProps, InternalDoNotUseSetupGuideSectionRegistration, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadSplitOptions, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginThreadAction, PluginThreadActionBulkItemInput, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionPlacement, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadListProps, PluginThreadListRegistration, PluginThreadStatus, PluginThreadStatusGlyphProps, PluginThreadStatusInput, PluginThreadStatusThread, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|