@app-vitals/agent-admin 0.2.1 → 0.4.0
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/openapi.json +291 -0
- package/openapi.platform.json +392 -0
- package/package.json +2 -2
- package/prisma/client/browser.ts +15 -0
- package/prisma/client/client.ts +15 -0
- package/prisma/client/internal/class.ts +34 -4
- package/prisma/client/internal/prismaNamespace.ts +273 -1
- package/prisma/client/internal/prismaNamespaceBrowser.ts +47 -0
- package/prisma/client/models/AgentCronJob.ts +107 -1
- package/prisma/client/models/AgentCronRunRequest.ts +1233 -0
- package/prisma/client/models/AgentCronRunTranscript.ts +1339 -0
- package/prisma/client/models/AgentTranscriptRead.ts +1177 -0
- package/prisma/client/models.ts +3 -0
- package/prisma/migrations/20261027000000_add_cron_run_transcripts/migration.sql +37 -0
- package/prisma/migrations/20261028000000_add_cron_run_now/migration.sql +24 -0
- package/prisma/schema/schema.prisma +58 -0
- package/src/admin-boot.ts +18 -0
- package/src/admin-ui.fixtures.ts +2 -0
- package/src/admin-ui.smoke.test.ts +2 -0
- package/src/agent-cron-jobs.unit.test.ts +4 -0
- package/src/agent-cron-run-stats.smoke.test.ts +10 -0
- package/src/agent-cron-runs.integration.test.ts +93 -0
- package/src/agent-cron-runs.ts +47 -15
- package/src/agents-api.smoke.test.ts +18 -0
- package/src/agents-api.ts +30 -0
- package/src/api-auth.ts +1 -0
- package/src/api.smoke.test.ts +39 -0
- package/src/api.ts +15 -0
- package/src/chat.smoke.test.ts +2 -0
- package/src/cron-run-now-config.ts +20 -0
- package/src/cron-run-now-config.unit.test.ts +26 -0
- package/src/cron-run-now.smoke.test.ts +218 -0
- package/src/cron-run-now.ts +207 -0
- package/src/cron-run-transcripts.integration.test.ts +220 -0
- package/src/cron-run-transcripts.smoke.test.ts +286 -0
- package/src/cron-run-transcripts.ts +314 -0
- package/src/errors.ts +7 -0
- package/src/openapi-schemas.ts +78 -0
- package/src/openapi-schemas.unit.test.ts +4 -0
- package/src/transcript-config.ts +19 -0
- package/src/transcript-config.unit.test.ts +32 -0
|
@@ -37,6 +37,8 @@ export type AgentCronJobMinAggregateOutputType = {
|
|
|
37
37
|
name: string | null
|
|
38
38
|
system: boolean | null
|
|
39
39
|
lockdownDisabledAt: Date | null
|
|
40
|
+
runRequestedAt: Date | null
|
|
41
|
+
runRequestedBy: string | null
|
|
40
42
|
createdAt: Date | null
|
|
41
43
|
updatedAt: Date | null
|
|
42
44
|
parentCronId: string | null
|
|
@@ -55,6 +57,8 @@ export type AgentCronJobMaxAggregateOutputType = {
|
|
|
55
57
|
name: string | null
|
|
56
58
|
system: boolean | null
|
|
57
59
|
lockdownDisabledAt: Date | null
|
|
60
|
+
runRequestedAt: Date | null
|
|
61
|
+
runRequestedBy: string | null
|
|
58
62
|
createdAt: Date | null
|
|
59
63
|
updatedAt: Date | null
|
|
60
64
|
parentCronId: string | null
|
|
@@ -73,6 +77,8 @@ export type AgentCronJobCountAggregateOutputType = {
|
|
|
73
77
|
name: number
|
|
74
78
|
system: number
|
|
75
79
|
lockdownDisabledAt: number
|
|
80
|
+
runRequestedAt: number
|
|
81
|
+
runRequestedBy: number
|
|
76
82
|
createdAt: number
|
|
77
83
|
updatedAt: number
|
|
78
84
|
parentCronId: number
|
|
@@ -93,6 +99,8 @@ export type AgentCronJobMinAggregateInputType = {
|
|
|
93
99
|
name?: true
|
|
94
100
|
system?: true
|
|
95
101
|
lockdownDisabledAt?: true
|
|
102
|
+
runRequestedAt?: true
|
|
103
|
+
runRequestedBy?: true
|
|
96
104
|
createdAt?: true
|
|
97
105
|
updatedAt?: true
|
|
98
106
|
parentCronId?: true
|
|
@@ -111,6 +119,8 @@ export type AgentCronJobMaxAggregateInputType = {
|
|
|
111
119
|
name?: true
|
|
112
120
|
system?: true
|
|
113
121
|
lockdownDisabledAt?: true
|
|
122
|
+
runRequestedAt?: true
|
|
123
|
+
runRequestedBy?: true
|
|
114
124
|
createdAt?: true
|
|
115
125
|
updatedAt?: true
|
|
116
126
|
parentCronId?: true
|
|
@@ -129,6 +139,8 @@ export type AgentCronJobCountAggregateInputType = {
|
|
|
129
139
|
name?: true
|
|
130
140
|
system?: true
|
|
131
141
|
lockdownDisabledAt?: true
|
|
142
|
+
runRequestedAt?: true
|
|
143
|
+
runRequestedBy?: true
|
|
132
144
|
createdAt?: true
|
|
133
145
|
updatedAt?: true
|
|
134
146
|
parentCronId?: true
|
|
@@ -220,6 +232,8 @@ export type AgentCronJobGroupByOutputType = {
|
|
|
220
232
|
name: string | null
|
|
221
233
|
system: boolean
|
|
222
234
|
lockdownDisabledAt: Date | null
|
|
235
|
+
runRequestedAt: Date | null
|
|
236
|
+
runRequestedBy: string | null
|
|
223
237
|
createdAt: Date
|
|
224
238
|
updatedAt: Date
|
|
225
239
|
parentCronId: string | null
|
|
@@ -259,6 +273,8 @@ export type AgentCronJobWhereInput = {
|
|
|
259
273
|
name?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
260
274
|
system?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
261
275
|
lockdownDisabledAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
276
|
+
runRequestedAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
277
|
+
runRequestedBy?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
262
278
|
createdAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
263
279
|
updatedAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
264
280
|
parentCronId?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
@@ -282,6 +298,8 @@ export type AgentCronJobOrderByWithRelationInput = {
|
|
|
282
298
|
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
283
299
|
system?: Prisma.SortOrder
|
|
284
300
|
lockdownDisabledAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
301
|
+
runRequestedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
302
|
+
runRequestedBy?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
285
303
|
createdAt?: Prisma.SortOrder
|
|
286
304
|
updatedAt?: Prisma.SortOrder
|
|
287
305
|
parentCronId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
@@ -308,6 +326,8 @@ export type AgentCronJobWhereUniqueInput = Prisma.AtLeast<{
|
|
|
308
326
|
name?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
309
327
|
system?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
310
328
|
lockdownDisabledAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
329
|
+
runRequestedAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
330
|
+
runRequestedBy?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
311
331
|
createdAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
312
332
|
updatedAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
313
333
|
parentCronId?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
@@ -331,6 +351,8 @@ export type AgentCronJobOrderByWithAggregationInput = {
|
|
|
331
351
|
name?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
332
352
|
system?: Prisma.SortOrder
|
|
333
353
|
lockdownDisabledAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
354
|
+
runRequestedAt?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
355
|
+
runRequestedBy?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
334
356
|
createdAt?: Prisma.SortOrder
|
|
335
357
|
updatedAt?: Prisma.SortOrder
|
|
336
358
|
parentCronId?: Prisma.SortOrderInput | Prisma.SortOrder
|
|
@@ -355,6 +377,8 @@ export type AgentCronJobScalarWhereWithAggregatesInput = {
|
|
|
355
377
|
name?: Prisma.StringNullableWithAggregatesFilter<"AgentCronJob"> | string | null
|
|
356
378
|
system?: Prisma.BoolWithAggregatesFilter<"AgentCronJob"> | boolean
|
|
357
379
|
lockdownDisabledAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AgentCronJob"> | Date | string | null
|
|
380
|
+
runRequestedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AgentCronJob"> | Date | string | null
|
|
381
|
+
runRequestedBy?: Prisma.StringNullableWithAggregatesFilter<"AgentCronJob"> | string | null
|
|
358
382
|
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AgentCronJob"> | Date | string
|
|
359
383
|
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AgentCronJob"> | Date | string
|
|
360
384
|
parentCronId?: Prisma.StringNullableWithAggregatesFilter<"AgentCronJob"> | string | null
|
|
@@ -372,6 +396,8 @@ export type AgentCronJobCreateInput = {
|
|
|
372
396
|
name?: string | null
|
|
373
397
|
system?: boolean
|
|
374
398
|
lockdownDisabledAt?: Date | string | null
|
|
399
|
+
runRequestedAt?: Date | string | null
|
|
400
|
+
runRequestedBy?: string | null
|
|
375
401
|
createdAt?: Date | string
|
|
376
402
|
updatedAt?: Date | string
|
|
377
403
|
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
@@ -394,6 +420,8 @@ export type AgentCronJobUncheckedCreateInput = {
|
|
|
394
420
|
name?: string | null
|
|
395
421
|
system?: boolean
|
|
396
422
|
lockdownDisabledAt?: Date | string | null
|
|
423
|
+
runRequestedAt?: Date | string | null
|
|
424
|
+
runRequestedBy?: string | null
|
|
397
425
|
createdAt?: Date | string
|
|
398
426
|
updatedAt?: Date | string
|
|
399
427
|
parentCronId?: string | null
|
|
@@ -414,6 +442,8 @@ export type AgentCronJobUpdateInput = {
|
|
|
414
442
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
415
443
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
416
444
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
445
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
446
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
417
447
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
418
448
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
419
449
|
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
@@ -436,6 +466,8 @@ export type AgentCronJobUncheckedUpdateInput = {
|
|
|
436
466
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
437
467
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
438
468
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
469
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
470
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
439
471
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
440
472
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
441
473
|
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -457,6 +489,8 @@ export type AgentCronJobCreateManyInput = {
|
|
|
457
489
|
name?: string | null
|
|
458
490
|
system?: boolean
|
|
459
491
|
lockdownDisabledAt?: Date | string | null
|
|
492
|
+
runRequestedAt?: Date | string | null
|
|
493
|
+
runRequestedBy?: string | null
|
|
460
494
|
createdAt?: Date | string
|
|
461
495
|
updatedAt?: Date | string
|
|
462
496
|
parentCronId?: string | null
|
|
@@ -474,6 +508,8 @@ export type AgentCronJobUpdateManyMutationInput = {
|
|
|
474
508
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
475
509
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
476
510
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
511
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
512
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
477
513
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
478
514
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
479
515
|
}
|
|
@@ -491,6 +527,8 @@ export type AgentCronJobUncheckedUpdateManyInput = {
|
|
|
491
527
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
492
528
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
493
529
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
530
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
531
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
494
532
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
495
533
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
496
534
|
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -524,6 +562,8 @@ export type AgentCronJobCountOrderByAggregateInput = {
|
|
|
524
562
|
name?: Prisma.SortOrder
|
|
525
563
|
system?: Prisma.SortOrder
|
|
526
564
|
lockdownDisabledAt?: Prisma.SortOrder
|
|
565
|
+
runRequestedAt?: Prisma.SortOrder
|
|
566
|
+
runRequestedBy?: Prisma.SortOrder
|
|
527
567
|
createdAt?: Prisma.SortOrder
|
|
528
568
|
updatedAt?: Prisma.SortOrder
|
|
529
569
|
parentCronId?: Prisma.SortOrder
|
|
@@ -542,6 +582,8 @@ export type AgentCronJobMaxOrderByAggregateInput = {
|
|
|
542
582
|
name?: Prisma.SortOrder
|
|
543
583
|
system?: Prisma.SortOrder
|
|
544
584
|
lockdownDisabledAt?: Prisma.SortOrder
|
|
585
|
+
runRequestedAt?: Prisma.SortOrder
|
|
586
|
+
runRequestedBy?: Prisma.SortOrder
|
|
545
587
|
createdAt?: Prisma.SortOrder
|
|
546
588
|
updatedAt?: Prisma.SortOrder
|
|
547
589
|
parentCronId?: Prisma.SortOrder
|
|
@@ -560,6 +602,8 @@ export type AgentCronJobMinOrderByAggregateInput = {
|
|
|
560
602
|
name?: Prisma.SortOrder
|
|
561
603
|
system?: Prisma.SortOrder
|
|
562
604
|
lockdownDisabledAt?: Prisma.SortOrder
|
|
605
|
+
runRequestedAt?: Prisma.SortOrder
|
|
606
|
+
runRequestedBy?: Prisma.SortOrder
|
|
563
607
|
createdAt?: Prisma.SortOrder
|
|
564
608
|
updatedAt?: Prisma.SortOrder
|
|
565
609
|
parentCronId?: Prisma.SortOrder
|
|
@@ -712,6 +756,8 @@ export type AgentCronJobCreateWithoutAgentInput = {
|
|
|
712
756
|
name?: string | null
|
|
713
757
|
system?: boolean
|
|
714
758
|
lockdownDisabledAt?: Date | string | null
|
|
759
|
+
runRequestedAt?: Date | string | null
|
|
760
|
+
runRequestedBy?: string | null
|
|
715
761
|
createdAt?: Date | string
|
|
716
762
|
updatedAt?: Date | string
|
|
717
763
|
parentCron?: Prisma.AgentCronJobCreateNestedOneWithoutPhasesInput
|
|
@@ -732,6 +778,8 @@ export type AgentCronJobUncheckedCreateWithoutAgentInput = {
|
|
|
732
778
|
name?: string | null
|
|
733
779
|
system?: boolean
|
|
734
780
|
lockdownDisabledAt?: Date | string | null
|
|
781
|
+
runRequestedAt?: Date | string | null
|
|
782
|
+
runRequestedBy?: string | null
|
|
735
783
|
createdAt?: Date | string
|
|
736
784
|
updatedAt?: Date | string
|
|
737
785
|
parentCronId?: string | null
|
|
@@ -782,6 +830,8 @@ export type AgentCronJobScalarWhereInput = {
|
|
|
782
830
|
name?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
783
831
|
system?: Prisma.BoolFilter<"AgentCronJob"> | boolean
|
|
784
832
|
lockdownDisabledAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
833
|
+
runRequestedAt?: Prisma.DateTimeNullableFilter<"AgentCronJob"> | Date | string | null
|
|
834
|
+
runRequestedBy?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
785
835
|
createdAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
786
836
|
updatedAt?: Prisma.DateTimeFilter<"AgentCronJob"> | Date | string
|
|
787
837
|
parentCronId?: Prisma.StringNullableFilter<"AgentCronJob"> | string | null
|
|
@@ -799,6 +849,8 @@ export type AgentCronJobCreateWithoutPhasesInput = {
|
|
|
799
849
|
name?: string | null
|
|
800
850
|
system?: boolean
|
|
801
851
|
lockdownDisabledAt?: Date | string | null
|
|
852
|
+
runRequestedAt?: Date | string | null
|
|
853
|
+
runRequestedBy?: string | null
|
|
802
854
|
createdAt?: Date | string
|
|
803
855
|
updatedAt?: Date | string
|
|
804
856
|
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
@@ -820,6 +872,8 @@ export type AgentCronJobUncheckedCreateWithoutPhasesInput = {
|
|
|
820
872
|
name?: string | null
|
|
821
873
|
system?: boolean
|
|
822
874
|
lockdownDisabledAt?: Date | string | null
|
|
875
|
+
runRequestedAt?: Date | string | null
|
|
876
|
+
runRequestedBy?: string | null
|
|
823
877
|
createdAt?: Date | string
|
|
824
878
|
updatedAt?: Date | string
|
|
825
879
|
parentCronId?: string | null
|
|
@@ -844,6 +898,8 @@ export type AgentCronJobCreateWithoutParentCronInput = {
|
|
|
844
898
|
name?: string | null
|
|
845
899
|
system?: boolean
|
|
846
900
|
lockdownDisabledAt?: Date | string | null
|
|
901
|
+
runRequestedAt?: Date | string | null
|
|
902
|
+
runRequestedBy?: string | null
|
|
847
903
|
createdAt?: Date | string
|
|
848
904
|
updatedAt?: Date | string
|
|
849
905
|
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
@@ -865,6 +921,8 @@ export type AgentCronJobUncheckedCreateWithoutParentCronInput = {
|
|
|
865
921
|
name?: string | null
|
|
866
922
|
system?: boolean
|
|
867
923
|
lockdownDisabledAt?: Date | string | null
|
|
924
|
+
runRequestedAt?: Date | string | null
|
|
925
|
+
runRequestedBy?: string | null
|
|
868
926
|
createdAt?: Date | string
|
|
869
927
|
updatedAt?: Date | string
|
|
870
928
|
phases?: Prisma.AgentCronJobUncheckedCreateNestedManyWithoutParentCronInput
|
|
@@ -905,6 +963,8 @@ export type AgentCronJobUpdateWithoutPhasesInput = {
|
|
|
905
963
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
906
964
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
907
965
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
966
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
967
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
908
968
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
909
969
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
910
970
|
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
@@ -926,6 +986,8 @@ export type AgentCronJobUncheckedUpdateWithoutPhasesInput = {
|
|
|
926
986
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
927
987
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
928
988
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
989
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
990
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
929
991
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
930
992
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
931
993
|
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -961,6 +1023,8 @@ export type AgentCronJobCreateWithoutRunsInput = {
|
|
|
961
1023
|
name?: string | null
|
|
962
1024
|
system?: boolean
|
|
963
1025
|
lockdownDisabledAt?: Date | string | null
|
|
1026
|
+
runRequestedAt?: Date | string | null
|
|
1027
|
+
runRequestedBy?: string | null
|
|
964
1028
|
createdAt?: Date | string
|
|
965
1029
|
updatedAt?: Date | string
|
|
966
1030
|
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
@@ -982,6 +1046,8 @@ export type AgentCronJobUncheckedCreateWithoutRunsInput = {
|
|
|
982
1046
|
name?: string | null
|
|
983
1047
|
system?: boolean
|
|
984
1048
|
lockdownDisabledAt?: Date | string | null
|
|
1049
|
+
runRequestedAt?: Date | string | null
|
|
1050
|
+
runRequestedBy?: string | null
|
|
985
1051
|
createdAt?: Date | string
|
|
986
1052
|
updatedAt?: Date | string
|
|
987
1053
|
parentCronId?: string | null
|
|
@@ -1006,6 +1072,8 @@ export type AgentCronJobCreateWithoutPhaseRunsInput = {
|
|
|
1006
1072
|
name?: string | null
|
|
1007
1073
|
system?: boolean
|
|
1008
1074
|
lockdownDisabledAt?: Date | string | null
|
|
1075
|
+
runRequestedAt?: Date | string | null
|
|
1076
|
+
runRequestedBy?: string | null
|
|
1009
1077
|
createdAt?: Date | string
|
|
1010
1078
|
updatedAt?: Date | string
|
|
1011
1079
|
agent: Prisma.AgentCreateNestedOneWithoutCronJobsInput
|
|
@@ -1027,6 +1095,8 @@ export type AgentCronJobUncheckedCreateWithoutPhaseRunsInput = {
|
|
|
1027
1095
|
name?: string | null
|
|
1028
1096
|
system?: boolean
|
|
1029
1097
|
lockdownDisabledAt?: Date | string | null
|
|
1098
|
+
runRequestedAt?: Date | string | null
|
|
1099
|
+
runRequestedBy?: string | null
|
|
1030
1100
|
createdAt?: Date | string
|
|
1031
1101
|
updatedAt?: Date | string
|
|
1032
1102
|
parentCronId?: string | null
|
|
@@ -1062,6 +1132,8 @@ export type AgentCronJobUpdateWithoutRunsInput = {
|
|
|
1062
1132
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1063
1133
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1064
1134
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1135
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1136
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1065
1137
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1066
1138
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1067
1139
|
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
@@ -1083,6 +1155,8 @@ export type AgentCronJobUncheckedUpdateWithoutRunsInput = {
|
|
|
1083
1155
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1084
1156
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1085
1157
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1158
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1159
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1086
1160
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1087
1161
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1088
1162
|
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1113,6 +1187,8 @@ export type AgentCronJobUpdateWithoutPhaseRunsInput = {
|
|
|
1113
1187
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1114
1188
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1115
1189
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1190
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1191
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1116
1192
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1117
1193
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1118
1194
|
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
@@ -1134,6 +1210,8 @@ export type AgentCronJobUncheckedUpdateWithoutPhaseRunsInput = {
|
|
|
1134
1210
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1135
1211
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1136
1212
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1213
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1214
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1137
1215
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1138
1216
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1139
1217
|
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1153,6 +1231,8 @@ export type AgentCronJobCreateManyAgentInput = {
|
|
|
1153
1231
|
name?: string | null
|
|
1154
1232
|
system?: boolean
|
|
1155
1233
|
lockdownDisabledAt?: Date | string | null
|
|
1234
|
+
runRequestedAt?: Date | string | null
|
|
1235
|
+
runRequestedBy?: string | null
|
|
1156
1236
|
createdAt?: Date | string
|
|
1157
1237
|
updatedAt?: Date | string
|
|
1158
1238
|
parentCronId?: string | null
|
|
@@ -1170,6 +1250,8 @@ export type AgentCronJobUpdateWithoutAgentInput = {
|
|
|
1170
1250
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1171
1251
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1172
1252
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1253
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1254
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1173
1255
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1174
1256
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1175
1257
|
parentCron?: Prisma.AgentCronJobUpdateOneWithoutPhasesNestedInput
|
|
@@ -1190,6 +1272,8 @@ export type AgentCronJobUncheckedUpdateWithoutAgentInput = {
|
|
|
1190
1272
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1191
1273
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1192
1274
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1275
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1276
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1193
1277
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1194
1278
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1195
1279
|
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1210,6 +1294,8 @@ export type AgentCronJobUncheckedUpdateManyWithoutAgentInput = {
|
|
|
1210
1294
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1211
1295
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1212
1296
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1297
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1298
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1213
1299
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1214
1300
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1215
1301
|
parentCronId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
@@ -1228,6 +1314,8 @@ export type AgentCronJobCreateManyParentCronInput = {
|
|
|
1228
1314
|
name?: string | null
|
|
1229
1315
|
system?: boolean
|
|
1230
1316
|
lockdownDisabledAt?: Date | string | null
|
|
1317
|
+
runRequestedAt?: Date | string | null
|
|
1318
|
+
runRequestedBy?: string | null
|
|
1231
1319
|
createdAt?: Date | string
|
|
1232
1320
|
updatedAt?: Date | string
|
|
1233
1321
|
}
|
|
@@ -1244,6 +1332,8 @@ export type AgentCronJobUpdateWithoutParentCronInput = {
|
|
|
1244
1332
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1245
1333
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1246
1334
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1335
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1336
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1247
1337
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1248
1338
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1249
1339
|
agent?: Prisma.AgentUpdateOneRequiredWithoutCronJobsNestedInput
|
|
@@ -1265,6 +1355,8 @@ export type AgentCronJobUncheckedUpdateWithoutParentCronInput = {
|
|
|
1265
1355
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1266
1356
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1267
1357
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1358
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1359
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1268
1360
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1269
1361
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1270
1362
|
phases?: Prisma.AgentCronJobUncheckedUpdateManyWithoutParentCronNestedInput
|
|
@@ -1285,6 +1377,8 @@ export type AgentCronJobUncheckedUpdateManyWithoutParentCronInput = {
|
|
|
1285
1377
|
name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1286
1378
|
system?: Prisma.BoolFieldUpdateOperationsInput | boolean
|
|
1287
1379
|
lockdownDisabledAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1380
|
+
runRequestedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
|
|
1381
|
+
runRequestedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
|
|
1288
1382
|
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1289
1383
|
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
|
|
1290
1384
|
}
|
|
@@ -1351,6 +1445,8 @@ export type AgentCronJobSelect<ExtArgs extends runtime.Types.Extensions.Internal
|
|
|
1351
1445
|
name?: boolean
|
|
1352
1446
|
system?: boolean
|
|
1353
1447
|
lockdownDisabledAt?: boolean
|
|
1448
|
+
runRequestedAt?: boolean
|
|
1449
|
+
runRequestedBy?: boolean
|
|
1354
1450
|
createdAt?: boolean
|
|
1355
1451
|
updatedAt?: boolean
|
|
1356
1452
|
parentCronId?: boolean
|
|
@@ -1375,6 +1471,8 @@ export type AgentCronJobSelectCreateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
1375
1471
|
name?: boolean
|
|
1376
1472
|
system?: boolean
|
|
1377
1473
|
lockdownDisabledAt?: boolean
|
|
1474
|
+
runRequestedAt?: boolean
|
|
1475
|
+
runRequestedBy?: boolean
|
|
1378
1476
|
createdAt?: boolean
|
|
1379
1477
|
updatedAt?: boolean
|
|
1380
1478
|
parentCronId?: boolean
|
|
@@ -1395,6 +1493,8 @@ export type AgentCronJobSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.
|
|
|
1395
1493
|
name?: boolean
|
|
1396
1494
|
system?: boolean
|
|
1397
1495
|
lockdownDisabledAt?: boolean
|
|
1496
|
+
runRequestedAt?: boolean
|
|
1497
|
+
runRequestedBy?: boolean
|
|
1398
1498
|
createdAt?: boolean
|
|
1399
1499
|
updatedAt?: boolean
|
|
1400
1500
|
parentCronId?: boolean
|
|
@@ -1415,12 +1515,14 @@ export type AgentCronJobSelectScalar = {
|
|
|
1415
1515
|
name?: boolean
|
|
1416
1516
|
system?: boolean
|
|
1417
1517
|
lockdownDisabledAt?: boolean
|
|
1518
|
+
runRequestedAt?: boolean
|
|
1519
|
+
runRequestedBy?: boolean
|
|
1418
1520
|
createdAt?: boolean
|
|
1419
1521
|
updatedAt?: boolean
|
|
1420
1522
|
parentCronId?: boolean
|
|
1421
1523
|
}
|
|
1422
1524
|
|
|
1423
|
-
export type AgentCronJobOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "schedule" | "prompt" | "channel" | "user" | "silent" | "enabled" | "preCheck" | "name" | "system" | "lockdownDisabledAt" | "createdAt" | "updatedAt" | "parentCronId", ExtArgs["result"]["agentCronJob"]>
|
|
1525
|
+
export type AgentCronJobOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "agentId" | "schedule" | "prompt" | "channel" | "user" | "silent" | "enabled" | "preCheck" | "name" | "system" | "lockdownDisabledAt" | "runRequestedAt" | "runRequestedBy" | "createdAt" | "updatedAt" | "parentCronId", ExtArgs["result"]["agentCronJob"]>
|
|
1424
1526
|
export type AgentCronJobInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1425
1527
|
agent?: boolean | Prisma.AgentDefaultArgs<ExtArgs>
|
|
1426
1528
|
parentCron?: boolean | Prisma.AgentCronJob$parentCronArgs<ExtArgs>
|
|
@@ -1460,6 +1562,8 @@ export type $AgentCronJobPayload<ExtArgs extends runtime.Types.Extensions.Intern
|
|
|
1460
1562
|
name: string | null
|
|
1461
1563
|
system: boolean
|
|
1462
1564
|
lockdownDisabledAt: Date | null
|
|
1565
|
+
runRequestedAt: Date | null
|
|
1566
|
+
runRequestedBy: string | null
|
|
1463
1567
|
createdAt: Date
|
|
1464
1568
|
updatedAt: Date
|
|
1465
1569
|
parentCronId: string | null
|
|
@@ -1903,6 +2007,8 @@ export interface AgentCronJobFieldRefs {
|
|
|
1903
2007
|
readonly name: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1904
2008
|
readonly system: Prisma.FieldRef<"AgentCronJob", 'Boolean'>
|
|
1905
2009
|
readonly lockdownDisabledAt: Prisma.FieldRef<"AgentCronJob", 'DateTime'>
|
|
2010
|
+
readonly runRequestedAt: Prisma.FieldRef<"AgentCronJob", 'DateTime'>
|
|
2011
|
+
readonly runRequestedBy: Prisma.FieldRef<"AgentCronJob", 'String'>
|
|
1906
2012
|
readonly createdAt: Prisma.FieldRef<"AgentCronJob", 'DateTime'>
|
|
1907
2013
|
readonly updatedAt: Prisma.FieldRef<"AgentCronJob", 'DateTime'>
|
|
1908
2014
|
readonly parentCronId: Prisma.FieldRef<"AgentCronJob", 'String'>
|