@get-bb/plugin-sdk 0.6.15 → 0.6.19
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 +647 -4
- 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 +647 -4
- package/dist/host.js +5 -0
- package/dist/internal/composer-handle.js +19 -7
- package/dist/provider-bridge-acp.js +101 -21
- package/dist/provider-bridge-testing.js +7 -8
- package/dist/provider-bridge-worker-entry.mjs +5 -0
- package/dist/provider-bridge.js +9 -0
- package/dist/testing/app.js +19 -7
- package/package.json +1 -1
|
@@ -247,6 +247,7 @@ declare const appKeybindingOverridesSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
247
247
|
"pane.focus.up": "pane.focus.up";
|
|
248
248
|
"pane.maximize.toggle": "pane.maximize.toggle";
|
|
249
249
|
"panel.close": "panel.close";
|
|
250
|
+
"panel.fullScreen.toggle": "panel.fullScreen.toggle";
|
|
250
251
|
"panel.newTab": "panel.newTab";
|
|
251
252
|
"panel.nextNewTabItem": "panel.nextNewTabItem";
|
|
252
253
|
"panel.nextTab": "panel.nextTab";
|
|
@@ -537,11 +538,13 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
537
538
|
|
|
538
539
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
539
540
|
changelogPreview: "changelogPreview";
|
|
541
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
540
542
|
serverMove: "serverMove";
|
|
541
543
|
}>, z$1.ZodBoolean>;
|
|
542
544
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
543
545
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
544
546
|
changelogPreview: "changelogPreview";
|
|
547
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
545
548
|
serverMove: "serverMove";
|
|
546
549
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
547
550
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
@@ -2922,16 +2925,20 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2922
2925
|
"agent-only": "agent-only";
|
|
2923
2926
|
}>>;
|
|
2924
2927
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2928
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
2925
2929
|
path: z$1.ZodString;
|
|
2930
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
2926
2931
|
type: z$1.ZodLiteral<"localImage">;
|
|
2927
2932
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2928
2933
|
"agent-only": "agent-only";
|
|
2929
2934
|
}>>;
|
|
2930
2935
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2936
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
2931
2937
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
2932
2938
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
2933
2939
|
path: z$1.ZodString;
|
|
2934
2940
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2941
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
2935
2942
|
type: z$1.ZodLiteral<"localFile">;
|
|
2936
2943
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2937
2944
|
"agent-only": "agent-only";
|
|
@@ -3004,16 +3011,20 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3004
3011
|
"agent-only": "agent-only";
|
|
3005
3012
|
}>>;
|
|
3006
3013
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3014
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3007
3015
|
path: z$1.ZodString;
|
|
3016
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3008
3017
|
type: z$1.ZodLiteral<"localImage">;
|
|
3009
3018
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3010
3019
|
"agent-only": "agent-only";
|
|
3011
3020
|
}>>;
|
|
3012
3021
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3022
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3013
3023
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
3014
3024
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
3015
3025
|
path: z$1.ZodString;
|
|
3016
3026
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3027
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3017
3028
|
type: z$1.ZodLiteral<"localFile">;
|
|
3018
3029
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3019
3030
|
"agent-only": "agent-only";
|
|
@@ -3978,16 +3989,20 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
3978
3989
|
"agent-only": "agent-only";
|
|
3979
3990
|
}>>;
|
|
3980
3991
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3992
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3981
3993
|
path: z$1.ZodString;
|
|
3994
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3982
3995
|
type: z$1.ZodLiteral<"localImage">;
|
|
3983
3996
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3984
3997
|
"agent-only": "agent-only";
|
|
3985
3998
|
}>>;
|
|
3986
3999
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4000
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3987
4001
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
3988
4002
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
3989
4003
|
path: z$1.ZodString;
|
|
3990
4004
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4005
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3991
4006
|
type: z$1.ZodLiteral<"localFile">;
|
|
3992
4007
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3993
4008
|
"agent-only": "agent-only";
|
|
@@ -4280,16 +4295,20 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4280
4295
|
"agent-only": "agent-only";
|
|
4281
4296
|
}>>;
|
|
4282
4297
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4298
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4283
4299
|
path: z$1.ZodString;
|
|
4300
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4284
4301
|
type: z$1.ZodLiteral<"localImage">;
|
|
4285
4302
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4286
4303
|
"agent-only": "agent-only";
|
|
4287
4304
|
}>>;
|
|
4288
4305
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4306
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4289
4307
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4290
4308
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4291
4309
|
path: z$1.ZodString;
|
|
4292
4310
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4311
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4293
4312
|
type: z$1.ZodLiteral<"localFile">;
|
|
4294
4313
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4295
4314
|
"agent-only": "agent-only";
|
|
@@ -4698,16 +4717,20 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
4698
4717
|
"agent-only": "agent-only";
|
|
4699
4718
|
}>>;
|
|
4700
4719
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4720
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4701
4721
|
path: z$1.ZodString;
|
|
4722
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4702
4723
|
type: z$1.ZodLiteral<"localImage">;
|
|
4703
4724
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4704
4725
|
"agent-only": "agent-only";
|
|
4705
4726
|
}>>;
|
|
4706
4727
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4728
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4707
4729
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4708
4730
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4709
4731
|
path: z$1.ZodString;
|
|
4710
4732
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4733
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4711
4734
|
type: z$1.ZodLiteral<"localFile">;
|
|
4712
4735
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4713
4736
|
"agent-only": "agent-only";
|
|
@@ -5158,6 +5181,7 @@ declare const uploadedPromptAttachmentSchema: z$1.ZodObject<{
|
|
|
5158
5181
|
name: z$1.ZodString;
|
|
5159
5182
|
path: z$1.ZodString;
|
|
5160
5183
|
sizeBytes: z$1.ZodNumber;
|
|
5184
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5161
5185
|
type: z$1.ZodEnum<{
|
|
5162
5186
|
localFile: "localFile";
|
|
5163
5187
|
localImage: "localImage";
|
|
@@ -5246,16 +5270,20 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5246
5270
|
"agent-only": "agent-only";
|
|
5247
5271
|
}>>;
|
|
5248
5272
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5273
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
5249
5274
|
path: z$1.ZodString;
|
|
5275
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5250
5276
|
type: z$1.ZodLiteral<"localImage">;
|
|
5251
5277
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5252
5278
|
"agent-only": "agent-only";
|
|
5253
5279
|
}>>;
|
|
5254
5280
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5281
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
5255
5282
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
5256
5283
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
5257
5284
|
path: z$1.ZodString;
|
|
5258
5285
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
5286
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5259
5287
|
type: z$1.ZodLiteral<"localFile">;
|
|
5260
5288
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5261
5289
|
"agent-only": "agent-only";
|
|
@@ -6383,16 +6411,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6383
6411
|
"agent-only": "agent-only";
|
|
6384
6412
|
}>>;
|
|
6385
6413
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6414
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6386
6415
|
path: z$1.ZodString;
|
|
6416
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6387
6417
|
type: z$1.ZodLiteral<"localImage">;
|
|
6388
6418
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6389
6419
|
"agent-only": "agent-only";
|
|
6390
6420
|
}>>;
|
|
6391
6421
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6422
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6392
6423
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6393
6424
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6394
6425
|
path: z$1.ZodString;
|
|
6395
6426
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6427
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6396
6428
|
type: z$1.ZodLiteral<"localFile">;
|
|
6397
6429
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6398
6430
|
"agent-only": "agent-only";
|
|
@@ -6465,16 +6497,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6465
6497
|
"agent-only": "agent-only";
|
|
6466
6498
|
}>>;
|
|
6467
6499
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6500
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6468
6501
|
path: z$1.ZodString;
|
|
6502
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6469
6503
|
type: z$1.ZodLiteral<"localImage">;
|
|
6470
6504
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6471
6505
|
"agent-only": "agent-only";
|
|
6472
6506
|
}>>;
|
|
6473
6507
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6508
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6474
6509
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6475
6510
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6476
6511
|
path: z$1.ZodString;
|
|
6477
6512
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6513
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6478
6514
|
type: z$1.ZodLiteral<"localFile">;
|
|
6479
6515
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6480
6516
|
"agent-only": "agent-only";
|
|
@@ -6629,16 +6665,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6629
6665
|
"agent-only": "agent-only";
|
|
6630
6666
|
}>>;
|
|
6631
6667
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6668
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6632
6669
|
path: z$1.ZodString;
|
|
6670
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6633
6671
|
type: z$1.ZodLiteral<"localImage">;
|
|
6634
6672
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6635
6673
|
"agent-only": "agent-only";
|
|
6636
6674
|
}>>;
|
|
6637
6675
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6676
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6638
6677
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6639
6678
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6640
6679
|
path: z$1.ZodString;
|
|
6641
6680
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6681
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6642
6682
|
type: z$1.ZodLiteral<"localFile">;
|
|
6643
6683
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6644
6684
|
"agent-only": "agent-only";
|
|
@@ -6711,16 +6751,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6711
6751
|
"agent-only": "agent-only";
|
|
6712
6752
|
}>>;
|
|
6713
6753
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6754
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6714
6755
|
path: z$1.ZodString;
|
|
6756
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6715
6757
|
type: z$1.ZodLiteral<"localImage">;
|
|
6716
6758
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6717
6759
|
"agent-only": "agent-only";
|
|
6718
6760
|
}>>;
|
|
6719
6761
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6762
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6720
6763
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6721
6764
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6722
6765
|
path: z$1.ZodString;
|
|
6723
6766
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6767
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6724
6768
|
type: z$1.ZodLiteral<"localFile">;
|
|
6725
6769
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6726
6770
|
"agent-only": "agent-only";
|
|
@@ -9580,6 +9624,7 @@ declare const pluginCatalogSearchResponseSchema: z$1.ZodObject<{
|
|
|
9580
9624
|
iconUrl: z$1.ZodNullable<z$1.ZodString>;
|
|
9581
9625
|
incompatibleReason: z$1.ZodNullable<z$1.ZodString>;
|
|
9582
9626
|
installed: z$1.ZodBoolean;
|
|
9627
|
+
installedByDefault: z$1.ZodDefault<z$1.ZodBoolean>;
|
|
9583
9628
|
installs: z$1.ZodDefault<z$1.ZodNullable<z$1.ZodNumber>>;
|
|
9584
9629
|
marketplace: z$1.ZodString;
|
|
9585
9630
|
marketplaceDisplayName: z$1.ZodString;
|
|
@@ -10100,6 +10145,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10100
10145
|
"pane.focus.up": "pane.focus.up";
|
|
10101
10146
|
"pane.maximize.toggle": "pane.maximize.toggle";
|
|
10102
10147
|
"panel.close": "panel.close";
|
|
10148
|
+
"panel.fullScreen.toggle": "panel.fullScreen.toggle";
|
|
10103
10149
|
"panel.newTab": "panel.newTab";
|
|
10104
10150
|
"panel.nextNewTabItem": "panel.nextNewTabItem";
|
|
10105
10151
|
"panel.nextTab": "panel.nextTab";
|
|
@@ -10185,6 +10231,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10185
10231
|
}, z$1.core.$strict>>;
|
|
10186
10232
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10187
10233
|
changelogPreview: "changelogPreview";
|
|
10234
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
10188
10235
|
serverMove: "serverMove";
|
|
10189
10236
|
}>, z$1.ZodBoolean>;
|
|
10190
10237
|
featureFlags: z$1.ZodObject<{
|
|
@@ -10249,6 +10296,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10249
10296
|
"pane.focus.up": "pane.focus.up";
|
|
10250
10297
|
"pane.maximize.toggle": "pane.maximize.toggle";
|
|
10251
10298
|
"panel.close": "panel.close";
|
|
10299
|
+
"panel.fullScreen.toggle": "panel.fullScreen.toggle";
|
|
10252
10300
|
"panel.newTab": "panel.newTab";
|
|
10253
10301
|
"panel.nextNewTabItem": "panel.nextNewTabItem";
|
|
10254
10302
|
"panel.nextTab": "panel.nextTab";
|
|
@@ -10341,6 +10389,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10341
10389
|
"pane.focus.up": "pane.focus.up";
|
|
10342
10390
|
"pane.maximize.toggle": "pane.maximize.toggle";
|
|
10343
10391
|
"panel.close": "panel.close";
|
|
10392
|
+
"panel.fullScreen.toggle": "panel.fullScreen.toggle";
|
|
10344
10393
|
"panel.newTab": "panel.newTab";
|
|
10345
10394
|
"panel.nextNewTabItem": "panel.nextNewTabItem";
|
|
10346
10395
|
"panel.nextTab": "panel.nextTab";
|
|
@@ -10425,6 +10474,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10425
10474
|
}, z$1.core.$strict>;
|
|
10426
10475
|
}, z$1.core.$strict>>;
|
|
10427
10476
|
localHelperPorts: z$1.ZodArray<z$1.ZodNumber>;
|
|
10477
|
+
performanceDiagnosticsAvailable: z$1.ZodBoolean;
|
|
10428
10478
|
pluginThemes: z$1.ZodArray<z$1.ZodObject<{
|
|
10429
10479
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
10430
10480
|
id: z$1.ZodString;
|
|
@@ -10503,7 +10553,13 @@ declare const themeCatalogResponseSchema: z$1.ZodObject<{
|
|
|
10503
10553
|
}, z$1.core.$strip>;
|
|
10504
10554
|
type ThemeCatalogResponse = z$1.infer<typeof themeCatalogResponseSchema>;
|
|
10505
10555
|
declare const systemVersionResponseSchema: z$1.ZodObject<{
|
|
10556
|
+
currentCommit: z$1.ZodNullable<z$1.ZodString>;
|
|
10506
10557
|
currentVersion: z$1.ZodString;
|
|
10558
|
+
installKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10559
|
+
desktop: "desktop";
|
|
10560
|
+
npm: "npm";
|
|
10561
|
+
source: "source";
|
|
10562
|
+
}>>;
|
|
10507
10563
|
isDevelopment: z$1.ZodBoolean;
|
|
10508
10564
|
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
10509
10565
|
source: z$1.ZodLiteral<"npm">;
|
|
@@ -11032,6 +11088,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11032
11088
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
11033
11089
|
start: z$1.ZodNumber;
|
|
11034
11090
|
}, z$1.core.$strip>>;
|
|
11091
|
+
messageSeq: z$1.ZodNumber;
|
|
11035
11092
|
role: z$1.ZodLiteral<"user">;
|
|
11036
11093
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
11037
11094
|
sourceSeqEnd: z$1.ZodNumber;
|
|
@@ -11121,6 +11178,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11121
11178
|
createdAt: z$1.ZodNumber;
|
|
11122
11179
|
id: z$1.ZodString;
|
|
11123
11180
|
kind: z$1.ZodLiteral<"conversation">;
|
|
11181
|
+
messageSeq: z$1.ZodNumber;
|
|
11124
11182
|
role: z$1.ZodLiteral<"assistant">;
|
|
11125
11183
|
sourceSeqEnd: z$1.ZodNumber;
|
|
11126
11184
|
sourceSeqStart: z$1.ZodNumber;
|
|
@@ -12252,16 +12310,20 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12252
12310
|
"agent-only": "agent-only";
|
|
12253
12311
|
}>>;
|
|
12254
12312
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12313
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12255
12314
|
path: z$1.ZodString;
|
|
12315
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12256
12316
|
type: z$1.ZodLiteral<"localImage">;
|
|
12257
12317
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12258
12318
|
"agent-only": "agent-only";
|
|
12259
12319
|
}>>;
|
|
12260
12320
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12321
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12261
12322
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12262
12323
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12263
12324
|
path: z$1.ZodString;
|
|
12264
12325
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12326
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12265
12327
|
type: z$1.ZodLiteral<"localFile">;
|
|
12266
12328
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12267
12329
|
"agent-only": "agent-only";
|
|
@@ -12390,16 +12452,20 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12390
12452
|
"agent-only": "agent-only";
|
|
12391
12453
|
}>>;
|
|
12392
12454
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12455
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12393
12456
|
path: z$1.ZodString;
|
|
12457
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12394
12458
|
type: z$1.ZodLiteral<"localImage">;
|
|
12395
12459
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12396
12460
|
"agent-only": "agent-only";
|
|
12397
12461
|
}>>;
|
|
12398
12462
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12463
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12399
12464
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12400
12465
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12401
12466
|
path: z$1.ZodString;
|
|
12402
12467
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12468
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12403
12469
|
type: z$1.ZodLiteral<"localFile">;
|
|
12404
12470
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12405
12471
|
"agent-only": "agent-only";
|
|
@@ -12516,16 +12582,20 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12516
12582
|
"agent-only": "agent-only";
|
|
12517
12583
|
}>>;
|
|
12518
12584
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12585
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12519
12586
|
path: z$1.ZodString;
|
|
12587
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12520
12588
|
type: z$1.ZodLiteral<"localImage">;
|
|
12521
12589
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12522
12590
|
"agent-only": "agent-only";
|
|
12523
12591
|
}>>;
|
|
12524
12592
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12593
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12525
12594
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12526
12595
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12527
12596
|
path: z$1.ZodString;
|
|
12528
12597
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12598
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12529
12599
|
type: z$1.ZodLiteral<"localFile">;
|
|
12530
12600
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12531
12601
|
"agent-only": "agent-only";
|
|
@@ -12640,16 +12710,20 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
12640
12710
|
"agent-only": "agent-only";
|
|
12641
12711
|
}>>;
|
|
12642
12712
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12713
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12643
12714
|
path: z$1.ZodString;
|
|
12715
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12644
12716
|
type: z$1.ZodLiteral<"localImage">;
|
|
12645
12717
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12646
12718
|
"agent-only": "agent-only";
|
|
12647
12719
|
}>>;
|
|
12648
12720
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12721
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12649
12722
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12650
12723
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12651
12724
|
path: z$1.ZodString;
|
|
12652
12725
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12726
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12653
12727
|
type: z$1.ZodLiteral<"localFile">;
|
|
12654
12728
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12655
12729
|
"agent-only": "agent-only";
|
|
@@ -12766,16 +12840,20 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
12766
12840
|
"agent-only": "agent-only";
|
|
12767
12841
|
}>>;
|
|
12768
12842
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12843
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12769
12844
|
path: z$1.ZodString;
|
|
12845
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12770
12846
|
type: z$1.ZodLiteral<"localImage">;
|
|
12771
12847
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12772
12848
|
"agent-only": "agent-only";
|
|
12773
12849
|
}>>;
|
|
12774
12850
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12851
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12775
12852
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12776
12853
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12777
12854
|
path: z$1.ZodString;
|
|
12778
12855
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12856
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12779
12857
|
type: z$1.ZodLiteral<"localFile">;
|
|
12780
12858
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12781
12859
|
"agent-only": "agent-only";
|
|
@@ -12937,16 +13015,20 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
12937
13015
|
"agent-only": "agent-only";
|
|
12938
13016
|
}>>;
|
|
12939
13017
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13018
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12940
13019
|
path: z$1.ZodString;
|
|
13020
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12941
13021
|
type: z$1.ZodLiteral<"localImage">;
|
|
12942
13022
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12943
13023
|
"agent-only": "agent-only";
|
|
12944
13024
|
}>>;
|
|
12945
13025
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13026
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12946
13027
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12947
13028
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12948
13029
|
path: z$1.ZodString;
|
|
12949
13030
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13031
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12950
13032
|
type: z$1.ZodLiteral<"localFile">;
|
|
12951
13033
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12952
13034
|
"agent-only": "agent-only";
|
|
@@ -13106,16 +13188,20 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13106
13188
|
"agent-only": "agent-only";
|
|
13107
13189
|
}>>;
|
|
13108
13190
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13191
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13109
13192
|
path: z$1.ZodString;
|
|
13193
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13110
13194
|
type: z$1.ZodLiteral<"localImage">;
|
|
13111
13195
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13112
13196
|
"agent-only": "agent-only";
|
|
13113
13197
|
}>>;
|
|
13114
13198
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13199
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13115
13200
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13116
13201
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13117
13202
|
path: z$1.ZodString;
|
|
13118
13203
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13204
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13119
13205
|
type: z$1.ZodLiteral<"localFile">;
|
|
13120
13206
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13121
13207
|
"agent-only": "agent-only";
|
|
@@ -13210,16 +13296,20 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13210
13296
|
"agent-only": "agent-only";
|
|
13211
13297
|
}>>;
|
|
13212
13298
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13299
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13213
13300
|
path: z$1.ZodString;
|
|
13301
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13214
13302
|
type: z$1.ZodLiteral<"localImage">;
|
|
13215
13303
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13216
13304
|
"agent-only": "agent-only";
|
|
13217
13305
|
}>>;
|
|
13218
13306
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13307
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13219
13308
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13220
13309
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13221
13310
|
path: z$1.ZodString;
|
|
13222
13311
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13312
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13223
13313
|
type: z$1.ZodLiteral<"localFile">;
|
|
13224
13314
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13225
13315
|
"agent-only": "agent-only";
|
|
@@ -13319,16 +13409,20 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13319
13409
|
"agent-only": "agent-only";
|
|
13320
13410
|
}>>;
|
|
13321
13411
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13412
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13322
13413
|
path: z$1.ZodString;
|
|
13414
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13323
13415
|
type: z$1.ZodLiteral<"localImage">;
|
|
13324
13416
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13325
13417
|
"agent-only": "agent-only";
|
|
13326
13418
|
}>>;
|
|
13327
13419
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13420
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13328
13421
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13329
13422
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13330
13423
|
path: z$1.ZodString;
|
|
13331
13424
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13425
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13332
13426
|
type: z$1.ZodLiteral<"localFile">;
|
|
13333
13427
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13334
13428
|
"agent-only": "agent-only";
|
|
@@ -14246,16 +14340,20 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14246
14340
|
"agent-only": "agent-only";
|
|
14247
14341
|
}>>;
|
|
14248
14342
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14343
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
14249
14344
|
path: z$1.ZodString;
|
|
14345
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14250
14346
|
type: z$1.ZodLiteral<"localImage">;
|
|
14251
14347
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14252
14348
|
"agent-only": "agent-only";
|
|
14253
14349
|
}>>;
|
|
14254
14350
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14351
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
14255
14352
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
14256
14353
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
14257
14354
|
path: z$1.ZodString;
|
|
14258
14355
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14356
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14259
14357
|
type: z$1.ZodLiteral<"localFile">;
|
|
14260
14358
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14261
14359
|
"agent-only": "agent-only";
|
|
@@ -14489,6 +14587,522 @@ declare const timelineTurnSummaryDetailsQuerySchema: z$1.ZodObject<{
|
|
|
14489
14587
|
turnId: z$1.ZodString;
|
|
14490
14588
|
}, z$1.core.$strip>;
|
|
14491
14589
|
type TimelineTurnSummaryDetailsQuery = z$1.infer<typeof timelineTurnSummaryDetailsQuerySchema>;
|
|
14590
|
+
declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
14591
|
+
after: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14592
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14593
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14594
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14595
|
+
localFiles: z$1.ZodNumber;
|
|
14596
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14597
|
+
localImages: z$1.ZodNumber;
|
|
14598
|
+
webImages: z$1.ZodNumber;
|
|
14599
|
+
}, z$1.core.$strip>>;
|
|
14600
|
+
createdAt: z$1.ZodNumber;
|
|
14601
|
+
id: z$1.ZodString;
|
|
14602
|
+
initiator: z$1.ZodEnum<{
|
|
14603
|
+
agent: "agent";
|
|
14604
|
+
system: "system";
|
|
14605
|
+
user: "user";
|
|
14606
|
+
}>;
|
|
14607
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14608
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14609
|
+
end: z$1.ZodNumber;
|
|
14610
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14611
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14612
|
+
label: z$1.ZodString;
|
|
14613
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14614
|
+
threadId: z$1.ZodString;
|
|
14615
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14616
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14617
|
+
label: z$1.ZodString;
|
|
14618
|
+
projectId: z$1.ZodString;
|
|
14619
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14620
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14621
|
+
label: z$1.ZodString;
|
|
14622
|
+
sectionId: z$1.ZodString;
|
|
14623
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14624
|
+
entryKind: z$1.ZodEnum<{
|
|
14625
|
+
directory: "directory";
|
|
14626
|
+
file: "file";
|
|
14627
|
+
}>;
|
|
14628
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14629
|
+
label: z$1.ZodString;
|
|
14630
|
+
path: z$1.ZodString;
|
|
14631
|
+
source: z$1.ZodEnum<{
|
|
14632
|
+
"thread-storage": "thread-storage";
|
|
14633
|
+
workspace: "workspace";
|
|
14634
|
+
}>;
|
|
14635
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14636
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14637
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14638
|
+
label: z$1.ZodString;
|
|
14639
|
+
name: z$1.ZodString;
|
|
14640
|
+
origin: z$1.ZodEnum<{
|
|
14641
|
+
builtin: "builtin";
|
|
14642
|
+
project: "project";
|
|
14643
|
+
user: "user";
|
|
14644
|
+
}>;
|
|
14645
|
+
source: z$1.ZodEnum<{
|
|
14646
|
+
command: "command";
|
|
14647
|
+
skill: "skill";
|
|
14648
|
+
}>;
|
|
14649
|
+
trigger: z$1.ZodEnum<{
|
|
14650
|
+
"/": "/";
|
|
14651
|
+
$: "$";
|
|
14652
|
+
}>;
|
|
14653
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14654
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14655
|
+
itemId: z$1.ZodString;
|
|
14656
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14657
|
+
label: z$1.ZodString;
|
|
14658
|
+
pluginId: z$1.ZodString;
|
|
14659
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14660
|
+
start: z$1.ZodNumber;
|
|
14661
|
+
}, z$1.core.$strip>>;
|
|
14662
|
+
messageSeq: z$1.ZodNumber;
|
|
14663
|
+
role: z$1.ZodLiteral<"user">;
|
|
14664
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14665
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14666
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14667
|
+
startedAt: z$1.ZodNumber;
|
|
14668
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
14669
|
+
"child-completed": "child-completed";
|
|
14670
|
+
"child-failed": "child-failed";
|
|
14671
|
+
"child-interrupted": "child-interrupted";
|
|
14672
|
+
"child-needs-attention": "child-needs-attention";
|
|
14673
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14674
|
+
"ownership-assigned": "ownership-assigned";
|
|
14675
|
+
"ownership-removed": "ownership-removed";
|
|
14676
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14677
|
+
unlabeled: "unlabeled";
|
|
14678
|
+
}>;
|
|
14679
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14680
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14681
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14682
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14683
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14684
|
+
reason: z$1.ZodEnum<{
|
|
14685
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14686
|
+
"host-removed": "host-removed";
|
|
14687
|
+
"manual-stop": "manual-stop";
|
|
14688
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14689
|
+
}>;
|
|
14690
|
+
}, z$1.core.$strip>>;
|
|
14691
|
+
status: z$1.ZodEnum<{
|
|
14692
|
+
completed: "completed";
|
|
14693
|
+
failed: "failed";
|
|
14694
|
+
interrupted: "interrupted";
|
|
14695
|
+
}>;
|
|
14696
|
+
threadId: z$1.ZodString;
|
|
14697
|
+
}, z$1.core.$strip>>>;
|
|
14698
|
+
threadId: z$1.ZodString;
|
|
14699
|
+
threadName: z$1.ZodString;
|
|
14700
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14701
|
+
count: z$1.ZodNumber;
|
|
14702
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
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
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14721
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14722
|
+
suppress: z$1.ZodBoolean;
|
|
14723
|
+
toolName: z$1.ZodString;
|
|
14724
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14725
|
+
text: z$1.ZodString;
|
|
14726
|
+
threadId: z$1.ZodString;
|
|
14727
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14728
|
+
turnRequest: z$1.ZodObject<{
|
|
14729
|
+
isGrouped: z$1.ZodBoolean;
|
|
14730
|
+
kind: z$1.ZodEnum<{
|
|
14731
|
+
message: "message";
|
|
14732
|
+
steer: "steer";
|
|
14733
|
+
}>;
|
|
14734
|
+
status: z$1.ZodEnum<{
|
|
14735
|
+
accepted: "accepted";
|
|
14736
|
+
pending: "pending";
|
|
14737
|
+
rejected: "rejected";
|
|
14738
|
+
}>;
|
|
14739
|
+
}, z$1.core.$strip>;
|
|
14740
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14741
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14742
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14743
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14744
|
+
localFiles: z$1.ZodNumber;
|
|
14745
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14746
|
+
localImages: z$1.ZodNumber;
|
|
14747
|
+
webImages: z$1.ZodNumber;
|
|
14748
|
+
}, z$1.core.$strip>>;
|
|
14749
|
+
createdAt: z$1.ZodNumber;
|
|
14750
|
+
id: z$1.ZodString;
|
|
14751
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14752
|
+
messageSeq: z$1.ZodNumber;
|
|
14753
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
14754
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14755
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14756
|
+
startedAt: z$1.ZodNumber;
|
|
14757
|
+
text: z$1.ZodString;
|
|
14758
|
+
threadId: z$1.ZodString;
|
|
14759
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14760
|
+
turnRequest: z$1.ZodNull;
|
|
14761
|
+
}, z$1.core.$strip>], "role">>;
|
|
14762
|
+
before: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[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
|
+
initiator: z$1.ZodEnum<{
|
|
14774
|
+
agent: "agent";
|
|
14775
|
+
system: "system";
|
|
14776
|
+
user: "user";
|
|
14777
|
+
}>;
|
|
14778
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14779
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14780
|
+
end: z$1.ZodNumber;
|
|
14781
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14782
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14783
|
+
label: z$1.ZodString;
|
|
14784
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14785
|
+
threadId: z$1.ZodString;
|
|
14786
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14787
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14788
|
+
label: z$1.ZodString;
|
|
14789
|
+
projectId: z$1.ZodString;
|
|
14790
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14791
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14792
|
+
label: z$1.ZodString;
|
|
14793
|
+
sectionId: z$1.ZodString;
|
|
14794
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14795
|
+
entryKind: z$1.ZodEnum<{
|
|
14796
|
+
directory: "directory";
|
|
14797
|
+
file: "file";
|
|
14798
|
+
}>;
|
|
14799
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14800
|
+
label: z$1.ZodString;
|
|
14801
|
+
path: z$1.ZodString;
|
|
14802
|
+
source: z$1.ZodEnum<{
|
|
14803
|
+
"thread-storage": "thread-storage";
|
|
14804
|
+
workspace: "workspace";
|
|
14805
|
+
}>;
|
|
14806
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14807
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14808
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14809
|
+
label: z$1.ZodString;
|
|
14810
|
+
name: z$1.ZodString;
|
|
14811
|
+
origin: z$1.ZodEnum<{
|
|
14812
|
+
builtin: "builtin";
|
|
14813
|
+
project: "project";
|
|
14814
|
+
user: "user";
|
|
14815
|
+
}>;
|
|
14816
|
+
source: z$1.ZodEnum<{
|
|
14817
|
+
command: "command";
|
|
14818
|
+
skill: "skill";
|
|
14819
|
+
}>;
|
|
14820
|
+
trigger: z$1.ZodEnum<{
|
|
14821
|
+
"/": "/";
|
|
14822
|
+
$: "$";
|
|
14823
|
+
}>;
|
|
14824
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14825
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14826
|
+
itemId: z$1.ZodString;
|
|
14827
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14828
|
+
label: z$1.ZodString;
|
|
14829
|
+
pluginId: z$1.ZodString;
|
|
14830
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14831
|
+
start: z$1.ZodNumber;
|
|
14832
|
+
}, z$1.core.$strip>>;
|
|
14833
|
+
messageSeq: z$1.ZodNumber;
|
|
14834
|
+
role: z$1.ZodLiteral<"user">;
|
|
14835
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14836
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14837
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14838
|
+
startedAt: z$1.ZodNumber;
|
|
14839
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
14840
|
+
"child-completed": "child-completed";
|
|
14841
|
+
"child-failed": "child-failed";
|
|
14842
|
+
"child-interrupted": "child-interrupted";
|
|
14843
|
+
"child-needs-attention": "child-needs-attention";
|
|
14844
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14845
|
+
"ownership-assigned": "ownership-assigned";
|
|
14846
|
+
"ownership-removed": "ownership-removed";
|
|
14847
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14848
|
+
unlabeled: "unlabeled";
|
|
14849
|
+
}>;
|
|
14850
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14851
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14852
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14853
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14854
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14855
|
+
reason: z$1.ZodEnum<{
|
|
14856
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14857
|
+
"host-removed": "host-removed";
|
|
14858
|
+
"manual-stop": "manual-stop";
|
|
14859
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14860
|
+
}>;
|
|
14861
|
+
}, z$1.core.$strip>>;
|
|
14862
|
+
status: z$1.ZodEnum<{
|
|
14863
|
+
completed: "completed";
|
|
14864
|
+
failed: "failed";
|
|
14865
|
+
interrupted: "interrupted";
|
|
14866
|
+
}>;
|
|
14867
|
+
threadId: z$1.ZodString;
|
|
14868
|
+
}, z$1.core.$strip>>>;
|
|
14869
|
+
threadId: z$1.ZodString;
|
|
14870
|
+
threadName: z$1.ZodString;
|
|
14871
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14872
|
+
count: z$1.ZodNumber;
|
|
14873
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
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
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14892
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14893
|
+
suppress: z$1.ZodBoolean;
|
|
14894
|
+
toolName: z$1.ZodString;
|
|
14895
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14896
|
+
text: z$1.ZodString;
|
|
14897
|
+
threadId: z$1.ZodString;
|
|
14898
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14899
|
+
turnRequest: z$1.ZodObject<{
|
|
14900
|
+
isGrouped: z$1.ZodBoolean;
|
|
14901
|
+
kind: z$1.ZodEnum<{
|
|
14902
|
+
message: "message";
|
|
14903
|
+
steer: "steer";
|
|
14904
|
+
}>;
|
|
14905
|
+
status: z$1.ZodEnum<{
|
|
14906
|
+
accepted: "accepted";
|
|
14907
|
+
pending: "pending";
|
|
14908
|
+
rejected: "rejected";
|
|
14909
|
+
}>;
|
|
14910
|
+
}, z$1.core.$strip>;
|
|
14911
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14912
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14913
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14914
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14915
|
+
localFiles: z$1.ZodNumber;
|
|
14916
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14917
|
+
localImages: z$1.ZodNumber;
|
|
14918
|
+
webImages: z$1.ZodNumber;
|
|
14919
|
+
}, z$1.core.$strip>>;
|
|
14920
|
+
createdAt: z$1.ZodNumber;
|
|
14921
|
+
id: z$1.ZodString;
|
|
14922
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14923
|
+
messageSeq: z$1.ZodNumber;
|
|
14924
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
14925
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14926
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14927
|
+
startedAt: z$1.ZodNumber;
|
|
14928
|
+
text: z$1.ZodString;
|
|
14929
|
+
threadId: z$1.ZodString;
|
|
14930
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14931
|
+
turnRequest: z$1.ZodNull;
|
|
14932
|
+
}, z$1.core.$strip>], "role">>;
|
|
14933
|
+
message: z$1.ZodDiscriminatedUnion<[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
|
+
initiator: z$1.ZodEnum<{
|
|
14945
|
+
agent: "agent";
|
|
14946
|
+
system: "system";
|
|
14947
|
+
user: "user";
|
|
14948
|
+
}>;
|
|
14949
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14950
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14951
|
+
end: z$1.ZodNumber;
|
|
14952
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14953
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14954
|
+
label: z$1.ZodString;
|
|
14955
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14956
|
+
threadId: z$1.ZodString;
|
|
14957
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14958
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14959
|
+
label: z$1.ZodString;
|
|
14960
|
+
projectId: z$1.ZodString;
|
|
14961
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14962
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14963
|
+
label: z$1.ZodString;
|
|
14964
|
+
sectionId: z$1.ZodString;
|
|
14965
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14966
|
+
entryKind: z$1.ZodEnum<{
|
|
14967
|
+
directory: "directory";
|
|
14968
|
+
file: "file";
|
|
14969
|
+
}>;
|
|
14970
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14971
|
+
label: z$1.ZodString;
|
|
14972
|
+
path: z$1.ZodString;
|
|
14973
|
+
source: z$1.ZodEnum<{
|
|
14974
|
+
"thread-storage": "thread-storage";
|
|
14975
|
+
workspace: "workspace";
|
|
14976
|
+
}>;
|
|
14977
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14978
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14979
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14980
|
+
label: z$1.ZodString;
|
|
14981
|
+
name: z$1.ZodString;
|
|
14982
|
+
origin: z$1.ZodEnum<{
|
|
14983
|
+
builtin: "builtin";
|
|
14984
|
+
project: "project";
|
|
14985
|
+
user: "user";
|
|
14986
|
+
}>;
|
|
14987
|
+
source: z$1.ZodEnum<{
|
|
14988
|
+
command: "command";
|
|
14989
|
+
skill: "skill";
|
|
14990
|
+
}>;
|
|
14991
|
+
trigger: z$1.ZodEnum<{
|
|
14992
|
+
"/": "/";
|
|
14993
|
+
$: "$";
|
|
14994
|
+
}>;
|
|
14995
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14996
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14997
|
+
itemId: z$1.ZodString;
|
|
14998
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14999
|
+
label: z$1.ZodString;
|
|
15000
|
+
pluginId: z$1.ZodString;
|
|
15001
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15002
|
+
start: z$1.ZodNumber;
|
|
15003
|
+
}, z$1.core.$strip>>;
|
|
15004
|
+
messageSeq: z$1.ZodNumber;
|
|
15005
|
+
role: z$1.ZodLiteral<"user">;
|
|
15006
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
15007
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15008
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15009
|
+
startedAt: z$1.ZodNumber;
|
|
15010
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
15011
|
+
"child-completed": "child-completed";
|
|
15012
|
+
"child-failed": "child-failed";
|
|
15013
|
+
"child-interrupted": "child-interrupted";
|
|
15014
|
+
"child-needs-attention": "child-needs-attention";
|
|
15015
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
15016
|
+
"ownership-assigned": "ownership-assigned";
|
|
15017
|
+
"ownership-removed": "ownership-removed";
|
|
15018
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
15019
|
+
unlabeled: "unlabeled";
|
|
15020
|
+
}>;
|
|
15021
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15022
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
15023
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15024
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15025
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15026
|
+
reason: z$1.ZodEnum<{
|
|
15027
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15028
|
+
"host-removed": "host-removed";
|
|
15029
|
+
"manual-stop": "manual-stop";
|
|
15030
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15031
|
+
}>;
|
|
15032
|
+
}, z$1.core.$strip>>;
|
|
15033
|
+
status: z$1.ZodEnum<{
|
|
15034
|
+
completed: "completed";
|
|
15035
|
+
failed: "failed";
|
|
15036
|
+
interrupted: "interrupted";
|
|
15037
|
+
}>;
|
|
15038
|
+
threadId: z$1.ZodString;
|
|
15039
|
+
}, z$1.core.$strip>>>;
|
|
15040
|
+
threadId: z$1.ZodString;
|
|
15041
|
+
threadName: z$1.ZodString;
|
|
15042
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15043
|
+
count: z$1.ZodNumber;
|
|
15044
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
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
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15063
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
15064
|
+
suppress: z$1.ZodBoolean;
|
|
15065
|
+
toolName: z$1.ZodString;
|
|
15066
|
+
}, z$1.core.$strip>], "kind">>;
|
|
15067
|
+
text: z$1.ZodString;
|
|
15068
|
+
threadId: z$1.ZodString;
|
|
15069
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15070
|
+
turnRequest: z$1.ZodObject<{
|
|
15071
|
+
isGrouped: z$1.ZodBoolean;
|
|
15072
|
+
kind: z$1.ZodEnum<{
|
|
15073
|
+
message: "message";
|
|
15074
|
+
steer: "steer";
|
|
15075
|
+
}>;
|
|
15076
|
+
status: z$1.ZodEnum<{
|
|
15077
|
+
accepted: "accepted";
|
|
15078
|
+
pending: "pending";
|
|
15079
|
+
rejected: "rejected";
|
|
15080
|
+
}>;
|
|
15081
|
+
}, z$1.core.$strip>;
|
|
15082
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15083
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15084
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15085
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15086
|
+
localFiles: z$1.ZodNumber;
|
|
15087
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15088
|
+
localImages: z$1.ZodNumber;
|
|
15089
|
+
webImages: z$1.ZodNumber;
|
|
15090
|
+
}, z$1.core.$strip>>;
|
|
15091
|
+
createdAt: z$1.ZodNumber;
|
|
15092
|
+
id: z$1.ZodString;
|
|
15093
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
15094
|
+
messageSeq: z$1.ZodNumber;
|
|
15095
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
15096
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15097
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15098
|
+
startedAt: z$1.ZodNumber;
|
|
15099
|
+
text: z$1.ZodString;
|
|
15100
|
+
threadId: z$1.ZodString;
|
|
15101
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15102
|
+
turnRequest: z$1.ZodNull;
|
|
15103
|
+
}, z$1.core.$strip>], "role">;
|
|
15104
|
+
}, z$1.core.$strip>;
|
|
15105
|
+
type ThreadMessageResponse = z$1.infer<typeof threadMessageResponseSchema>;
|
|
14492
15106
|
declare const threadStorageFilesQuerySchema: z$1.ZodObject<{
|
|
14493
15107
|
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
14494
15108
|
query: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -16596,6 +17210,7 @@ type ThreadCountResult = ThreadCountResponse;
|
|
|
16596
17210
|
type ThreadRunningResult = ThreadRunningResponse;
|
|
16597
17211
|
type ThreadListResult = ThreadListResponse;
|
|
16598
17212
|
type ThreadSearchResult = ThreadSearchResponse;
|
|
17213
|
+
type ThreadMessageResult = ThreadMessageResponse;
|
|
16599
17214
|
type ThreadResolveMentionsResult = ResolveThreadMentionsResponse;
|
|
16600
17215
|
interface ThreadOutputResponse {
|
|
16601
17216
|
output: string | null;
|
|
@@ -16807,6 +17422,13 @@ interface ThreadOutputArgs {
|
|
|
16807
17422
|
signal?: AbortSignal;
|
|
16808
17423
|
threadId: string;
|
|
16809
17424
|
}
|
|
17425
|
+
interface ThreadMessageArgs {
|
|
17426
|
+
signal?: AbortSignal;
|
|
17427
|
+
threadId: string;
|
|
17428
|
+
seq: number;
|
|
17429
|
+
before?: number;
|
|
17430
|
+
after?: number;
|
|
17431
|
+
}
|
|
16810
17432
|
interface ThreadInteractionListArgs {
|
|
16811
17433
|
signal?: AbortSignal;
|
|
16812
17434
|
threadId: string;
|
|
@@ -16918,6 +17540,7 @@ interface ThreadsArea {
|
|
|
16918
17540
|
markUnread(args: ThreadActionArgs): Promise<ThreadReadStateResult>;
|
|
16919
17541
|
open(args: ThreadOpenArgs): Promise<ThreadOpenResult>;
|
|
16920
17542
|
paneAction(args: ThreadPaneActionArgs): Promise<ThreadPaneActionResult>;
|
|
17543
|
+
message(args: ThreadMessageArgs): Promise<ThreadMessageResult>;
|
|
16921
17544
|
output(args: ThreadOutputArgs): Promise<ThreadOutputResponse>;
|
|
16922
17545
|
pin(args: ThreadActionArgs): Promise<ThreadMutationResult>;
|
|
16923
17546
|
promptHistory(args: ThreadPromptHistoryArgs): Promise<ThreadPromptHistoryResult>;
|
|
@@ -19206,8 +19829,26 @@ interface ComposerDraft {
|
|
|
19206
19829
|
text: string;
|
|
19207
19830
|
mentions: readonly ComposerMention[];
|
|
19208
19831
|
}
|
|
19209
|
-
/**
|
|
19210
|
-
|
|
19832
|
+
/**
|
|
19833
|
+
* A composer attachment: an uploaded file, optionally owned by another
|
|
19834
|
+
* project, or an absolute path on one machine. Never both.
|
|
19835
|
+
*/
|
|
19836
|
+
type ComposerAttachment = {
|
|
19837
|
+
type: "localFile" | "localImage";
|
|
19838
|
+
path: string;
|
|
19839
|
+
name: string;
|
|
19840
|
+
mimeType?: string;
|
|
19841
|
+
/** 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. */
|
|
19842
|
+
sizeBytes?: number;
|
|
19843
|
+
} & ({
|
|
19844
|
+
/** Project that currently owns this uploaded path; omit for destination-relative attachments. */
|
|
19845
|
+
sourceProjectId?: string;
|
|
19846
|
+
hostId?: never;
|
|
19847
|
+
} | {
|
|
19848
|
+
/** Machine whose absolute `path` this is; core rejects sending it to a thread on another machine. */
|
|
19849
|
+
hostId: string;
|
|
19850
|
+
sourceProjectId?: never;
|
|
19851
|
+
});
|
|
19211
19852
|
/** The complete current draft. Snapshots and their entries are immutable. */
|
|
19212
19853
|
interface ComposerDraftSnapshot extends ComposerDraft {
|
|
19213
19854
|
readonly attachments: readonly ComposerAttachment[];
|
|
@@ -19368,8 +20009,10 @@ interface PluginComposerApi {
|
|
|
19368
20009
|
* an empty list clears them. Does not infer or rebase mention ranges.
|
|
19369
20010
|
* Ranges are non-overlapping UTF-16 offsets into the supplied text.
|
|
19370
20011
|
* Invalid results, throwing updaters, and unavailable editors leave the
|
|
19371
|
-
* draft unchanged.
|
|
19372
|
-
*
|
|
20012
|
+
* draft unchanged. Source project references on uploaded attachments are
|
|
20013
|
+
* preserved; core copies them into the destination project when the draft
|
|
20014
|
+
* is submitted. Does not focus or submit. Use `insert` for insertion at the
|
|
20015
|
+
* editor's cursor.
|
|
19373
20016
|
*/
|
|
19374
20017
|
replace(next: ComposerDraftReplacement | ((current: ComposerDraftSnapshot) => ComposerDraftReplacement)): void;
|
|
19375
20018
|
/**
|