dorkos 0.20.0 → 0.21.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,757 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "28afe10f-85a4-45c9-a1e7-6f4b808b821e",
5
+ "prevId": "8aedfdae-7cfc-43a6-aecb-1d003c102b43",
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
+ "pulse_runs": {
84
+ "name": "pulse_runs",
85
+ "columns": {
86
+ "id": {
87
+ "name": "id",
88
+ "type": "text",
89
+ "primaryKey": true,
90
+ "notNull": true,
91
+ "autoincrement": false
92
+ },
93
+ "schedule_id": {
94
+ "name": "schedule_id",
95
+ "type": "text",
96
+ "primaryKey": false,
97
+ "notNull": true,
98
+ "autoincrement": false
99
+ },
100
+ "status": {
101
+ "name": "status",
102
+ "type": "text",
103
+ "primaryKey": false,
104
+ "notNull": true,
105
+ "autoincrement": false
106
+ },
107
+ "started_at": {
108
+ "name": "started_at",
109
+ "type": "text",
110
+ "primaryKey": false,
111
+ "notNull": true,
112
+ "autoincrement": false
113
+ },
114
+ "finished_at": {
115
+ "name": "finished_at",
116
+ "type": "text",
117
+ "primaryKey": false,
118
+ "notNull": false,
119
+ "autoincrement": false
120
+ },
121
+ "duration_ms": {
122
+ "name": "duration_ms",
123
+ "type": "integer",
124
+ "primaryKey": false,
125
+ "notNull": false,
126
+ "autoincrement": false
127
+ },
128
+ "output": {
129
+ "name": "output",
130
+ "type": "text",
131
+ "primaryKey": false,
132
+ "notNull": false,
133
+ "autoincrement": false
134
+ },
135
+ "error": {
136
+ "name": "error",
137
+ "type": "text",
138
+ "primaryKey": false,
139
+ "notNull": false,
140
+ "autoincrement": false
141
+ },
142
+ "session_id": {
143
+ "name": "session_id",
144
+ "type": "text",
145
+ "primaryKey": false,
146
+ "notNull": false,
147
+ "autoincrement": false
148
+ },
149
+ "trigger": {
150
+ "name": "trigger",
151
+ "type": "text",
152
+ "primaryKey": false,
153
+ "notNull": true,
154
+ "autoincrement": false,
155
+ "default": "'scheduled'"
156
+ },
157
+ "created_at": {
158
+ "name": "created_at",
159
+ "type": "text",
160
+ "primaryKey": false,
161
+ "notNull": true,
162
+ "autoincrement": false
163
+ }
164
+ },
165
+ "indexes": {},
166
+ "foreignKeys": {
167
+ "pulse_runs_schedule_id_pulse_schedules_id_fk": {
168
+ "name": "pulse_runs_schedule_id_pulse_schedules_id_fk",
169
+ "tableFrom": "pulse_runs",
170
+ "tableTo": "pulse_schedules",
171
+ "columnsFrom": [
172
+ "schedule_id"
173
+ ],
174
+ "columnsTo": [
175
+ "id"
176
+ ],
177
+ "onDelete": "no action",
178
+ "onUpdate": "no action"
179
+ }
180
+ },
181
+ "compositePrimaryKeys": {},
182
+ "uniqueConstraints": {},
183
+ "checkConstraints": {}
184
+ },
185
+ "pulse_schedules": {
186
+ "name": "pulse_schedules",
187
+ "columns": {
188
+ "id": {
189
+ "name": "id",
190
+ "type": "text",
191
+ "primaryKey": true,
192
+ "notNull": true,
193
+ "autoincrement": false
194
+ },
195
+ "name": {
196
+ "name": "name",
197
+ "type": "text",
198
+ "primaryKey": false,
199
+ "notNull": true,
200
+ "autoincrement": false
201
+ },
202
+ "description": {
203
+ "name": "description",
204
+ "type": "text",
205
+ "primaryKey": false,
206
+ "notNull": false,
207
+ "autoincrement": false
208
+ },
209
+ "cron": {
210
+ "name": "cron",
211
+ "type": "text",
212
+ "primaryKey": false,
213
+ "notNull": true,
214
+ "autoincrement": false
215
+ },
216
+ "timezone": {
217
+ "name": "timezone",
218
+ "type": "text",
219
+ "primaryKey": false,
220
+ "notNull": true,
221
+ "autoincrement": false,
222
+ "default": "'UTC'"
223
+ },
224
+ "prompt": {
225
+ "name": "prompt",
226
+ "type": "text",
227
+ "primaryKey": false,
228
+ "notNull": true,
229
+ "autoincrement": false
230
+ },
231
+ "cwd": {
232
+ "name": "cwd",
233
+ "type": "text",
234
+ "primaryKey": false,
235
+ "notNull": false,
236
+ "autoincrement": false
237
+ },
238
+ "agent_id": {
239
+ "name": "agent_id",
240
+ "type": "text",
241
+ "primaryKey": false,
242
+ "notNull": false,
243
+ "autoincrement": false
244
+ },
245
+ "enabled": {
246
+ "name": "enabled",
247
+ "type": "integer",
248
+ "primaryKey": false,
249
+ "notNull": true,
250
+ "autoincrement": false,
251
+ "default": true
252
+ },
253
+ "max_runtime": {
254
+ "name": "max_runtime",
255
+ "type": "integer",
256
+ "primaryKey": false,
257
+ "notNull": false,
258
+ "autoincrement": false
259
+ },
260
+ "permission_mode": {
261
+ "name": "permission_mode",
262
+ "type": "text",
263
+ "primaryKey": false,
264
+ "notNull": true,
265
+ "autoincrement": false,
266
+ "default": "'acceptEdits'"
267
+ },
268
+ "status": {
269
+ "name": "status",
270
+ "type": "text",
271
+ "primaryKey": false,
272
+ "notNull": true,
273
+ "autoincrement": false,
274
+ "default": "'active'"
275
+ },
276
+ "created_at": {
277
+ "name": "created_at",
278
+ "type": "text",
279
+ "primaryKey": false,
280
+ "notNull": true,
281
+ "autoincrement": false
282
+ },
283
+ "updated_at": {
284
+ "name": "updated_at",
285
+ "type": "text",
286
+ "primaryKey": false,
287
+ "notNull": true,
288
+ "autoincrement": false
289
+ }
290
+ },
291
+ "indexes": {},
292
+ "foreignKeys": {},
293
+ "compositePrimaryKeys": {},
294
+ "uniqueConstraints": {},
295
+ "checkConstraints": {}
296
+ },
297
+ "relay_index": {
298
+ "name": "relay_index",
299
+ "columns": {
300
+ "id": {
301
+ "name": "id",
302
+ "type": "text",
303
+ "primaryKey": true,
304
+ "notNull": true,
305
+ "autoincrement": false
306
+ },
307
+ "subject": {
308
+ "name": "subject",
309
+ "type": "text",
310
+ "primaryKey": false,
311
+ "notNull": true,
312
+ "autoincrement": false
313
+ },
314
+ "endpoint_hash": {
315
+ "name": "endpoint_hash",
316
+ "type": "text",
317
+ "primaryKey": false,
318
+ "notNull": true,
319
+ "autoincrement": false
320
+ },
321
+ "status": {
322
+ "name": "status",
323
+ "type": "text",
324
+ "primaryKey": false,
325
+ "notNull": true,
326
+ "autoincrement": false,
327
+ "default": "'pending'"
328
+ },
329
+ "expires_at": {
330
+ "name": "expires_at",
331
+ "type": "text",
332
+ "primaryKey": false,
333
+ "notNull": false,
334
+ "autoincrement": false
335
+ },
336
+ "sender": {
337
+ "name": "sender",
338
+ "type": "text",
339
+ "primaryKey": false,
340
+ "notNull": false,
341
+ "autoincrement": false
342
+ },
343
+ "payload": {
344
+ "name": "payload",
345
+ "type": "text",
346
+ "primaryKey": false,
347
+ "notNull": false,
348
+ "autoincrement": false
349
+ },
350
+ "metadata": {
351
+ "name": "metadata",
352
+ "type": "text",
353
+ "primaryKey": false,
354
+ "notNull": false,
355
+ "autoincrement": false
356
+ },
357
+ "created_at": {
358
+ "name": "created_at",
359
+ "type": "text",
360
+ "primaryKey": false,
361
+ "notNull": true,
362
+ "autoincrement": false
363
+ }
364
+ },
365
+ "indexes": {},
366
+ "foreignKeys": {},
367
+ "compositePrimaryKeys": {},
368
+ "uniqueConstraints": {},
369
+ "checkConstraints": {}
370
+ },
371
+ "relay_traces": {
372
+ "name": "relay_traces",
373
+ "columns": {
374
+ "id": {
375
+ "name": "id",
376
+ "type": "text",
377
+ "primaryKey": true,
378
+ "notNull": true,
379
+ "autoincrement": false
380
+ },
381
+ "message_id": {
382
+ "name": "message_id",
383
+ "type": "text",
384
+ "primaryKey": false,
385
+ "notNull": true,
386
+ "autoincrement": false
387
+ },
388
+ "trace_id": {
389
+ "name": "trace_id",
390
+ "type": "text",
391
+ "primaryKey": false,
392
+ "notNull": true,
393
+ "autoincrement": false
394
+ },
395
+ "subject": {
396
+ "name": "subject",
397
+ "type": "text",
398
+ "primaryKey": false,
399
+ "notNull": true,
400
+ "autoincrement": false
401
+ },
402
+ "status": {
403
+ "name": "status",
404
+ "type": "text",
405
+ "primaryKey": false,
406
+ "notNull": true,
407
+ "autoincrement": false
408
+ },
409
+ "sent_at": {
410
+ "name": "sent_at",
411
+ "type": "text",
412
+ "primaryKey": false,
413
+ "notNull": true,
414
+ "autoincrement": false
415
+ },
416
+ "delivered_at": {
417
+ "name": "delivered_at",
418
+ "type": "text",
419
+ "primaryKey": false,
420
+ "notNull": false,
421
+ "autoincrement": false
422
+ },
423
+ "processed_at": {
424
+ "name": "processed_at",
425
+ "type": "text",
426
+ "primaryKey": false,
427
+ "notNull": false,
428
+ "autoincrement": false
429
+ },
430
+ "error_message": {
431
+ "name": "error_message",
432
+ "type": "text",
433
+ "primaryKey": false,
434
+ "notNull": false,
435
+ "autoincrement": false
436
+ },
437
+ "metadata": {
438
+ "name": "metadata",
439
+ "type": "text",
440
+ "primaryKey": false,
441
+ "notNull": false,
442
+ "autoincrement": false
443
+ }
444
+ },
445
+ "indexes": {
446
+ "relay_traces_message_id_unique": {
447
+ "name": "relay_traces_message_id_unique",
448
+ "columns": [
449
+ "message_id"
450
+ ],
451
+ "isUnique": true
452
+ }
453
+ },
454
+ "foreignKeys": {},
455
+ "compositePrimaryKeys": {},
456
+ "uniqueConstraints": {},
457
+ "checkConstraints": {}
458
+ },
459
+ "agent_denials": {
460
+ "name": "agent_denials",
461
+ "columns": {
462
+ "id": {
463
+ "name": "id",
464
+ "type": "text",
465
+ "primaryKey": true,
466
+ "notNull": true,
467
+ "autoincrement": false
468
+ },
469
+ "path": {
470
+ "name": "path",
471
+ "type": "text",
472
+ "primaryKey": false,
473
+ "notNull": true,
474
+ "autoincrement": false
475
+ },
476
+ "reason": {
477
+ "name": "reason",
478
+ "type": "text",
479
+ "primaryKey": false,
480
+ "notNull": false,
481
+ "autoincrement": false
482
+ },
483
+ "denier": {
484
+ "name": "denier",
485
+ "type": "text",
486
+ "primaryKey": false,
487
+ "notNull": false,
488
+ "autoincrement": false
489
+ },
490
+ "created_at": {
491
+ "name": "created_at",
492
+ "type": "text",
493
+ "primaryKey": false,
494
+ "notNull": true,
495
+ "autoincrement": false
496
+ }
497
+ },
498
+ "indexes": {
499
+ "agent_denials_path_unique": {
500
+ "name": "agent_denials_path_unique",
501
+ "columns": [
502
+ "path"
503
+ ],
504
+ "isUnique": true
505
+ }
506
+ },
507
+ "foreignKeys": {},
508
+ "compositePrimaryKeys": {},
509
+ "uniqueConstraints": {},
510
+ "checkConstraints": {}
511
+ },
512
+ "agents": {
513
+ "name": "agents",
514
+ "columns": {
515
+ "id": {
516
+ "name": "id",
517
+ "type": "text",
518
+ "primaryKey": true,
519
+ "notNull": true,
520
+ "autoincrement": false
521
+ },
522
+ "name": {
523
+ "name": "name",
524
+ "type": "text",
525
+ "primaryKey": false,
526
+ "notNull": true,
527
+ "autoincrement": false
528
+ },
529
+ "runtime": {
530
+ "name": "runtime",
531
+ "type": "text",
532
+ "primaryKey": false,
533
+ "notNull": true,
534
+ "autoincrement": false
535
+ },
536
+ "project_path": {
537
+ "name": "project_path",
538
+ "type": "text",
539
+ "primaryKey": false,
540
+ "notNull": true,
541
+ "autoincrement": false
542
+ },
543
+ "namespace": {
544
+ "name": "namespace",
545
+ "type": "text",
546
+ "primaryKey": false,
547
+ "notNull": true,
548
+ "autoincrement": false,
549
+ "default": "'default'"
550
+ },
551
+ "capabilities_json": {
552
+ "name": "capabilities_json",
553
+ "type": "text",
554
+ "primaryKey": false,
555
+ "notNull": true,
556
+ "autoincrement": false,
557
+ "default": "'[]'"
558
+ },
559
+ "entrypoint": {
560
+ "name": "entrypoint",
561
+ "type": "text",
562
+ "primaryKey": false,
563
+ "notNull": false,
564
+ "autoincrement": false
565
+ },
566
+ "version": {
567
+ "name": "version",
568
+ "type": "text",
569
+ "primaryKey": false,
570
+ "notNull": false,
571
+ "autoincrement": false
572
+ },
573
+ "description": {
574
+ "name": "description",
575
+ "type": "text",
576
+ "primaryKey": false,
577
+ "notNull": false,
578
+ "autoincrement": false
579
+ },
580
+ "approver": {
581
+ "name": "approver",
582
+ "type": "text",
583
+ "primaryKey": false,
584
+ "notNull": false,
585
+ "autoincrement": false
586
+ },
587
+ "status": {
588
+ "name": "status",
589
+ "type": "text",
590
+ "primaryKey": false,
591
+ "notNull": true,
592
+ "autoincrement": false,
593
+ "default": "'active'"
594
+ },
595
+ "scan_root": {
596
+ "name": "scan_root",
597
+ "type": "text",
598
+ "primaryKey": false,
599
+ "notNull": true,
600
+ "autoincrement": false,
601
+ "default": "''"
602
+ },
603
+ "behavior_json": {
604
+ "name": "behavior_json",
605
+ "type": "text",
606
+ "primaryKey": false,
607
+ "notNull": true,
608
+ "autoincrement": false,
609
+ "default": "'{\"responseMode\":\"always\"}'"
610
+ },
611
+ "budget_json": {
612
+ "name": "budget_json",
613
+ "type": "text",
614
+ "primaryKey": false,
615
+ "notNull": true,
616
+ "autoincrement": false,
617
+ "default": "'{\"maxHopsPerMessage\":5,\"maxCallsPerHour\":100}'"
618
+ },
619
+ "last_seen_at": {
620
+ "name": "last_seen_at",
621
+ "type": "text",
622
+ "primaryKey": false,
623
+ "notNull": false,
624
+ "autoincrement": false
625
+ },
626
+ "last_seen_event": {
627
+ "name": "last_seen_event",
628
+ "type": "text",
629
+ "primaryKey": false,
630
+ "notNull": false,
631
+ "autoincrement": false
632
+ },
633
+ "persona": {
634
+ "name": "persona",
635
+ "type": "text",
636
+ "primaryKey": false,
637
+ "notNull": false,
638
+ "autoincrement": false
639
+ },
640
+ "persona_enabled": {
641
+ "name": "persona_enabled",
642
+ "type": "integer",
643
+ "primaryKey": false,
644
+ "notNull": true,
645
+ "autoincrement": false,
646
+ "default": true
647
+ },
648
+ "traits_json": {
649
+ "name": "traits_json",
650
+ "type": "text",
651
+ "primaryKey": false,
652
+ "notNull": false,
653
+ "autoincrement": false
654
+ },
655
+ "conventions_json": {
656
+ "name": "conventions_json",
657
+ "type": "text",
658
+ "primaryKey": false,
659
+ "notNull": false,
660
+ "autoincrement": false
661
+ },
662
+ "color": {
663
+ "name": "color",
664
+ "type": "text",
665
+ "primaryKey": false,
666
+ "notNull": false,
667
+ "autoincrement": false
668
+ },
669
+ "icon": {
670
+ "name": "icon",
671
+ "type": "text",
672
+ "primaryKey": false,
673
+ "notNull": false,
674
+ "autoincrement": false
675
+ },
676
+ "registered_at": {
677
+ "name": "registered_at",
678
+ "type": "text",
679
+ "primaryKey": false,
680
+ "notNull": true,
681
+ "autoincrement": false
682
+ },
683
+ "updated_at": {
684
+ "name": "updated_at",
685
+ "type": "text",
686
+ "primaryKey": false,
687
+ "notNull": true,
688
+ "autoincrement": false
689
+ }
690
+ },
691
+ "indexes": {
692
+ "agents_project_path_unique": {
693
+ "name": "agents_project_path_unique",
694
+ "columns": [
695
+ "project_path"
696
+ ],
697
+ "isUnique": true
698
+ }
699
+ },
700
+ "foreignKeys": {},
701
+ "compositePrimaryKeys": {},
702
+ "uniqueConstraints": {},
703
+ "checkConstraints": {}
704
+ },
705
+ "rate_limit_buckets": {
706
+ "name": "rate_limit_buckets",
707
+ "columns": {
708
+ "agent_id": {
709
+ "name": "agent_id",
710
+ "type": "text",
711
+ "primaryKey": false,
712
+ "notNull": true,
713
+ "autoincrement": false
714
+ },
715
+ "bucket_minute": {
716
+ "name": "bucket_minute",
717
+ "type": "integer",
718
+ "primaryKey": false,
719
+ "notNull": true,
720
+ "autoincrement": false
721
+ },
722
+ "count": {
723
+ "name": "count",
724
+ "type": "integer",
725
+ "primaryKey": false,
726
+ "notNull": true,
727
+ "autoincrement": false,
728
+ "default": 0
729
+ }
730
+ },
731
+ "indexes": {
732
+ "idx_rate_limit_agent_minute": {
733
+ "name": "idx_rate_limit_agent_minute",
734
+ "columns": [
735
+ "agent_id",
736
+ "bucket_minute"
737
+ ],
738
+ "isUnique": true
739
+ }
740
+ },
741
+ "foreignKeys": {},
742
+ "compositePrimaryKeys": {},
743
+ "uniqueConstraints": {},
744
+ "checkConstraints": {}
745
+ }
746
+ },
747
+ "views": {},
748
+ "enums": {},
749
+ "_meta": {
750
+ "schemas": {},
751
+ "tables": {},
752
+ "columns": {}
753
+ },
754
+ "internal": {
755
+ "indexes": {}
756
+ }
757
+ }