@allbluecn/database 0.14.14 → 0.14.16

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.
@@ -27,10 +27,12 @@ export type AggregateChatThread = {
27
27
  }
28
28
 
29
29
  export type ChatThreadAvgAggregateOutputType = {
30
+ harnessPermissionVersion: number | null
30
31
  indexRevision: number | null
31
32
  }
32
33
 
33
34
  export type ChatThreadSumAggregateOutputType = {
35
+ harnessPermissionVersion: number | null
34
36
  indexRevision: number | null
35
37
  }
36
38
 
@@ -40,6 +42,8 @@ export type ChatThreadMinAggregateOutputType = {
40
42
  title: string | null
41
43
  isArchived: boolean | null
42
44
  sandboxPolicy: string | null
45
+ harnessPermission: string | null
46
+ harnessPermissionVersion: number | null
43
47
  createdAt: Date | null
44
48
  updatedAt: Date | null
45
49
  agentId: string | null
@@ -57,6 +61,8 @@ export type ChatThreadMaxAggregateOutputType = {
57
61
  title: string | null
58
62
  isArchived: boolean | null
59
63
  sandboxPolicy: string | null
64
+ harnessPermission: string | null
65
+ harnessPermissionVersion: number | null
60
66
  createdAt: Date | null
61
67
  updatedAt: Date | null
62
68
  agentId: string | null
@@ -74,6 +80,8 @@ export type ChatThreadCountAggregateOutputType = {
74
80
  title: number
75
81
  isArchived: number
76
82
  sandboxPolicy: number
83
+ harnessPermission: number
84
+ harnessPermissionVersion: number
77
85
  createdAt: number
78
86
  updatedAt: number
79
87
  agentId: number
@@ -89,10 +97,12 @@ export type ChatThreadCountAggregateOutputType = {
89
97
 
90
98
 
91
99
  export type ChatThreadAvgAggregateInputType = {
100
+ harnessPermissionVersion?: true
92
101
  indexRevision?: true
93
102
  }
94
103
 
95
104
  export type ChatThreadSumAggregateInputType = {
105
+ harnessPermissionVersion?: true
96
106
  indexRevision?: true
97
107
  }
98
108
 
@@ -102,6 +112,8 @@ export type ChatThreadMinAggregateInputType = {
102
112
  title?: true
103
113
  isArchived?: true
104
114
  sandboxPolicy?: true
115
+ harnessPermission?: true
116
+ harnessPermissionVersion?: true
105
117
  createdAt?: true
106
118
  updatedAt?: true
107
119
  agentId?: true
@@ -119,6 +131,8 @@ export type ChatThreadMaxAggregateInputType = {
119
131
  title?: true
120
132
  isArchived?: true
121
133
  sandboxPolicy?: true
134
+ harnessPermission?: true
135
+ harnessPermissionVersion?: true
122
136
  createdAt?: true
123
137
  updatedAt?: true
124
138
  agentId?: true
@@ -136,6 +150,8 @@ export type ChatThreadCountAggregateInputType = {
136
150
  title?: true
137
151
  isArchived?: true
138
152
  sandboxPolicy?: true
153
+ harnessPermission?: true
154
+ harnessPermissionVersion?: true
139
155
  createdAt?: true
140
156
  updatedAt?: true
141
157
  agentId?: true
@@ -241,6 +257,8 @@ export type ChatThreadGroupByOutputType = {
241
257
  title: string | null
242
258
  isArchived: boolean
243
259
  sandboxPolicy: string
260
+ harnessPermission: string
261
+ harnessPermissionVersion: number
244
262
  createdAt: Date
245
263
  updatedAt: Date
246
264
  agentId: string | null
@@ -282,6 +300,8 @@ export type ChatThreadWhereInput = {
282
300
  title?: Prisma.StringNullableFilter<"ChatThread"> | string | null
283
301
  isArchived?: Prisma.BoolFilter<"ChatThread"> | boolean
284
302
  sandboxPolicy?: Prisma.StringFilter<"ChatThread"> | string
303
+ harnessPermission?: Prisma.StringFilter<"ChatThread"> | string
304
+ harnessPermissionVersion?: Prisma.IntFilter<"ChatThread"> | number
285
305
  createdAt?: Prisma.DateTimeFilter<"ChatThread"> | Date | string
286
306
  updatedAt?: Prisma.DateTimeFilter<"ChatThread"> | Date | string
287
307
  agentId?: Prisma.StringNullableFilter<"ChatThread"> | string | null
@@ -308,6 +328,8 @@ export type ChatThreadOrderByWithRelationInput = {
308
328
  title?: Prisma.SortOrderInput | Prisma.SortOrder
309
329
  isArchived?: Prisma.SortOrder
310
330
  sandboxPolicy?: Prisma.SortOrder
331
+ harnessPermission?: Prisma.SortOrder
332
+ harnessPermissionVersion?: Prisma.SortOrder
311
333
  createdAt?: Prisma.SortOrder
312
334
  updatedAt?: Prisma.SortOrder
313
335
  agentId?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -337,6 +359,8 @@ export type ChatThreadWhereUniqueInput = Prisma.AtLeast<{
337
359
  title?: Prisma.StringNullableFilter<"ChatThread"> | string | null
338
360
  isArchived?: Prisma.BoolFilter<"ChatThread"> | boolean
339
361
  sandboxPolicy?: Prisma.StringFilter<"ChatThread"> | string
362
+ harnessPermission?: Prisma.StringFilter<"ChatThread"> | string
363
+ harnessPermissionVersion?: Prisma.IntFilter<"ChatThread"> | number
340
364
  createdAt?: Prisma.DateTimeFilter<"ChatThread"> | Date | string
341
365
  updatedAt?: Prisma.DateTimeFilter<"ChatThread"> | Date | string
342
366
  agentId?: Prisma.StringNullableFilter<"ChatThread"> | string | null
@@ -363,6 +387,8 @@ export type ChatThreadOrderByWithAggregationInput = {
363
387
  title?: Prisma.SortOrderInput | Prisma.SortOrder
364
388
  isArchived?: Prisma.SortOrder
365
389
  sandboxPolicy?: Prisma.SortOrder
390
+ harnessPermission?: Prisma.SortOrder
391
+ harnessPermissionVersion?: Prisma.SortOrder
366
392
  createdAt?: Prisma.SortOrder
367
393
  updatedAt?: Prisma.SortOrder
368
394
  agentId?: Prisma.SortOrderInput | Prisma.SortOrder
@@ -389,6 +415,8 @@ export type ChatThreadScalarWhereWithAggregatesInput = {
389
415
  title?: Prisma.StringNullableWithAggregatesFilter<"ChatThread"> | string | null
390
416
  isArchived?: Prisma.BoolWithAggregatesFilter<"ChatThread"> | boolean
391
417
  sandboxPolicy?: Prisma.StringWithAggregatesFilter<"ChatThread"> | string
418
+ harnessPermission?: Prisma.StringWithAggregatesFilter<"ChatThread"> | string
419
+ harnessPermissionVersion?: Prisma.IntWithAggregatesFilter<"ChatThread"> | number
392
420
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"ChatThread"> | Date | string
393
421
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ChatThread"> | Date | string
394
422
  agentId?: Prisma.StringNullableWithAggregatesFilter<"ChatThread"> | string | null
@@ -406,6 +434,8 @@ export type ChatThreadCreateInput = {
406
434
  title?: string | null
407
435
  isArchived?: boolean
408
436
  sandboxPolicy?: string
437
+ harnessPermission?: string
438
+ harnessPermissionVersion?: number
409
439
  createdAt?: Date | string
410
440
  updatedAt?: Date | string
411
441
  engine?: string
@@ -429,6 +459,8 @@ export type ChatThreadUncheckedCreateInput = {
429
459
  title?: string | null
430
460
  isArchived?: boolean
431
461
  sandboxPolicy?: string
462
+ harnessPermission?: string
463
+ harnessPermissionVersion?: number
432
464
  createdAt?: Date | string
433
465
  updatedAt?: Date | string
434
466
  agentId?: string | null
@@ -450,6 +482,8 @@ export type ChatThreadUpdateInput = {
450
482
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
451
483
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
452
484
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
485
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
486
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
453
487
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
454
488
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
455
489
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -473,6 +507,8 @@ export type ChatThreadUncheckedUpdateInput = {
473
507
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
474
508
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
475
509
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
510
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
511
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
476
512
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
477
513
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
478
514
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -495,6 +531,8 @@ export type ChatThreadCreateManyInput = {
495
531
  title?: string | null
496
532
  isArchived?: boolean
497
533
  sandboxPolicy?: string
534
+ harnessPermission?: string
535
+ harnessPermissionVersion?: number
498
536
  createdAt?: Date | string
499
537
  updatedAt?: Date | string
500
538
  agentId?: string | null
@@ -512,6 +550,8 @@ export type ChatThreadUpdateManyMutationInput = {
512
550
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
513
551
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
514
552
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
553
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
554
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
515
555
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
516
556
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
517
557
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -527,6 +567,8 @@ export type ChatThreadUncheckedUpdateManyInput = {
527
567
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
528
568
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
529
569
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
570
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
571
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
530
572
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
531
573
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
532
574
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -555,6 +597,8 @@ export type ChatThreadCountOrderByAggregateInput = {
555
597
  title?: Prisma.SortOrder
556
598
  isArchived?: Prisma.SortOrder
557
599
  sandboxPolicy?: Prisma.SortOrder
600
+ harnessPermission?: Prisma.SortOrder
601
+ harnessPermissionVersion?: Prisma.SortOrder
558
602
  createdAt?: Prisma.SortOrder
559
603
  updatedAt?: Prisma.SortOrder
560
604
  agentId?: Prisma.SortOrder
@@ -568,6 +612,7 @@ export type ChatThreadCountOrderByAggregateInput = {
568
612
  }
569
613
 
570
614
  export type ChatThreadAvgOrderByAggregateInput = {
615
+ harnessPermissionVersion?: Prisma.SortOrder
571
616
  indexRevision?: Prisma.SortOrder
572
617
  }
573
618
 
@@ -577,6 +622,8 @@ export type ChatThreadMaxOrderByAggregateInput = {
577
622
  title?: Prisma.SortOrder
578
623
  isArchived?: Prisma.SortOrder
579
624
  sandboxPolicy?: Prisma.SortOrder
625
+ harnessPermission?: Prisma.SortOrder
626
+ harnessPermissionVersion?: Prisma.SortOrder
580
627
  createdAt?: Prisma.SortOrder
581
628
  updatedAt?: Prisma.SortOrder
582
629
  agentId?: Prisma.SortOrder
@@ -594,6 +641,8 @@ export type ChatThreadMinOrderByAggregateInput = {
594
641
  title?: Prisma.SortOrder
595
642
  isArchived?: Prisma.SortOrder
596
643
  sandboxPolicy?: Prisma.SortOrder
644
+ harnessPermission?: Prisma.SortOrder
645
+ harnessPermissionVersion?: Prisma.SortOrder
597
646
  createdAt?: Prisma.SortOrder
598
647
  updatedAt?: Prisma.SortOrder
599
648
  agentId?: Prisma.SortOrder
@@ -606,6 +655,7 @@ export type ChatThreadMinOrderByAggregateInput = {
606
655
  }
607
656
 
608
657
  export type ChatThreadSumOrderByAggregateInput = {
658
+ harnessPermissionVersion?: Prisma.SortOrder
609
659
  indexRevision?: Prisma.SortOrder
610
660
  }
611
661
 
@@ -843,6 +893,8 @@ export type ChatThreadCreateWithoutUserInput = {
843
893
  title?: string | null
844
894
  isArchived?: boolean
845
895
  sandboxPolicy?: string
896
+ harnessPermission?: string
897
+ harnessPermissionVersion?: number
846
898
  createdAt?: Date | string
847
899
  updatedAt?: Date | string
848
900
  engine?: string
@@ -864,6 +916,8 @@ export type ChatThreadUncheckedCreateWithoutUserInput = {
864
916
  title?: string | null
865
917
  isArchived?: boolean
866
918
  sandboxPolicy?: string
919
+ harnessPermission?: string
920
+ harnessPermissionVersion?: number
867
921
  createdAt?: Date | string
868
922
  updatedAt?: Date | string
869
923
  agentId?: string | null
@@ -915,6 +969,8 @@ export type ChatThreadScalarWhereInput = {
915
969
  title?: Prisma.StringNullableFilter<"ChatThread"> | string | null
916
970
  isArchived?: Prisma.BoolFilter<"ChatThread"> | boolean
917
971
  sandboxPolicy?: Prisma.StringFilter<"ChatThread"> | string
972
+ harnessPermission?: Prisma.StringFilter<"ChatThread"> | string
973
+ harnessPermissionVersion?: Prisma.IntFilter<"ChatThread"> | number
918
974
  createdAt?: Prisma.DateTimeFilter<"ChatThread"> | Date | string
919
975
  updatedAt?: Prisma.DateTimeFilter<"ChatThread"> | Date | string
920
976
  agentId?: Prisma.StringNullableFilter<"ChatThread"> | string | null
@@ -932,6 +988,8 @@ export type ChatThreadCreateWithoutMessagesInput = {
932
988
  title?: string | null
933
989
  isArchived?: boolean
934
990
  sandboxPolicy?: string
991
+ harnessPermission?: string
992
+ harnessPermissionVersion?: number
935
993
  createdAt?: Date | string
936
994
  updatedAt?: Date | string
937
995
  engine?: string
@@ -954,6 +1012,8 @@ export type ChatThreadUncheckedCreateWithoutMessagesInput = {
954
1012
  title?: string | null
955
1013
  isArchived?: boolean
956
1014
  sandboxPolicy?: string
1015
+ harnessPermission?: string
1016
+ harnessPermissionVersion?: number
957
1017
  createdAt?: Date | string
958
1018
  updatedAt?: Date | string
959
1019
  agentId?: string | null
@@ -990,6 +1050,8 @@ export type ChatThreadUpdateWithoutMessagesInput = {
990
1050
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
991
1051
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
992
1052
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1053
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1054
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
993
1055
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
994
1056
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
995
1057
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1012,6 +1074,8 @@ export type ChatThreadUncheckedUpdateWithoutMessagesInput = {
1012
1074
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1013
1075
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1014
1076
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1077
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1078
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1015
1079
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1016
1080
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1017
1081
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1032,6 +1096,8 @@ export type ChatThreadCreateWithoutRunsInput = {
1032
1096
  title?: string | null
1033
1097
  isArchived?: boolean
1034
1098
  sandboxPolicy?: string
1099
+ harnessPermission?: string
1100
+ harnessPermissionVersion?: number
1035
1101
  createdAt?: Date | string
1036
1102
  updatedAt?: Date | string
1037
1103
  engine?: string
@@ -1054,6 +1120,8 @@ export type ChatThreadUncheckedCreateWithoutRunsInput = {
1054
1120
  title?: string | null
1055
1121
  isArchived?: boolean
1056
1122
  sandboxPolicy?: string
1123
+ harnessPermission?: string
1124
+ harnessPermissionVersion?: number
1057
1125
  createdAt?: Date | string
1058
1126
  updatedAt?: Date | string
1059
1127
  agentId?: string | null
@@ -1090,6 +1158,8 @@ export type ChatThreadUpdateWithoutRunsInput = {
1090
1158
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1091
1159
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1092
1160
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1161
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1162
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1093
1163
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1094
1164
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1095
1165
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1112,6 +1182,8 @@ export type ChatThreadUncheckedUpdateWithoutRunsInput = {
1112
1182
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1113
1183
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1114
1184
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1185
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1186
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1115
1187
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1116
1188
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1117
1189
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1132,6 +1204,8 @@ export type ChatThreadCreateWithoutInterruptsInput = {
1132
1204
  title?: string | null
1133
1205
  isArchived?: boolean
1134
1206
  sandboxPolicy?: string
1207
+ harnessPermission?: string
1208
+ harnessPermissionVersion?: number
1135
1209
  createdAt?: Date | string
1136
1210
  updatedAt?: Date | string
1137
1211
  engine?: string
@@ -1154,6 +1228,8 @@ export type ChatThreadUncheckedCreateWithoutInterruptsInput = {
1154
1228
  title?: string | null
1155
1229
  isArchived?: boolean
1156
1230
  sandboxPolicy?: string
1231
+ harnessPermission?: string
1232
+ harnessPermissionVersion?: number
1157
1233
  createdAt?: Date | string
1158
1234
  updatedAt?: Date | string
1159
1235
  agentId?: string | null
@@ -1190,6 +1266,8 @@ export type ChatThreadUpdateWithoutInterruptsInput = {
1190
1266
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1191
1267
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1192
1268
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1269
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1270
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1193
1271
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1194
1272
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1195
1273
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1212,6 +1290,8 @@ export type ChatThreadUncheckedUpdateWithoutInterruptsInput = {
1212
1290
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1213
1291
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1214
1292
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1293
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1294
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1215
1295
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1216
1296
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1217
1297
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1232,6 +1312,8 @@ export type ChatThreadCreateWithoutGenerationsInput = {
1232
1312
  title?: string | null
1233
1313
  isArchived?: boolean
1234
1314
  sandboxPolicy?: string
1315
+ harnessPermission?: string
1316
+ harnessPermissionVersion?: number
1235
1317
  createdAt?: Date | string
1236
1318
  updatedAt?: Date | string
1237
1319
  engine?: string
@@ -1254,6 +1336,8 @@ export type ChatThreadUncheckedCreateWithoutGenerationsInput = {
1254
1336
  title?: string | null
1255
1337
  isArchived?: boolean
1256
1338
  sandboxPolicy?: string
1339
+ harnessPermission?: string
1340
+ harnessPermissionVersion?: number
1257
1341
  createdAt?: Date | string
1258
1342
  updatedAt?: Date | string
1259
1343
  agentId?: string | null
@@ -1290,6 +1374,8 @@ export type ChatThreadUpdateWithoutGenerationsInput = {
1290
1374
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1291
1375
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1292
1376
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1377
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1378
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1293
1379
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1294
1380
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1295
1381
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1312,6 +1398,8 @@ export type ChatThreadUncheckedUpdateWithoutGenerationsInput = {
1312
1398
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1313
1399
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1314
1400
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1401
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1402
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1315
1403
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1316
1404
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1317
1405
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1332,6 +1420,8 @@ export type ChatThreadCreateWithoutAgentInput = {
1332
1420
  title?: string | null
1333
1421
  isArchived?: boolean
1334
1422
  sandboxPolicy?: string
1423
+ harnessPermission?: string
1424
+ harnessPermissionVersion?: number
1335
1425
  createdAt?: Date | string
1336
1426
  updatedAt?: Date | string
1337
1427
  engine?: string
@@ -1354,6 +1444,8 @@ export type ChatThreadUncheckedCreateWithoutAgentInput = {
1354
1444
  title?: string | null
1355
1445
  isArchived?: boolean
1356
1446
  sandboxPolicy?: string
1447
+ harnessPermission?: string
1448
+ harnessPermissionVersion?: number
1357
1449
  createdAt?: Date | string
1358
1450
  updatedAt?: Date | string
1359
1451
  workspaceId?: string | null
@@ -1400,6 +1492,8 @@ export type ChatThreadCreateWithoutWorkspaceInput = {
1400
1492
  title?: string | null
1401
1493
  isArchived?: boolean
1402
1494
  sandboxPolicy?: string
1495
+ harnessPermission?: string
1496
+ harnessPermissionVersion?: number
1403
1497
  createdAt?: Date | string
1404
1498
  updatedAt?: Date | string
1405
1499
  engine?: string
@@ -1422,6 +1516,8 @@ export type ChatThreadUncheckedCreateWithoutWorkspaceInput = {
1422
1516
  title?: string | null
1423
1517
  isArchived?: boolean
1424
1518
  sandboxPolicy?: string
1519
+ harnessPermission?: string
1520
+ harnessPermissionVersion?: number
1425
1521
  createdAt?: Date | string
1426
1522
  updatedAt?: Date | string
1427
1523
  agentId?: string | null
@@ -1468,6 +1564,8 @@ export type ChatThreadCreateWithoutSshHostInput = {
1468
1564
  title?: string | null
1469
1565
  isArchived?: boolean
1470
1566
  sandboxPolicy?: string
1567
+ harnessPermission?: string
1568
+ harnessPermissionVersion?: number
1471
1569
  createdAt?: Date | string
1472
1570
  updatedAt?: Date | string
1473
1571
  engine?: string
@@ -1490,6 +1588,8 @@ export type ChatThreadUncheckedCreateWithoutSshHostInput = {
1490
1588
  title?: string | null
1491
1589
  isArchived?: boolean
1492
1590
  sandboxPolicy?: string
1591
+ harnessPermission?: string
1592
+ harnessPermissionVersion?: number
1493
1593
  createdAt?: Date | string
1494
1594
  updatedAt?: Date | string
1495
1595
  agentId?: string | null
@@ -1536,6 +1636,8 @@ export type ChatThreadCreateManyUserInput = {
1536
1636
  title?: string | null
1537
1637
  isArchived?: boolean
1538
1638
  sandboxPolicy?: string
1639
+ harnessPermission?: string
1640
+ harnessPermissionVersion?: number
1539
1641
  createdAt?: Date | string
1540
1642
  updatedAt?: Date | string
1541
1643
  agentId?: string | null
@@ -1553,6 +1655,8 @@ export type ChatThreadUpdateWithoutUserInput = {
1553
1655
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1554
1656
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1555
1657
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1658
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1659
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1556
1660
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1557
1661
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1558
1662
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1574,6 +1678,8 @@ export type ChatThreadUncheckedUpdateWithoutUserInput = {
1574
1678
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1575
1679
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1576
1680
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1681
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1682
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1577
1683
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1578
1684
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1579
1685
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1595,6 +1701,8 @@ export type ChatThreadUncheckedUpdateManyWithoutUserInput = {
1595
1701
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1596
1702
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1597
1703
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1704
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1705
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1598
1706
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1599
1707
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1600
1708
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1613,6 +1721,8 @@ export type ChatThreadCreateManyAgentInput = {
1613
1721
  title?: string | null
1614
1722
  isArchived?: boolean
1615
1723
  sandboxPolicy?: string
1724
+ harnessPermission?: string
1725
+ harnessPermissionVersion?: number
1616
1726
  createdAt?: Date | string
1617
1727
  updatedAt?: Date | string
1618
1728
  workspaceId?: string | null
@@ -1629,6 +1739,8 @@ export type ChatThreadUpdateWithoutAgentInput = {
1629
1739
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1630
1740
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1631
1741
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1742
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1743
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1632
1744
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1633
1745
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1634
1746
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1651,6 +1763,8 @@ export type ChatThreadUncheckedUpdateWithoutAgentInput = {
1651
1763
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1652
1764
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1653
1765
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1766
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1767
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1654
1768
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1655
1769
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1656
1770
  workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1672,6 +1786,8 @@ export type ChatThreadUncheckedUpdateManyWithoutAgentInput = {
1672
1786
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1673
1787
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1674
1788
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1789
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1790
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1675
1791
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1676
1792
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1677
1793
  workspaceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1689,6 +1805,8 @@ export type ChatThreadCreateManyWorkspaceInput = {
1689
1805
  title?: string | null
1690
1806
  isArchived?: boolean
1691
1807
  sandboxPolicy?: string
1808
+ harnessPermission?: string
1809
+ harnessPermissionVersion?: number
1692
1810
  createdAt?: Date | string
1693
1811
  updatedAt?: Date | string
1694
1812
  agentId?: string | null
@@ -1705,6 +1823,8 @@ export type ChatThreadUpdateWithoutWorkspaceInput = {
1705
1823
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1706
1824
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1707
1825
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1826
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1827
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1708
1828
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1709
1829
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1710
1830
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1727,6 +1847,8 @@ export type ChatThreadUncheckedUpdateWithoutWorkspaceInput = {
1727
1847
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1728
1848
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1729
1849
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1850
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1851
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1730
1852
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1731
1853
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1732
1854
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1748,6 +1870,8 @@ export type ChatThreadUncheckedUpdateManyWithoutWorkspaceInput = {
1748
1870
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1749
1871
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1750
1872
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1873
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1874
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1751
1875
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1752
1876
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1753
1877
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1765,6 +1889,8 @@ export type ChatThreadCreateManySshHostInput = {
1765
1889
  title?: string | null
1766
1890
  isArchived?: boolean
1767
1891
  sandboxPolicy?: string
1892
+ harnessPermission?: string
1893
+ harnessPermissionVersion?: number
1768
1894
  createdAt?: Date | string
1769
1895
  updatedAt?: Date | string
1770
1896
  agentId?: string | null
@@ -1781,6 +1907,8 @@ export type ChatThreadUpdateWithoutSshHostInput = {
1781
1907
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1782
1908
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1783
1909
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1910
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1911
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1784
1912
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1785
1913
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1786
1914
  engine?: Prisma.StringFieldUpdateOperationsInput | string
@@ -1803,6 +1931,8 @@ export type ChatThreadUncheckedUpdateWithoutSshHostInput = {
1803
1931
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1804
1932
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1805
1933
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1934
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1935
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1806
1936
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1807
1937
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1808
1938
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1824,6 +1954,8 @@ export type ChatThreadUncheckedUpdateManyWithoutSshHostInput = {
1824
1954
  title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
1825
1955
  isArchived?: Prisma.BoolFieldUpdateOperationsInput | boolean
1826
1956
  sandboxPolicy?: Prisma.StringFieldUpdateOperationsInput | string
1957
+ harnessPermission?: Prisma.StringFieldUpdateOperationsInput | string
1958
+ harnessPermissionVersion?: Prisma.IntFieldUpdateOperationsInput | number
1827
1959
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1828
1960
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
1829
1961
  agentId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
@@ -1899,6 +2031,8 @@ export type ChatThreadSelect<ExtArgs extends runtime.Types.Extensions.InternalAr
1899
2031
  title?: boolean
1900
2032
  isArchived?: boolean
1901
2033
  sandboxPolicy?: boolean
2034
+ harnessPermission?: boolean
2035
+ harnessPermissionVersion?: boolean
1902
2036
  createdAt?: boolean
1903
2037
  updatedAt?: boolean
1904
2038
  agentId?: boolean
@@ -1926,6 +2060,8 @@ export type ChatThreadSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Ex
1926
2060
  title?: boolean
1927
2061
  isArchived?: boolean
1928
2062
  sandboxPolicy?: boolean
2063
+ harnessPermission?: boolean
2064
+ harnessPermissionVersion?: boolean
1929
2065
  createdAt?: boolean
1930
2066
  updatedAt?: boolean
1931
2067
  agentId?: boolean
@@ -1948,6 +2084,8 @@ export type ChatThreadSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Ex
1948
2084
  title?: boolean
1949
2085
  isArchived?: boolean
1950
2086
  sandboxPolicy?: boolean
2087
+ harnessPermission?: boolean
2088
+ harnessPermissionVersion?: boolean
1951
2089
  createdAt?: boolean
1952
2090
  updatedAt?: boolean
1953
2091
  agentId?: boolean
@@ -1970,6 +2108,8 @@ export type ChatThreadSelectScalar = {
1970
2108
  title?: boolean
1971
2109
  isArchived?: boolean
1972
2110
  sandboxPolicy?: boolean
2111
+ harnessPermission?: boolean
2112
+ harnessPermissionVersion?: boolean
1973
2113
  createdAt?: boolean
1974
2114
  updatedAt?: boolean
1975
2115
  agentId?: boolean
@@ -1982,7 +2122,7 @@ export type ChatThreadSelectScalar = {
1982
2122
  indexMetadata?: boolean
1983
2123
  }
1984
2124
 
1985
- export type ChatThreadOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "title" | "isArchived" | "sandboxPolicy" | "createdAt" | "updatedAt" | "agentId" | "workspaceId" | "sshHostId" | "engine" | "localCwd" | "localAgentId" | "indexRevision" | "indexMetadata", ExtArgs["result"]["chatThread"]>
2125
+ export type ChatThreadOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "userId" | "title" | "isArchived" | "sandboxPolicy" | "harnessPermission" | "harnessPermissionVersion" | "createdAt" | "updatedAt" | "agentId" | "workspaceId" | "sshHostId" | "engine" | "localCwd" | "localAgentId" | "indexRevision" | "indexMetadata", ExtArgs["result"]["chatThread"]>
1986
2126
  export type ChatThreadInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1987
2127
  user?: boolean | Prisma.UserDefaultArgs<ExtArgs>
1988
2128
  messages?: boolean | Prisma.ChatThread$messagesArgs<ExtArgs>
@@ -2025,6 +2165,8 @@ export type $ChatThreadPayload<ExtArgs extends runtime.Types.Extensions.Internal
2025
2165
  title: string | null
2026
2166
  isArchived: boolean
2027
2167
  sandboxPolicy: string
2168
+ harnessPermission: string
2169
+ harnessPermissionVersion: number
2028
2170
  createdAt: Date
2029
2171
  updatedAt: Date
2030
2172
  agentId: string | null
@@ -2491,6 +2633,8 @@ export interface ChatThreadFieldRefs {
2491
2633
  readonly title: Prisma.FieldRef<"ChatThread", 'String'>
2492
2634
  readonly isArchived: Prisma.FieldRef<"ChatThread", 'Boolean'>
2493
2635
  readonly sandboxPolicy: Prisma.FieldRef<"ChatThread", 'String'>
2636
+ readonly harnessPermission: Prisma.FieldRef<"ChatThread", 'String'>
2637
+ readonly harnessPermissionVersion: Prisma.FieldRef<"ChatThread", 'Int'>
2494
2638
  readonly createdAt: Prisma.FieldRef<"ChatThread", 'DateTime'>
2495
2639
  readonly updatedAt: Prisma.FieldRef<"ChatThread", 'DateTime'>
2496
2640
  readonly agentId: Prisma.FieldRef<"ChatThread", 'String'>