@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
|
@@ -59,7 +59,6 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
59
59
|
flat: "flat";
|
|
60
60
|
}>>;
|
|
61
61
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
62
|
-
setupChecklistVisible: z$1.ZodBoolean;
|
|
63
62
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
64
63
|
showGitChanges: z$1.ZodBoolean;
|
|
65
64
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -83,7 +82,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
83
82
|
flat: "flat";
|
|
84
83
|
}>>;
|
|
85
84
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
86
|
-
setupChecklistVisible: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
87
85
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
88
86
|
showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
89
87
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -106,7 +104,6 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
106
104
|
flat: "flat";
|
|
107
105
|
}>>;
|
|
108
106
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
109
|
-
setupChecklistVisible: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
110
107
|
showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
111
108
|
showKeyboardHints: z$1.ZodBoolean;
|
|
112
109
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
@@ -116,7 +113,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
116
113
|
}, z$1.core.$strict>]>;
|
|
117
114
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
118
115
|
|
|
119
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.
|
|
116
|
+
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"];
|
|
120
117
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
121
118
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
122
119
|
schema: Schema;
|
|
@@ -145,21 +142,10 @@ declare const uiPreferenceDefinitions: {
|
|
|
145
142
|
readonly "sidebar.manualSectionOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
146
143
|
readonly "sidebar.machineSectionOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
147
144
|
readonly "sidebar.hiddenGroups": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodArray<z$1.ZodString>, z$1.ZodTransform<string[], string[]>>>;
|
|
148
|
-
readonly "sidebar.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodEnum<{
|
|
149
|
-
pinned: "pinned";
|
|
150
|
-
threads: "threads";
|
|
151
|
-
}>>>;
|
|
152
|
-
readonly "sidebar.collapsedProjects": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
153
|
-
readonly "sidebar.collapsedThreads": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
154
|
-
readonly "sidebar.collapsedEnvironments": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
155
|
-
readonly "sidebar.collapsedThreadSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
156
|
-
readonly "sidebar.collapsedMachines": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
157
145
|
readonly "sidebar.footerOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
158
146
|
readonly "sidebar.hiddenFooterItems": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
159
147
|
readonly "sidebar.pluginPanelOrder": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
160
148
|
readonly "sidebar.visiblePluginPanels": UiPreferenceDefinition<z$1.ZodNullable<z$1.ZodArray<z$1.ZodString>>>;
|
|
161
|
-
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
162
|
-
readonly "sidebar.headerProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
163
149
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
164
150
|
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
165
151
|
};
|
|
@@ -252,6 +238,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
252
238
|
"thread.search": "thread.search";
|
|
253
239
|
"window.find": "window.find";
|
|
254
240
|
"window.new": "window.new";
|
|
241
|
+
"window.reload": "window.reload";
|
|
255
242
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
256
243
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
257
244
|
platform: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -512,14 +499,12 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
512
499
|
|
|
513
500
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
514
501
|
changelogPreview: "changelogPreview";
|
|
515
|
-
navigationRail: "navigationRail";
|
|
516
502
|
performanceDiagnostics: "performanceDiagnostics";
|
|
517
503
|
serverMove: "serverMove";
|
|
518
504
|
}>, z$1.ZodBoolean>;
|
|
519
505
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
520
506
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
521
507
|
changelogPreview: "changelogPreview";
|
|
522
|
-
navigationRail: "navigationRail";
|
|
523
508
|
performanceDiagnostics: "performanceDiagnostics";
|
|
524
509
|
serverMove: "serverMove";
|
|
525
510
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
@@ -2947,6 +2932,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2947
2932
|
kind: z$1.ZodLiteral<"plugin">;
|
|
2948
2933
|
label: z$1.ZodString;
|
|
2949
2934
|
pluginId: z$1.ZodString;
|
|
2935
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2936
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
2937
|
+
label: z$1.ZodString;
|
|
2938
|
+
path: z$1.ZodString;
|
|
2950
2939
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
2951
2940
|
start: z$1.ZodNumber;
|
|
2952
2941
|
}, z$1.core.$strip>>>;
|
|
@@ -3033,6 +3022,10 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3033
3022
|
kind: z$1.ZodLiteral<"plugin">;
|
|
3034
3023
|
label: z$1.ZodString;
|
|
3035
3024
|
pluginId: z$1.ZodString;
|
|
3025
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3026
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
3027
|
+
label: z$1.ZodString;
|
|
3028
|
+
path: z$1.ZodString;
|
|
3036
3029
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
3037
3030
|
start: z$1.ZodNumber;
|
|
3038
3031
|
}, z$1.core.$strip>>>;
|
|
@@ -4023,6 +4016,10 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
4023
4016
|
kind: z$1.ZodLiteral<"plugin">;
|
|
4024
4017
|
label: z$1.ZodString;
|
|
4025
4018
|
pluginId: z$1.ZodString;
|
|
4019
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4020
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
4021
|
+
label: z$1.ZodString;
|
|
4022
|
+
path: z$1.ZodString;
|
|
4026
4023
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
4027
4024
|
start: z$1.ZodNumber;
|
|
4028
4025
|
}, z$1.core.$strip>>>;
|
|
@@ -4352,6 +4349,10 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4352
4349
|
kind: z$1.ZodLiteral<"plugin">;
|
|
4353
4350
|
label: z$1.ZodString;
|
|
4354
4351
|
pluginId: z$1.ZodString;
|
|
4352
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4353
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
4354
|
+
label: z$1.ZodString;
|
|
4355
|
+
path: z$1.ZodString;
|
|
4355
4356
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
4356
4357
|
start: z$1.ZodNumber;
|
|
4357
4358
|
}, z$1.core.$strip>>>;
|
|
@@ -4782,6 +4783,10 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
4782
4783
|
kind: z$1.ZodLiteral<"plugin">;
|
|
4783
4784
|
label: z$1.ZodString;
|
|
4784
4785
|
pluginId: z$1.ZodString;
|
|
4786
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4787
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
4788
|
+
label: z$1.ZodString;
|
|
4789
|
+
path: z$1.ZodString;
|
|
4785
4790
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
4786
4791
|
start: z$1.ZodNumber;
|
|
4787
4792
|
}, z$1.core.$strip>>>;
|
|
@@ -5335,6 +5340,10 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5335
5340
|
kind: z$1.ZodLiteral<"plugin">;
|
|
5336
5341
|
label: z$1.ZodString;
|
|
5337
5342
|
pluginId: z$1.ZodString;
|
|
5343
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5344
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
5345
|
+
label: z$1.ZodString;
|
|
5346
|
+
path: z$1.ZodString;
|
|
5338
5347
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
5339
5348
|
start: z$1.ZodNumber;
|
|
5340
5349
|
}, z$1.core.$strip>>>;
|
|
@@ -5370,6 +5379,10 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5370
5379
|
}>>;
|
|
5371
5380
|
}, z$1.core.$strip>], "type">>;
|
|
5372
5381
|
projectId: z$1.ZodString;
|
|
5382
|
+
scope: z$1.ZodEnum<{
|
|
5383
|
+
project: "project";
|
|
5384
|
+
thread: "thread";
|
|
5385
|
+
}>;
|
|
5373
5386
|
threadId: z$1.ZodString;
|
|
5374
5387
|
}, z$1.core.$strip>>;
|
|
5375
5388
|
nextCursor: z$1.ZodNullable<z$1.ZodString>;
|
|
@@ -6476,6 +6489,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6476
6489
|
kind: z$1.ZodLiteral<"plugin">;
|
|
6477
6490
|
label: z$1.ZodString;
|
|
6478
6491
|
pluginId: z$1.ZodString;
|
|
6492
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6493
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
6494
|
+
label: z$1.ZodString;
|
|
6495
|
+
path: z$1.ZodString;
|
|
6479
6496
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
6480
6497
|
start: z$1.ZodNumber;
|
|
6481
6498
|
}, z$1.core.$strip>>>;
|
|
@@ -6562,6 +6579,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6562
6579
|
kind: z$1.ZodLiteral<"plugin">;
|
|
6563
6580
|
label: z$1.ZodString;
|
|
6564
6581
|
pluginId: z$1.ZodString;
|
|
6582
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6583
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
6584
|
+
label: z$1.ZodString;
|
|
6585
|
+
path: z$1.ZodString;
|
|
6565
6586
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
6566
6587
|
start: z$1.ZodNumber;
|
|
6567
6588
|
}, z$1.core.$strip>>>;
|
|
@@ -6730,6 +6751,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6730
6751
|
kind: z$1.ZodLiteral<"plugin">;
|
|
6731
6752
|
label: z$1.ZodString;
|
|
6732
6753
|
pluginId: z$1.ZodString;
|
|
6754
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6755
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
6756
|
+
label: z$1.ZodString;
|
|
6757
|
+
path: z$1.ZodString;
|
|
6733
6758
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
6734
6759
|
start: z$1.ZodNumber;
|
|
6735
6760
|
}, z$1.core.$strip>>>;
|
|
@@ -6816,6 +6841,10 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6816
6841
|
kind: z$1.ZodLiteral<"plugin">;
|
|
6817
6842
|
label: z$1.ZodString;
|
|
6818
6843
|
pluginId: z$1.ZodString;
|
|
6844
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6845
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
6846
|
+
label: z$1.ZodString;
|
|
6847
|
+
path: z$1.ZodString;
|
|
6819
6848
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
6820
6849
|
start: z$1.ZodNumber;
|
|
6821
6850
|
}, z$1.core.$strip>>>;
|
|
@@ -7012,7 +7041,21 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7012
7041
|
}, z$1.core.$strip>], "mode">;
|
|
7013
7042
|
threadId: z$1.ZodString;
|
|
7014
7043
|
type: z$1.ZodLiteral<"turn.submit">;
|
|
7015
|
-
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7044
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7045
|
+
trace: z$1.ZodObject<{
|
|
7046
|
+
spans: z$1.ZodArray<z$1.ZodObject<{
|
|
7047
|
+
atMs: z$1.ZodNumber;
|
|
7048
|
+
name: z$1.ZodEnum<{
|
|
7049
|
+
"bridge.turnStarted": "bridge.turnStarted";
|
|
7050
|
+
"events.flushed": "events.flushed";
|
|
7051
|
+
"input.staged": "input.staged";
|
|
7052
|
+
"lanes.entered": "lanes.entered";
|
|
7053
|
+
"runtime.ready": "runtime.ready";
|
|
7054
|
+
"skills.staged": "skills.staged";
|
|
7055
|
+
}>;
|
|
7056
|
+
}, z$1.core.$strict>>;
|
|
7057
|
+
}, z$1.core.$strict>;
|
|
7058
|
+
}, z$1.core.$strip>, "settled", false>;
|
|
7016
7059
|
"thread.stop": HostDaemonCommandDescriptor<"thread.stop", z$1.ZodObject<{
|
|
7017
7060
|
environmentId: z$1.ZodString;
|
|
7018
7061
|
intent: z$1.ZodEnum<{
|
|
@@ -7830,6 +7873,65 @@ declare const hostDaemonCommandRegistry: {
|
|
|
7830
7873
|
}>;
|
|
7831
7874
|
}, z$1.core.$strip>>;
|
|
7832
7875
|
}, z$1.core.$strip>, "onlineRpc", true>;
|
|
7876
|
+
"host.read_workspace_agent_context": HostDaemonCommandDescriptor<"host.read_workspace_agent_context", z$1.ZodObject<{
|
|
7877
|
+
includeAgentInstructions: z$1.ZodBoolean;
|
|
7878
|
+
projectSkillRead: z$1.ZodObject<{
|
|
7879
|
+
excludeNames: z$1.ZodArray<z$1.ZodString>;
|
|
7880
|
+
limit: z$1.ZodNumber;
|
|
7881
|
+
maxContentBytes: z$1.ZodNumber;
|
|
7882
|
+
maxFileBytes: z$1.ZodNumber;
|
|
7883
|
+
}, z$1.core.$strict>;
|
|
7884
|
+
rootPath: z$1.ZodString;
|
|
7885
|
+
sharedSkillRoots: z$1.ZodObject<{
|
|
7886
|
+
project: z$1.ZodArray<z$1.ZodObject<{
|
|
7887
|
+
ancestors: z$1.ZodBoolean;
|
|
7888
|
+
namePrefix: z$1.ZodString;
|
|
7889
|
+
path: z$1.ZodString;
|
|
7890
|
+
recursive: z$1.ZodBoolean;
|
|
7891
|
+
skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
|
|
7892
|
+
}, z$1.core.$strict>>;
|
|
7893
|
+
user: z$1.ZodArray<z$1.ZodObject<{
|
|
7894
|
+
ancestors: z$1.ZodBoolean;
|
|
7895
|
+
namePrefix: z$1.ZodString;
|
|
7896
|
+
path: z$1.ZodString;
|
|
7897
|
+
recursive: z$1.ZodBoolean;
|
|
7898
|
+
skipIfManifest: z$1.ZodOptional<z$1.ZodString>;
|
|
7899
|
+
}, z$1.core.$strict>>;
|
|
7900
|
+
}, z$1.core.$strict>;
|
|
7901
|
+
type: z$1.ZodLiteral<"host.read_workspace_agent_context">;
|
|
7902
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7903
|
+
agentInstructions: z$1.ZodNullable<z$1.ZodString>;
|
|
7904
|
+
projectSkills: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
7905
|
+
directoryName: z$1.ZodString;
|
|
7906
|
+
kind: z$1.ZodLiteral<"budget-exceeded">;
|
|
7907
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7908
|
+
content: z$1.ZodString;
|
|
7909
|
+
directoryName: z$1.ZodString;
|
|
7910
|
+
kind: z$1.ZodLiteral<"file">;
|
|
7911
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
7912
|
+
directoryName: z$1.ZodString;
|
|
7913
|
+
kind: z$1.ZodLiteral<"oversized">;
|
|
7914
|
+
sizeBytes: z$1.ZodNumber;
|
|
7915
|
+
}, z$1.core.$strict>], "kind">>;
|
|
7916
|
+
projectSkillsTruncated: z$1.ZodBoolean;
|
|
7917
|
+
sharedSkills: z$1.ZodArray<z$1.ZodObject<{
|
|
7918
|
+
description: z$1.ZodNullable<z$1.ZodString>;
|
|
7919
|
+
filePath: z$1.ZodString;
|
|
7920
|
+
id: z$1.ZodString;
|
|
7921
|
+
linked: z$1.ZodBoolean;
|
|
7922
|
+
name: z$1.ZodString;
|
|
7923
|
+
rootKind: z$1.ZodEnum<{
|
|
7924
|
+
"bb-builtin": "bb-builtin";
|
|
7925
|
+
"bb-data-dir": "bb-data-dir";
|
|
7926
|
+
"bb-project": "bb-project";
|
|
7927
|
+
"provider-project": "provider-project";
|
|
7928
|
+
"provider-user": "provider-user";
|
|
7929
|
+
"shared-project": "shared-project";
|
|
7930
|
+
"shared-user": "shared-user";
|
|
7931
|
+
plugin: "plugin";
|
|
7932
|
+
}>;
|
|
7933
|
+
}, z$1.core.$strip>>;
|
|
7934
|
+
}, z$1.core.$strict>, "onlineRpc", true>;
|
|
7833
7935
|
"host.delete_skill": HostDaemonCommandDescriptor<"host.delete_skill", z$1.ZodObject<{
|
|
7834
7936
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
7835
7937
|
name: z$1.ZodString;
|
|
@@ -9963,6 +10065,7 @@ declare const pluginSettingsResponseSchema: z$1.ZodObject<{
|
|
|
9963
10065
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
9964
10066
|
default: z$1.ZodOptional<z$1.ZodString>;
|
|
9965
10067
|
description: z$1.ZodOptional<z$1.ZodString>;
|
|
10068
|
+
experimental_optionLabels: z$1.ZodOptional<z$1.ZodRecord<z$1.ZodString, z$1.ZodString>>;
|
|
9966
10069
|
label: z$1.ZodString;
|
|
9967
10070
|
options: z$1.ZodArray<z$1.ZodString>;
|
|
9968
10071
|
type: z$1.ZodLiteral<"select">;
|
|
@@ -10608,6 +10711,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10608
10711
|
"thread.search": "thread.search";
|
|
10609
10712
|
"window.find": "window.find";
|
|
10610
10713
|
"window.new": "window.new";
|
|
10714
|
+
"window.reload": "window.reload";
|
|
10611
10715
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10612
10716
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10613
10717
|
desktopOnly: z$1.ZodBoolean;
|
|
@@ -10654,7 +10758,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10654
10758
|
}, z$1.core.$strict>>;
|
|
10655
10759
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10656
10760
|
changelogPreview: "changelogPreview";
|
|
10657
|
-
navigationRail: "navigationRail";
|
|
10658
10761
|
performanceDiagnostics: "performanceDiagnostics";
|
|
10659
10762
|
serverMove: "serverMove";
|
|
10660
10763
|
}>, z$1.ZodBoolean>;
|
|
@@ -10677,7 +10780,6 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10677
10780
|
flat: "flat";
|
|
10678
10781
|
}>>;
|
|
10679
10782
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10680
|
-
setupChecklistVisible: z$1.ZodBoolean;
|
|
10681
10783
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
10682
10784
|
showGitChanges: z$1.ZodBoolean;
|
|
10683
10785
|
showKeyboardHints: z$1.ZodBoolean;
|
|
@@ -10767,6 +10869,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10767
10869
|
"thread.search": "thread.search";
|
|
10768
10870
|
"window.find": "window.find";
|
|
10769
10871
|
"window.new": "window.new";
|
|
10872
|
+
"window.reload": "window.reload";
|
|
10770
10873
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10771
10874
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10772
10875
|
platform: z$1.ZodOptional<z$1.ZodEnum<{
|
|
@@ -10863,6 +10966,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10863
10966
|
"thread.search": "thread.search";
|
|
10864
10967
|
"window.find": "window.find";
|
|
10865
10968
|
"window.new": "window.new";
|
|
10969
|
+
"window.reload": "window.reload";
|
|
10866
10970
|
"workspace.openPreferred": "workspace.openPreferred";
|
|
10867
10971
|
}>, z$1.ZodTemplateLiteral<`plugin:${string}/${string}`>]>;
|
|
10868
10972
|
desktopOnly: z$1.ZodBoolean;
|
|
@@ -11455,6 +11559,11 @@ type TimelineRowBase = z$1.infer<typeof timelineRowBaseSchema>;
|
|
|
11455
11559
|
declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11456
11560
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
11457
11561
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
11562
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
11563
|
+
name: z$1.ZodString;
|
|
11564
|
+
path: z$1.ZodString;
|
|
11565
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11566
|
+
}, z$1.core.$strip>>;
|
|
11458
11567
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
11459
11568
|
localFiles: z$1.ZodNumber;
|
|
11460
11569
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -11520,6 +11629,10 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11520
11629
|
kind: z$1.ZodLiteral<"plugin">;
|
|
11521
11630
|
label: z$1.ZodString;
|
|
11522
11631
|
pluginId: z$1.ZodString;
|
|
11632
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11633
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
11634
|
+
label: z$1.ZodString;
|
|
11635
|
+
path: z$1.ZodString;
|
|
11523
11636
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
11524
11637
|
start: z$1.ZodNumber;
|
|
11525
11638
|
}, z$1.core.$strip>>;
|
|
@@ -11604,6 +11717,11 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11604
11717
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
11605
11718
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
11606
11719
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
11720
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
11721
|
+
name: z$1.ZodString;
|
|
11722
|
+
path: z$1.ZodString;
|
|
11723
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11724
|
+
}, z$1.core.$strip>>;
|
|
11607
11725
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
11608
11726
|
localFiles: z$1.ZodNumber;
|
|
11609
11727
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -11648,6 +11766,7 @@ declare const timelineSystemRowSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
11648
11766
|
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
11649
11767
|
}, z$1.core.$strip>, z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
11650
11768
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11769
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11651
11770
|
createdAt: z$1.ZodNumber;
|
|
11652
11771
|
detail: z$1.ZodNullable<z$1.ZodString>;
|
|
11653
11772
|
id: z$1.ZodString;
|
|
@@ -11741,6 +11860,7 @@ declare const timelineCommandWorkRowSchema: z$1.ZodObject<{
|
|
|
11741
11860
|
callId: z$1.ZodString;
|
|
11742
11861
|
command: z$1.ZodString;
|
|
11743
11862
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11863
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11744
11864
|
createdAt: z$1.ZodNumber;
|
|
11745
11865
|
cwd: z$1.ZodNullable<z$1.ZodString>;
|
|
11746
11866
|
exitCode: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -11802,6 +11922,7 @@ declare const timelineToolWorkRowSchema: z$1.ZodObject<{
|
|
|
11802
11922
|
}>>;
|
|
11803
11923
|
callId: z$1.ZodString;
|
|
11804
11924
|
completedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
11925
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11805
11926
|
createdAt: z$1.ZodNumber;
|
|
11806
11927
|
id: z$1.ZodString;
|
|
11807
11928
|
kind: z$1.ZodLiteral<"work">;
|
|
@@ -11871,6 +11992,7 @@ declare const timelineFileChangeWorkRowSchema: z$1.ZodObject<{
|
|
|
11871
11992
|
movePath: z$1.ZodNullable<z$1.ZodString>;
|
|
11872
11993
|
path: z$1.ZodString;
|
|
11873
11994
|
}, z$1.core.$strip>;
|
|
11995
|
+
contentDeferred: z$1.ZodOptional<z$1.ZodLiteral<true>>;
|
|
11874
11996
|
createdAt: z$1.ZodNumber;
|
|
11875
11997
|
id: z$1.ZodString;
|
|
11876
11998
|
kind: z$1.ZodLiteral<"work">;
|
|
@@ -12474,7 +12596,7 @@ interface TimelineDelegationWorkRow extends TimelineWorkRowBase {
|
|
|
12474
12596
|
description: string | null;
|
|
12475
12597
|
output: string;
|
|
12476
12598
|
completedAt: number | null;
|
|
12477
|
-
childRows: TimelineRow[];
|
|
12599
|
+
childRows: TimelineRow[] | null;
|
|
12478
12600
|
presentation?: TimelineRowPresentation;
|
|
12479
12601
|
}
|
|
12480
12602
|
declare const timelineWorkflowWorkRowSchema: z$1.ZodObject<{
|
|
@@ -12731,6 +12853,10 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12731
12853
|
kind: z$1.ZodLiteral<"plugin">;
|
|
12732
12854
|
label: z$1.ZodString;
|
|
12733
12855
|
pluginId: z$1.ZodString;
|
|
12856
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12857
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
12858
|
+
label: z$1.ZodString;
|
|
12859
|
+
path: z$1.ZodString;
|
|
12734
12860
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
12735
12861
|
start: z$1.ZodNumber;
|
|
12736
12862
|
}, z$1.core.$strip>>>;
|
|
@@ -12873,6 +12999,10 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12873
12999
|
kind: z$1.ZodLiteral<"plugin">;
|
|
12874
13000
|
label: z$1.ZodString;
|
|
12875
13001
|
pluginId: z$1.ZodString;
|
|
13002
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13003
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13004
|
+
label: z$1.ZodString;
|
|
13005
|
+
path: z$1.ZodString;
|
|
12876
13006
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
12877
13007
|
start: z$1.ZodNumber;
|
|
12878
13008
|
}, z$1.core.$strip>>>;
|
|
@@ -13003,6 +13133,10 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
13003
13133
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13004
13134
|
label: z$1.ZodString;
|
|
13005
13135
|
pluginId: z$1.ZodString;
|
|
13136
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13137
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13138
|
+
label: z$1.ZodString;
|
|
13139
|
+
path: z$1.ZodString;
|
|
13006
13140
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13007
13141
|
start: z$1.ZodNumber;
|
|
13008
13142
|
}, z$1.core.$strip>>>;
|
|
@@ -13131,6 +13265,10 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
13131
13265
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13132
13266
|
label: z$1.ZodString;
|
|
13133
13267
|
pluginId: z$1.ZodString;
|
|
13268
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13269
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13270
|
+
label: z$1.ZodString;
|
|
13271
|
+
path: z$1.ZodString;
|
|
13134
13272
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13135
13273
|
start: z$1.ZodNumber;
|
|
13136
13274
|
}, z$1.core.$strip>>>;
|
|
@@ -13261,6 +13399,10 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
13261
13399
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13262
13400
|
label: z$1.ZodString;
|
|
13263
13401
|
pluginId: z$1.ZodString;
|
|
13402
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13403
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13404
|
+
label: z$1.ZodString;
|
|
13405
|
+
path: z$1.ZodString;
|
|
13264
13406
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13265
13407
|
start: z$1.ZodNumber;
|
|
13266
13408
|
}, z$1.core.$strip>>>;
|
|
@@ -13436,6 +13578,10 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
13436
13578
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13437
13579
|
label: z$1.ZodString;
|
|
13438
13580
|
pluginId: z$1.ZodString;
|
|
13581
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13582
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13583
|
+
label: z$1.ZodString;
|
|
13584
|
+
path: z$1.ZodString;
|
|
13439
13585
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13440
13586
|
start: z$1.ZodNumber;
|
|
13441
13587
|
}, z$1.core.$strip>>>;
|
|
@@ -13609,6 +13755,10 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13609
13755
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13610
13756
|
label: z$1.ZodString;
|
|
13611
13757
|
pluginId: z$1.ZodString;
|
|
13758
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13759
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13760
|
+
label: z$1.ZodString;
|
|
13761
|
+
path: z$1.ZodString;
|
|
13612
13762
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13613
13763
|
start: z$1.ZodNumber;
|
|
13614
13764
|
}, z$1.core.$strip>>>;
|
|
@@ -13717,6 +13867,10 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13717
13867
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13718
13868
|
label: z$1.ZodString;
|
|
13719
13869
|
pluginId: z$1.ZodString;
|
|
13870
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13871
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13872
|
+
label: z$1.ZodString;
|
|
13873
|
+
path: z$1.ZodString;
|
|
13720
13874
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13721
13875
|
start: z$1.ZodNumber;
|
|
13722
13876
|
}, z$1.core.$strip>>>;
|
|
@@ -13834,6 +13988,10 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13834
13988
|
kind: z$1.ZodLiteral<"plugin">;
|
|
13835
13989
|
label: z$1.ZodString;
|
|
13836
13990
|
pluginId: z$1.ZodString;
|
|
13991
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13992
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
13993
|
+
label: z$1.ZodString;
|
|
13994
|
+
path: z$1.ZodString;
|
|
13837
13995
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
13838
13996
|
start: z$1.ZodNumber;
|
|
13839
13997
|
}, z$1.core.$strip>>>;
|
|
@@ -14264,6 +14422,20 @@ declare const threadGetQuerySchema: z$1.ZodObject<{
|
|
|
14264
14422
|
}, z$1.core.$strip>;
|
|
14265
14423
|
type ThreadGetQuery = z$1.infer<typeof threadGetQuerySchema>;
|
|
14266
14424
|
type ThreadPluginMetadataResponse = z$1.infer<typeof pluginMetadataSchema>;
|
|
14425
|
+
declare const pluginThreadMetadataListResponseSchema: z$1.ZodObject<{
|
|
14426
|
+
threads: z$1.ZodArray<z$1.ZodObject<{
|
|
14427
|
+
metadata: z$1.ZodType<JsonObject, unknown, z$1.core.$ZodTypeInternals<JsonObject, unknown>>;
|
|
14428
|
+
threadId: z$1.ZodString;
|
|
14429
|
+
}, z$1.core.$strict>>;
|
|
14430
|
+
}, z$1.core.$strict>;
|
|
14431
|
+
type PluginThreadMetadataListResponse = z$1.infer<typeof pluginThreadMetadataListResponseSchema>;
|
|
14432
|
+
declare const threadAncestorsListResponseSchema: z$1.ZodObject<{
|
|
14433
|
+
threads: z$1.ZodArray<z$1.ZodObject<{
|
|
14434
|
+
ancestorIds: z$1.ZodArray<z$1.ZodString>;
|
|
14435
|
+
threadId: z$1.ZodString;
|
|
14436
|
+
}, z$1.core.$strict>>;
|
|
14437
|
+
}, z$1.core.$strict>;
|
|
14438
|
+
type ThreadAncestorsListResponse = z$1.infer<typeof threadAncestorsListResponseSchema>;
|
|
14267
14439
|
declare const threadWithIncludesResponseSchema: z$1.ZodObject<{
|
|
14268
14440
|
activeBackgroundAgentCount: z$1.ZodNumber;
|
|
14269
14441
|
archivedAt: z$1.ZodNullable<z$1.ZodNumber>;
|
|
@@ -14765,6 +14937,10 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14765
14937
|
kind: z$1.ZodLiteral<"plugin">;
|
|
14766
14938
|
label: z$1.ZodString;
|
|
14767
14939
|
pluginId: z$1.ZodString;
|
|
14940
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14941
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
14942
|
+
label: z$1.ZodString;
|
|
14943
|
+
path: z$1.ZodString;
|
|
14768
14944
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14769
14945
|
start: z$1.ZodNumber;
|
|
14770
14946
|
}, z$1.core.$strip>>>;
|
|
@@ -15009,6 +15185,10 @@ declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
|
15009
15185
|
afterSequence: z$1.ZodOptional<z$1.ZodString>;
|
|
15010
15186
|
beforeAnchorId: z$1.ZodOptional<z$1.ZodString>;
|
|
15011
15187
|
beforeAnchorSeq: z$1.ZodOptional<z$1.ZodString>;
|
|
15188
|
+
deferContent: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15189
|
+
false: "false";
|
|
15190
|
+
true: "true";
|
|
15191
|
+
}>>;
|
|
15012
15192
|
includeNestedRows: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15013
15193
|
false: "false";
|
|
15014
15194
|
true: "true";
|
|
@@ -15022,6 +15202,11 @@ declare const threadTimelineQuerySchema: z$1.ZodObject<{
|
|
|
15022
15202
|
type ThreadTimelineQuery = z$1.infer<typeof threadTimelineQuerySchema>;
|
|
15023
15203
|
declare const timelineTurnSummaryDetailsQuerySchema: z$1.ZodObject<{
|
|
15024
15204
|
beforeCursor: z$1.ZodOptional<z$1.ZodString>;
|
|
15205
|
+
deferContent: z$1.ZodOptional<z$1.ZodEnum<{
|
|
15206
|
+
false: "false";
|
|
15207
|
+
true: "true";
|
|
15208
|
+
}>>;
|
|
15209
|
+
itemId: z$1.ZodOptional<z$1.ZodString>;
|
|
15025
15210
|
sourceSeqEnd: z$1.ZodString;
|
|
15026
15211
|
sourceSeqStart: z$1.ZodString;
|
|
15027
15212
|
turnId: z$1.ZodString;
|
|
@@ -15031,6 +15216,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15031
15216
|
after: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15032
15217
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15033
15218
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15219
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15220
|
+
name: z$1.ZodString;
|
|
15221
|
+
path: z$1.ZodString;
|
|
15222
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15223
|
+
}, z$1.core.$strip>>;
|
|
15034
15224
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15035
15225
|
localFiles: z$1.ZodNumber;
|
|
15036
15226
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15096,6 +15286,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15096
15286
|
kind: z$1.ZodLiteral<"plugin">;
|
|
15097
15287
|
label: z$1.ZodString;
|
|
15098
15288
|
pluginId: z$1.ZodString;
|
|
15289
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15290
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
15291
|
+
label: z$1.ZodString;
|
|
15292
|
+
path: z$1.ZodString;
|
|
15099
15293
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15100
15294
|
start: z$1.ZodNumber;
|
|
15101
15295
|
}, z$1.core.$strip>>;
|
|
@@ -15180,6 +15374,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15180
15374
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15181
15375
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15182
15376
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15377
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15378
|
+
name: z$1.ZodString;
|
|
15379
|
+
path: z$1.ZodString;
|
|
15380
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15381
|
+
}, z$1.core.$strip>>;
|
|
15183
15382
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15184
15383
|
localFiles: z$1.ZodNumber;
|
|
15185
15384
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15202,6 +15401,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15202
15401
|
before: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15203
15402
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15204
15403
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15404
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15405
|
+
name: z$1.ZodString;
|
|
15406
|
+
path: z$1.ZodString;
|
|
15407
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15408
|
+
}, z$1.core.$strip>>;
|
|
15205
15409
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15206
15410
|
localFiles: z$1.ZodNumber;
|
|
15207
15411
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15267,6 +15471,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15267
15471
|
kind: z$1.ZodLiteral<"plugin">;
|
|
15268
15472
|
label: z$1.ZodString;
|
|
15269
15473
|
pluginId: z$1.ZodString;
|
|
15474
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15475
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
15476
|
+
label: z$1.ZodString;
|
|
15477
|
+
path: z$1.ZodString;
|
|
15270
15478
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15271
15479
|
start: z$1.ZodNumber;
|
|
15272
15480
|
}, z$1.core.$strip>>;
|
|
@@ -15351,6 +15559,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15351
15559
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15352
15560
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15353
15561
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15562
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15563
|
+
name: z$1.ZodString;
|
|
15564
|
+
path: z$1.ZodString;
|
|
15565
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15566
|
+
}, z$1.core.$strip>>;
|
|
15354
15567
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15355
15568
|
localFiles: z$1.ZodNumber;
|
|
15356
15569
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15373,6 +15586,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15373
15586
|
message: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15374
15587
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15375
15588
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15589
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15590
|
+
name: z$1.ZodString;
|
|
15591
|
+
path: z$1.ZodString;
|
|
15592
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15593
|
+
}, z$1.core.$strip>>;
|
|
15376
15594
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15377
15595
|
localFiles: z$1.ZodNumber;
|
|
15378
15596
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15438,6 +15656,10 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15438
15656
|
kind: z$1.ZodLiteral<"plugin">;
|
|
15439
15657
|
label: z$1.ZodString;
|
|
15440
15658
|
pluginId: z$1.ZodString;
|
|
15659
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15660
|
+
kind: z$1.ZodLiteral<"attachment">;
|
|
15661
|
+
label: z$1.ZodString;
|
|
15662
|
+
path: z$1.ZodString;
|
|
15441
15663
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15442
15664
|
start: z$1.ZodNumber;
|
|
15443
15665
|
}, z$1.core.$strip>>;
|
|
@@ -15522,6 +15744,11 @@ declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
|
15522
15744
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15523
15745
|
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15524
15746
|
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15747
|
+
localFileDetails: z$1.ZodArray<z$1.ZodObject<{
|
|
15748
|
+
name: z$1.ZodString;
|
|
15749
|
+
path: z$1.ZodString;
|
|
15750
|
+
sizeBytes: z$1.ZodNullable<z$1.ZodNumber>;
|
|
15751
|
+
}, z$1.core.$strip>>;
|
|
15525
15752
|
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15526
15753
|
localFiles: z$1.ZodNumber;
|
|
15527
15754
|
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
@@ -15888,6 +16115,13 @@ declare const threadTimelineResponseSchema: z$1.ZodObject<{
|
|
|
15888
16115
|
}, z$1.core.$strict>;
|
|
15889
16116
|
}, z$1.core.$strip>;
|
|
15890
16117
|
type ThreadTimelineResponse = z$1.infer<typeof threadTimelineResponseSchema>;
|
|
16118
|
+
declare const threadConversationOutlineQuerySchema: z$1.ZodObject<{
|
|
16119
|
+
role: z$1.ZodOptional<z$1.ZodEnum<{
|
|
16120
|
+
assistant: "assistant";
|
|
16121
|
+
user: "user";
|
|
16122
|
+
}>>;
|
|
16123
|
+
}, z$1.core.$strip>;
|
|
16124
|
+
type ThreadConversationOutlineQuery = z$1.infer<typeof threadConversationOutlineQuerySchema>;
|
|
15891
16125
|
declare const threadConversationOutlineResponseSchema: z$1.ZodObject<{
|
|
15892
16126
|
items: z$1.ZodArray<z$1.ZodObject<{
|
|
15893
16127
|
attachmentSummary: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -16291,6 +16525,12 @@ declare const threadTabsResponseSchema: z$1.ZodObject<{
|
|
|
16291
16525
|
}, z$1.core.$strict>>;
|
|
16292
16526
|
path: z$1.ZodString;
|
|
16293
16527
|
threadId: z$1.ZodNullable<z$1.ZodString>;
|
|
16528
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
16529
|
+
id: z$1.ZodString;
|
|
16530
|
+
kind: z$1.ZodLiteral<"attachment-file-preview">;
|
|
16531
|
+
name: z$1.ZodString;
|
|
16532
|
+
path: z$1.ZodString;
|
|
16533
|
+
projectId: z$1.ZodString;
|
|
16294
16534
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
16295
16535
|
desktopTarget: z$1.ZodOptional<z$1.ZodObject<{
|
|
16296
16536
|
generation: z$1.ZodString;
|
|
@@ -16431,6 +16671,12 @@ declare const updateThreadTabsRequestSchema: z$1.ZodObject<{
|
|
|
16431
16671
|
}, z$1.core.$strict>>;
|
|
16432
16672
|
path: z$1.ZodString;
|
|
16433
16673
|
threadId: z$1.ZodNullable<z$1.ZodString>;
|
|
16674
|
+
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
16675
|
+
id: z$1.ZodString;
|
|
16676
|
+
kind: z$1.ZodLiteral<"attachment-file-preview">;
|
|
16677
|
+
name: z$1.ZodString;
|
|
16678
|
+
path: z$1.ZodString;
|
|
16679
|
+
projectId: z$1.ZodString;
|
|
16434
16680
|
}, z$1.core.$strict>, z$1.ZodObject<{
|
|
16435
16681
|
desktopTarget: z$1.ZodOptional<z$1.ZodObject<{
|
|
16436
16682
|
generation: z$1.ZodString;
|
|
@@ -17709,6 +17955,8 @@ interface ThreadOutputResponse {
|
|
|
17709
17955
|
}
|
|
17710
17956
|
type ThreadMutationResult = ThreadResponse;
|
|
17711
17957
|
type ThreadPluginMetadataResult = ThreadPluginMetadataResponse;
|
|
17958
|
+
type PluginThreadMetadataListResult = PluginThreadMetadataListResponse;
|
|
17959
|
+
type ThreadAncestorsListResult = ThreadAncestorsListResponse;
|
|
17712
17960
|
type ThreadSpawnResult = ThreadResponse;
|
|
17713
17961
|
type ThreadForkResult = ThreadResponse;
|
|
17714
17962
|
type ThreadInteractionGetResult = PendingInteraction;
|
|
@@ -17793,6 +18041,15 @@ interface ThreadPluginMetadataArgs {
|
|
|
17793
18041
|
signal?: AbortSignal;
|
|
17794
18042
|
threadId: string;
|
|
17795
18043
|
}
|
|
18044
|
+
interface PluginThreadMetadataListArgs {
|
|
18045
|
+
pluginId: string;
|
|
18046
|
+
threadIds: readonly string[];
|
|
18047
|
+
signal?: AbortSignal;
|
|
18048
|
+
}
|
|
18049
|
+
interface ThreadAncestorsListArgs {
|
|
18050
|
+
threadIds: readonly string[];
|
|
18051
|
+
signal?: AbortSignal;
|
|
18052
|
+
}
|
|
17796
18053
|
interface ThreadPluginMetadataUpdateArgs {
|
|
17797
18054
|
threadId: string;
|
|
17798
18055
|
pluginId: string;
|
|
@@ -17878,6 +18135,10 @@ interface ThreadStoragePathsArgs extends ThreadStoragePathsQuery {
|
|
|
17878
18135
|
signal?: AbortSignal;
|
|
17879
18136
|
threadId: string;
|
|
17880
18137
|
}
|
|
18138
|
+
interface ThreadConversationOutlineArgs extends ThreadConversationOutlineQuery {
|
|
18139
|
+
signal?: AbortSignal;
|
|
18140
|
+
threadId: string;
|
|
18141
|
+
}
|
|
17881
18142
|
interface ThreadTimelineTurnSummaryDetailsArgs extends TimelineTurnSummaryDetailsQuery {
|
|
17882
18143
|
signal?: AbortSignal;
|
|
17883
18144
|
threadId: string;
|
|
@@ -18018,7 +18279,7 @@ interface ThreadsArea {
|
|
|
18018
18279
|
cancelPlan(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
18019
18280
|
clearContext(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
18020
18281
|
clearGoal(args: ThreadActionArgs): Promise<ThreadBannerActionResult>;
|
|
18021
|
-
conversationOutline(args:
|
|
18282
|
+
conversationOutline(args: ThreadConversationOutlineArgs): Promise<ThreadConversationOutlineResult>;
|
|
18022
18283
|
count(args?: ThreadCountArgs): Promise<ThreadCountResult>;
|
|
18023
18284
|
defaultExecutionOptions(args: ThreadStatusArgs): Promise<ThreadDefaultExecutionOptionsResult>;
|
|
18024
18285
|
delete(args: ThreadDeleteArgs): Promise<ThreadDeleteResult>;
|
|
@@ -18027,6 +18288,20 @@ interface ThreadsArea {
|
|
|
18027
18288
|
fork(args: ThreadForkArgs): Promise<ThreadForkResult>;
|
|
18028
18289
|
get(args: ThreadGetArgs): Promise<ThreadGetResult>;
|
|
18029
18290
|
getPluginMetadata(args: ThreadPluginMetadataArgs): Promise<ThreadPluginMetadataResult>;
|
|
18291
|
+
/**
|
|
18292
|
+
* `pluginId`'s metadata for each of `threadIds` (1–200 per request) that
|
|
18293
|
+
* has any, as `{ threadId, metadata }` rows; archived and deleted threads
|
|
18294
|
+
* included.
|
|
18295
|
+
* Experimental: see docs/api_to_audit.md.
|
|
18296
|
+
*/
|
|
18297
|
+
experimental_listPluginMetadata(args: PluginThreadMetadataListArgs): Promise<PluginThreadMetadataListResult>;
|
|
18298
|
+
/**
|
|
18299
|
+
* Each of `threadIds` (1–200 per request) that exists, with `ancestorIds`
|
|
18300
|
+
* from its parent up to the root (empty for a root thread); archived and
|
|
18301
|
+
* deleted threads included, unknown ids omitted.
|
|
18302
|
+
* Experimental: see docs/api_to_audit.md.
|
|
18303
|
+
*/
|
|
18304
|
+
experimental_listAncestors(args: ThreadAncestorsListArgs): Promise<ThreadAncestorsListResult>;
|
|
18030
18305
|
updatePluginMetadata(args: ThreadPluginMetadataUpdateArgs): Promise<ThreadPluginMetadataResult>;
|
|
18031
18306
|
queue: ThreadQueueArea;
|
|
18032
18307
|
interactions: ThreadInteractionsArea;
|
|
@@ -18364,198 +18639,6 @@ interface ExperimentalSidebarFooterDisclosureProps {
|
|
|
18364
18639
|
/** Hide this disclosure without affecting another plugin's open disclosure. */
|
|
18365
18640
|
dismiss(): void;
|
|
18366
18641
|
}
|
|
18367
|
-
/** Display and accessibility metadata for a host-owned sidebar shortcut. */
|
|
18368
|
-
interface ExperimentalSidebarNavigationShortcut {
|
|
18369
|
-
label: string;
|
|
18370
|
-
ariaKeyShortcuts: string;
|
|
18371
|
-
}
|
|
18372
|
-
/** Host-owned behavior represented by one sidebar navigation item. */
|
|
18373
|
-
type ExperimentalSidebarNavigationAction = {
|
|
18374
|
-
kind: "new-thread";
|
|
18375
|
-
} | {
|
|
18376
|
-
kind: "search-threads";
|
|
18377
|
-
} | {
|
|
18378
|
-
kind: "open-extensions";
|
|
18379
|
-
} | {
|
|
18380
|
-
kind: "open-skills";
|
|
18381
|
-
} | {
|
|
18382
|
-
kind: "open-plugin-panel";
|
|
18383
|
-
pluginId: string;
|
|
18384
|
-
panelId: string;
|
|
18385
|
-
};
|
|
18386
|
-
/**
|
|
18387
|
-
* Semantic icon identity for one sidebar navigation item. Render it with
|
|
18388
|
-
* {@link PluginSdkApp.experimental_SidebarNavigationIcon} to match bb's
|
|
18389
|
-
* artwork, including panel icons with plugin branding as their fallback.
|
|
18390
|
-
*/
|
|
18391
|
-
type ExperimentalSidebarNavigationIcon = {
|
|
18392
|
-
kind: "host";
|
|
18393
|
-
name: "extensions" | "new-thread" | "search" | "skills";
|
|
18394
|
-
} | {
|
|
18395
|
-
kind: "plugin";
|
|
18396
|
-
pluginId: string;
|
|
18397
|
-
icon: string | null;
|
|
18398
|
-
};
|
|
18399
|
-
/** One host-owned destination or action a plugin may arrange. */
|
|
18400
|
-
interface ExperimentalSidebarNavigationItem {
|
|
18401
|
-
/**
|
|
18402
|
-
* Arrangement key, stable across reloads: `__bb__/new-thread`,
|
|
18403
|
-
* `__bb__/search-threads`, `__bb__/extensions`, `__bb__/skills`,
|
|
18404
|
-
* `__bb__/automations`, or `<pluginId>/<panelId>`. The same keys appear in
|
|
18405
|
-
* the `sidebar.pluginPanelOrder` and `sidebar.visiblePluginPanels`
|
|
18406
|
-
* settings.
|
|
18407
|
-
*/
|
|
18408
|
-
id: string;
|
|
18409
|
-
label: string;
|
|
18410
|
-
icon: ExperimentalSidebarNavigationIcon;
|
|
18411
|
-
action: ExperimentalSidebarNavigationAction;
|
|
18412
|
-
isDisabled: boolean;
|
|
18413
|
-
/**
|
|
18414
|
-
* False when the user hid the item from the sidebar. Draw hidden items in an
|
|
18415
|
-
* overflow menu rather than dropping them, so they stay reachable.
|
|
18416
|
-
*/
|
|
18417
|
-
isVisible: boolean;
|
|
18418
|
-
/**
|
|
18419
|
-
* A plugin panel remembered from the last session whose bundle has not
|
|
18420
|
-
* registered yet. Activating it does nothing until it loads.
|
|
18421
|
-
*/
|
|
18422
|
-
isLoading: boolean;
|
|
18423
|
-
/**
|
|
18424
|
-
* The plugin that contributed this panel; null for bb's own items. Gates
|
|
18425
|
-
* `openDetails` and `disablePlugin`.
|
|
18426
|
-
*/
|
|
18427
|
-
pluginId: string | null;
|
|
18428
|
-
shortcut: ExperimentalSidebarNavigationShortcut | null;
|
|
18429
|
-
/**
|
|
18430
|
-
* The panel's `experimental_sidebarAccessory`, already wrapped in the host's
|
|
18431
|
-
* crash boundary. Null for bb's items, panels without an accessory, and on
|
|
18432
|
-
* compact viewports. Keep it within one line, about 4rem by 1.25rem.
|
|
18433
|
-
*/
|
|
18434
|
-
experimental_Accessory: ComponentType | null;
|
|
18435
|
-
}
|
|
18436
|
-
/** How the host should activate a sidebar navigation item. */
|
|
18437
|
-
interface ExperimentalSidebarNavigationActivationOptions {
|
|
18438
|
-
openInSplit: boolean;
|
|
18439
|
-
}
|
|
18440
|
-
/**
|
|
18441
|
-
* Host behavior for sidebar navigation items (see
|
|
18442
|
-
* {@link ExperimentalSidebarNavigationState}). Unknown item ids are ignored.
|
|
18443
|
-
* Calls made after the calling component unmounts do nothing.
|
|
18444
|
-
*/
|
|
18445
|
-
interface ExperimentalSidebarNavigationActions {
|
|
18446
|
-
/**
|
|
18447
|
-
* Run the item's host behavior and close the mobile sidebar drawer.
|
|
18448
|
-
* `openInSplit` is ignored where splits are unavailable, and disabled or
|
|
18449
|
-
* loading items do nothing.
|
|
18450
|
-
*/
|
|
18451
|
-
activate(itemId: string, options: ExperimentalSidebarNavigationActivationOptions): void;
|
|
18452
|
-
/** Hide or show one item. Persists to `sidebar.visiblePluginPanels`. */
|
|
18453
|
-
setVisible(itemId: string, isVisible: boolean): void;
|
|
18454
|
-
/**
|
|
18455
|
-
* Save a new order. Pass item ids in the order you want; unknown ids are
|
|
18456
|
-
* dropped and ids you leave out keep their relative order after the ones
|
|
18457
|
-
* you pass. Persists to `sidebar.pluginPanelOrder`.
|
|
18458
|
-
*/
|
|
18459
|
-
setOrder(itemIds: readonly string[]): void;
|
|
18460
|
-
/** Open bb's customize editor, which reorders and hides items. */
|
|
18461
|
-
openCustomize(): void;
|
|
18462
|
-
/** Open the owning plugin's details. Does nothing when `pluginId` is null. */
|
|
18463
|
-
openDetails(itemId: string): void;
|
|
18464
|
-
/**
|
|
18465
|
-
* Disable the owning plugin, leave its panel if it is open, and show a
|
|
18466
|
-
* toast. Rejects after the host's error toast when disabling fails. Does
|
|
18467
|
-
* nothing when `pluginId` is null.
|
|
18468
|
-
*/
|
|
18469
|
-
disablePlugin(itemId: string): Promise<void>;
|
|
18470
|
-
}
|
|
18471
|
-
/** What {@link PluginSdkApp.experimental_useSidebarNavigation} returns. */
|
|
18472
|
-
interface ExperimentalSidebarNavigationState {
|
|
18473
|
-
/** Every item in the user's saved order, visible and hidden. */
|
|
18474
|
-
items: readonly ExperimentalSidebarNavigationItem[];
|
|
18475
|
-
/** The item whose destination the route currently shows, or null. */
|
|
18476
|
-
activeItemId: string | null;
|
|
18477
|
-
/**
|
|
18478
|
-
* True while the user holds the app command modifier, when bb's own rows
|
|
18479
|
-
* reveal their `shortcut` labels. Show yours at the same time.
|
|
18480
|
-
*/
|
|
18481
|
-
isShortcutModifierHeld: boolean;
|
|
18482
|
-
actions: ExperimentalSidebarNavigationActions;
|
|
18483
|
-
}
|
|
18484
|
-
/**
|
|
18485
|
-
* Per-item drag-to-split support (see
|
|
18486
|
-
* {@link PluginSdkApp.experimental_useSidebarNavigationSplit}). Same contract
|
|
18487
|
-
* as {@link PluginSidebarThreadSplit}.
|
|
18488
|
-
*/
|
|
18489
|
-
interface ExperimentalSidebarNavigationSplit {
|
|
18490
|
-
/**
|
|
18491
|
-
* Spread onto the item's interactive element. Empty when the item cannot
|
|
18492
|
-
* open in a pane, so spreading it is always safe.
|
|
18493
|
-
*/
|
|
18494
|
-
splitProps: {
|
|
18495
|
-
onPointerDown?: (event: react.PointerEvent<HTMLElement>) => void;
|
|
18496
|
-
};
|
|
18497
|
-
/**
|
|
18498
|
-
* False for items that cannot open in a pane (Search, Plugins, Skills), on
|
|
18499
|
-
* compact viewports, and when splits are unavailable.
|
|
18500
|
-
*/
|
|
18501
|
-
isAvailable: boolean;
|
|
18502
|
-
/** Where this item's destination sits in the split layout, or null. */
|
|
18503
|
-
layout: {
|
|
18504
|
-
panes: readonly PluginSidebarSplitPane[];
|
|
18505
|
-
} | null;
|
|
18506
|
-
}
|
|
18507
|
-
/** Options for {@link PluginSdkApp.experimental_useSidebarNavigationSplit}. */
|
|
18508
|
-
interface ExperimentalSidebarNavigationSplitOptions {
|
|
18509
|
-
/**
|
|
18510
|
-
* `sidebar` (the default) engages the drag once the pointer leaves the
|
|
18511
|
-
* sidebar, so a row list with its own drag-to-reorder keeps working.
|
|
18512
|
-
* `distance` engages after a short movement in any direction; use it for
|
|
18513
|
-
* rows inside a menu or popover that covers the main area.
|
|
18514
|
-
*/
|
|
18515
|
-
activation?: "distance" | "sidebar";
|
|
18516
|
-
/** Called when the drag engages, for example to close the menu the row is in. */
|
|
18517
|
-
onDragStart?: () => void;
|
|
18518
|
-
}
|
|
18519
|
-
/** Props for {@link PluginSdkApp.experimental_SidebarNavigationIcon}. */
|
|
18520
|
-
interface ExperimentalSidebarNavigationIconProps {
|
|
18521
|
-
icon: ExperimentalSidebarNavigationIcon;
|
|
18522
|
-
className?: string;
|
|
18523
|
-
}
|
|
18524
|
-
/**
|
|
18525
|
-
* Props passed to an `experimental_sidebarNavigation` component. Read the
|
|
18526
|
-
* items and their actions with
|
|
18527
|
-
* {@link PluginSdkApp.experimental_useSidebarNavigation}.
|
|
18528
|
-
*/
|
|
18529
|
-
interface ExperimentalSidebarNavigationProps {
|
|
18530
|
-
isCompactViewport: boolean;
|
|
18531
|
-
/**
|
|
18532
|
-
* Renders bb's bundled Navigation plugin, or nothing while it is disabled.
|
|
18533
|
-
* Kept for plugins written before `experimental_useSidebarNavigation`;
|
|
18534
|
-
* render items from that hook instead. Scheduled for removal.
|
|
18535
|
-
*
|
|
18536
|
-
* @deprecated
|
|
18537
|
-
*/
|
|
18538
|
-
experimental_Original: ComponentType;
|
|
18539
|
-
}
|
|
18540
|
-
/**
|
|
18541
|
-
* Props passed to an `experimental_sidebarHeader` component, rendered in the
|
|
18542
|
-
* sidebar's header row between the sidebar toggle (and the macOS window
|
|
18543
|
-
* controls) and bb's back and forward buttons.
|
|
18544
|
-
*/
|
|
18545
|
-
interface ExperimentalSidebarHeaderProps {
|
|
18546
|
-
/**
|
|
18547
|
-
* Width in px of the space the component may use, updated when the sidebar
|
|
18548
|
-
* resizes or the window chrome changes. It can be smaller than
|
|
18549
|
-
* `controlSize` in a narrow sidebar.
|
|
18550
|
-
*/
|
|
18551
|
-
width: number;
|
|
18552
|
-
/**
|
|
18553
|
-
* Width and height in px of the header's own buttons, equal to the
|
|
18554
|
-
* `--bb-sidebar-control-size` CSS variable. Size your controls to match.
|
|
18555
|
-
*/
|
|
18556
|
-
controlSize: number;
|
|
18557
|
-
isCompactViewport: boolean;
|
|
18558
|
-
}
|
|
18559
18642
|
/**
|
|
18560
18643
|
* Props passed to an `experimental_threadList` component — the sidebar's
|
|
18561
18644
|
* scrolling thread area, replaced wholesale by one plugin.
|
|
@@ -18937,13 +19020,12 @@ interface PluginNavPanelRegistration {
|
|
|
18937
19020
|
*/
|
|
18938
19021
|
fixedTabs?: readonly PluginFixedTabDeclaration[];
|
|
18939
19022
|
/**
|
|
18940
|
-
* Optional presentational component
|
|
18941
|
-
* panel's sidebar
|
|
18942
|
-
* value through the ordinary SDK hooks without coupling
|
|
18943
|
-
* host sidebar. The host
|
|
18944
|
-
* to a small, single-line box
|
|
18945
|
-
*
|
|
18946
|
-
* do not render controls or rely on unbounded content here.
|
|
19023
|
+
* Optional presentational component for a narrow live value next to this
|
|
19024
|
+
* panel's entry in the sidebar. It receives no props so it can own that
|
|
19025
|
+
* value through the ordinary SDK hooks without coupling its state to the
|
|
19026
|
+
* host sidebar. The host still validates it, but no host surface currently
|
|
19027
|
+
* mounts it. Keep it to a small, single-line box; do not render controls or
|
|
19028
|
+
* rely on unbounded content here.
|
|
18947
19029
|
*
|
|
18948
19030
|
* Experimental: see docs/api_to_audit.md.
|
|
18949
19031
|
*/
|
|
@@ -19440,10 +19522,13 @@ interface ExperimentalClipboardContent {
|
|
|
19440
19522
|
* origin, and the plugin-metadata calls default `pluginId`. The same
|
|
19441
19523
|
* narrowing the backend `bb.sdk` applies.
|
|
19442
19524
|
*/
|
|
19443
|
-
type PluginBoundThreadsArea = Omit<BbSdkAreas["threads"], "getPluginMetadata" | "updatePluginMetadata"> & {
|
|
19525
|
+
type PluginBoundThreadsArea = Omit<BbSdkAreas["threads"], "experimental_listPluginMetadata" | "getPluginMetadata" | "updatePluginMetadata"> & {
|
|
19444
19526
|
getPluginMetadata(args: Omit<ThreadPluginMetadataArgs, "pluginId"> & {
|
|
19445
19527
|
pluginId?: string;
|
|
19446
19528
|
}): Promise<ThreadPluginMetadataResult>;
|
|
19529
|
+
experimental_listPluginMetadata(args: Omit<PluginThreadMetadataListArgs, "pluginId"> & {
|
|
19530
|
+
pluginId?: string;
|
|
19531
|
+
}): Promise<PluginThreadMetadataListResult>;
|
|
19447
19532
|
updatePluginMetadata(args: Omit<ThreadPluginMetadataUpdateArgs, "pluginId"> & {
|
|
19448
19533
|
pluginId?: string;
|
|
19449
19534
|
}): Promise<ThreadPluginMetadataResult>;
|
|
@@ -19464,6 +19549,28 @@ interface PluginThreadTitleProps {
|
|
|
19464
19549
|
/** A thread in the sidebar's live view; renders nothing for an unknown id. */
|
|
19465
19550
|
threadId: string;
|
|
19466
19551
|
}
|
|
19552
|
+
/**
|
|
19553
|
+
* Props for {@link PluginSdkApp.experimental_ThreadStatusGlyph}: bb's thread
|
|
19554
|
+
* status glyph, the one its own lists draw. The caller resolves the
|
|
19555
|
+
* indicator, so a row can fold in state the host does not know about, such
|
|
19556
|
+
* as collapsed children or a client-local draft.
|
|
19557
|
+
*/
|
|
19558
|
+
interface PluginThreadStatusGlyphProps {
|
|
19559
|
+
/** The indicator to draw; "none" draws nothing unless `rowStatus` shows. */
|
|
19560
|
+
indicator: PluginSidebarThreadIndicator;
|
|
19561
|
+
/** Draws the archive glyph instead of the indicator. */
|
|
19562
|
+
archived?: boolean;
|
|
19563
|
+
/**
|
|
19564
|
+
* A status another plugin set on the row (see
|
|
19565
|
+
* {@link PluginSdkApp.useSidebarThreadRowStatus}). It replaces every
|
|
19566
|
+
* indicator except "runtime", "unread-error", and "waiting-for-input".
|
|
19567
|
+
*/
|
|
19568
|
+
rowStatus?: PluginSidebarThreadRowStatus | null;
|
|
19569
|
+
/** Hides the idle draft glyph from assistive technology. */
|
|
19570
|
+
hideIdleDraftLabel?: boolean;
|
|
19571
|
+
/** "compact" draws a 14 px glyph; "default" matches bb's sidebar rows. */
|
|
19572
|
+
size?: "compact" | "default";
|
|
19573
|
+
}
|
|
19467
19574
|
/**
|
|
19468
19575
|
* One environment provider from bb's catalog (see
|
|
19469
19576
|
* {@link PluginSdkApp.useEnvironmentProviders}): what a sidebar needs to
|
|
@@ -19513,62 +19620,6 @@ interface PluginSidebarThreadShortcut {
|
|
|
19513
19620
|
/** Value for the row's `aria-keyshortcuts` attribute. */
|
|
19514
19621
|
ariaKeyshortcuts: string;
|
|
19515
19622
|
}
|
|
19516
|
-
/**
|
|
19517
|
-
* Act on threads from a plugin surface. Every method routes to the host's own
|
|
19518
|
-
* flow, so optimistic updates, toasts, dialogs, pane closing, and route repair
|
|
19519
|
-
* behave exactly as they do in the built-in sidebar. Unknown thread ids are
|
|
19520
|
-
* ignored by `open` and rejected by the rest.
|
|
19521
|
-
*/
|
|
19522
|
-
interface PluginSidebarThreadActions {
|
|
19523
|
-
/**
|
|
19524
|
-
* Navigate to a thread. `split: true` applies bb's split placement rules —
|
|
19525
|
-
* a right split by default, focus when the thread is already open, replace
|
|
19526
|
-
* at the pane cap — and falls back to plain navigation where splits are off.
|
|
19527
|
-
* Opening also expands the thread's conversation if the secondary panel had
|
|
19528
|
-
* collapsed it, as bb's own row does.
|
|
19529
|
-
*/
|
|
19530
|
-
open(threadId: string, options?: {
|
|
19531
|
-
split?: boolean;
|
|
19532
|
-
}): void;
|
|
19533
|
-
/**
|
|
19534
|
-
* Go to the new-thread screen. Passing `projectId` also makes that project
|
|
19535
|
-
* the composer's selection, so the thread is created where you asked.
|
|
19536
|
-
* `sectionId` files the new thread under that section, and
|
|
19537
|
-
* `environmentId` reuses that environment (the "New thread in
|
|
19538
|
-
* environment" affordance), both exactly as bb's own list does.
|
|
19539
|
-
* `experimental_placement` explicitly selects the section and pin state,
|
|
19540
|
-
* overriding `sectionId`. Omitting placement starts unpinned, outside sections
|
|
19541
|
-
* unless `sectionId` is supplied; previous composer placement is cleared.
|
|
19542
|
-
* `hostId` selects a machine for a new environment when it
|
|
19543
|
-
* is known and supports an environment provider. `environmentId` wins when
|
|
19544
|
-
* both are supplied.
|
|
19545
|
-
*/
|
|
19546
|
-
openNewThread(options?: {
|
|
19547
|
-
projectId?: string;
|
|
19548
|
-
sectionId?: string;
|
|
19549
|
-
experimental_placement?: {
|
|
19550
|
-
sectionId: string | null;
|
|
19551
|
-
pinned: boolean;
|
|
19552
|
-
};
|
|
19553
|
-
environmentId?: string;
|
|
19554
|
-
hostId?: string;
|
|
19555
|
-
focusPrompt?: boolean;
|
|
19556
|
-
}): void;
|
|
19557
|
-
setPinned(threadId: string, pinned: boolean): Promise<void>;
|
|
19558
|
-
setRead(threadId: string, read: boolean): Promise<void>;
|
|
19559
|
-
/** Silent rename — no dialog. For inline editing in your own row. */
|
|
19560
|
-
rename(threadId: string, title: string): Promise<void>;
|
|
19561
|
-
/** Confirms before including child threads unless archive confirmation is disabled in Settings → General. */
|
|
19562
|
-
archive(threadId: string): void;
|
|
19563
|
-
/** 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. */
|
|
19564
|
-
experimental_archiveEnvironmentThreads(environmentId: string): Promise<void>;
|
|
19565
|
-
/**
|
|
19566
|
-
* Opens bb's delete confirmation, which counts child threads first. Deletion
|
|
19567
|
-
* is destructive and recursive, so the host owns the confirmation: there is
|
|
19568
|
-
* deliberately no silent `delete`.
|
|
19569
|
-
*/
|
|
19570
|
-
requestDelete(threadId: string): void;
|
|
19571
|
-
}
|
|
19572
19623
|
/**
|
|
19573
19624
|
* Render a plugin component in the thread header's action row.
|
|
19574
19625
|
*
|
|
@@ -19600,6 +19651,226 @@ interface ExperimentalPluginBrowserToolbarActionRegistration {
|
|
|
19600
19651
|
/** Component rendered beside the Browser address bar. */
|
|
19601
19652
|
component: ComponentType<ExperimentalPluginBrowserToolbarActionProps>;
|
|
19602
19653
|
}
|
|
19654
|
+
/**
|
|
19655
|
+
* The thread a thread action is evaluated for: the fields bb's own actions
|
|
19656
|
+
* read, copied from the thread payload by the surface that shows the menu.
|
|
19657
|
+
*/
|
|
19658
|
+
interface PluginThreadActionTarget {
|
|
19659
|
+
id: string;
|
|
19660
|
+
projectId: string;
|
|
19661
|
+
parentThreadId: string | null;
|
|
19662
|
+
archivedAt: number | null;
|
|
19663
|
+
pinnedAt: number | null;
|
|
19664
|
+
sectionId: string | null;
|
|
19665
|
+
isUnread: boolean;
|
|
19666
|
+
status: ThreadStatus;
|
|
19667
|
+
/**
|
|
19668
|
+
* The thread's environment when a new thread can reuse it, null otherwise.
|
|
19669
|
+
* `path` is the checkout path, null when the environment has none.
|
|
19670
|
+
*/
|
|
19671
|
+
environment: {
|
|
19672
|
+
id: string;
|
|
19673
|
+
path: string | null;
|
|
19674
|
+
} | null;
|
|
19675
|
+
}
|
|
19676
|
+
/** One row of a thread action's choice list. */
|
|
19677
|
+
interface PluginThreadActionChoice {
|
|
19678
|
+
id: string;
|
|
19679
|
+
label: string;
|
|
19680
|
+
icon?: BbIconName;
|
|
19681
|
+
selected?: boolean;
|
|
19682
|
+
disabled?: boolean;
|
|
19683
|
+
}
|
|
19684
|
+
/**
|
|
19685
|
+
* A choice list instead of a direct action: a submenu in desktop menus, a step
|
|
19686
|
+
* with Back in the compact drawer, and a popover from a row's quick-action
|
|
19687
|
+
* button. `run` receives the picked choice's `id` as `value`.
|
|
19688
|
+
*/
|
|
19689
|
+
interface PluginThreadActionChoices {
|
|
19690
|
+
/**
|
|
19691
|
+
* Title of the drawer step and the quick-action popover; defaults to the
|
|
19692
|
+
* action's label. Desktop submenus show none: their trigger names them.
|
|
19693
|
+
*/
|
|
19694
|
+
heading?: string;
|
|
19695
|
+
/** Footnote below the choices, e.g. why the current value differs from the pick. */
|
|
19696
|
+
hint?: string;
|
|
19697
|
+
items: readonly PluginThreadActionChoice[];
|
|
19698
|
+
}
|
|
19699
|
+
/** What a thread action's `run` receives. */
|
|
19700
|
+
interface PluginThreadActionRunInput {
|
|
19701
|
+
/** The picked choice's `id` when the action has `choices`; otherwise undefined. */
|
|
19702
|
+
value?: string;
|
|
19703
|
+
/**
|
|
19704
|
+
* Start renaming a thread with the editor of the surface that showed the
|
|
19705
|
+
* menu: inline in the sidebar row or thread header, bb's rename dialog
|
|
19706
|
+
* elsewhere.
|
|
19707
|
+
*/
|
|
19708
|
+
requestRename(threadId: string): void;
|
|
19709
|
+
}
|
|
19710
|
+
/** One evaluated thread action: what a registration shows for one thread. */
|
|
19711
|
+
interface PluginThreadAction {
|
|
19712
|
+
label: string;
|
|
19713
|
+
/**
|
|
19714
|
+
* Short secondary text on a muted second line under the label, e.g. the
|
|
19715
|
+
* current value of a choice list.
|
|
19716
|
+
*/
|
|
19717
|
+
detail?: string;
|
|
19718
|
+
icon: BbIconName;
|
|
19719
|
+
variant?: "default" | "destructive";
|
|
19720
|
+
disabled?: boolean;
|
|
19721
|
+
choices?: PluginThreadActionChoices;
|
|
19722
|
+
/**
|
|
19723
|
+
* Runs when the user activates the action or picks a choice. Errors (sync
|
|
19724
|
+
* or async) are contained and logged; they never break the menu.
|
|
19725
|
+
*/
|
|
19726
|
+
run(input: PluginThreadActionRunInput): void | Promise<void>;
|
|
19727
|
+
}
|
|
19728
|
+
/** What a registration's `useData` receives. */
|
|
19729
|
+
interface PluginThreadActionDataInput {
|
|
19730
|
+
/**
|
|
19731
|
+
* Every thread a visible surface currently shows actions for (sidebar rows
|
|
19732
|
+
* on screen, the open thread's header, open menus); a hidden sidebar
|
|
19733
|
+
* contributes none. Sorted, deduplicated, and published once the set has
|
|
19734
|
+
* been quiet for 32 ms (at most 100 ms after the first change), so rows
|
|
19735
|
+
* that mount a frame apart arrive together. Load per-thread state for these
|
|
19736
|
+
* ids, fetching only ids not loaded yet.
|
|
19737
|
+
*/
|
|
19738
|
+
threadIds: readonly string[];
|
|
19739
|
+
}
|
|
19740
|
+
/** What a registration's `item` receives for each thread it is shown for. */
|
|
19741
|
+
interface PluginThreadActionItemInput<Data> {
|
|
19742
|
+
thread: PluginThreadActionTarget;
|
|
19743
|
+
/** What `useData` last returned; undefined when the registration has none. */
|
|
19744
|
+
data: Data;
|
|
19745
|
+
/** The registering plugin's `useSdk()` client. */
|
|
19746
|
+
sdk: PluginBrowserBbSdk;
|
|
19747
|
+
/**
|
|
19748
|
+
* The registering plugin's `useBbNavigate()`. Thread menus are not inside a
|
|
19749
|
+
* side panel, so `openThreadPanel` opens in the focused thread view, as
|
|
19750
|
+
* plugin commands do, and returns false when no thread view is open.
|
|
19751
|
+
*/
|
|
19752
|
+
navigate: BbNavigate;
|
|
19753
|
+
}
|
|
19754
|
+
/**
|
|
19755
|
+
* Add an action to every thread actions menu: the thread header's menu, the
|
|
19756
|
+
* sidebar row's menu and right-click menu, the compact long-press drawer, and,
|
|
19757
|
+
* when the user picks it, a sidebar row's quick-action buttons. bb's own
|
|
19758
|
+
* actions (Open in split, Copy thread link, Mark read, Pin, Rename, Archive,
|
|
19759
|
+
* Delete, …) are registrations of this same shape.
|
|
19760
|
+
*
|
|
19761
|
+
* `useData` is a React hook the host calls once for the whole app, never per
|
|
19762
|
+
* thread or per menu; read app-wide state there (preferences, a realtime
|
|
19763
|
+
* channel, per-thread state for the `threadIds` it receives, fetched in one
|
|
19764
|
+
* batch for the ids not loaded yet). `item` is pure and synchronous: it
|
|
19765
|
+
* derives the action for one thread from that thread and `data`, closing over
|
|
19766
|
+
* everything `run` needs, or returns null to hide it. A throw from either
|
|
19767
|
+
* drops only this registration.
|
|
19768
|
+
*/
|
|
19769
|
+
interface PluginThreadActionRegistration<Data = undefined> {
|
|
19770
|
+
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19771
|
+
id: string;
|
|
19772
|
+
/** Static name, shown where the user picks a row's quick actions. */
|
|
19773
|
+
title: string;
|
|
19774
|
+
/** Static icon for that picker; the evaluated action's `icon` wins in menus. */
|
|
19775
|
+
icon: BbIconName;
|
|
19776
|
+
/**
|
|
19777
|
+
* Menus and the quick-action picker sort by `group` (string compare) with a
|
|
19778
|
+
* separator between groups, then by `order` within a group (unset sorts
|
|
19779
|
+
* last), then by registration order. bb's groups are
|
|
19780
|
+
* {@link PluginSdkApp.experimental_THREAD_ACTION_GROUPS}; any other string
|
|
19781
|
+
* is a group of its own, placed where it sorts.
|
|
19782
|
+
*/
|
|
19783
|
+
group: string;
|
|
19784
|
+
order?: number;
|
|
19785
|
+
useData?(input: PluginThreadActionDataInput): Data;
|
|
19786
|
+
item(input: PluginThreadActionItemInput<Data>): PluginThreadAction | null;
|
|
19787
|
+
}
|
|
19788
|
+
/**
|
|
19789
|
+
* A thread action as {@link PluginSdkApp.experimental_useThreadActions}
|
|
19790
|
+
* returns it: `run` is bound to the caller's `requestRename` (or bb's rename
|
|
19791
|
+
* dialog), contains errors, and resolves when the action settles.
|
|
19792
|
+
*/
|
|
19793
|
+
interface PluginBoundThreadAction extends Omit<PluginThreadAction, "run"> {
|
|
19794
|
+
/** `value` is the picked choice's `id` for an action with `choices`. */
|
|
19795
|
+
run(value?: string): Promise<void>;
|
|
19796
|
+
}
|
|
19797
|
+
/**
|
|
19798
|
+
* One row of {@link PluginSdkApp.experimental_useThreadActions}: `key` is
|
|
19799
|
+
* `<owner>/<id>`, where the owner is the registering plugin's id or
|
|
19800
|
+
* `bb--core` for bb's own actions.
|
|
19801
|
+
*/
|
|
19802
|
+
interface PluginThreadActionEntry {
|
|
19803
|
+
key: string;
|
|
19804
|
+
pluginId: string;
|
|
19805
|
+
/** The registration's group, for separators in a caller's own list. */
|
|
19806
|
+
group: string;
|
|
19807
|
+
action: PluginBoundThreadAction;
|
|
19808
|
+
}
|
|
19809
|
+
/** One row of {@link PluginSdkApp.experimental_useThreadActionRegistrations}. */
|
|
19810
|
+
interface PluginThreadActionRegistrationInfo {
|
|
19811
|
+
key: string;
|
|
19812
|
+
pluginId: string;
|
|
19813
|
+
title: string;
|
|
19814
|
+
icon: BbIconName;
|
|
19815
|
+
}
|
|
19816
|
+
/** Options for {@link PluginSdkApp.experimental_useThreadActions}. */
|
|
19817
|
+
interface PluginThreadActionsOptions {
|
|
19818
|
+
/** Return only these keys, in this order. Omit for every action in menu order. */
|
|
19819
|
+
keys?: readonly string[];
|
|
19820
|
+
/**
|
|
19821
|
+
* The surface's own rename editor, passed to `run` as `requestRename`.
|
|
19822
|
+
* Omit to use bb's rename dialog.
|
|
19823
|
+
*/
|
|
19824
|
+
requestRename?(threadId: string): void;
|
|
19825
|
+
}
|
|
19826
|
+
/**
|
|
19827
|
+
* An action a surface adds to its own copy of the thread menu, not a
|
|
19828
|
+
* registration: appended to the end of its `group`. `key` must be unique in
|
|
19829
|
+
* the menu.
|
|
19830
|
+
*/
|
|
19831
|
+
interface PluginThreadActionsInlineItem {
|
|
19832
|
+
key: string;
|
|
19833
|
+
group: string;
|
|
19834
|
+
action: PluginThreadAction;
|
|
19835
|
+
}
|
|
19836
|
+
/**
|
|
19837
|
+
* What a thread menu's `trigger` receives: the menu's ARIA state, event
|
|
19838
|
+
* handlers, and ref. Spread all of them onto the button you render (compose
|
|
19839
|
+
* your own handlers after calling theirs); a trigger that drops them never
|
|
19840
|
+
* opens the menu.
|
|
19841
|
+
*/
|
|
19842
|
+
type PluginThreadActionsTriggerProps = ComponentPropsWithRef<"button">;
|
|
19843
|
+
interface PluginThreadActionsMenuBaseProps {
|
|
19844
|
+
thread: PluginThreadActionTarget;
|
|
19845
|
+
inline?: readonly PluginThreadActionsInlineItem[];
|
|
19846
|
+
/** See {@link PluginThreadActionsOptions.requestRename}. */
|
|
19847
|
+
requestRename?(threadId: string): void;
|
|
19848
|
+
onOpenChange?(open: boolean): void;
|
|
19849
|
+
/** Radix's close auto-focus hook, to restore focus to the surface's own control. */
|
|
19850
|
+
onCloseAutoFocus?(event: Event): void;
|
|
19851
|
+
}
|
|
19852
|
+
/**
|
|
19853
|
+
* Props of the host-owned `experimental_ThreadActionsMenu`: bb's thread menu
|
|
19854
|
+
* opened from the button `trigger` renders (see
|
|
19855
|
+
* {@link PluginThreadActionsTriggerProps}), a drawer at compact width.
|
|
19856
|
+
*/
|
|
19857
|
+
interface PluginThreadActionsMenuProps extends PluginThreadActionsMenuBaseProps {
|
|
19858
|
+
trigger(props: PluginThreadActionsTriggerProps): ReactNode;
|
|
19859
|
+
side?: "bottom" | "left" | "right" | "top";
|
|
19860
|
+
align?: "center" | "end" | "start";
|
|
19861
|
+
sideOffset?: number;
|
|
19862
|
+
}
|
|
19863
|
+
/**
|
|
19864
|
+
* Props of the host-owned `experimental_ThreadActionsContextMenu`: bb's thread
|
|
19865
|
+
* menu on right-click of `children`, or on touch long-press at compact width.
|
|
19866
|
+
*/
|
|
19867
|
+
interface PluginThreadActionsContextMenuProps extends PluginThreadActionsMenuBaseProps {
|
|
19868
|
+
children: ReactNode;
|
|
19869
|
+
/** Suppresses the menu, e.g. while the row edits its title. */
|
|
19870
|
+
disabled?: boolean;
|
|
19871
|
+
/** Closes the menu and suppresses opening while the row is being dragged. */
|
|
19872
|
+
dragging?: boolean;
|
|
19873
|
+
}
|
|
19603
19874
|
/** One pane's place in the split layout, as fractions of the split area. */
|
|
19604
19875
|
interface PluginSidebarSplitPane {
|
|
19605
19876
|
paneId: string;
|
|
@@ -19694,41 +19965,6 @@ interface PluginThreadListRegistration {
|
|
|
19694
19965
|
description?: string;
|
|
19695
19966
|
component: ComponentType<PluginThreadListProps>;
|
|
19696
19967
|
}
|
|
19697
|
-
/**
|
|
19698
|
-
* Replace the navigation controls above the sidebar thread list. Exclusive:
|
|
19699
|
-
* bb ships its own rows as the bundled Navigation plugin
|
|
19700
|
-
* (`navigation/navigation`). By default the first registered provider other
|
|
19701
|
-
* than Navigation is active, falling back to Navigation; the user can pin one
|
|
19702
|
-
* provider under Settings → Appearance → Navigation. A pinned provider that is
|
|
19703
|
-
* disabled or removed falls back to Navigation; a crashing provider is
|
|
19704
|
-
* replaced by a placeholder with a Reload button.
|
|
19705
|
-
*/
|
|
19706
|
-
interface ExperimentalSidebarNavigationRegistration {
|
|
19707
|
-
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19708
|
-
id: string;
|
|
19709
|
-
/** Label shown in Settings → Appearance and capability details. */
|
|
19710
|
-
title: string;
|
|
19711
|
-
/** Optional one-line description shown with the provider choice. */
|
|
19712
|
-
description?: string;
|
|
19713
|
-
component: ComponentType<ExperimentalSidebarNavigationProps>;
|
|
19714
|
-
}
|
|
19715
|
-
/**
|
|
19716
|
-
* Render a component in the sidebar's header row, between the sidebar toggle
|
|
19717
|
-
* and bb's back and forward buttons. Exclusive: the user picks at most one
|
|
19718
|
-
* header under Settings → Appearance, and by default the header shows only
|
|
19719
|
-
* bb's own controls. Content is clipped to the row, so it cannot move the
|
|
19720
|
-
* thread list or bb's controls. On macOS the empty space keeps dragging the
|
|
19721
|
-
* window; buttons, links, and inputs do not.
|
|
19722
|
-
*/
|
|
19723
|
-
interface ExperimentalSidebarHeaderRegistration {
|
|
19724
|
-
/** Unique within the plugin; letters, digits, `-`, `_`. */
|
|
19725
|
-
id: string;
|
|
19726
|
-
/** Label shown in Settings → Appearance and capability details. */
|
|
19727
|
-
title: string;
|
|
19728
|
-
/** Optional one-line description shown with the provider choice. */
|
|
19729
|
-
description?: string;
|
|
19730
|
-
component: ComponentType<ExperimentalSidebarHeaderProps>;
|
|
19731
|
-
}
|
|
19732
19968
|
/**
|
|
19733
19969
|
* Register this plugin as a viewer/editor for file extensions. By default,
|
|
19734
19970
|
* matching files render the first applicable opener in deterministic slot
|
|
@@ -20170,14 +20406,6 @@ interface PluginAppSlots {
|
|
|
20170
20406
|
experimental_newThreadPanelAction(registration: PluginNewThreadPanelActionRegistration): void;
|
|
20171
20407
|
pendingInteraction(registration: PluginPendingInteractionRegistration): void;
|
|
20172
20408
|
sidebarFooterAction(registration: PluginSidebarFooterActionRegistration): void;
|
|
20173
|
-
/** Replace the bounded sidebar navigation controls. */
|
|
20174
|
-
experimental_sidebarNavigation(registration: ExperimentalSidebarNavigationRegistration): void;
|
|
20175
|
-
/**
|
|
20176
|
-
* Render a component in the sidebar header row (see
|
|
20177
|
-
* {@link ExperimentalSidebarHeaderRegistration}). Experimental: see
|
|
20178
|
-
* docs/api_to_audit.md.
|
|
20179
|
-
*/
|
|
20180
|
-
experimental_sidebarHeader(registration: ExperimentalSidebarHeaderRegistration): void;
|
|
20181
20409
|
/**
|
|
20182
20410
|
* Replace the sidebar's thread list (see
|
|
20183
20411
|
* {@link PluginThreadListRegistration}). Experimental: see
|
|
@@ -20190,6 +20418,12 @@ interface PluginAppSlots {
|
|
|
20190
20418
|
* docs/api_to_audit.md.
|
|
20191
20419
|
*/
|
|
20192
20420
|
experimental_threadHeaderAction(registration: PluginThreadHeaderActionRegistration): void;
|
|
20421
|
+
/**
|
|
20422
|
+
* Add an action to every thread actions menu (see
|
|
20423
|
+
* {@link PluginThreadActionRegistration}). Experimental: see
|
|
20424
|
+
* docs/api_to_audit.md.
|
|
20425
|
+
*/
|
|
20426
|
+
experimental_threadAction<Data = undefined>(registration: PluginThreadActionRegistration<Data>): void;
|
|
20193
20427
|
/** Render a component beside each Browser tab's address bar. */
|
|
20194
20428
|
experimental_browserToolbarAction(registration: ExperimentalPluginBrowserToolbarActionRegistration): void;
|
|
20195
20429
|
fileOpener(registration: PluginFileOpenerRegistration): void;
|
|
@@ -20540,6 +20774,10 @@ type ComposerMention = {
|
|
|
20540
20774
|
source: "command" | "skill";
|
|
20541
20775
|
origin: "builtin" | "project" | "user";
|
|
20542
20776
|
argumentHint: string | null;
|
|
20777
|
+
} | {
|
|
20778
|
+
kind: "attachment";
|
|
20779
|
+
/** The stored path of a file attached to the same draft. */
|
|
20780
|
+
path: string;
|
|
20543
20781
|
} | {
|
|
20544
20782
|
kind: "plugin";
|
|
20545
20783
|
/** The plugin that owns the pill. */
|
|
@@ -21243,7 +21481,15 @@ interface BbContext {
|
|
|
21243
21481
|
threadId: string | null;
|
|
21244
21482
|
}
|
|
21245
21483
|
interface BbNavigate {
|
|
21246
|
-
|
|
21484
|
+
/**
|
|
21485
|
+
* Open a thread. `split: true` applies bb's split placement rules (a right
|
|
21486
|
+
* split by default, focus when already open, replace at the pane cap) and
|
|
21487
|
+
* falls back to plain navigation where splits are off. Opening also expands
|
|
21488
|
+
* the thread's conversation if the side panel had collapsed it.
|
|
21489
|
+
*/
|
|
21490
|
+
toThread(threadId: string, options?: {
|
|
21491
|
+
split?: boolean;
|
|
21492
|
+
}): void;
|
|
21247
21493
|
toProject(projectId: string): void;
|
|
21248
21494
|
/**
|
|
21249
21495
|
* Navigate to one of this plugin's own nav panels by its `path`.
|
|
@@ -21261,16 +21507,27 @@ interface BbNavigate {
|
|
|
21261
21507
|
* and section mention tokens become pills) and `focusPrompt` to focus the
|
|
21262
21508
|
* composer on arrival — the pairing behind "Create via chat" style entry
|
|
21263
21509
|
* points that drop the user into chat with a prefilled prompt.
|
|
21510
|
+
* `projectId` makes that project the composer's selection; `placement`
|
|
21511
|
+
* files the new thread in a section and pin state (omitted: unpinned,
|
|
21512
|
+
* outside sections); `environmentId` reuses that environment and `hostId`
|
|
21513
|
+
* picks a machine for a new one (`environmentId` wins when both are set).
|
|
21264
21514
|
*/
|
|
21265
21515
|
toCompose(options?: {
|
|
21516
|
+
projectId?: string;
|
|
21266
21517
|
initialPrompt?: string;
|
|
21267
21518
|
focusPrompt?: boolean;
|
|
21519
|
+
placement?: {
|
|
21520
|
+
sectionId: string | null;
|
|
21521
|
+
pinned: boolean;
|
|
21522
|
+
};
|
|
21523
|
+
environmentId?: string;
|
|
21524
|
+
hostId?: string;
|
|
21268
21525
|
}): void;
|
|
21269
21526
|
/**
|
|
21270
21527
|
* Open one of this plugin's registered panel actions in the current
|
|
21271
21528
|
* surface's side panel: a `threadPanelAction` in a thread, or an
|
|
21272
21529
|
* `experimental_newThreadPanelAction` on the New thread screen. Plugin
|
|
21273
|
-
* commands use the
|
|
21530
|
+
* commands and thread actions use the focused thread view's opener. Returns false when the surface has no side
|
|
21274
21531
|
* panel actions (plugin pages) or the action is unavailable.
|
|
21275
21532
|
*/
|
|
21276
21533
|
openThreadPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
|
|
@@ -21382,11 +21639,52 @@ interface PluginSdkApp {
|
|
|
21382
21639
|
experimental_lifecycles: readonly ("active" | "archived")[];
|
|
21383
21640
|
}): PluginSidebarThreadsState;
|
|
21384
21641
|
/**
|
|
21385
|
-
*
|
|
21386
|
-
*
|
|
21642
|
+
* Archive an environment's active thread trees the way bb's own list does:
|
|
21643
|
+
* optimistic removal, closing their split panes, leaving a route that shows
|
|
21644
|
+
* one of them, and one Undo toast that restores them and the route. The
|
|
21645
|
+
* promise rejects after bb has shown an error toast. Experimental: see
|
|
21387
21646
|
* docs/api_to_audit.md.
|
|
21388
21647
|
*/
|
|
21389
|
-
|
|
21648
|
+
experimental_useArchiveEnvironmentThreads(): (environmentId: string) => Promise<void>;
|
|
21649
|
+
/**
|
|
21650
|
+
* Every thread action for one thread, in menu order (see
|
|
21651
|
+
* {@link PluginThreadAction} for grouping): bb's own registrations first,
|
|
21652
|
+
* then plugins' in registration order. Registrations' `useData` hooks run
|
|
21653
|
+
* once for the app, so calling this per sidebar row costs one store
|
|
21654
|
+
* subscription and a pure `item` call per registration. Pass `keys` for a
|
|
21655
|
+
* row's quick actions. Experimental: see docs/api_to_audit.md.
|
|
21656
|
+
*/
|
|
21657
|
+
experimental_useThreadActions(thread: PluginThreadActionTarget, options?: PluginThreadActionsOptions): readonly PluginThreadActionEntry[];
|
|
21658
|
+
/**
|
|
21659
|
+
* Every registered thread action with its static title and icon, in menu
|
|
21660
|
+
* order and independent of any thread: what a quick-action picker lists.
|
|
21661
|
+
* Experimental: see docs/api_to_audit.md.
|
|
21662
|
+
*/
|
|
21663
|
+
experimental_useThreadActionRegistrations(): readonly PluginThreadActionRegistrationInfo[];
|
|
21664
|
+
/**
|
|
21665
|
+
* bb's thread menu behind a trigger (see
|
|
21666
|
+
* {@link PluginThreadActionsMenuProps}): the same items, order, choice
|
|
21667
|
+
* submenus and compact drawer as the thread header's menu. Experimental: see
|
|
21668
|
+
* docs/api_to_audit.md.
|
|
21669
|
+
*/
|
|
21670
|
+
experimental_ThreadActionsMenu: ComponentType<PluginThreadActionsMenuProps>;
|
|
21671
|
+
/**
|
|
21672
|
+
* bb's thread menu on right-click or long-press (see
|
|
21673
|
+
* {@link PluginThreadActionsContextMenuProps}). Experimental: see
|
|
21674
|
+
* docs/api_to_audit.md.
|
|
21675
|
+
*/
|
|
21676
|
+
experimental_ThreadActionsContextMenu: ComponentType<PluginThreadActionsContextMenuProps>;
|
|
21677
|
+
/**
|
|
21678
|
+
* bb's thread menu groups, for a registration that joins one:
|
|
21679
|
+
* `open` (split), `organize` (copy, read, pin, move, rename), `settings`,
|
|
21680
|
+
* and `lifecycle` (archive, delete). Experimental: see docs/api_to_audit.md.
|
|
21681
|
+
*/
|
|
21682
|
+
experimental_THREAD_ACTION_GROUPS: {
|
|
21683
|
+
readonly open: "1_open";
|
|
21684
|
+
readonly organize: "2_organize";
|
|
21685
|
+
readonly settings: "3_settings";
|
|
21686
|
+
readonly lifecycle: "4_lifecycle";
|
|
21687
|
+
};
|
|
21390
21688
|
/**
|
|
21391
21689
|
* The pull request for one thread's branch (see
|
|
21392
21690
|
* {@link PluginSidebarThreadPullRequestState}).
|
|
@@ -21405,27 +21703,6 @@ interface PluginSdkApp {
|
|
|
21405
21703
|
* Experimental: see docs/api_to_audit.md.
|
|
21406
21704
|
*/
|
|
21407
21705
|
experimental_useSidebarThreadSplit(threadId: string): PluginSidebarThreadSplit;
|
|
21408
|
-
/**
|
|
21409
|
-
* The sidebar navigation items in the user's saved order, the active item,
|
|
21410
|
-
* and the host actions that activate, hide, reorder, and customize them
|
|
21411
|
-
* (see {@link ExperimentalSidebarNavigationState}). One model shared by
|
|
21412
|
-
* every caller in the sidebar. Items keep their identity while unchanged.
|
|
21413
|
-
* Outside the sidebar it returns no items and actions that do nothing.
|
|
21414
|
-
* Experimental: see docs/api_to_audit.md.
|
|
21415
|
-
*/
|
|
21416
|
-
experimental_useSidebarNavigation(): ExperimentalSidebarNavigationState;
|
|
21417
|
-
/**
|
|
21418
|
-
* Per-item drag-to-split support for navigation items (see
|
|
21419
|
-
* {@link ExperimentalSidebarNavigationSplit}). Call it once per rendered
|
|
21420
|
-
* item. Experimental: see docs/api_to_audit.md.
|
|
21421
|
-
*/
|
|
21422
|
-
experimental_useSidebarNavigationSplit(itemId: string, options?: ExperimentalSidebarNavigationSplitOptions): ExperimentalSidebarNavigationSplit;
|
|
21423
|
-
/**
|
|
21424
|
-
* bb's artwork for a navigation item's icon: bb's glyphs for its own items,
|
|
21425
|
-
* and the panel's explicit icon, falling back to plugin branding, for plugin panels. Experimental:
|
|
21426
|
-
* see docs/api_to_audit.md.
|
|
21427
|
-
*/
|
|
21428
|
-
experimental_SidebarNavigationIcon: ComponentType<ExperimentalSidebarNavigationIconProps>;
|
|
21429
21706
|
/**
|
|
21430
21707
|
* Whether the composer holds an unsent draft for one thread (see
|
|
21431
21708
|
* {@link PluginSidebarThreadDraftState}). Per row, because a draft is
|
|
@@ -21471,6 +21748,12 @@ interface PluginSdkApp {
|
|
|
21471
21748
|
* form is `displayTitle` on the thread.
|
|
21472
21749
|
*/
|
|
21473
21750
|
ThreadTitle: ComponentType<PluginThreadTitleProps>;
|
|
21751
|
+
/**
|
|
21752
|
+
* bb's thread status glyph (see {@link PluginThreadStatusGlyphProps}): the
|
|
21753
|
+
* same icons, colors, and accessible labels as bb's own thread lists.
|
|
21754
|
+
* Experimental: see docs/api_to_audit.md.
|
|
21755
|
+
*/
|
|
21756
|
+
experimental_ThreadStatusGlyph: ComponentType<PluginThreadStatusGlyphProps>;
|
|
21474
21757
|
/**
|
|
21475
21758
|
* bb's environment provider catalog (see
|
|
21476
21759
|
* {@link PluginEnvironmentProvidersState}), the directory a thread's
|
|
@@ -21493,8 +21776,8 @@ interface PluginSdkApp {
|
|
|
21493
21776
|
* together. Unarchive, environment-group archive, project/machine/environment
|
|
21494
21777
|
* renames, and project/section removal are also optimistic and roll back on
|
|
21495
21778
|
* failure. Created sections enter the cache when the server assigns their id.
|
|
21496
|
-
* `
|
|
21497
|
-
*
|
|
21779
|
+
* Navigation belongs to `useBbNavigate()`; archive and delete
|
|
21780
|
+
* confirmation to the thread action menus.
|
|
21498
21781
|
*
|
|
21499
21782
|
* The client is stable for the plugin's lifetime, so it is safe in effect
|
|
21500
21783
|
* and callback dependency lists.
|
|
@@ -21986,6 +22269,8 @@ type PluginSettingDescriptor = {
|
|
|
21986
22269
|
label: string;
|
|
21987
22270
|
description?: string;
|
|
21988
22271
|
options: string[];
|
|
22272
|
+
/** Display labels keyed by option value; options without one show the value itself. */
|
|
22273
|
+
experimental_optionLabels?: Record<string, string>;
|
|
21989
22274
|
/** Synchronously validate without transforming a proposed value. */
|
|
21990
22275
|
experimental_schema?: StandardSchemaV1<string, string>;
|
|
21991
22276
|
default?: string;
|
|
@@ -23681,8 +23966,9 @@ interface PluginStatusApi {
|
|
|
23681
23966
|
needsConfiguration(message: string): void;
|
|
23682
23967
|
}
|
|
23683
23968
|
/**
|
|
23684
|
-
* The BB SDK bound to one plugin (`bb.sdk`). `threads.getPluginMetadata
|
|
23685
|
-
* `threads.
|
|
23969
|
+
* The BB SDK bound to one plugin (`bb.sdk`). `threads.getPluginMetadata`,
|
|
23970
|
+
* `threads.experimental_listPluginMetadata` and `threads.updatePluginMetadata`
|
|
23971
|
+
* default `pluginId` to that plugin's id. An
|
|
23686
23972
|
* explicit `pluginId` must be a plugin id (lowercase letters, digits, and
|
|
23687
23973
|
* dashes) or the request fails with HTTP 400. A `pluginMetadata` seed or a
|
|
23688
23974
|
* `set` that is over 256 KiB on its own rejects before any request is sent. A
|
|
@@ -23690,10 +23976,13 @@ interface PluginStatusApi {
|
|
|
23690
23976
|
* leaves the namespace unchanged.
|
|
23691
23977
|
*/
|
|
23692
23978
|
type PluginBbSdk = Omit<BbSdk, "threads"> & {
|
|
23693
|
-
threads: Omit<BbSdk["threads"], "getPluginMetadata" | "updatePluginMetadata"> & {
|
|
23979
|
+
threads: Omit<BbSdk["threads"], "experimental_listPluginMetadata" | "getPluginMetadata" | "updatePluginMetadata"> & {
|
|
23694
23980
|
getPluginMetadata(args: Omit<ThreadPluginMetadataArgs, "pluginId"> & {
|
|
23695
23981
|
pluginId?: string;
|
|
23696
23982
|
}): Promise<ThreadPluginMetadataResult>;
|
|
23983
|
+
experimental_listPluginMetadata(args: Omit<PluginThreadMetadataListArgs, "pluginId"> & {
|
|
23984
|
+
pluginId?: string;
|
|
23985
|
+
}): Promise<PluginThreadMetadataListResult>;
|
|
23697
23986
|
updatePluginMetadata(args: Omit<ThreadPluginMetadataUpdateArgs, "pluginId"> & {
|
|
23698
23987
|
pluginId?: string;
|
|
23699
23988
|
}): Promise<ThreadPluginMetadataResult>;
|
|
@@ -24022,5 +24311,12 @@ declare function cliCommand<const TOptions extends CliOptions = Record<string, n
|
|
|
24022
24311
|
*/
|
|
24023
24312
|
declare function defineCli(spec: PluginCliSpec): PluginCliRegistration;
|
|
24024
24313
|
|
|
24025
|
-
|
|
24026
|
-
|
|
24314
|
+
declare const experimental_THREAD_ACTION_GROUPS: {
|
|
24315
|
+
readonly open: "1_open";
|
|
24316
|
+
readonly organize: "2_organize";
|
|
24317
|
+
readonly settings: "3_settings";
|
|
24318
|
+
readonly lifecycle: "4_lifecycle";
|
|
24319
|
+
};
|
|
24320
|
+
|
|
24321
|
+
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_THREAD_ACTION_GROUPS, experimental_defineHostEntry };
|
|
24322
|
+
export type { BbContext, BbNavigate, BbPluginApi, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalClipboardContent, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDesktopBrowserAcquireInput, ExperimentalDesktopBrowserCreateInput, ExperimentalDesktopBrowserLease, ExperimentalDesktopBrowserScope, ExperimentalDesktopBrowsersArea, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalHostCallOptions, ExperimentalHostClient, ExperimentalHostEntry, ExperimentalHostPaths, ExperimentalHostRpcContext, ExperimentalHostRpcHandlers, ExperimentalHostSignalContract, ExperimentalHostSignalEvent, ExperimentalHostSignals, ExperimentalHostWatchChange, ExperimentalHostWatchChangeType, ExperimentalHostWatchEvent, ExperimentalHostWatchListener, ExperimentalHostWatchOptions, ExperimentalHostWatchSubscription, ExperimentalHostWorkerLease, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalPluginMentionImage, ExperimentalPluginProviderEnvContext, ExperimentalPluginProviderEnvEntry, ExperimentalPluginProviderEnvHealth, ExperimentalPluginProviderEnvHealthContext, ExperimentalPluginRpcCaller, ExperimentalPluginRpcHandlerContext, ExperimentalPluginRpcHandlersWithContext, ExperimentalPluginWebSocket, ExperimentalPluginWebSocketContext, ExperimentalPluginWebSocketHandler, ExperimentalPluginWebSocketHandlers, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalVoiceInputTextareaProps, JsonValue, MachineBootstrapApi, MachineBootstrapRequest, MachineExecutor, MachineExecutorRequest, MarkdownProps, MessageDispatchHookContext, MessageDispatchHookDecision, NewThreadComposerProps, NewThreadRequest, PluginAgentConfiguration, PluginAgentConfigurationContext, PluginAgentToolContentPart, PluginAgentToolContext, PluginAgentToolRegistrationBase, PluginAgentToolResult, PluginAgentToolSelection, PluginAgents, PluginAiCompleteOptions, PluginAiServiceDeclaration, PluginAiServiceStatus, PluginAiServices, PluginAiTranscribeOptions, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBackground, PluginBbSdk, PluginBoundThreadAction, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCli, PluginCliBooleanOption, PluginCliCommand, PluginCliCommandInfo, PluginCliConstraint, PluginCliContext, PluginCliDurationOption, PluginCliDurationUnit, PluginCliEnumOption, PluginCliErrorCode, PluginCliExecutionResult, PluginCliIntegerOption, PluginCliOption, PluginCliOptionValues, PluginCliOutputLimitError, PluginCliPositional, PluginCliPositionalValues, PluginCliRegistration, PluginCliResult, PluginCliRunInput, PluginCliSpec, PluginCliStringOption, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginDispatchAttemptKind, PluginDispatchEnvironmentIntent, PluginDispatchExecution, PluginDispatchExecutionSources, PluginDispatchInput, PluginEnvironmentProvider, PluginEnvironmentProviderDeclaration, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProviderRequirements, PluginEnvironmentProvidersState, PluginEnvironmentValidateDecision, PluginEnvironments, PluginEvents, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginHookHandler, PluginHookName, PluginHookSignatures, PluginHooks, PluginHosts, PluginHttp, PluginHttpAuthMode, PluginHttpHandler, PluginInteractionCancelReason, PluginInteractionDescription, PluginInteractionRequest, PluginInteractionResult, PluginKvStorage, PluginLogger, PluginMachineProviderDeclaration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMachineValidateDecision, PluginMachines, PluginMentionItem, PluginMentionProviderRegistration, PluginMentionSearchContext, PluginMentionTrigger, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderCapabilities, PluginProviderCompletedTurnDisplay, PluginProviderComposerAction, PluginProviderDeclaration, PluginProviderExtensionKindDeclaration, PluginProviderFallbackModel, PluginProviderIconRegistration, PluginProviderMaintenance, PluginProviderModelCatalogScope, PluginProviderNativeRootEntry, PluginProviderNativeRoots, PluginProviderOptionDescriptor, PluginProviderOptionsContext, PluginProviderPermissionMode, PluginProviderReasoningLevel, PluginProviderStrings, PluginProviders, PluginProvidersState, PluginRealtime, PluginRealtimeConnectionState, PluginRowLabels, PluginRowPresentation, PluginRpc, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginServerAccess, PluginServerApi, PluginSettingDescriptor, PluginSettingDescriptors, PluginSettingValue, PluginSettings, PluginSettingsHandle, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSettingsValues, PluginSharedPortTunnelIdentity, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadAction, PluginThreadActionChoice, PluginThreadActionChoices, PluginThreadActionDataInput, PluginThreadActionEntry, PluginThreadActionItemInput, PluginThreadActionRegistration, PluginThreadActionRegistrationInfo, PluginThreadActionRunInput, PluginThreadActionTarget, PluginThreadActionsContextMenuProps, PluginThreadActionsInlineItem, PluginThreadActionsMenuProps, PluginThreadActionsOptions, PluginThreadActionsTriggerProps, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadStatusGlyphProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|