dorkos 0.30.0 → 0.32.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.
@@ -0,0 +1,898 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "9978cf95-1f29-4306-a3b0-c165b646278c",
5
+ "prevId": "dff08b55-1a38-4bf3-b97c-c11a395b5b8b",
6
+ "tables": {
7
+ "a2a_tasks": {
8
+ "name": "a2a_tasks",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "context_id": {
18
+ "name": "context_id",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "agent_id": {
25
+ "name": "agent_id",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "status": {
32
+ "name": "status",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": true,
36
+ "autoincrement": false
37
+ },
38
+ "history_json": {
39
+ "name": "history_json",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false,
44
+ "default": "'[]'"
45
+ },
46
+ "artifacts_json": {
47
+ "name": "artifacts_json",
48
+ "type": "text",
49
+ "primaryKey": false,
50
+ "notNull": true,
51
+ "autoincrement": false,
52
+ "default": "'[]'"
53
+ },
54
+ "metadata_json": {
55
+ "name": "metadata_json",
56
+ "type": "text",
57
+ "primaryKey": false,
58
+ "notNull": true,
59
+ "autoincrement": false,
60
+ "default": "'{}'"
61
+ },
62
+ "created_at": {
63
+ "name": "created_at",
64
+ "type": "text",
65
+ "primaryKey": false,
66
+ "notNull": true,
67
+ "autoincrement": false
68
+ },
69
+ "updated_at": {
70
+ "name": "updated_at",
71
+ "type": "text",
72
+ "primaryKey": false,
73
+ "notNull": true,
74
+ "autoincrement": false
75
+ }
76
+ },
77
+ "indexes": {},
78
+ "foreignKeys": {},
79
+ "compositePrimaryKeys": {},
80
+ "uniqueConstraints": {},
81
+ "checkConstraints": {}
82
+ },
83
+ "activity_events": {
84
+ "name": "activity_events",
85
+ "columns": {
86
+ "id": {
87
+ "name": "id",
88
+ "type": "text",
89
+ "primaryKey": true,
90
+ "notNull": true,
91
+ "autoincrement": false
92
+ },
93
+ "occurred_at": {
94
+ "name": "occurred_at",
95
+ "type": "text",
96
+ "primaryKey": false,
97
+ "notNull": true,
98
+ "autoincrement": false
99
+ },
100
+ "actor_type": {
101
+ "name": "actor_type",
102
+ "type": "text",
103
+ "primaryKey": false,
104
+ "notNull": true,
105
+ "autoincrement": false
106
+ },
107
+ "actor_id": {
108
+ "name": "actor_id",
109
+ "type": "text",
110
+ "primaryKey": false,
111
+ "notNull": false,
112
+ "autoincrement": false
113
+ },
114
+ "actor_label": {
115
+ "name": "actor_label",
116
+ "type": "text",
117
+ "primaryKey": false,
118
+ "notNull": true,
119
+ "autoincrement": false
120
+ },
121
+ "category": {
122
+ "name": "category",
123
+ "type": "text",
124
+ "primaryKey": false,
125
+ "notNull": true,
126
+ "autoincrement": false
127
+ },
128
+ "event_type": {
129
+ "name": "event_type",
130
+ "type": "text",
131
+ "primaryKey": false,
132
+ "notNull": true,
133
+ "autoincrement": false
134
+ },
135
+ "resource_type": {
136
+ "name": "resource_type",
137
+ "type": "text",
138
+ "primaryKey": false,
139
+ "notNull": false,
140
+ "autoincrement": false
141
+ },
142
+ "resource_id": {
143
+ "name": "resource_id",
144
+ "type": "text",
145
+ "primaryKey": false,
146
+ "notNull": false,
147
+ "autoincrement": false
148
+ },
149
+ "resource_label": {
150
+ "name": "resource_label",
151
+ "type": "text",
152
+ "primaryKey": false,
153
+ "notNull": false,
154
+ "autoincrement": false
155
+ },
156
+ "summary": {
157
+ "name": "summary",
158
+ "type": "text",
159
+ "primaryKey": false,
160
+ "notNull": true,
161
+ "autoincrement": false
162
+ },
163
+ "link_path": {
164
+ "name": "link_path",
165
+ "type": "text",
166
+ "primaryKey": false,
167
+ "notNull": false,
168
+ "autoincrement": false
169
+ },
170
+ "metadata": {
171
+ "name": "metadata",
172
+ "type": "text",
173
+ "primaryKey": false,
174
+ "notNull": false,
175
+ "autoincrement": false
176
+ },
177
+ "created_at": {
178
+ "name": "created_at",
179
+ "type": "text",
180
+ "primaryKey": false,
181
+ "notNull": true,
182
+ "autoincrement": false
183
+ }
184
+ },
185
+ "indexes": {
186
+ "idx_activity_occurred_at": {
187
+ "name": "idx_activity_occurred_at",
188
+ "columns": ["occurred_at"],
189
+ "isUnique": false
190
+ },
191
+ "idx_activity_category": {
192
+ "name": "idx_activity_category",
193
+ "columns": ["category"],
194
+ "isUnique": false
195
+ },
196
+ "idx_activity_actor_type": {
197
+ "name": "idx_activity_actor_type",
198
+ "columns": ["actor_type"],
199
+ "isUnique": false
200
+ }
201
+ },
202
+ "foreignKeys": {},
203
+ "compositePrimaryKeys": {},
204
+ "uniqueConstraints": {},
205
+ "checkConstraints": {}
206
+ },
207
+ "pulse_runs": {
208
+ "name": "pulse_runs",
209
+ "columns": {
210
+ "id": {
211
+ "name": "id",
212
+ "type": "text",
213
+ "primaryKey": true,
214
+ "notNull": true,
215
+ "autoincrement": false
216
+ },
217
+ "schedule_id": {
218
+ "name": "schedule_id",
219
+ "type": "text",
220
+ "primaryKey": false,
221
+ "notNull": true,
222
+ "autoincrement": false
223
+ },
224
+ "status": {
225
+ "name": "status",
226
+ "type": "text",
227
+ "primaryKey": false,
228
+ "notNull": true,
229
+ "autoincrement": false
230
+ },
231
+ "started_at": {
232
+ "name": "started_at",
233
+ "type": "text",
234
+ "primaryKey": false,
235
+ "notNull": true,
236
+ "autoincrement": false
237
+ },
238
+ "finished_at": {
239
+ "name": "finished_at",
240
+ "type": "text",
241
+ "primaryKey": false,
242
+ "notNull": false,
243
+ "autoincrement": false
244
+ },
245
+ "duration_ms": {
246
+ "name": "duration_ms",
247
+ "type": "integer",
248
+ "primaryKey": false,
249
+ "notNull": false,
250
+ "autoincrement": false
251
+ },
252
+ "output": {
253
+ "name": "output",
254
+ "type": "text",
255
+ "primaryKey": false,
256
+ "notNull": false,
257
+ "autoincrement": false
258
+ },
259
+ "error": {
260
+ "name": "error",
261
+ "type": "text",
262
+ "primaryKey": false,
263
+ "notNull": false,
264
+ "autoincrement": false
265
+ },
266
+ "session_id": {
267
+ "name": "session_id",
268
+ "type": "text",
269
+ "primaryKey": false,
270
+ "notNull": false,
271
+ "autoincrement": false
272
+ },
273
+ "trigger": {
274
+ "name": "trigger",
275
+ "type": "text",
276
+ "primaryKey": false,
277
+ "notNull": true,
278
+ "autoincrement": false,
279
+ "default": "'scheduled'"
280
+ },
281
+ "created_at": {
282
+ "name": "created_at",
283
+ "type": "text",
284
+ "primaryKey": false,
285
+ "notNull": true,
286
+ "autoincrement": false
287
+ }
288
+ },
289
+ "indexes": {},
290
+ "foreignKeys": {
291
+ "pulse_runs_schedule_id_pulse_schedules_id_fk": {
292
+ "name": "pulse_runs_schedule_id_pulse_schedules_id_fk",
293
+ "tableFrom": "pulse_runs",
294
+ "tableTo": "pulse_schedules",
295
+ "columnsFrom": ["schedule_id"],
296
+ "columnsTo": ["id"],
297
+ "onDelete": "no action",
298
+ "onUpdate": "no action"
299
+ }
300
+ },
301
+ "compositePrimaryKeys": {},
302
+ "uniqueConstraints": {},
303
+ "checkConstraints": {}
304
+ },
305
+ "pulse_schedules": {
306
+ "name": "pulse_schedules",
307
+ "columns": {
308
+ "id": {
309
+ "name": "id",
310
+ "type": "text",
311
+ "primaryKey": true,
312
+ "notNull": true,
313
+ "autoincrement": false
314
+ },
315
+ "name": {
316
+ "name": "name",
317
+ "type": "text",
318
+ "primaryKey": false,
319
+ "notNull": true,
320
+ "autoincrement": false
321
+ },
322
+ "description": {
323
+ "name": "description",
324
+ "type": "text",
325
+ "primaryKey": false,
326
+ "notNull": false,
327
+ "autoincrement": false
328
+ },
329
+ "display_name": {
330
+ "name": "display_name",
331
+ "type": "text",
332
+ "primaryKey": false,
333
+ "notNull": false,
334
+ "autoincrement": false
335
+ },
336
+ "cron": {
337
+ "name": "cron",
338
+ "type": "text",
339
+ "primaryKey": false,
340
+ "notNull": true,
341
+ "autoincrement": false
342
+ },
343
+ "timezone": {
344
+ "name": "timezone",
345
+ "type": "text",
346
+ "primaryKey": false,
347
+ "notNull": true,
348
+ "autoincrement": false,
349
+ "default": "'UTC'"
350
+ },
351
+ "prompt": {
352
+ "name": "prompt",
353
+ "type": "text",
354
+ "primaryKey": false,
355
+ "notNull": true,
356
+ "autoincrement": false
357
+ },
358
+ "cwd": {
359
+ "name": "cwd",
360
+ "type": "text",
361
+ "primaryKey": false,
362
+ "notNull": false,
363
+ "autoincrement": false
364
+ },
365
+ "agent_id": {
366
+ "name": "agent_id",
367
+ "type": "text",
368
+ "primaryKey": false,
369
+ "notNull": false,
370
+ "autoincrement": false
371
+ },
372
+ "enabled": {
373
+ "name": "enabled",
374
+ "type": "integer",
375
+ "primaryKey": false,
376
+ "notNull": true,
377
+ "autoincrement": false,
378
+ "default": true
379
+ },
380
+ "max_runtime": {
381
+ "name": "max_runtime",
382
+ "type": "integer",
383
+ "primaryKey": false,
384
+ "notNull": false,
385
+ "autoincrement": false
386
+ },
387
+ "permission_mode": {
388
+ "name": "permission_mode",
389
+ "type": "text",
390
+ "primaryKey": false,
391
+ "notNull": true,
392
+ "autoincrement": false,
393
+ "default": "'acceptEdits'"
394
+ },
395
+ "status": {
396
+ "name": "status",
397
+ "type": "text",
398
+ "primaryKey": false,
399
+ "notNull": true,
400
+ "autoincrement": false,
401
+ "default": "'active'"
402
+ },
403
+ "file_path": {
404
+ "name": "file_path",
405
+ "type": "text",
406
+ "primaryKey": false,
407
+ "notNull": true,
408
+ "autoincrement": false
409
+ },
410
+ "tags_json": {
411
+ "name": "tags_json",
412
+ "type": "text",
413
+ "primaryKey": false,
414
+ "notNull": true,
415
+ "autoincrement": false,
416
+ "default": "'[]'"
417
+ },
418
+ "created_at": {
419
+ "name": "created_at",
420
+ "type": "text",
421
+ "primaryKey": false,
422
+ "notNull": true,
423
+ "autoincrement": false
424
+ },
425
+ "updated_at": {
426
+ "name": "updated_at",
427
+ "type": "text",
428
+ "primaryKey": false,
429
+ "notNull": true,
430
+ "autoincrement": false
431
+ }
432
+ },
433
+ "indexes": {},
434
+ "foreignKeys": {},
435
+ "compositePrimaryKeys": {},
436
+ "uniqueConstraints": {},
437
+ "checkConstraints": {}
438
+ },
439
+ "relay_index": {
440
+ "name": "relay_index",
441
+ "columns": {
442
+ "id": {
443
+ "name": "id",
444
+ "type": "text",
445
+ "primaryKey": true,
446
+ "notNull": true,
447
+ "autoincrement": false
448
+ },
449
+ "subject": {
450
+ "name": "subject",
451
+ "type": "text",
452
+ "primaryKey": false,
453
+ "notNull": true,
454
+ "autoincrement": false
455
+ },
456
+ "endpoint_hash": {
457
+ "name": "endpoint_hash",
458
+ "type": "text",
459
+ "primaryKey": false,
460
+ "notNull": true,
461
+ "autoincrement": false
462
+ },
463
+ "status": {
464
+ "name": "status",
465
+ "type": "text",
466
+ "primaryKey": false,
467
+ "notNull": true,
468
+ "autoincrement": false,
469
+ "default": "'pending'"
470
+ },
471
+ "expires_at": {
472
+ "name": "expires_at",
473
+ "type": "text",
474
+ "primaryKey": false,
475
+ "notNull": false,
476
+ "autoincrement": false
477
+ },
478
+ "sender": {
479
+ "name": "sender",
480
+ "type": "text",
481
+ "primaryKey": false,
482
+ "notNull": false,
483
+ "autoincrement": false
484
+ },
485
+ "payload": {
486
+ "name": "payload",
487
+ "type": "text",
488
+ "primaryKey": false,
489
+ "notNull": false,
490
+ "autoincrement": false
491
+ },
492
+ "metadata": {
493
+ "name": "metadata",
494
+ "type": "text",
495
+ "primaryKey": false,
496
+ "notNull": false,
497
+ "autoincrement": false
498
+ },
499
+ "created_at": {
500
+ "name": "created_at",
501
+ "type": "text",
502
+ "primaryKey": false,
503
+ "notNull": true,
504
+ "autoincrement": false
505
+ }
506
+ },
507
+ "indexes": {},
508
+ "foreignKeys": {},
509
+ "compositePrimaryKeys": {},
510
+ "uniqueConstraints": {},
511
+ "checkConstraints": {}
512
+ },
513
+ "relay_traces": {
514
+ "name": "relay_traces",
515
+ "columns": {
516
+ "id": {
517
+ "name": "id",
518
+ "type": "text",
519
+ "primaryKey": true,
520
+ "notNull": true,
521
+ "autoincrement": false
522
+ },
523
+ "message_id": {
524
+ "name": "message_id",
525
+ "type": "text",
526
+ "primaryKey": false,
527
+ "notNull": true,
528
+ "autoincrement": false
529
+ },
530
+ "trace_id": {
531
+ "name": "trace_id",
532
+ "type": "text",
533
+ "primaryKey": false,
534
+ "notNull": true,
535
+ "autoincrement": false
536
+ },
537
+ "subject": {
538
+ "name": "subject",
539
+ "type": "text",
540
+ "primaryKey": false,
541
+ "notNull": true,
542
+ "autoincrement": false
543
+ },
544
+ "status": {
545
+ "name": "status",
546
+ "type": "text",
547
+ "primaryKey": false,
548
+ "notNull": true,
549
+ "autoincrement": false
550
+ },
551
+ "sent_at": {
552
+ "name": "sent_at",
553
+ "type": "text",
554
+ "primaryKey": false,
555
+ "notNull": true,
556
+ "autoincrement": false
557
+ },
558
+ "delivered_at": {
559
+ "name": "delivered_at",
560
+ "type": "text",
561
+ "primaryKey": false,
562
+ "notNull": false,
563
+ "autoincrement": false
564
+ },
565
+ "processed_at": {
566
+ "name": "processed_at",
567
+ "type": "text",
568
+ "primaryKey": false,
569
+ "notNull": false,
570
+ "autoincrement": false
571
+ },
572
+ "error_message": {
573
+ "name": "error_message",
574
+ "type": "text",
575
+ "primaryKey": false,
576
+ "notNull": false,
577
+ "autoincrement": false
578
+ },
579
+ "metadata": {
580
+ "name": "metadata",
581
+ "type": "text",
582
+ "primaryKey": false,
583
+ "notNull": false,
584
+ "autoincrement": false
585
+ }
586
+ },
587
+ "indexes": {
588
+ "relay_traces_message_id_unique": {
589
+ "name": "relay_traces_message_id_unique",
590
+ "columns": ["message_id"],
591
+ "isUnique": true
592
+ }
593
+ },
594
+ "foreignKeys": {},
595
+ "compositePrimaryKeys": {},
596
+ "uniqueConstraints": {},
597
+ "checkConstraints": {}
598
+ },
599
+ "agent_denials": {
600
+ "name": "agent_denials",
601
+ "columns": {
602
+ "id": {
603
+ "name": "id",
604
+ "type": "text",
605
+ "primaryKey": true,
606
+ "notNull": true,
607
+ "autoincrement": false
608
+ },
609
+ "path": {
610
+ "name": "path",
611
+ "type": "text",
612
+ "primaryKey": false,
613
+ "notNull": true,
614
+ "autoincrement": false
615
+ },
616
+ "reason": {
617
+ "name": "reason",
618
+ "type": "text",
619
+ "primaryKey": false,
620
+ "notNull": false,
621
+ "autoincrement": false
622
+ },
623
+ "denier": {
624
+ "name": "denier",
625
+ "type": "text",
626
+ "primaryKey": false,
627
+ "notNull": false,
628
+ "autoincrement": false
629
+ },
630
+ "created_at": {
631
+ "name": "created_at",
632
+ "type": "text",
633
+ "primaryKey": false,
634
+ "notNull": true,
635
+ "autoincrement": false
636
+ }
637
+ },
638
+ "indexes": {
639
+ "agent_denials_path_unique": {
640
+ "name": "agent_denials_path_unique",
641
+ "columns": ["path"],
642
+ "isUnique": true
643
+ }
644
+ },
645
+ "foreignKeys": {},
646
+ "compositePrimaryKeys": {},
647
+ "uniqueConstraints": {},
648
+ "checkConstraints": {}
649
+ },
650
+ "agents": {
651
+ "name": "agents",
652
+ "columns": {
653
+ "id": {
654
+ "name": "id",
655
+ "type": "text",
656
+ "primaryKey": true,
657
+ "notNull": true,
658
+ "autoincrement": false
659
+ },
660
+ "name": {
661
+ "name": "name",
662
+ "type": "text",
663
+ "primaryKey": false,
664
+ "notNull": true,
665
+ "autoincrement": false
666
+ },
667
+ "runtime": {
668
+ "name": "runtime",
669
+ "type": "text",
670
+ "primaryKey": false,
671
+ "notNull": true,
672
+ "autoincrement": false
673
+ },
674
+ "project_path": {
675
+ "name": "project_path",
676
+ "type": "text",
677
+ "primaryKey": false,
678
+ "notNull": true,
679
+ "autoincrement": false
680
+ },
681
+ "namespace": {
682
+ "name": "namespace",
683
+ "type": "text",
684
+ "primaryKey": false,
685
+ "notNull": true,
686
+ "autoincrement": false,
687
+ "default": "'default'"
688
+ },
689
+ "capabilities_json": {
690
+ "name": "capabilities_json",
691
+ "type": "text",
692
+ "primaryKey": false,
693
+ "notNull": true,
694
+ "autoincrement": false,
695
+ "default": "'[]'"
696
+ },
697
+ "entrypoint": {
698
+ "name": "entrypoint",
699
+ "type": "text",
700
+ "primaryKey": false,
701
+ "notNull": false,
702
+ "autoincrement": false
703
+ },
704
+ "version": {
705
+ "name": "version",
706
+ "type": "text",
707
+ "primaryKey": false,
708
+ "notNull": false,
709
+ "autoincrement": false
710
+ },
711
+ "description": {
712
+ "name": "description",
713
+ "type": "text",
714
+ "primaryKey": false,
715
+ "notNull": false,
716
+ "autoincrement": false
717
+ },
718
+ "approver": {
719
+ "name": "approver",
720
+ "type": "text",
721
+ "primaryKey": false,
722
+ "notNull": false,
723
+ "autoincrement": false
724
+ },
725
+ "status": {
726
+ "name": "status",
727
+ "type": "text",
728
+ "primaryKey": false,
729
+ "notNull": true,
730
+ "autoincrement": false,
731
+ "default": "'active'"
732
+ },
733
+ "scan_root": {
734
+ "name": "scan_root",
735
+ "type": "text",
736
+ "primaryKey": false,
737
+ "notNull": true,
738
+ "autoincrement": false,
739
+ "default": "''"
740
+ },
741
+ "behavior_json": {
742
+ "name": "behavior_json",
743
+ "type": "text",
744
+ "primaryKey": false,
745
+ "notNull": true,
746
+ "autoincrement": false,
747
+ "default": "'{\"responseMode\":\"always\"}'"
748
+ },
749
+ "budget_json": {
750
+ "name": "budget_json",
751
+ "type": "text",
752
+ "primaryKey": false,
753
+ "notNull": true,
754
+ "autoincrement": false,
755
+ "default": "'{\"maxHopsPerMessage\":5,\"maxCallsPerHour\":100}'"
756
+ },
757
+ "last_seen_at": {
758
+ "name": "last_seen_at",
759
+ "type": "text",
760
+ "primaryKey": false,
761
+ "notNull": false,
762
+ "autoincrement": false
763
+ },
764
+ "last_seen_event": {
765
+ "name": "last_seen_event",
766
+ "type": "text",
767
+ "primaryKey": false,
768
+ "notNull": false,
769
+ "autoincrement": false
770
+ },
771
+ "persona": {
772
+ "name": "persona",
773
+ "type": "text",
774
+ "primaryKey": false,
775
+ "notNull": false,
776
+ "autoincrement": false
777
+ },
778
+ "persona_enabled": {
779
+ "name": "persona_enabled",
780
+ "type": "integer",
781
+ "primaryKey": false,
782
+ "notNull": true,
783
+ "autoincrement": false,
784
+ "default": true
785
+ },
786
+ "traits_json": {
787
+ "name": "traits_json",
788
+ "type": "text",
789
+ "primaryKey": false,
790
+ "notNull": false,
791
+ "autoincrement": false
792
+ },
793
+ "conventions_json": {
794
+ "name": "conventions_json",
795
+ "type": "text",
796
+ "primaryKey": false,
797
+ "notNull": false,
798
+ "autoincrement": false
799
+ },
800
+ "is_system": {
801
+ "name": "is_system",
802
+ "type": "integer",
803
+ "primaryKey": false,
804
+ "notNull": true,
805
+ "autoincrement": false,
806
+ "default": false
807
+ },
808
+ "color": {
809
+ "name": "color",
810
+ "type": "text",
811
+ "primaryKey": false,
812
+ "notNull": false,
813
+ "autoincrement": false
814
+ },
815
+ "icon": {
816
+ "name": "icon",
817
+ "type": "text",
818
+ "primaryKey": false,
819
+ "notNull": false,
820
+ "autoincrement": false
821
+ },
822
+ "registered_at": {
823
+ "name": "registered_at",
824
+ "type": "text",
825
+ "primaryKey": false,
826
+ "notNull": true,
827
+ "autoincrement": false
828
+ },
829
+ "updated_at": {
830
+ "name": "updated_at",
831
+ "type": "text",
832
+ "primaryKey": false,
833
+ "notNull": true,
834
+ "autoincrement": false
835
+ }
836
+ },
837
+ "indexes": {
838
+ "agents_project_path_unique": {
839
+ "name": "agents_project_path_unique",
840
+ "columns": ["project_path"],
841
+ "isUnique": true
842
+ }
843
+ },
844
+ "foreignKeys": {},
845
+ "compositePrimaryKeys": {},
846
+ "uniqueConstraints": {},
847
+ "checkConstraints": {}
848
+ },
849
+ "rate_limit_buckets": {
850
+ "name": "rate_limit_buckets",
851
+ "columns": {
852
+ "agent_id": {
853
+ "name": "agent_id",
854
+ "type": "text",
855
+ "primaryKey": false,
856
+ "notNull": true,
857
+ "autoincrement": false
858
+ },
859
+ "bucket_minute": {
860
+ "name": "bucket_minute",
861
+ "type": "integer",
862
+ "primaryKey": false,
863
+ "notNull": true,
864
+ "autoincrement": false
865
+ },
866
+ "count": {
867
+ "name": "count",
868
+ "type": "integer",
869
+ "primaryKey": false,
870
+ "notNull": true,
871
+ "autoincrement": false,
872
+ "default": 0
873
+ }
874
+ },
875
+ "indexes": {
876
+ "idx_rate_limit_agent_minute": {
877
+ "name": "idx_rate_limit_agent_minute",
878
+ "columns": ["agent_id", "bucket_minute"],
879
+ "isUnique": true
880
+ }
881
+ },
882
+ "foreignKeys": {},
883
+ "compositePrimaryKeys": {},
884
+ "uniqueConstraints": {},
885
+ "checkConstraints": {}
886
+ }
887
+ },
888
+ "views": {},
889
+ "enums": {},
890
+ "_meta": {
891
+ "schemas": {},
892
+ "tables": {},
893
+ "columns": {}
894
+ },
895
+ "internal": {
896
+ "indexes": {}
897
+ }
898
+ }