@get-bb/plugin-sdk 0.6.16 → 0.6.23
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 +718 -20
- package/bundled-types/bb-plugin-sdk-internal-composer-handle.d.ts +24 -16
- package/bundled-types/bb-plugin-sdk-internal-host-policy.d.ts +8 -0
- 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.d.ts +716 -19
- package/dist/app.js +4 -0
- package/dist/host.js +5 -0
- package/dist/internal/composer-handle.js +19 -7
- package/dist/provider-bridge-acp.js +114 -28
- package/dist/provider-bridge-testing.js +310 -248
- package/dist/provider-bridge-worker-entry.mjs +5 -0
- package/dist/provider-bridge.js +9 -0
- package/dist/testing/app.js +35 -8
- package/package.json +1 -1
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
// and read the real source: https://github.com/get-bb/bb
|
|
7
7
|
|
|
8
8
|
import * as react from 'react';
|
|
9
|
-
import { ComponentType, ComponentPropsWithoutRef, CSSProperties, ReactNode } from 'react';
|
|
9
|
+
import { ComponentType, ComponentPropsWithoutRef, CSSProperties, ComponentPropsWithRef, ReactNode } from 'react';
|
|
10
10
|
import * as z from 'zod';
|
|
11
11
|
import { z as z$1 } from 'zod';
|
|
12
12
|
import * as zod_v4_core from 'zod/v4/core';
|
|
@@ -109,6 +109,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
109
109
|
}>>;
|
|
110
110
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
111
111
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
112
|
+
showGitChanges: z$1.ZodBoolean;
|
|
112
113
|
showKeyboardHints: z$1.ZodBoolean;
|
|
113
114
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
114
115
|
streamerMode: z$1.ZodBoolean;
|
|
@@ -129,6 +130,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
129
130
|
}>>;
|
|
130
131
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
131
132
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
133
|
+
showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
132
134
|
showKeyboardHints: z$1.ZodBoolean;
|
|
133
135
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
134
136
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -147,6 +149,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
147
149
|
flat: "flat";
|
|
148
150
|
}>>;
|
|
149
151
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
152
|
+
showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
150
153
|
showKeyboardHints: z$1.ZodBoolean;
|
|
151
154
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
152
155
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -155,7 +158,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
155
158
|
}, z$1.core.$strict>]>;
|
|
156
159
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
157
160
|
|
|
158
|
-
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.headerProvider", "sidebar.threadListProvider"];
|
|
161
|
+
declare const UI_PREFERENCE_KEYS: readonly ["sidebar.organizationMode", "sidebar.threadGrouping.environment", "sidebar.chronologicalSort", "sidebar.sortDirection", "sidebar.sectionOrder", "sidebar.manualSectionOrder", "sidebar.machineSectionOrder", "sidebar.hiddenGroups", "sidebar.collapsedSections", "sidebar.collapsedProjects", "sidebar.collapsedThreads", "sidebar.collapsedEnvironments", "sidebar.collapsedThreadSections", "sidebar.collapsedMachines", "sidebar.footerOrder", "sidebar.hiddenFooterItems", "sidebar.pluginPanelOrder", "sidebar.visiblePluginPanels", "sidebar.navigationProvider", "sidebar.headerProvider", "sidebar.threadListProvider", "infoPanel.collapsedSections"];
|
|
159
162
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
160
163
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
161
164
|
schema: Schema;
|
|
@@ -200,6 +203,7 @@ declare const uiPreferenceDefinitions: {
|
|
|
200
203
|
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
201
204
|
readonly "sidebar.headerProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
202
205
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
206
|
+
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
203
207
|
};
|
|
204
208
|
type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
|
|
205
209
|
interface UiPreferenceEntry<Key extends UiPreferenceKey = UiPreferenceKey> {
|
|
@@ -220,6 +224,8 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
220
224
|
"dataDirectory.open": "dataDirectory.open";
|
|
221
225
|
"diff.toggle": "diff.toggle";
|
|
222
226
|
"file.quickOpen": "file.quickOpen";
|
|
227
|
+
"history.back": "history.back";
|
|
228
|
+
"history.forward": "history.forward";
|
|
223
229
|
"logs.openServerDaemon": "logs.openServerDaemon";
|
|
224
230
|
"modelPicker.cycleModel": "modelPicker.cycleModel";
|
|
225
231
|
"modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
|
|
@@ -538,11 +544,15 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
538
544
|
|
|
539
545
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
540
546
|
changelogPreview: "changelogPreview";
|
|
547
|
+
navigationRail: "navigationRail";
|
|
548
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
541
549
|
serverMove: "serverMove";
|
|
542
550
|
}>, z$1.ZodBoolean>;
|
|
543
551
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
544
552
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
545
553
|
changelogPreview: "changelogPreview";
|
|
554
|
+
navigationRail: "navigationRail";
|
|
555
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
546
556
|
serverMove: "serverMove";
|
|
547
557
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
548
558
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
@@ -2923,16 +2933,20 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2923
2933
|
"agent-only": "agent-only";
|
|
2924
2934
|
}>>;
|
|
2925
2935
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2936
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
2926
2937
|
path: z$1.ZodString;
|
|
2938
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
2927
2939
|
type: z$1.ZodLiteral<"localImage">;
|
|
2928
2940
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2929
2941
|
"agent-only": "agent-only";
|
|
2930
2942
|
}>>;
|
|
2931
2943
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2944
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
2932
2945
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
2933
2946
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
2934
2947
|
path: z$1.ZodString;
|
|
2935
2948
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2949
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
2936
2950
|
type: z$1.ZodLiteral<"localFile">;
|
|
2937
2951
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2938
2952
|
"agent-only": "agent-only";
|
|
@@ -3005,16 +3019,20 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3005
3019
|
"agent-only": "agent-only";
|
|
3006
3020
|
}>>;
|
|
3007
3021
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3022
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3008
3023
|
path: z$1.ZodString;
|
|
3024
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3009
3025
|
type: z$1.ZodLiteral<"localImage">;
|
|
3010
3026
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3011
3027
|
"agent-only": "agent-only";
|
|
3012
3028
|
}>>;
|
|
3013
3029
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3030
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3014
3031
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
3015
3032
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
3016
3033
|
path: z$1.ZodString;
|
|
3017
3034
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3035
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3018
3036
|
type: z$1.ZodLiteral<"localFile">;
|
|
3019
3037
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3020
3038
|
"agent-only": "agent-only";
|
|
@@ -3979,16 +3997,20 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
3979
3997
|
"agent-only": "agent-only";
|
|
3980
3998
|
}>>;
|
|
3981
3999
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4000
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3982
4001
|
path: z$1.ZodString;
|
|
4002
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3983
4003
|
type: z$1.ZodLiteral<"localImage">;
|
|
3984
4004
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3985
4005
|
"agent-only": "agent-only";
|
|
3986
4006
|
}>>;
|
|
3987
4007
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4008
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3988
4009
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
3989
4010
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
3990
4011
|
path: z$1.ZodString;
|
|
3991
4012
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4013
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3992
4014
|
type: z$1.ZodLiteral<"localFile">;
|
|
3993
4015
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3994
4016
|
"agent-only": "agent-only";
|
|
@@ -4281,16 +4303,20 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4281
4303
|
"agent-only": "agent-only";
|
|
4282
4304
|
}>>;
|
|
4283
4305
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4306
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4284
4307
|
path: z$1.ZodString;
|
|
4308
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4285
4309
|
type: z$1.ZodLiteral<"localImage">;
|
|
4286
4310
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4287
4311
|
"agent-only": "agent-only";
|
|
4288
4312
|
}>>;
|
|
4289
4313
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4314
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4290
4315
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4291
4316
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4292
4317
|
path: z$1.ZodString;
|
|
4293
4318
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4319
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4294
4320
|
type: z$1.ZodLiteral<"localFile">;
|
|
4295
4321
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4296
4322
|
"agent-only": "agent-only";
|
|
@@ -4699,16 +4725,20 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
4699
4725
|
"agent-only": "agent-only";
|
|
4700
4726
|
}>>;
|
|
4701
4727
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4728
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4702
4729
|
path: z$1.ZodString;
|
|
4730
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4703
4731
|
type: z$1.ZodLiteral<"localImage">;
|
|
4704
4732
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4705
4733
|
"agent-only": "agent-only";
|
|
4706
4734
|
}>>;
|
|
4707
4735
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4736
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4708
4737
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4709
4738
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4710
4739
|
path: z$1.ZodString;
|
|
4711
4740
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4741
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4712
4742
|
type: z$1.ZodLiteral<"localFile">;
|
|
4713
4743
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4714
4744
|
"agent-only": "agent-only";
|
|
@@ -5159,6 +5189,7 @@ declare const uploadedPromptAttachmentSchema: z$1.ZodObject<{
|
|
|
5159
5189
|
name: z$1.ZodString;
|
|
5160
5190
|
path: z$1.ZodString;
|
|
5161
5191
|
sizeBytes: z$1.ZodNumber;
|
|
5192
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5162
5193
|
type: z$1.ZodEnum<{
|
|
5163
5194
|
localFile: "localFile";
|
|
5164
5195
|
localImage: "localImage";
|
|
@@ -5247,16 +5278,20 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5247
5278
|
"agent-only": "agent-only";
|
|
5248
5279
|
}>>;
|
|
5249
5280
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5281
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
5250
5282
|
path: z$1.ZodString;
|
|
5283
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5251
5284
|
type: z$1.ZodLiteral<"localImage">;
|
|
5252
5285
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5253
5286
|
"agent-only": "agent-only";
|
|
5254
5287
|
}>>;
|
|
5255
5288
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5289
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
5256
5290
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
5257
5291
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
5258
5292
|
path: z$1.ZodString;
|
|
5259
5293
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
5294
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5260
5295
|
type: z$1.ZodLiteral<"localFile">;
|
|
5261
5296
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5262
5297
|
"agent-only": "agent-only";
|
|
@@ -6384,16 +6419,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6384
6419
|
"agent-only": "agent-only";
|
|
6385
6420
|
}>>;
|
|
6386
6421
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6422
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6387
6423
|
path: z$1.ZodString;
|
|
6424
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6388
6425
|
type: z$1.ZodLiteral<"localImage">;
|
|
6389
6426
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6390
6427
|
"agent-only": "agent-only";
|
|
6391
6428
|
}>>;
|
|
6392
6429
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6430
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6393
6431
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6394
6432
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6395
6433
|
path: z$1.ZodString;
|
|
6396
6434
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6435
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6397
6436
|
type: z$1.ZodLiteral<"localFile">;
|
|
6398
6437
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6399
6438
|
"agent-only": "agent-only";
|
|
@@ -6466,16 +6505,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6466
6505
|
"agent-only": "agent-only";
|
|
6467
6506
|
}>>;
|
|
6468
6507
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6508
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6469
6509
|
path: z$1.ZodString;
|
|
6510
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6470
6511
|
type: z$1.ZodLiteral<"localImage">;
|
|
6471
6512
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6472
6513
|
"agent-only": "agent-only";
|
|
6473
6514
|
}>>;
|
|
6474
6515
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6516
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6475
6517
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6476
6518
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6477
6519
|
path: z$1.ZodString;
|
|
6478
6520
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6521
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6479
6522
|
type: z$1.ZodLiteral<"localFile">;
|
|
6480
6523
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6481
6524
|
"agent-only": "agent-only";
|
|
@@ -6630,16 +6673,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6630
6673
|
"agent-only": "agent-only";
|
|
6631
6674
|
}>>;
|
|
6632
6675
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6676
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6633
6677
|
path: z$1.ZodString;
|
|
6678
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6634
6679
|
type: z$1.ZodLiteral<"localImage">;
|
|
6635
6680
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6636
6681
|
"agent-only": "agent-only";
|
|
6637
6682
|
}>>;
|
|
6638
6683
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6684
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6639
6685
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6640
6686
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6641
6687
|
path: z$1.ZodString;
|
|
6642
6688
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6689
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6643
6690
|
type: z$1.ZodLiteral<"localFile">;
|
|
6644
6691
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6645
6692
|
"agent-only": "agent-only";
|
|
@@ -6712,16 +6759,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6712
6759
|
"agent-only": "agent-only";
|
|
6713
6760
|
}>>;
|
|
6714
6761
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6762
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6715
6763
|
path: z$1.ZodString;
|
|
6764
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6716
6765
|
type: z$1.ZodLiteral<"localImage">;
|
|
6717
6766
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6718
6767
|
"agent-only": "agent-only";
|
|
6719
6768
|
}>>;
|
|
6720
6769
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6770
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6721
6771
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6722
6772
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6723
6773
|
path: z$1.ZodString;
|
|
6724
6774
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6775
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6725
6776
|
type: z$1.ZodLiteral<"localFile">;
|
|
6726
6777
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6727
6778
|
"agent-only": "agent-only";
|
|
@@ -9554,6 +9605,11 @@ declare const pluginCatalogStatusSchema: z$1.ZodObject<{
|
|
|
9554
9605
|
}, z$1.core.$strip>;
|
|
9555
9606
|
type PluginCatalogStatus = z$1.infer<typeof pluginCatalogStatusSchema>;
|
|
9556
9607
|
declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
|
|
9608
|
+
categories: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
9609
|
+
description: z$1.ZodString;
|
|
9610
|
+
displayName: z$1.ZodString;
|
|
9611
|
+
id: z$1.ZodString;
|
|
9612
|
+
}, z$1.core.$strip>>>;
|
|
9557
9613
|
collections: z$1.ZodArray<z$1.ZodObject<{
|
|
9558
9614
|
displayName: z$1.ZodString;
|
|
9559
9615
|
id: z$1.ZodString;
|
|
@@ -10075,6 +10131,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10075
10131
|
"dataDirectory.open": "dataDirectory.open";
|
|
10076
10132
|
"diff.toggle": "diff.toggle";
|
|
10077
10133
|
"file.quickOpen": "file.quickOpen";
|
|
10134
|
+
"history.back": "history.back";
|
|
10135
|
+
"history.forward": "history.forward";
|
|
10078
10136
|
"logs.openServerDaemon": "logs.openServerDaemon";
|
|
10079
10137
|
"modelPicker.cycleModel": "modelPicker.cycleModel";
|
|
10080
10138
|
"modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
|
|
@@ -10188,6 +10246,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10188
10246
|
}, z$1.core.$strict>>;
|
|
10189
10247
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10190
10248
|
changelogPreview: "changelogPreview";
|
|
10249
|
+
navigationRail: "navigationRail";
|
|
10250
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
10191
10251
|
serverMove: "serverMove";
|
|
10192
10252
|
}>, z$1.ZodBoolean>;
|
|
10193
10253
|
featureFlags: z$1.ZodObject<{
|
|
@@ -10208,6 +10268,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10208
10268
|
}>>;
|
|
10209
10269
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10210
10270
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
10271
|
+
showGitChanges: z$1.ZodBoolean;
|
|
10211
10272
|
showKeyboardHints: z$1.ZodBoolean;
|
|
10212
10273
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
10213
10274
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -10225,6 +10286,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10225
10286
|
"dataDirectory.open": "dataDirectory.open";
|
|
10226
10287
|
"diff.toggle": "diff.toggle";
|
|
10227
10288
|
"file.quickOpen": "file.quickOpen";
|
|
10289
|
+
"history.back": "history.back";
|
|
10290
|
+
"history.forward": "history.forward";
|
|
10228
10291
|
"logs.openServerDaemon": "logs.openServerDaemon";
|
|
10229
10292
|
"modelPicker.cycleModel": "modelPicker.cycleModel";
|
|
10230
10293
|
"modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
|
|
@@ -10318,6 +10381,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10318
10381
|
"dataDirectory.open": "dataDirectory.open";
|
|
10319
10382
|
"diff.toggle": "diff.toggle";
|
|
10320
10383
|
"file.quickOpen": "file.quickOpen";
|
|
10384
|
+
"history.back": "history.back";
|
|
10385
|
+
"history.forward": "history.forward";
|
|
10321
10386
|
"logs.openServerDaemon": "logs.openServerDaemon";
|
|
10322
10387
|
"modelPicker.cycleModel": "modelPicker.cycleModel";
|
|
10323
10388
|
"modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
|
|
@@ -10430,6 +10495,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10430
10495
|
}, z$1.core.$strict>;
|
|
10431
10496
|
}, z$1.core.$strict>>;
|
|
10432
10497
|
localHelperPorts: z$1.ZodArray<z$1.ZodNumber>;
|
|
10498
|
+
performanceDiagnosticsAvailable: z$1.ZodBoolean;
|
|
10433
10499
|
pluginThemes: z$1.ZodArray<z$1.ZodObject<{
|
|
10434
10500
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
10435
10501
|
id: z$1.ZodString;
|
|
@@ -10508,7 +10574,13 @@ declare const themeCatalogResponseSchema: z$1.ZodObject<{
|
|
|
10508
10574
|
}, z$1.core.$strip>;
|
|
10509
10575
|
type ThemeCatalogResponse = z$1.infer<typeof themeCatalogResponseSchema>;
|
|
10510
10576
|
declare const systemVersionResponseSchema: z$1.ZodObject<{
|
|
10577
|
+
currentCommit: z$1.ZodNullable<z$1.ZodString>;
|
|
10511
10578
|
currentVersion: z$1.ZodString;
|
|
10579
|
+
installKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10580
|
+
desktop: "desktop";
|
|
10581
|
+
npm: "npm";
|
|
10582
|
+
source: "source";
|
|
10583
|
+
}>>;
|
|
10512
10584
|
isDevelopment: z$1.ZodBoolean;
|
|
10513
10585
|
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
10514
10586
|
source: z$1.ZodLiteral<"npm">;
|
|
@@ -10528,6 +10600,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
|
|
|
10528
10600
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10529
10601
|
phase: z$1.ZodLiteral<"restarting">;
|
|
10530
10602
|
startedAt: z$1.ZodString;
|
|
10603
|
+
targetCommit: z$1.ZodNullable<z$1.ZodString>;
|
|
10531
10604
|
targetVersion: z$1.ZodString;
|
|
10532
10605
|
}, z$1.core.$strip>], "phase">;
|
|
10533
10606
|
available: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -11037,6 +11110,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11037
11110
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
11038
11111
|
start: z$1.ZodNumber;
|
|
11039
11112
|
}, z$1.core.$strip>>;
|
|
11113
|
+
messageSeq: z$1.ZodNumber;
|
|
11040
11114
|
role: z$1.ZodLiteral<"user">;
|
|
11041
11115
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
11042
11116
|
sourceSeqEnd: z$1.ZodNumber;
|
|
@@ -11126,6 +11200,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11126
11200
|
createdAt: z$1.ZodNumber;
|
|
11127
11201
|
id: z$1.ZodString;
|
|
11128
11202
|
kind: z$1.ZodLiteral<"conversation">;
|
|
11203
|
+
messageSeq: z$1.ZodNumber;
|
|
11129
11204
|
role: z$1.ZodLiteral<"assistant">;
|
|
11130
11205
|
sourceSeqEnd: z$1.ZodNumber;
|
|
11131
11206
|
sourceSeqStart: z$1.ZodNumber;
|
|
@@ -12257,16 +12332,20 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12257
12332
|
"agent-only": "agent-only";
|
|
12258
12333
|
}>>;
|
|
12259
12334
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12335
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12260
12336
|
path: z$1.ZodString;
|
|
12337
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12261
12338
|
type: z$1.ZodLiteral<"localImage">;
|
|
12262
12339
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12263
12340
|
"agent-only": "agent-only";
|
|
12264
12341
|
}>>;
|
|
12265
12342
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12343
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12266
12344
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12267
12345
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12268
12346
|
path: z$1.ZodString;
|
|
12269
12347
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12348
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12270
12349
|
type: z$1.ZodLiteral<"localFile">;
|
|
12271
12350
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12272
12351
|
"agent-only": "agent-only";
|
|
@@ -12395,16 +12474,20 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12395
12474
|
"agent-only": "agent-only";
|
|
12396
12475
|
}>>;
|
|
12397
12476
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12477
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12398
12478
|
path: z$1.ZodString;
|
|
12479
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12399
12480
|
type: z$1.ZodLiteral<"localImage">;
|
|
12400
12481
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12401
12482
|
"agent-only": "agent-only";
|
|
12402
12483
|
}>>;
|
|
12403
12484
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12485
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12404
12486
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12405
12487
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12406
12488
|
path: z$1.ZodString;
|
|
12407
12489
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12490
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12408
12491
|
type: z$1.ZodLiteral<"localFile">;
|
|
12409
12492
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12410
12493
|
"agent-only": "agent-only";
|
|
@@ -12521,16 +12604,20 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12521
12604
|
"agent-only": "agent-only";
|
|
12522
12605
|
}>>;
|
|
12523
12606
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12607
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12524
12608
|
path: z$1.ZodString;
|
|
12609
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12525
12610
|
type: z$1.ZodLiteral<"localImage">;
|
|
12526
12611
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12527
12612
|
"agent-only": "agent-only";
|
|
12528
12613
|
}>>;
|
|
12529
12614
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12615
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12530
12616
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12531
12617
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12532
12618
|
path: z$1.ZodString;
|
|
12533
12619
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12620
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12534
12621
|
type: z$1.ZodLiteral<"localFile">;
|
|
12535
12622
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12536
12623
|
"agent-only": "agent-only";
|
|
@@ -12645,16 +12732,20 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
12645
12732
|
"agent-only": "agent-only";
|
|
12646
12733
|
}>>;
|
|
12647
12734
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12735
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12648
12736
|
path: z$1.ZodString;
|
|
12737
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12649
12738
|
type: z$1.ZodLiteral<"localImage">;
|
|
12650
12739
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12651
12740
|
"agent-only": "agent-only";
|
|
12652
12741
|
}>>;
|
|
12653
12742
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12743
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12654
12744
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12655
12745
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12656
12746
|
path: z$1.ZodString;
|
|
12657
12747
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12748
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12658
12749
|
type: z$1.ZodLiteral<"localFile">;
|
|
12659
12750
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12660
12751
|
"agent-only": "agent-only";
|
|
@@ -12771,16 +12862,20 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
12771
12862
|
"agent-only": "agent-only";
|
|
12772
12863
|
}>>;
|
|
12773
12864
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12865
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12774
12866
|
path: z$1.ZodString;
|
|
12867
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12775
12868
|
type: z$1.ZodLiteral<"localImage">;
|
|
12776
12869
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12777
12870
|
"agent-only": "agent-only";
|
|
12778
12871
|
}>>;
|
|
12779
12872
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12873
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12780
12874
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12781
12875
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12782
12876
|
path: z$1.ZodString;
|
|
12783
12877
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12878
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12784
12879
|
type: z$1.ZodLiteral<"localFile">;
|
|
12785
12880
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12786
12881
|
"agent-only": "agent-only";
|
|
@@ -12942,16 +13037,20 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
12942
13037
|
"agent-only": "agent-only";
|
|
12943
13038
|
}>>;
|
|
12944
13039
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13040
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12945
13041
|
path: z$1.ZodString;
|
|
13042
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12946
13043
|
type: z$1.ZodLiteral<"localImage">;
|
|
12947
13044
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12948
13045
|
"agent-only": "agent-only";
|
|
12949
13046
|
}>>;
|
|
12950
13047
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13048
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12951
13049
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12952
13050
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12953
13051
|
path: z$1.ZodString;
|
|
12954
13052
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13053
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12955
13054
|
type: z$1.ZodLiteral<"localFile">;
|
|
12956
13055
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12957
13056
|
"agent-only": "agent-only";
|
|
@@ -13111,16 +13210,20 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13111
13210
|
"agent-only": "agent-only";
|
|
13112
13211
|
}>>;
|
|
13113
13212
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13213
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13114
13214
|
path: z$1.ZodString;
|
|
13215
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13115
13216
|
type: z$1.ZodLiteral<"localImage">;
|
|
13116
13217
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13117
13218
|
"agent-only": "agent-only";
|
|
13118
13219
|
}>>;
|
|
13119
13220
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13221
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13120
13222
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13121
13223
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13122
13224
|
path: z$1.ZodString;
|
|
13123
13225
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13226
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13124
13227
|
type: z$1.ZodLiteral<"localFile">;
|
|
13125
13228
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13126
13229
|
"agent-only": "agent-only";
|
|
@@ -13215,16 +13318,20 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13215
13318
|
"agent-only": "agent-only";
|
|
13216
13319
|
}>>;
|
|
13217
13320
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13321
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13218
13322
|
path: z$1.ZodString;
|
|
13323
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13219
13324
|
type: z$1.ZodLiteral<"localImage">;
|
|
13220
13325
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13221
13326
|
"agent-only": "agent-only";
|
|
13222
13327
|
}>>;
|
|
13223
13328
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13329
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13224
13330
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13225
13331
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13226
13332
|
path: z$1.ZodString;
|
|
13227
13333
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13334
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13228
13335
|
type: z$1.ZodLiteral<"localFile">;
|
|
13229
13336
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13230
13337
|
"agent-only": "agent-only";
|
|
@@ -13324,16 +13431,20 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13324
13431
|
"agent-only": "agent-only";
|
|
13325
13432
|
}>>;
|
|
13326
13433
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13434
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13327
13435
|
path: z$1.ZodString;
|
|
13436
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13328
13437
|
type: z$1.ZodLiteral<"localImage">;
|
|
13329
13438
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13330
13439
|
"agent-only": "agent-only";
|
|
13331
13440
|
}>>;
|
|
13332
13441
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13442
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13333
13443
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13334
13444
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13335
13445
|
path: z$1.ZodString;
|
|
13336
13446
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13447
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13337
13448
|
type: z$1.ZodLiteral<"localFile">;
|
|
13338
13449
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13339
13450
|
"agent-only": "agent-only";
|
|
@@ -14251,16 +14362,20 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14251
14362
|
"agent-only": "agent-only";
|
|
14252
14363
|
}>>;
|
|
14253
14364
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14365
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
14254
14366
|
path: z$1.ZodString;
|
|
14367
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14255
14368
|
type: z$1.ZodLiteral<"localImage">;
|
|
14256
14369
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14257
14370
|
"agent-only": "agent-only";
|
|
14258
14371
|
}>>;
|
|
14259
14372
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14373
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
14260
14374
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
14261
14375
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
14262
14376
|
path: z$1.ZodString;
|
|
14263
14377
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14378
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14264
14379
|
type: z$1.ZodLiteral<"localFile">;
|
|
14265
14380
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14266
14381
|
"agent-only": "agent-only";
|
|
@@ -14494,6 +14609,522 @@ declare const timelineTurnSummaryDetailsQuerySchema: z$1.ZodObject<{
|
|
|
14494
14609
|
turnId: z$1.ZodString;
|
|
14495
14610
|
}, z$1.core.$strip>;
|
|
14496
14611
|
type TimelineTurnSummaryDetailsQuery = z$1.infer<typeof timelineTurnSummaryDetailsQuerySchema>;
|
|
14612
|
+
declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
14613
|
+
after: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14614
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14615
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14616
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14617
|
+
localFiles: z$1.ZodNumber;
|
|
14618
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14619
|
+
localImages: z$1.ZodNumber;
|
|
14620
|
+
webImages: z$1.ZodNumber;
|
|
14621
|
+
}, z$1.core.$strip>>;
|
|
14622
|
+
createdAt: z$1.ZodNumber;
|
|
14623
|
+
id: z$1.ZodString;
|
|
14624
|
+
initiator: z$1.ZodEnum<{
|
|
14625
|
+
agent: "agent";
|
|
14626
|
+
system: "system";
|
|
14627
|
+
user: "user";
|
|
14628
|
+
}>;
|
|
14629
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14630
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14631
|
+
end: z$1.ZodNumber;
|
|
14632
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14633
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14634
|
+
label: z$1.ZodString;
|
|
14635
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14636
|
+
threadId: z$1.ZodString;
|
|
14637
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14638
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14639
|
+
label: z$1.ZodString;
|
|
14640
|
+
projectId: z$1.ZodString;
|
|
14641
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14642
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14643
|
+
label: z$1.ZodString;
|
|
14644
|
+
sectionId: z$1.ZodString;
|
|
14645
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14646
|
+
entryKind: z$1.ZodEnum<{
|
|
14647
|
+
directory: "directory";
|
|
14648
|
+
file: "file";
|
|
14649
|
+
}>;
|
|
14650
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14651
|
+
label: z$1.ZodString;
|
|
14652
|
+
path: z$1.ZodString;
|
|
14653
|
+
source: z$1.ZodEnum<{
|
|
14654
|
+
"thread-storage": "thread-storage";
|
|
14655
|
+
workspace: "workspace";
|
|
14656
|
+
}>;
|
|
14657
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14658
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14659
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14660
|
+
label: z$1.ZodString;
|
|
14661
|
+
name: z$1.ZodString;
|
|
14662
|
+
origin: z$1.ZodEnum<{
|
|
14663
|
+
builtin: "builtin";
|
|
14664
|
+
project: "project";
|
|
14665
|
+
user: "user";
|
|
14666
|
+
}>;
|
|
14667
|
+
source: z$1.ZodEnum<{
|
|
14668
|
+
command: "command";
|
|
14669
|
+
skill: "skill";
|
|
14670
|
+
}>;
|
|
14671
|
+
trigger: z$1.ZodEnum<{
|
|
14672
|
+
"/": "/";
|
|
14673
|
+
$: "$";
|
|
14674
|
+
}>;
|
|
14675
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14676
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14677
|
+
itemId: z$1.ZodString;
|
|
14678
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14679
|
+
label: z$1.ZodString;
|
|
14680
|
+
pluginId: z$1.ZodString;
|
|
14681
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14682
|
+
start: z$1.ZodNumber;
|
|
14683
|
+
}, z$1.core.$strip>>;
|
|
14684
|
+
messageSeq: z$1.ZodNumber;
|
|
14685
|
+
role: z$1.ZodLiteral<"user">;
|
|
14686
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14687
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14688
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14689
|
+
startedAt: z$1.ZodNumber;
|
|
14690
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
14691
|
+
"child-completed": "child-completed";
|
|
14692
|
+
"child-failed": "child-failed";
|
|
14693
|
+
"child-interrupted": "child-interrupted";
|
|
14694
|
+
"child-needs-attention": "child-needs-attention";
|
|
14695
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14696
|
+
"ownership-assigned": "ownership-assigned";
|
|
14697
|
+
"ownership-removed": "ownership-removed";
|
|
14698
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14699
|
+
unlabeled: "unlabeled";
|
|
14700
|
+
}>;
|
|
14701
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14702
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14703
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14704
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14705
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14706
|
+
reason: z$1.ZodEnum<{
|
|
14707
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14708
|
+
"host-removed": "host-removed";
|
|
14709
|
+
"manual-stop": "manual-stop";
|
|
14710
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14711
|
+
}>;
|
|
14712
|
+
}, z$1.core.$strip>>;
|
|
14713
|
+
status: z$1.ZodEnum<{
|
|
14714
|
+
completed: "completed";
|
|
14715
|
+
failed: "failed";
|
|
14716
|
+
interrupted: "interrupted";
|
|
14717
|
+
}>;
|
|
14718
|
+
threadId: z$1.ZodString;
|
|
14719
|
+
}, z$1.core.$strip>>>;
|
|
14720
|
+
threadId: z$1.ZodString;
|
|
14721
|
+
threadName: z$1.ZodString;
|
|
14722
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14723
|
+
count: z$1.ZodNumber;
|
|
14724
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
14725
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14726
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14727
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14728
|
+
reason: z$1.ZodEnum<{
|
|
14729
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14730
|
+
"host-removed": "host-removed";
|
|
14731
|
+
"manual-stop": "manual-stop";
|
|
14732
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14733
|
+
}>;
|
|
14734
|
+
}, z$1.core.$strip>>;
|
|
14735
|
+
status: z$1.ZodEnum<{
|
|
14736
|
+
completed: "completed";
|
|
14737
|
+
failed: "failed";
|
|
14738
|
+
interrupted: "interrupted";
|
|
14739
|
+
}>;
|
|
14740
|
+
threadId: z$1.ZodString;
|
|
14741
|
+
}, z$1.core.$strip>>>;
|
|
14742
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14743
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14744
|
+
suppress: z$1.ZodBoolean;
|
|
14745
|
+
toolName: z$1.ZodString;
|
|
14746
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14747
|
+
text: z$1.ZodString;
|
|
14748
|
+
threadId: z$1.ZodString;
|
|
14749
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14750
|
+
turnRequest: z$1.ZodObject<{
|
|
14751
|
+
isGrouped: z$1.ZodBoolean;
|
|
14752
|
+
kind: z$1.ZodEnum<{
|
|
14753
|
+
message: "message";
|
|
14754
|
+
steer: "steer";
|
|
14755
|
+
}>;
|
|
14756
|
+
status: z$1.ZodEnum<{
|
|
14757
|
+
accepted: "accepted";
|
|
14758
|
+
pending: "pending";
|
|
14759
|
+
rejected: "rejected";
|
|
14760
|
+
}>;
|
|
14761
|
+
}, z$1.core.$strip>;
|
|
14762
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14763
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14764
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14765
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14766
|
+
localFiles: z$1.ZodNumber;
|
|
14767
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14768
|
+
localImages: z$1.ZodNumber;
|
|
14769
|
+
webImages: z$1.ZodNumber;
|
|
14770
|
+
}, z$1.core.$strip>>;
|
|
14771
|
+
createdAt: z$1.ZodNumber;
|
|
14772
|
+
id: z$1.ZodString;
|
|
14773
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14774
|
+
messageSeq: z$1.ZodNumber;
|
|
14775
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
14776
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14777
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14778
|
+
startedAt: z$1.ZodNumber;
|
|
14779
|
+
text: z$1.ZodString;
|
|
14780
|
+
threadId: z$1.ZodString;
|
|
14781
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14782
|
+
turnRequest: z$1.ZodNull;
|
|
14783
|
+
}, z$1.core.$strip>], "role">>;
|
|
14784
|
+
before: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14785
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14786
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14787
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14788
|
+
localFiles: z$1.ZodNumber;
|
|
14789
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14790
|
+
localImages: z$1.ZodNumber;
|
|
14791
|
+
webImages: z$1.ZodNumber;
|
|
14792
|
+
}, z$1.core.$strip>>;
|
|
14793
|
+
createdAt: z$1.ZodNumber;
|
|
14794
|
+
id: z$1.ZodString;
|
|
14795
|
+
initiator: z$1.ZodEnum<{
|
|
14796
|
+
agent: "agent";
|
|
14797
|
+
system: "system";
|
|
14798
|
+
user: "user";
|
|
14799
|
+
}>;
|
|
14800
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14801
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14802
|
+
end: z$1.ZodNumber;
|
|
14803
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14804
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14805
|
+
label: z$1.ZodString;
|
|
14806
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14807
|
+
threadId: z$1.ZodString;
|
|
14808
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14809
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14810
|
+
label: z$1.ZodString;
|
|
14811
|
+
projectId: z$1.ZodString;
|
|
14812
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14813
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14814
|
+
label: z$1.ZodString;
|
|
14815
|
+
sectionId: z$1.ZodString;
|
|
14816
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14817
|
+
entryKind: z$1.ZodEnum<{
|
|
14818
|
+
directory: "directory";
|
|
14819
|
+
file: "file";
|
|
14820
|
+
}>;
|
|
14821
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14822
|
+
label: z$1.ZodString;
|
|
14823
|
+
path: z$1.ZodString;
|
|
14824
|
+
source: z$1.ZodEnum<{
|
|
14825
|
+
"thread-storage": "thread-storage";
|
|
14826
|
+
workspace: "workspace";
|
|
14827
|
+
}>;
|
|
14828
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14829
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14830
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14831
|
+
label: z$1.ZodString;
|
|
14832
|
+
name: z$1.ZodString;
|
|
14833
|
+
origin: z$1.ZodEnum<{
|
|
14834
|
+
builtin: "builtin";
|
|
14835
|
+
project: "project";
|
|
14836
|
+
user: "user";
|
|
14837
|
+
}>;
|
|
14838
|
+
source: z$1.ZodEnum<{
|
|
14839
|
+
command: "command";
|
|
14840
|
+
skill: "skill";
|
|
14841
|
+
}>;
|
|
14842
|
+
trigger: z$1.ZodEnum<{
|
|
14843
|
+
"/": "/";
|
|
14844
|
+
$: "$";
|
|
14845
|
+
}>;
|
|
14846
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14847
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14848
|
+
itemId: z$1.ZodString;
|
|
14849
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14850
|
+
label: z$1.ZodString;
|
|
14851
|
+
pluginId: z$1.ZodString;
|
|
14852
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14853
|
+
start: z$1.ZodNumber;
|
|
14854
|
+
}, z$1.core.$strip>>;
|
|
14855
|
+
messageSeq: z$1.ZodNumber;
|
|
14856
|
+
role: z$1.ZodLiteral<"user">;
|
|
14857
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14858
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14859
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14860
|
+
startedAt: z$1.ZodNumber;
|
|
14861
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
14862
|
+
"child-completed": "child-completed";
|
|
14863
|
+
"child-failed": "child-failed";
|
|
14864
|
+
"child-interrupted": "child-interrupted";
|
|
14865
|
+
"child-needs-attention": "child-needs-attention";
|
|
14866
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14867
|
+
"ownership-assigned": "ownership-assigned";
|
|
14868
|
+
"ownership-removed": "ownership-removed";
|
|
14869
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14870
|
+
unlabeled: "unlabeled";
|
|
14871
|
+
}>;
|
|
14872
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14873
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14874
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14875
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14876
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14877
|
+
reason: z$1.ZodEnum<{
|
|
14878
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14879
|
+
"host-removed": "host-removed";
|
|
14880
|
+
"manual-stop": "manual-stop";
|
|
14881
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14882
|
+
}>;
|
|
14883
|
+
}, z$1.core.$strip>>;
|
|
14884
|
+
status: z$1.ZodEnum<{
|
|
14885
|
+
completed: "completed";
|
|
14886
|
+
failed: "failed";
|
|
14887
|
+
interrupted: "interrupted";
|
|
14888
|
+
}>;
|
|
14889
|
+
threadId: z$1.ZodString;
|
|
14890
|
+
}, z$1.core.$strip>>>;
|
|
14891
|
+
threadId: z$1.ZodString;
|
|
14892
|
+
threadName: z$1.ZodString;
|
|
14893
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14894
|
+
count: z$1.ZodNumber;
|
|
14895
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
14896
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14897
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14898
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14899
|
+
reason: z$1.ZodEnum<{
|
|
14900
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14901
|
+
"host-removed": "host-removed";
|
|
14902
|
+
"manual-stop": "manual-stop";
|
|
14903
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14904
|
+
}>;
|
|
14905
|
+
}, z$1.core.$strip>>;
|
|
14906
|
+
status: z$1.ZodEnum<{
|
|
14907
|
+
completed: "completed";
|
|
14908
|
+
failed: "failed";
|
|
14909
|
+
interrupted: "interrupted";
|
|
14910
|
+
}>;
|
|
14911
|
+
threadId: z$1.ZodString;
|
|
14912
|
+
}, z$1.core.$strip>>>;
|
|
14913
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14914
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14915
|
+
suppress: z$1.ZodBoolean;
|
|
14916
|
+
toolName: z$1.ZodString;
|
|
14917
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14918
|
+
text: z$1.ZodString;
|
|
14919
|
+
threadId: z$1.ZodString;
|
|
14920
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14921
|
+
turnRequest: z$1.ZodObject<{
|
|
14922
|
+
isGrouped: z$1.ZodBoolean;
|
|
14923
|
+
kind: z$1.ZodEnum<{
|
|
14924
|
+
message: "message";
|
|
14925
|
+
steer: "steer";
|
|
14926
|
+
}>;
|
|
14927
|
+
status: z$1.ZodEnum<{
|
|
14928
|
+
accepted: "accepted";
|
|
14929
|
+
pending: "pending";
|
|
14930
|
+
rejected: "rejected";
|
|
14931
|
+
}>;
|
|
14932
|
+
}, z$1.core.$strip>;
|
|
14933
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14934
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14935
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14936
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14937
|
+
localFiles: z$1.ZodNumber;
|
|
14938
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14939
|
+
localImages: z$1.ZodNumber;
|
|
14940
|
+
webImages: z$1.ZodNumber;
|
|
14941
|
+
}, z$1.core.$strip>>;
|
|
14942
|
+
createdAt: z$1.ZodNumber;
|
|
14943
|
+
id: z$1.ZodString;
|
|
14944
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14945
|
+
messageSeq: z$1.ZodNumber;
|
|
14946
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
14947
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14948
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14949
|
+
startedAt: z$1.ZodNumber;
|
|
14950
|
+
text: z$1.ZodString;
|
|
14951
|
+
threadId: z$1.ZodString;
|
|
14952
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14953
|
+
turnRequest: z$1.ZodNull;
|
|
14954
|
+
}, z$1.core.$strip>], "role">>;
|
|
14955
|
+
message: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14956
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14957
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14958
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14959
|
+
localFiles: z$1.ZodNumber;
|
|
14960
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14961
|
+
localImages: z$1.ZodNumber;
|
|
14962
|
+
webImages: z$1.ZodNumber;
|
|
14963
|
+
}, z$1.core.$strip>>;
|
|
14964
|
+
createdAt: z$1.ZodNumber;
|
|
14965
|
+
id: z$1.ZodString;
|
|
14966
|
+
initiator: z$1.ZodEnum<{
|
|
14967
|
+
agent: "agent";
|
|
14968
|
+
system: "system";
|
|
14969
|
+
user: "user";
|
|
14970
|
+
}>;
|
|
14971
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14972
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14973
|
+
end: z$1.ZodNumber;
|
|
14974
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14975
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14976
|
+
label: z$1.ZodString;
|
|
14977
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14978
|
+
threadId: z$1.ZodString;
|
|
14979
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14980
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14981
|
+
label: z$1.ZodString;
|
|
14982
|
+
projectId: z$1.ZodString;
|
|
14983
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14984
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14985
|
+
label: z$1.ZodString;
|
|
14986
|
+
sectionId: z$1.ZodString;
|
|
14987
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14988
|
+
entryKind: z$1.ZodEnum<{
|
|
14989
|
+
directory: "directory";
|
|
14990
|
+
file: "file";
|
|
14991
|
+
}>;
|
|
14992
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14993
|
+
label: z$1.ZodString;
|
|
14994
|
+
path: z$1.ZodString;
|
|
14995
|
+
source: z$1.ZodEnum<{
|
|
14996
|
+
"thread-storage": "thread-storage";
|
|
14997
|
+
workspace: "workspace";
|
|
14998
|
+
}>;
|
|
14999
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15000
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
15001
|
+
kind: z$1.ZodLiteral<"command">;
|
|
15002
|
+
label: z$1.ZodString;
|
|
15003
|
+
name: z$1.ZodString;
|
|
15004
|
+
origin: z$1.ZodEnum<{
|
|
15005
|
+
builtin: "builtin";
|
|
15006
|
+
project: "project";
|
|
15007
|
+
user: "user";
|
|
15008
|
+
}>;
|
|
15009
|
+
source: z$1.ZodEnum<{
|
|
15010
|
+
command: "command";
|
|
15011
|
+
skill: "skill";
|
|
15012
|
+
}>;
|
|
15013
|
+
trigger: z$1.ZodEnum<{
|
|
15014
|
+
"/": "/";
|
|
15015
|
+
$: "$";
|
|
15016
|
+
}>;
|
|
15017
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15018
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
15019
|
+
itemId: z$1.ZodString;
|
|
15020
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
15021
|
+
label: z$1.ZodString;
|
|
15022
|
+
pluginId: z$1.ZodString;
|
|
15023
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15024
|
+
start: z$1.ZodNumber;
|
|
15025
|
+
}, z$1.core.$strip>>;
|
|
15026
|
+
messageSeq: z$1.ZodNumber;
|
|
15027
|
+
role: z$1.ZodLiteral<"user">;
|
|
15028
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
15029
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15030
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15031
|
+
startedAt: z$1.ZodNumber;
|
|
15032
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
15033
|
+
"child-completed": "child-completed";
|
|
15034
|
+
"child-failed": "child-failed";
|
|
15035
|
+
"child-interrupted": "child-interrupted";
|
|
15036
|
+
"child-needs-attention": "child-needs-attention";
|
|
15037
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
15038
|
+
"ownership-assigned": "ownership-assigned";
|
|
15039
|
+
"ownership-removed": "ownership-removed";
|
|
15040
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
15041
|
+
unlabeled: "unlabeled";
|
|
15042
|
+
}>;
|
|
15043
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15044
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
15045
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15046
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15047
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15048
|
+
reason: z$1.ZodEnum<{
|
|
15049
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15050
|
+
"host-removed": "host-removed";
|
|
15051
|
+
"manual-stop": "manual-stop";
|
|
15052
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15053
|
+
}>;
|
|
15054
|
+
}, z$1.core.$strip>>;
|
|
15055
|
+
status: z$1.ZodEnum<{
|
|
15056
|
+
completed: "completed";
|
|
15057
|
+
failed: "failed";
|
|
15058
|
+
interrupted: "interrupted";
|
|
15059
|
+
}>;
|
|
15060
|
+
threadId: z$1.ZodString;
|
|
15061
|
+
}, z$1.core.$strip>>>;
|
|
15062
|
+
threadId: z$1.ZodString;
|
|
15063
|
+
threadName: z$1.ZodString;
|
|
15064
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15065
|
+
count: z$1.ZodNumber;
|
|
15066
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
15067
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15068
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15069
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15070
|
+
reason: z$1.ZodEnum<{
|
|
15071
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15072
|
+
"host-removed": "host-removed";
|
|
15073
|
+
"manual-stop": "manual-stop";
|
|
15074
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15075
|
+
}>;
|
|
15076
|
+
}, z$1.core.$strip>>;
|
|
15077
|
+
status: z$1.ZodEnum<{
|
|
15078
|
+
completed: "completed";
|
|
15079
|
+
failed: "failed";
|
|
15080
|
+
interrupted: "interrupted";
|
|
15081
|
+
}>;
|
|
15082
|
+
threadId: z$1.ZodString;
|
|
15083
|
+
}, z$1.core.$strip>>>;
|
|
15084
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15085
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
15086
|
+
suppress: z$1.ZodBoolean;
|
|
15087
|
+
toolName: z$1.ZodString;
|
|
15088
|
+
}, z$1.core.$strip>], "kind">>;
|
|
15089
|
+
text: z$1.ZodString;
|
|
15090
|
+
threadId: z$1.ZodString;
|
|
15091
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15092
|
+
turnRequest: z$1.ZodObject<{
|
|
15093
|
+
isGrouped: z$1.ZodBoolean;
|
|
15094
|
+
kind: z$1.ZodEnum<{
|
|
15095
|
+
message: "message";
|
|
15096
|
+
steer: "steer";
|
|
15097
|
+
}>;
|
|
15098
|
+
status: z$1.ZodEnum<{
|
|
15099
|
+
accepted: "accepted";
|
|
15100
|
+
pending: "pending";
|
|
15101
|
+
rejected: "rejected";
|
|
15102
|
+
}>;
|
|
15103
|
+
}, z$1.core.$strip>;
|
|
15104
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15105
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15106
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15107
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15108
|
+
localFiles: z$1.ZodNumber;
|
|
15109
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15110
|
+
localImages: z$1.ZodNumber;
|
|
15111
|
+
webImages: z$1.ZodNumber;
|
|
15112
|
+
}, z$1.core.$strip>>;
|
|
15113
|
+
createdAt: z$1.ZodNumber;
|
|
15114
|
+
id: z$1.ZodString;
|
|
15115
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
15116
|
+
messageSeq: z$1.ZodNumber;
|
|
15117
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
15118
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15119
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15120
|
+
startedAt: z$1.ZodNumber;
|
|
15121
|
+
text: z$1.ZodString;
|
|
15122
|
+
threadId: z$1.ZodString;
|
|
15123
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15124
|
+
turnRequest: z$1.ZodNull;
|
|
15125
|
+
}, z$1.core.$strip>], "role">;
|
|
15126
|
+
}, z$1.core.$strip>;
|
|
15127
|
+
type ThreadMessageResponse = z$1.infer<typeof threadMessageResponseSchema>;
|
|
14497
15128
|
declare const threadStorageFilesQuerySchema: z$1.ZodObject<{
|
|
14498
15129
|
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
14499
15130
|
query: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -16601,6 +17232,7 @@ type ThreadCountResult = ThreadCountResponse;
|
|
|
16601
17232
|
type ThreadRunningResult = ThreadRunningResponse;
|
|
16602
17233
|
type ThreadListResult = ThreadListResponse;
|
|
16603
17234
|
type ThreadSearchResult = ThreadSearchResponse;
|
|
17235
|
+
type ThreadMessageResult = ThreadMessageResponse;
|
|
16604
17236
|
type ThreadResolveMentionsResult = ResolveThreadMentionsResponse;
|
|
16605
17237
|
interface ThreadOutputResponse {
|
|
16606
17238
|
output: string | null;
|
|
@@ -16812,6 +17444,13 @@ interface ThreadOutputArgs {
|
|
|
16812
17444
|
signal?: AbortSignal;
|
|
16813
17445
|
threadId: string;
|
|
16814
17446
|
}
|
|
17447
|
+
interface ThreadMessageArgs {
|
|
17448
|
+
signal?: AbortSignal;
|
|
17449
|
+
threadId: string;
|
|
17450
|
+
seq: number;
|
|
17451
|
+
before?: number;
|
|
17452
|
+
after?: number;
|
|
17453
|
+
}
|
|
16815
17454
|
interface ThreadInteractionListArgs {
|
|
16816
17455
|
signal?: AbortSignal;
|
|
16817
17456
|
threadId: string;
|
|
@@ -16923,6 +17562,7 @@ interface ThreadsArea {
|
|
|
16923
17562
|
markUnread(args: ThreadActionArgs): Promise<ThreadReadStateResult>;
|
|
16924
17563
|
open(args: ThreadOpenArgs): Promise<ThreadOpenResult>;
|
|
16925
17564
|
paneAction(args: ThreadPaneActionArgs): Promise<ThreadPaneActionResult>;
|
|
17565
|
+
message(args: ThreadMessageArgs): Promise<ThreadMessageResult>;
|
|
16926
17566
|
output(args: ThreadOutputArgs): Promise<ThreadOutputResponse>;
|
|
16927
17567
|
pin(args: ThreadActionArgs): Promise<ThreadMutationResult>;
|
|
16928
17568
|
promptHistory(args: ThreadPromptHistoryArgs): Promise<ThreadPromptHistoryResult>;
|
|
@@ -17104,6 +17744,26 @@ interface ExperimentalQuestionFormHost {
|
|
|
17104
17744
|
*/
|
|
17105
17745
|
registerChoiceHandler(handler: (index: number) => boolean): () => void;
|
|
17106
17746
|
}
|
|
17747
|
+
/**
|
|
17748
|
+
* Props of the host-owned `experimental_VoiceInputTextarea`: a controlled
|
|
17749
|
+
* textarea with bb's voice input. Other textarea attributes, including `ref`
|
|
17750
|
+
* and `className`, reach the underlying `<textarea>`; the caller styles it and
|
|
17751
|
+
* the host adds room for its microphone controls when voice input is
|
|
17752
|
+
* available.
|
|
17753
|
+
*/
|
|
17754
|
+
interface ExperimentalVoiceInputTextareaProps extends Omit<ComponentPropsWithRef<"textarea">, "children" | "defaultValue" | "onChange" | "value"> {
|
|
17755
|
+
value: string;
|
|
17756
|
+
/**
|
|
17757
|
+
* Receives typed edits and finished transcripts, which the host appends to
|
|
17758
|
+
* `value`. Transcripts stay editable and are never submitted.
|
|
17759
|
+
*/
|
|
17760
|
+
onValueChange(value: string): void;
|
|
17761
|
+
/**
|
|
17762
|
+
* True from the start of recording until transcription finishes or is
|
|
17763
|
+
* cancelled, and false on unmount. Hold submission while it is true.
|
|
17764
|
+
*/
|
|
17765
|
+
onVoiceInputActiveChange?(active: boolean): void;
|
|
17766
|
+
}
|
|
17107
17767
|
/**
|
|
17108
17768
|
* Props for a `sidebarFooterAction` — host-rendered (no plugin component).
|
|
17109
17769
|
* Deliberately empty; the registration's `run` carries the behavior.
|
|
@@ -18547,6 +19207,13 @@ interface ThreadChatMessageReference {
|
|
|
18547
19207
|
/** Visible text of the message. */
|
|
18548
19208
|
text: string;
|
|
18549
19209
|
sourceSeqEnd: number;
|
|
19210
|
+
/**
|
|
19211
|
+
* The event sequence that recorded this message: the `msg` value of a
|
|
19212
|
+
* message link and the seq that `sdk.threads.message` and
|
|
19213
|
+
* `bb thread log --message` read. For a steer this is its request sequence,
|
|
19214
|
+
* which can differ from the acceptance sequence in `sourceSeqEnd`.
|
|
19215
|
+
*/
|
|
19216
|
+
experimental_messageSeq: number;
|
|
18550
19217
|
}
|
|
18551
19218
|
/**
|
|
18552
19219
|
* What a caller that is *not* itself a panel action passes to open one — a
|
|
@@ -18588,10 +19255,11 @@ interface PluginMessageActionContext {
|
|
|
18588
19255
|
composer: PluginComposerApi | null;
|
|
18589
19256
|
}
|
|
18590
19257
|
/**
|
|
18591
|
-
* An action on chat messages: an icon button in
|
|
18592
|
-
* (user and assistant messages) and an entry in
|
|
18593
|
-
* text-selection menu.
|
|
18594
|
-
*
|
|
19258
|
+
* An action on chat messages in the main thread timeline: an icon button in
|
|
19259
|
+
* the per-message action bar (user and assistant messages) and an entry in
|
|
19260
|
+
* the assistant-message text-selection menu. Embedded `ThreadChat` timelines
|
|
19261
|
+
* do not show slot-registered actions. Host-rendered chrome — the plugin
|
|
19262
|
+
* supplies title, icon, and `run` behavior only. Resolved icon names take precedence over
|
|
18595
19263
|
* plugin branding; omitted or unknown names fall back to branding.
|
|
18596
19264
|
*/
|
|
18597
19265
|
interface PluginMessageActionRegistration {
|
|
@@ -18612,14 +19280,15 @@ interface PluginCommandContext {
|
|
|
18612
19280
|
threadId: string | null;
|
|
18613
19281
|
projectId: string | null;
|
|
18614
19282
|
/**
|
|
18615
|
-
* Open one of this plugin's
|
|
18616
|
-
*
|
|
19283
|
+
* Open one of this plugin's panel components in the focused side panel.
|
|
19284
|
+
* In a thread, `actionId` resolves against `threadPanelAction`; on the New
|
|
19285
|
+
* thread screen, it resolves against `experimental_newThreadPanelAction`.
|
|
19286
|
+
* Register both slots with the same id to support commands on both screens.
|
|
18617
19287
|
*
|
|
18618
19288
|
* Returns true when the host accepted the open; false when it declined —
|
|
18619
|
-
* `params` was not a JSON value, the action id names no
|
|
18620
|
-
* of this plugin, or the surface has no side panel.
|
|
18621
|
-
*
|
|
18622
|
-
* rather than assuming.
|
|
19289
|
+
* `params` was not a JSON value, the action id names no matching panel action
|
|
19290
|
+
* of this plugin on the focused surface, or the surface has no side panel.
|
|
19291
|
+
* The palette opens anywhere, so guard with `isAvailable` rather than assuming.
|
|
18623
19292
|
*/
|
|
18624
19293
|
openPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
|
|
18625
19294
|
}
|
|
@@ -19211,8 +19880,26 @@ interface ComposerDraft {
|
|
|
19211
19880
|
text: string;
|
|
19212
19881
|
mentions: readonly ComposerMention[];
|
|
19213
19882
|
}
|
|
19214
|
-
/**
|
|
19215
|
-
|
|
19883
|
+
/**
|
|
19884
|
+
* A composer attachment: an uploaded file, optionally owned by another
|
|
19885
|
+
* project, or an absolute path on one machine. Never both.
|
|
19886
|
+
*/
|
|
19887
|
+
type ComposerAttachment = {
|
|
19888
|
+
type: "localFile" | "localImage";
|
|
19889
|
+
path: string;
|
|
19890
|
+
name: string;
|
|
19891
|
+
mimeType?: string;
|
|
19892
|
+
/** Exact size in bytes; omit when unknown. Zero is treated as unknown. A wrong nonzero size can make the send fail when bb stages a file. */
|
|
19893
|
+
sizeBytes?: number;
|
|
19894
|
+
} & ({
|
|
19895
|
+
/** Project that currently owns this uploaded path; omit for destination-relative attachments. */
|
|
19896
|
+
sourceProjectId?: string;
|
|
19897
|
+
hostId?: never;
|
|
19898
|
+
} | {
|
|
19899
|
+
/** Machine whose absolute `path` this is; core rejects sending it to a thread on another machine. */
|
|
19900
|
+
hostId: string;
|
|
19901
|
+
sourceProjectId?: never;
|
|
19902
|
+
});
|
|
19216
19903
|
/** The complete current draft. Snapshots and their entries are immutable. */
|
|
19217
19904
|
interface ComposerDraftSnapshot extends ComposerDraft {
|
|
19218
19905
|
readonly attachments: readonly ComposerAttachment[];
|
|
@@ -19373,8 +20060,10 @@ interface PluginComposerApi {
|
|
|
19373
20060
|
* an empty list clears them. Does not infer or rebase mention ranges.
|
|
19374
20061
|
* Ranges are non-overlapping UTF-16 offsets into the supplied text.
|
|
19375
20062
|
* Invalid results, throwing updaters, and unavailable editors leave the
|
|
19376
|
-
* draft unchanged.
|
|
19377
|
-
*
|
|
20063
|
+
* draft unchanged. Source project references on uploaded attachments are
|
|
20064
|
+
* preserved; core copies them into the destination project when the draft
|
|
20065
|
+
* is submitted. Does not focus or submit. Use `insert` for insertion at the
|
|
20066
|
+
* editor's cursor.
|
|
19378
20067
|
*/
|
|
19379
20068
|
replace(next: ComposerDraftReplacement | ((current: ComposerDraftSnapshot) => ComposerDraftReplacement)): void;
|
|
19380
20069
|
/**
|
|
@@ -19520,8 +20209,9 @@ type ComposerSubmitOptions = {
|
|
|
19520
20209
|
/**
|
|
19521
20210
|
* A consumer-supplied action on the messages of one `ThreadChat` instance,
|
|
19522
20211
|
* rendered in the embedded timeline's per-message action bar alongside the
|
|
19523
|
-
* native
|
|
19524
|
-
* scoped to the rendering component, not
|
|
20212
|
+
* native actions. Slot-registered `messageAction`s do not appear there. Unlike
|
|
20213
|
+
* the `messageAction` slot this is scoped to the rendering component, not
|
|
20214
|
+
* registered globally.
|
|
19525
20215
|
*/
|
|
19526
20216
|
interface ThreadChatMessageAction {
|
|
19527
20217
|
/** Unique within this ThreadChat instance; letters, digits, `-`, `_`. */
|
|
@@ -20228,6 +20918,13 @@ interface PluginSdkApp {
|
|
|
20228
20918
|
* docs/api_to_audit.md for what to audit before the prefix drops.
|
|
20229
20919
|
*/
|
|
20230
20920
|
experimental_NewThreadComposer: ComponentType<NewThreadComposerProps>;
|
|
20921
|
+
/**
|
|
20922
|
+
* BB's textarea with voice input (see
|
|
20923
|
+
* {@link ExperimentalVoiceInputTextareaProps}): the same microphone
|
|
20924
|
+
* preference, transcription service, and error handling as the prompt box.
|
|
20925
|
+
* Experimental: see docs/api_to_audit.md.
|
|
20926
|
+
*/
|
|
20927
|
+
experimental_VoiceInputTextarea: ComponentType<ExperimentalVoiceInputTextareaProps>;
|
|
20231
20928
|
/**
|
|
20232
20929
|
* BB's controlled provider/model/reasoning picker. Provider changes emit
|
|
20233
20930
|
* only after the new provider's verified defaults and capabilities resolve,
|
|
@@ -20286,6 +20983,7 @@ declare const Markdown: react.ComponentType<MarkdownProps>;
|
|
|
20286
20983
|
declare const experimental_FileLink: react.ComponentType<ExperimentalFileLinkProps>;
|
|
20287
20984
|
declare const UrlLink: react.ComponentType<UrlLinkProps>;
|
|
20288
20985
|
declare const experimental_NewThreadComposer: react.ComponentType<NewThreadComposerProps>;
|
|
20986
|
+
declare const experimental_VoiceInputTextarea: react.ComponentType<ExperimentalVoiceInputTextareaProps>;
|
|
20289
20987
|
declare const experimental_ProviderModelPicker: react.ComponentType<ExperimentalProviderModelPickerProps>;
|
|
20290
20988
|
declare const experimental_PermissionModePicker: react.ComponentType<ExperimentalPermissionModePickerProps>;
|
|
20291
20989
|
declare const experimental_BranchPicker: react.ComponentType<BranchPickerProps>;
|
|
@@ -20326,5 +21024,5 @@ declare const useSdk: () => PluginBrowserBbSdk;
|
|
|
20326
21024
|
declare const experimental_useProviders: () => PluginProvidersState;
|
|
20327
21025
|
declare const experimental_useCodeTheme: () => PluginCodeThemeState;
|
|
20328
21026
|
|
|
20329
|
-
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_useAppPanel, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadActions, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
20330
|
-
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
21027
|
+
export { Markdown, ThreadChat, ThreadTitle, UrlLink, definePluginApp, experimental_BranchPicker, experimental_Diff, experimental_FileLink, experimental_Icon, experimental_NewThreadComposer, experimental_PermissionModePicker, experimental_ProviderIcon, experimental_ProviderModelPicker, experimental_SidebarNavigationIcon, experimental_SourceCode, experimental_VoiceInputTextarea, experimental_useAppPanel, experimental_useBranches, experimental_useCheckoutState, experimental_useCodeTheme, experimental_useFixedTabTarget, experimental_usePluginId, experimental_useProviders, experimental_useQuestionFormHost, experimental_useSidebarNavigation, experimental_useSidebarNavigationSplit, experimental_useSidebarThreadActions, experimental_useSidebarThreadPullRequest, experimental_useSidebarThreadSplit, experimental_useSidebarThreads, useBbContext, useBbNavigate, useComposer, useComposers, useEnvironmentProviders, useRealtime, useRealtimeConnectionState, useRpc, useSdk, useSettings, useSidebarSplitLayout, useSidebarThreadDraft, useSidebarThreadDraftIds, useSidebarThreadRowStatus, useSidebarThreadRowStatuses, useSidebarThreadShortcut };
|
|
21028
|
+
export type { BbContext, BbNavigate, BranchPickerProps, BranchesState, CheckoutState, CodeOverflowMode, ComposerAttachment, ComposerCustomization, ComposerDraft, ComposerDraftReplacement, ComposerDraftSnapshot, ComposerInsertOptions, ComposerInsertPart, ComposerMention, ComposerPlusMenuItem, ComposerRichTextSpec, ComposerSelection, ComposerSendMenuItem, ComposerSubmitOptions, DiffProps, DiffViewMode, ExperimentalAppIcons, ExperimentalAppOverlayProps, ExperimentalAppOverlayRegistration, ExperimentalAppPanel, ExperimentalAppPanelSurface, ExperimentalComposerCommandRegistration, ExperimentalComposerPopupRegistration, ExperimentalDiffFileContent, ExperimentalDiffFullFileContents, ExperimentalFileLinkProps, ExperimentalFileLocation, ExperimentalFileOpenOptions, ExperimentalFixedTabTargetContract, ExperimentalFixedTabTargetState, ExperimentalIconProps, ExperimentalIconRegistration, ExperimentalLiveFileTarget, ExperimentalOpenFixedTabOptions, ExperimentalPermissionModePickerProps, ExperimentalPluginBrowserPage, ExperimentalPluginBrowserPageEvaluateOptions, ExperimentalPluginBrowserPageWorld, ExperimentalPluginBrowserToolbarActionProps, ExperimentalPluginBrowserToolbarActionRegistration, ExperimentalPluginFixedTabReference, ExperimentalProviderIconProps, ExperimentalProviderModelPickerProps, ExperimentalProviderModelPickerRouting, ExperimentalProviderModelPickerValue, ExperimentalQuestionFormHost, ExperimentalQuestionShortcut, ExperimentalSidebarFooter, ExperimentalSidebarFooterActionContext, ExperimentalSidebarFooterActionRegistration, ExperimentalSidebarFooterDisclosureController, ExperimentalSidebarFooterDisclosureProps, ExperimentalSidebarFooterDisclosureRegistration, ExperimentalSidebarFooterItemBase, ExperimentalSidebarFooterItemRegistration, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, ExperimentalVoiceInputTextareaProps, JsonValue$1 as JsonValue, MarkdownProps, NewThreadComposerProps, NewThreadRequest, PluginAppBuilder, PluginAppCommands, PluginAppComposer, PluginAppContentScripts, PluginAppDefinition, PluginAppSetup, PluginAppSlots, PluginBoundThreadsArea, PluginBrowserBbSdk, PluginCodeThemeData, PluginCodeThemeState, PluginCodeThemeTokenRule, PluginCommandContext, PluginCommandRegistration, PluginCommandShortcut, PluginComposerApi, PluginComposerMention, PluginComposerScope, PluginComposerTextEffect, PluginComposerThreadRowStatus, PluginContentScriptContext, PluginContentScriptDisposer, PluginContentScriptRegistration, PluginDiffRendererProps, PluginDiffRendererRegistration, PluginEnvironmentProvider, PluginEnvironmentProviderInputsChange, PluginEnvironmentProviderInputsProps, PluginEnvironmentProviderInputsRegistration, PluginEnvironmentProvidersState, PluginFileOpenerProps, PluginFileOpenerRegistration, PluginFileOpenerSource, PluginFixedTabDeclaration, PluginFixedTabRegistration, PluginHomepageSectionProps, PluginHomepageSectionRegistration, PluginMachineProviderInputsChange, PluginMachineProviderInputsProps, PluginMachineProviderInputsRegistration, PluginMessageActionContext, PluginMessageActionRegistration, PluginMessageDirectiveMessage, PluginMessageDirectiveOpenWorkspaceFile, PluginMessageDirectiveProps, PluginMessageDirectiveRegistration, PluginNavPanelProps, PluginNavPanelRegistration, PluginNewThreadPanelActionContext, PluginNewThreadPanelActionRegistration, PluginNewThreadPanelProps, PluginPanelActionOpenOptions, PluginPendingInteractionProps, PluginPendingInteractionRegistration, PluginPendingInteractionView, PluginProviderIconRegistration, PluginProvidersState, PluginRealtimeConnectionState, PluginRpcCallArgs, PluginRpcClient, PluginRpcContract, PluginRpcError, PluginRpcErrorCode, PluginRpcHandlers, PluginRpcIssuePathSegment, PluginRpcMethodContract, PluginRpcResult, PluginRpcValidationIssue, PluginSdkApp, PluginSettingsSectionProps, PluginSettingsSectionRegistration, PluginSettingsState, PluginSidebarFooterActionContext, PluginSidebarFooterActionProps, PluginSidebarFooterActionRegistration, PluginSidebarProject, PluginSidebarPullRequest, PluginSidebarSection, PluginSidebarSplitLayout, PluginSidebarSplitPane, PluginSidebarThread, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginTargetedPanelActionOpenOptions, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, ReadonlyJsonValue, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|