@perstack/core 0.0.46 → 0.0.48
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 +2 -693
- package/dist/src/index.js +4 -169
- package/dist/src/index.js.map +1 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -1046,8 +1046,6 @@ interface McpStdioSkill {
|
|
|
1046
1046
|
args: string[];
|
|
1047
1047
|
/** Environment variables required by this skill */
|
|
1048
1048
|
requiredEnv: string[];
|
|
1049
|
-
/** Whether to delay initialization until first use */
|
|
1050
|
-
lazyInit: boolean;
|
|
1051
1049
|
}
|
|
1052
1050
|
declare const mcpStdioSkillSchema: z.ZodObject<{
|
|
1053
1051
|
type: z.ZodLiteral<"mcpStdioSkill">;
|
|
@@ -1060,7 +1058,6 @@ declare const mcpStdioSkillSchema: z.ZodObject<{
|
|
|
1060
1058
|
packageName: z.ZodOptional<z.ZodString>;
|
|
1061
1059
|
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1062
1060
|
requiredEnv: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1063
|
-
lazyInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1064
1061
|
}, z.core.$strip>;
|
|
1065
1062
|
/** MCP skill using SSE transport */
|
|
1066
1063
|
interface McpSseSkill {
|
|
@@ -1145,7 +1142,6 @@ declare const skillSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1145
1142
|
packageName: z.ZodOptional<z.ZodString>;
|
|
1146
1143
|
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1147
1144
|
requiredEnv: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1148
|
-
lazyInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1149
1145
|
}, z.core.$strip>, z.ZodObject<{
|
|
1150
1146
|
type: z.ZodLiteral<"mcpSseSkill">;
|
|
1151
1147
|
name: z.ZodString;
|
|
@@ -1220,7 +1216,6 @@ declare const expertSchema: z.ZodObject<{
|
|
|
1220
1216
|
command: z.ZodString;
|
|
1221
1217
|
packageName: z.ZodOptional<z.ZodString>;
|
|
1222
1218
|
requiredEnv: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
1223
|
-
lazyInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1224
1219
|
}, z.core.$strip>, z.ZodObject<{
|
|
1225
1220
|
type: z.ZodLiteral<"mcpSseSkill">;
|
|
1226
1221
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -1254,7 +1249,6 @@ declare const expertSchema: z.ZodObject<{
|
|
|
1254
1249
|
command: string;
|
|
1255
1250
|
args: string[];
|
|
1256
1251
|
requiredEnv: string[];
|
|
1257
|
-
lazyInit: boolean;
|
|
1258
1252
|
description?: string | undefined;
|
|
1259
1253
|
rule?: string | undefined;
|
|
1260
1254
|
packageName?: string | undefined;
|
|
@@ -1286,7 +1280,6 @@ declare const expertSchema: z.ZodObject<{
|
|
|
1286
1280
|
omit: string[];
|
|
1287
1281
|
command: string;
|
|
1288
1282
|
requiredEnv: string[];
|
|
1289
|
-
lazyInit: boolean;
|
|
1290
1283
|
description?: string | undefined;
|
|
1291
1284
|
rule?: string | undefined;
|
|
1292
1285
|
packageName?: string | undefined;
|
|
@@ -1486,7 +1479,6 @@ type PerstackConfigSkill = {
|
|
|
1486
1479
|
args?: string[];
|
|
1487
1480
|
requiredEnv?: string[];
|
|
1488
1481
|
allowedDomains?: string[];
|
|
1489
|
-
lazyInit?: boolean;
|
|
1490
1482
|
} | {
|
|
1491
1483
|
type: "mcpSseSkill";
|
|
1492
1484
|
description?: string;
|
|
@@ -1656,7 +1648,6 @@ declare const perstackConfigSchema: z.ZodObject<{
|
|
|
1656
1648
|
args: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1657
1649
|
requiredEnv: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1658
1650
|
allowedDomains: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1659
|
-
lazyInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1660
1651
|
}, z.core.$strip>, z.ZodObject<{
|
|
1661
1652
|
type: z.ZodLiteral<"mcpSseSkill">;
|
|
1662
1653
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2469,7 +2460,6 @@ declare const runSettingSchema: z.ZodObject<{
|
|
|
2469
2460
|
command: z.ZodString;
|
|
2470
2461
|
packageName: z.ZodOptional<z.ZodString>;
|
|
2471
2462
|
requiredEnv: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2472
|
-
lazyInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2473
2463
|
}, z.core.$strip>, z.ZodObject<{
|
|
2474
2464
|
type: z.ZodLiteral<"mcpSseSkill">;
|
|
2475
2465
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2503,7 +2493,6 @@ declare const runSettingSchema: z.ZodObject<{
|
|
|
2503
2493
|
command: string;
|
|
2504
2494
|
args: string[];
|
|
2505
2495
|
requiredEnv: string[];
|
|
2506
|
-
lazyInit: boolean;
|
|
2507
2496
|
description?: string | undefined;
|
|
2508
2497
|
rule?: string | undefined;
|
|
2509
2498
|
packageName?: string | undefined;
|
|
@@ -2535,7 +2524,6 @@ declare const runSettingSchema: z.ZodObject<{
|
|
|
2535
2524
|
omit: string[];
|
|
2536
2525
|
command: string;
|
|
2537
2526
|
requiredEnv: string[];
|
|
2538
|
-
lazyInit: boolean;
|
|
2539
2527
|
description?: string | undefined;
|
|
2540
2528
|
rule?: string | undefined;
|
|
2541
2529
|
packageName?: string | undefined;
|
|
@@ -2699,7 +2687,6 @@ declare const runParamsSchema: z.ZodObject<{
|
|
|
2699
2687
|
command: z.ZodString;
|
|
2700
2688
|
packageName: z.ZodOptional<z.ZodString>;
|
|
2701
2689
|
requiredEnv: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
2702
|
-
lazyInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
2703
2690
|
}, z.core.$strip>, z.ZodObject<{
|
|
2704
2691
|
type: z.ZodLiteral<"mcpSseSkill">;
|
|
2705
2692
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -2733,7 +2720,6 @@ declare const runParamsSchema: z.ZodObject<{
|
|
|
2733
2720
|
command: string;
|
|
2734
2721
|
args: string[];
|
|
2735
2722
|
requiredEnv: string[];
|
|
2736
|
-
lazyInit: boolean;
|
|
2737
2723
|
description?: string | undefined;
|
|
2738
2724
|
rule?: string | undefined;
|
|
2739
2725
|
packageName?: string | undefined;
|
|
@@ -2765,7 +2751,6 @@ declare const runParamsSchema: z.ZodObject<{
|
|
|
2765
2751
|
omit: string[];
|
|
2766
2752
|
command: string;
|
|
2767
2753
|
requiredEnv: string[];
|
|
2768
|
-
lazyInit: boolean;
|
|
2769
2754
|
description?: string | undefined;
|
|
2770
2755
|
rule?: string | undefined;
|
|
2771
2756
|
packageName?: string | undefined;
|
|
@@ -2820,7 +2805,6 @@ declare const runParamsSchema: z.ZodObject<{
|
|
|
2820
2805
|
command: string;
|
|
2821
2806
|
args: string[];
|
|
2822
2807
|
requiredEnv: string[];
|
|
2823
|
-
lazyInit: boolean;
|
|
2824
2808
|
description?: string | undefined;
|
|
2825
2809
|
rule?: string | undefined;
|
|
2826
2810
|
packageName?: string | undefined;
|
|
@@ -2886,7 +2870,6 @@ declare const runParamsSchema: z.ZodObject<{
|
|
|
2886
2870
|
command: string;
|
|
2887
2871
|
args: string[];
|
|
2888
2872
|
requiredEnv: string[];
|
|
2889
|
-
lazyInit: boolean;
|
|
2890
2873
|
description?: string | undefined;
|
|
2891
2874
|
rule?: string | undefined;
|
|
2892
2875
|
packageName?: string | undefined;
|
|
@@ -3954,28 +3937,6 @@ declare const editTextFileActivitySchema: z.ZodObject<{
|
|
|
3954
3937
|
oldText: z.ZodString;
|
|
3955
3938
|
error: z.ZodOptional<z.ZodString>;
|
|
3956
3939
|
}, z.core.$strip>;
|
|
3957
|
-
/** Append text file activity */
|
|
3958
|
-
interface AppendTextFileActivity extends BaseActivity {
|
|
3959
|
-
type: "appendTextFile";
|
|
3960
|
-
path: string;
|
|
3961
|
-
text: string;
|
|
3962
|
-
error?: string;
|
|
3963
|
-
}
|
|
3964
|
-
declare const appendTextFileActivitySchema: z.ZodObject<{
|
|
3965
|
-
id: z.ZodString;
|
|
3966
|
-
expertKey: z.ZodString;
|
|
3967
|
-
runId: z.ZodString;
|
|
3968
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
3969
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
3970
|
-
expertKey: z.ZodString;
|
|
3971
|
-
runId: z.ZodString;
|
|
3972
|
-
}, z.core.$strip>>;
|
|
3973
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
3974
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
3975
|
-
path: z.ZodString;
|
|
3976
|
-
text: z.ZodString;
|
|
3977
|
-
error: z.ZodOptional<z.ZodString>;
|
|
3978
|
-
}, z.core.$strip>;
|
|
3979
3940
|
/** Write text file activity */
|
|
3980
3941
|
interface WriteTextFileActivity extends BaseActivity {
|
|
3981
3942
|
type: "writeTextFile";
|
|
@@ -3998,176 +3959,6 @@ declare const writeTextFileActivitySchema: z.ZodObject<{
|
|
|
3998
3959
|
text: z.ZodString;
|
|
3999
3960
|
error: z.ZodOptional<z.ZodString>;
|
|
4000
3961
|
}, z.core.$strip>;
|
|
4001
|
-
/** Delete file activity */
|
|
4002
|
-
interface DeleteFileActivity extends BaseActivity {
|
|
4003
|
-
type: "deleteFile";
|
|
4004
|
-
path: string;
|
|
4005
|
-
error?: string;
|
|
4006
|
-
}
|
|
4007
|
-
declare const deleteFileActivitySchema: z.ZodObject<{
|
|
4008
|
-
id: z.ZodString;
|
|
4009
|
-
expertKey: z.ZodString;
|
|
4010
|
-
runId: z.ZodString;
|
|
4011
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4012
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4013
|
-
expertKey: z.ZodString;
|
|
4014
|
-
runId: z.ZodString;
|
|
4015
|
-
}, z.core.$strip>>;
|
|
4016
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4017
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
4018
|
-
path: z.ZodString;
|
|
4019
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4020
|
-
}, z.core.$strip>;
|
|
4021
|
-
/** Delete directory activity */
|
|
4022
|
-
interface DeleteDirectoryActivity extends BaseActivity {
|
|
4023
|
-
type: "deleteDirectory";
|
|
4024
|
-
path: string;
|
|
4025
|
-
recursive?: boolean;
|
|
4026
|
-
error?: string;
|
|
4027
|
-
}
|
|
4028
|
-
declare const deleteDirectoryActivitySchema: z.ZodObject<{
|
|
4029
|
-
id: z.ZodString;
|
|
4030
|
-
expertKey: z.ZodString;
|
|
4031
|
-
runId: z.ZodString;
|
|
4032
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4033
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4034
|
-
expertKey: z.ZodString;
|
|
4035
|
-
runId: z.ZodString;
|
|
4036
|
-
}, z.core.$strip>>;
|
|
4037
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4038
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
4039
|
-
path: z.ZodString;
|
|
4040
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
4041
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4042
|
-
}, z.core.$strip>;
|
|
4043
|
-
/** Move file activity */
|
|
4044
|
-
interface MoveFileActivity extends BaseActivity {
|
|
4045
|
-
type: "moveFile";
|
|
4046
|
-
source: string;
|
|
4047
|
-
destination: string;
|
|
4048
|
-
error?: string;
|
|
4049
|
-
}
|
|
4050
|
-
declare const moveFileActivitySchema: z.ZodObject<{
|
|
4051
|
-
id: z.ZodString;
|
|
4052
|
-
expertKey: z.ZodString;
|
|
4053
|
-
runId: z.ZodString;
|
|
4054
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4055
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4056
|
-
expertKey: z.ZodString;
|
|
4057
|
-
runId: z.ZodString;
|
|
4058
|
-
}, z.core.$strip>>;
|
|
4059
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4060
|
-
type: z.ZodLiteral<"moveFile">;
|
|
4061
|
-
source: z.ZodString;
|
|
4062
|
-
destination: z.ZodString;
|
|
4063
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4064
|
-
}, z.core.$strip>;
|
|
4065
|
-
/** Get file info activity */
|
|
4066
|
-
interface GetFileInfoActivity extends BaseActivity {
|
|
4067
|
-
type: "getFileInfo";
|
|
4068
|
-
path: string;
|
|
4069
|
-
info?: {
|
|
4070
|
-
exists: boolean;
|
|
4071
|
-
name: string;
|
|
4072
|
-
directory: string;
|
|
4073
|
-
extension: string | null;
|
|
4074
|
-
type: "file" | "directory";
|
|
4075
|
-
mimeType: string | null;
|
|
4076
|
-
size: number;
|
|
4077
|
-
sizeFormatted: string;
|
|
4078
|
-
created: string;
|
|
4079
|
-
modified: string;
|
|
4080
|
-
accessed: string;
|
|
4081
|
-
};
|
|
4082
|
-
error?: string;
|
|
4083
|
-
}
|
|
4084
|
-
declare const getFileInfoActivitySchema: z.ZodObject<{
|
|
4085
|
-
id: z.ZodString;
|
|
4086
|
-
expertKey: z.ZodString;
|
|
4087
|
-
runId: z.ZodString;
|
|
4088
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4089
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4090
|
-
expertKey: z.ZodString;
|
|
4091
|
-
runId: z.ZodString;
|
|
4092
|
-
}, z.core.$strip>>;
|
|
4093
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4094
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
4095
|
-
path: z.ZodString;
|
|
4096
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
4097
|
-
exists: z.ZodBoolean;
|
|
4098
|
-
name: z.ZodString;
|
|
4099
|
-
directory: z.ZodString;
|
|
4100
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
4101
|
-
type: z.ZodEnum<{
|
|
4102
|
-
file: "file";
|
|
4103
|
-
directory: "directory";
|
|
4104
|
-
}>;
|
|
4105
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
4106
|
-
size: z.ZodNumber;
|
|
4107
|
-
sizeFormatted: z.ZodString;
|
|
4108
|
-
created: z.ZodString;
|
|
4109
|
-
modified: z.ZodString;
|
|
4110
|
-
accessed: z.ZodString;
|
|
4111
|
-
}, z.core.$strip>>;
|
|
4112
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4113
|
-
}, z.core.$strip>;
|
|
4114
|
-
/** Create directory activity */
|
|
4115
|
-
interface CreateDirectoryActivity extends BaseActivity {
|
|
4116
|
-
type: "createDirectory";
|
|
4117
|
-
path: string;
|
|
4118
|
-
error?: string;
|
|
4119
|
-
}
|
|
4120
|
-
declare const createDirectoryActivitySchema: z.ZodObject<{
|
|
4121
|
-
id: z.ZodString;
|
|
4122
|
-
expertKey: z.ZodString;
|
|
4123
|
-
runId: z.ZodString;
|
|
4124
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4125
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4126
|
-
expertKey: z.ZodString;
|
|
4127
|
-
runId: z.ZodString;
|
|
4128
|
-
}, z.core.$strip>>;
|
|
4129
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4130
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
4131
|
-
path: z.ZodString;
|
|
4132
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4133
|
-
}, z.core.$strip>;
|
|
4134
|
-
/** List directory activity */
|
|
4135
|
-
interface ListDirectoryActivity extends BaseActivity {
|
|
4136
|
-
type: "listDirectory";
|
|
4137
|
-
path: string;
|
|
4138
|
-
items?: Array<{
|
|
4139
|
-
name: string;
|
|
4140
|
-
path: string;
|
|
4141
|
-
type: "file" | "directory";
|
|
4142
|
-
size: number;
|
|
4143
|
-
modified: string;
|
|
4144
|
-
}>;
|
|
4145
|
-
error?: string;
|
|
4146
|
-
}
|
|
4147
|
-
declare const listDirectoryActivitySchema: z.ZodObject<{
|
|
4148
|
-
id: z.ZodString;
|
|
4149
|
-
expertKey: z.ZodString;
|
|
4150
|
-
runId: z.ZodString;
|
|
4151
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4152
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4153
|
-
expertKey: z.ZodString;
|
|
4154
|
-
runId: z.ZodString;
|
|
4155
|
-
}, z.core.$strip>>;
|
|
4156
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4157
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
4158
|
-
path: z.ZodString;
|
|
4159
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4160
|
-
name: z.ZodString;
|
|
4161
|
-
path: z.ZodString;
|
|
4162
|
-
type: z.ZodEnum<{
|
|
4163
|
-
file: "file";
|
|
4164
|
-
directory: "directory";
|
|
4165
|
-
}>;
|
|
4166
|
-
size: z.ZodNumber;
|
|
4167
|
-
modified: z.ZodString;
|
|
4168
|
-
}, z.core.$strip>>>;
|
|
4169
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4170
|
-
}, z.core.$strip>;
|
|
4171
3962
|
/** Exec activity - Command execution */
|
|
4172
3963
|
interface ExecActivity extends BaseActivity {
|
|
4173
3964
|
type: "exec";
|
|
@@ -4351,7 +4142,7 @@ declare const generalToolActivitySchema: z.ZodObject<{
|
|
|
4351
4142
|
error: z.ZodOptional<z.ZodString>;
|
|
4352
4143
|
}, z.core.$strip>;
|
|
4353
4144
|
/** Union of all activity types */
|
|
4354
|
-
type Activity = QueryActivity | RetryActivity | CompleteActivity | ErrorActivity | AttemptCompletionActivity | TodoActivity | ClearTodoActivity | ReadImageFileActivity | ReadPdfFileActivity | ReadTextFileActivity | EditTextFileActivity |
|
|
4145
|
+
type Activity = QueryActivity | RetryActivity | CompleteActivity | ErrorActivity | AttemptCompletionActivity | TodoActivity | ClearTodoActivity | ReadImageFileActivity | ReadPdfFileActivity | ReadTextFileActivity | EditTextFileActivity | WriteTextFileActivity | ExecActivity | DelegateActivity | DelegationCompleteActivity | InteractiveToolActivity | GeneralToolActivity;
|
|
4355
4146
|
declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4356
4147
|
id: z.ZodString;
|
|
4357
4148
|
expertKey: z.ZodString;
|
|
@@ -4512,20 +4303,6 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4512
4303
|
newText: z.ZodString;
|
|
4513
4304
|
oldText: z.ZodString;
|
|
4514
4305
|
error: z.ZodOptional<z.ZodString>;
|
|
4515
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4516
|
-
id: z.ZodString;
|
|
4517
|
-
expertKey: z.ZodString;
|
|
4518
|
-
runId: z.ZodString;
|
|
4519
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4520
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4521
|
-
expertKey: z.ZodString;
|
|
4522
|
-
runId: z.ZodString;
|
|
4523
|
-
}, z.core.$strip>>;
|
|
4524
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4525
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
4526
|
-
path: z.ZodString;
|
|
4527
|
-
text: z.ZodString;
|
|
4528
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4529
4306
|
}, z.core.$strip>, z.ZodObject<{
|
|
4530
4307
|
id: z.ZodString;
|
|
4531
4308
|
expertKey: z.ZodString;
|
|
@@ -4540,112 +4317,6 @@ declare const activitySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4540
4317
|
path: z.ZodString;
|
|
4541
4318
|
text: z.ZodString;
|
|
4542
4319
|
error: z.ZodOptional<z.ZodString>;
|
|
4543
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4544
|
-
id: z.ZodString;
|
|
4545
|
-
expertKey: z.ZodString;
|
|
4546
|
-
runId: z.ZodString;
|
|
4547
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4548
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4549
|
-
expertKey: z.ZodString;
|
|
4550
|
-
runId: z.ZodString;
|
|
4551
|
-
}, z.core.$strip>>;
|
|
4552
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4553
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
4554
|
-
path: z.ZodString;
|
|
4555
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4556
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4557
|
-
id: z.ZodString;
|
|
4558
|
-
expertKey: z.ZodString;
|
|
4559
|
-
runId: z.ZodString;
|
|
4560
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4561
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4562
|
-
expertKey: z.ZodString;
|
|
4563
|
-
runId: z.ZodString;
|
|
4564
|
-
}, z.core.$strip>>;
|
|
4565
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4566
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
4567
|
-
path: z.ZodString;
|
|
4568
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
4569
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4570
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4571
|
-
id: z.ZodString;
|
|
4572
|
-
expertKey: z.ZodString;
|
|
4573
|
-
runId: z.ZodString;
|
|
4574
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4575
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4576
|
-
expertKey: z.ZodString;
|
|
4577
|
-
runId: z.ZodString;
|
|
4578
|
-
}, z.core.$strip>>;
|
|
4579
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4580
|
-
type: z.ZodLiteral<"moveFile">;
|
|
4581
|
-
source: z.ZodString;
|
|
4582
|
-
destination: z.ZodString;
|
|
4583
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4584
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4585
|
-
id: z.ZodString;
|
|
4586
|
-
expertKey: z.ZodString;
|
|
4587
|
-
runId: z.ZodString;
|
|
4588
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4589
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4590
|
-
expertKey: z.ZodString;
|
|
4591
|
-
runId: z.ZodString;
|
|
4592
|
-
}, z.core.$strip>>;
|
|
4593
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4594
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
4595
|
-
path: z.ZodString;
|
|
4596
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
4597
|
-
exists: z.ZodBoolean;
|
|
4598
|
-
name: z.ZodString;
|
|
4599
|
-
directory: z.ZodString;
|
|
4600
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
4601
|
-
type: z.ZodEnum<{
|
|
4602
|
-
file: "file";
|
|
4603
|
-
directory: "directory";
|
|
4604
|
-
}>;
|
|
4605
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
4606
|
-
size: z.ZodNumber;
|
|
4607
|
-
sizeFormatted: z.ZodString;
|
|
4608
|
-
created: z.ZodString;
|
|
4609
|
-
modified: z.ZodString;
|
|
4610
|
-
accessed: z.ZodString;
|
|
4611
|
-
}, z.core.$strip>>;
|
|
4612
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4613
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4614
|
-
id: z.ZodString;
|
|
4615
|
-
expertKey: z.ZodString;
|
|
4616
|
-
runId: z.ZodString;
|
|
4617
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4618
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4619
|
-
expertKey: z.ZodString;
|
|
4620
|
-
runId: z.ZodString;
|
|
4621
|
-
}, z.core.$strip>>;
|
|
4622
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4623
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
4624
|
-
path: z.ZodString;
|
|
4625
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4626
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4627
|
-
id: z.ZodString;
|
|
4628
|
-
expertKey: z.ZodString;
|
|
4629
|
-
runId: z.ZodString;
|
|
4630
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4631
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4632
|
-
expertKey: z.ZodString;
|
|
4633
|
-
runId: z.ZodString;
|
|
4634
|
-
}, z.core.$strip>>;
|
|
4635
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4636
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
4637
|
-
path: z.ZodString;
|
|
4638
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4639
|
-
name: z.ZodString;
|
|
4640
|
-
path: z.ZodString;
|
|
4641
|
-
type: z.ZodEnum<{
|
|
4642
|
-
file: "file";
|
|
4643
|
-
directory: "directory";
|
|
4644
|
-
}>;
|
|
4645
|
-
size: z.ZodNumber;
|
|
4646
|
-
modified: z.ZodString;
|
|
4647
|
-
}, z.core.$strip>>>;
|
|
4648
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4649
4320
|
}, z.core.$strip>, z.ZodObject<{
|
|
4650
4321
|
id: z.ZodString;
|
|
4651
4322
|
expertKey: z.ZodString;
|
|
@@ -4968,20 +4639,6 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
|
|
|
4968
4639
|
newText: z.ZodString;
|
|
4969
4640
|
oldText: z.ZodString;
|
|
4970
4641
|
error: z.ZodOptional<z.ZodString>;
|
|
4971
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4972
|
-
id: z.ZodString;
|
|
4973
|
-
expertKey: z.ZodString;
|
|
4974
|
-
runId: z.ZodString;
|
|
4975
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
4976
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
4977
|
-
expertKey: z.ZodString;
|
|
4978
|
-
runId: z.ZodString;
|
|
4979
|
-
}, z.core.$strip>>;
|
|
4980
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
4981
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
4982
|
-
path: z.ZodString;
|
|
4983
|
-
text: z.ZodString;
|
|
4984
|
-
error: z.ZodOptional<z.ZodString>;
|
|
4985
4642
|
}, z.core.$strip>, z.ZodObject<{
|
|
4986
4643
|
id: z.ZodString;
|
|
4987
4644
|
expertKey: z.ZodString;
|
|
@@ -4996,112 +4653,6 @@ declare const parallelActivitiesGroupSchema: z.ZodObject<{
|
|
|
4996
4653
|
path: z.ZodString;
|
|
4997
4654
|
text: z.ZodString;
|
|
4998
4655
|
error: z.ZodOptional<z.ZodString>;
|
|
4999
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5000
|
-
id: z.ZodString;
|
|
5001
|
-
expertKey: z.ZodString;
|
|
5002
|
-
runId: z.ZodString;
|
|
5003
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5004
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5005
|
-
expertKey: z.ZodString;
|
|
5006
|
-
runId: z.ZodString;
|
|
5007
|
-
}, z.core.$strip>>;
|
|
5008
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5009
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
5010
|
-
path: z.ZodString;
|
|
5011
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5012
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5013
|
-
id: z.ZodString;
|
|
5014
|
-
expertKey: z.ZodString;
|
|
5015
|
-
runId: z.ZodString;
|
|
5016
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5017
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5018
|
-
expertKey: z.ZodString;
|
|
5019
|
-
runId: z.ZodString;
|
|
5020
|
-
}, z.core.$strip>>;
|
|
5021
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5022
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
5023
|
-
path: z.ZodString;
|
|
5024
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
5025
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5026
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5027
|
-
id: z.ZodString;
|
|
5028
|
-
expertKey: z.ZodString;
|
|
5029
|
-
runId: z.ZodString;
|
|
5030
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5031
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5032
|
-
expertKey: z.ZodString;
|
|
5033
|
-
runId: z.ZodString;
|
|
5034
|
-
}, z.core.$strip>>;
|
|
5035
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5036
|
-
type: z.ZodLiteral<"moveFile">;
|
|
5037
|
-
source: z.ZodString;
|
|
5038
|
-
destination: z.ZodString;
|
|
5039
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5040
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5041
|
-
id: z.ZodString;
|
|
5042
|
-
expertKey: z.ZodString;
|
|
5043
|
-
runId: z.ZodString;
|
|
5044
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5045
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5046
|
-
expertKey: z.ZodString;
|
|
5047
|
-
runId: z.ZodString;
|
|
5048
|
-
}, z.core.$strip>>;
|
|
5049
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5050
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
5051
|
-
path: z.ZodString;
|
|
5052
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
5053
|
-
exists: z.ZodBoolean;
|
|
5054
|
-
name: z.ZodString;
|
|
5055
|
-
directory: z.ZodString;
|
|
5056
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
5057
|
-
type: z.ZodEnum<{
|
|
5058
|
-
file: "file";
|
|
5059
|
-
directory: "directory";
|
|
5060
|
-
}>;
|
|
5061
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
5062
|
-
size: z.ZodNumber;
|
|
5063
|
-
sizeFormatted: z.ZodString;
|
|
5064
|
-
created: z.ZodString;
|
|
5065
|
-
modified: z.ZodString;
|
|
5066
|
-
accessed: z.ZodString;
|
|
5067
|
-
}, z.core.$strip>>;
|
|
5068
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5069
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5070
|
-
id: z.ZodString;
|
|
5071
|
-
expertKey: z.ZodString;
|
|
5072
|
-
runId: z.ZodString;
|
|
5073
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5074
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5075
|
-
expertKey: z.ZodString;
|
|
5076
|
-
runId: z.ZodString;
|
|
5077
|
-
}, z.core.$strip>>;
|
|
5078
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5079
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
5080
|
-
path: z.ZodString;
|
|
5081
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5082
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5083
|
-
id: z.ZodString;
|
|
5084
|
-
expertKey: z.ZodString;
|
|
5085
|
-
runId: z.ZodString;
|
|
5086
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5087
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5088
|
-
expertKey: z.ZodString;
|
|
5089
|
-
runId: z.ZodString;
|
|
5090
|
-
}, z.core.$strip>>;
|
|
5091
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5092
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
5093
|
-
path: z.ZodString;
|
|
5094
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5095
|
-
name: z.ZodString;
|
|
5096
|
-
path: z.ZodString;
|
|
5097
|
-
type: z.ZodEnum<{
|
|
5098
|
-
file: "file";
|
|
5099
|
-
directory: "directory";
|
|
5100
|
-
}>;
|
|
5101
|
-
size: z.ZodNumber;
|
|
5102
|
-
modified: z.ZodString;
|
|
5103
|
-
}, z.core.$strip>>>;
|
|
5104
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5105
4656
|
}, z.core.$strip>, z.ZodObject<{
|
|
5106
4657
|
id: z.ZodString;
|
|
5107
4658
|
expertKey: z.ZodString;
|
|
@@ -5405,20 +4956,6 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
|
|
|
5405
4956
|
newText: z.ZodString;
|
|
5406
4957
|
oldText: z.ZodString;
|
|
5407
4958
|
error: z.ZodOptional<z.ZodString>;
|
|
5408
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5409
|
-
id: z.ZodString;
|
|
5410
|
-
expertKey: z.ZodString;
|
|
5411
|
-
runId: z.ZodString;
|
|
5412
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5413
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5414
|
-
expertKey: z.ZodString;
|
|
5415
|
-
runId: z.ZodString;
|
|
5416
|
-
}, z.core.$strip>>;
|
|
5417
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5418
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
5419
|
-
path: z.ZodString;
|
|
5420
|
-
text: z.ZodString;
|
|
5421
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5422
4959
|
}, z.core.$strip>, z.ZodObject<{
|
|
5423
4960
|
id: z.ZodString;
|
|
5424
4961
|
expertKey: z.ZodString;
|
|
@@ -5433,112 +4970,6 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
|
|
|
5433
4970
|
path: z.ZodString;
|
|
5434
4971
|
text: z.ZodString;
|
|
5435
4972
|
error: z.ZodOptional<z.ZodString>;
|
|
5436
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5437
|
-
id: z.ZodString;
|
|
5438
|
-
expertKey: z.ZodString;
|
|
5439
|
-
runId: z.ZodString;
|
|
5440
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5441
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5442
|
-
expertKey: z.ZodString;
|
|
5443
|
-
runId: z.ZodString;
|
|
5444
|
-
}, z.core.$strip>>;
|
|
5445
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5446
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
5447
|
-
path: z.ZodString;
|
|
5448
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5449
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5450
|
-
id: z.ZodString;
|
|
5451
|
-
expertKey: z.ZodString;
|
|
5452
|
-
runId: z.ZodString;
|
|
5453
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5454
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5455
|
-
expertKey: z.ZodString;
|
|
5456
|
-
runId: z.ZodString;
|
|
5457
|
-
}, z.core.$strip>>;
|
|
5458
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5459
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
5460
|
-
path: z.ZodString;
|
|
5461
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
5462
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5463
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5464
|
-
id: z.ZodString;
|
|
5465
|
-
expertKey: z.ZodString;
|
|
5466
|
-
runId: z.ZodString;
|
|
5467
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5468
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5469
|
-
expertKey: z.ZodString;
|
|
5470
|
-
runId: z.ZodString;
|
|
5471
|
-
}, z.core.$strip>>;
|
|
5472
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5473
|
-
type: z.ZodLiteral<"moveFile">;
|
|
5474
|
-
source: z.ZodString;
|
|
5475
|
-
destination: z.ZodString;
|
|
5476
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5477
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5478
|
-
id: z.ZodString;
|
|
5479
|
-
expertKey: z.ZodString;
|
|
5480
|
-
runId: z.ZodString;
|
|
5481
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5482
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5483
|
-
expertKey: z.ZodString;
|
|
5484
|
-
runId: z.ZodString;
|
|
5485
|
-
}, z.core.$strip>>;
|
|
5486
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5487
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
5488
|
-
path: z.ZodString;
|
|
5489
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
5490
|
-
exists: z.ZodBoolean;
|
|
5491
|
-
name: z.ZodString;
|
|
5492
|
-
directory: z.ZodString;
|
|
5493
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
5494
|
-
type: z.ZodEnum<{
|
|
5495
|
-
file: "file";
|
|
5496
|
-
directory: "directory";
|
|
5497
|
-
}>;
|
|
5498
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
5499
|
-
size: z.ZodNumber;
|
|
5500
|
-
sizeFormatted: z.ZodString;
|
|
5501
|
-
created: z.ZodString;
|
|
5502
|
-
modified: z.ZodString;
|
|
5503
|
-
accessed: z.ZodString;
|
|
5504
|
-
}, z.core.$strip>>;
|
|
5505
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5506
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5507
|
-
id: z.ZodString;
|
|
5508
|
-
expertKey: z.ZodString;
|
|
5509
|
-
runId: z.ZodString;
|
|
5510
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5511
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5512
|
-
expertKey: z.ZodString;
|
|
5513
|
-
runId: z.ZodString;
|
|
5514
|
-
}, z.core.$strip>>;
|
|
5515
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5516
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
5517
|
-
path: z.ZodString;
|
|
5518
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5519
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5520
|
-
id: z.ZodString;
|
|
5521
|
-
expertKey: z.ZodString;
|
|
5522
|
-
runId: z.ZodString;
|
|
5523
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5524
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5525
|
-
expertKey: z.ZodString;
|
|
5526
|
-
runId: z.ZodString;
|
|
5527
|
-
}, z.core.$strip>>;
|
|
5528
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5529
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
5530
|
-
path: z.ZodString;
|
|
5531
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5532
|
-
name: z.ZodString;
|
|
5533
|
-
path: z.ZodString;
|
|
5534
|
-
type: z.ZodEnum<{
|
|
5535
|
-
file: "file";
|
|
5536
|
-
directory: "directory";
|
|
5537
|
-
}>;
|
|
5538
|
-
size: z.ZodNumber;
|
|
5539
|
-
modified: z.ZodString;
|
|
5540
|
-
}, z.core.$strip>>>;
|
|
5541
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5542
4973
|
}, z.core.$strip>, z.ZodObject<{
|
|
5543
4974
|
id: z.ZodString;
|
|
5544
4975
|
expertKey: z.ZodString;
|
|
@@ -5844,20 +5275,6 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
|
|
|
5844
5275
|
newText: z.ZodString;
|
|
5845
5276
|
oldText: z.ZodString;
|
|
5846
5277
|
error: z.ZodOptional<z.ZodString>;
|
|
5847
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5848
|
-
id: z.ZodString;
|
|
5849
|
-
expertKey: z.ZodString;
|
|
5850
|
-
runId: z.ZodString;
|
|
5851
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5852
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5853
|
-
expertKey: z.ZodString;
|
|
5854
|
-
runId: z.ZodString;
|
|
5855
|
-
}, z.core.$strip>>;
|
|
5856
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5857
|
-
type: z.ZodLiteral<"appendTextFile">;
|
|
5858
|
-
path: z.ZodString;
|
|
5859
|
-
text: z.ZodString;
|
|
5860
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5861
5278
|
}, z.core.$strip>, z.ZodObject<{
|
|
5862
5279
|
id: z.ZodString;
|
|
5863
5280
|
expertKey: z.ZodString;
|
|
@@ -5872,112 +5289,6 @@ declare const activityOrGroupSchema: z.ZodUnion<readonly [z.ZodDiscriminatedUnio
|
|
|
5872
5289
|
path: z.ZodString;
|
|
5873
5290
|
text: z.ZodString;
|
|
5874
5291
|
error: z.ZodOptional<z.ZodString>;
|
|
5875
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5876
|
-
id: z.ZodString;
|
|
5877
|
-
expertKey: z.ZodString;
|
|
5878
|
-
runId: z.ZodString;
|
|
5879
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5880
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5881
|
-
expertKey: z.ZodString;
|
|
5882
|
-
runId: z.ZodString;
|
|
5883
|
-
}, z.core.$strip>>;
|
|
5884
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5885
|
-
type: z.ZodLiteral<"deleteFile">;
|
|
5886
|
-
path: z.ZodString;
|
|
5887
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5888
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5889
|
-
id: z.ZodString;
|
|
5890
|
-
expertKey: z.ZodString;
|
|
5891
|
-
runId: z.ZodString;
|
|
5892
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5893
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5894
|
-
expertKey: z.ZodString;
|
|
5895
|
-
runId: z.ZodString;
|
|
5896
|
-
}, z.core.$strip>>;
|
|
5897
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5898
|
-
type: z.ZodLiteral<"deleteDirectory">;
|
|
5899
|
-
path: z.ZodString;
|
|
5900
|
-
recursive: z.ZodOptional<z.ZodBoolean>;
|
|
5901
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5902
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5903
|
-
id: z.ZodString;
|
|
5904
|
-
expertKey: z.ZodString;
|
|
5905
|
-
runId: z.ZodString;
|
|
5906
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5907
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5908
|
-
expertKey: z.ZodString;
|
|
5909
|
-
runId: z.ZodString;
|
|
5910
|
-
}, z.core.$strip>>;
|
|
5911
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5912
|
-
type: z.ZodLiteral<"moveFile">;
|
|
5913
|
-
source: z.ZodString;
|
|
5914
|
-
destination: z.ZodString;
|
|
5915
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5916
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5917
|
-
id: z.ZodString;
|
|
5918
|
-
expertKey: z.ZodString;
|
|
5919
|
-
runId: z.ZodString;
|
|
5920
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5921
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5922
|
-
expertKey: z.ZodString;
|
|
5923
|
-
runId: z.ZodString;
|
|
5924
|
-
}, z.core.$strip>>;
|
|
5925
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5926
|
-
type: z.ZodLiteral<"getFileInfo">;
|
|
5927
|
-
path: z.ZodString;
|
|
5928
|
-
info: z.ZodOptional<z.ZodObject<{
|
|
5929
|
-
exists: z.ZodBoolean;
|
|
5930
|
-
name: z.ZodString;
|
|
5931
|
-
directory: z.ZodString;
|
|
5932
|
-
extension: z.ZodNullable<z.ZodString>;
|
|
5933
|
-
type: z.ZodEnum<{
|
|
5934
|
-
file: "file";
|
|
5935
|
-
directory: "directory";
|
|
5936
|
-
}>;
|
|
5937
|
-
mimeType: z.ZodNullable<z.ZodString>;
|
|
5938
|
-
size: z.ZodNumber;
|
|
5939
|
-
sizeFormatted: z.ZodString;
|
|
5940
|
-
created: z.ZodString;
|
|
5941
|
-
modified: z.ZodString;
|
|
5942
|
-
accessed: z.ZodString;
|
|
5943
|
-
}, z.core.$strip>>;
|
|
5944
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5945
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5946
|
-
id: z.ZodString;
|
|
5947
|
-
expertKey: z.ZodString;
|
|
5948
|
-
runId: z.ZodString;
|
|
5949
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5950
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5951
|
-
expertKey: z.ZodString;
|
|
5952
|
-
runId: z.ZodString;
|
|
5953
|
-
}, z.core.$strip>>;
|
|
5954
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5955
|
-
type: z.ZodLiteral<"createDirectory">;
|
|
5956
|
-
path: z.ZodString;
|
|
5957
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5958
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5959
|
-
id: z.ZodString;
|
|
5960
|
-
expertKey: z.ZodString;
|
|
5961
|
-
runId: z.ZodString;
|
|
5962
|
-
previousActivityId: z.ZodOptional<z.ZodString>;
|
|
5963
|
-
delegatedBy: z.ZodOptional<z.ZodObject<{
|
|
5964
|
-
expertKey: z.ZodString;
|
|
5965
|
-
runId: z.ZodString;
|
|
5966
|
-
}, z.core.$strip>>;
|
|
5967
|
-
reasoning: z.ZodOptional<z.ZodString>;
|
|
5968
|
-
type: z.ZodLiteral<"listDirectory">;
|
|
5969
|
-
path: z.ZodString;
|
|
5970
|
-
items: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5971
|
-
name: z.ZodString;
|
|
5972
|
-
path: z.ZodString;
|
|
5973
|
-
type: z.ZodEnum<{
|
|
5974
|
-
file: "file";
|
|
5975
|
-
directory: "directory";
|
|
5976
|
-
}>;
|
|
5977
|
-
size: z.ZodNumber;
|
|
5978
|
-
modified: z.ZodString;
|
|
5979
|
-
}, z.core.$strip>>>;
|
|
5980
|
-
error: z.ZodOptional<z.ZodString>;
|
|
5981
5292
|
}, z.core.$strip>, z.ZodObject<{
|
|
5982
5293
|
id: z.ZodString;
|
|
5983
5294
|
expertKey: z.ZodString;
|
|
@@ -6205,7 +5516,6 @@ declare const lockfileExpertSchema: z.ZodObject<{
|
|
|
6205
5516
|
packageName: z.ZodOptional<z.ZodString>;
|
|
6206
5517
|
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
6207
5518
|
requiredEnv: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
6208
|
-
lazyInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6209
5519
|
}, z.core.$strip>, z.ZodObject<{
|
|
6210
5520
|
type: z.ZodLiteral<"mcpSseSkill">;
|
|
6211
5521
|
name: z.ZodString;
|
|
@@ -6269,7 +5579,6 @@ declare const lockfileSchema: z.ZodObject<{
|
|
|
6269
5579
|
packageName: z.ZodOptional<z.ZodString>;
|
|
6270
5580
|
args: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
6271
5581
|
requiredEnv: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
6272
|
-
lazyInit: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
6273
5582
|
}, z.core.$strip>, z.ZodObject<{
|
|
6274
5583
|
type: z.ZodLiteral<"mcpSseSkill">;
|
|
6275
5584
|
name: z.ZodString;
|
|
@@ -6534,4 +5843,4 @@ declare function createFilteredEventListener(listener: (event: PerstackEvent) =>
|
|
|
6534
5843
|
declare function formatZodError(error: ZodError): string;
|
|
6535
5844
|
declare function parseWithFriendlyError<T>(schema: ZodSchema<T>, data: unknown, context?: string): T;
|
|
6536
5845
|
|
|
6537
|
-
export { type Activity, type ActivityOrGroup, type ActivityType, type AmazonBedrockProviderConfig, type AnthropicProviderConfig, type AnthropicProviderSkill, type AnthropicProviderToolName, type
|
|
5846
|
+
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 };
|