@get-bb/plugin-sdk 0.6.31 → 0.6.37
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 +648 -355
- package/bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts +4 -0
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +10 -0
- package/bundled-types/bb-plugin-sdk-internal-plugin-app-collector.d.ts +2 -3
- package/bundled-types/bb-plugin-sdk-provider-bridge-testing.d.ts +12 -0
- package/bundled-types/bb-plugin-sdk-provider-bridge.d.ts +16 -0
- package/bundled-types/bb-plugin-sdk-testing-app.d.ts +27 -40
- package/bundled-types/bb-plugin-sdk.d.ts +650 -354
- package/dist/app.js +33 -12
- package/dist/index.js +9 -0
- package/dist/internal/composer-handle.js +1 -0
- package/dist/internal/host-policy.js +11 -0
- package/dist/internal/plugin-app-collector.js +25 -22
- package/dist/provider-bridge-acp.js +5 -0
- package/dist/provider-bridge-testing.js +5 -0
- package/dist/provider-bridge.js +5 -0
- package/dist/testing/app.js +241 -93
- package/dist/testing/index.js +12 -0
- package/package.json +1 -1
|
@@ -110,7 +110,6 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
110
110
|
flat: "flat";
|
|
111
111
|
}>>;
|
|
112
112
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
113
|
-
setupChecklistVisible: z$1.ZodBoolean;
|
|
114
113
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
115
114
|
showGitChanges: z$1.ZodBoolean;
|
|
116
115
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -134,7 +133,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
134
133
|
flat: "flat";
|
|
135
134
|
}>>;
|
|
136
135
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
137
|
-
setupChecklistVisible: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
138
136
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
139
137
|
showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
140
138
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -157,7 +155,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
157
155
|
flat: "flat";
|
|
158
156
|
}>>;
|
|
159
157
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
160
|
-
setupChecklistVisible: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
161
158
|
showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
162
159
|
showKeyboardHints: z$1.ZodBoolean;
|
|
163
160
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
@@ -167,7 +164,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
167
164
|
}, z$1.core.$strict>]>;
|
|
168
165
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
169
166
|
|
|
170
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.
|
|
167
|
+
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.threadListProvider", "infoPanel.collapsedSections"];
|
|
171
168
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
172
169
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
173
170
|
schema: Schema;
|
|
@@ -196,21 +193,10 @@ declare const uiPreferenceDefinitions: {
|
|
|
196
193
|
readonly "sidebar.manualSectionOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
197
194
|
readonly "sidebar.machineSectionOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
198
195
|
readonly "sidebar.hiddenGroups": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
|
|
199
|
-
readonly "sidebar.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodEnum<{
|
|
200
|
-
pinned: "pinned";
|
|
201
|
-
threads: "threads";
|
|
202
|
-
}>>>;
|
|
203
|
-
readonly "sidebar.collapsedProjects": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
204
|
-
readonly "sidebar.collapsedThreads": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
205
|
-
readonly "sidebar.collapsedEnvironments": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
206
|
-
readonly "sidebar.collapsedThreadSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
207
|
-
readonly "sidebar.collapsedMachines": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
208
196
|
readonly "sidebar.footerOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
209
197
|
readonly "sidebar.hiddenFooterItems": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
210
198
|
readonly "sidebar.pluginPanelOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
211
199
|
readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
212
|
-
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
213
|
-
readonly "sidebar.headerProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
214
200
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
215
201
|
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
216
202
|
};
|
|
@@ -303,6 +289,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
303
289
|
"thread.search": "thread.search";
|
|
304
290
|
"window.find": "window.find";
|
|
305
291
|
"window.new": "window.new";
|
|
292
|
+
"window.reload": "window.reload";
|
|
306
293
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
307
294
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
308
295
|
platform: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -557,14 +544,12 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
557
544
|
|
|
558
545
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
559
546
|
changelogPreview: "changelogPreview";
|
|
560
|
-
navigationRail: "navigationRail";
|
|
561
547
|
performanceDiagnostics: "performanceDiagnostics";
|
|
562
548
|
serverMove: "serverMove";
|
|
563
549
|
}>, z$1.ZodBoolean>;
|
|
564
550
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
565
551
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
566
552
|
changelogPreview: "changelogPreview";
|
|
567
|
-
navigationRail: "navigationRail";
|
|
568
553
|
performanceDiagnostics: "performanceDiagnostics";
|
|
569
554
|
serverMove: "serverMove";
|
|
570
555
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
@@ -2931,6 +2916,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2931
2916
|
kind: z$1.ZodLiteral<"plugin">;
|
|
2932
2917
|
label: z$1.ZodString;
|
|
2933
2918
|
pluginId: z$1.ZodString;
|
|
2919
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2920
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
2921
|
+
label: z$1.ZodString;
|
|
2922
|
+
path: z$1.ZodString;
|
|
2934
2923
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
2935
2924
|
start: z$1.ZodNumber;
|
|
2936
2925
|
}, z$1.core.$strip>>>;
|
|
@@ -3017,6 +3006,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3017
3006
|
kind: z$1.ZodLiteral<"plugin">;
|
|
3018
3007
|
label: z$1.ZodString;
|
|
3019
3008
|
pluginId: z$1.ZodString;
|
|
3009
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3010
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
3011
|
+
label: z$1.ZodString;
|
|
3012
|
+
path: z$1.ZodString;
|
|
3020
3013
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
3021
3014
|
start: z$1.ZodNumber;
|
|
3022
3015
|
}, z$1.core.$strip>>>;
|
|
@@ -3995,6 +3988,10 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
3995
3988
|
kind: z$1.ZodLiteral<"plugin">;
|
|
3996
3989
|
label: z$1.ZodString;
|
|
3997
3990
|
pluginId: z$1.ZodString;
|
|
3991
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3992
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
3993
|
+
label: z$1.ZodString;
|
|
3994
|
+
path: z$1.ZodString;
|
|
3998
3995
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
3999
3996
|
start: z$1.ZodNumber;
|
|
4000
3997
|
}, z$1.core.$strip>>>;
|
|
@@ -4301,6 +4298,10 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4301
4298
|
kind: z$1.ZodLiteral<"plugin">;
|
|
4302
4299
|
label: z$1.ZodString;
|
|
4303
4300
|
pluginId: z$1.ZodString;
|
|
4301
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4302
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
4303
|
+
label: z$1.ZodString;
|
|
4304
|
+
path: z$1.ZodString;
|
|
4304
4305
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
4305
4306
|
start: z$1.ZodNumber;
|
|
4306
4307
|
}, z$1.core.$strip>>>;
|
|
@@ -4723,6 +4724,10 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
4723
4724
|
kind: z$1.ZodLiteral<"plugin">;
|
|
4724
4725
|
label: z$1.ZodString;
|
|
4725
4726
|
pluginId: z$1.ZodString;
|
|
4727
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4728
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
4729
|
+
label: z$1.ZodString;
|
|
4730
|
+
path: z$1.ZodString;
|
|
4726
4731
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
4727
4732
|
start: z$1.ZodNumber;
|
|
4728
4733
|
}, z$1.core.$strip>>>;
|
|
@@ -5276,6 +5281,10 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5276
5281
|
kind: z$1.ZodLiteral<"plugin">;
|
|
5277
5282
|
label: z$1.ZodString;
|
|
5278
5283
|
pluginId: z$1.ZodString;
|
|
5284
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5285
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
5286
|
+
label: z$1.ZodString;
|
|
5287
|
+
path: z$1.ZodString;
|
|
5279
5288
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
5280
5289
|
start: z$1.ZodNumber;
|
|
5281
5290
|
}, z$1.core.$strip>>>;
|
|
@@ -5311,6 +5320,10 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5311
5320
|
}>>;
|
|
5312
5321
|
}, z$1.core.$strip>], "type">>;
|
|
5313
5322
|
projectId: z$1.ZodString;
|
|
5323
|
+
scope: z$1.ZodEnum<{
|
|
5324
|
+
project: "project";
|
|
5325
|
+
thread: "thread";
|
|
5326
|
+
}>;
|
|
5314
5327
|
threadId: z$1.ZodString;
|
|
5315
5328
|
}, z$1.core.$strip>>;
|
|
5316
5329
|
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6417,6 +6430,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6417
6430
|
kind: z$1.ZodLiteral<"plugin">;
|
|
6418
6431
|
label: z$1.ZodString;
|
|
6419
6432
|
pluginId: z$1.ZodString;
|
|
6433
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6434
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
6435
|
+
label: z$1.ZodString;
|
|
6436
|
+
path: z$1.ZodString;
|
|
6420
6437
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
6421
6438
|
start: z$1.ZodNumber;
|
|
6422
6439
|
}, z$1.core.$strip>>>;
|
|
@@ -6503,6 +6520,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6503
6520
|
kind: z$1.ZodLiteral<"plugin">;
|
|
6504
6521
|
label: z$1.ZodString;
|
|
6505
6522
|
pluginId: z$1.ZodString;
|
|
6523
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6524
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
6525
|
+
label: z$1.ZodString;
|
|
6526
|
+
path: z$1.ZodString;
|
|
6506
6527
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
6507
6528
|
start: z$1.ZodNumber;
|
|
6508
6529
|
}, z$1.core.$strip>>>;
|
|
@@ -6671,6 +6692,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6671
6692
|
kind: z$1.ZodLiteral<"plugin">;
|
|
6672
6693
|
label: z$1.ZodString;
|
|
6673
6694
|
pluginId: z$1.ZodString;
|
|
6695
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6696
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
6697
|
+
label: z$1.ZodString;
|
|
6698
|
+
path: z$1.ZodString;
|
|
6674
6699
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
6675
6700
|
start: z$1.ZodNumber;
|
|
6676
6701
|
}, z$1.core.$strip>>>;
|
|
@@ -6757,6 +6782,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6757
6782
|
kind: z$1.ZodLiteral<"plugin">;
|
|
6758
6783
|
label: z$1.ZodString;
|
|
6759
6784
|
pluginId: z$1.ZodString;
|
|
6785
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6786
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
6787
|
+
label: z$1.ZodString;
|
|
6788
|
+
path: z$1.ZodString;
|
|
6760
6789
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
6761
6790
|
start: z$1.ZodNumber;
|
|
6762
6791
|
}, z$1.core.$strip>>>;
|
|
@@ -6953,7 +6982,21 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6953
6982
|
}, z$1.core.$strip>], "mode">;
|
|
6954
6983
|
threadId: z$1.ZodString;
|
|
6955
6984
|
type: z$1.ZodLiteral<"turn.submit">;
|
|
6956
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6985
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
6986
|
+
trace: z$1.ZodObject<{
|
|
6987
|
+
spans: z$1.ZodArray<z$1.ZodObject<{
|
|
6988
|
+
atMs: z$1.ZodNumber;
|
|
6989
|
+
name: z$1.ZodEnum<{
|
|
6990
|
+
"bridge.turnStarted": "bridge.turnStarted";
|
|
6991
|
+
"events.flushed": "events.flushed";
|
|
6992
|
+
"input.staged": "input.staged";
|
|
6993
|
+
"lanes.entered": "lanes.entered";
|
|
6994
|
+
"runtime.ready": "runtime.ready";
|
|
6995
|
+
"skills.staged": "skills.staged";
|
|
6996
|
+
}>;
|
|
6997
|
+
}, z$1.core.$strict>>;
|
|
6998
|
+
}, z$1.core.$strict>;
|
|
6999
|
+
}, z$1.core.$strip>, "settled", false>;
|
|
6957
7000
|
"thread.stop": HostDaemonCommandDescriptor<"thread.stop", z$1.ZodObject<{
|
|
6958
7001
|
environmentId: z$1.ZodString;
|
|
6959
7002
|
intent: z$1.ZodEnum<{
|
|
@@ -7771,6 +7814,65 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7771
7814
|
}>;
|
|
7772
7815
|
}, z$1.core.$strip>>;
|
|
7773
7816
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7817
|
+
"host.read_workspace_agent_context": HostDaemonCommandDescriptor<"host.read_workspace_agent_context", z$1.ZodObject<{
|
|
7818
|
+
includeAgentInstructions: z$1.ZodBoolean;
|
|
7819
|
+
projectSkillRead: z$1.ZodObject<{
|
|
7820
|
+
excludeNames: z$1.ZodArray<z$1.ZodString>;
|
|
7821
|
+
limit: z$1.ZodNumber;
|
|
7822
|
+
maxContentBytes: z$1.ZodNumber;
|
|
7823
|
+
maxFileBytes: z$1.ZodNumber;
|
|
7824
|
+
}, z$1.core.$strict>;
|
|
7825
|
+
rootPath: z$1.ZodString;
|
|
7826
|
+
sharedSkillRoots: z$1.ZodObject<{
|
|
7827
|
+
project: z$1.ZodArray<z$1.ZodObject<{
|
|
7828
|
+
ancestors: z$1.ZodBoolean;
|
|
7829
|
+
namePrefix: z$1.ZodString;
|
|
7830
|
+
path: z$1.ZodString;
|
|
7831
|
+
recursive: z$1.ZodBoolean;
|
|
7832
|
+
skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
|
|
7833
|
+
}, z$1.core.$strict>>;
|
|
7834
|
+
user: z$1.ZodArray<z$1.ZodObject<{
|
|
7835
|
+
ancestors: z$1.ZodBoolean;
|
|
7836
|
+
namePrefix: z$1.ZodString;
|
|
7837
|
+
path: z$1.ZodString;
|
|
7838
|
+
recursive: z$1.ZodBoolean;
|
|
7839
|
+
skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
|
|
7840
|
+
}, z$1.core.$strict>>;
|
|
7841
|
+
}, z$1.core.$strict>;
|
|
7842
|
+
type: z$1.ZodLiteral<"host.read_workspace_agent_context">;
|
|
7843
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7844
|
+
agentInstructions: z$1.ZodNullable<z$1.ZodString>;
|
|
7845
|
+
projectSkills: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7846
|
+
directoryName: z$1.ZodString;
|
|
7847
|
+
kind: z$1.ZodLiteral<"budget-exceeded">;
|
|
7848
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7849
|
+
content: z$1.ZodString;
|
|
7850
|
+
directoryName: z$1.ZodString;
|
|
7851
|
+
kind: z$1.ZodLiteral<"file">;
|
|
7852
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7853
|
+
directoryName: z$1.ZodString;
|
|
7854
|
+
kind: z$1.ZodLiteral<"oversized">;
|
|
7855
|
+
sizeBytes: z$1.ZodNumber;
|
|
7856
|
+
}, z$1.core.$strict>], "kind">>;
|
|
7857
|
+
projectSkillsTruncated: z$1.ZodBoolean;
|
|
7858
|
+
sharedSkills: z$1.ZodArray<z$1.ZodObject<{
|
|
7859
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7860
|
+
filePath: z$1.ZodString;
|
|
7861
|
+
id: z$1.ZodString;
|
|
7862
|
+
linked: z$1.ZodBoolean;
|
|
7863
|
+
name: z$1.ZodString;
|
|
7864
|
+
rootKind: z$1.ZodEnum<{
|
|
7865
|
+
"bb-builtin": "bb-builtin";
|
|
7866
|
+
"bb-data-dir": "bb-data-dir";
|
|
7867
|
+
"bb-project": "bb-project";
|
|
7868
|
+
"provider-project": "provider-project";
|
|
7869
|
+
"provider-user": "provider-user";
|
|
7870
|
+
"shared-project": "shared-project";
|
|
7871
|
+
"shared-user": "shared-user";
|
|
7872
|
+
plugin: "plugin";
|
|
7873
|
+
}>;
|
|
7874
|
+
}, z$1.core.$strip>>;
|
|
7875
|
+
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
7774
7876
|
"host.delete_skill": HostDaemonCommandDescriptor<"host.delete_skill", z$1.ZodObject<{
|
|
7775
7877
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
7776
7878
|
name: z$1.ZodString;
|
|
@@ -9904,6 +10006,7 @@ declare const pluginSettingsResponseSchema: z$1.ZodObject<{
|
|
|
9904
10006
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
9905
10007
|
default: z$1.ZodOptional<z$1.ZodString>;
|
|
9906
10008
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
10009
|
+
experimental_optionLabels: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
9907
10010
|
label: z$1.ZodString;
|
|
9908
10011
|
options: z$1.ZodArray<z$1.ZodString>;
|
|
9909
10012
|
type: z$1.ZodLiteral<"select">;
|
|
@@ -10549,6 +10652,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10549
10652
|
"thread.search": "thread.search";
|
|
10550
10653
|
"window.find": "window.find";
|
|
10551
10654
|
"window.new": "window.new";
|
|
10655
|
+
"window.reload": "window.reload";
|
|
10552
10656
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10553
10657
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10554
10658
|
desktopOnly: z$1.ZodBoolean;
|
|
@@ -10595,7 +10699,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10595
10699
|
}, z$1.core.$strict>>;
|
|
10596
10700
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10597
10701
|
changelogPreview: "changelogPreview";
|
|
10598
|
-
navigationRail: "navigationRail";
|
|
10599
10702
|
performanceDiagnostics: "performanceDiagnostics";
|
|
10600
10703
|
serverMove: "serverMove";
|
|
10601
10704
|
}>, z$1.ZodBoolean>;
|
|
@@ -10618,7 +10721,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10618
10721
|
flat: "flat";
|
|
10619
10722
|
}>>;
|
|
10620
10723
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10621
|
-
setupChecklistVisible: z$1.ZodBoolean;
|
|
10622
10724
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
10623
10725
|
showGitChanges: z$1.ZodBoolean;
|
|
10624
10726
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -10708,6 +10810,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10708
10810
|
"thread.search": "thread.search";
|
|
10709
10811
|
"window.find": "window.find";
|
|
10710
10812
|
"window.new": "window.new";
|
|
10813
|
+
"window.reload": "window.reload";
|
|
10711
10814
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10712
10815
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10713
10816
|
platform: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -10804,6 +10907,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10804
10907
|
"thread.search": "thread.search";
|
|
10805
10908
|
"window.find": "window.find";
|
|
10806
10909
|
"window.new": "window.new";
|
|
10910
|
+
"window.reload": "window.reload";
|
|
10807
10911
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10808
10912
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10809
10913
|
desktopOnly: z$1.ZodBoolean;
|
|
@@ -11396,6 +11500,11 @@ type TimelineRowBase = z$1.infer<typeof timelineRowBaseSchema>;
|
|
|
11396
11500
|
declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11397
11501
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
11398
11502
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
11503
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
11504
|
+
name: z$1.ZodString;
|
|
11505
|
+
path: z$1.ZodString;
|
|
11506
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11507
|
+
}, z$1.core.$strip>>;
|
|
11399
11508
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
11400
11509
|
localFiles: z$1.ZodNumber;
|
|
11401
11510
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -11461,6 +11570,10 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11461
11570
|
kind: z$1.ZodLiteral<"plugin">;
|
|
11462
11571
|
label: z$1.ZodString;
|
|
11463
11572
|
pluginId: z$1.ZodString;
|
|
11573
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11574
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
11575
|
+
label: z$1.ZodString;
|
|
11576
|
+
path: z$1.ZodString;
|
|
11464
11577
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
11465
11578
|
start: z$1.ZodNumber;
|
|
11466
11579
|
}, z$1.core.$strip>>;
|
|
@@ -11545,6 +11658,11 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11545
11658
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11546
11659
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
11547
11660
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
11661
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
11662
|
+
name: z$1.ZodString;
|
|
11663
|
+
path: z$1.ZodString;
|
|
11664
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11665
|
+
}, z$1.core.$strip>>;
|
|
11548
11666
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
11549
11667
|
localFiles: z$1.ZodNumber;
|
|
11550
11668
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -11589,6 +11707,7 @@ declare const timelineSystemRowSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
11589
11707
|
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
11590
11708
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11591
11709
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11710
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11592
11711
|
createdAt: z$1.ZodNumber;
|
|
11593
11712
|
detail: z$1.ZodNullable<z$1.ZodString>;
|
|
11594
11713
|
id: z$1.ZodString;
|
|
@@ -11682,6 +11801,7 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
|
|
|
11682
11801
|
callId: z$1.ZodString;
|
|
11683
11802
|
command: z$1.ZodString;
|
|
11684
11803
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11804
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11685
11805
|
createdAt: z$1.ZodNumber;
|
|
11686
11806
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
11687
11807
|
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -11743,6 +11863,7 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
|
|
|
11743
11863
|
}>>;
|
|
11744
11864
|
callId: z$1.ZodString;
|
|
11745
11865
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11866
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11746
11867
|
createdAt: z$1.ZodNumber;
|
|
11747
11868
|
id: z$1.ZodString;
|
|
11748
11869
|
kind: z$1.ZodLiteral<"work">;
|
|
@@ -11812,6 +11933,7 @@ declare const timelineFileChangeWorkRowSchema: z$1.ZodObject<{
|
|
|
11812
11933
|
movePath: z$1.ZodNullable<z$1.ZodString>;
|
|
11813
11934
|
path: z$1.ZodString;
|
|
11814
11935
|
}, z$1.core.$strip>;
|
|
11936
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11815
11937
|
createdAt: z$1.ZodNumber;
|
|
11816
11938
|
id: z$1.ZodString;
|
|
11817
11939
|
kind: z$1.ZodLiteral<"work">;
|
|
@@ -12415,7 +12537,7 @@ interface TimelineDelegationWorkRow extends TimelineWorkRowBase {
|
|
|
12415
12537
|
description: string | null;
|
|
12416
12538
|
output: string;
|
|
12417
12539
|
completedAt: number | null;
|
|
12418
|
-
childRows: TimelineRow[];
|
|
12540
|
+
childRows: TimelineRow[] | null;
|
|
12419
12541
|
presentation?: TimelineRowPresentation;
|
|
12420
12542
|
}
|
|
12421
12543
|
declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
|
|
@@ -12671,6 +12793,10 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12671
12793
|
kind: z$1.ZodLiteral<"plugin">;
|
|
12672
12794
|
label: z$1.ZodString;
|
|
12673
12795
|
pluginId: z$1.ZodString;
|
|
12796
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12797
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
12798
|
+
label: z$1.ZodString;
|
|
12799
|
+
path: z$1.ZodString;
|
|
12674
12800
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
12675
12801
|
start: z$1.ZodNumber;
|
|
12676
12802
|
}, z$1.core.$strip>>>;
|
|
@@ -12813,6 +12939,10 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12813
12939
|
kind: z$1.ZodLiteral<"plugin">;
|
|
12814
12940
|
label: z$1.ZodString;
|
|
12815
12941
|
pluginId: z$1.ZodString;
|
|
12942
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12943
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
12944
|
+
label: z$1.ZodString;
|
|
12945
|
+
path: z$1.ZodString;
|
|
12816
12946
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
12817
12947
|
start: z$1.ZodNumber;
|
|
12818
12948
|
}, z$1.core.$strip>>>;
|
|
@@ -12943,6 +13073,10 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12943
13073
|
kind: z$1.ZodLiteral<"plugin">;
|
|
12944
13074
|
label: z$1.ZodString;
|
|
12945
13075
|
pluginId: z$1.ZodString;
|
|
13076
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13077
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13078
|
+
label: z$1.ZodString;
|
|
13079
|
+
path: z$1.ZodString;
|
|
12946
13080
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
12947
13081
|
start: z$1.ZodNumber;
|
|
12948
13082
|
}, z$1.core.$strip>>>;
|
|
@@ -13071,6 +13205,10 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
13071
13205
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13072
13206
|
label: z$1.ZodString;
|
|
13073
13207
|
pluginId: z$1.ZodString;
|
|
13208
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13209
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13210
|
+
label: z$1.ZodString;
|
|
13211
|
+
path: z$1.ZodString;
|
|
13074
13212
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13075
13213
|
start: z$1.ZodNumber;
|
|
13076
13214
|
}, z$1.core.$strip>>>;
|
|
@@ -13201,6 +13339,10 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
13201
13339
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13202
13340
|
label: z$1.ZodString;
|
|
13203
13341
|
pluginId: z$1.ZodString;
|
|
13342
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13343
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13344
|
+
label: z$1.ZodString;
|
|
13345
|
+
path: z$1.ZodString;
|
|
13204
13346
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13205
13347
|
start: z$1.ZodNumber;
|
|
13206
13348
|
}, z$1.core.$strip>>>;
|
|
@@ -13376,6 +13518,10 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
13376
13518
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13377
13519
|
label: z$1.ZodString;
|
|
13378
13520
|
pluginId: z$1.ZodString;
|
|
13521
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13522
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13523
|
+
label: z$1.ZodString;
|
|
13524
|
+
path: z$1.ZodString;
|
|
13379
13525
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13380
13526
|
start: z$1.ZodNumber;
|
|
13381
13527
|
}, z$1.core.$strip>>>;
|
|
@@ -13549,6 +13695,10 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13549
13695
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13550
13696
|
label: z$1.ZodString;
|
|
13551
13697
|
pluginId: z$1.ZodString;
|
|
13698
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13699
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13700
|
+
label: z$1.ZodString;
|
|
13701
|
+
path: z$1.ZodString;
|
|
13552
13702
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13553
13703
|
start: z$1.ZodNumber;
|
|
13554
13704
|
}, z$1.core.$strip>>>;
|
|
@@ -13657,6 +13807,10 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13657
13807
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13658
13808
|
label: z$1.ZodString;
|
|
13659
13809
|
pluginId: z$1.ZodString;
|
|
13810
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13811
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13812
|
+
label: z$1.ZodString;
|
|
13813
|
+
path: z$1.ZodString;
|
|
13660
13814
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13661
13815
|
start: z$1.ZodNumber;
|
|
13662
13816
|
}, z$1.core.$strip>>>;
|
|
@@ -13774,6 +13928,10 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13774
13928
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13775
13929
|
label: z$1.ZodString;
|
|
13776
13930
|
pluginId: z$1.ZodString;
|
|
13931
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13932
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13933
|
+
label: z$1.ZodString;
|
|
13934
|
+
path: z$1.ZodString;
|
|
13777
13935
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13778
13936
|
start: z$1.ZodNumber;
|
|
13779
13937
|
}, z$1.core.$strip>>>;
|
|
@@ -14204,6 +14362,20 @@ declare const threadGetQuerySchema: z$1.ZodObject<{
|
|
|
14204
14362
|
}, z$1.core.$strip>;
|
|
14205
14363
|
type ThreadGetQuery = z$1.infer<typeof threadGetQuerySchema>;
|
|
14206
14364
|
type ThreadPluginMetadataResponse = z$1.infer<typeof pluginMetadataSchema>;
|
|
14365
|
+
declare const pluginThreadMetadataListResponseSchema: z$1.ZodObject<{
|
|
14366
|
+
threads: z$1.ZodArray<z$1.ZodObject<{
|
|
14367
|
+
metadata: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
14368
|
+
threadId: z$1.ZodString;
|
|
14369
|
+
}, z$1.core.$strict>>;
|
|
14370
|
+
}, z$1.core.$strict>;
|
|
14371
|
+
type PluginThreadMetadataListResponse = z$1.infer<typeof pluginThreadMetadataListResponseSchema>;
|
|
14372
|
+
declare const threadAncestorsListResponseSchema: z$1.ZodObject<{
|
|
14373
|
+
threads: z$1.ZodArray<z$1.ZodObject<{
|
|
14374
|
+
ancestorIds: z$1.ZodArray<z$1.ZodString>;
|
|
14375
|
+
threadId: z$1.ZodString;
|
|
14376
|
+
}, z$1.core.$strict>>;
|
|
14377
|
+
}, z$1.core.$strict>;
|
|
14378
|
+
type ThreadAncestorsListResponse = z$1.infer<typeof threadAncestorsListResponseSchema>;
|
|
14207
14379
|
declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
14208
14380
|
activeBackgroundAgentCount: z$1.ZodNumber;
|
|
14209
14381
|
archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -14705,6 +14877,10 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14705
14877
|
kind: z$1.ZodLiteral<"plugin">;
|
|
14706
14878
|
label: z$1.ZodString;
|
|
14707
14879
|
pluginId: z$1.ZodString;
|
|
14880
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14881
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
14882
|
+
label: z$1.ZodString;
|
|
14883
|
+
path: z$1.ZodString;
|
|
14708
14884
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14709
14885
|
start: z$1.ZodNumber;
|
|
14710
14886
|
}, z$1.core.$strip>>>;
|
|
@@ -14949,6 +15125,10 @@ declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
|
14949
15125
|
afterSequence: z$1.ZodOptional<z$1.ZodString>;
|
|
14950
15126
|
beforeAnchorId: z$1.ZodOptional<z$1.ZodString>;
|
|
14951
15127
|
beforeAnchorSeq: z$1.ZodOptional<z$1.ZodString>;
|
|
15128
|
+
deferContent: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15129
|
+
false: "false";
|
|
15130
|
+
true: "true";
|
|
15131
|
+
}>>;
|
|
14952
15132
|
includeNestedRows: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14953
15133
|
false: "false";
|
|
14954
15134
|
true: "true";
|
|
@@ -14962,6 +15142,11 @@ declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
|
14962
15142
|
type ThreadTimelineQuery = z$1.infer<typeof threadTimelineQuerySchema>;
|
|
14963
15143
|
declare const timelineTurnSummaryDetailsQuerySchema: z$1.ZodObject<{
|
|
14964
15144
|
beforeCursor: z$1.ZodOptional<z$1.ZodString>;
|
|
15145
|
+
deferContent: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15146
|
+
false: "false";
|
|
15147
|
+
true: "true";
|
|
15148
|
+
}>>;
|
|
15149
|
+
itemId: z$1.ZodOptional<z$1.ZodString>;
|
|
14965
15150
|
sourceSeqEnd: z$1.ZodString;
|
|
14966
15151
|
sourceSeqStart: z$1.ZodString;
|
|
14967
15152
|
turnId: z$1.ZodString;
|
|
@@ -14971,6 +15156,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
14971
15156
|
after: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14972
15157
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14973
15158
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15159
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15160
|
+
name: z$1.ZodString;
|
|
15161
|
+
path: z$1.ZodString;
|
|
15162
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15163
|
+
}, z$1.core.$strip>>;
|
|
14974
15164
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14975
15165
|
localFiles: z$1.ZodNumber;
|
|
14976
15166
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15036,6 +15226,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15036
15226
|
kind: z$1.ZodLiteral<"plugin">;
|
|
15037
15227
|
label: z$1.ZodString;
|
|
15038
15228
|
pluginId: z$1.ZodString;
|
|
15229
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15230
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
15231
|
+
label: z$1.ZodString;
|
|
15232
|
+
path: z$1.ZodString;
|
|
15039
15233
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15040
15234
|
start: z$1.ZodNumber;
|
|
15041
15235
|
}, z$1.core.$strip>>;
|
|
@@ -15120,6 +15314,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15120
15314
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15121
15315
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15122
15316
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15317
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15318
|
+
name: z$1.ZodString;
|
|
15319
|
+
path: z$1.ZodString;
|
|
15320
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15321
|
+
}, z$1.core.$strip>>;
|
|
15123
15322
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15124
15323
|
localFiles: z$1.ZodNumber;
|
|
15125
15324
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15142,6 +15341,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15142
15341
|
before: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15143
15342
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15144
15343
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15344
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15345
|
+
name: z$1.ZodString;
|
|
15346
|
+
path: z$1.ZodString;
|
|
15347
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15348
|
+
}, z$1.core.$strip>>;
|
|
15145
15349
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15146
15350
|
localFiles: z$1.ZodNumber;
|
|
15147
15351
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15207,6 +15411,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15207
15411
|
kind: z$1.ZodLiteral<"plugin">;
|
|
15208
15412
|
label: z$1.ZodString;
|
|
15209
15413
|
pluginId: z$1.ZodString;
|
|
15414
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15415
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
15416
|
+
label: z$1.ZodString;
|
|
15417
|
+
path: z$1.ZodString;
|
|
15210
15418
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15211
15419
|
start: z$1.ZodNumber;
|
|
15212
15420
|
}, z$1.core.$strip>>;
|
|
@@ -15291,6 +15499,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15291
15499
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15292
15500
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15293
15501
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15502
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15503
|
+
name: z$1.ZodString;
|
|
15504
|
+
path: z$1.ZodString;
|
|
15505
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15506
|
+
}, z$1.core.$strip>>;
|
|
15294
15507
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15295
15508
|
localFiles: z$1.ZodNumber;
|
|
15296
15509
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15313,6 +15526,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15313
15526
|
message: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15314
15527
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15315
15528
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15529
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15530
|
+
name: z$1.ZodString;
|
|
15531
|
+
path: z$1.ZodString;
|
|
15532
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15533
|
+
}, z$1.core.$strip>>;
|
|
15316
15534
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15317
15535
|
localFiles: z$1.ZodNumber;
|
|
15318
15536
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15378,6 +15596,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15378
15596
|
kind: z$1.ZodLiteral<"plugin">;
|
|
15379
15597
|
label: z$1.ZodString;
|
|
15380
15598
|
pluginId: z$1.ZodString;
|
|
15599
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15600
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
15601
|
+
label: z$1.ZodString;
|
|
15602
|
+
path: z$1.ZodString;
|
|
15381
15603
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15382
15604
|
start: z$1.ZodNumber;
|
|
15383
15605
|
}, z$1.core.$strip>>;
|
|
@@ -15462,6 +15684,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15462
15684
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15463
15685
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15464
15686
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15687
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15688
|
+
name: z$1.ZodString;
|
|
15689
|
+
path: z$1.ZodString;
|
|
15690
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15691
|
+
}, z$1.core.$strip>>;
|
|
15465
15692
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15466
15693
|
localFiles: z$1.ZodNumber;
|
|
15467
15694
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15828,6 +16055,13 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
15828
16055
|
}, z$1.core.$strict>;
|
|
15829
16056
|
}, z$1.core.$strip>;
|
|
15830
16057
|
type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
|
|
16058
|
+
declare const threadConversationOutlineQuerySchema: z$1.ZodObject<{
|
|
16059
|
+
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16060
|
+
assistant: "assistant";
|
|
16061
|
+
user: "user";
|
|
16062
|
+
}>>;
|
|
16063
|
+
}, z$1.core.$strip>;
|
|
16064
|
+
type ThreadConversationOutlineQuery = z$1.infer<typeof threadConversationOutlineQuerySchema>;
|
|
15831
16065
|
declare const threadConversationOutlineResponseSchema: z$1.ZodObject<{
|
|
15832
16066
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
15833
16067
|
attachmentSummary: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -16231,6 +16465,12 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
|
16231
16465
|
}, z$1.core.$strict>>;
|
|
16232
16466
|
path: z$1.ZodString;
|
|
16233
16467
|
threadId: z$1.ZodNullable<z$1.ZodString>;
|
|
16468
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
16469
|
+
id: z$1.ZodString;
|
|
16470
|
+
kind: z$1.ZodLiteral<"attachment-file-preview">;
|
|
16471
|
+
name: z$1.ZodString;
|
|
16472
|
+
path: z$1.ZodString;
|
|
16473
|
+
projectId: z$1.ZodString;
|
|
16234
16474
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
16235
16475
|
desktopTarget: z$1.ZodOptional<z$1.ZodObject<{
|
|
16236
16476
|
generation: z$1.ZodString;
|
|
@@ -16371,6 +16611,12 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
|
|
|
16371
16611
|
}, z$1.core.$strict>>;
|
|
16372
16612
|
path: z$1.ZodString;
|
|
16373
16613
|
threadId: z$1.ZodNullable<z$1.ZodString>;
|
|
16614
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
16615
|
+
id: z$1.ZodString;
|
|
16616
|
+
kind: z$1.ZodLiteral<"attachment-file-preview">;
|
|
16617
|
+
name: z$1.ZodString;
|
|
16618
|
+
path: z$1.ZodString;
|
|
16619
|
+
projectId: z$1.ZodString;
|
|
16374
16620
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
16375
16621
|
desktopTarget: z$1.ZodOptional<z$1.ZodObject<{
|
|
16376
16622
|
generation: z$1.ZodString;
|
|
@@ -17638,6 +17884,8 @@ interface ThreadOutputResponse {
|
|
|
17638
17884
|
}
|
|
17639
17885
|
type ThreadMutationResult = ThreadResponse;
|
|
17640
17886
|
type ThreadPluginMetadataResult = ThreadPluginMetadataResponse;
|
|
17887
|
+
type PluginThreadMetadataListResult = PluginThreadMetadataListResponse;
|
|
17888
|
+
type ThreadAncestorsListResult = ThreadAncestorsListResponse;
|
|
17641
17889
|
type ThreadSpawnResult = ThreadResponse;
|
|
17642
17890
|
type ThreadForkResult = ThreadResponse;
|
|
17643
17891
|
type ThreadInteractionGetResult = PendingInteraction;
|
|
@@ -17722,6 +17970,15 @@ interface ThreadPluginMetadataArgs {
|
|
|
17722
17970
|
signal?: AbortSignal;
|
|
17723
17971
|
threadId: string;
|
|
17724
17972
|
}
|
|
17973
|
+
interface PluginThreadMetadataListArgs {
|
|
17974
|
+
pluginId: string;
|
|
17975
|
+
threadIds: readonly string[];
|
|
17976
|
+
signal?: AbortSignal;
|
|
17977
|
+
}
|
|
17978
|
+
interface ThreadAncestorsListArgs {
|
|
17979
|
+
threadIds: readonly string[];
|
|
17980
|
+
signal?: AbortSignal;
|
|
17981
|
+
}
|
|
17725
17982
|
interface ThreadPluginMetadataUpdateArgs {
|
|
17726
17983
|
threadId: string;
|
|
17727
17984
|
pluginId: string;
|
|
@@ -17807,6 +18064,10 @@ interface ThreadStoragePathsArgs extends ThreadStoragePathsQuery {
|
|
|
17807
18064
|
signal?: AbortSignal;
|
|
17808
18065
|
threadId: string;
|
|
17809
18066
|
}
|
|
18067
|
+
interface ThreadConversationOutlineArgs extends ThreadConversationOutlineQuery {
|
|
18068
|
+
signal?: AbortSignal;
|
|
18069
|
+
threadId: string;
|
|
18070
|
+
}
|
|
17810
18071
|
interface ThreadTimelineTurnSummaryDetailsArgs extends TimelineTurnSummaryDetailsQuery {
|
|
17811
18072
|
signal?: AbortSignal;
|
|
17812
18073
|
threadId: string;
|
|
@@ -17947,7 +18208,7 @@ interface ThreadsArea {
|
|
|
17947
18208
|
cancelPlan(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
17948
18209
|
clearContext(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
17949
18210
|
clearGoal(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
17950
|
-
conversationOutline(args:
|
|
18211
|
+
conversationOutline(args: ThreadConversationOutlineArgs): Promise<ThreadConversationOutlineResult>;
|
|
17951
18212
|
count(args?: ThreadCountArgs): Promise<ThreadCountResult>;
|
|
17952
18213
|
defaultExecutionOptions(args: ThreadStatusArgs): Promise<ThreadDefaultExecutionOptionsResult>;
|
|
17953
18214
|
delete(args: ThreadDeleteArgs): Promise<ThreadDeleteResult>;
|
|
@@ -17956,6 +18217,20 @@ interface ThreadsArea {
|
|
|
17956
18217
|
fork(args: ThreadForkArgs): Promise<ThreadForkResult>;
|
|
17957
18218
|
get(args: ThreadGetArgs): Promise<ThreadGetResult>;
|
|
17958
18219
|
getPluginMetadata(args: ThreadPluginMetadataArgs): Promise<ThreadPluginMetadataResult>;
|
|
18220
|
+
/**
|
|
18221
|
+
* `pluginId`'s metadata for each of `threadIds` (1–200 per request) that
|
|
18222
|
+
* has any, as `{ threadId, metadata }` rows; archived and deleted threads
|
|
18223
|
+
* included.
|
|
18224
|
+
* Experimental: see docs/api_to_audit.md.
|
|
18225
|
+
*/
|
|
18226
|
+
experimental_listPluginMetadata(args: PluginThreadMetadataListArgs): Promise<PluginThreadMetadataListResult>;
|
|
18227
|
+
/**
|
|
18228
|
+
* Each of `threadIds` (1–200 per request) that exists, with `ancestorIds`
|
|
18229
|
+
* from its parent up to the root (empty for a root thread); archived and
|
|
18230
|
+
* deleted threads included, unknown ids omitted.
|
|
18231
|
+
* Experimental: see docs/api_to_audit.md.
|
|
18232
|
+
*/
|
|
18233
|
+
experimental_listAncestors(args: ThreadAncestorsListArgs): Promise<ThreadAncestorsListResult>;
|
|
17959
18234
|
updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
|
|
17960
18235
|
queue: ThreadQueueArea;
|
|
17961
18236
|
interactions: ThreadInteractionsArea;
|
|
@@ -18180,198 +18455,6 @@ interface ExperimentalSidebarFooterDisclosureProps {
|
|
|
18180
18455
|
/** Hide this disclosure without affecting another plugin's open disclosure. */
|
|
18181
18456
|
dismiss(): void;
|
|
18182
18457
|
}
|
|
18183
|
-
/** Display and accessibility metadata for a host-owned sidebar shortcut. */
|
|
18184
|
-
interface ExperimentalSidebarNavigationShortcut {
|
|
18185
|
-
label: string;
|
|
18186
|
-
ariaKeyShortcuts: string;
|
|
18187
|
-
}
|
|
18188
|
-
/** Host-owned behavior represented by one sidebar navigation item. */
|
|
18189
|
-
type ExperimentalSidebarNavigationAction = {
|
|
18190
|
-
kind: "new-thread";
|
|
18191
|
-
} | {
|
|
18192
|
-
kind: "search-threads";
|
|
18193
|
-
} | {
|
|
18194
|
-
kind: "open-extensions";
|
|
18195
|
-
} | {
|
|
18196
|
-
kind: "open-skills";
|
|
18197
|
-
} | {
|
|
18198
|
-
kind: "open-plugin-panel";
|
|
18199
|
-
pluginId: string;
|
|
18200
|
-
panelId: string;
|
|
18201
|
-
};
|
|
18202
|
-
/**
|
|
18203
|
-
* Semantic icon identity for one sidebar navigation item. Render it with
|
|
18204
|
-
* {@link PluginSdkApp.experimental_SidebarNavigationIcon} to match bb's
|
|
18205
|
-
* artwork, including panel icons with plugin branding as their fallback.
|
|
18206
|
-
*/
|
|
18207
|
-
type ExperimentalSidebarNavigationIcon = {
|
|
18208
|
-
kind: "host";
|
|
18209
|
-
name: "extensions" | "new-thread" | "search" | "skills";
|
|
18210
|
-
} | {
|
|
18211
|
-
kind: "plugin";
|
|
18212
|
-
pluginId: string;
|
|
18213
|
-
icon: string | null;
|
|
18214
|
-
};
|
|
18215
|
-
/** One host-owned destination or action a plugin may arrange. */
|
|
18216
|
-
interface ExperimentalSidebarNavigationItem {
|
|
18217
|
-
/**
|
|
18218
|
-
* Arrangement key, stable across reloads: `__bb__/new-thread`,
|
|
18219
|
-
* `__bb__/search-threads`, `__bb__/extensions`, `__bb__/skills`,
|
|
18220
|
-
* `__bb__/automations`, or `<pluginId>/<panelId>`. The same keys appear in
|
|
18221
|
-
* the `sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`
|
|
18222
|
-
* settings.
|
|
18223
|
-
*/
|
|
18224
|
-
id: string;
|
|
18225
|
-
label: string;
|
|
18226
|
-
icon: ExperimentalSidebarNavigationIcon;
|
|
18227
|
-
action: ExperimentalSidebarNavigationAction;
|
|
18228
|
-
isDisabled: boolean;
|
|
18229
|
-
/**
|
|
18230
|
-
* False when the user hid the item from the sidebar. Draw hidden items in an
|
|
18231
|
-
* overflow menu rather than dropping them, so they stay reachable.
|
|
18232
|
-
*/
|
|
18233
|
-
isVisible: boolean;
|
|
18234
|
-
/**
|
|
18235
|
-
* A plugin panel remembered from the last session whose bundle has not
|
|
18236
|
-
* registered yet. Activating it does nothing until it loads.
|
|
18237
|
-
*/
|
|
18238
|
-
isLoading: boolean;
|
|
18239
|
-
/**
|
|
18240
|
-
* The plugin that contributed this panel; null for bb's own items. Gates
|
|
18241
|
-
* `openDetails` and `disablePlugin`.
|
|
18242
|
-
*/
|
|
18243
|
-
pluginId: string | null;
|
|
18244
|
-
shortcut: ExperimentalSidebarNavigationShortcut | null;
|
|
18245
|
-
/**
|
|
18246
|
-
* The panel's `experimental_sidebarAccessory`, already wrapped in the host's
|
|
18247
|
-
* crash boundary. Null for bb's items, panels without an accessory, and on
|
|
18248
|
-
* compact viewports. Keep it within one line, about 4rem by 1.25rem.
|
|
18249
|
-
*/
|
|
18250
|
-
experimental_Accessory: ComponentType | null;
|
|
18251
|
-
}
|
|
18252
|
-
/** How the host should activate a sidebar navigation item. */
|
|
18253
|
-
interface ExperimentalSidebarNavigationActivationOptions {
|
|
18254
|
-
openInSplit: boolean;
|
|
18255
|
-
}
|
|
18256
|
-
/**
|
|
18257
|
-
* Host behavior for sidebar navigation items (see
|
|
18258
|
-
* {@link ExperimentalSidebarNavigationState}). Unknown item ids are ignored.
|
|
18259
|
-
* Calls made after the calling component unmounts do nothing.
|
|
18260
|
-
*/
|
|
18261
|
-
interface ExperimentalSidebarNavigationActions {
|
|
18262
|
-
/**
|
|
18263
|
-
* Run the item's host behavior and close the mobile sidebar drawer.
|
|
18264
|
-
* `openInSplit` is ignored where splits are unavailable, and disabled or
|
|
18265
|
-
* loading items do nothing.
|
|
18266
|
-
*/
|
|
18267
|
-
activate(itemId: string, options: ExperimentalSidebarNavigationActivationOptions): void;
|
|
18268
|
-
/** Hide or show one item. Persists to `sidebar.visiblePluginPanels`. */
|
|
18269
|
-
setVisible(itemId: string, isVisible: boolean): void;
|
|
18270
|
-
/**
|
|
18271
|
-
* Save a new order. Pass item ids in the order you want; unknown ids are
|
|
18272
|
-
* dropped and ids you leave out keep their relative order after the ones
|
|
18273
|
-
* you pass. Persists to `sidebar.pluginPanelOrder`.
|
|
18274
|
-
*/
|
|
18275
|
-
setOrder(itemIds: readonly string[]): void;
|
|
18276
|
-
/** Open bb's customize editor, which reorders and hides items. */
|
|
18277
|
-
openCustomize(): void;
|
|
18278
|
-
/** Open the owning plugin's details. Does nothing when `pluginId` is null. */
|
|
18279
|
-
openDetails(itemId: string): void;
|
|
18280
|
-
/**
|
|
18281
|
-
* Disable the owning plugin, leave its panel if it is open, and show a
|
|
18282
|
-
* toast. Rejects after the host's error toast when disabling fails. Does
|
|
18283
|
-
* nothing when `pluginId` is null.
|
|
18284
|
-
*/
|
|
18285
|
-
disablePlugin(itemId: string): Promise<void>;
|
|
18286
|
-
}
|
|
18287
|
-
/** What {@link PluginSdkApp.experimental_useSidebarNavigation} returns. */
|
|
18288
|
-
interface ExperimentalSidebarNavigationState {
|
|
18289
|
-
/** Every item in the user's saved order, visible and hidden. */
|
|
18290
|
-
items: readonly ExperimentalSidebarNavigationItem[];
|
|
18291
|
-
/** The item whose destination the route currently shows, or null. */
|
|
18292
|
-
activeItemId: string | null;
|
|
18293
|
-
/**
|
|
18294
|
-
* True while the user holds the app command modifier, when bb's own rows
|
|
18295
|
-
* reveal their `shortcut` labels. Show yours at the same time.
|
|
18296
|
-
*/
|
|
18297
|
-
isShortcutModifierHeld: boolean;
|
|
18298
|
-
actions: ExperimentalSidebarNavigationActions;
|
|
18299
|
-
}
|
|
18300
|
-
/**
|
|
18301
|
-
* Per-item drag-to-split support (see
|
|
18302
|
-
* {@link PluginSdkApp.experimental_useSidebarNavigationSplit}). Same contract
|
|
18303
|
-
* as {@link PluginSidebarThreadSplit}.
|
|
18304
|
-
*/
|
|
18305
|
-
interface ExperimentalSidebarNavigationSplit {
|
|
18306
|
-
/**
|
|
18307
|
-
* Spread onto the item's interactive element. Empty when the item cannot
|
|
18308
|
-
* open in a pane, so spreading it is always safe.
|
|
18309
|
-
*/
|
|
18310
|
-
splitProps: {
|
|
18311
|
-
onPointerDown?: (event: react.PointerEvent<HTMLElement>) => void;
|
|
18312
|
-
};
|
|
18313
|
-
/**
|
|
18314
|
-
* False for items that cannot open in a pane (Search, Plugins, Skills), on
|
|
18315
|
-
* compact viewports, and when splits are unavailable.
|
|
18316
|
-
*/
|
|
18317
|
-
isAvailable: boolean;
|
|
18318
|
-
/** Where this item's destination sits in the split layout, or null. */
|
|
18319
|
-
layout: {
|
|
18320
|
-
panes: readonly PluginSidebarSplitPane[];
|
|
18321
|
-
} | null;
|
|
18322
|
-
}
|
|
18323
|
-
/** Options for {@link PluginSdkApp.experimental_useSidebarNavigationSplit}. */
|
|
18324
|
-
interface ExperimentalSidebarNavigationSplitOptions {
|
|
18325
|
-
/**
|
|
18326
|
-
* `sidebar` (the default) engages the drag once the pointer leaves the
|
|
18327
|
-
* sidebar, so a row list with its own drag-to-reorder keeps working.
|
|
18328
|
-
* `distance` engages after a short movement in any direction; use it for
|
|
18329
|
-
* rows inside a menu or popover that covers the main area.
|
|
18330
|
-
*/
|
|
18331
|
-
activation?: "distance" | "sidebar";
|
|
18332
|
-
/** Called when the drag engages, for example to close the menu the row is in. */
|
|
18333
|
-
onDragStart?: () => void;
|
|
18334
|
-
}
|
|
18335
|
-
/** Props for {@link PluginSdkApp.experimental_SidebarNavigationIcon}. */
|
|
18336
|
-
interface ExperimentalSidebarNavigationIconProps {
|
|
18337
|
-
icon: ExperimentalSidebarNavigationIcon;
|
|
18338
|
-
className?: string;
|
|
18339
|
-
}
|
|
18340
|
-
/**
|
|
18341
|
-
* Props passed to an `experimental_sidebarNavigation` component. Read the
|
|
18342
|
-
* items and their actions with
|
|
18343
|
-
* {@link PluginSdkApp.experimental_useSidebarNavigation}.
|
|
18344
|
-
*/
|
|
18345
|
-
interface ExperimentalSidebarNavigationProps {
|
|
18346
|
-
isCompactViewport: boolean;
|
|
18347
|
-
/**
|
|
18348
|
-
* Renders bb's bundled Navigation plugin, or nothing while it is disabled.
|
|
18349
|
-
* Kept for plugins written before `experimental_useSidebarNavigation`;
|
|
18350
|
-
* render items from that hook instead. Scheduled for removal.
|
|
18351
|
-
*
|
|
18352
|
-
* @deprecated
|
|
18353
|
-
*/
|
|
18354
|
-
experimental_Original: ComponentType;
|
|
18355
|
-
}
|
|
18356
|
-
/**
|
|
18357
|
-
* Props passed to an `experimental_sidebarHeader` component, rendered in the
|
|
18358
|
-
* sidebar's header row between the sidebar toggle (and the macOS window
|
|
18359
|
-
* controls) and bb's back and forward buttons.
|
|
18360
|
-
*/
|
|
18361
|
-
interface ExperimentalSidebarHeaderProps {
|
|
18362
|
-
/**
|
|
18363
|
-
* Width in px of the space the component may use, updated when the sidebar
|
|
18364
|
-
* resizes or the window chrome changes. It can be smaller than
|
|
18365
|
-
* `controlSize` in a narrow sidebar.
|
|
18366
|
-
*/
|
|
18367
|
-
width: number;
|
|
18368
|
-
/**
|
|
18369
|
-
* Width and height in px of the header's own buttons, equal to the
|
|
18370
|
-
* `--bb-sidebar-control-size` CSS variable. Size your controls to match.
|
|
18371
|
-
*/
|
|
18372
|
-
controlSize: number;
|
|
18373
|
-
isCompactViewport: boolean;
|
|
18374
|
-
}
|
|
18375
18458
|
/**
|
|
18376
18459
|
* Props passed to an `experimental_threadList` component — the sidebar's
|
|
18377
18460
|
* scrolling thread area, replaced wholesale by one plugin.
|
|
@@ -18753,13 +18836,12 @@ interface PluginNavPanelRegistration {
|
|
|
18753
18836
|
*/
|
|
18754
18837
|
fixedTabs?: readonly PluginFixedTabDeclaration[];
|
|
18755
18838
|
/**
|
|
18756
|
-
* Optional presentational component
|
|
18757
|
-
* panel's sidebar
|
|
18758
|
-
* value through the ordinary SDK hooks without coupling
|
|
18759
|
-
* host sidebar. The host
|
|
18760
|
-
* to a small, single-line box
|
|
18761
|
-
*
|
|
18762
|
-
* do not render controls or rely on unbounded content here.
|
|
18839
|
+
* Optional presentational component for a narrow live value next to this
|
|
18840
|
+
* panel's entry in the sidebar. It receives no props so it can own that
|
|
18841
|
+
* value through the ordinary SDK hooks without coupling its state to the
|
|
18842
|
+
* host sidebar. The host still validates it, but no host surface currently
|
|
18843
|
+
* mounts it. Keep it to a small, single-line box; do not render controls or
|
|
18844
|
+
* rely on unbounded content here.
|
|
18763
18845
|
*
|
|
18764
18846
|
* Experimental: see docs/api_to_audit.md.
|
|
18765
18847
|
*/
|
|
@@ -19256,10 +19338,13 @@ interface ExperimentalClipboardContent {
|
|
|
19256
19338
|
* origin, and the plugin-metadata calls default `pluginId`. The same
|
|
19257
19339
|
* narrowing the backend `bb.sdk` applies.
|
|
19258
19340
|
*/
|
|
19259
|
-
type PluginBoundThreadsArea = Omit<BbSdkAreas["threads"], "getPluginMetadata" | "updatePluginMetadata"> & {
|
|
19341
|
+
type PluginBoundThreadsArea = Omit<BbSdkAreas["threads"], "experimental_listPluginMetadata" | "getPluginMetadata" | "updatePluginMetadata"> & {
|
|
19260
19342
|
getPluginMetadata(args: Omit<ThreadPluginMetadataArgs, "pluginId"> & {
|
|
19261
19343
|
pluginId?: string;
|
|
19262
19344
|
}): Promise<ThreadPluginMetadataResult>;
|
|
19345
|
+
experimental_listPluginMetadata(args: Omit<PluginThreadMetadataListArgs, "pluginId"> & {
|
|
19346
|
+
pluginId?: string;
|
|
19347
|
+
}): Promise<PluginThreadMetadataListResult>;
|
|
19263
19348
|
updatePluginMetadata(args: Omit<ThreadPluginMetadataUpdateArgs, "pluginId"> & {
|
|
19264
19349
|
pluginId?: string;
|
|
19265
19350
|
}): Promise<ThreadPluginMetadataResult>;
|
|
@@ -19280,6 +19365,28 @@ interface PluginThreadTitleProps {
|
|
|
19280
19365
|
/** A thread in the sidebar's live view; renders nothing for an unknown id. */
|
|
19281
19366
|
threadId: string;
|
|
19282
19367
|
}
|
|
19368
|
+
/**
|
|
19369
|
+
* Props for {@link PluginSdkApp.experimental_ThreadStatusGlyph}: bb's thread
|
|
19370
|
+
* status glyph, the one its own lists draw. The caller resolves the
|
|
19371
|
+
* indicator, so a row can fold in state the host does not know about, such
|
|
19372
|
+
* as collapsed children or a client-local draft.
|
|
19373
|
+
*/
|
|
19374
|
+
interface PluginThreadStatusGlyphProps {
|
|
19375
|
+
/** The indicator to draw; "none" draws nothing unless `rowStatus` shows. */
|
|
19376
|
+
indicator: PluginSidebarThreadIndicator;
|
|
19377
|
+
/** Draws the archive glyph instead of the indicator. */
|
|
19378
|
+
archived?: boolean;
|
|
19379
|
+
/**
|
|
19380
|
+
* A status another plugin set on the row (see
|
|
19381
|
+
* {@link PluginSdkApp.useSidebarThreadRowStatus}). It replaces every
|
|
19382
|
+
* indicator except "runtime", "unread-error", and "waiting-for-input".
|
|
19383
|
+
*/
|
|
19384
|
+
rowStatus?: PluginSidebarThreadRowStatus | null;
|
|
19385
|
+
/** Hides the idle draft glyph from assistive technology. */
|
|
19386
|
+
hideIdleDraftLabel?: boolean;
|
|
19387
|
+
/** "compact" draws a 14 px glyph; "default" matches bb's sidebar rows. */
|
|
19388
|
+
size?: "compact" | "default";
|
|
19389
|
+
}
|
|
19283
19390
|
/**
|
|
19284
19391
|
* One environment provider from bb's catalog (see
|
|
19285
19392
|
* {@link PluginSdkApp.useEnvironmentProviders}): what a sidebar needs to
|
|
@@ -19329,62 +19436,6 @@ interface PluginSidebarThreadShortcut {
|
|
|
19329
19436
|
/** Value for the row's `aria-keyshortcuts` attribute. */
|
|
19330
19437
|
ariaKeyshortcuts: string;
|
|
19331
19438
|
}
|
|
19332
|
-
/**
|
|
19333
|
-
* Act on threads from a plugin surface. Every method routes to the host's own
|
|
19334
|
-
* flow, so optimistic updates, toasts, dialogs, pane closing, and route repair
|
|
19335
|
-
* behave exactly as they do in the built-in sidebar. Unknown thread ids are
|
|
19336
|
-
* ignored by `open` and rejected by the rest.
|
|
19337
|
-
*/
|
|
19338
|
-
interface PluginSidebarThreadActions {
|
|
19339
|
-
/**
|
|
19340
|
-
* Navigate to a thread. `split: true` applies bb's split placement rules —
|
|
19341
|
-
* a right split by default, focus when the thread is already open, replace
|
|
19342
|
-
* at the pane cap — and falls back to plain navigation where splits are off.
|
|
19343
|
-
* Opening also expands the thread's conversation if the secondary panel had
|
|
19344
|
-
* collapsed it, as bb's own row does.
|
|
19345
|
-
*/
|
|
19346
|
-
open(threadId: string, options?: {
|
|
19347
|
-
split?: boolean;
|
|
19348
|
-
}): void;
|
|
19349
|
-
/**
|
|
19350
|
-
* Go to the new-thread screen. Passing `projectId` also makes that project
|
|
19351
|
-
* the composer's selection, so the thread is created where you asked.
|
|
19352
|
-
* `sectionId` files the new thread under that section, and
|
|
19353
|
-
* `environmentId` reuses that environment (the "New thread in
|
|
19354
|
-
* environment" affordance), both exactly as bb's own list does.
|
|
19355
|
-
* `experimental_placement` explicitly selects the section and pin state,
|
|
19356
|
-
* overriding `sectionId`. Omitting placement starts unpinned, outside sections
|
|
19357
|
-
* unless `sectionId` is supplied; previous composer placement is cleared.
|
|
19358
|
-
* `hostId` selects a machine for a new environment when it
|
|
19359
|
-
* is known and supports an environment provider. `environmentId` wins when
|
|
19360
|
-
* both are supplied.
|
|
19361
|
-
*/
|
|
19362
|
-
openNewThread(options?: {
|
|
19363
|
-
projectId?: string;
|
|
19364
|
-
sectionId?: string;
|
|
19365
|
-
experimental_placement?: {
|
|
19366
|
-
sectionId: string | null;
|
|
19367
|
-
pinned: boolean;
|
|
19368
|
-
};
|
|
19369
|
-
environmentId?: string;
|
|
19370
|
-
hostId?: string;
|
|
19371
|
-
focusPrompt?: boolean;
|
|
19372
|
-
}): void;
|
|
19373
|
-
setPinned(threadId: string, pinned: boolean): Promise<void>;
|
|
19374
|
-
setRead(threadId: string, read: boolean): Promise<void>;
|
|
19375
|
-
/** Silent rename — no dialog. For inline editing in your own row. */
|
|
19376
|
-
rename(threadId: string, title: string): Promise<void>;
|
|
19377
|
-
/** Confirms before including child threads unless archive confirmation is disabled in Settings → General. */
|
|
19378
|
-
archive(threadId: string): void;
|
|
19379
|
-
/** Archives an environment's active thread trees with bb's optimistic updates, pane cleanup, and one Undo toast. Rejects after bb shows an error toast on failure. */
|
|
19380
|
-
experimental_archiveEnvironmentThreads(environmentId: string): Promise<void>;
|
|
19381
|
-
/**
|
|
19382
|
-
* Opens bb's delete confirmation, which counts child threads first. Deletion
|
|
19383
|
-
* is destructive and recursive, so the host owns the confirmation: there is
|
|
19384
|
-
* deliberately no silent `delete`.
|
|
19385
|
-
*/
|
|
19386
|
-
requestDelete(threadId: string): void;
|
|
19387
|
-
}
|
|
19388
19439
|
/**
|
|
19389
19440
|
* Render a plugin component in the thread header's action row.
|
|
19390
19441
|
*
|
|
@@ -19416,6 +19467,226 @@ interface ExperimentalPluginBrowserToolbarActionRegistration {
|
|
|
19416
19467
|
/** Component rendered beside the Browser address bar. */
|
|
19417
19468
|
component: ComponentType<ExperimentalPluginBrowserToolbarActionProps>;
|
|
19418
19469
|
}
|
|
19470
|
+
/**
|
|
19471
|
+
* The thread a thread action is evaluated for: the fields bb's own actions
|
|
19472
|
+
* read, copied from the thread payload by the surface that shows the menu.
|
|
19473
|
+
*/
|
|
19474
|
+
interface PluginThreadActionTarget {
|
|
19475
|
+
id: string;
|
|
19476
|
+
projectId: string;
|
|
19477
|
+
parentThreadId: string | null;
|
|
19478
|
+
archivedAt: number | null;
|
|
19479
|
+
pinnedAt: number | null;
|
|
19480
|
+
sectionId: string | null;
|
|
19481
|
+
isUnread: boolean;
|
|
19482
|
+
status: ThreadStatus;
|
|
19483
|
+
/**
|
|
19484
|
+
* The thread's environment when a new thread can reuse it, null otherwise.
|
|
19485
|
+
* `path` is the checkout path, null when the environment has none.
|
|
19486
|
+
*/
|
|
19487
|
+
environment: {
|
|
19488
|
+
id: string;
|
|
19489
|
+
path: string | null;
|
|
19490
|
+
} | null;
|
|
19491
|
+
}
|
|
19492
|
+
/** One row of a thread action's choice list. */
|
|
19493
|
+
interface PluginThreadActionChoice {
|
|
19494
|
+
id: string;
|
|
19495
|
+
label: string;
|
|
19496
|
+
icon?: BbIconName;
|
|
19497
|
+
selected?: boolean;
|
|
19498
|
+
disabled?: boolean;
|
|
19499
|
+
}
|
|
19500
|
+
/**
|
|
19501
|
+
* A choice list instead of a direct action: a submenu in desktop menus, a step
|
|
19502
|
+
* with Back in the compact drawer, and a popover from a row's quick-action
|
|
19503
|
+
* button. `run` receives the picked choice's `id` as `value`.
|
|
19504
|
+
*/
|
|
19505
|
+
interface PluginThreadActionChoices {
|
|
19506
|
+
/**
|
|
19507
|
+
* Title of the drawer step and the quick-action popover; defaults to the
|
|
19508
|
+
* action's label. Desktop submenus show none: their trigger names them.
|
|
19509
|
+
*/
|
|
19510
|
+
heading?: string;
|
|
19511
|
+
/** Footnote below the choices, e.g. why the current value differs from the pick. */
|
|
19512
|
+
hint?: string;
|
|
19513
|
+
items: readonly PluginThreadActionChoice[];
|
|
19514
|
+
}
|
|
19515
|
+
/** What a thread action's `run` receives. */
|
|
19516
|
+
interface PluginThreadActionRunInput {
|
|
19517
|
+
/** The picked choice's `id` when the action has `choices`; otherwise undefined. */
|
|
19518
|
+
value?: string;
|
|
19519
|
+
/**
|
|
19520
|
+
* Start renaming a thread with the editor of the surface that showed the
|
|
19521
|
+
* menu: inline in the sidebar row or thread header, bb's rename dialog
|
|
19522
|
+
* elsewhere.
|
|
19523
|
+
*/
|
|
19524
|
+
requestRename(threadId: string): void;
|
|
19525
|
+
}
|
|
19526
|
+
/** One evaluated thread action: what a registration shows for one thread. */
|
|
19527
|
+
interface PluginThreadAction {
|
|
19528
|
+
label: string;
|
|
19529
|
+
/**
|
|
19530
|
+
* Short secondary text on a muted second line under the label, e.g. the
|
|
19531
|
+
* current value of a choice list.
|
|
19532
|
+
*/
|
|
19533
|
+
detail?: string;
|
|
19534
|
+
icon: BbIconName;
|
|
19535
|
+
variant?: "default" | "destructive";
|
|
19536
|
+
disabled?: boolean;
|
|
19537
|
+
choices?: PluginThreadActionChoices;
|
|
19538
|
+
/**
|
|
19539
|
+
* Runs when the user activates the action or picks a choice. Errors (sync
|
|
19540
|
+
* or async) are contained and logged; they never break the menu.
|
|
19541
|
+
*/
|
|
19542
|
+
run(input: PluginThreadActionRunInput): void | Promise<void>;
|
|
19543
|
+
}
|
|
19544
|
+
/** What a registration's `useData` receives. */
|
|
19545
|
+
interface PluginThreadActionDataInput {
|
|
19546
|
+
/**
|
|
19547
|
+
* Every thread a visible surface currently shows actions for (sidebar rows
|
|
19548
|
+
* on screen, the open thread's header, open menus); a hidden sidebar
|
|
19549
|
+
* contributes none. Sorted, deduplicated, and published once the set has
|
|
19550
|
+
* been quiet for 32 ms (at most 100 ms after the first change), so rows
|
|
19551
|
+
* that mount a frame apart arrive together. Load per-thread state for these
|
|
19552
|
+
* ids, fetching only ids not loaded yet.
|
|
19553
|
+
*/
|
|
19554
|
+
threadIds: readonly string[];
|
|
19555
|
+
}
|
|
19556
|
+
/** What a registration's `item` receives for each thread it is shown for. */
|
|
19557
|
+
interface PluginThreadActionItemInput<Data> {
|
|
19558
|
+
thread: PluginThreadActionTarget;
|
|
19559
|
+
/** What `useData` last returned; undefined when the registration has none. */
|
|
19560
|
+
data: Data;
|
|
19561
|
+
/** The registering plugin's `useSdk()` client. */
|
|
19562
|
+
sdk: PluginBrowserBbSdk;
|
|
19563
|
+
/**
|
|
19564
|
+
* The registering plugin's `useBbNavigate()`. Thread menus are not inside a
|
|
19565
|
+
* side panel, so `openThreadPanel` opens in the focused thread view, as
|
|
19566
|
+
* plugin commands do, and returns false when no thread view is open.
|
|
19567
|
+
*/
|
|
19568
|
+
navigate: BbNavigate;
|
|
19569
|
+
}
|
|
19570
|
+
/**
|
|
19571
|
+
* Add an action to every thread actions menu: the thread header's menu, the
|
|
19572
|
+
* sidebar row's menu and right-click menu, the compact long-press drawer, and,
|
|
19573
|
+
* when the user picks it, a sidebar row's quick-action buttons. bb's own
|
|
19574
|
+
* actions (Open in split, Copy thread link, Mark read, Pin, Rename, Archive,
|
|
19575
|
+
* Delete, …) are registrations of this same shape.
|
|
19576
|
+
*
|
|
19577
|
+
* `useData` is a React hook the host calls once for the whole app, never per
|
|
19578
|
+
* thread or per menu; read app-wide state there (preferences, a realtime
|
|
19579
|
+
* channel, per-thread state for the `threadIds` it receives, fetched in one
|
|
19580
|
+
* batch for the ids not loaded yet). `item` is pure and synchronous: it
|
|
19581
|
+
* derives the action for one thread from that thread and `data`, closing over
|
|
19582
|
+
* everything `run` needs, or returns null to hide it. A throw from either
|
|
19583
|
+
* drops only this registration.
|
|
19584
|
+
*/
|
|
19585
|
+
interface PluginThreadActionRegistration<Data = undefined> {
|
|
19586
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19587
|
+
id: string;
|
|
19588
|
+
/** Static name, shown where the user picks a row's quick actions. */
|
|
19589
|
+
title: string;
|
|
19590
|
+
/** Static icon for that picker; the evaluated action's `icon` wins in menus. */
|
|
19591
|
+
icon: BbIconName;
|
|
19592
|
+
/**
|
|
19593
|
+
* Menus and the quick-action picker sort by `group` (string compare) with a
|
|
19594
|
+
* separator between groups, then by `order` within a group (unset sorts
|
|
19595
|
+
* last), then by registration order. bb's groups are
|
|
19596
|
+
* {@link PluginSdkApp.experimental_THREAD_ACTION_GROUPS}; any other string
|
|
19597
|
+
* is a group of its own, placed where it sorts.
|
|
19598
|
+
*/
|
|
19599
|
+
group: string;
|
|
19600
|
+
order?: number;
|
|
19601
|
+
useData?(input: PluginThreadActionDataInput): Data;
|
|
19602
|
+
item(input: PluginThreadActionItemInput<Data>): PluginThreadAction | null;
|
|
19603
|
+
}
|
|
19604
|
+
/**
|
|
19605
|
+
* A thread action as {@link PluginSdkApp.experimental_useThreadActions}
|
|
19606
|
+
* returns it: `run` is bound to the caller's `requestRename` (or bb's rename
|
|
19607
|
+
* dialog), contains errors, and resolves when the action settles.
|
|
19608
|
+
*/
|
|
19609
|
+
interface PluginBoundThreadAction extends Omit<PluginThreadAction, "run"> {
|
|
19610
|
+
/** `value` is the picked choice's `id` for an action with `choices`. */
|
|
19611
|
+
run(value?: string): Promise<void>;
|
|
19612
|
+
}
|
|
19613
|
+
/**
|
|
19614
|
+
* One row of {@link PluginSdkApp.experimental_useThreadActions}: `key` is
|
|
19615
|
+
* `<owner>/<id>`, where the owner is the registering plugin's id or
|
|
19616
|
+
* `bb--core` for bb's own actions.
|
|
19617
|
+
*/
|
|
19618
|
+
interface PluginThreadActionEntry {
|
|
19619
|
+
key: string;
|
|
19620
|
+
pluginId: string;
|
|
19621
|
+
/** The registration's group, for separators in a caller's own list. */
|
|
19622
|
+
group: string;
|
|
19623
|
+
action: PluginBoundThreadAction;
|
|
19624
|
+
}
|
|
19625
|
+
/** One row of {@link PluginSdkApp.experimental_useThreadActionRegistrations}. */
|
|
19626
|
+
interface PluginThreadActionRegistrationInfo {
|
|
19627
|
+
key: string;
|
|
19628
|
+
pluginId: string;
|
|
19629
|
+
title: string;
|
|
19630
|
+
icon: BbIconName;
|
|
19631
|
+
}
|
|
19632
|
+
/** Options for {@link PluginSdkApp.experimental_useThreadActions}. */
|
|
19633
|
+
interface PluginThreadActionsOptions {
|
|
19634
|
+
/** Return only these keys, in this order. Omit for every action in menu order. */
|
|
19635
|
+
keys?: readonly string[];
|
|
19636
|
+
/**
|
|
19637
|
+
* The surface's own rename editor, passed to `run` as `requestRename`.
|
|
19638
|
+
* Omit to use bb's rename dialog.
|
|
19639
|
+
*/
|
|
19640
|
+
requestRename?(threadId: string): void;
|
|
19641
|
+
}
|
|
19642
|
+
/**
|
|
19643
|
+
* An action a surface adds to its own copy of the thread menu, not a
|
|
19644
|
+
* registration: appended to the end of its `group`. `key` must be unique in
|
|
19645
|
+
* the menu.
|
|
19646
|
+
*/
|
|
19647
|
+
interface PluginThreadActionsInlineItem {
|
|
19648
|
+
key: string;
|
|
19649
|
+
group: string;
|
|
19650
|
+
action: PluginThreadAction;
|
|
19651
|
+
}
|
|
19652
|
+
/**
|
|
19653
|
+
* What a thread menu's `trigger` receives: the menu's ARIA state, event
|
|
19654
|
+
* handlers, and ref. Spread all of them onto the button you render (compose
|
|
19655
|
+
* your own handlers after calling theirs); a trigger that drops them never
|
|
19656
|
+
* opens the menu.
|
|
19657
|
+
*/
|
|
19658
|
+
type PluginThreadActionsTriggerProps = ComponentPropsWithRef<"button">;
|
|
19659
|
+
interface PluginThreadActionsMenuBaseProps {
|
|
19660
|
+
thread: PluginThreadActionTarget;
|
|
19661
|
+
inline?: readonly PluginThreadActionsInlineItem[];
|
|
19662
|
+
/** See {@link PluginThreadActionsOptions.requestRename}. */
|
|
19663
|
+
requestRename?(threadId: string): void;
|
|
19664
|
+
onOpenChange?(open: boolean): void;
|
|
19665
|
+
/** Radix's close auto-focus hook, to restore focus to the surface's own control. */
|
|
19666
|
+
onCloseAutoFocus?(event: Event): void;
|
|
19667
|
+
}
|
|
19668
|
+
/**
|
|
19669
|
+
* Props of the host-owned `experimental_ThreadActionsMenu`: bb's thread menu
|
|
19670
|
+
* opened from the button `trigger` renders (see
|
|
19671
|
+
* {@link PluginThreadActionsTriggerProps}), a drawer at compact width.
|
|
19672
|
+
*/
|
|
19673
|
+
interface PluginThreadActionsMenuProps extends PluginThreadActionsMenuBaseProps {
|
|
19674
|
+
trigger(props: PluginThreadActionsTriggerProps): ReactNode;
|
|
19675
|
+
side?: "bottom" | "left" | "right" | "top";
|
|
19676
|
+
align?: "center" | "end" | "start";
|
|
19677
|
+
sideOffset?: number;
|
|
19678
|
+
}
|
|
19679
|
+
/**
|
|
19680
|
+
* Props of the host-owned `experimental_ThreadActionsContextMenu`: bb's thread
|
|
19681
|
+
* menu on right-click of `children`, or on touch long-press at compact width.
|
|
19682
|
+
*/
|
|
19683
|
+
interface PluginThreadActionsContextMenuProps extends PluginThreadActionsMenuBaseProps {
|
|
19684
|
+
children: ReactNode;
|
|
19685
|
+
/** Suppresses the menu, e.g. while the row edits its title. */
|
|
19686
|
+
disabled?: boolean;
|
|
19687
|
+
/** Closes the menu and suppresses opening while the row is being dragged. */
|
|
19688
|
+
dragging?: boolean;
|
|
19689
|
+
}
|
|
19419
19690
|
/** One pane's place in the split layout, as fractions of the split area. */
|
|
19420
19691
|
interface PluginSidebarSplitPane {
|
|
19421
19692
|
paneId: string;
|
|
@@ -19510,41 +19781,6 @@ interface PluginThreadListRegistration {
|
|
|
19510
19781
|
description?: string;
|
|
19511
19782
|
component: ComponentType<PluginThreadListProps>;
|
|
19512
19783
|
}
|
|
19513
|
-
/**
|
|
19514
|
-
* Replace the navigation controls above the sidebar thread list. Exclusive:
|
|
19515
|
-
* bb ships its own rows as the bundled Navigation plugin
|
|
19516
|
-
* (`navigation/navigation`). By default the first registered provider other
|
|
19517
|
-
* than Navigation is active, falling back to Navigation; the user can pin one
|
|
19518
|
-
* provider under Settings → Appearance → Navigation. A pinned provider that is
|
|
19519
|
-
* disabled or removed falls back to Navigation; a crashing provider is
|
|
19520
|
-
* replaced by a placeholder with a Reload button.
|
|
19521
|
-
*/
|
|
19522
|
-
interface ExperimentalSidebarNavigationRegistration {
|
|
19523
|
-
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19524
|
-
id: string;
|
|
19525
|
-
/** Label shown in Settings → Appearance and capability details. */
|
|
19526
|
-
title: string;
|
|
19527
|
-
/** Optional one-line description shown with the provider choice. */
|
|
19528
|
-
description?: string;
|
|
19529
|
-
component: ComponentType<ExperimentalSidebarNavigationProps>;
|
|
19530
|
-
}
|
|
19531
|
-
/**
|
|
19532
|
-
* Render a component in the sidebar's header row, between the sidebar toggle
|
|
19533
|
-
* and bb's back and forward buttons. Exclusive: the user picks at most one
|
|
19534
|
-
* header under Settings → Appearance, and by default the header shows only
|
|
19535
|
-
* bb's own controls. Content is clipped to the row, so it cannot move the
|
|
19536
|
-
* thread list or bb's controls. On macOS the empty space keeps dragging the
|
|
19537
|
-
* window; buttons, links, and inputs do not.
|
|
19538
|
-
*/
|
|
19539
|
-
interface ExperimentalSidebarHeaderRegistration {
|
|
19540
|
-
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19541
|
-
id: string;
|
|
19542
|
-
/** Label shown in Settings → Appearance and capability details. */
|
|
19543
|
-
title: string;
|
|
19544
|
-
/** Optional one-line description shown with the provider choice. */
|
|
19545
|
-
description?: string;
|
|
19546
|
-
component: ComponentType<ExperimentalSidebarHeaderProps>;
|
|
19547
|
-
}
|
|
19548
19784
|
/**
|
|
19549
19785
|
* Register this plugin as a viewer/editor for file extensions. By default,
|
|
19550
19786
|
* matching files render the first applicable opener in deterministic slot
|
|
@@ -19986,14 +20222,6 @@ interface PluginAppSlots {
|
|
|
19986
20222
|
experimental_newThreadPanelAction(registration: PluginNewThreadPanelActionRegistration): void;
|
|
19987
20223
|
pendingInteraction(registration: PluginPendingInteractionRegistration): void;
|
|
19988
20224
|
sidebarFooterAction(registration: PluginSidebarFooterActionRegistration): void;
|
|
19989
|
-
/** Replace the bounded sidebar navigation controls. */
|
|
19990
|
-
experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
|
|
19991
|
-
/**
|
|
19992
|
-
* Render a component in the sidebar header row (see
|
|
19993
|
-
* {@link ExperimentalSidebarHeaderRegistration}). Experimental: see
|
|
19994
|
-
* docs/api_to_audit.md.
|
|
19995
|
-
*/
|
|
19996
|
-
experimental_sidebarHeader(registration: ExperimentalSidebarHeaderRegistration): void;
|
|
19997
20225
|
/**
|
|
19998
20226
|
* Replace the sidebar's thread list (see
|
|
19999
20227
|
* {@link PluginThreadListRegistration}). Experimental: see
|
|
@@ -20006,6 +20234,12 @@ interface PluginAppSlots {
|
|
|
20006
20234
|
* docs/api_to_audit.md.
|
|
20007
20235
|
*/
|
|
20008
20236
|
experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
|
|
20237
|
+
/**
|
|
20238
|
+
* Add an action to every thread actions menu (see
|
|
20239
|
+
* {@link PluginThreadActionRegistration}). Experimental: see
|
|
20240
|
+
* docs/api_to_audit.md.
|
|
20241
|
+
*/
|
|
20242
|
+
experimental_threadAction<Data = undefined>(registration: PluginThreadActionRegistration<Data>): void;
|
|
20009
20243
|
/** Render a component beside each Browser tab's address bar. */
|
|
20010
20244
|
experimental_browserToolbarAction(registration: ExperimentalPluginBrowserToolbarActionRegistration): void;
|
|
20011
20245
|
fileOpener(registration: PluginFileOpenerRegistration): void;
|
|
@@ -20356,6 +20590,10 @@ type ComposerMention = {
|
|
|
20356
20590
|
source: "command" | "skill";
|
|
20357
20591
|
origin: "builtin" | "project" | "user";
|
|
20358
20592
|
argumentHint: string | null;
|
|
20593
|
+
} | {
|
|
20594
|
+
kind: "attachment";
|
|
20595
|
+
/** The stored path of a file attached to the same draft. */
|
|
20596
|
+
path: string;
|
|
20359
20597
|
} | {
|
|
20360
20598
|
kind: "plugin";
|
|
20361
20599
|
/** The plugin that owns the pill. */
|
|
@@ -21059,7 +21297,15 @@ interface BbContext {
|
|
|
21059
21297
|
threadId: string | null;
|
|
21060
21298
|
}
|
|
21061
21299
|
interface BbNavigate {
|
|
21062
|
-
|
|
21300
|
+
/**
|
|
21301
|
+
* Open a thread. `split: true` applies bb's split placement rules (a right
|
|
21302
|
+
* split by default, focus when already open, replace at the pane cap) and
|
|
21303
|
+
* falls back to plain navigation where splits are off. Opening also expands
|
|
21304
|
+
* the thread's conversation if the side panel had collapsed it.
|
|
21305
|
+
*/
|
|
21306
|
+
toThread(threadId: string, options?: {
|
|
21307
|
+
split?: boolean;
|
|
21308
|
+
}): void;
|
|
21063
21309
|
toProject(projectId: string): void;
|
|
21064
21310
|
/**
|
|
21065
21311
|
* Navigate to one of this plugin's own nav panels by its `path`.
|
|
@@ -21077,16 +21323,27 @@ interface BbNavigate {
|
|
|
21077
21323
|
* and section mention tokens become pills) and `focusPrompt` to focus the
|
|
21078
21324
|
* composer on arrival — the pairing behind "Create via chat" style entry
|
|
21079
21325
|
* points that drop the user into chat with a prefilled prompt.
|
|
21326
|
+
* `projectId` makes that project the composer's selection; `placement`
|
|
21327
|
+
* files the new thread in a section and pin state (omitted: unpinned,
|
|
21328
|
+
* outside sections); `environmentId` reuses that environment and `hostId`
|
|
21329
|
+
* picks a machine for a new one (`environmentId` wins when both are set).
|
|
21080
21330
|
*/
|
|
21081
21331
|
toCompose(options?: {
|
|
21332
|
+
projectId?: string;
|
|
21082
21333
|
initialPrompt?: string;
|
|
21083
21334
|
focusPrompt?: boolean;
|
|
21335
|
+
placement?: {
|
|
21336
|
+
sectionId: string | null;
|
|
21337
|
+
pinned: boolean;
|
|
21338
|
+
};
|
|
21339
|
+
environmentId?: string;
|
|
21340
|
+
hostId?: string;
|
|
21084
21341
|
}): void;
|
|
21085
21342
|
/**
|
|
21086
21343
|
* Open one of this plugin's registered panel actions in the current
|
|
21087
21344
|
* surface's side panel: a `threadPanelAction` in a thread, or an
|
|
21088
21345
|
* `experimental_newThreadPanelAction` on the New thread screen. Plugin
|
|
21089
|
-
* commands use the
|
|
21346
|
+
* commands and thread actions use the focused thread view's opener. Returns false when the surface has no side
|
|
21090
21347
|
* panel actions (plugin pages) or the action is unavailable.
|
|
21091
21348
|
*/
|
|
21092
21349
|
openThreadPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
|
|
@@ -21198,11 +21455,52 @@ interface PluginSdkApp {
|
|
|
21198
21455
|
experimental_lifecycles: readonly ("active" | "archived")[];
|
|
21199
21456
|
}): PluginSidebarThreadsState;
|
|
21200
21457
|
/**
|
|
21201
|
-
*
|
|
21202
|
-
*
|
|
21458
|
+
* Archive an environment's active thread trees the way bb's own list does:
|
|
21459
|
+
* optimistic removal, closing their split panes, leaving a route that shows
|
|
21460
|
+
* one of them, and one Undo toast that restores them and the route. The
|
|
21461
|
+
* promise rejects after bb has shown an error toast. Experimental: see
|
|
21203
21462
|
* docs/api_to_audit.md.
|
|
21204
21463
|
*/
|
|
21205
|
-
|
|
21464
|
+
experimental_useArchiveEnvironmentThreads(): (environmentId: string) => Promise<void>;
|
|
21465
|
+
/**
|
|
21466
|
+
* Every thread action for one thread, in menu order (see
|
|
21467
|
+
* {@link PluginThreadAction} for grouping): bb's own registrations first,
|
|
21468
|
+
* then plugins' in registration order. Registrations' `useData` hooks run
|
|
21469
|
+
* once for the app, so calling this per sidebar row costs one store
|
|
21470
|
+
* subscription and a pure `item` call per registration. Pass `keys` for a
|
|
21471
|
+
* row's quick actions. Experimental: see docs/api_to_audit.md.
|
|
21472
|
+
*/
|
|
21473
|
+
experimental_useThreadActions(thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions): readonly PluginThreadActionEntry[];
|
|
21474
|
+
/**
|
|
21475
|
+
* Every registered thread action with its static title and icon, in menu
|
|
21476
|
+
* order and independent of any thread: what a quick-action picker lists.
|
|
21477
|
+
* Experimental: see docs/api_to_audit.md.
|
|
21478
|
+
*/
|
|
21479
|
+
experimental_useThreadActionRegistrations(): readonly PluginThreadActionRegistrationInfo[];
|
|
21480
|
+
/**
|
|
21481
|
+
* bb's thread menu behind a trigger (see
|
|
21482
|
+
* {@link PluginThreadActionsMenuProps}): the same items, order, choice
|
|
21483
|
+
* submenus and compact drawer as the thread header's menu. Experimental: see
|
|
21484
|
+
* docs/api_to_audit.md.
|
|
21485
|
+
*/
|
|
21486
|
+
experimental_ThreadActionsMenu: ComponentType<PluginThreadActionsMenuProps>;
|
|
21487
|
+
/**
|
|
21488
|
+
* bb's thread menu on right-click or long-press (see
|
|
21489
|
+
* {@link PluginThreadActionsContextMenuProps}). Experimental: see
|
|
21490
|
+
* docs/api_to_audit.md.
|
|
21491
|
+
*/
|
|
21492
|
+
experimental_ThreadActionsContextMenu: ComponentType<PluginThreadActionsContextMenuProps>;
|
|
21493
|
+
/**
|
|
21494
|
+
* bb's thread menu groups, for a registration that joins one:
|
|
21495
|
+
* `open` (split), `organize` (copy, read, pin, move, rename), `settings`,
|
|
21496
|
+
* and `lifecycle` (archive, delete). Experimental: see docs/api_to_audit.md.
|
|
21497
|
+
*/
|
|
21498
|
+
experimental_THREAD_ACTION_GROUPS: {
|
|
21499
|
+
readonly open: "1_open";
|
|
21500
|
+
readonly organize: "2_organize";
|
|
21501
|
+
readonly settings: "3_settings";
|
|
21502
|
+
readonly lifecycle: "4_lifecycle";
|
|
21503
|
+
};
|
|
21206
21504
|
/**
|
|
21207
21505
|
* The pull request for one thread's branch (see
|
|
21208
21506
|
* {@link PluginSidebarThreadPullRequestState}).
|
|
@@ -21221,27 +21519,6 @@ interface PluginSdkApp {
|
|
|
21221
21519
|
* Experimental: see docs/api_to_audit.md.
|
|
21222
21520
|
*/
|
|
21223
21521
|
experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
|
|
21224
|
-
/**
|
|
21225
|
-
* The sidebar navigation items in the user's saved order, the active item,
|
|
21226
|
-
* and the host actions that activate, hide, reorder, and customize them
|
|
21227
|
-
* (see {@link ExperimentalSidebarNavigationState}). One model shared by
|
|
21228
|
-
* every caller in the sidebar. Items keep their identity while unchanged.
|
|
21229
|
-
* Outside the sidebar it returns no items and actions that do nothing.
|
|
21230
|
-
* Experimental: see docs/api_to_audit.md.
|
|
21231
|
-
*/
|
|
21232
|
-
experimental_useSidebarNavigation(): ExperimentalSidebarNavigationState;
|
|
21233
|
-
/**
|
|
21234
|
-
* Per-item drag-to-split support for navigation items (see
|
|
21235
|
-
* {@link ExperimentalSidebarNavigationSplit}). Call it once per rendered
|
|
21236
|
-
* item. Experimental: see docs/api_to_audit.md.
|
|
21237
|
-
*/
|
|
21238
|
-
experimental_useSidebarNavigationSplit(itemId: string, options?: ExperimentalSidebarNavigationSplitOptions): ExperimentalSidebarNavigationSplit;
|
|
21239
|
-
/**
|
|
21240
|
-
* bb's artwork for a navigation item's icon: bb's glyphs for its own items,
|
|
21241
|
-
* and the panel's explicit icon, falling back to plugin branding, for plugin panels. Experimental:
|
|
21242
|
-
* see docs/api_to_audit.md.
|
|
21243
|
-
*/
|
|
21244
|
-
experimental_SidebarNavigationIcon: ComponentType<ExperimentalSidebarNavigationIconProps>;
|
|
21245
21522
|
/**
|
|
21246
21523
|
* Whether the composer holds an unsent draft for one thread (see
|
|
21247
21524
|
* {@link PluginSidebarThreadDraftState}). Per row, because a draft is
|
|
@@ -21287,6 +21564,12 @@ interface PluginSdkApp {
|
|
|
21287
21564
|
* form is `displayTitle` on the thread.
|
|
21288
21565
|
*/
|
|
21289
21566
|
ThreadTitle: ComponentType<PluginThreadTitleProps>;
|
|
21567
|
+
/**
|
|
21568
|
+
* bb's thread status glyph (see {@link PluginThreadStatusGlyphProps}): the
|
|
21569
|
+
* same icons, colors, and accessible labels as bb's own thread lists.
|
|
21570
|
+
* Experimental: see docs/api_to_audit.md.
|
|
21571
|
+
*/
|
|
21572
|
+
experimental_ThreadStatusGlyph: ComponentType<PluginThreadStatusGlyphProps>;
|
|
21290
21573
|
/**
|
|
21291
21574
|
* bb's environment provider catalog (see
|
|
21292
21575
|
* {@link PluginEnvironmentProvidersState}), the directory a thread's
|
|
@@ -21309,8 +21592,8 @@ interface PluginSdkApp {
|
|
|
21309
21592
|
* together. Unarchive, environment-group archive, project/machine/environment
|
|
21310
21593
|
* renames, and project/section removal are also optimistic and roll back on
|
|
21311
21594
|
* failure. Created sections enter the cache when the server assigns their id.
|
|
21312
|
-
* `
|
|
21313
|
-
*
|
|
21595
|
+
* Navigation belongs to `useBbNavigate()`; archive and delete
|
|
21596
|
+
* confirmation to the thread action menus.
|
|
21314
21597
|
*
|
|
21315
21598
|
* The client is stable for the plugin's lifetime, so it is safe in effect
|
|
21316
21599
|
* and callback dependency lists.
|
|
@@ -21422,6 +21705,13 @@ interface PluginSdkApp {
|
|
|
21422
21705
|
experimental_Diff: ComponentType<DiffProps>;
|
|
21423
21706
|
}
|
|
21424
21707
|
|
|
21708
|
+
declare const experimental_THREAD_ACTION_GROUPS: {
|
|
21709
|
+
readonly open: "1_open";
|
|
21710
|
+
readonly organize: "2_organize";
|
|
21711
|
+
readonly settings: "3_settings";
|
|
21712
|
+
readonly lifecycle: "4_lifecycle";
|
|
21713
|
+
};
|
|
21714
|
+
|
|
21425
21715
|
declare const experimental_Icon: react.ComponentType<ExperimentalIconProps>;
|
|
21426
21716
|
declare const experimental_ProviderIcon: react.ComponentType<ExperimentalProviderIconProps>;
|
|
21427
21717
|
declare const definePluginApp: PluginSdkApp["definePluginApp"];
|
|
@@ -21453,12 +21743,14 @@ declare const useComposers: () => readonly PluginComposerApi[];
|
|
|
21453
21743
|
declare const experimental_useSidebarThreads: (options?: {
|
|
21454
21744
|
experimental_lifecycles: readonly ("active" | "archived")[];
|
|
21455
21745
|
}) => PluginSidebarThreadsState;
|
|
21456
|
-
declare const
|
|
21746
|
+
declare const experimental_useThreadActions: (thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions) => readonly PluginThreadActionEntry[];
|
|
21747
|
+
declare const experimental_useArchiveEnvironmentThreads: () => (environmentId: string) => Promise<void>;
|
|
21748
|
+
declare const experimental_useThreadActionRegistrations: () => readonly PluginThreadActionRegistrationInfo[];
|
|
21749
|
+
declare const experimental_ThreadActionsMenu: react.ComponentType<PluginThreadActionsMenuProps>;
|
|
21750
|
+
declare const experimental_ThreadActionsContextMenu: react.ComponentType<PluginThreadActionsContextMenuProps>;
|
|
21751
|
+
|
|
21457
21752
|
declare const experimental_useSidebarThreadPullRequest: (threadId: string) => PluginSidebarThreadPullRequestState;
|
|
21458
21753
|
declare const experimental_useSidebarThreadSplit: (threadId: string) => PluginSidebarThreadSplit;
|
|
21459
|
-
declare const experimental_useSidebarNavigation: () => ExperimentalSidebarNavigationState;
|
|
21460
|
-
declare const experimental_useSidebarNavigationSplit: (itemId: string, options?: ExperimentalSidebarNavigationSplitOptions) => ExperimentalSidebarNavigationSplit;
|
|
21461
|
-
declare const experimental_SidebarNavigationIcon: react.ComponentType<ExperimentalSidebarNavigationIconProps>;
|
|
21462
21754
|
declare const useSidebarThreadDraft: (threadId: string) => PluginSidebarThreadDraftState;
|
|
21463
21755
|
declare const useSidebarThreadDraftIds: () => ReadonlySet<string>;
|
|
21464
21756
|
declare const useSidebarThreadRowStatus: (threadId: string) => PluginSidebarThreadRowStatus | null;
|
|
@@ -21466,11 +21758,12 @@ declare const useSidebarThreadRowStatuses: () => ReadonlyMap<string, PluginSideb
|
|
|
21466
21758
|
declare const useSidebarSplitLayout: () => PluginSidebarSplitLayout | null;
|
|
21467
21759
|
declare const useSidebarThreadShortcut: (threadId: string) => PluginSidebarThreadShortcut | null;
|
|
21468
21760
|
declare const ThreadTitle: react.ComponentType<PluginThreadTitleProps>;
|
|
21761
|
+
declare const experimental_ThreadStatusGlyph: react.ComponentType<PluginThreadStatusGlyphProps>;
|
|
21469
21762
|
declare const useEnvironmentProviders: () => PluginEnvironmentProvidersState;
|
|
21470
21763
|
declare const useSdk: () => PluginBrowserBbSdk;
|
|
21471
21764
|
declare const experimental_useProviders: () => PluginProvidersState;
|
|
21472
21765
|
declare const experimental_useCodeTheme: () => PluginCodeThemeState;
|
|
21473
21766
|
declare const experimental_copyToClipboard: (content: ExperimentalClipboardContent) => Promise<boolean>;
|
|
21474
21767
|
|
|
21475
|
-
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker,
|
|
21476
|
-
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration,
|
|
21768
|
+
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SourceCode, experimental_THREAD_ACTION_GROUPS, experimental_ThreadActionsContextMenu, experimental_ThreadActionsMenu, experimental_ThreadStatusGlyph, experimental_VoiceInputTextarea, experimental_copyToClipboard, experimental_useAppPanel, experimental_useArchiveEnvironmentThreads, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, experimental_useThreadActionRegistrations, experimental_useThreadActions, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
21769
|
+
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalVoiceInputTextareaProps, 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, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|