@get-bb/plugin-sdk 0.6.179 → 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 +373 -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 +465 -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;
|
|
@@ -7545,6 +7587,7 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7545
7587
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7546
7588
|
agentInstructions: z$1.ZodNullable<z$1.ZodString>;
|
|
7547
7589
|
folders: z$1.ZodArray<z$1.ZodObject<{
|
|
7590
|
+
exists: z$1.ZodBoolean;
|
|
7548
7591
|
isGitRepo: z$1.ZodBoolean;
|
|
7549
7592
|
path: z$1.ZodString;
|
|
7550
7593
|
}, z$1.core.$strict>>;
|
|
@@ -10744,6 +10787,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10744
10787
|
"question.submit": "question.submit";
|
|
10745
10788
|
"settings.open": "settings.open";
|
|
10746
10789
|
"settings.openServers": "settings.openServers";
|
|
10790
|
+
"settings.search": "settings.search";
|
|
10747
10791
|
"sidebar.toggle": "sidebar.toggle";
|
|
10748
10792
|
"terminal.find": "terminal.find";
|
|
10749
10793
|
"terminal.open": "terminal.open";
|
|
@@ -10788,9 +10832,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10788
10832
|
mainSurface: "mainSurface";
|
|
10789
10833
|
modalOpen: "modalOpen";
|
|
10790
10834
|
modelPickerOpen: "modelPickerOpen";
|
|
10835
|
+
pluginPage: "pluginPage";
|
|
10791
10836
|
promptAvailable: "promptAvailable";
|
|
10792
10837
|
questionFocus: "questionFocus";
|
|
10793
10838
|
questionOpen: "questionOpen";
|
|
10839
|
+
settingsPage: "settingsPage";
|
|
10794
10840
|
splitActive: "splitActive";
|
|
10795
10841
|
terminalFocus: "terminalFocus";
|
|
10796
10842
|
webSurface: "webSurface";
|
|
@@ -10804,9 +10850,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10804
10850
|
mainSurface: "mainSurface";
|
|
10805
10851
|
modalOpen: "modalOpen";
|
|
10806
10852
|
modelPickerOpen: "modelPickerOpen";
|
|
10853
|
+
pluginPage: "pluginPage";
|
|
10807
10854
|
promptAvailable: "promptAvailable";
|
|
10808
10855
|
questionFocus: "questionFocus";
|
|
10809
10856
|
questionOpen: "questionOpen";
|
|
10857
|
+
settingsPage: "settingsPage";
|
|
10810
10858
|
splitActive: "splitActive";
|
|
10811
10859
|
terminalFocus: "terminalFocus";
|
|
10812
10860
|
webSurface: "webSurface";
|
|
@@ -10822,6 +10870,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10822
10870
|
pluginUpdates: "pluginUpdates";
|
|
10823
10871
|
resumeDaemonSessions: "resumeDaemonSessions";
|
|
10824
10872
|
serverMove: "serverMove";
|
|
10873
|
+
serverRoutes: "serverRoutes";
|
|
10825
10874
|
skipFocusedThreadNotifications: "skipFocusedThreadNotifications";
|
|
10826
10875
|
threadContextCard: "threadContextCard";
|
|
10827
10876
|
walCheckpointWorker: "walCheckpointWorker";
|
|
@@ -10834,11 +10883,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10834
10883
|
generalSettings: z$1.ZodObject<{
|
|
10835
10884
|
allowFastServiceTier: z$1.ZodBoolean;
|
|
10836
10885
|
confirmThreadArchive: z$1.ZodBoolean;
|
|
10837
|
-
defaultMachineAccess: z$1.ZodNullable<z$1.ZodString>;
|
|
10838
10886
|
defaultProviderId: z$1.ZodNullable<z$1.ZodString>;
|
|
10839
10887
|
earlyAdopter: z$1.ZodBoolean;
|
|
10840
10888
|
idleProviderSessionTimeoutMinutes: z$1.ZodLiteral<0 | 5 | 60 | 10 | 30>;
|
|
10841
10889
|
keepHistoryAfterContextClear: z$1.ZodBoolean;
|
|
10890
|
+
localNetworkEnabled: z$1.ZodBoolean;
|
|
10842
10891
|
machineGitCredentialsEnabled: z$1.ZodBoolean;
|
|
10843
10892
|
machineServerUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
10844
10893
|
managedBranchPrefix: z$1.ZodString;
|
|
@@ -10849,6 +10898,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10849
10898
|
}>>;
|
|
10850
10899
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10851
10900
|
resumeThreadsAfterRestart: z$1.ZodBoolean;
|
|
10901
|
+
serverAccessOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10852
10902
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
10853
10903
|
showKeyboardHints: z$1.ZodBoolean;
|
|
10854
10904
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
@@ -10923,6 +10973,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10923
10973
|
"question.submit": "question.submit";
|
|
10924
10974
|
"settings.open": "settings.open";
|
|
10925
10975
|
"settings.openServers": "settings.openServers";
|
|
10976
|
+
"settings.search": "settings.search";
|
|
10926
10977
|
"sidebar.toggle": "sidebar.toggle";
|
|
10927
10978
|
"terminal.find": "terminal.find";
|
|
10928
10979
|
"terminal.open": "terminal.open";
|
|
@@ -11027,6 +11078,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11027
11078
|
"question.submit": "question.submit";
|
|
11028
11079
|
"settings.open": "settings.open";
|
|
11029
11080
|
"settings.openServers": "settings.openServers";
|
|
11081
|
+
"settings.search": "settings.search";
|
|
11030
11082
|
"sidebar.toggle": "sidebar.toggle";
|
|
11031
11083
|
"terminal.find": "terminal.find";
|
|
11032
11084
|
"terminal.open": "terminal.open";
|
|
@@ -11071,9 +11123,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11071
11123
|
mainSurface: "mainSurface";
|
|
11072
11124
|
modalOpen: "modalOpen";
|
|
11073
11125
|
modelPickerOpen: "modelPickerOpen";
|
|
11126
|
+
pluginPage: "pluginPage";
|
|
11074
11127
|
promptAvailable: "promptAvailable";
|
|
11075
11128
|
questionFocus: "questionFocus";
|
|
11076
11129
|
questionOpen: "questionOpen";
|
|
11130
|
+
settingsPage: "settingsPage";
|
|
11077
11131
|
splitActive: "splitActive";
|
|
11078
11132
|
terminalFocus: "terminalFocus";
|
|
11079
11133
|
webSurface: "webSurface";
|
|
@@ -11087,9 +11141,11 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11087
11141
|
mainSurface: "mainSurface";
|
|
11088
11142
|
modalOpen: "modalOpen";
|
|
11089
11143
|
modelPickerOpen: "modelPickerOpen";
|
|
11144
|
+
pluginPage: "pluginPage";
|
|
11090
11145
|
promptAvailable: "promptAvailable";
|
|
11091
11146
|
questionFocus: "questionFocus";
|
|
11092
11147
|
questionOpen: "questionOpen";
|
|
11148
|
+
settingsPage: "settingsPage";
|
|
11093
11149
|
splitActive: "splitActive";
|
|
11094
11150
|
terminalFocus: "terminalFocus";
|
|
11095
11151
|
webSurface: "webSurface";
|
|
@@ -11113,11 +11169,29 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11113
11169
|
win32: "win32";
|
|
11114
11170
|
wsl: "wsl";
|
|
11115
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>>;
|
|
11116
11183
|
serverAccess: z$1.ZodObject<{
|
|
11117
|
-
defaultProviderId: z$1.ZodString;
|
|
11118
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>;
|
|
11119
11193
|
providers: z$1.ZodArray<z$1.ZodObject<{
|
|
11120
|
-
availability: z$1.
|
|
11194
|
+
availability: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11121
11195
|
serverUrl: z$1.ZodOptional<z$1.ZodString>;
|
|
11122
11196
|
status: z$1.ZodLiteral<"available">;
|
|
11123
11197
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
@@ -11126,17 +11200,25 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
11126
11200
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11127
11201
|
message: z$1.ZodString;
|
|
11128
11202
|
status: z$1.ZodLiteral<"unavailable">;
|
|
11129
|
-
}, z$1.core.$strip>], "status"
|
|
11203
|
+
}, z$1.core.$strip>], "status">;
|
|
11130
11204
|
description: z$1.ZodString;
|
|
11131
11205
|
displayName: z$1.ZodString;
|
|
11132
11206
|
id: z$1.ZodString;
|
|
11133
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>;
|
|
11134
11215
|
}, z$1.core.$strip>>;
|
|
11135
11216
|
urlSource: z$1.ZodNullable<z$1.ZodEnum<{
|
|
11136
11217
|
BB_EXTERNAL_URL: "BB_EXTERNAL_URL";
|
|
11137
11218
|
setting: "setting";
|
|
11138
11219
|
}>>;
|
|
11139
11220
|
}, z$1.core.$strip>;
|
|
11221
|
+
serverId: z$1.ZodString;
|
|
11140
11222
|
serverUrl: z$1.ZodString;
|
|
11141
11223
|
voiceTranscriptionEnabled: z$1.ZodBoolean;
|
|
11142
11224
|
}, z$1.core.$strip>;
|
|
@@ -14382,6 +14464,7 @@ declare const threadListResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
14382
14464
|
starting: "starting";
|
|
14383
14465
|
stopping: "stopping";
|
|
14384
14466
|
}>;
|
|
14467
|
+
statusChangedAt: z$1.ZodNumber;
|
|
14385
14468
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
14386
14469
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
14387
14470
|
updatedAt: z$1.ZodNumber;
|
|
@@ -14487,6 +14570,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
14487
14570
|
starting: "starting";
|
|
14488
14571
|
stopping: "stopping";
|
|
14489
14572
|
}>;
|
|
14573
|
+
statusChangedAt: z$1.ZodNumber;
|
|
14490
14574
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
14491
14575
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
14492
14576
|
updatedAt: z$1.ZodNumber;
|
|
@@ -14584,6 +14668,7 @@ declare const threadSearchResponseSchema: z$1.ZodObject<{
|
|
|
14584
14668
|
starting: "starting";
|
|
14585
14669
|
stopping: "stopping";
|
|
14586
14670
|
}>;
|
|
14671
|
+
statusChangedAt: z$1.ZodNumber;
|
|
14587
14672
|
title: z$1.ZodNullable<z$1.ZodString>;
|
|
14588
14673
|
titleFallback: z$1.ZodNullable<z$1.ZodString>;
|
|
14589
14674
|
updatedAt: z$1.ZodNumber;
|
|
@@ -14703,6 +14788,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14703
14788
|
createdAt: z$1.ZodNumber;
|
|
14704
14789
|
deletedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
14705
14790
|
environment: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
|
|
14791
|
+
additionalPaths: z$1.ZodArray<z$1.ZodString>;
|
|
14706
14792
|
baseBranch: z$1.ZodNullable<z$1.ZodString>;
|
|
14707
14793
|
branchName: z$1.ZodNullable<z$1.ZodString>;
|
|
14708
14794
|
createdAt: z$1.ZodNumber;
|
|
@@ -14720,7 +14806,7 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14720
14806
|
type: z$1.ZodLiteral<"new">;
|
|
14721
14807
|
}, z$1.core.$strip>], "type">;
|
|
14722
14808
|
}, z$1.core.$strip>>;
|
|
14723
|
-
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}`>]>>;
|
|
14724
14810
|
hostId: z$1.ZodString;
|
|
14725
14811
|
hostLifecycle: z$1.ZodEnum<{
|
|
14726
14812
|
"cleanup-failed": "cleanup-failed";
|
|
@@ -14808,6 +14894,16 @@ declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
|
14808
14894
|
full: "full";
|
|
14809
14895
|
}>;
|
|
14810
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>>;
|
|
14811
14907
|
status: z$1.ZodEnum<{
|
|
14812
14908
|
connected: "connected";
|
|
14813
14909
|
disconnected: "disconnected";
|
|
@@ -17745,6 +17841,7 @@ declare const threadConversationOutlineResponseSchema: z$1.ZodObject<{
|
|
|
17745
17841
|
imageCount: z$1.ZodNumber;
|
|
17746
17842
|
}, z$1.core.$strict>>;
|
|
17747
17843
|
id: z$1.ZodString;
|
|
17844
|
+
messageSeq: z$1.ZodNumber;
|
|
17748
17845
|
preview: z$1.ZodString;
|
|
17749
17846
|
role: z$1.ZodEnum<{
|
|
17750
17847
|
assistant: "assistant";
|
|
@@ -17779,6 +17876,16 @@ declare const threadStoragePathListResponseSchema: z$1.ZodObject<{
|
|
|
17779
17876
|
}, z$1.core.$strip>;
|
|
17780
17877
|
type ThreadStoragePathListResponse = z$1.infer<typeof threadStoragePathListResponseSchema>;
|
|
17781
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
|
+
|
|
17782
17889
|
declare const desktopBrowserHostRequestSchema: z$1.ZodObject<{
|
|
17783
17890
|
hostId: z$1.ZodString;
|
|
17784
17891
|
}, z$1.core.$strict>;
|
|
@@ -18499,11 +18606,17 @@ interface EnvironmentCreateBaseArgs {
|
|
|
18499
18606
|
}
|
|
18500
18607
|
/**
|
|
18501
18608
|
* `hold: "user"` keeps the environment until the user deletes it and lets
|
|
18502
|
-
* 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.
|
|
18503
18613
|
*/
|
|
18504
|
-
type EnvironmentCreateArgs = EnvironmentCreateBaseArgs & {
|
|
18614
|
+
type EnvironmentCreateArgs = EnvironmentCreateBaseArgs & ({
|
|
18505
18615
|
hold: "user";
|
|
18506
|
-
}
|
|
18616
|
+
} | {
|
|
18617
|
+
hold: "plugin";
|
|
18618
|
+
pluginId: string;
|
|
18619
|
+
});
|
|
18507
18620
|
type EnvironmentCreateResult = Environment;
|
|
18508
18621
|
interface EnvironmentDeleteArgs {
|
|
18509
18622
|
environmentId: string;
|
|
@@ -18853,6 +18966,25 @@ interface ProjectSourceDeleteArgs {
|
|
|
18853
18966
|
projectId: string;
|
|
18854
18967
|
sourceId: string;
|
|
18855
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
|
+
}
|
|
18856
18988
|
type ProjectBranchesResult = ProjectBranchesResponse;
|
|
18857
18989
|
interface ProjectAttachmentReadResult {
|
|
18858
18990
|
bytes: Uint8Array;
|
|
@@ -18881,8 +19013,15 @@ type ProjectSourceAddResult = ProjectSource;
|
|
|
18881
19013
|
type ProjectSourceDeleteResult = OperationResponse;
|
|
18882
19014
|
type ProjectSourceUpdateResult = ProjectSource;
|
|
18883
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
|
+
}
|
|
18884
19022
|
interface ProjectSourcesArea {
|
|
18885
19023
|
add(args: ProjectSourceAddArgs): Promise<ProjectSourceAddResult>;
|
|
19024
|
+
experimental_folders: ProjectSourceFoldersArea;
|
|
18886
19025
|
delete(args: ProjectSourceDeleteArgs): Promise<ProjectSourceDeleteResult>;
|
|
18887
19026
|
update(args: ProjectSourceUpdateArgs): Promise<ProjectSourceUpdateResult>;
|
|
18888
19027
|
}
|
|
@@ -19683,6 +19822,7 @@ type ThreadCompactResult = OperationResponse;
|
|
|
19683
19822
|
type ThreadBannerActionResult = OperationResponse;
|
|
19684
19823
|
type ThreadUnarchiveResult = OperationResponse;
|
|
19685
19824
|
type ThreadArchiveAllResult = ThreadArchiveAllResponse;
|
|
19825
|
+
type ThreadImportResult = ThreadImportResponse;
|
|
19686
19826
|
type ThreadReadStateResult = ThreadResponse;
|
|
19687
19827
|
type ThreadRestoreEnvironmentResult = ThreadResponse;
|
|
19688
19828
|
type ThreadPinOrderResult = ThreadListResponse;
|
|
@@ -19786,6 +19926,10 @@ interface ThreadActionArgs {
|
|
|
19786
19926
|
signal?: AbortSignal;
|
|
19787
19927
|
threadId: string;
|
|
19788
19928
|
}
|
|
19929
|
+
interface ThreadImportArgs {
|
|
19930
|
+
file: ArrayBuffer | Blob | Uint8Array;
|
|
19931
|
+
signal?: AbortSignal;
|
|
19932
|
+
}
|
|
19789
19933
|
interface ThreadStatusArgs extends ThreadActionArgs {
|
|
19790
19934
|
signal?: AbortSignal;
|
|
19791
19935
|
}
|
|
@@ -20029,6 +20173,21 @@ interface ThreadsArea {
|
|
|
20029
20173
|
* on failure. Experimental: see docs/api_to_audit.md.
|
|
20030
20174
|
*/
|
|
20031
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>;
|
|
20032
20191
|
updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
|
|
20033
20192
|
queue: ThreadQueueArea;
|
|
20034
20193
|
interactions: ThreadInteractionsArea;
|
|
@@ -20584,6 +20743,15 @@ interface PluginThreadListProps {
|
|
|
20584
20743
|
* Call after the user opens a thread. It closes the mobile sidebar drawer.
|
|
20585
20744
|
*/
|
|
20586
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;
|
|
20587
20755
|
}
|
|
20588
20756
|
/** JavaScript world a Browser page expression runs in. */
|
|
20589
20757
|
type ExperimentalPluginBrowserPageWorld = "isolated" | "main";
|
|
@@ -21214,8 +21382,9 @@ interface PluginPendingInteractionRegistration {
|
|
|
21214
21382
|
*/
|
|
21215
21383
|
interface PluginSidebarFooterActionContext extends ExperimentalPluginActionContext {
|
|
21216
21384
|
/**
|
|
21217
|
-
*
|
|
21218
|
-
*
|
|
21385
|
+
* Open this plugin's settings page, where declarative settings and
|
|
21386
|
+
* `settingsSection` slots render; the same as
|
|
21387
|
+
* `navigate.experimental_toSettings()`.
|
|
21219
21388
|
*/
|
|
21220
21389
|
openSettings(): void;
|
|
21221
21390
|
}
|
|
@@ -21243,7 +21412,7 @@ interface PluginSidebarFooterActionRegistration {
|
|
|
21243
21412
|
* `panel` act on the focused surface, as for commands.
|
|
21244
21413
|
*/
|
|
21245
21414
|
interface ExperimentalSidebarFooterActionContext extends ExperimentalPluginActionContext {
|
|
21246
|
-
/**
|
|
21415
|
+
/** Open this plugin's settings page; the same as `navigate.experimental_toSettings()`. */
|
|
21247
21416
|
openPluginDetails(): void;
|
|
21248
21417
|
}
|
|
21249
21418
|
/** Fields shared by both experimental sidebar-footer item behaviors. */
|
|
@@ -21435,6 +21604,13 @@ interface PluginSidebarThread {
|
|
|
21435
21604
|
updatedAt: number;
|
|
21436
21605
|
lastReadAt: number | null;
|
|
21437
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;
|
|
21438
21614
|
}
|
|
21439
21615
|
/** One project in the sidebar's live view. */
|
|
21440
21616
|
interface PluginSidebarProject {
|
|
@@ -21968,8 +22144,10 @@ type ExperimentalThreadHeaderTitleProps = ExperimentalThreadHeaderRowProps;
|
|
|
21968
22144
|
* right-panel toggle and the window drag region. While the user renames the
|
|
21969
22145
|
* thread, bb shows its rename field instead. Double-click does not start a
|
|
21970
22146
|
* rename on a plugin title, and dragging a split pane starts only from parts
|
|
21971
|
-
* that are not links, buttons or inputs.
|
|
21972
|
-
* 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.
|
|
21973
22151
|
* The window title stays the thread title.
|
|
21974
22152
|
*/
|
|
21975
22153
|
interface ExperimentalThreadHeaderTitleRegistration {
|
|
@@ -22504,15 +22682,11 @@ interface PluginSidebarThreadSplit {
|
|
|
22504
22682
|
/**
|
|
22505
22683
|
* Replace the sidebar's thread list with a plugin component.
|
|
22506
22684
|
*
|
|
22507
|
-
*
|
|
22508
|
-
* scroll area. bb ships its own list as the bundled Thread list
|
|
22509
|
-
* (`thread-list/thread-list`)
|
|
22510
|
-
*
|
|
22511
|
-
*
|
|
22512
|
-
* bundled list; removing it reveals the next. The user can pin a specific
|
|
22513
|
-
* provider, including the bundled one, under Settings → Appearance → Sidebar.
|
|
22514
|
-
* A missing pinned provider or a crashing list shows a placeholder rather than
|
|
22515
|
-
* 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.
|
|
22516
22690
|
*
|
|
22517
22691
|
* The plugin gets the scrolling list and nothing else. The New-thread button,
|
|
22518
22692
|
* the search action, the plugin nav rows, and the footer stay host-rendered in
|
|
@@ -22531,13 +22705,11 @@ interface PluginThreadListRegistration {
|
|
|
22531
22705
|
/**
|
|
22532
22706
|
* Draw the sidebar's navigation: New thread, Plugins, Skills, Automations,
|
|
22533
22707
|
* plugin panels, and More, plus optional controls in the sidebar header.
|
|
22534
|
-
* Exclusive: bb's bundled
|
|
22535
|
-
* (`navigation/rail`, the default) and Top
|
|
22536
|
-
* through this slot
|
|
22537
|
-
*
|
|
22538
|
-
*
|
|
22539
|
-
* back the same way, and a crashing provider is replaced by the Navigation
|
|
22540
|
-
* 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.
|
|
22541
22713
|
*
|
|
22542
22714
|
* `placement` decides the layout around the component, so bb can lay out the
|
|
22543
22715
|
* sidebar before the plugin loads:
|
|
@@ -22573,10 +22745,10 @@ interface ExperimentalSidebarNavigationRegistration {
|
|
|
22573
22745
|
headerComponent?: ComponentType<ExperimentalSidebarHeaderProps>;
|
|
22574
22746
|
}
|
|
22575
22747
|
/**
|
|
22576
|
-
* Register this plugin as a viewer/editor for file extensions.
|
|
22577
|
-
*
|
|
22578
|
-
*
|
|
22579
|
-
*
|
|
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
|
|
22580
22752
|
* choice for one open, and so can the plugin by passing the opener's id as
|
|
22581
22753
|
* `experimental_openFilePreview`'s `opener`. A plugin can also use its own
|
|
22582
22754
|
* setting and render `Original` conditionally. Applies to working-tree, host,
|
|
@@ -22600,11 +22772,9 @@ interface PluginFileOpenerRegistration {
|
|
|
22600
22772
|
/**
|
|
22601
22773
|
* Replace BB's source-code renderer everywhere it renders supplied source
|
|
22602
22774
|
* text — the native file preview and every plugin that calls
|
|
22603
|
-
* `experimental_SourceCode`.
|
|
22604
|
-
*
|
|
22605
|
-
*
|
|
22606
|
-
* installed wins over one bundled with bb, then the first in deterministic
|
|
22607
|
-
* 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
|
|
22608
22778
|
* renderer, and a replacement can render `Original` to delegate
|
|
22609
22779
|
* per call (behind its own setting, by language, by size — whatever it needs).
|
|
22610
22780
|
*/
|
|
@@ -22620,9 +22790,10 @@ interface PluginSourceCodeRendererRegistration {
|
|
|
22620
22790
|
/**
|
|
22621
22791
|
* Replace BB's diff renderer everywhere it renders supplied diff content — the
|
|
22622
22792
|
* timeline file diffs, the environment diff panel's text bodies, and every
|
|
22623
|
-
* plugin that calls `experimental_Diff`. Exclusive, with the same
|
|
22624
|
-
*
|
|
22625
|
-
* {@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`.
|
|
22626
22797
|
*/
|
|
22627
22798
|
interface PluginDiffRendererRegistration {
|
|
22628
22799
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
@@ -22647,11 +22818,11 @@ interface ExperimentalComposerProps {
|
|
|
22647
22818
|
* composer, the New thread screen, queued and sent message editors). The
|
|
22648
22819
|
* banners, approval cards and queued messages above the box stay bb's.
|
|
22649
22820
|
*
|
|
22650
|
-
* Exclusive
|
|
22651
|
-
*
|
|
22652
|
-
*
|
|
22653
|
-
*
|
|
22654
|
-
*
|
|
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.
|
|
22655
22826
|
*
|
|
22656
22827
|
* The host keeps the draft, uploads, history, pickers and submission; the
|
|
22657
22828
|
* component draws over them with `experimental_useComposerRenderer()`.
|
|
@@ -23221,6 +23392,11 @@ interface ExperimentalThreadTitleTextProps {
|
|
|
23221
23392
|
* Register a leaf message directive rendered inside assistant (and nested
|
|
23222
23393
|
* agent) message Markdown. `id` is the directive name: `inline-vis` matches
|
|
23223
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`.
|
|
23224
23400
|
*/
|
|
23225
23401
|
interface PluginMessageDirectiveRegistration {
|
|
23226
23402
|
/**
|
|
@@ -23235,8 +23411,9 @@ interface PluginMessageDirectiveRegistration {
|
|
|
23235
23411
|
* include `"ui"`. Fences elsewhere (user messages, file previews, plugin
|
|
23236
23412
|
* Markdown) keep BB's code block.
|
|
23237
23413
|
*
|
|
23238
|
-
*
|
|
23239
|
-
*
|
|
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
|
|
23240
23417
|
* whose component throws. A throw affects that fence only, and BB tries the
|
|
23241
23418
|
* component again when the fence's `code` or `status` changes.
|
|
23242
23419
|
*
|
|
@@ -23275,6 +23452,12 @@ interface ThreadChatMessageReference {
|
|
|
23275
23452
|
}
|
|
23276
23453
|
/** Stable identity and creation time of one rendered conversation message. */
|
|
23277
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;
|
|
23278
23461
|
/** Unix time in milliseconds, supplied by BB's timeline. */
|
|
23279
23462
|
createdAt: number;
|
|
23280
23463
|
/** The containing turn, or null for a message outside a turn. */
|
|
@@ -23452,8 +23635,22 @@ interface ExperimentalShortcutKeyEvent {
|
|
|
23452
23635
|
* `run`, and the host owns matching, ordering, and recency.
|
|
23453
23636
|
*/
|
|
23454
23637
|
interface PluginCommandRegistration {
|
|
23455
|
-
/**
|
|
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
|
+
*/
|
|
23456
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";
|
|
23457
23654
|
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
23458
23655
|
id: string;
|
|
23459
23656
|
/** The row's label, e.g. "Linear: open issue for this thread". */
|
|
@@ -23993,10 +24190,18 @@ type PluginRealtimeConnectionState = "connected" | "connecting" | "reconnecting"
|
|
|
23993
24190
|
type PluginComposerScope = {
|
|
23994
24191
|
kind: "thread";
|
|
23995
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;
|
|
23996
24197
|
} | {
|
|
23997
24198
|
kind: "queued-message";
|
|
23998
24199
|
threadId: string;
|
|
23999
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;
|
|
24000
24205
|
} | {
|
|
24001
24206
|
kind: "new-thread";
|
|
24002
24207
|
/** Root compose's effective selected project; null only while unresolved. */
|
|
@@ -24286,8 +24491,9 @@ interface PluginComposerApi {
|
|
|
24286
24491
|
* Insert text and mentions. See {@link ComposerInsertOptions} for placement.
|
|
24287
24492
|
* Mentions read from `draft` are recreated exactly; the calling plugin's
|
|
24288
24493
|
* own `{ provider, id, label }` resolves through its mention provider.
|
|
24289
|
-
* Throws for another plugin's mention without `kind`,
|
|
24290
|
-
* `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.
|
|
24291
24497
|
*/
|
|
24292
24498
|
insert(parts: ComposerInsertPart | readonly ComposerInsertPart[], options?: ComposerInsertOptions): void;
|
|
24293
24499
|
/**
|
|
@@ -24375,7 +24581,8 @@ interface PluginComposerApi {
|
|
|
24375
24581
|
* has, so a missing key means "no such picker here" and a value that
|
|
24376
24582
|
* differs from the one passed was reconciled (a reasoning level the model
|
|
24377
24583
|
* does not support, a service tier the model does not offer, a permission
|
|
24378
|
-
* 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
|
|
24379
24586
|
* ignored together with the model and reasoning level meant for it, so the
|
|
24380
24587
|
* stored provider preference never names something the picker could not
|
|
24381
24588
|
* have chosen. `environment` is absent while the composer
|
|
@@ -24741,8 +24948,8 @@ interface NewThreadComposerProps {
|
|
|
24741
24948
|
* - A `host` environment whose host no longer exists (or whose project has
|
|
24742
24949
|
* no source on it) falls back to the composer's default host, exactly as
|
|
24743
24950
|
* the primary compose surface would.
|
|
24744
|
-
* - A `reuse` environment
|
|
24745
|
-
* 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.
|
|
24746
24953
|
* - An `unmanaged` workspace's `path` has no composer control; the seeded
|
|
24747
24954
|
* selection submits `path: null` (the host's configured checkout). The
|
|
24748
24955
|
* composer itself never produces a non-null `path`, so real round trips
|
|
@@ -24754,13 +24961,22 @@ interface NewThreadComposerProps {
|
|
|
24754
24961
|
*/
|
|
24755
24962
|
defaultEnvironment?: CreateThreadEnvironmentArgs;
|
|
24756
24963
|
/**
|
|
24757
|
-
* Seeds the draft, only while the draft is still empty.
|
|
24758
|
-
* `@thread:<id>`, `@project:<id>`, and `@section:<id>` tokens
|
|
24759
|
-
* pills with host-resolved titles/names. Missing
|
|
24760
|
-
* IDs; unavailable generated thread IDs use
|
|
24761
|
-
* if lookup fails). Other unknown thread IDs
|
|
24762
|
-
|
|
24763
|
-
|
|
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[];
|
|
24764
24980
|
placeholder?: string;
|
|
24765
24981
|
/**
|
|
24766
24982
|
* "contained" (default) fills and scrolls inside a bounded parent;
|
|
@@ -24860,7 +25076,7 @@ interface ExperimentalFilePreviewOptions extends ExperimentalFileOpenOptions {
|
|
|
24860
25076
|
/**
|
|
24861
25077
|
* Id of one of the calling plugin's `fileOpener` registrations to show the
|
|
24862
25078
|
* file with for this open, as the file tab's "Open with" menu does. Omit it
|
|
24863
|
-
* to use the opener the user's
|
|
25079
|
+
* to use the opener the user's `fileOpener.byExtension` pick selects. An opener
|
|
24864
25080
|
* that is not registered falls back to BB's preview.
|
|
24865
25081
|
*/
|
|
24866
25082
|
opener?: string;
|
|
@@ -25019,15 +25235,26 @@ interface BbContext {
|
|
|
25019
25235
|
*/
|
|
25020
25236
|
experimental_pluginPanel: ExperimentalPluginPanelPage | null;
|
|
25021
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
|
+
}
|
|
25022
25244
|
interface BbNavigate {
|
|
25023
25245
|
/**
|
|
25024
25246
|
* Open a thread. `split: true` applies bb's split placement rules (a right
|
|
25025
25247
|
* split by default, focus when already open, replace at the pane cap) and
|
|
25026
25248
|
* falls back to plain navigation where splits are off. Opening also expands
|
|
25027
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.
|
|
25028
25254
|
*/
|
|
25029
25255
|
toThread(threadId: string, options?: {
|
|
25030
25256
|
split?: boolean;
|
|
25257
|
+
messageSeq?: number;
|
|
25031
25258
|
}): void;
|
|
25032
25259
|
toProject(projectId: string): void;
|
|
25033
25260
|
/**
|
|
@@ -25043,21 +25270,28 @@ interface BbNavigate {
|
|
|
25043
25270
|
}): void;
|
|
25044
25271
|
/**
|
|
25045
25272
|
* Navigate to the root compose surface (the new-thread screen). Pass
|
|
25046
|
-
* `initialPrompt` to seed the composer draft when it is empty
|
|
25047
|
-
* 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
|
|
25048
25277
|
* `focusPrompt` to focus the composer on arrival — the pairing behind
|
|
25049
25278
|
* "Create via chat" style entry points that drop the user into chat with a
|
|
25050
25279
|
* prefilled prompt. `projectId` makes that project the composer's
|
|
25051
25280
|
* selection; `placement` files the new thread in a section and pin state.
|
|
25052
25281
|
* Without `placement`, the screen keeps the placement it already shows,
|
|
25053
25282
|
* unless `environmentId` or `hostId` is set, which resets it to unpinned
|
|
25054
|
-
* 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
|
|
25055
25285
|
* `hostId` picks a machine for a new one (`environmentId` wins when both
|
|
25056
|
-
* 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.
|
|
25057
25291
|
*/
|
|
25058
25292
|
toCompose(options?: {
|
|
25059
25293
|
projectId?: string;
|
|
25060
|
-
initialPrompt?: string;
|
|
25294
|
+
initialPrompt?: string | readonly ComposerInsertPart[];
|
|
25061
25295
|
focusPrompt?: boolean;
|
|
25062
25296
|
placement?: {
|
|
25063
25297
|
sectionId: string | null;
|
|
@@ -25065,6 +25299,7 @@ interface BbNavigate {
|
|
|
25065
25299
|
};
|
|
25066
25300
|
environmentId?: string;
|
|
25067
25301
|
hostId?: string;
|
|
25302
|
+
split?: boolean;
|
|
25068
25303
|
}): void;
|
|
25069
25304
|
/**
|
|
25070
25305
|
* Open an HTTP(S) URL using this client's BB browser preference, or request
|
|
@@ -25092,6 +25327,30 @@ interface BbNavigate {
|
|
|
25092
25327
|
experimental_openTerminal(options: {
|
|
25093
25328
|
terminalId: string;
|
|
25094
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;
|
|
25095
25354
|
}
|
|
25096
25355
|
/**
|
|
25097
25356
|
* BB live reads are fresh for two seconds, with no polling when freshness expires.
|
|
@@ -25370,8 +25629,9 @@ interface PluginSdkApp {
|
|
|
25370
25629
|
* objects keep their identity across updates while the underlying entry is
|
|
25371
25630
|
* unchanged, so a memoized row re-renders only when its own thread changed;
|
|
25372
25631
|
* the array itself is new on every update. Window your rows (render only
|
|
25373
|
-
* what is on screen)
|
|
25374
|
-
*
|
|
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.
|
|
25375
25635
|
* Experimental: see docs/api_to_audit.md.
|
|
25376
25636
|
*/
|
|
25377
25637
|
experimental_useSidebarThreads(options?: {
|
|
@@ -25619,6 +25879,27 @@ interface PluginSdkApp {
|
|
|
25619
25879
|
* failure feedback. Experimental: see docs/api_to_audit.md.
|
|
25620
25880
|
*/
|
|
25621
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;
|
|
25622
25903
|
/**
|
|
25623
25904
|
* Saves a file through bb's own download path, the one bb's file preview
|
|
25624
25905
|
* and attachment downloads use. Browsers and bb Desktop start an ordinary
|
|
@@ -25809,6 +26090,16 @@ interface PluginSdkApp {
|
|
|
25809
26090
|
experimental_VoiceRecordingBar: ComponentType<ExperimentalVoiceRecordingBarProps>;
|
|
25810
26091
|
experimental_FailedVoiceRecordings: ComponentType<ExperimentalFailedVoiceRecordingsProps>;
|
|
25811
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;
|
|
25812
26103
|
/**
|
|
25813
26104
|
* Whether `event` presses `key` (a `PluginCommandShortcut` key such as
|
|
25814
26105
|
* `"k"`, `"["` or `"Enter"`), compared the way bb compares keys for its own
|
|
@@ -25943,6 +26234,7 @@ declare const experimental_FailedVoiceRecordings: react.ComponentType<Experiment
|
|
|
25943
26234
|
declare const experimental_ShortcutHint: react.ComponentType<ExperimentalShortcutHintProps>;
|
|
25944
26235
|
declare const experimental_ImageLightbox: react.ComponentType<ExperimentalImageLightboxProps>;
|
|
25945
26236
|
declare const experimental_PromptMentionIcon: react.ComponentType<ExperimentalPromptMentionIconProps>;
|
|
26237
|
+
declare const experimental_useCommandShortcut: (commandId: string) => ExperimentalShortcutPresentation | null;
|
|
25946
26238
|
declare const experimental_matchesShortcutKey: (event: ExperimentalShortcutKeyEvent, key: string) => boolean;
|
|
25947
26239
|
declare const experimental_sliceUtf16Head: (value: string, maxChars: number) => string;
|
|
25948
26240
|
declare const experimental_describePromptMention: (mention: ExperimentalComposerMentionTarget) => ExperimentalPromptMentionPresentation;
|
|
@@ -25983,9 +26275,13 @@ declare const useSdk: () => PluginBrowserBbSdk;
|
|
|
25983
26275
|
declare const experimental_useProviders: () => PluginProvidersState;
|
|
25984
26276
|
declare const experimental_useCodeTheme: () => PluginCodeThemeState;
|
|
25985
26277
|
declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
|
|
26278
|
+
declare const experimental_showErrorToast: (options: {
|
|
26279
|
+
error: unknown;
|
|
26280
|
+
fallbackMessage: string;
|
|
26281
|
+
}) => void;
|
|
25986
26282
|
declare const experimental_saveFile: (request: ExperimentalSaveFileRequest) => Promise<ExperimentalSaveFileOutcome>;
|
|
25987
26283
|
declare const experimental_getApplicationLinkApprovals: () => Promise<string[]>;
|
|
25988
26284
|
declare const experimental_revokeApplicationLinkApproval: (scheme: string | null) => Promise<string[]>;
|
|
25989
26285
|
|
|
25990
|
-
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 };
|
|
25991
|
-
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 };
|