skedyul 1.4.5 → 1.4.7
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/cli/index.js +81 -16
- package/dist/config/types/app-event.d.ts +24 -0
- package/dist/dedicated/server.js +37 -2
- package/dist/esm/index.mjs +147 -64
- package/dist/events/types.d.ts +11 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +148 -64
- package/dist/ratelimit/errors.d.ts +6 -0
- package/dist/ratelimit/index.d.ts +1 -1
- package/dist/schemas/agent-schema-v3.d.ts +4 -0
- package/dist/schemas/agent-schema-v3.js +3 -1
- package/dist/schemas/agent-schema-v3.mjs +3 -1
- package/dist/server.js +37 -2
- package/dist/serverless/server.mjs +37 -2
- package/dist/triggers/types.d.ts +3 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/tool.d.ts +21 -2
- package/dist/workflows/types.d.ts +8 -0
- package/package.json +1 -1
|
@@ -82,6 +82,7 @@ export declare const WorkflowYAMLSchema: z.ZodObject<{
|
|
|
82
82
|
"thread.workflow.completed": "thread.workflow.completed";
|
|
83
83
|
"thread.follow_up.due": "thread.follow_up.due";
|
|
84
84
|
"thread.reminder.due": "thread.reminder.due";
|
|
85
|
+
"thread.signal.created": "thread.signal.created";
|
|
85
86
|
}>, z.ZodString]>>>;
|
|
86
87
|
condition: z.ZodOptional<z.ZodString>;
|
|
87
88
|
emits: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -98,6 +99,7 @@ export declare const WorkflowYAMLSchema: z.ZodObject<{
|
|
|
98
99
|
"thread.workflow.completed": "thread.workflow.completed";
|
|
99
100
|
"thread.follow_up.due": "thread.follow_up.due";
|
|
100
101
|
"thread.reminder.due": "thread.reminder.due";
|
|
102
|
+
"thread.signal.created": "thread.signal.created";
|
|
101
103
|
}>, z.ZodString]>>>;
|
|
102
104
|
waits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
103
105
|
event: z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -114,6 +116,7 @@ export declare const WorkflowYAMLSchema: z.ZodObject<{
|
|
|
114
116
|
"thread.workflow.completed": "thread.workflow.completed";
|
|
115
117
|
"thread.follow_up.due": "thread.follow_up.due";
|
|
116
118
|
"thread.reminder.due": "thread.reminder.due";
|
|
119
|
+
"thread.signal.created": "thread.signal.created";
|
|
117
120
|
}>, z.ZodString]>;
|
|
118
121
|
timeout: z.ZodOptional<z.ZodString>;
|
|
119
122
|
onTimeout: z.ZodOptional<z.ZodString>;
|
|
@@ -132,6 +135,7 @@ export declare const WorkflowYAMLSchema: z.ZodObject<{
|
|
|
132
135
|
"thread.workflow.completed": "thread.workflow.completed";
|
|
133
136
|
"thread.follow_up.due": "thread.follow_up.due";
|
|
134
137
|
"thread.reminder.due": "thread.reminder.due";
|
|
138
|
+
"thread.signal.created": "thread.signal.created";
|
|
135
139
|
}>, z.ZodString]>>>;
|
|
136
140
|
cancelCondition: z.ZodOptional<z.ZodString>;
|
|
137
141
|
}, z.core.$strip>>;
|
|
@@ -192,6 +196,7 @@ export declare const WorkflowMetadataSchema: z.ZodObject<{
|
|
|
192
196
|
"thread.workflow.completed": "thread.workflow.completed";
|
|
193
197
|
"thread.follow_up.due": "thread.follow_up.due";
|
|
194
198
|
"thread.reminder.due": "thread.reminder.due";
|
|
199
|
+
"thread.signal.created": "thread.signal.created";
|
|
195
200
|
}>, z.ZodString]>>>;
|
|
196
201
|
condition: z.ZodOptional<z.ZodString>;
|
|
197
202
|
emits: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -208,6 +213,7 @@ export declare const WorkflowMetadataSchema: z.ZodObject<{
|
|
|
208
213
|
"thread.workflow.completed": "thread.workflow.completed";
|
|
209
214
|
"thread.follow_up.due": "thread.follow_up.due";
|
|
210
215
|
"thread.reminder.due": "thread.reminder.due";
|
|
216
|
+
"thread.signal.created": "thread.signal.created";
|
|
211
217
|
}>, z.ZodString]>>>;
|
|
212
218
|
waits: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
213
219
|
event: z.ZodUnion<readonly [z.ZodEnum<{
|
|
@@ -224,6 +230,7 @@ export declare const WorkflowMetadataSchema: z.ZodObject<{
|
|
|
224
230
|
"thread.workflow.completed": "thread.workflow.completed";
|
|
225
231
|
"thread.follow_up.due": "thread.follow_up.due";
|
|
226
232
|
"thread.reminder.due": "thread.reminder.due";
|
|
233
|
+
"thread.signal.created": "thread.signal.created";
|
|
227
234
|
}>, z.ZodString]>;
|
|
228
235
|
timeout: z.ZodOptional<z.ZodString>;
|
|
229
236
|
onTimeout: z.ZodOptional<z.ZodString>;
|
|
@@ -242,6 +249,7 @@ export declare const WorkflowMetadataSchema: z.ZodObject<{
|
|
|
242
249
|
"thread.workflow.completed": "thread.workflow.completed";
|
|
243
250
|
"thread.follow_up.due": "thread.follow_up.due";
|
|
244
251
|
"thread.reminder.due": "thread.reminder.due";
|
|
252
|
+
"thread.signal.created": "thread.signal.created";
|
|
245
253
|
}>, z.ZodString]>>>;
|
|
246
254
|
cancelCondition: z.ZodOptional<z.ZodString>;
|
|
247
255
|
}, z.core.$strip>>;
|