@get-bb/plugin-sdk 0.6.16 → 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 +642 -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 +642 -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 +4 -0
- 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
|
@@ -493,11 +493,13 @@ type Environment = z$1.infer<typeof environmentSchema>;
|
|
|
493
493
|
|
|
494
494
|
declare const experimentsSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
495
495
|
changelogPreview: "changelogPreview";
|
|
496
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
496
497
|
serverMove: "serverMove";
|
|
497
498
|
}>, z$1.ZodBoolean>;
|
|
498
499
|
type Experiments = z$1.infer<typeof experimentsSchema>;
|
|
499
500
|
declare const experimentUpdatesSchema: z$1.ZodRecord<z$1.ZodEnum<{
|
|
500
501
|
changelogPreview: "changelogPreview";
|
|
502
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
501
503
|
serverMove: "serverMove";
|
|
502
504
|
}> & z$1.core.$partial, z$1.ZodBoolean>;
|
|
503
505
|
type ExperimentUpdates = z$1.infer<typeof experimentUpdatesSchema>;
|
|
@@ -2939,16 +2941,20 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
2939
2941
|
"agent-only": "agent-only";
|
|
2940
2942
|
}>>;
|
|
2941
2943
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2944
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
2942
2945
|
path: z$1.ZodString;
|
|
2946
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
2943
2947
|
type: z$1.ZodLiteral<"localImage">;
|
|
2944
2948
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2945
2949
|
"agent-only": "agent-only";
|
|
2946
2950
|
}>>;
|
|
2947
2951
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
2952
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
2948
2953
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
2949
2954
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
2950
2955
|
path: z$1.ZodString;
|
|
2951
2956
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
2957
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
2952
2958
|
type: z$1.ZodLiteral<"localFile">;
|
|
2953
2959
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
2954
2960
|
"agent-only": "agent-only";
|
|
@@ -3021,16 +3027,20 @@ declare const threadEventSchema: z$1.ZodUnion<readonly [z$1.ZodIntersection<z$1.
|
|
|
3021
3027
|
"agent-only": "agent-only";
|
|
3022
3028
|
}>>;
|
|
3023
3029
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3030
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3024
3031
|
path: z$1.ZodString;
|
|
3032
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3025
3033
|
type: z$1.ZodLiteral<"localImage">;
|
|
3026
3034
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3027
3035
|
"agent-only": "agent-only";
|
|
3028
3036
|
}>>;
|
|
3029
3037
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
3038
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
3030
3039
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
3031
3040
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
3032
3041
|
path: z$1.ZodString;
|
|
3033
3042
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
3043
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
3034
3044
|
type: z$1.ZodLiteral<"localFile">;
|
|
3035
3045
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
3036
3046
|
"agent-only": "agent-only";
|
|
@@ -4007,16 +4017,20 @@ declare const promptInputSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
|
4007
4017
|
"agent-only": "agent-only";
|
|
4008
4018
|
}>>;
|
|
4009
4019
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4020
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4010
4021
|
path: z$1.ZodString;
|
|
4022
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4011
4023
|
type: z$1.ZodLiteral<"localImage">;
|
|
4012
4024
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4013
4025
|
"agent-only": "agent-only";
|
|
4014
4026
|
}>>;
|
|
4015
4027
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4028
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4016
4029
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4017
4030
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4018
4031
|
path: z$1.ZodString;
|
|
4019
4032
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4033
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4020
4034
|
type: z$1.ZodLiteral<"localFile">;
|
|
4021
4035
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4022
4036
|
"agent-only": "agent-only";
|
|
@@ -4332,16 +4346,20 @@ declare const threadQueuedMessageSchema: z$1.ZodObject<{
|
|
|
4332
4346
|
"agent-only": "agent-only";
|
|
4333
4347
|
}>>;
|
|
4334
4348
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4349
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4335
4350
|
path: z$1.ZodString;
|
|
4351
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4336
4352
|
type: z$1.ZodLiteral<"localImage">;
|
|
4337
4353
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4338
4354
|
"agent-only": "agent-only";
|
|
4339
4355
|
}>>;
|
|
4340
4356
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4357
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4341
4358
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4342
4359
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4343
4360
|
path: z$1.ZodString;
|
|
4344
4361
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4362
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4345
4363
|
type: z$1.ZodLiteral<"localFile">;
|
|
4346
4364
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4347
4365
|
"agent-only": "agent-only";
|
|
@@ -4750,16 +4768,20 @@ declare const promptHistoryResponseSchema: z$1.ZodArray<z$1.ZodObject<{
|
|
|
4750
4768
|
"agent-only": "agent-only";
|
|
4751
4769
|
}>>;
|
|
4752
4770
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4771
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4753
4772
|
path: z$1.ZodString;
|
|
4773
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4754
4774
|
type: z$1.ZodLiteral<"localImage">;
|
|
4755
4775
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4756
4776
|
"agent-only": "agent-only";
|
|
4757
4777
|
}>>;
|
|
4758
4778
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
4779
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
4759
4780
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
4760
4781
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
4761
4782
|
path: z$1.ZodString;
|
|
4762
4783
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
4784
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
4763
4785
|
type: z$1.ZodLiteral<"localFile">;
|
|
4764
4786
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
4765
4787
|
"agent-only": "agent-only";
|
|
@@ -5210,6 +5232,7 @@ declare const uploadedPromptAttachmentSchema: z$1.ZodObject<{
|
|
|
5210
5232
|
name: z$1.ZodString;
|
|
5211
5233
|
path: z$1.ZodString;
|
|
5212
5234
|
sizeBytes: z$1.ZodNumber;
|
|
5235
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5213
5236
|
type: z$1.ZodEnum<{
|
|
5214
5237
|
localFile: "localFile";
|
|
5215
5238
|
localImage: "localImage";
|
|
@@ -5298,16 +5321,20 @@ declare const promptHistoryListResponseSchema: z$1.ZodObject<{
|
|
|
5298
5321
|
"agent-only": "agent-only";
|
|
5299
5322
|
}>>;
|
|
5300
5323
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5324
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
5301
5325
|
path: z$1.ZodString;
|
|
5326
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5302
5327
|
type: z$1.ZodLiteral<"localImage">;
|
|
5303
5328
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5304
5329
|
"agent-only": "agent-only";
|
|
5305
5330
|
}>>;
|
|
5306
5331
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
5332
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
5307
5333
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
5308
5334
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
5309
5335
|
path: z$1.ZodString;
|
|
5310
5336
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
5337
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
5311
5338
|
type: z$1.ZodLiteral<"localFile">;
|
|
5312
5339
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
5313
5340
|
"agent-only": "agent-only";
|
|
@@ -6435,16 +6462,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6435
6462
|
"agent-only": "agent-only";
|
|
6436
6463
|
}>>;
|
|
6437
6464
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6465
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6438
6466
|
path: z$1.ZodString;
|
|
6467
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6439
6468
|
type: z$1.ZodLiteral<"localImage">;
|
|
6440
6469
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6441
6470
|
"agent-only": "agent-only";
|
|
6442
6471
|
}>>;
|
|
6443
6472
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6473
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6444
6474
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6445
6475
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6446
6476
|
path: z$1.ZodString;
|
|
6447
6477
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6478
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6448
6479
|
type: z$1.ZodLiteral<"localFile">;
|
|
6449
6480
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6450
6481
|
"agent-only": "agent-only";
|
|
@@ -6517,16 +6548,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6517
6548
|
"agent-only": "agent-only";
|
|
6518
6549
|
}>>;
|
|
6519
6550
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6551
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6520
6552
|
path: z$1.ZodString;
|
|
6553
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6521
6554
|
type: z$1.ZodLiteral<"localImage">;
|
|
6522
6555
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6523
6556
|
"agent-only": "agent-only";
|
|
6524
6557
|
}>>;
|
|
6525
6558
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6559
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6526
6560
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6527
6561
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6528
6562
|
path: z$1.ZodString;
|
|
6529
6563
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6564
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6530
6565
|
type: z$1.ZodLiteral<"localFile">;
|
|
6531
6566
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6532
6567
|
"agent-only": "agent-only";
|
|
@@ -6681,16 +6716,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6681
6716
|
"agent-only": "agent-only";
|
|
6682
6717
|
}>>;
|
|
6683
6718
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6719
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6684
6720
|
path: z$1.ZodString;
|
|
6721
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6685
6722
|
type: z$1.ZodLiteral<"localImage">;
|
|
6686
6723
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6687
6724
|
"agent-only": "agent-only";
|
|
6688
6725
|
}>>;
|
|
6689
6726
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6727
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6690
6728
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6691
6729
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6692
6730
|
path: z$1.ZodString;
|
|
6693
6731
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6732
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6694
6733
|
type: z$1.ZodLiteral<"localFile">;
|
|
6695
6734
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6696
6735
|
"agent-only": "agent-only";
|
|
@@ -6763,16 +6802,20 @@ declare const hostDaemonCommandRegistry: {
|
|
|
6763
6802
|
"agent-only": "agent-only";
|
|
6764
6803
|
}>>;
|
|
6765
6804
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6805
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6766
6806
|
path: z$1.ZodString;
|
|
6807
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6767
6808
|
type: z$1.ZodLiteral<"localImage">;
|
|
6768
6809
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6769
6810
|
"agent-only": "agent-only";
|
|
6770
6811
|
}>>;
|
|
6771
6812
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
6813
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
6772
6814
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
6773
6815
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
6774
6816
|
path: z$1.ZodString;
|
|
6775
6817
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
6818
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
6776
6819
|
type: z$1.ZodLiteral<"localFile">;
|
|
6777
6820
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
6778
6821
|
"agent-only": "agent-only";
|
|
@@ -10239,6 +10282,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10239
10282
|
}, z$1.core.$strict>>;
|
|
10240
10283
|
experiments: z$1.ZodRecord<z$1.ZodEnum<{
|
|
10241
10284
|
changelogPreview: "changelogPreview";
|
|
10285
|
+
performanceDiagnostics: "performanceDiagnostics";
|
|
10242
10286
|
serverMove: "serverMove";
|
|
10243
10287
|
}>, z$1.ZodBoolean>;
|
|
10244
10288
|
featureFlags: z$1.ZodObject<{
|
|
@@ -10481,6 +10525,7 @@ declare const systemConfigResponseSchema: z$1.ZodObject<{
|
|
|
10481
10525
|
}, z$1.core.$strict>;
|
|
10482
10526
|
}, z$1.core.$strict>>;
|
|
10483
10527
|
localHelperPorts: z$1.ZodArray<z$1.ZodNumber>;
|
|
10528
|
+
performanceDiagnosticsAvailable: z$1.ZodBoolean;
|
|
10484
10529
|
pluginThemes: z$1.ZodArray<z$1.ZodObject<{
|
|
10485
10530
|
description: z$1.ZodNullable<z$1.ZodString>;
|
|
10486
10531
|
id: z$1.ZodString;
|
|
@@ -10559,7 +10604,13 @@ declare const themeCatalogResponseSchema: z$1.ZodObject<{
|
|
|
10559
10604
|
}, z$1.core.$strip>;
|
|
10560
10605
|
type ThemeCatalogResponse = z$1.infer<typeof themeCatalogResponseSchema>;
|
|
10561
10606
|
declare const systemVersionResponseSchema: z$1.ZodObject<{
|
|
10607
|
+
currentCommit: z$1.ZodNullable<z$1.ZodString>;
|
|
10562
10608
|
currentVersion: z$1.ZodString;
|
|
10609
|
+
installKind: z$1.ZodNullable<z$1.ZodEnum<{
|
|
10610
|
+
desktop: "desktop";
|
|
10611
|
+
npm: "npm";
|
|
10612
|
+
source: "source";
|
|
10613
|
+
}>>;
|
|
10563
10614
|
isDevelopment: z$1.ZodBoolean;
|
|
10564
10615
|
latestVersion: z$1.ZodNullable<z$1.ZodString>;
|
|
10565
10616
|
source: z$1.ZodLiteral<"npm">;
|
|
@@ -11088,6 +11139,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11088
11139
|
}, z$1.core.$strip>], "kind">, unknown>;
|
|
11089
11140
|
start: z$1.ZodNumber;
|
|
11090
11141
|
}, z$1.core.$strip>>;
|
|
11142
|
+
messageSeq: z$1.ZodNumber;
|
|
11091
11143
|
role: z$1.ZodLiteral<"user">;
|
|
11092
11144
|
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
11093
11145
|
sourceSeqEnd: z$1.ZodNumber;
|
|
@@ -11177,6 +11229,7 @@ declare const timelineConversationRowSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodO
|
|
|
11177
11229
|
createdAt: z$1.ZodNumber;
|
|
11178
11230
|
id: z$1.ZodString;
|
|
11179
11231
|
kind: z$1.ZodLiteral<"conversation">;
|
|
11232
|
+
messageSeq: z$1.ZodNumber;
|
|
11180
11233
|
role: z$1.ZodLiteral<"assistant">;
|
|
11181
11234
|
sourceSeqEnd: z$1.ZodNumber;
|
|
11182
11235
|
sourceSeqStart: z$1.ZodNumber;
|
|
@@ -12309,16 +12362,20 @@ declare const createThreadRequestSchema: z$1.ZodObject<{
|
|
|
12309
12362
|
"agent-only": "agent-only";
|
|
12310
12363
|
}>>;
|
|
12311
12364
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12365
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12312
12366
|
path: z$1.ZodString;
|
|
12367
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12313
12368
|
type: z$1.ZodLiteral<"localImage">;
|
|
12314
12369
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12315
12370
|
"agent-only": "agent-only";
|
|
12316
12371
|
}>>;
|
|
12317
12372
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12373
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12318
12374
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12319
12375
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12320
12376
|
path: z$1.ZodString;
|
|
12321
12377
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12378
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12322
12379
|
type: z$1.ZodLiteral<"localFile">;
|
|
12323
12380
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12324
12381
|
"agent-only": "agent-only";
|
|
@@ -12447,16 +12504,20 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12447
12504
|
"agent-only": "agent-only";
|
|
12448
12505
|
}>>;
|
|
12449
12506
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12507
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12450
12508
|
path: z$1.ZodString;
|
|
12509
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12451
12510
|
type: z$1.ZodLiteral<"localImage">;
|
|
12452
12511
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12453
12512
|
"agent-only": "agent-only";
|
|
12454
12513
|
}>>;
|
|
12455
12514
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12515
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12456
12516
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12457
12517
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12458
12518
|
path: z$1.ZodString;
|
|
12459
12519
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12520
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12460
12521
|
type: z$1.ZodLiteral<"localFile">;
|
|
12461
12522
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12462
12523
|
"agent-only": "agent-only";
|
|
@@ -12573,16 +12634,20 @@ declare const forkThreadRequestSchema: z$1.ZodObject<{
|
|
|
12573
12634
|
"agent-only": "agent-only";
|
|
12574
12635
|
}>>;
|
|
12575
12636
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12637
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12576
12638
|
path: z$1.ZodString;
|
|
12639
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12577
12640
|
type: z$1.ZodLiteral<"localImage">;
|
|
12578
12641
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12579
12642
|
"agent-only": "agent-only";
|
|
12580
12643
|
}>>;
|
|
12581
12644
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12645
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12582
12646
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12583
12647
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12584
12648
|
path: z$1.ZodString;
|
|
12585
12649
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12650
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12586
12651
|
type: z$1.ZodLiteral<"localFile">;
|
|
12587
12652
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12588
12653
|
"agent-only": "agent-only";
|
|
@@ -12697,16 +12762,20 @@ declare const sendMessageRequestSchema: z$1.ZodObject<{
|
|
|
12697
12762
|
"agent-only": "agent-only";
|
|
12698
12763
|
}>>;
|
|
12699
12764
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12765
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12700
12766
|
path: z$1.ZodString;
|
|
12767
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12701
12768
|
type: z$1.ZodLiteral<"localImage">;
|
|
12702
12769
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12703
12770
|
"agent-only": "agent-only";
|
|
12704
12771
|
}>>;
|
|
12705
12772
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12773
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12706
12774
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12707
12775
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12708
12776
|
path: z$1.ZodString;
|
|
12709
12777
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12778
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12710
12779
|
type: z$1.ZodLiteral<"localFile">;
|
|
12711
12780
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12712
12781
|
"agent-only": "agent-only";
|
|
@@ -12823,16 +12892,20 @@ declare const sendMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.ZodObjec
|
|
|
12823
12892
|
"agent-only": "agent-only";
|
|
12824
12893
|
}>>;
|
|
12825
12894
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12895
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12826
12896
|
path: z$1.ZodString;
|
|
12897
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12827
12898
|
type: z$1.ZodLiteral<"localImage">;
|
|
12828
12899
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12829
12900
|
"agent-only": "agent-only";
|
|
12830
12901
|
}>>;
|
|
12831
12902
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
12903
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12832
12904
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
12833
12905
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
12834
12906
|
path: z$1.ZodString;
|
|
12835
12907
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
12908
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12836
12909
|
type: z$1.ZodLiteral<"localFile">;
|
|
12837
12910
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
12838
12911
|
"agent-only": "agent-only";
|
|
@@ -12994,16 +13067,20 @@ declare const editMessageRequestSchema: z$1.ZodObject<{
|
|
|
12994
13067
|
"agent-only": "agent-only";
|
|
12995
13068
|
}>>;
|
|
12996
13069
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13070
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
12997
13071
|
path: z$1.ZodString;
|
|
13072
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
12998
13073
|
type: z$1.ZodLiteral<"localImage">;
|
|
12999
13074
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13000
13075
|
"agent-only": "agent-only";
|
|
13001
13076
|
}>>;
|
|
13002
13077
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13078
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13003
13079
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13004
13080
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13005
13081
|
path: z$1.ZodString;
|
|
13006
13082
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13083
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13007
13084
|
type: z$1.ZodLiteral<"localFile">;
|
|
13008
13085
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13009
13086
|
"agent-only": "agent-only";
|
|
@@ -13163,16 +13240,20 @@ declare const createQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13163
13240
|
"agent-only": "agent-only";
|
|
13164
13241
|
}>>;
|
|
13165
13242
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13243
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13166
13244
|
path: z$1.ZodString;
|
|
13245
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13167
13246
|
type: z$1.ZodLiteral<"localImage">;
|
|
13168
13247
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13169
13248
|
"agent-only": "agent-only";
|
|
13170
13249
|
}>>;
|
|
13171
13250
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13251
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13172
13252
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13173
13253
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13174
13254
|
path: z$1.ZodString;
|
|
13175
13255
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13256
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13176
13257
|
type: z$1.ZodLiteral<"localFile">;
|
|
13177
13258
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13178
13259
|
"agent-only": "agent-only";
|
|
@@ -13267,16 +13348,20 @@ declare const updateQueuedMessageRequestSchema: z$1.ZodObject<{
|
|
|
13267
13348
|
"agent-only": "agent-only";
|
|
13268
13349
|
}>>;
|
|
13269
13350
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13351
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13270
13352
|
path: z$1.ZodString;
|
|
13353
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13271
13354
|
type: z$1.ZodLiteral<"localImage">;
|
|
13272
13355
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13273
13356
|
"agent-only": "agent-only";
|
|
13274
13357
|
}>>;
|
|
13275
13358
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13359
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13276
13360
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13277
13361
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13278
13362
|
path: z$1.ZodString;
|
|
13279
13363
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13364
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13280
13365
|
type: z$1.ZodLiteral<"localFile">;
|
|
13281
13366
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13282
13367
|
"agent-only": "agent-only";
|
|
@@ -13376,16 +13461,20 @@ declare const sendQueuedMessageResponseSchema: z$1.ZodDiscriminatedUnion<[z$1.Zo
|
|
|
13376
13461
|
"agent-only": "agent-only";
|
|
13377
13462
|
}>>;
|
|
13378
13463
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13464
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13379
13465
|
path: z$1.ZodString;
|
|
13466
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13380
13467
|
type: z$1.ZodLiteral<"localImage">;
|
|
13381
13468
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13382
13469
|
"agent-only": "agent-only";
|
|
13383
13470
|
}>>;
|
|
13384
13471
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
13472
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
13385
13473
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
13386
13474
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
13387
13475
|
path: z$1.ZodString;
|
|
13388
13476
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
13477
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
13389
13478
|
type: z$1.ZodLiteral<"localFile">;
|
|
13390
13479
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
13391
13480
|
"agent-only": "agent-only";
|
|
@@ -14303,16 +14392,20 @@ declare const threadQueuedMessageListResponseSchema: z$1.ZodArray<z$1.ZodObject<
|
|
|
14303
14392
|
"agent-only": "agent-only";
|
|
14304
14393
|
}>>;
|
|
14305
14394
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14395
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
14306
14396
|
path: z$1.ZodString;
|
|
14397
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14307
14398
|
type: z$1.ZodLiteral<"localImage">;
|
|
14308
14399
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14309
14400
|
"agent-only": "agent-only";
|
|
14310
14401
|
}>>;
|
|
14311
14402
|
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14403
|
+
hostId: z$1.ZodOptional<z$1.ZodString>;
|
|
14312
14404
|
mimeType: z$1.ZodOptional<z$1.ZodString>;
|
|
14313
14405
|
name: z$1.ZodOptional<z$1.ZodString>;
|
|
14314
14406
|
path: z$1.ZodString;
|
|
14315
14407
|
sizeBytes: z$1.ZodOptional<z$1.ZodNumber>;
|
|
14408
|
+
sourceProjectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14316
14409
|
type: z$1.ZodLiteral<"localFile">;
|
|
14317
14410
|
visibility: z$1.ZodOptional<z$1.ZodEnum<{
|
|
14318
14411
|
"agent-only": "agent-only";
|
|
@@ -14546,6 +14639,522 @@ declare const timelineTurnSummaryDetailsQuerySchema: z$1.ZodObject<{
|
|
|
14546
14639
|
turnId: z$1.ZodString;
|
|
14547
14640
|
}, z$1.core.$strip>;
|
|
14548
14641
|
type TimelineTurnSummaryDetailsQuery = z$1.infer<typeof timelineTurnSummaryDetailsQuerySchema>;
|
|
14642
|
+
declare const threadMessageResponseSchema: z$1.ZodObject<{
|
|
14643
|
+
after: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14644
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14645
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14646
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14647
|
+
localFiles: z$1.ZodNumber;
|
|
14648
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14649
|
+
localImages: z$1.ZodNumber;
|
|
14650
|
+
webImages: z$1.ZodNumber;
|
|
14651
|
+
}, z$1.core.$strip>>;
|
|
14652
|
+
createdAt: z$1.ZodNumber;
|
|
14653
|
+
id: z$1.ZodString;
|
|
14654
|
+
initiator: z$1.ZodEnum<{
|
|
14655
|
+
agent: "agent";
|
|
14656
|
+
system: "system";
|
|
14657
|
+
user: "user";
|
|
14658
|
+
}>;
|
|
14659
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14660
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14661
|
+
end: z$1.ZodNumber;
|
|
14662
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14663
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14664
|
+
label: z$1.ZodString;
|
|
14665
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14666
|
+
threadId: z$1.ZodString;
|
|
14667
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14668
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14669
|
+
label: z$1.ZodString;
|
|
14670
|
+
projectId: z$1.ZodString;
|
|
14671
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14672
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14673
|
+
label: z$1.ZodString;
|
|
14674
|
+
sectionId: z$1.ZodString;
|
|
14675
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14676
|
+
entryKind: z$1.ZodEnum<{
|
|
14677
|
+
directory: "directory";
|
|
14678
|
+
file: "file";
|
|
14679
|
+
}>;
|
|
14680
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14681
|
+
label: z$1.ZodString;
|
|
14682
|
+
path: z$1.ZodString;
|
|
14683
|
+
source: z$1.ZodEnum<{
|
|
14684
|
+
"thread-storage": "thread-storage";
|
|
14685
|
+
workspace: "workspace";
|
|
14686
|
+
}>;
|
|
14687
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14688
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14689
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14690
|
+
label: z$1.ZodString;
|
|
14691
|
+
name: z$1.ZodString;
|
|
14692
|
+
origin: z$1.ZodEnum<{
|
|
14693
|
+
builtin: "builtin";
|
|
14694
|
+
project: "project";
|
|
14695
|
+
user: "user";
|
|
14696
|
+
}>;
|
|
14697
|
+
source: z$1.ZodEnum<{
|
|
14698
|
+
command: "command";
|
|
14699
|
+
skill: "skill";
|
|
14700
|
+
}>;
|
|
14701
|
+
trigger: z$1.ZodEnum<{
|
|
14702
|
+
"/": "/";
|
|
14703
|
+
$: "$";
|
|
14704
|
+
}>;
|
|
14705
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14706
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14707
|
+
itemId: z$1.ZodString;
|
|
14708
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14709
|
+
label: z$1.ZodString;
|
|
14710
|
+
pluginId: z$1.ZodString;
|
|
14711
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14712
|
+
start: z$1.ZodNumber;
|
|
14713
|
+
}, z$1.core.$strip>>;
|
|
14714
|
+
messageSeq: z$1.ZodNumber;
|
|
14715
|
+
role: z$1.ZodLiteral<"user">;
|
|
14716
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14717
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14718
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14719
|
+
startedAt: z$1.ZodNumber;
|
|
14720
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
14721
|
+
"child-completed": "child-completed";
|
|
14722
|
+
"child-failed": "child-failed";
|
|
14723
|
+
"child-interrupted": "child-interrupted";
|
|
14724
|
+
"child-needs-attention": "child-needs-attention";
|
|
14725
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14726
|
+
"ownership-assigned": "ownership-assigned";
|
|
14727
|
+
"ownership-removed": "ownership-removed";
|
|
14728
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14729
|
+
unlabeled: "unlabeled";
|
|
14730
|
+
}>;
|
|
14731
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14732
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14733
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14734
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14735
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14736
|
+
reason: z$1.ZodEnum<{
|
|
14737
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14738
|
+
"host-removed": "host-removed";
|
|
14739
|
+
"manual-stop": "manual-stop";
|
|
14740
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14741
|
+
}>;
|
|
14742
|
+
}, z$1.core.$strip>>;
|
|
14743
|
+
status: z$1.ZodEnum<{
|
|
14744
|
+
completed: "completed";
|
|
14745
|
+
failed: "failed";
|
|
14746
|
+
interrupted: "interrupted";
|
|
14747
|
+
}>;
|
|
14748
|
+
threadId: z$1.ZodString;
|
|
14749
|
+
}, z$1.core.$strip>>>;
|
|
14750
|
+
threadId: z$1.ZodString;
|
|
14751
|
+
threadName: z$1.ZodString;
|
|
14752
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14753
|
+
count: z$1.ZodNumber;
|
|
14754
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
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
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14773
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14774
|
+
suppress: z$1.ZodBoolean;
|
|
14775
|
+
toolName: z$1.ZodString;
|
|
14776
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14777
|
+
text: z$1.ZodString;
|
|
14778
|
+
threadId: z$1.ZodString;
|
|
14779
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14780
|
+
turnRequest: z$1.ZodObject<{
|
|
14781
|
+
isGrouped: z$1.ZodBoolean;
|
|
14782
|
+
kind: z$1.ZodEnum<{
|
|
14783
|
+
message: "message";
|
|
14784
|
+
steer: "steer";
|
|
14785
|
+
}>;
|
|
14786
|
+
status: z$1.ZodEnum<{
|
|
14787
|
+
accepted: "accepted";
|
|
14788
|
+
pending: "pending";
|
|
14789
|
+
rejected: "rejected";
|
|
14790
|
+
}>;
|
|
14791
|
+
}, z$1.core.$strip>;
|
|
14792
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14793
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14794
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14795
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14796
|
+
localFiles: z$1.ZodNumber;
|
|
14797
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14798
|
+
localImages: z$1.ZodNumber;
|
|
14799
|
+
webImages: z$1.ZodNumber;
|
|
14800
|
+
}, z$1.core.$strip>>;
|
|
14801
|
+
createdAt: z$1.ZodNumber;
|
|
14802
|
+
id: z$1.ZodString;
|
|
14803
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14804
|
+
messageSeq: z$1.ZodNumber;
|
|
14805
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
14806
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14807
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14808
|
+
startedAt: z$1.ZodNumber;
|
|
14809
|
+
text: z$1.ZodString;
|
|
14810
|
+
threadId: z$1.ZodString;
|
|
14811
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14812
|
+
turnRequest: z$1.ZodNull;
|
|
14813
|
+
}, z$1.core.$strip>], "role">>;
|
|
14814
|
+
before: z$1.ZodArray<z$1.ZodDiscriminatedUnion<[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
|
+
initiator: z$1.ZodEnum<{
|
|
14826
|
+
agent: "agent";
|
|
14827
|
+
system: "system";
|
|
14828
|
+
user: "user";
|
|
14829
|
+
}>;
|
|
14830
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14831
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
14832
|
+
end: z$1.ZodNumber;
|
|
14833
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14834
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14835
|
+
label: z$1.ZodString;
|
|
14836
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
14837
|
+
threadId: z$1.ZodString;
|
|
14838
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14839
|
+
kind: z$1.ZodLiteral<"project">;
|
|
14840
|
+
label: z$1.ZodString;
|
|
14841
|
+
projectId: z$1.ZodString;
|
|
14842
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14843
|
+
kind: z$1.ZodLiteral<"section">;
|
|
14844
|
+
label: z$1.ZodString;
|
|
14845
|
+
sectionId: z$1.ZodString;
|
|
14846
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14847
|
+
entryKind: z$1.ZodEnum<{
|
|
14848
|
+
directory: "directory";
|
|
14849
|
+
file: "file";
|
|
14850
|
+
}>;
|
|
14851
|
+
kind: z$1.ZodLiteral<"path">;
|
|
14852
|
+
label: z$1.ZodString;
|
|
14853
|
+
path: z$1.ZodString;
|
|
14854
|
+
source: z$1.ZodEnum<{
|
|
14855
|
+
"thread-storage": "thread-storage";
|
|
14856
|
+
workspace: "workspace";
|
|
14857
|
+
}>;
|
|
14858
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14859
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
14860
|
+
kind: z$1.ZodLiteral<"command">;
|
|
14861
|
+
label: z$1.ZodString;
|
|
14862
|
+
name: z$1.ZodString;
|
|
14863
|
+
origin: z$1.ZodEnum<{
|
|
14864
|
+
builtin: "builtin";
|
|
14865
|
+
project: "project";
|
|
14866
|
+
user: "user";
|
|
14867
|
+
}>;
|
|
14868
|
+
source: z$1.ZodEnum<{
|
|
14869
|
+
command: "command";
|
|
14870
|
+
skill: "skill";
|
|
14871
|
+
}>;
|
|
14872
|
+
trigger: z$1.ZodEnum<{
|
|
14873
|
+
"/": "/";
|
|
14874
|
+
$: "$";
|
|
14875
|
+
}>;
|
|
14876
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14877
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
14878
|
+
itemId: z$1.ZodString;
|
|
14879
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
14880
|
+
label: z$1.ZodString;
|
|
14881
|
+
pluginId: z$1.ZodString;
|
|
14882
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
14883
|
+
start: z$1.ZodNumber;
|
|
14884
|
+
}, z$1.core.$strip>>;
|
|
14885
|
+
messageSeq: z$1.ZodNumber;
|
|
14886
|
+
role: z$1.ZodLiteral<"user">;
|
|
14887
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
14888
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14889
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14890
|
+
startedAt: z$1.ZodNumber;
|
|
14891
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
14892
|
+
"child-completed": "child-completed";
|
|
14893
|
+
"child-failed": "child-failed";
|
|
14894
|
+
"child-interrupted": "child-interrupted";
|
|
14895
|
+
"child-needs-attention": "child-needs-attention";
|
|
14896
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
14897
|
+
"ownership-assigned": "ownership-assigned";
|
|
14898
|
+
"ownership-removed": "ownership-removed";
|
|
14899
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
14900
|
+
unlabeled: "unlabeled";
|
|
14901
|
+
}>;
|
|
14902
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
14903
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
14904
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
14905
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
14906
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
14907
|
+
reason: z$1.ZodEnum<{
|
|
14908
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
14909
|
+
"host-removed": "host-removed";
|
|
14910
|
+
"manual-stop": "manual-stop";
|
|
14911
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
14912
|
+
}>;
|
|
14913
|
+
}, z$1.core.$strip>>;
|
|
14914
|
+
status: z$1.ZodEnum<{
|
|
14915
|
+
completed: "completed";
|
|
14916
|
+
failed: "failed";
|
|
14917
|
+
interrupted: "interrupted";
|
|
14918
|
+
}>;
|
|
14919
|
+
threadId: z$1.ZodString;
|
|
14920
|
+
}, z$1.core.$strip>>>;
|
|
14921
|
+
threadId: z$1.ZodString;
|
|
14922
|
+
threadName: z$1.ZodString;
|
|
14923
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14924
|
+
count: z$1.ZodNumber;
|
|
14925
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
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
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14944
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
14945
|
+
suppress: z$1.ZodBoolean;
|
|
14946
|
+
toolName: z$1.ZodString;
|
|
14947
|
+
}, z$1.core.$strip>], "kind">>;
|
|
14948
|
+
text: z$1.ZodString;
|
|
14949
|
+
threadId: z$1.ZodString;
|
|
14950
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14951
|
+
turnRequest: z$1.ZodObject<{
|
|
14952
|
+
isGrouped: z$1.ZodBoolean;
|
|
14953
|
+
kind: z$1.ZodEnum<{
|
|
14954
|
+
message: "message";
|
|
14955
|
+
steer: "steer";
|
|
14956
|
+
}>;
|
|
14957
|
+
status: z$1.ZodEnum<{
|
|
14958
|
+
accepted: "accepted";
|
|
14959
|
+
pending: "pending";
|
|
14960
|
+
rejected: "rejected";
|
|
14961
|
+
}>;
|
|
14962
|
+
}, z$1.core.$strip>;
|
|
14963
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
14964
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
14965
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
14966
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14967
|
+
localFiles: z$1.ZodNumber;
|
|
14968
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
14969
|
+
localImages: z$1.ZodNumber;
|
|
14970
|
+
webImages: z$1.ZodNumber;
|
|
14971
|
+
}, z$1.core.$strip>>;
|
|
14972
|
+
createdAt: z$1.ZodNumber;
|
|
14973
|
+
id: z$1.ZodString;
|
|
14974
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
14975
|
+
messageSeq: z$1.ZodNumber;
|
|
14976
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
14977
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
14978
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
14979
|
+
startedAt: z$1.ZodNumber;
|
|
14980
|
+
text: z$1.ZodString;
|
|
14981
|
+
threadId: z$1.ZodString;
|
|
14982
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
14983
|
+
turnRequest: z$1.ZodNull;
|
|
14984
|
+
}, z$1.core.$strip>], "role">>;
|
|
14985
|
+
message: z$1.ZodDiscriminatedUnion<[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
|
+
initiator: z$1.ZodEnum<{
|
|
14997
|
+
agent: "agent";
|
|
14998
|
+
system: "system";
|
|
14999
|
+
user: "user";
|
|
15000
|
+
}>;
|
|
15001
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
15002
|
+
mentions: z$1.ZodArray<z$1.ZodObject<{
|
|
15003
|
+
end: z$1.ZodNumber;
|
|
15004
|
+
resource: z$1.ZodPreprocess<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15005
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
15006
|
+
label: z$1.ZodString;
|
|
15007
|
+
projectId: z$1.ZodOptional<z$1.ZodString>;
|
|
15008
|
+
threadId: z$1.ZodString;
|
|
15009
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15010
|
+
kind: z$1.ZodLiteral<"project">;
|
|
15011
|
+
label: z$1.ZodString;
|
|
15012
|
+
projectId: z$1.ZodString;
|
|
15013
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15014
|
+
kind: z$1.ZodLiteral<"section">;
|
|
15015
|
+
label: z$1.ZodString;
|
|
15016
|
+
sectionId: z$1.ZodString;
|
|
15017
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15018
|
+
entryKind: z$1.ZodEnum<{
|
|
15019
|
+
directory: "directory";
|
|
15020
|
+
file: "file";
|
|
15021
|
+
}>;
|
|
15022
|
+
kind: z$1.ZodLiteral<"path">;
|
|
15023
|
+
label: z$1.ZodString;
|
|
15024
|
+
path: z$1.ZodString;
|
|
15025
|
+
source: z$1.ZodEnum<{
|
|
15026
|
+
"thread-storage": "thread-storage";
|
|
15027
|
+
workspace: "workspace";
|
|
15028
|
+
}>;
|
|
15029
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15030
|
+
argumentHint: z$1.ZodNullable<z$1.ZodString>;
|
|
15031
|
+
kind: z$1.ZodLiteral<"command">;
|
|
15032
|
+
label: z$1.ZodString;
|
|
15033
|
+
name: z$1.ZodString;
|
|
15034
|
+
origin: z$1.ZodEnum<{
|
|
15035
|
+
builtin: "builtin";
|
|
15036
|
+
project: "project";
|
|
15037
|
+
user: "user";
|
|
15038
|
+
}>;
|
|
15039
|
+
source: z$1.ZodEnum<{
|
|
15040
|
+
command: "command";
|
|
15041
|
+
skill: "skill";
|
|
15042
|
+
}>;
|
|
15043
|
+
trigger: z$1.ZodEnum<{
|
|
15044
|
+
"/": "/";
|
|
15045
|
+
$: "$";
|
|
15046
|
+
}>;
|
|
15047
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15048
|
+
icon: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
|
|
15049
|
+
itemId: z$1.ZodString;
|
|
15050
|
+
kind: z$1.ZodLiteral<"plugin">;
|
|
15051
|
+
label: z$1.ZodString;
|
|
15052
|
+
pluginId: z$1.ZodString;
|
|
15053
|
+
}, z$1.core.$strip>], "kind">, unknown>;
|
|
15054
|
+
start: z$1.ZodNumber;
|
|
15055
|
+
}, z$1.core.$strip>>;
|
|
15056
|
+
messageSeq: z$1.ZodNumber;
|
|
15057
|
+
role: z$1.ZodLiteral<"user">;
|
|
15058
|
+
senderThreadId: z$1.ZodNullable<z$1.ZodString>;
|
|
15059
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15060
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15061
|
+
startedAt: z$1.ZodNumber;
|
|
15062
|
+
systemMessageKind: z$1.ZodEnum<{
|
|
15063
|
+
"child-completed": "child-completed";
|
|
15064
|
+
"child-failed": "child-failed";
|
|
15065
|
+
"child-interrupted": "child-interrupted";
|
|
15066
|
+
"child-needs-attention": "child-needs-attention";
|
|
15067
|
+
"child-outcome-batch": "child-outcome-batch";
|
|
15068
|
+
"ownership-assigned": "ownership-assigned";
|
|
15069
|
+
"ownership-removed": "ownership-removed";
|
|
15070
|
+
"tool-result-delivered": "tool-result-delivered";
|
|
15071
|
+
unlabeled: "unlabeled";
|
|
15072
|
+
}>;
|
|
15073
|
+
systemMessageSubject: z$1.ZodNullable<z$1.ZodDiscriminatedUnion<[z$1.ZodObject<{
|
|
15074
|
+
kind: z$1.ZodLiteral<"thread">;
|
|
15075
|
+
outcomes: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
15076
|
+
interruption: z$1.ZodOptional<z$1.ZodObject<{
|
|
15077
|
+
cause: z$1.ZodOptional<z$1.ZodLiteral<"host-connection-lost">>;
|
|
15078
|
+
reason: z$1.ZodEnum<{
|
|
15079
|
+
"host-daemon-restarted": "host-daemon-restarted";
|
|
15080
|
+
"host-removed": "host-removed";
|
|
15081
|
+
"manual-stop": "manual-stop";
|
|
15082
|
+
"provider-turn-idle": "provider-turn-idle";
|
|
15083
|
+
}>;
|
|
15084
|
+
}, z$1.core.$strip>>;
|
|
15085
|
+
status: z$1.ZodEnum<{
|
|
15086
|
+
completed: "completed";
|
|
15087
|
+
failed: "failed";
|
|
15088
|
+
interrupted: "interrupted";
|
|
15089
|
+
}>;
|
|
15090
|
+
threadId: z$1.ZodString;
|
|
15091
|
+
}, z$1.core.$strip>>>;
|
|
15092
|
+
threadId: z$1.ZodString;
|
|
15093
|
+
threadName: z$1.ZodString;
|
|
15094
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15095
|
+
count: z$1.ZodNumber;
|
|
15096
|
+
kind: z$1.ZodLiteral<"thread-batch">;
|
|
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
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15115
|
+
kind: z$1.ZodLiteral<"tool-call">;
|
|
15116
|
+
suppress: z$1.ZodBoolean;
|
|
15117
|
+
toolName: z$1.ZodString;
|
|
15118
|
+
}, z$1.core.$strip>], "kind">>;
|
|
15119
|
+
text: z$1.ZodString;
|
|
15120
|
+
threadId: z$1.ZodString;
|
|
15121
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15122
|
+
turnRequest: z$1.ZodObject<{
|
|
15123
|
+
isGrouped: z$1.ZodBoolean;
|
|
15124
|
+
kind: z$1.ZodEnum<{
|
|
15125
|
+
message: "message";
|
|
15126
|
+
steer: "steer";
|
|
15127
|
+
}>;
|
|
15128
|
+
status: z$1.ZodEnum<{
|
|
15129
|
+
accepted: "accepted";
|
|
15130
|
+
pending: "pending";
|
|
15131
|
+
rejected: "rejected";
|
|
15132
|
+
}>;
|
|
15133
|
+
}, z$1.core.$strip>;
|
|
15134
|
+
}, z$1.core.$strip>, z$1.ZodObject<{
|
|
15135
|
+
attachments: z$1.ZodNullable<z$1.ZodObject<{
|
|
15136
|
+
imageUrls: z$1.ZodArray<z$1.ZodString>;
|
|
15137
|
+
localFilePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15138
|
+
localFiles: z$1.ZodNumber;
|
|
15139
|
+
localImagePaths: z$1.ZodArray<z$1.ZodString>;
|
|
15140
|
+
localImages: z$1.ZodNumber;
|
|
15141
|
+
webImages: z$1.ZodNumber;
|
|
15142
|
+
}, z$1.core.$strip>>;
|
|
15143
|
+
createdAt: z$1.ZodNumber;
|
|
15144
|
+
id: z$1.ZodString;
|
|
15145
|
+
kind: z$1.ZodLiteral<"conversation">;
|
|
15146
|
+
messageSeq: z$1.ZodNumber;
|
|
15147
|
+
role: z$1.ZodLiteral<"assistant">;
|
|
15148
|
+
sourceSeqEnd: z$1.ZodNumber;
|
|
15149
|
+
sourceSeqStart: z$1.ZodNumber;
|
|
15150
|
+
startedAt: z$1.ZodNumber;
|
|
15151
|
+
text: z$1.ZodString;
|
|
15152
|
+
threadId: z$1.ZodString;
|
|
15153
|
+
turnId: z$1.ZodNullable<z$1.ZodString>;
|
|
15154
|
+
turnRequest: z$1.ZodNull;
|
|
15155
|
+
}, z$1.core.$strip>], "role">;
|
|
15156
|
+
}, z$1.core.$strip>;
|
|
15157
|
+
type ThreadMessageResponse = z$1.infer<typeof threadMessageResponseSchema>;
|
|
14549
15158
|
declare const threadStorageFilesQuerySchema: z$1.ZodObject<{
|
|
14550
15159
|
limit: z$1.ZodOptional<z$1.ZodString>;
|
|
14551
15160
|
query: z$1.ZodOptional<z$1.ZodString>;
|
|
@@ -16664,6 +17273,7 @@ type ThreadCountResult = ThreadCountResponse;
|
|
|
16664
17273
|
type ThreadRunningResult = ThreadRunningResponse;
|
|
16665
17274
|
type ThreadListResult = ThreadListResponse;
|
|
16666
17275
|
type ThreadSearchResult = ThreadSearchResponse;
|
|
17276
|
+
type ThreadMessageResult = ThreadMessageResponse;
|
|
16667
17277
|
type ThreadResolveMentionsResult = ResolveThreadMentionsResponse;
|
|
16668
17278
|
interface ThreadOutputResponse {
|
|
16669
17279
|
output: string | null;
|
|
@@ -16875,6 +17485,13 @@ interface ThreadOutputArgs {
|
|
|
16875
17485
|
signal?: AbortSignal;
|
|
16876
17486
|
threadId: string;
|
|
16877
17487
|
}
|
|
17488
|
+
interface ThreadMessageArgs {
|
|
17489
|
+
signal?: AbortSignal;
|
|
17490
|
+
threadId: string;
|
|
17491
|
+
seq: number;
|
|
17492
|
+
before?: number;
|
|
17493
|
+
after?: number;
|
|
17494
|
+
}
|
|
16878
17495
|
interface ThreadInteractionListArgs {
|
|
16879
17496
|
signal?: AbortSignal;
|
|
16880
17497
|
threadId: string;
|
|
@@ -16986,6 +17603,7 @@ interface ThreadsArea {
|
|
|
16986
17603
|
markUnread(args: ThreadActionArgs): Promise<ThreadReadStateResult>;
|
|
16987
17604
|
open(args: ThreadOpenArgs): Promise<ThreadOpenResult>;
|
|
16988
17605
|
paneAction(args: ThreadPaneActionArgs): Promise<ThreadPaneActionResult>;
|
|
17606
|
+
message(args: ThreadMessageArgs): Promise<ThreadMessageResult>;
|
|
16989
17607
|
output(args: ThreadOutputArgs): Promise<ThreadOutputResponse>;
|
|
16990
17608
|
pin(args: ThreadActionArgs): Promise<ThreadMutationResult>;
|
|
16991
17609
|
promptHistory(args: ThreadPromptHistoryArgs): Promise<ThreadPromptHistoryResult>;
|
|
@@ -19387,8 +20005,26 @@ interface ComposerDraft {
|
|
|
19387
20005
|
text: string;
|
|
19388
20006
|
mentions: readonly ComposerMention[];
|
|
19389
20007
|
}
|
|
19390
|
-
/**
|
|
19391
|
-
|
|
20008
|
+
/**
|
|
20009
|
+
* A composer attachment: an uploaded file, optionally owned by another
|
|
20010
|
+
* project, or an absolute path on one machine. Never both.
|
|
20011
|
+
*/
|
|
20012
|
+
type ComposerAttachment = {
|
|
20013
|
+
type: "localFile" | "localImage";
|
|
20014
|
+
path: string;
|
|
20015
|
+
name: string;
|
|
20016
|
+
mimeType?: string;
|
|
20017
|
+
/** 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. */
|
|
20018
|
+
sizeBytes?: number;
|
|
20019
|
+
} & ({
|
|
20020
|
+
/** Project that currently owns this uploaded path; omit for destination-relative attachments. */
|
|
20021
|
+
sourceProjectId?: string;
|
|
20022
|
+
hostId?: never;
|
|
20023
|
+
} | {
|
|
20024
|
+
/** Machine whose absolute `path` this is; core rejects sending it to a thread on another machine. */
|
|
20025
|
+
hostId: string;
|
|
20026
|
+
sourceProjectId?: never;
|
|
20027
|
+
});
|
|
19392
20028
|
/** The complete current draft. Snapshots and their entries are immutable. */
|
|
19393
20029
|
interface ComposerDraftSnapshot extends ComposerDraft {
|
|
19394
20030
|
readonly attachments: readonly ComposerAttachment[];
|
|
@@ -19549,8 +20185,10 @@ interface PluginComposerApi {
|
|
|
19549
20185
|
* an empty list clears them. Does not infer or rebase mention ranges.
|
|
19550
20186
|
* Ranges are non-overlapping UTF-16 offsets into the supplied text.
|
|
19551
20187
|
* Invalid results, throwing updaters, and unavailable editors leave the
|
|
19552
|
-
* draft unchanged.
|
|
19553
|
-
*
|
|
20188
|
+
* draft unchanged. Source project references on uploaded attachments are
|
|
20189
|
+
* preserved; core copies them into the destination project when the draft
|
|
20190
|
+
* is submitted. Does not focus or submit. Use `insert` for insertion at the
|
|
20191
|
+
* editor's cursor.
|
|
19554
20192
|
*/
|
|
19555
20193
|
replace(next: ComposerDraftReplacement | ((current: ComposerDraftSnapshot) => ComposerDraftReplacement)): void;
|
|
19556
20194
|
/**
|