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