@perstack/core 0.0.45 → 0.0.47
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/dist/src/index.d.ts +6 -674
- package/dist/src/index.js +42 -167
- package/dist/src/index.js.map +1 -1
- package/package.json +3 -3
package/dist/src/index.d.ts
CHANGED
|
@@ -3669,6 +3669,10 @@ declare const defaultTimeout: number;
|
|
|
3669
3669
|
declare const maxSkillNameLength = 255;
|
|
3670
3670
|
declare const maxSkillToolNameLength = 255;
|
|
3671
3671
|
|
|
3672
|
+
declare class PerstackError extends Error {
|
|
3673
|
+
constructor(message: string);
|
|
3674
|
+
}
|
|
3675
|
+
|
|
3672
3676
|
declare const knownModels: {
|
|
3673
3677
|
provider: string;
|
|
3674
3678
|
models: {
|
|
@@ -3950,28 +3954,6 @@ declare const editTextFileActivitySchema: z.ZodObject<{
|
|
|
3950
3954
|
oldText: z.ZodString;
|
|
3951
3955
|
error: z.ZodOptional<z.ZodString>;
|
|
3952
3956
|
}, z.core.$strip>;
|
|
3953
|
-
/** Append text file activity */
|
|
3954
|
-
interface AppendTextFileActivity extends BaseActivity {
|
|
3955
|
-
type: "appendTextFile";
|
|
3956
|
-
path: string;
|
|
3957
|
-
text: string;
|
|
3958
|
-
error?: string;
|
|
3959
|
-
}
|
|
3960
|
-
declare const appendTextFileActivitySchema: z.ZodObject<{
|
|
3961
|
-
id: z.ZodString;
|
|
3962
|
-
expertKey: z.ZodString;
|
|
3963
|
-
runId: z.ZodString;
|
|
3964
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
3965
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
3966
|
-
expertKey: z.ZodString;
|
|
3967
|
-
runId: z.ZodString;
|
|
3968
|
-
}, z.core.$strip>>;
|
|
3969
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
3970
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
3971
|
-
path: z.ZodString;
|
|
3972
|
-
text: z.ZodString;
|
|
3973
|
-
error: z.ZodOptional<z.ZodString>;
|
|
3974
|
-
}, z.core.$strip>;
|
|
3975
3957
|
/** Write text file activity */
|
|
3976
3958
|
interface WriteTextFileActivity extends BaseActivity {
|
|
3977
3959
|
type: "writeTextFile";
|
|
@@ -3994,176 +3976,6 @@ declare const writeTextFileActivitySchema: z.ZodObject<{
|
|
|
3994
3976
|
text: z.ZodString;
|
|
3995
3977
|
error: z.ZodOptional<z.ZodString>;
|
|
3996
3978
|
}, z.core.$strip>;
|
|
3997
|
-
/** Delete file activity */
|
|
3998
|
-
interface DeleteFileActivity extends BaseActivity {
|
|
3999
|
-
type: "deleteFile";
|
|
4000
|
-
path: string;
|
|
4001
|
-
error?: string;
|
|
4002
|
-
}
|
|
4003
|
-
declare const deleteFileActivitySchema: z.ZodObject<{
|
|
4004
|
-
id: z.ZodString;
|
|
4005
|
-
expertKey: z.ZodString;
|
|
4006
|
-
runId: z.ZodString;
|
|
4007
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4008
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4009
|
-
expertKey: z.ZodString;
|
|
4010
|
-
runId: z.ZodString;
|
|
4011
|
-
}, z.core.$strip>>;
|
|
4012
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4013
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
4014
|
-
path: z.ZodString;
|
|
4015
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4016
|
-
}, z.core.$strip>;
|
|
4017
|
-
/** Delete directory activity */
|
|
4018
|
-
interface DeleteDirectoryActivity extends BaseActivity {
|
|
4019
|
-
type: "deleteDirectory";
|
|
4020
|
-
path: string;
|
|
4021
|
-
recursive?: boolean;
|
|
4022
|
-
error?: string;
|
|
4023
|
-
}
|
|
4024
|
-
declare const deleteDirectoryActivitySchema: z.ZodObject<{
|
|
4025
|
-
id: z.ZodString;
|
|
4026
|
-
expertKey: z.ZodString;
|
|
4027
|
-
runId: z.ZodString;
|
|
4028
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4029
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4030
|
-
expertKey: z.ZodString;
|
|
4031
|
-
runId: z.ZodString;
|
|
4032
|
-
}, z.core.$strip>>;
|
|
4033
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4034
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
4035
|
-
path: z.ZodString;
|
|
4036
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
4037
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4038
|
-
}, z.core.$strip>;
|
|
4039
|
-
/** Move file activity */
|
|
4040
|
-
interface MoveFileActivity extends BaseActivity {
|
|
4041
|
-
type: "moveFile";
|
|
4042
|
-
source: string;
|
|
4043
|
-
destination: string;
|
|
4044
|
-
error?: string;
|
|
4045
|
-
}
|
|
4046
|
-
declare const moveFileActivitySchema: z.ZodObject<{
|
|
4047
|
-
id: z.ZodString;
|
|
4048
|
-
expertKey: z.ZodString;
|
|
4049
|
-
runId: z.ZodString;
|
|
4050
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4051
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4052
|
-
expertKey: z.ZodString;
|
|
4053
|
-
runId: z.ZodString;
|
|
4054
|
-
}, z.core.$strip>>;
|
|
4055
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4056
|
-
type: z.ZodLiteral<"moveFile">;
|
|
4057
|
-
source: z.ZodString;
|
|
4058
|
-
destination: z.ZodString;
|
|
4059
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4060
|
-
}, z.core.$strip>;
|
|
4061
|
-
/** Get file info activity */
|
|
4062
|
-
interface GetFileInfoActivity extends BaseActivity {
|
|
4063
|
-
type: "getFileInfo";
|
|
4064
|
-
path: string;
|
|
4065
|
-
info?: {
|
|
4066
|
-
exists: boolean;
|
|
4067
|
-
name: string;
|
|
4068
|
-
directory: string;
|
|
4069
|
-
extension: string | null;
|
|
4070
|
-
type: "file" | "directory";
|
|
4071
|
-
mimeType: string | null;
|
|
4072
|
-
size: number;
|
|
4073
|
-
sizeFormatted: string;
|
|
4074
|
-
created: string;
|
|
4075
|
-
modified: string;
|
|
4076
|
-
accessed: string;
|
|
4077
|
-
};
|
|
4078
|
-
error?: string;
|
|
4079
|
-
}
|
|
4080
|
-
declare const getFileInfoActivitySchema: z.ZodObject<{
|
|
4081
|
-
id: z.ZodString;
|
|
4082
|
-
expertKey: z.ZodString;
|
|
4083
|
-
runId: z.ZodString;
|
|
4084
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4085
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4086
|
-
expertKey: z.ZodString;
|
|
4087
|
-
runId: z.ZodString;
|
|
4088
|
-
}, z.core.$strip>>;
|
|
4089
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4090
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
4091
|
-
path: z.ZodString;
|
|
4092
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
4093
|
-
exists: z.ZodBoolean;
|
|
4094
|
-
name: z.ZodString;
|
|
4095
|
-
directory: z.ZodString;
|
|
4096
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
4097
|
-
type: z.ZodEnum<{
|
|
4098
|
-
file: "file";
|
|
4099
|
-
directory: "directory";
|
|
4100
|
-
}>;
|
|
4101
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
4102
|
-
size: z.ZodNumber;
|
|
4103
|
-
sizeFormatted: z.ZodString;
|
|
4104
|
-
created: z.ZodString;
|
|
4105
|
-
modified: z.ZodString;
|
|
4106
|
-
accessed: z.ZodString;
|
|
4107
|
-
}, z.core.$strip>>;
|
|
4108
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4109
|
-
}, z.core.$strip>;
|
|
4110
|
-
/** Create directory activity */
|
|
4111
|
-
interface CreateDirectoryActivity extends BaseActivity {
|
|
4112
|
-
type: "createDirectory";
|
|
4113
|
-
path: string;
|
|
4114
|
-
error?: string;
|
|
4115
|
-
}
|
|
4116
|
-
declare const createDirectoryActivitySchema: z.ZodObject<{
|
|
4117
|
-
id: z.ZodString;
|
|
4118
|
-
expertKey: z.ZodString;
|
|
4119
|
-
runId: z.ZodString;
|
|
4120
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4121
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4122
|
-
expertKey: z.ZodString;
|
|
4123
|
-
runId: z.ZodString;
|
|
4124
|
-
}, z.core.$strip>>;
|
|
4125
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4126
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
4127
|
-
path: z.ZodString;
|
|
4128
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4129
|
-
}, z.core.$strip>;
|
|
4130
|
-
/** List directory activity */
|
|
4131
|
-
interface ListDirectoryActivity extends BaseActivity {
|
|
4132
|
-
type: "listDirectory";
|
|
4133
|
-
path: string;
|
|
4134
|
-
items?: Array<{
|
|
4135
|
-
name: string;
|
|
4136
|
-
path: string;
|
|
4137
|
-
type: "file" | "directory";
|
|
4138
|
-
size: number;
|
|
4139
|
-
modified: string;
|
|
4140
|
-
}>;
|
|
4141
|
-
error?: string;
|
|
4142
|
-
}
|
|
4143
|
-
declare const listDirectoryActivitySchema: z.ZodObject<{
|
|
4144
|
-
id: z.ZodString;
|
|
4145
|
-
expertKey: z.ZodString;
|
|
4146
|
-
runId: z.ZodString;
|
|
4147
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4148
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4149
|
-
expertKey: z.ZodString;
|
|
4150
|
-
runId: z.ZodString;
|
|
4151
|
-
}, z.core.$strip>>;
|
|
4152
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4153
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
4154
|
-
path: z.ZodString;
|
|
4155
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4156
|
-
name: z.ZodString;
|
|
4157
|
-
path: z.ZodString;
|
|
4158
|
-
type: z.ZodEnum<{
|
|
4159
|
-
file: "file";
|
|
4160
|
-
directory: "directory";
|
|
4161
|
-
}>;
|
|
4162
|
-
size: z.ZodNumber;
|
|
4163
|
-
modified: z.ZodString;
|
|
4164
|
-
}, z.core.$strip>>>;
|
|
4165
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4166
|
-
}, z.core.$strip>;
|
|
4167
3979
|
/** Exec activity - Command execution */
|
|
4168
3980
|
interface ExecActivity extends BaseActivity {
|
|
4169
3981
|
type: "exec";
|
|
@@ -4347,7 +4159,7 @@ declare const generalToolActivitySchema: z.ZodObject<{
|
|
|
4347
4159
|
error: z.ZodOptional<z.ZodString>;
|
|
4348
4160
|
}, z.core.$strip>;
|
|
4349
4161
|
/** Union of all activity types */
|
|
4350
|
-
type Activity = QueryActivity | RetryActivity | CompleteActivity | ErrorActivity | AttemptCompletionActivity | TodoActivity | ClearTodoActivity | ReadImageFileActivity | ReadPdfFileActivity | ReadTextFileActivity | EditTextFileActivity |
|
|
4162
|
+
type Activity = QueryActivity | RetryActivity | CompleteActivity | ErrorActivity | AttemptCompletionActivity | TodoActivity | ClearTodoActivity | ReadImageFileActivity | ReadPdfFileActivity | ReadTextFileActivity | EditTextFileActivity | WriteTextFileActivity | ExecActivity | DelegateActivity | DelegationCompleteActivity | InteractiveToolActivity | GeneralToolActivity;
|
|
4351
4163
|
declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4352
4164
|
id: z.ZodString;
|
|
4353
4165
|
expertKey: z.ZodString;
|
|
@@ -4508,20 +4320,6 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4508
4320
|
newText: z.ZodString;
|
|
4509
4321
|
oldText: z.ZodString;
|
|
4510
4322
|
error: z.ZodOptional<z.ZodString>;
|
|
4511
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4512
|
-
id: z.ZodString;
|
|
4513
|
-
expertKey: z.ZodString;
|
|
4514
|
-
runId: z.ZodString;
|
|
4515
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4516
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4517
|
-
expertKey: z.ZodString;
|
|
4518
|
-
runId: z.ZodString;
|
|
4519
|
-
}, z.core.$strip>>;
|
|
4520
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4521
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
4522
|
-
path: z.ZodString;
|
|
4523
|
-
text: z.ZodString;
|
|
4524
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4525
4323
|
}, z.core.$strip>, z.ZodObject<{
|
|
4526
4324
|
id: z.ZodString;
|
|
4527
4325
|
expertKey: z.ZodString;
|
|
@@ -4536,112 +4334,6 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4536
4334
|
path: z.ZodString;
|
|
4537
4335
|
text: z.ZodString;
|
|
4538
4336
|
error: z.ZodOptional<z.ZodString>;
|
|
4539
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4540
|
-
id: z.ZodString;
|
|
4541
|
-
expertKey: z.ZodString;
|
|
4542
|
-
runId: z.ZodString;
|
|
4543
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4544
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4545
|
-
expertKey: z.ZodString;
|
|
4546
|
-
runId: z.ZodString;
|
|
4547
|
-
}, z.core.$strip>>;
|
|
4548
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4549
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
4550
|
-
path: z.ZodString;
|
|
4551
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4552
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4553
|
-
id: z.ZodString;
|
|
4554
|
-
expertKey: z.ZodString;
|
|
4555
|
-
runId: z.ZodString;
|
|
4556
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4557
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4558
|
-
expertKey: z.ZodString;
|
|
4559
|
-
runId: z.ZodString;
|
|
4560
|
-
}, z.core.$strip>>;
|
|
4561
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4562
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
4563
|
-
path: z.ZodString;
|
|
4564
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
4565
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4566
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4567
|
-
id: z.ZodString;
|
|
4568
|
-
expertKey: z.ZodString;
|
|
4569
|
-
runId: z.ZodString;
|
|
4570
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4571
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4572
|
-
expertKey: z.ZodString;
|
|
4573
|
-
runId: z.ZodString;
|
|
4574
|
-
}, z.core.$strip>>;
|
|
4575
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4576
|
-
type: z.ZodLiteral<"moveFile">;
|
|
4577
|
-
source: z.ZodString;
|
|
4578
|
-
destination: z.ZodString;
|
|
4579
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4580
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4581
|
-
id: z.ZodString;
|
|
4582
|
-
expertKey: z.ZodString;
|
|
4583
|
-
runId: z.ZodString;
|
|
4584
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4585
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4586
|
-
expertKey: z.ZodString;
|
|
4587
|
-
runId: z.ZodString;
|
|
4588
|
-
}, z.core.$strip>>;
|
|
4589
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4590
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
4591
|
-
path: z.ZodString;
|
|
4592
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
4593
|
-
exists: z.ZodBoolean;
|
|
4594
|
-
name: z.ZodString;
|
|
4595
|
-
directory: z.ZodString;
|
|
4596
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
4597
|
-
type: z.ZodEnum<{
|
|
4598
|
-
file: "file";
|
|
4599
|
-
directory: "directory";
|
|
4600
|
-
}>;
|
|
4601
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
4602
|
-
size: z.ZodNumber;
|
|
4603
|
-
sizeFormatted: z.ZodString;
|
|
4604
|
-
created: z.ZodString;
|
|
4605
|
-
modified: z.ZodString;
|
|
4606
|
-
accessed: z.ZodString;
|
|
4607
|
-
}, z.core.$strip>>;
|
|
4608
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4609
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4610
|
-
id: z.ZodString;
|
|
4611
|
-
expertKey: z.ZodString;
|
|
4612
|
-
runId: z.ZodString;
|
|
4613
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4614
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4615
|
-
expertKey: z.ZodString;
|
|
4616
|
-
runId: z.ZodString;
|
|
4617
|
-
}, z.core.$strip>>;
|
|
4618
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4619
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
4620
|
-
path: z.ZodString;
|
|
4621
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4622
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4623
|
-
id: z.ZodString;
|
|
4624
|
-
expertKey: z.ZodString;
|
|
4625
|
-
runId: z.ZodString;
|
|
4626
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4627
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4628
|
-
expertKey: z.ZodString;
|
|
4629
|
-
runId: z.ZodString;
|
|
4630
|
-
}, z.core.$strip>>;
|
|
4631
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4632
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
4633
|
-
path: z.ZodString;
|
|
4634
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4635
|
-
name: z.ZodString;
|
|
4636
|
-
path: z.ZodString;
|
|
4637
|
-
type: z.ZodEnum<{
|
|
4638
|
-
file: "file";
|
|
4639
|
-
directory: "directory";
|
|
4640
|
-
}>;
|
|
4641
|
-
size: z.ZodNumber;
|
|
4642
|
-
modified: z.ZodString;
|
|
4643
|
-
}, z.core.$strip>>>;
|
|
4644
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4645
4337
|
}, z.core.$strip>, z.ZodObject<{
|
|
4646
4338
|
id: z.ZodString;
|
|
4647
4339
|
expertKey: z.ZodString;
|
|
@@ -4964,20 +4656,6 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
|
|
|
4964
4656
|
newText: z.ZodString;
|
|
4965
4657
|
oldText: z.ZodString;
|
|
4966
4658
|
error: z.ZodOptional<z.ZodString>;
|
|
4967
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4968
|
-
id: z.ZodString;
|
|
4969
|
-
expertKey: z.ZodString;
|
|
4970
|
-
runId: z.ZodString;
|
|
4971
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4972
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4973
|
-
expertKey: z.ZodString;
|
|
4974
|
-
runId: z.ZodString;
|
|
4975
|
-
}, z.core.$strip>>;
|
|
4976
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4977
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
4978
|
-
path: z.ZodString;
|
|
4979
|
-
text: z.ZodString;
|
|
4980
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4981
4659
|
}, z.core.$strip>, z.ZodObject<{
|
|
4982
4660
|
id: z.ZodString;
|
|
4983
4661
|
expertKey: z.ZodString;
|
|
@@ -4992,112 +4670,6 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
|
|
|
4992
4670
|
path: z.ZodString;
|
|
4993
4671
|
text: z.ZodString;
|
|
4994
4672
|
error: z.ZodOptional<z.ZodString>;
|
|
4995
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4996
|
-
id: z.ZodString;
|
|
4997
|
-
expertKey: z.ZodString;
|
|
4998
|
-
runId: z.ZodString;
|
|
4999
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5000
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5001
|
-
expertKey: z.ZodString;
|
|
5002
|
-
runId: z.ZodString;
|
|
5003
|
-
}, z.core.$strip>>;
|
|
5004
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5005
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
5006
|
-
path: z.ZodString;
|
|
5007
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5008
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5009
|
-
id: z.ZodString;
|
|
5010
|
-
expertKey: z.ZodString;
|
|
5011
|
-
runId: z.ZodString;
|
|
5012
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5013
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5014
|
-
expertKey: z.ZodString;
|
|
5015
|
-
runId: z.ZodString;
|
|
5016
|
-
}, z.core.$strip>>;
|
|
5017
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5018
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
5019
|
-
path: z.ZodString;
|
|
5020
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
5021
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5022
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5023
|
-
id: z.ZodString;
|
|
5024
|
-
expertKey: z.ZodString;
|
|
5025
|
-
runId: z.ZodString;
|
|
5026
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5027
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5028
|
-
expertKey: z.ZodString;
|
|
5029
|
-
runId: z.ZodString;
|
|
5030
|
-
}, z.core.$strip>>;
|
|
5031
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5032
|
-
type: z.ZodLiteral<"moveFile">;
|
|
5033
|
-
source: z.ZodString;
|
|
5034
|
-
destination: z.ZodString;
|
|
5035
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5036
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5037
|
-
id: z.ZodString;
|
|
5038
|
-
expertKey: z.ZodString;
|
|
5039
|
-
runId: z.ZodString;
|
|
5040
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5041
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5042
|
-
expertKey: z.ZodString;
|
|
5043
|
-
runId: z.ZodString;
|
|
5044
|
-
}, z.core.$strip>>;
|
|
5045
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5046
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
5047
|
-
path: z.ZodString;
|
|
5048
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
5049
|
-
exists: z.ZodBoolean;
|
|
5050
|
-
name: z.ZodString;
|
|
5051
|
-
directory: z.ZodString;
|
|
5052
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
5053
|
-
type: z.ZodEnum<{
|
|
5054
|
-
file: "file";
|
|
5055
|
-
directory: "directory";
|
|
5056
|
-
}>;
|
|
5057
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
5058
|
-
size: z.ZodNumber;
|
|
5059
|
-
sizeFormatted: z.ZodString;
|
|
5060
|
-
created: z.ZodString;
|
|
5061
|
-
modified: z.ZodString;
|
|
5062
|
-
accessed: z.ZodString;
|
|
5063
|
-
}, z.core.$strip>>;
|
|
5064
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5065
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5066
|
-
id: z.ZodString;
|
|
5067
|
-
expertKey: z.ZodString;
|
|
5068
|
-
runId: z.ZodString;
|
|
5069
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5070
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5071
|
-
expertKey: z.ZodString;
|
|
5072
|
-
runId: z.ZodString;
|
|
5073
|
-
}, z.core.$strip>>;
|
|
5074
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5075
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
5076
|
-
path: z.ZodString;
|
|
5077
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5078
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5079
|
-
id: z.ZodString;
|
|
5080
|
-
expertKey: z.ZodString;
|
|
5081
|
-
runId: z.ZodString;
|
|
5082
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5083
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5084
|
-
expertKey: z.ZodString;
|
|
5085
|
-
runId: z.ZodString;
|
|
5086
|
-
}, z.core.$strip>>;
|
|
5087
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5088
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
5089
|
-
path: z.ZodString;
|
|
5090
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5091
|
-
name: z.ZodString;
|
|
5092
|
-
path: z.ZodString;
|
|
5093
|
-
type: z.ZodEnum<{
|
|
5094
|
-
file: "file";
|
|
5095
|
-
directory: "directory";
|
|
5096
|
-
}>;
|
|
5097
|
-
size: z.ZodNumber;
|
|
5098
|
-
modified: z.ZodString;
|
|
5099
|
-
}, z.core.$strip>>>;
|
|
5100
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5101
4673
|
}, z.core.$strip>, z.ZodObject<{
|
|
5102
4674
|
id: z.ZodString;
|
|
5103
4675
|
expertKey: z.ZodString;
|
|
@@ -5401,20 +4973,6 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
|
|
|
5401
4973
|
newText: z.ZodString;
|
|
5402
4974
|
oldText: z.ZodString;
|
|
5403
4975
|
error: z.ZodOptional<z.ZodString>;
|
|
5404
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5405
|
-
id: z.ZodString;
|
|
5406
|
-
expertKey: z.ZodString;
|
|
5407
|
-
runId: z.ZodString;
|
|
5408
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5409
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5410
|
-
expertKey: z.ZodString;
|
|
5411
|
-
runId: z.ZodString;
|
|
5412
|
-
}, z.core.$strip>>;
|
|
5413
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5414
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
5415
|
-
path: z.ZodString;
|
|
5416
|
-
text: z.ZodString;
|
|
5417
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5418
4976
|
}, z.core.$strip>, z.ZodObject<{
|
|
5419
4977
|
id: z.ZodString;
|
|
5420
4978
|
expertKey: z.ZodString;
|
|
@@ -5429,112 +4987,6 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
|
|
|
5429
4987
|
path: z.ZodString;
|
|
5430
4988
|
text: z.ZodString;
|
|
5431
4989
|
error: z.ZodOptional<z.ZodString>;
|
|
5432
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5433
|
-
id: z.ZodString;
|
|
5434
|
-
expertKey: z.ZodString;
|
|
5435
|
-
runId: z.ZodString;
|
|
5436
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5437
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5438
|
-
expertKey: z.ZodString;
|
|
5439
|
-
runId: z.ZodString;
|
|
5440
|
-
}, z.core.$strip>>;
|
|
5441
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5442
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
5443
|
-
path: z.ZodString;
|
|
5444
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5445
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5446
|
-
id: z.ZodString;
|
|
5447
|
-
expertKey: z.ZodString;
|
|
5448
|
-
runId: z.ZodString;
|
|
5449
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5450
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5451
|
-
expertKey: z.ZodString;
|
|
5452
|
-
runId: z.ZodString;
|
|
5453
|
-
}, z.core.$strip>>;
|
|
5454
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5455
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
5456
|
-
path: z.ZodString;
|
|
5457
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
5458
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5459
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5460
|
-
id: z.ZodString;
|
|
5461
|
-
expertKey: z.ZodString;
|
|
5462
|
-
runId: z.ZodString;
|
|
5463
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5464
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5465
|
-
expertKey: z.ZodString;
|
|
5466
|
-
runId: z.ZodString;
|
|
5467
|
-
}, z.core.$strip>>;
|
|
5468
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5469
|
-
type: z.ZodLiteral<"moveFile">;
|
|
5470
|
-
source: z.ZodString;
|
|
5471
|
-
destination: z.ZodString;
|
|
5472
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5473
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5474
|
-
id: z.ZodString;
|
|
5475
|
-
expertKey: z.ZodString;
|
|
5476
|
-
runId: z.ZodString;
|
|
5477
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5478
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5479
|
-
expertKey: z.ZodString;
|
|
5480
|
-
runId: z.ZodString;
|
|
5481
|
-
}, z.core.$strip>>;
|
|
5482
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5483
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
5484
|
-
path: z.ZodString;
|
|
5485
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
5486
|
-
exists: z.ZodBoolean;
|
|
5487
|
-
name: z.ZodString;
|
|
5488
|
-
directory: z.ZodString;
|
|
5489
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
5490
|
-
type: z.ZodEnum<{
|
|
5491
|
-
file: "file";
|
|
5492
|
-
directory: "directory";
|
|
5493
|
-
}>;
|
|
5494
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
5495
|
-
size: z.ZodNumber;
|
|
5496
|
-
sizeFormatted: z.ZodString;
|
|
5497
|
-
created: z.ZodString;
|
|
5498
|
-
modified: z.ZodString;
|
|
5499
|
-
accessed: z.ZodString;
|
|
5500
|
-
}, z.core.$strip>>;
|
|
5501
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5502
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5503
|
-
id: z.ZodString;
|
|
5504
|
-
expertKey: z.ZodString;
|
|
5505
|
-
runId: z.ZodString;
|
|
5506
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5507
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5508
|
-
expertKey: z.ZodString;
|
|
5509
|
-
runId: z.ZodString;
|
|
5510
|
-
}, z.core.$strip>>;
|
|
5511
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5512
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
5513
|
-
path: z.ZodString;
|
|
5514
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5515
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5516
|
-
id: z.ZodString;
|
|
5517
|
-
expertKey: z.ZodString;
|
|
5518
|
-
runId: z.ZodString;
|
|
5519
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5520
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5521
|
-
expertKey: z.ZodString;
|
|
5522
|
-
runId: z.ZodString;
|
|
5523
|
-
}, z.core.$strip>>;
|
|
5524
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5525
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
5526
|
-
path: z.ZodString;
|
|
5527
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5528
|
-
name: z.ZodString;
|
|
5529
|
-
path: z.ZodString;
|
|
5530
|
-
type: z.ZodEnum<{
|
|
5531
|
-
file: "file";
|
|
5532
|
-
directory: "directory";
|
|
5533
|
-
}>;
|
|
5534
|
-
size: z.ZodNumber;
|
|
5535
|
-
modified: z.ZodString;
|
|
5536
|
-
}, z.core.$strip>>>;
|
|
5537
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5538
4990
|
}, z.core.$strip>, z.ZodObject<{
|
|
5539
4991
|
id: z.ZodString;
|
|
5540
4992
|
expertKey: z.ZodString;
|
|
@@ -5840,20 +5292,6 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
|
|
|
5840
5292
|
newText: z.ZodString;
|
|
5841
5293
|
oldText: z.ZodString;
|
|
5842
5294
|
error: z.ZodOptional<z.ZodString>;
|
|
5843
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5844
|
-
id: z.ZodString;
|
|
5845
|
-
expertKey: z.ZodString;
|
|
5846
|
-
runId: z.ZodString;
|
|
5847
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5848
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5849
|
-
expertKey: z.ZodString;
|
|
5850
|
-
runId: z.ZodString;
|
|
5851
|
-
}, z.core.$strip>>;
|
|
5852
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5853
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
5854
|
-
path: z.ZodString;
|
|
5855
|
-
text: z.ZodString;
|
|
5856
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5857
5295
|
}, z.core.$strip>, z.ZodObject<{
|
|
5858
5296
|
id: z.ZodString;
|
|
5859
5297
|
expertKey: z.ZodString;
|
|
@@ -5868,112 +5306,6 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
|
|
|
5868
5306
|
path: z.ZodString;
|
|
5869
5307
|
text: z.ZodString;
|
|
5870
5308
|
error: z.ZodOptional<z.ZodString>;
|
|
5871
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5872
|
-
id: z.ZodString;
|
|
5873
|
-
expertKey: z.ZodString;
|
|
5874
|
-
runId: z.ZodString;
|
|
5875
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5876
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5877
|
-
expertKey: z.ZodString;
|
|
5878
|
-
runId: z.ZodString;
|
|
5879
|
-
}, z.core.$strip>>;
|
|
5880
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5881
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
5882
|
-
path: z.ZodString;
|
|
5883
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5884
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5885
|
-
id: z.ZodString;
|
|
5886
|
-
expertKey: z.ZodString;
|
|
5887
|
-
runId: z.ZodString;
|
|
5888
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5889
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5890
|
-
expertKey: z.ZodString;
|
|
5891
|
-
runId: z.ZodString;
|
|
5892
|
-
}, z.core.$strip>>;
|
|
5893
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5894
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
5895
|
-
path: z.ZodString;
|
|
5896
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
5897
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5898
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5899
|
-
id: z.ZodString;
|
|
5900
|
-
expertKey: z.ZodString;
|
|
5901
|
-
runId: z.ZodString;
|
|
5902
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5903
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5904
|
-
expertKey: z.ZodString;
|
|
5905
|
-
runId: z.ZodString;
|
|
5906
|
-
}, z.core.$strip>>;
|
|
5907
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5908
|
-
type: z.ZodLiteral<"moveFile">;
|
|
5909
|
-
source: z.ZodString;
|
|
5910
|
-
destination: z.ZodString;
|
|
5911
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5912
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5913
|
-
id: z.ZodString;
|
|
5914
|
-
expertKey: z.ZodString;
|
|
5915
|
-
runId: z.ZodString;
|
|
5916
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5917
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5918
|
-
expertKey: z.ZodString;
|
|
5919
|
-
runId: z.ZodString;
|
|
5920
|
-
}, z.core.$strip>>;
|
|
5921
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5922
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
5923
|
-
path: z.ZodString;
|
|
5924
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
5925
|
-
exists: z.ZodBoolean;
|
|
5926
|
-
name: z.ZodString;
|
|
5927
|
-
directory: z.ZodString;
|
|
5928
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
5929
|
-
type: z.ZodEnum<{
|
|
5930
|
-
file: "file";
|
|
5931
|
-
directory: "directory";
|
|
5932
|
-
}>;
|
|
5933
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
5934
|
-
size: z.ZodNumber;
|
|
5935
|
-
sizeFormatted: z.ZodString;
|
|
5936
|
-
created: z.ZodString;
|
|
5937
|
-
modified: z.ZodString;
|
|
5938
|
-
accessed: z.ZodString;
|
|
5939
|
-
}, z.core.$strip>>;
|
|
5940
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5941
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5942
|
-
id: z.ZodString;
|
|
5943
|
-
expertKey: z.ZodString;
|
|
5944
|
-
runId: z.ZodString;
|
|
5945
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5946
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5947
|
-
expertKey: z.ZodString;
|
|
5948
|
-
runId: z.ZodString;
|
|
5949
|
-
}, z.core.$strip>>;
|
|
5950
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5951
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
5952
|
-
path: z.ZodString;
|
|
5953
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5954
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5955
|
-
id: z.ZodString;
|
|
5956
|
-
expertKey: z.ZodString;
|
|
5957
|
-
runId: z.ZodString;
|
|
5958
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5959
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5960
|
-
expertKey: z.ZodString;
|
|
5961
|
-
runId: z.ZodString;
|
|
5962
|
-
}, z.core.$strip>>;
|
|
5963
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5964
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
5965
|
-
path: z.ZodString;
|
|
5966
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5967
|
-
name: z.ZodString;
|
|
5968
|
-
path: z.ZodString;
|
|
5969
|
-
type: z.ZodEnum<{
|
|
5970
|
-
file: "file";
|
|
5971
|
-
directory: "directory";
|
|
5972
|
-
}>;
|
|
5973
|
-
size: z.ZodNumber;
|
|
5974
|
-
modified: z.ZodString;
|
|
5975
|
-
}, z.core.$strip>>>;
|
|
5976
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5977
5309
|
}, z.core.$strip>, z.ZodObject<{
|
|
5978
5310
|
id: z.ZodString;
|
|
5979
5311
|
expertKey: z.ZodString;
|
|
@@ -6530,4 +5862,4 @@ declare function createFilteredEventListener(listener: (event: PerstackEvent) =>
|
|
|
6530
5862
|
declare function formatZodError(error: ZodError): string;
|
|
6531
5863
|
declare function parseWithFriendlyError<T>(schema: ZodSchema<T>, data: unknown, context?: string): T;
|
|
6532
5864
|
|
|
6533
|
-
export { type Activity, type ActivityOrGroup, type ActivityType, type AmazonBedrockProviderConfig, type AnthropicProviderConfig, type AnthropicProviderSkill, type AnthropicProviderToolName, type
|
|
5865
|
+
export { type Activity, type ActivityOrGroup, type ActivityType, type AmazonBedrockProviderConfig, type AnthropicProviderConfig, type AnthropicProviderSkill, type AnthropicProviderToolName, type AttemptCompletionActivity, type AzureOpenAIProviderToolName, type AzureOpenAiProviderConfig, BASE_SKILL_PREFIX, type BaseEvent, type BasePart, type BuiltinAnthropicSkill, type CallToolResultContent, type Checkpoint, type CheckpointStatus, type ClearTodoActivity, type CommandOptions, type CompleteActivity, type CreateCheckpointParams, type CustomAnthropicSkill, type DeepseekProviderConfig, type DelegateActivity, type DelegateSkillManagerParams, type DelegationCompleteActivity, type DelegationTarget, type EditTextFileActivity, type ErrorActivity, type EventForType, type EventType, type ExecActivity, type Expert, type ExpertMessage, type ExpertStateEvent, type ExpertStateEventType, type FileBinaryPart, type FileInlinePart, type FileUrlPart, type GeneralToolActivity, type GetActivitiesParams, type GoogleGenerativeAiProviderConfig, type GoogleProviderToolName, type GoogleVertexProviderConfig, type Headers, type ImageBinaryPart, type ImageInlinePart, type ImageUrlPart, type InstructionMessage, type InteractiveSkill, type InteractiveSkillManagerParams, type InteractiveTool, type InteractiveToolActivity, type Job, type JobStatus, type Lockfile, type LockfileExpert, type LockfileToolDefinition, type McpSkillManagerParams, type McpSseSkill, type McpStdioSkill, type Message, type MessagePart, type OllamaProviderConfig, type OpenAIProviderToolName, type OpenAiProviderConfig, type ParallelActivitiesGroup, type PerstackConfig, type PerstackConfigExpert, type PerstackConfigSkill, PerstackError, type PerstackEvent, type ProviderConfig, type ProviderName, type ProviderTable, type ProviderToolOptions, type QueryActivity, type ReadImageFileActivity, type ReadPdfFileActivity, type ReadTextFileActivity, type ReasoningBudget, type Resource, type RetryActivity, type RunCommandInput, type RunEvent, type RunInput, type RunParams, type RunParamsInput, type RunSetting, type RuntimeEvent, type RuntimeEventForType, type RuntimeEventType, type RuntimeVersion, SAFE_ENV_VARS, type Skill, type SkillManagerParams, type SkillType, type StartCommandInput, type Step, type StreamingEvent, type StreamingEventType, type TextPart, type ThinkingPart, type TodoActivity, type ToolCall, type ToolCallPart, type ToolDefinition, type ToolMessage, type ToolResult, type ToolResultPart, type Usage, type UserMessage, type VertexProviderToolName, type WriteTextFileActivity, activityOrGroupSchema, activitySchema, amazonBedrockProviderConfigSchema, anthropicProviderConfigSchema, anthropicProviderSkillSchema, anthropicProviderToolNameSchema, attemptCompletion, attemptCompletionActivitySchema, azureOpenAIProviderToolNameSchema, azureOpenAiProviderConfigSchema, basePartSchema, builtinAnthropicSkillSchema, callTools, checkpointSchema, checkpointStatusSchema, clearTodoActivitySchema, completeActivitySchema, completeRun, continueToNextStep, createBaseToolActivity, createCallToolsEvent, createCompleteRunEvent, createEmptyUsage, createEvent, createFilteredEventListener, createGeneralToolActivity, createNormalizedCheckpoint, createResolveToolResultsEvent, createRuntimeEvent, createRuntimeInitEvent, createStartRunEvent, createStreamingEvent, createToolMessage, customAnthropicSkillSchema, deepseekProviderConfigSchema, defaultMaxRetries, defaultMaxSteps, defaultPerstackApiBaseUrl, defaultReasoningBudget, defaultTimeout, delegateActivitySchema, delegationCompleteActivitySchema, delegationTargetSchema, domainPatternSchema, editTextFileActivitySchema, errorActivitySchema, execActivitySchema, expertKeyRegex, expertMessageSchema, expertNameRegex, expertSchema, expertVersionRegex, fileBinaryPartSchema, fileInlinePartSchema, fileSearchOptionsSchema, fileUrlPartSchema, finishMcpTools, finishToolCall, formatZodError, generalToolActivitySchema, getActivities, getFilteredEnv, googleGenerativeAiProviderConfigSchema, googleProviderToolNameSchema, googleVertexProviderConfigSchema, headersSchema, imageBinaryPartSchema, imageInlinePartSchema, imageUrlPartSchema, instructionMessageSchema, interactiveSkillSchema, interactiveToolActivitySchema, interactiveToolSchema, isPrivateOrLocalIP, isValidEventType, isValidRuntimeEventType, jobSchema, jobStatusSchema, knownModels, lockfileExpertSchema, lockfileSchema, lockfileToolDefinitionSchema, maxExpertNameLength, maxSkillNameLength, maxSkillToolNameLength, mcpSseSkillSchema, mcpStdioSkillSchema, messagePartSchema, messageSchema, ollamaProviderConfigSchema, openAiProviderConfigSchema, openaiProviderToolNameSchema, parallelActivitiesGroupSchema, parseExpertKey, parseWithFriendlyError, perstackConfigSchema, proceedToInteractiveTools, providerConfigSchema, providerNameSchema, providerTableSchema, providerToolOptionsSchema, queryActivitySchema, readImageFileActivitySchema, readPdfFileActivitySchema, readTextFileActivitySchema, reasoningBudgetSchema, resolveToolResults, resumeFromStop, resumeToolCalls, retry, retryActivitySchema, runCommandInputSchema, runParamsSchema, runSettingSchema, runtimeVersionSchema, skillSchema, skipDelegates, startCommandInputSchema, startGeneration, startRun, stepSchema, stopRunByDelegate, stopRunByError, stopRunByExceededMaxSteps, stopRunByInteractiveTool, tagNameRegex, textPartSchema, thinkingPartSchema, todoActivitySchema, toolCallPartSchema, toolCallSchema, toolMessageSchema, toolResultPartSchema, toolResultSchema, usageSchema, userMessageSchema, validateEventFilter, vertexProviderToolNameSchema, webFetchOptionsSchema, webSearchOptionsSchema, writeTextFileActivitySchema };
|