@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';
|
|
@@ -58,6 +58,7 @@ declare const appSettingsSchema: z$1.ZodObject<{
|
|
|
58
58
|
}>>;
|
|
59
59
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
60
60
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
61
|
+
showGitChanges: z$1.ZodBoolean;
|
|
61
62
|
showKeyboardHints: z$1.ZodBoolean;
|
|
62
63
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
63
64
|
streamerMode: z$1.ZodBoolean;
|
|
@@ -78,6 +79,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
78
79
|
}>>;
|
|
79
80
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
80
81
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
82
|
+
showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
81
83
|
showKeyboardHints: z$1.ZodBoolean;
|
|
82
84
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
83
85
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -96,6 +98,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
96
98
|
flat: "flat";
|
|
97
99
|
}>>;
|
|
98
100
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
101
|
+
showGitChanges: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
99
102
|
showKeyboardHints: z$1.ZodBoolean;
|
|
100
103
|
showUnhandledProviderEvents: z$1.ZodBoolean;
|
|
101
104
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -104,7 +107,7 @@ declare const appSettingsUpdateSchema: z$1.ZodUnion<readonly [z$1.ZodObject<{
|
|
|
104
107
|
}, z$1.core.$strict>]>;
|
|
105
108
|
type AppSettingsUpdate = z$1.infer<typeof appSettingsUpdateSchema>;
|
|
106
109
|
|
|
107
|
-
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"];
|
|
110
|
+
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"];
|
|
108
111
|
type UiPreferenceKey = (typeof UI_PREFERENCE_KEYS)[number];
|
|
109
112
|
interface UiPreferenceDefinition<Schema extends z$1.ZodTypeAny = z$1.ZodTypeAny> {
|
|
110
113
|
schema: Schema;
|
|
@@ -149,6 +152,7 @@ declare const uiPreferenceDefinitions: {
|
|
|
149
152
|
readonly "sidebar.navigationProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
150
153
|
readonly "sidebar.headerProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
151
154
|
readonly "sidebar.threadListProvider": UiPreferenceDefinition<z$1.ZodPipe<z$1.ZodString, z$1.ZodTransform<string, string>>>;
|
|
155
|
+
readonly "infoPanel.collapsedSections": UiPreferenceDefinition<z$1.ZodArray<z$1.ZodString>>;
|
|
152
156
|
};
|
|
153
157
|
type UiPreferenceValue<Key extends UiPreferenceKey> = z$1.infer<(typeof uiPreferenceDefinitions)[Key]["schema"]>;
|
|
154
158
|
interface UiPreferenceEntry<Key extends UiPreferenceKey = UiPreferenceKey> {
|
|
@@ -169,6 +173,8 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
169
173
|
"dataDirectory.open": "dataDirectory.open";
|
|
170
174
|
"diff.toggle": "diff.toggle";
|
|
171
175
|
"file.quickOpen": "file.quickOpen";
|
|
176
|
+
"history.back": "history.back";
|
|
177
|
+
"history.forward": "history.forward";
|
|
172
178
|
"logs.openServerDaemon": "logs.openServerDaemon";
|
|
173
179
|
"modelPicker.cycleModel": "modelPicker.cycleModel";
|
|
174
180
|
"modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
|
|
@@ -493,11 +499,15 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
493
499
|
|
|
494
500
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
495
501
|
changelogPreview: "changelogPreview";
|
|
502
|
+
navigationRail: "navigationRail";
|
|
503
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
496
504
|
serverMove: "serverMove";
|
|
497
505
|
}>, z$1.ZodBoolean>;
|
|
498
506
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
499
507
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
500
508
|
changelogPreview: "changelogPreview";
|
|
509
|
+
navigationRail: "navigationRail";
|
|
510
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
501
511
|
serverMove: "serverMove";
|
|
502
512
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
503
513
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
@@ -2939,16 +2949,20 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2939
2949
|
"agent-only": "agent-only";
|
|
2940
2950
|
}>>;
|
|
2941
2951
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2952
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
2942
2953
|
path: z$1.ZodString;
|
|
2954
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
2943
2955
|
type: z$1.ZodLiteral<"localImage">;
|
|
2944
2956
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2945
2957
|
"agent-only": "agent-only";
|
|
2946
2958
|
}>>;
|
|
2947
2959
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2960
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
2948
2961
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
2949
2962
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
2950
2963
|
path: z$1.ZodString;
|
|
2951
2964
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2965
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
2952
2966
|
type: z$1.ZodLiteral<"localFile">;
|
|
2953
2967
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2954
2968
|
"agent-only": "agent-only";
|
|
@@ -3021,16 +3035,20 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3021
3035
|
"agent-only": "agent-only";
|
|
3022
3036
|
}>>;
|
|
3023
3037
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3038
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3024
3039
|
path: z$1.ZodString;
|
|
3040
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3025
3041
|
type: z$1.ZodLiteral<"localImage">;
|
|
3026
3042
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3027
3043
|
"agent-only": "agent-only";
|
|
3028
3044
|
}>>;
|
|
3029
3045
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3046
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3030
3047
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
3031
3048
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
3032
3049
|
path: z$1.ZodString;
|
|
3033
3050
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3051
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3034
3052
|
type: z$1.ZodLiteral<"localFile">;
|
|
3035
3053
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3036
3054
|
"agent-only": "agent-only";
|
|
@@ -4007,16 +4025,20 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
4007
4025
|
"agent-only": "agent-only";
|
|
4008
4026
|
}>>;
|
|
4009
4027
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4028
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4010
4029
|
path: z$1.ZodString;
|
|
4030
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4011
4031
|
type: z$1.ZodLiteral<"localImage">;
|
|
4012
4032
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4013
4033
|
"agent-only": "agent-only";
|
|
4014
4034
|
}>>;
|
|
4015
4035
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4036
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4016
4037
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4017
4038
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4018
4039
|
path: z$1.ZodString;
|
|
4019
4040
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4041
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4020
4042
|
type: z$1.ZodLiteral<"localFile">;
|
|
4021
4043
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4022
4044
|
"agent-only": "agent-only";
|
|
@@ -4332,16 +4354,20 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4332
4354
|
"agent-only": "agent-only";
|
|
4333
4355
|
}>>;
|
|
4334
4356
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4357
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4335
4358
|
path: z$1.ZodString;
|
|
4359
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4336
4360
|
type: z$1.ZodLiteral<"localImage">;
|
|
4337
4361
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4338
4362
|
"agent-only": "agent-only";
|
|
4339
4363
|
}>>;
|
|
4340
4364
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4365
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4341
4366
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4342
4367
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4343
4368
|
path: z$1.ZodString;
|
|
4344
4369
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4370
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4345
4371
|
type: z$1.ZodLiteral<"localFile">;
|
|
4346
4372
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4347
4373
|
"agent-only": "agent-only";
|
|
@@ -4750,16 +4776,20 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
4750
4776
|
"agent-only": "agent-only";
|
|
4751
4777
|
}>>;
|
|
4752
4778
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4779
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4753
4780
|
path: z$1.ZodString;
|
|
4781
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4754
4782
|
type: z$1.ZodLiteral<"localImage">;
|
|
4755
4783
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4756
4784
|
"agent-only": "agent-only";
|
|
4757
4785
|
}>>;
|
|
4758
4786
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4787
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4759
4788
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4760
4789
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4761
4790
|
path: z$1.ZodString;
|
|
4762
4791
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4792
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4763
4793
|
type: z$1.ZodLiteral<"localFile">;
|
|
4764
4794
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4765
4795
|
"agent-only": "agent-only";
|
|
@@ -5210,6 +5240,7 @@ declare const uploadedPromptAttachmentSchema: z$1.ZodObject<{
|
|
|
5210
5240
|
name: z$1.ZodString;
|
|
5211
5241
|
path: z$1.ZodString;
|
|
5212
5242
|
sizeBytes: z$1.ZodNumber;
|
|
5243
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5213
5244
|
type: z$1.ZodEnum<{
|
|
5214
5245
|
localFile: "localFile";
|
|
5215
5246
|
localImage: "localImage";
|
|
@@ -5298,16 +5329,20 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5298
5329
|
"agent-only": "agent-only";
|
|
5299
5330
|
}>>;
|
|
5300
5331
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5332
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
5301
5333
|
path: z$1.ZodString;
|
|
5334
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5302
5335
|
type: z$1.ZodLiteral<"localImage">;
|
|
5303
5336
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5304
5337
|
"agent-only": "agent-only";
|
|
5305
5338
|
}>>;
|
|
5306
5339
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5340
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
5307
5341
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
5308
5342
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
5309
5343
|
path: z$1.ZodString;
|
|
5310
5344
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
5345
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5311
5346
|
type: z$1.ZodLiteral<"localFile">;
|
|
5312
5347
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5313
5348
|
"agent-only": "agent-only";
|
|
@@ -6435,16 +6470,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6435
6470
|
"agent-only": "agent-only";
|
|
6436
6471
|
}>>;
|
|
6437
6472
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6473
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6438
6474
|
path: z$1.ZodString;
|
|
6475
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6439
6476
|
type: z$1.ZodLiteral<"localImage">;
|
|
6440
6477
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6441
6478
|
"agent-only": "agent-only";
|
|
6442
6479
|
}>>;
|
|
6443
6480
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6481
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6444
6482
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6445
6483
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6446
6484
|
path: z$1.ZodString;
|
|
6447
6485
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6486
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6448
6487
|
type: z$1.ZodLiteral<"localFile">;
|
|
6449
6488
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6450
6489
|
"agent-only": "agent-only";
|
|
@@ -6517,16 +6556,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6517
6556
|
"agent-only": "agent-only";
|
|
6518
6557
|
}>>;
|
|
6519
6558
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6559
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6520
6560
|
path: z$1.ZodString;
|
|
6561
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6521
6562
|
type: z$1.ZodLiteral<"localImage">;
|
|
6522
6563
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6523
6564
|
"agent-only": "agent-only";
|
|
6524
6565
|
}>>;
|
|
6525
6566
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6567
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6526
6568
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6527
6569
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6528
6570
|
path: z$1.ZodString;
|
|
6529
6571
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6572
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6530
6573
|
type: z$1.ZodLiteral<"localFile">;
|
|
6531
6574
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6532
6575
|
"agent-only": "agent-only";
|
|
@@ -6681,16 +6724,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6681
6724
|
"agent-only": "agent-only";
|
|
6682
6725
|
}>>;
|
|
6683
6726
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6727
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6684
6728
|
path: z$1.ZodString;
|
|
6729
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6685
6730
|
type: z$1.ZodLiteral<"localImage">;
|
|
6686
6731
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6687
6732
|
"agent-only": "agent-only";
|
|
6688
6733
|
}>>;
|
|
6689
6734
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6735
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6690
6736
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6691
6737
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6692
6738
|
path: z$1.ZodString;
|
|
6693
6739
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6740
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6694
6741
|
type: z$1.ZodLiteral<"localFile">;
|
|
6695
6742
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6696
6743
|
"agent-only": "agent-only";
|
|
@@ -6763,16 +6810,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6763
6810
|
"agent-only": "agent-only";
|
|
6764
6811
|
}>>;
|
|
6765
6812
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6813
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6766
6814
|
path: z$1.ZodString;
|
|
6815
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6767
6816
|
type: z$1.ZodLiteral<"localImage">;
|
|
6768
6817
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6769
6818
|
"agent-only": "agent-only";
|
|
6770
6819
|
}>>;
|
|
6771
6820
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6821
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6772
6822
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6773
6823
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6774
6824
|
path: z$1.ZodString;
|
|
6775
6825
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6826
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6776
6827
|
type: z$1.ZodLiteral<"localFile">;
|
|
6777
6828
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6778
6829
|
"agent-only": "agent-only";
|
|
@@ -9605,6 +9656,11 @@ declare const pluginCatalogStatusSchema: z$1.ZodObject<{
|
|
|
9605
9656
|
}, z$1.core.$strip>;
|
|
9606
9657
|
type PluginCatalogStatus = z$1.infer<typeof pluginCatalogStatusSchema>;
|
|
9607
9658
|
declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
|
|
9659
|
+
categories: z$1.ZodDefault<z$1.ZodArray<z$1.ZodObject<{
|
|
9660
|
+
description: z$1.ZodString;
|
|
9661
|
+
displayName: z$1.ZodString;
|
|
9662
|
+
id: z$1.ZodString;
|
|
9663
|
+
}, z$1.core.$strip>>>;
|
|
9608
9664
|
collections: z$1.ZodArray<z$1.ZodObject<{
|
|
9609
9665
|
displayName: z$1.ZodString;
|
|
9610
9666
|
id: z$1.ZodString;
|
|
@@ -10126,6 +10182,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10126
10182
|
"dataDirectory.open": "dataDirectory.open";
|
|
10127
10183
|
"diff.toggle": "diff.toggle";
|
|
10128
10184
|
"file.quickOpen": "file.quickOpen";
|
|
10185
|
+
"history.back": "history.back";
|
|
10186
|
+
"history.forward": "history.forward";
|
|
10129
10187
|
"logs.openServerDaemon": "logs.openServerDaemon";
|
|
10130
10188
|
"modelPicker.cycleModel": "modelPicker.cycleModel";
|
|
10131
10189
|
"modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
|
|
@@ -10239,6 +10297,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10239
10297
|
}, z$1.core.$strict>>;
|
|
10240
10298
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10241
10299
|
changelogPreview: "changelogPreview";
|
|
10300
|
+
navigationRail: "navigationRail";
|
|
10301
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
10242
10302
|
serverMove: "serverMove";
|
|
10243
10303
|
}>, z$1.ZodBoolean>;
|
|
10244
10304
|
featureFlags: z$1.ZodObject<{
|
|
@@ -10259,6 +10319,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10259
10319
|
}>>;
|
|
10260
10320
|
providerOrder: z$1.ZodArray<z$1.ZodString>;
|
|
10261
10321
|
showDiagnosticEvents: z$1.ZodBoolean;
|
|
10322
|
+
showGitChanges: z$1.ZodBoolean;
|
|
10262
10323
|
showKeyboardHints: z$1.ZodBoolean;
|
|
10263
10324
|
showUnhandledProviderEvents: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
10264
10325
|
steerActiveThreadOnEnter: z$1.ZodBoolean;
|
|
@@ -10276,6 +10337,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10276
10337
|
"dataDirectory.open": "dataDirectory.open";
|
|
10277
10338
|
"diff.toggle": "diff.toggle";
|
|
10278
10339
|
"file.quickOpen": "file.quickOpen";
|
|
10340
|
+
"history.back": "history.back";
|
|
10341
|
+
"history.forward": "history.forward";
|
|
10279
10342
|
"logs.openServerDaemon": "logs.openServerDaemon";
|
|
10280
10343
|
"modelPicker.cycleModel": "modelPicker.cycleModel";
|
|
10281
10344
|
"modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
|
|
@@ -10369,6 +10432,8 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10369
10432
|
"dataDirectory.open": "dataDirectory.open";
|
|
10370
10433
|
"diff.toggle": "diff.toggle";
|
|
10371
10434
|
"file.quickOpen": "file.quickOpen";
|
|
10435
|
+
"history.back": "history.back";
|
|
10436
|
+
"history.forward": "history.forward";
|
|
10372
10437
|
"logs.openServerDaemon": "logs.openServerDaemon";
|
|
10373
10438
|
"modelPicker.cycleModel": "modelPicker.cycleModel";
|
|
10374
10439
|
"modelPicker.cycleModelBackward": "modelPicker.cycleModelBackward";
|
|
@@ -10481,6 +10546,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10481
10546
|
}, z$1.core.$strict>;
|
|
10482
10547
|
}, z$1.core.$strict>>;
|
|
10483
10548
|
localHelperPorts: z$1.ZodArray<z$1.ZodNumber>;
|
|
10549
|
+
performanceDiagnosticsAvailable: z$1.ZodBoolean;
|
|
10484
10550
|
pluginThemes: z$1.ZodArray<z$1.ZodObject<{
|
|
10485
10551
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
10486
10552
|
id: z$1.ZodString;
|
|
@@ -10559,7 +10625,13 @@ declare const themeCatalogResponseSchema: z$1.ZodObject<{
|
|
|
10559
10625
|
}, z$1.core.$strip>;
|
|
10560
10626
|
type ThemeCatalogResponse = z$1.infer<typeof themeCatalogResponseSchema>;
|
|
10561
10627
|
declare const systemVersionResponseSchema: z$1.ZodObject<{
|
|
10628
|
+
currentCommit: z$1.ZodNullable<z$1.ZodString>;
|
|
10562
10629
|
currentVersion: z$1.ZodString;
|
|
10630
|
+
installKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10631
|
+
desktop: "desktop";
|
|
10632
|
+
npm: "npm";
|
|
10633
|
+
source: "source";
|
|
10634
|
+
}>>;
|
|
10563
10635
|
isDevelopment: z$1.ZodBoolean;
|
|
10564
10636
|
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
10565
10637
|
source: z$1.ZodLiteral<"npm">;
|
|
@@ -10579,6 +10651,7 @@ declare const systemAppUpdateStatusSchema: z$1.ZodObject<{
|
|
|
10579
10651
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
10580
10652
|
phase: z$1.ZodLiteral<"restarting">;
|
|
10581
10653
|
startedAt: z$1.ZodString;
|
|
10654
|
+
targetCommit: z$1.ZodNullable<z$1.ZodString>;
|
|
10582
10655
|
targetVersion: z$1.ZodString;
|
|
10583
10656
|
}, z$1.core.$strip>], "phase">;
|
|
10584
10657
|
available: z$1.ZodNullable<z$1.ZodObject<{
|
|
@@ -11088,6 +11161,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11088
11161
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
11089
11162
|
start: z$1.ZodNumber;
|
|
11090
11163
|
}, z$1.core.$strip>>;
|
|
11164
|
+
messageSeq: z$1.ZodNumber;
|
|
11091
11165
|
role: z$1.ZodLiteral<"user">;
|
|
11092
11166
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
11093
11167
|
sourceSeqEnd: z$1.ZodNumber;
|
|
@@ -11177,6 +11251,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11177
11251
|
createdAt: z$1.ZodNumber;
|
|
11178
11252
|
id: z$1.ZodString;
|
|
11179
11253
|
kind: z$1.ZodLiteral<"conversation">;
|
|
11254
|
+
messageSeq: z$1.ZodNumber;
|
|
11180
11255
|
role: z$1.ZodLiteral<"assistant">;
|
|
11181
11256
|
sourceSeqEnd: z$1.ZodNumber;
|
|
11182
11257
|
sourceSeqStart: z$1.ZodNumber;
|
|
@@ -12309,16 +12384,20 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12309
12384
|
"agent-only": "agent-only";
|
|
12310
12385
|
}>>;
|
|
12311
12386
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12387
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12312
12388
|
path: z$1.ZodString;
|
|
12389
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12313
12390
|
type: z$1.ZodLiteral<"localImage">;
|
|
12314
12391
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12315
12392
|
"agent-only": "agent-only";
|
|
12316
12393
|
}>>;
|
|
12317
12394
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12395
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12318
12396
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12319
12397
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12320
12398
|
path: z$1.ZodString;
|
|
12321
12399
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12400
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12322
12401
|
type: z$1.ZodLiteral<"localFile">;
|
|
12323
12402
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12324
12403
|
"agent-only": "agent-only";
|
|
@@ -12447,16 +12526,20 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12447
12526
|
"agent-only": "agent-only";
|
|
12448
12527
|
}>>;
|
|
12449
12528
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12529
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12450
12530
|
path: z$1.ZodString;
|
|
12531
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12451
12532
|
type: z$1.ZodLiteral<"localImage">;
|
|
12452
12533
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12453
12534
|
"agent-only": "agent-only";
|
|
12454
12535
|
}>>;
|
|
12455
12536
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12537
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12456
12538
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12457
12539
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12458
12540
|
path: z$1.ZodString;
|
|
12459
12541
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12542
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12460
12543
|
type: z$1.ZodLiteral<"localFile">;
|
|
12461
12544
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12462
12545
|
"agent-only": "agent-only";
|
|
@@ -12573,16 +12656,20 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12573
12656
|
"agent-only": "agent-only";
|
|
12574
12657
|
}>>;
|
|
12575
12658
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12659
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12576
12660
|
path: z$1.ZodString;
|
|
12661
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12577
12662
|
type: z$1.ZodLiteral<"localImage">;
|
|
12578
12663
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12579
12664
|
"agent-only": "agent-only";
|
|
12580
12665
|
}>>;
|
|
12581
12666
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12667
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12582
12668
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12583
12669
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12584
12670
|
path: z$1.ZodString;
|
|
12585
12671
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12672
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12586
12673
|
type: z$1.ZodLiteral<"localFile">;
|
|
12587
12674
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12588
12675
|
"agent-only": "agent-only";
|
|
@@ -12697,16 +12784,20 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
12697
12784
|
"agent-only": "agent-only";
|
|
12698
12785
|
}>>;
|
|
12699
12786
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12787
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12700
12788
|
path: z$1.ZodString;
|
|
12789
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12701
12790
|
type: z$1.ZodLiteral<"localImage">;
|
|
12702
12791
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12703
12792
|
"agent-only": "agent-only";
|
|
12704
12793
|
}>>;
|
|
12705
12794
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12795
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12706
12796
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12707
12797
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12708
12798
|
path: z$1.ZodString;
|
|
12709
12799
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12800
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12710
12801
|
type: z$1.ZodLiteral<"localFile">;
|
|
12711
12802
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12712
12803
|
"agent-only": "agent-only";
|
|
@@ -12823,16 +12914,20 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
12823
12914
|
"agent-only": "agent-only";
|
|
12824
12915
|
}>>;
|
|
12825
12916
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12917
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12826
12918
|
path: z$1.ZodString;
|
|
12919
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12827
12920
|
type: z$1.ZodLiteral<"localImage">;
|
|
12828
12921
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12829
12922
|
"agent-only": "agent-only";
|
|
12830
12923
|
}>>;
|
|
12831
12924
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12925
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12832
12926
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12833
12927
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12834
12928
|
path: z$1.ZodString;
|
|
12835
12929
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12930
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12836
12931
|
type: z$1.ZodLiteral<"localFile">;
|
|
12837
12932
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12838
12933
|
"agent-only": "agent-only";
|
|
@@ -12994,16 +13089,20 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
12994
13089
|
"agent-only": "agent-only";
|
|
12995
13090
|
}>>;
|
|
12996
13091
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13092
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12997
13093
|
path: z$1.ZodString;
|
|
13094
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12998
13095
|
type: z$1.ZodLiteral<"localImage">;
|
|
12999
13096
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13000
13097
|
"agent-only": "agent-only";
|
|
13001
13098
|
}>>;
|
|
13002
13099
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13100
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13003
13101
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13004
13102
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13005
13103
|
path: z$1.ZodString;
|
|
13006
13104
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13105
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13007
13106
|
type: z$1.ZodLiteral<"localFile">;
|
|
13008
13107
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13009
13108
|
"agent-only": "agent-only";
|
|
@@ -13163,16 +13262,20 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13163
13262
|
"agent-only": "agent-only";
|
|
13164
13263
|
}>>;
|
|
13165
13264
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13265
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13166
13266
|
path: z$1.ZodString;
|
|
13267
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13167
13268
|
type: z$1.ZodLiteral<"localImage">;
|
|
13168
13269
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13169
13270
|
"agent-only": "agent-only";
|
|
13170
13271
|
}>>;
|
|
13171
13272
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13273
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13172
13274
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13173
13275
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13174
13276
|
path: z$1.ZodString;
|
|
13175
13277
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13278
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13176
13279
|
type: z$1.ZodLiteral<"localFile">;
|
|
13177
13280
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13178
13281
|
"agent-only": "agent-only";
|
|
@@ -13267,16 +13370,20 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13267
13370
|
"agent-only": "agent-only";
|
|
13268
13371
|
}>>;
|
|
13269
13372
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13373
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13270
13374
|
path: z$1.ZodString;
|
|
13375
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13271
13376
|
type: z$1.ZodLiteral<"localImage">;
|
|
13272
13377
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13273
13378
|
"agent-only": "agent-only";
|
|
13274
13379
|
}>>;
|
|
13275
13380
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13381
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13276
13382
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13277
13383
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13278
13384
|
path: z$1.ZodString;
|
|
13279
13385
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13386
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13280
13387
|
type: z$1.ZodLiteral<"localFile">;
|
|
13281
13388
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13282
13389
|
"agent-only": "agent-only";
|
|
@@ -13376,16 +13483,20 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13376
13483
|
"agent-only": "agent-only";
|
|
13377
13484
|
}>>;
|
|
13378
13485
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13486
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13379
13487
|
path: z$1.ZodString;
|
|
13488
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13380
13489
|
type: z$1.ZodLiteral<"localImage">;
|
|
13381
13490
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13382
13491
|
"agent-only": "agent-only";
|
|
13383
13492
|
}>>;
|
|
13384
13493
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13494
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13385
13495
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13386
13496
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13387
13497
|
path: z$1.ZodString;
|
|
13388
13498
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13499
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13389
13500
|
type: z$1.ZodLiteral<"localFile">;
|
|
13390
13501
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13391
13502
|
"agent-only": "agent-only";
|
|
@@ -14303,16 +14414,20 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14303
14414
|
"agent-only": "agent-only";
|
|
14304
14415
|
}>>;
|
|
14305
14416
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14417
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
14306
14418
|
path: z$1.ZodString;
|
|
14419
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14307
14420
|
type: z$1.ZodLiteral<"localImage">;
|
|
14308
14421
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14309
14422
|
"agent-only": "agent-only";
|
|
14310
14423
|
}>>;
|
|
14311
14424
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14425
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
14312
14426
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
14313
14427
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
14314
14428
|
path: z$1.ZodString;
|
|
14315
14429
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14430
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14316
14431
|
type: z$1.ZodLiteral<"localFile">;
|
|
14317
14432
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14318
14433
|
"agent-only": "agent-only";
|
|
@@ -14546,6 +14661,522 @@ declare const timelineTurnSummaryDetailsQuerySchema: z$1.ZodObject<{
|
|
|
14546
14661
|
turnId: z$1.ZodString;
|
|
14547
14662
|
}, z$1.core.$strip>;
|
|
14548
14663
|
type TimelineTurnSummaryDetailsQuery = z$1.infer<typeof timelineTurnSummaryDetailsQuerySchema>;
|
|
14664
|
+
declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
14665
|
+
after: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14666
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14667
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14668
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14669
|
+
localFiles: z$1.ZodNumber;
|
|
14670
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14671
|
+
localImages: z$1.ZodNumber;
|
|
14672
|
+
webImages: z$1.ZodNumber;
|
|
14673
|
+
}, z$1.core.$strip>>;
|
|
14674
|
+
createdAt: z$1.ZodNumber;
|
|
14675
|
+
id: z$1.ZodString;
|
|
14676
|
+
initiator: z$1.ZodEnum<{
|
|
14677
|
+
agent: "agent";
|
|
14678
|
+
system: "system";
|
|
14679
|
+
user: "user";
|
|
14680
|
+
}>;
|
|
14681
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14682
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14683
|
+
end: z$1.ZodNumber;
|
|
14684
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14685
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14686
|
+
label: z$1.ZodString;
|
|
14687
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14688
|
+
threadId: z$1.ZodString;
|
|
14689
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14690
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14691
|
+
label: z$1.ZodString;
|
|
14692
|
+
projectId: z$1.ZodString;
|
|
14693
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14694
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14695
|
+
label: z$1.ZodString;
|
|
14696
|
+
sectionId: z$1.ZodString;
|
|
14697
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14698
|
+
entryKind: z$1.ZodEnum<{
|
|
14699
|
+
directory: "directory";
|
|
14700
|
+
file: "file";
|
|
14701
|
+
}>;
|
|
14702
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14703
|
+
label: z$1.ZodString;
|
|
14704
|
+
path: z$1.ZodString;
|
|
14705
|
+
source: z$1.ZodEnum<{
|
|
14706
|
+
"thread-storage": "thread-storage";
|
|
14707
|
+
workspace: "workspace";
|
|
14708
|
+
}>;
|
|
14709
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14710
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14711
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14712
|
+
label: z$1.ZodString;
|
|
14713
|
+
name: z$1.ZodString;
|
|
14714
|
+
origin: z$1.ZodEnum<{
|
|
14715
|
+
builtin: "builtin";
|
|
14716
|
+
project: "project";
|
|
14717
|
+
user: "user";
|
|
14718
|
+
}>;
|
|
14719
|
+
source: z$1.ZodEnum<{
|
|
14720
|
+
command: "command";
|
|
14721
|
+
skill: "skill";
|
|
14722
|
+
}>;
|
|
14723
|
+
trigger: z$1.ZodEnum<{
|
|
14724
|
+
"/": "/";
|
|
14725
|
+
$: "$";
|
|
14726
|
+
}>;
|
|
14727
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14728
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14729
|
+
itemId: z$1.ZodString;
|
|
14730
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14731
|
+
label: z$1.ZodString;
|
|
14732
|
+
pluginId: z$1.ZodString;
|
|
14733
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14734
|
+
start: z$1.ZodNumber;
|
|
14735
|
+
}, z$1.core.$strip>>;
|
|
14736
|
+
messageSeq: z$1.ZodNumber;
|
|
14737
|
+
role: z$1.ZodLiteral<"user">;
|
|
14738
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14739
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14740
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14741
|
+
startedAt: z$1.ZodNumber;
|
|
14742
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
14743
|
+
"child-completed": "child-completed";
|
|
14744
|
+
"child-failed": "child-failed";
|
|
14745
|
+
"child-interrupted": "child-interrupted";
|
|
14746
|
+
"child-needs-attention": "child-needs-attention";
|
|
14747
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14748
|
+
"ownership-assigned": "ownership-assigned";
|
|
14749
|
+
"ownership-removed": "ownership-removed";
|
|
14750
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14751
|
+
unlabeled: "unlabeled";
|
|
14752
|
+
}>;
|
|
14753
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14754
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14755
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14756
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14757
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14758
|
+
reason: z$1.ZodEnum<{
|
|
14759
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14760
|
+
"host-removed": "host-removed";
|
|
14761
|
+
"manual-stop": "manual-stop";
|
|
14762
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14763
|
+
}>;
|
|
14764
|
+
}, z$1.core.$strip>>;
|
|
14765
|
+
status: z$1.ZodEnum<{
|
|
14766
|
+
completed: "completed";
|
|
14767
|
+
failed: "failed";
|
|
14768
|
+
interrupted: "interrupted";
|
|
14769
|
+
}>;
|
|
14770
|
+
threadId: z$1.ZodString;
|
|
14771
|
+
}, z$1.core.$strip>>>;
|
|
14772
|
+
threadId: z$1.ZodString;
|
|
14773
|
+
threadName: z$1.ZodString;
|
|
14774
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14775
|
+
count: z$1.ZodNumber;
|
|
14776
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
14777
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14778
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14779
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14780
|
+
reason: z$1.ZodEnum<{
|
|
14781
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14782
|
+
"host-removed": "host-removed";
|
|
14783
|
+
"manual-stop": "manual-stop";
|
|
14784
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14785
|
+
}>;
|
|
14786
|
+
}, z$1.core.$strip>>;
|
|
14787
|
+
status: z$1.ZodEnum<{
|
|
14788
|
+
completed: "completed";
|
|
14789
|
+
failed: "failed";
|
|
14790
|
+
interrupted: "interrupted";
|
|
14791
|
+
}>;
|
|
14792
|
+
threadId: z$1.ZodString;
|
|
14793
|
+
}, z$1.core.$strip>>>;
|
|
14794
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14795
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14796
|
+
suppress: z$1.ZodBoolean;
|
|
14797
|
+
toolName: z$1.ZodString;
|
|
14798
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14799
|
+
text: z$1.ZodString;
|
|
14800
|
+
threadId: z$1.ZodString;
|
|
14801
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14802
|
+
turnRequest: z$1.ZodObject<{
|
|
14803
|
+
isGrouped: z$1.ZodBoolean;
|
|
14804
|
+
kind: z$1.ZodEnum<{
|
|
14805
|
+
message: "message";
|
|
14806
|
+
steer: "steer";
|
|
14807
|
+
}>;
|
|
14808
|
+
status: z$1.ZodEnum<{
|
|
14809
|
+
accepted: "accepted";
|
|
14810
|
+
pending: "pending";
|
|
14811
|
+
rejected: "rejected";
|
|
14812
|
+
}>;
|
|
14813
|
+
}, z$1.core.$strip>;
|
|
14814
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14815
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14816
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14817
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14818
|
+
localFiles: z$1.ZodNumber;
|
|
14819
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14820
|
+
localImages: z$1.ZodNumber;
|
|
14821
|
+
webImages: z$1.ZodNumber;
|
|
14822
|
+
}, z$1.core.$strip>>;
|
|
14823
|
+
createdAt: z$1.ZodNumber;
|
|
14824
|
+
id: z$1.ZodString;
|
|
14825
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14826
|
+
messageSeq: z$1.ZodNumber;
|
|
14827
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
14828
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14829
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14830
|
+
startedAt: z$1.ZodNumber;
|
|
14831
|
+
text: z$1.ZodString;
|
|
14832
|
+
threadId: z$1.ZodString;
|
|
14833
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14834
|
+
turnRequest: z$1.ZodNull;
|
|
14835
|
+
}, z$1.core.$strip>], "role">>;
|
|
14836
|
+
before: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14837
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14838
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14839
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14840
|
+
localFiles: z$1.ZodNumber;
|
|
14841
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14842
|
+
localImages: z$1.ZodNumber;
|
|
14843
|
+
webImages: z$1.ZodNumber;
|
|
14844
|
+
}, z$1.core.$strip>>;
|
|
14845
|
+
createdAt: z$1.ZodNumber;
|
|
14846
|
+
id: z$1.ZodString;
|
|
14847
|
+
initiator: z$1.ZodEnum<{
|
|
14848
|
+
agent: "agent";
|
|
14849
|
+
system: "system";
|
|
14850
|
+
user: "user";
|
|
14851
|
+
}>;
|
|
14852
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14853
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14854
|
+
end: z$1.ZodNumber;
|
|
14855
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14856
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14857
|
+
label: z$1.ZodString;
|
|
14858
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14859
|
+
threadId: z$1.ZodString;
|
|
14860
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14861
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14862
|
+
label: z$1.ZodString;
|
|
14863
|
+
projectId: z$1.ZodString;
|
|
14864
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14865
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14866
|
+
label: z$1.ZodString;
|
|
14867
|
+
sectionId: z$1.ZodString;
|
|
14868
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14869
|
+
entryKind: z$1.ZodEnum<{
|
|
14870
|
+
directory: "directory";
|
|
14871
|
+
file: "file";
|
|
14872
|
+
}>;
|
|
14873
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14874
|
+
label: z$1.ZodString;
|
|
14875
|
+
path: z$1.ZodString;
|
|
14876
|
+
source: z$1.ZodEnum<{
|
|
14877
|
+
"thread-storage": "thread-storage";
|
|
14878
|
+
workspace: "workspace";
|
|
14879
|
+
}>;
|
|
14880
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14881
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14882
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14883
|
+
label: z$1.ZodString;
|
|
14884
|
+
name: z$1.ZodString;
|
|
14885
|
+
origin: z$1.ZodEnum<{
|
|
14886
|
+
builtin: "builtin";
|
|
14887
|
+
project: "project";
|
|
14888
|
+
user: "user";
|
|
14889
|
+
}>;
|
|
14890
|
+
source: z$1.ZodEnum<{
|
|
14891
|
+
command: "command";
|
|
14892
|
+
skill: "skill";
|
|
14893
|
+
}>;
|
|
14894
|
+
trigger: z$1.ZodEnum<{
|
|
14895
|
+
"/": "/";
|
|
14896
|
+
$: "$";
|
|
14897
|
+
}>;
|
|
14898
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14899
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14900
|
+
itemId: z$1.ZodString;
|
|
14901
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14902
|
+
label: z$1.ZodString;
|
|
14903
|
+
pluginId: z$1.ZodString;
|
|
14904
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14905
|
+
start: z$1.ZodNumber;
|
|
14906
|
+
}, z$1.core.$strip>>;
|
|
14907
|
+
messageSeq: z$1.ZodNumber;
|
|
14908
|
+
role: z$1.ZodLiteral<"user">;
|
|
14909
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14910
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14911
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14912
|
+
startedAt: z$1.ZodNumber;
|
|
14913
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
14914
|
+
"child-completed": "child-completed";
|
|
14915
|
+
"child-failed": "child-failed";
|
|
14916
|
+
"child-interrupted": "child-interrupted";
|
|
14917
|
+
"child-needs-attention": "child-needs-attention";
|
|
14918
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14919
|
+
"ownership-assigned": "ownership-assigned";
|
|
14920
|
+
"ownership-removed": "ownership-removed";
|
|
14921
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14922
|
+
unlabeled: "unlabeled";
|
|
14923
|
+
}>;
|
|
14924
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14925
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14926
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14927
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14928
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14929
|
+
reason: z$1.ZodEnum<{
|
|
14930
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14931
|
+
"host-removed": "host-removed";
|
|
14932
|
+
"manual-stop": "manual-stop";
|
|
14933
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14934
|
+
}>;
|
|
14935
|
+
}, z$1.core.$strip>>;
|
|
14936
|
+
status: z$1.ZodEnum<{
|
|
14937
|
+
completed: "completed";
|
|
14938
|
+
failed: "failed";
|
|
14939
|
+
interrupted: "interrupted";
|
|
14940
|
+
}>;
|
|
14941
|
+
threadId: z$1.ZodString;
|
|
14942
|
+
}, z$1.core.$strip>>>;
|
|
14943
|
+
threadId: z$1.ZodString;
|
|
14944
|
+
threadName: z$1.ZodString;
|
|
14945
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14946
|
+
count: z$1.ZodNumber;
|
|
14947
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
14948
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14949
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14950
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14951
|
+
reason: z$1.ZodEnum<{
|
|
14952
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14953
|
+
"host-removed": "host-removed";
|
|
14954
|
+
"manual-stop": "manual-stop";
|
|
14955
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14956
|
+
}>;
|
|
14957
|
+
}, z$1.core.$strip>>;
|
|
14958
|
+
status: z$1.ZodEnum<{
|
|
14959
|
+
completed: "completed";
|
|
14960
|
+
failed: "failed";
|
|
14961
|
+
interrupted: "interrupted";
|
|
14962
|
+
}>;
|
|
14963
|
+
threadId: z$1.ZodString;
|
|
14964
|
+
}, z$1.core.$strip>>>;
|
|
14965
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14966
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14967
|
+
suppress: z$1.ZodBoolean;
|
|
14968
|
+
toolName: z$1.ZodString;
|
|
14969
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14970
|
+
text: z$1.ZodString;
|
|
14971
|
+
threadId: z$1.ZodString;
|
|
14972
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14973
|
+
turnRequest: z$1.ZodObject<{
|
|
14974
|
+
isGrouped: z$1.ZodBoolean;
|
|
14975
|
+
kind: z$1.ZodEnum<{
|
|
14976
|
+
message: "message";
|
|
14977
|
+
steer: "steer";
|
|
14978
|
+
}>;
|
|
14979
|
+
status: z$1.ZodEnum<{
|
|
14980
|
+
accepted: "accepted";
|
|
14981
|
+
pending: "pending";
|
|
14982
|
+
rejected: "rejected";
|
|
14983
|
+
}>;
|
|
14984
|
+
}, z$1.core.$strip>;
|
|
14985
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14986
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14987
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14988
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14989
|
+
localFiles: z$1.ZodNumber;
|
|
14990
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14991
|
+
localImages: z$1.ZodNumber;
|
|
14992
|
+
webImages: z$1.ZodNumber;
|
|
14993
|
+
}, z$1.core.$strip>>;
|
|
14994
|
+
createdAt: z$1.ZodNumber;
|
|
14995
|
+
id: z$1.ZodString;
|
|
14996
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14997
|
+
messageSeq: z$1.ZodNumber;
|
|
14998
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
14999
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15000
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15001
|
+
startedAt: z$1.ZodNumber;
|
|
15002
|
+
text: z$1.ZodString;
|
|
15003
|
+
threadId: z$1.ZodString;
|
|
15004
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15005
|
+
turnRequest: z$1.ZodNull;
|
|
15006
|
+
}, z$1.core.$strip>], "role">>;
|
|
15007
|
+
message: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15008
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15009
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15010
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15011
|
+
localFiles: z$1.ZodNumber;
|
|
15012
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15013
|
+
localImages: z$1.ZodNumber;
|
|
15014
|
+
webImages: z$1.ZodNumber;
|
|
15015
|
+
}, z$1.core.$strip>>;
|
|
15016
|
+
createdAt: z$1.ZodNumber;
|
|
15017
|
+
id: z$1.ZodString;
|
|
15018
|
+
initiator: z$1.ZodEnum<{
|
|
15019
|
+
agent: "agent";
|
|
15020
|
+
system: "system";
|
|
15021
|
+
user: "user";
|
|
15022
|
+
}>;
|
|
15023
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
15024
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
15025
|
+
end: z$1.ZodNumber;
|
|
15026
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15027
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
15028
|
+
label: z$1.ZodString;
|
|
15029
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
15030
|
+
threadId: z$1.ZodString;
|
|
15031
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15032
|
+
kind: z$1.ZodLiteral<"project">;
|
|
15033
|
+
label: z$1.ZodString;
|
|
15034
|
+
projectId: z$1.ZodString;
|
|
15035
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15036
|
+
kind: z$1.ZodLiteral<"section">;
|
|
15037
|
+
label: z$1.ZodString;
|
|
15038
|
+
sectionId: z$1.ZodString;
|
|
15039
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15040
|
+
entryKind: z$1.ZodEnum<{
|
|
15041
|
+
directory: "directory";
|
|
15042
|
+
file: "file";
|
|
15043
|
+
}>;
|
|
15044
|
+
kind: z$1.ZodLiteral<"path">;
|
|
15045
|
+
label: z$1.ZodString;
|
|
15046
|
+
path: z$1.ZodString;
|
|
15047
|
+
source: z$1.ZodEnum<{
|
|
15048
|
+
"thread-storage": "thread-storage";
|
|
15049
|
+
workspace: "workspace";
|
|
15050
|
+
}>;
|
|
15051
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15052
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
15053
|
+
kind: z$1.ZodLiteral<"command">;
|
|
15054
|
+
label: z$1.ZodString;
|
|
15055
|
+
name: z$1.ZodString;
|
|
15056
|
+
origin: z$1.ZodEnum<{
|
|
15057
|
+
builtin: "builtin";
|
|
15058
|
+
project: "project";
|
|
15059
|
+
user: "user";
|
|
15060
|
+
}>;
|
|
15061
|
+
source: z$1.ZodEnum<{
|
|
15062
|
+
command: "command";
|
|
15063
|
+
skill: "skill";
|
|
15064
|
+
}>;
|
|
15065
|
+
trigger: z$1.ZodEnum<{
|
|
15066
|
+
"/": "/";
|
|
15067
|
+
$: "$";
|
|
15068
|
+
}>;
|
|
15069
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15070
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
15071
|
+
itemId: z$1.ZodString;
|
|
15072
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
15073
|
+
label: z$1.ZodString;
|
|
15074
|
+
pluginId: z$1.ZodString;
|
|
15075
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15076
|
+
start: z$1.ZodNumber;
|
|
15077
|
+
}, z$1.core.$strip>>;
|
|
15078
|
+
messageSeq: z$1.ZodNumber;
|
|
15079
|
+
role: z$1.ZodLiteral<"user">;
|
|
15080
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
15081
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15082
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15083
|
+
startedAt: z$1.ZodNumber;
|
|
15084
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
15085
|
+
"child-completed": "child-completed";
|
|
15086
|
+
"child-failed": "child-failed";
|
|
15087
|
+
"child-interrupted": "child-interrupted";
|
|
15088
|
+
"child-needs-attention": "child-needs-attention";
|
|
15089
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
15090
|
+
"ownership-assigned": "ownership-assigned";
|
|
15091
|
+
"ownership-removed": "ownership-removed";
|
|
15092
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
15093
|
+
unlabeled: "unlabeled";
|
|
15094
|
+
}>;
|
|
15095
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15096
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
15097
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15098
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15099
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15100
|
+
reason: z$1.ZodEnum<{
|
|
15101
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15102
|
+
"host-removed": "host-removed";
|
|
15103
|
+
"manual-stop": "manual-stop";
|
|
15104
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15105
|
+
}>;
|
|
15106
|
+
}, z$1.core.$strip>>;
|
|
15107
|
+
status: z$1.ZodEnum<{
|
|
15108
|
+
completed: "completed";
|
|
15109
|
+
failed: "failed";
|
|
15110
|
+
interrupted: "interrupted";
|
|
15111
|
+
}>;
|
|
15112
|
+
threadId: z$1.ZodString;
|
|
15113
|
+
}, z$1.core.$strip>>>;
|
|
15114
|
+
threadId: z$1.ZodString;
|
|
15115
|
+
threadName: z$1.ZodString;
|
|
15116
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15117
|
+
count: z$1.ZodNumber;
|
|
15118
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
15119
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15120
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15121
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15122
|
+
reason: z$1.ZodEnum<{
|
|
15123
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15124
|
+
"host-removed": "host-removed";
|
|
15125
|
+
"manual-stop": "manual-stop";
|
|
15126
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15127
|
+
}>;
|
|
15128
|
+
}, z$1.core.$strip>>;
|
|
15129
|
+
status: z$1.ZodEnum<{
|
|
15130
|
+
completed: "completed";
|
|
15131
|
+
failed: "failed";
|
|
15132
|
+
interrupted: "interrupted";
|
|
15133
|
+
}>;
|
|
15134
|
+
threadId: z$1.ZodString;
|
|
15135
|
+
}, z$1.core.$strip>>>;
|
|
15136
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15137
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
15138
|
+
suppress: z$1.ZodBoolean;
|
|
15139
|
+
toolName: z$1.ZodString;
|
|
15140
|
+
}, z$1.core.$strip>], "kind">>;
|
|
15141
|
+
text: z$1.ZodString;
|
|
15142
|
+
threadId: z$1.ZodString;
|
|
15143
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15144
|
+
turnRequest: z$1.ZodObject<{
|
|
15145
|
+
isGrouped: z$1.ZodBoolean;
|
|
15146
|
+
kind: z$1.ZodEnum<{
|
|
15147
|
+
message: "message";
|
|
15148
|
+
steer: "steer";
|
|
15149
|
+
}>;
|
|
15150
|
+
status: z$1.ZodEnum<{
|
|
15151
|
+
accepted: "accepted";
|
|
15152
|
+
pending: "pending";
|
|
15153
|
+
rejected: "rejected";
|
|
15154
|
+
}>;
|
|
15155
|
+
}, z$1.core.$strip>;
|
|
15156
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15157
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15158
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15159
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15160
|
+
localFiles: z$1.ZodNumber;
|
|
15161
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15162
|
+
localImages: z$1.ZodNumber;
|
|
15163
|
+
webImages: z$1.ZodNumber;
|
|
15164
|
+
}, z$1.core.$strip>>;
|
|
15165
|
+
createdAt: z$1.ZodNumber;
|
|
15166
|
+
id: z$1.ZodString;
|
|
15167
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
15168
|
+
messageSeq: z$1.ZodNumber;
|
|
15169
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
15170
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15171
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15172
|
+
startedAt: z$1.ZodNumber;
|
|
15173
|
+
text: z$1.ZodString;
|
|
15174
|
+
threadId: z$1.ZodString;
|
|
15175
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15176
|
+
turnRequest: z$1.ZodNull;
|
|
15177
|
+
}, z$1.core.$strip>], "role">;
|
|
15178
|
+
}, z$1.core.$strip>;
|
|
15179
|
+
type ThreadMessageResponse = z$1.infer<typeof threadMessageResponseSchema>;
|
|
14549
15180
|
declare const threadStorageFilesQuerySchema: z$1.ZodObject<{
|
|
14550
15181
|
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
14551
15182
|
query: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -16664,6 +17295,7 @@ type ThreadCountResult = ThreadCountResponse;
|
|
|
16664
17295
|
type ThreadRunningResult = ThreadRunningResponse;
|
|
16665
17296
|
type ThreadListResult = ThreadListResponse;
|
|
16666
17297
|
type ThreadSearchResult = ThreadSearchResponse;
|
|
17298
|
+
type ThreadMessageResult = ThreadMessageResponse;
|
|
16667
17299
|
type ThreadResolveMentionsResult = ResolveThreadMentionsResponse;
|
|
16668
17300
|
interface ThreadOutputResponse {
|
|
16669
17301
|
output: string | null;
|
|
@@ -16875,6 +17507,13 @@ interface ThreadOutputArgs {
|
|
|
16875
17507
|
signal?: AbortSignal;
|
|
16876
17508
|
threadId: string;
|
|
16877
17509
|
}
|
|
17510
|
+
interface ThreadMessageArgs {
|
|
17511
|
+
signal?: AbortSignal;
|
|
17512
|
+
threadId: string;
|
|
17513
|
+
seq: number;
|
|
17514
|
+
before?: number;
|
|
17515
|
+
after?: number;
|
|
17516
|
+
}
|
|
16878
17517
|
interface ThreadInteractionListArgs {
|
|
16879
17518
|
signal?: AbortSignal;
|
|
16880
17519
|
threadId: string;
|
|
@@ -16986,6 +17625,7 @@ interface ThreadsArea {
|
|
|
16986
17625
|
markUnread(args: ThreadActionArgs): Promise<ThreadReadStateResult>;
|
|
16987
17626
|
open(args: ThreadOpenArgs): Promise<ThreadOpenResult>;
|
|
16988
17627
|
paneAction(args: ThreadPaneActionArgs): Promise<ThreadPaneActionResult>;
|
|
17628
|
+
message(args: ThreadMessageArgs): Promise<ThreadMessageResult>;
|
|
16989
17629
|
output(args: ThreadOutputArgs): Promise<ThreadOutputResponse>;
|
|
16990
17630
|
pin(args: ThreadActionArgs): Promise<ThreadMutationResult>;
|
|
16991
17631
|
promptHistory(args: ThreadPromptHistoryArgs): Promise<ThreadPromptHistoryResult>;
|
|
@@ -17280,6 +17920,26 @@ interface ExperimentalQuestionFormHost {
|
|
|
17280
17920
|
*/
|
|
17281
17921
|
registerChoiceHandler(handler: (index: number) => boolean): () => void;
|
|
17282
17922
|
}
|
|
17923
|
+
/**
|
|
17924
|
+
* Props of the host-owned `experimental_VoiceInputTextarea`: a controlled
|
|
17925
|
+
* textarea with bb's voice input. Other textarea attributes, including `ref`
|
|
17926
|
+
* and `className`, reach the underlying `<textarea>`; the caller styles it and
|
|
17927
|
+
* the host adds room for its microphone controls when voice input is
|
|
17928
|
+
* available.
|
|
17929
|
+
*/
|
|
17930
|
+
interface ExperimentalVoiceInputTextareaProps extends Omit<ComponentPropsWithRef<"textarea">, "children" | "defaultValue" | "onChange" | "value"> {
|
|
17931
|
+
value: string;
|
|
17932
|
+
/**
|
|
17933
|
+
* Receives typed edits and finished transcripts, which the host appends to
|
|
17934
|
+
* `value`. Transcripts stay editable and are never submitted.
|
|
17935
|
+
*/
|
|
17936
|
+
onValueChange(value: string): void;
|
|
17937
|
+
/**
|
|
17938
|
+
* True from the start of recording until transcription finishes or is
|
|
17939
|
+
* cancelled, and false on unmount. Hold submission while it is true.
|
|
17940
|
+
*/
|
|
17941
|
+
onVoiceInputActiveChange?(active: boolean): void;
|
|
17942
|
+
}
|
|
17283
17943
|
/**
|
|
17284
17944
|
* Props for a `sidebarFooterAction` — host-rendered (no plugin component).
|
|
17285
17945
|
* Deliberately empty; the registration's `run` carries the behavior.
|
|
@@ -18723,6 +19383,13 @@ interface ThreadChatMessageReference {
|
|
|
18723
19383
|
/** Visible text of the message. */
|
|
18724
19384
|
text: string;
|
|
18725
19385
|
sourceSeqEnd: number;
|
|
19386
|
+
/**
|
|
19387
|
+
* The event sequence that recorded this message: the `msg` value of a
|
|
19388
|
+
* message link and the seq that `sdk.threads.message` and
|
|
19389
|
+
* `bb thread log --message` read. For a steer this is its request sequence,
|
|
19390
|
+
* which can differ from the acceptance sequence in `sourceSeqEnd`.
|
|
19391
|
+
*/
|
|
19392
|
+
experimental_messageSeq: number;
|
|
18726
19393
|
}
|
|
18727
19394
|
/**
|
|
18728
19395
|
* What a caller that is *not* itself a panel action passes to open one — a
|
|
@@ -18764,10 +19431,11 @@ interface PluginMessageActionContext {
|
|
|
18764
19431
|
composer: PluginComposerApi | null;
|
|
18765
19432
|
}
|
|
18766
19433
|
/**
|
|
18767
|
-
* An action on chat messages: an icon button in
|
|
18768
|
-
* (user and assistant messages) and an entry in
|
|
18769
|
-
* text-selection menu.
|
|
18770
|
-
*
|
|
19434
|
+
* An action on chat messages in the main thread timeline: an icon button in
|
|
19435
|
+
* the per-message action bar (user and assistant messages) and an entry in
|
|
19436
|
+
* the assistant-message text-selection menu. Embedded `ThreadChat` timelines
|
|
19437
|
+
* do not show slot-registered actions. Host-rendered chrome — the plugin
|
|
19438
|
+
* supplies title, icon, and `run` behavior only. Resolved icon names take precedence over
|
|
18771
19439
|
* plugin branding; omitted or unknown names fall back to branding.
|
|
18772
19440
|
*/
|
|
18773
19441
|
interface PluginMessageActionRegistration {
|
|
@@ -18788,14 +19456,15 @@ interface PluginCommandContext {
|
|
|
18788
19456
|
threadId: string | null;
|
|
18789
19457
|
projectId: string | null;
|
|
18790
19458
|
/**
|
|
18791
|
-
* Open one of this plugin's
|
|
18792
|
-
*
|
|
19459
|
+
* Open one of this plugin's panel components in the focused side panel.
|
|
19460
|
+
* In a thread, `actionId` resolves against `threadPanelAction`; on the New
|
|
19461
|
+
* thread screen, it resolves against `experimental_newThreadPanelAction`.
|
|
19462
|
+
* Register both slots with the same id to support commands on both screens.
|
|
18793
19463
|
*
|
|
18794
19464
|
* Returns true when the host accepted the open; false when it declined —
|
|
18795
|
-
* `params` was not a JSON value, the action id names no
|
|
18796
|
-
* of this plugin, or the surface has no side panel.
|
|
18797
|
-
*
|
|
18798
|
-
* rather than assuming.
|
|
19465
|
+
* `params` was not a JSON value, the action id names no matching panel action
|
|
19466
|
+
* of this plugin on the focused surface, or the surface has no side panel.
|
|
19467
|
+
* The palette opens anywhere, so guard with `isAvailable` rather than assuming.
|
|
18799
19468
|
*/
|
|
18800
19469
|
openPanel(options: PluginTargetedPanelActionOpenOptions): boolean;
|
|
18801
19470
|
}
|
|
@@ -19387,8 +20056,26 @@ interface ComposerDraft {
|
|
|
19387
20056
|
text: string;
|
|
19388
20057
|
mentions: readonly ComposerMention[];
|
|
19389
20058
|
}
|
|
19390
|
-
/**
|
|
19391
|
-
|
|
20059
|
+
/**
|
|
20060
|
+
* A composer attachment: an uploaded file, optionally owned by another
|
|
20061
|
+
* project, or an absolute path on one machine. Never both.
|
|
20062
|
+
*/
|
|
20063
|
+
type ComposerAttachment = {
|
|
20064
|
+
type: "localFile" | "localImage";
|
|
20065
|
+
path: string;
|
|
20066
|
+
name: string;
|
|
20067
|
+
mimeType?: string;
|
|
20068
|
+
/** 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. */
|
|
20069
|
+
sizeBytes?: number;
|
|
20070
|
+
} & ({
|
|
20071
|
+
/** Project that currently owns this uploaded path; omit for destination-relative attachments. */
|
|
20072
|
+
sourceProjectId?: string;
|
|
20073
|
+
hostId?: never;
|
|
20074
|
+
} | {
|
|
20075
|
+
/** Machine whose absolute `path` this is; core rejects sending it to a thread on another machine. */
|
|
20076
|
+
hostId: string;
|
|
20077
|
+
sourceProjectId?: never;
|
|
20078
|
+
});
|
|
19392
20079
|
/** The complete current draft. Snapshots and their entries are immutable. */
|
|
19393
20080
|
interface ComposerDraftSnapshot extends ComposerDraft {
|
|
19394
20081
|
readonly attachments: readonly ComposerAttachment[];
|
|
@@ -19549,8 +20236,10 @@ interface PluginComposerApi {
|
|
|
19549
20236
|
* an empty list clears them. Does not infer or rebase mention ranges.
|
|
19550
20237
|
* Ranges are non-overlapping UTF-16 offsets into the supplied text.
|
|
19551
20238
|
* Invalid results, throwing updaters, and unavailable editors leave the
|
|
19552
|
-
* draft unchanged.
|
|
19553
|
-
*
|
|
20239
|
+
* draft unchanged. Source project references on uploaded attachments are
|
|
20240
|
+
* preserved; core copies them into the destination project when the draft
|
|
20241
|
+
* is submitted. Does not focus or submit. Use `insert` for insertion at the
|
|
20242
|
+
* editor's cursor.
|
|
19554
20243
|
*/
|
|
19555
20244
|
replace(next: ComposerDraftReplacement | ((current: ComposerDraftSnapshot) => ComposerDraftReplacement)): void;
|
|
19556
20245
|
/**
|
|
@@ -19696,8 +20385,9 @@ type ComposerSubmitOptions = {
|
|
|
19696
20385
|
/**
|
|
19697
20386
|
* A consumer-supplied action on the messages of one `ThreadChat` instance,
|
|
19698
20387
|
* rendered in the embedded timeline's per-message action bar alongside the
|
|
19699
|
-
* native
|
|
19700
|
-
* scoped to the rendering component, not
|
|
20388
|
+
* native actions. Slot-registered `messageAction`s do not appear there. Unlike
|
|
20389
|
+
* the `messageAction` slot this is scoped to the rendering component, not
|
|
20390
|
+
* registered globally.
|
|
19701
20391
|
*/
|
|
19702
20392
|
interface ThreadChatMessageAction {
|
|
19703
20393
|
/** Unique within this ThreadChat instance; letters, digits, `-`, `_`. */
|
|
@@ -20404,6 +21094,13 @@ interface PluginSdkApp {
|
|
|
20404
21094
|
* docs/api_to_audit.md for what to audit before the prefix drops.
|
|
20405
21095
|
*/
|
|
20406
21096
|
experimental_NewThreadComposer: ComponentType<NewThreadComposerProps>;
|
|
21097
|
+
/**
|
|
21098
|
+
* BB's textarea with voice input (see
|
|
21099
|
+
* {@link ExperimentalVoiceInputTextareaProps}): the same microphone
|
|
21100
|
+
* preference, transcription service, and error handling as the prompt box.
|
|
21101
|
+
* Experimental: see docs/api_to_audit.md.
|
|
21102
|
+
*/
|
|
21103
|
+
experimental_VoiceInputTextarea: ComponentType<ExperimentalVoiceInputTextareaProps>;
|
|
20407
21104
|
/**
|
|
20408
21105
|
* BB's controlled provider/model/reasoning picker. Provider changes emit
|
|
20409
21106
|
* only after the new provider's verified defaults and capabilities resolve,
|
|
@@ -22868,4 +23565,4 @@ declare function cliCommand<const TOptions extends CliOptions = Record<string, n
|
|
|
22868
23565
|
declare function defineCli(spec: PluginCliSpec): PluginCliRegistration;
|
|
22869
23566
|
|
|
22870
23567
|
export { PLUGIN_CLI_OUTPUT_MAX_BYTES, PluginCliError, cliCommand, defineCli, defineRpcContract, experimental_defineHostEntry };
|
|
22871
|
-
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, 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, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, 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, 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, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|
|
23568
|
+
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, 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, ExperimentalSidebarHeaderProps, ExperimentalSidebarHeaderRegistration, ExperimentalSidebarNavigationAction, ExperimentalSidebarNavigationActions, ExperimentalSidebarNavigationActivationOptions, ExperimentalSidebarNavigationIcon, ExperimentalSidebarNavigationIconProps, ExperimentalSidebarNavigationItem, ExperimentalSidebarNavigationProps, ExperimentalSidebarNavigationRegistration, ExperimentalSidebarNavigationShortcut, ExperimentalSidebarNavigationSplit, ExperimentalSidebarNavigationSplitOptions, ExperimentalSidebarNavigationState, 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, 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, PluginSidebarThreadActions, PluginSidebarThreadActivity, PluginSidebarThreadDraftState, PluginSidebarThreadIndicator, PluginSidebarThreadPullRequestState, PluginSidebarThreadRowStatus, PluginSidebarThreadShortcut, PluginSidebarThreadSplit, PluginSidebarThreadsState, PluginSourceCodeRendererProps, PluginSourceCodeRendererRegistration, PluginStatusApi, PluginStorage, PluginTargetedPanelActionOpenOptions, PluginThreadEventHandler, PluginThreadEventName, PluginThreadEventPayloads, PluginThreadHeaderActionProps, PluginThreadHeaderActionRegistration, PluginThreadListProps, PluginThreadListRegistration, PluginThreadPanelActionContext, PluginThreadPanelActionRegistration, PluginThreadPanelProps, PluginThreadTitleProps, PluginTimelineRendererProps, PluginTimelineRendererRegistration, PluginTimelineRendererRow, PluginTimelineRowPresentation, PluginTimelineRowStatus, PluginTurnFailedEvent, PluginUi, ReadonlyJsonValue, ServerAccessGrant, ServerAccessProviderDeclaration, SourceCodeLineRange, SourceCodeProps, StandardSchemaV1, StandardSchemaV1InferInput, StandardSchemaV1InferOutput, StandardSchemaV1Issue, StandardSchemaV1Result, ThreadChatMessageAction, ThreadChatMessageReference, ThreadChatProps, UrlLinkProps, UseBranchesArgs, UseCheckoutStateArgs };
|