@trycompai/db 1.3.13 → 1.3.15-canary.2
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/schema.prisma +12 -1
- package/package.json +1 -1
package/dist/schema.prisma
CHANGED
|
@@ -207,6 +207,10 @@ model EvidenceAutomationRun {
|
|
|
207
207
|
logs Json?
|
|
208
208
|
output Json?
|
|
209
209
|
|
|
210
|
+
// Evaluation
|
|
211
|
+
evaluationStatus EvidenceAutomationEvaluationStatus?
|
|
212
|
+
evaluationReason String?
|
|
213
|
+
|
|
210
214
|
// Metadata
|
|
211
215
|
triggeredBy EvidenceAutomationTrigger @default(scheduled)
|
|
212
216
|
runDuration Int? // in milliseconds
|
|
@@ -234,6 +238,11 @@ enum EvidenceAutomationTrigger {
|
|
|
234
238
|
api
|
|
235
239
|
}
|
|
236
240
|
|
|
241
|
+
enum EvidenceAutomationEvaluationStatus {
|
|
242
|
+
pass
|
|
243
|
+
fail
|
|
244
|
+
}
|
|
245
|
+
|
|
237
246
|
|
|
238
247
|
// ===== automation-version.prisma =====
|
|
239
248
|
model EvidenceAutomationVersion {
|
|
@@ -263,8 +272,10 @@ model EvidenceAutomation {
|
|
|
263
272
|
name String
|
|
264
273
|
description String?
|
|
265
274
|
createdAt DateTime @default(now())
|
|
275
|
+
isEnabled Boolean @default(false)
|
|
266
276
|
|
|
267
|
-
chatHistory
|
|
277
|
+
chatHistory String?
|
|
278
|
+
evaluationCriteria String?
|
|
268
279
|
|
|
269
280
|
taskId String
|
|
270
281
|
task Task @relation(fields: [taskId], references: [id], onDelete: Cascade)
|