claude-ws 0.1.24 → 0.1.25

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,1168 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "8ad98458-5ae0-4723-a6e7-686b6d007f9a",
5
+ "prevId": "00000000-0000-0000-0000-000000000000",
6
+ "tables": {
7
+ "agent_factory_plugins": {
8
+ "name": "agent_factory_plugins",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "type": {
18
+ "name": "type",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "name": {
25
+ "name": "name",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "description": {
32
+ "name": "description",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "source_path": {
39
+ "name": "source_path",
40
+ "type": "text",
41
+ "primaryKey": false,
42
+ "notNull": false,
43
+ "autoincrement": false
44
+ },
45
+ "storage_type": {
46
+ "name": "storage_type",
47
+ "type": "text",
48
+ "primaryKey": false,
49
+ "notNull": true,
50
+ "autoincrement": false,
51
+ "default": "'local'"
52
+ },
53
+ "agent_set_path": {
54
+ "name": "agent_set_path",
55
+ "type": "text",
56
+ "primaryKey": false,
57
+ "notNull": false,
58
+ "autoincrement": false
59
+ },
60
+ "metadata": {
61
+ "name": "metadata",
62
+ "type": "text",
63
+ "primaryKey": false,
64
+ "notNull": false,
65
+ "autoincrement": false
66
+ },
67
+ "created_at": {
68
+ "name": "created_at",
69
+ "type": "integer",
70
+ "primaryKey": false,
71
+ "notNull": true,
72
+ "autoincrement": false
73
+ },
74
+ "updated_at": {
75
+ "name": "updated_at",
76
+ "type": "integer",
77
+ "primaryKey": false,
78
+ "notNull": true,
79
+ "autoincrement": false
80
+ }
81
+ },
82
+ "indexes": {},
83
+ "foreignKeys": {},
84
+ "compositePrimaryKeys": {},
85
+ "uniqueConstraints": {},
86
+ "checkConstraints": {}
87
+ },
88
+ "attempt_files": {
89
+ "name": "attempt_files",
90
+ "columns": {
91
+ "id": {
92
+ "name": "id",
93
+ "type": "text",
94
+ "primaryKey": true,
95
+ "notNull": true,
96
+ "autoincrement": false
97
+ },
98
+ "attempt_id": {
99
+ "name": "attempt_id",
100
+ "type": "text",
101
+ "primaryKey": false,
102
+ "notNull": true,
103
+ "autoincrement": false
104
+ },
105
+ "filename": {
106
+ "name": "filename",
107
+ "type": "text",
108
+ "primaryKey": false,
109
+ "notNull": true,
110
+ "autoincrement": false
111
+ },
112
+ "original_name": {
113
+ "name": "original_name",
114
+ "type": "text",
115
+ "primaryKey": false,
116
+ "notNull": true,
117
+ "autoincrement": false
118
+ },
119
+ "mime_type": {
120
+ "name": "mime_type",
121
+ "type": "text",
122
+ "primaryKey": false,
123
+ "notNull": true,
124
+ "autoincrement": false
125
+ },
126
+ "size": {
127
+ "name": "size",
128
+ "type": "integer",
129
+ "primaryKey": false,
130
+ "notNull": true,
131
+ "autoincrement": false
132
+ },
133
+ "created_at": {
134
+ "name": "created_at",
135
+ "type": "integer",
136
+ "primaryKey": false,
137
+ "notNull": true,
138
+ "autoincrement": false
139
+ }
140
+ },
141
+ "indexes": {
142
+ "idx_attempt_files_attempt": {
143
+ "name": "idx_attempt_files_attempt",
144
+ "columns": [
145
+ "attempt_id"
146
+ ],
147
+ "isUnique": false
148
+ }
149
+ },
150
+ "foreignKeys": {
151
+ "attempt_files_attempt_id_attempts_id_fk": {
152
+ "name": "attempt_files_attempt_id_attempts_id_fk",
153
+ "tableFrom": "attempt_files",
154
+ "tableTo": "attempts",
155
+ "columnsFrom": [
156
+ "attempt_id"
157
+ ],
158
+ "columnsTo": [
159
+ "id"
160
+ ],
161
+ "onDelete": "cascade",
162
+ "onUpdate": "no action"
163
+ }
164
+ },
165
+ "compositePrimaryKeys": {},
166
+ "uniqueConstraints": {},
167
+ "checkConstraints": {}
168
+ },
169
+ "attempt_logs": {
170
+ "name": "attempt_logs",
171
+ "columns": {
172
+ "id": {
173
+ "name": "id",
174
+ "type": "integer",
175
+ "primaryKey": true,
176
+ "notNull": true,
177
+ "autoincrement": true
178
+ },
179
+ "attempt_id": {
180
+ "name": "attempt_id",
181
+ "type": "text",
182
+ "primaryKey": false,
183
+ "notNull": true,
184
+ "autoincrement": false
185
+ },
186
+ "type": {
187
+ "name": "type",
188
+ "type": "text",
189
+ "primaryKey": false,
190
+ "notNull": true,
191
+ "autoincrement": false
192
+ },
193
+ "content": {
194
+ "name": "content",
195
+ "type": "text",
196
+ "primaryKey": false,
197
+ "notNull": true,
198
+ "autoincrement": false
199
+ },
200
+ "created_at": {
201
+ "name": "created_at",
202
+ "type": "integer",
203
+ "primaryKey": false,
204
+ "notNull": true,
205
+ "autoincrement": false
206
+ }
207
+ },
208
+ "indexes": {
209
+ "idx_logs_attempt": {
210
+ "name": "idx_logs_attempt",
211
+ "columns": [
212
+ "attempt_id",
213
+ "created_at"
214
+ ],
215
+ "isUnique": false
216
+ }
217
+ },
218
+ "foreignKeys": {
219
+ "attempt_logs_attempt_id_attempts_id_fk": {
220
+ "name": "attempt_logs_attempt_id_attempts_id_fk",
221
+ "tableFrom": "attempt_logs",
222
+ "tableTo": "attempts",
223
+ "columnsFrom": [
224
+ "attempt_id"
225
+ ],
226
+ "columnsTo": [
227
+ "id"
228
+ ],
229
+ "onDelete": "cascade",
230
+ "onUpdate": "no action"
231
+ }
232
+ },
233
+ "compositePrimaryKeys": {},
234
+ "uniqueConstraints": {},
235
+ "checkConstraints": {}
236
+ },
237
+ "attempts": {
238
+ "name": "attempts",
239
+ "columns": {
240
+ "id": {
241
+ "name": "id",
242
+ "type": "text",
243
+ "primaryKey": true,
244
+ "notNull": true,
245
+ "autoincrement": false
246
+ },
247
+ "task_id": {
248
+ "name": "task_id",
249
+ "type": "text",
250
+ "primaryKey": false,
251
+ "notNull": true,
252
+ "autoincrement": false
253
+ },
254
+ "prompt": {
255
+ "name": "prompt",
256
+ "type": "text",
257
+ "primaryKey": false,
258
+ "notNull": true,
259
+ "autoincrement": false
260
+ },
261
+ "display_prompt": {
262
+ "name": "display_prompt",
263
+ "type": "text",
264
+ "primaryKey": false,
265
+ "notNull": false,
266
+ "autoincrement": false
267
+ },
268
+ "status": {
269
+ "name": "status",
270
+ "type": "text",
271
+ "primaryKey": false,
272
+ "notNull": true,
273
+ "autoincrement": false,
274
+ "default": "'running'"
275
+ },
276
+ "session_id": {
277
+ "name": "session_id",
278
+ "type": "text",
279
+ "primaryKey": false,
280
+ "notNull": false,
281
+ "autoincrement": false
282
+ },
283
+ "branch": {
284
+ "name": "branch",
285
+ "type": "text",
286
+ "primaryKey": false,
287
+ "notNull": false,
288
+ "autoincrement": false
289
+ },
290
+ "diff_additions": {
291
+ "name": "diff_additions",
292
+ "type": "integer",
293
+ "primaryKey": false,
294
+ "notNull": true,
295
+ "autoincrement": false,
296
+ "default": 0
297
+ },
298
+ "diff_deletions": {
299
+ "name": "diff_deletions",
300
+ "type": "integer",
301
+ "primaryKey": false,
302
+ "notNull": true,
303
+ "autoincrement": false,
304
+ "default": 0
305
+ },
306
+ "total_tokens": {
307
+ "name": "total_tokens",
308
+ "type": "integer",
309
+ "primaryKey": false,
310
+ "notNull": true,
311
+ "autoincrement": false,
312
+ "default": 0
313
+ },
314
+ "input_tokens": {
315
+ "name": "input_tokens",
316
+ "type": "integer",
317
+ "primaryKey": false,
318
+ "notNull": true,
319
+ "autoincrement": false,
320
+ "default": 0
321
+ },
322
+ "output_tokens": {
323
+ "name": "output_tokens",
324
+ "type": "integer",
325
+ "primaryKey": false,
326
+ "notNull": true,
327
+ "autoincrement": false,
328
+ "default": 0
329
+ },
330
+ "cache_creation_tokens": {
331
+ "name": "cache_creation_tokens",
332
+ "type": "integer",
333
+ "primaryKey": false,
334
+ "notNull": true,
335
+ "autoincrement": false,
336
+ "default": 0
337
+ },
338
+ "cache_read_tokens": {
339
+ "name": "cache_read_tokens",
340
+ "type": "integer",
341
+ "primaryKey": false,
342
+ "notNull": true,
343
+ "autoincrement": false,
344
+ "default": 0
345
+ },
346
+ "total_cost_usd": {
347
+ "name": "total_cost_usd",
348
+ "type": "integer",
349
+ "primaryKey": false,
350
+ "notNull": true,
351
+ "autoincrement": false,
352
+ "default": 0
353
+ },
354
+ "num_turns": {
355
+ "name": "num_turns",
356
+ "type": "integer",
357
+ "primaryKey": false,
358
+ "notNull": true,
359
+ "autoincrement": false,
360
+ "default": 0
361
+ },
362
+ "duration_ms": {
363
+ "name": "duration_ms",
364
+ "type": "integer",
365
+ "primaryKey": false,
366
+ "notNull": true,
367
+ "autoincrement": false,
368
+ "default": 0
369
+ },
370
+ "created_at": {
371
+ "name": "created_at",
372
+ "type": "integer",
373
+ "primaryKey": false,
374
+ "notNull": true,
375
+ "autoincrement": false
376
+ },
377
+ "completed_at": {
378
+ "name": "completed_at",
379
+ "type": "integer",
380
+ "primaryKey": false,
381
+ "notNull": false,
382
+ "autoincrement": false
383
+ }
384
+ },
385
+ "indexes": {
386
+ "idx_attempts_task": {
387
+ "name": "idx_attempts_task",
388
+ "columns": [
389
+ "task_id",
390
+ "created_at"
391
+ ],
392
+ "isUnique": false
393
+ }
394
+ },
395
+ "foreignKeys": {
396
+ "attempts_task_id_tasks_id_fk": {
397
+ "name": "attempts_task_id_tasks_id_fk",
398
+ "tableFrom": "attempts",
399
+ "tableTo": "tasks",
400
+ "columnsFrom": [
401
+ "task_id"
402
+ ],
403
+ "columnsTo": [
404
+ "id"
405
+ ],
406
+ "onDelete": "cascade",
407
+ "onUpdate": "no action"
408
+ }
409
+ },
410
+ "compositePrimaryKeys": {},
411
+ "uniqueConstraints": {},
412
+ "checkConstraints": {}
413
+ },
414
+ "checkpoints": {
415
+ "name": "checkpoints",
416
+ "columns": {
417
+ "id": {
418
+ "name": "id",
419
+ "type": "text",
420
+ "primaryKey": true,
421
+ "notNull": true,
422
+ "autoincrement": false
423
+ },
424
+ "task_id": {
425
+ "name": "task_id",
426
+ "type": "text",
427
+ "primaryKey": false,
428
+ "notNull": true,
429
+ "autoincrement": false
430
+ },
431
+ "attempt_id": {
432
+ "name": "attempt_id",
433
+ "type": "text",
434
+ "primaryKey": false,
435
+ "notNull": true,
436
+ "autoincrement": false
437
+ },
438
+ "session_id": {
439
+ "name": "session_id",
440
+ "type": "text",
441
+ "primaryKey": false,
442
+ "notNull": true,
443
+ "autoincrement": false
444
+ },
445
+ "git_commit_hash": {
446
+ "name": "git_commit_hash",
447
+ "type": "text",
448
+ "primaryKey": false,
449
+ "notNull": false,
450
+ "autoincrement": false
451
+ },
452
+ "message_count": {
453
+ "name": "message_count",
454
+ "type": "integer",
455
+ "primaryKey": false,
456
+ "notNull": true,
457
+ "autoincrement": false
458
+ },
459
+ "summary": {
460
+ "name": "summary",
461
+ "type": "text",
462
+ "primaryKey": false,
463
+ "notNull": false,
464
+ "autoincrement": false
465
+ },
466
+ "created_at": {
467
+ "name": "created_at",
468
+ "type": "integer",
469
+ "primaryKey": false,
470
+ "notNull": true,
471
+ "autoincrement": false
472
+ }
473
+ },
474
+ "indexes": {
475
+ "idx_checkpoints_task": {
476
+ "name": "idx_checkpoints_task",
477
+ "columns": [
478
+ "task_id",
479
+ "created_at"
480
+ ],
481
+ "isUnique": false
482
+ }
483
+ },
484
+ "foreignKeys": {
485
+ "checkpoints_task_id_tasks_id_fk": {
486
+ "name": "checkpoints_task_id_tasks_id_fk",
487
+ "tableFrom": "checkpoints",
488
+ "tableTo": "tasks",
489
+ "columnsFrom": [
490
+ "task_id"
491
+ ],
492
+ "columnsTo": [
493
+ "id"
494
+ ],
495
+ "onDelete": "cascade",
496
+ "onUpdate": "no action"
497
+ },
498
+ "checkpoints_attempt_id_attempts_id_fk": {
499
+ "name": "checkpoints_attempt_id_attempts_id_fk",
500
+ "tableFrom": "checkpoints",
501
+ "tableTo": "attempts",
502
+ "columnsFrom": [
503
+ "attempt_id"
504
+ ],
505
+ "columnsTo": [
506
+ "id"
507
+ ],
508
+ "onDelete": "cascade",
509
+ "onUpdate": "no action"
510
+ }
511
+ },
512
+ "compositePrimaryKeys": {},
513
+ "uniqueConstraints": {},
514
+ "checkConstraints": {}
515
+ },
516
+ "plugin_dependencies": {
517
+ "name": "plugin_dependencies",
518
+ "columns": {
519
+ "id": {
520
+ "name": "id",
521
+ "type": "text",
522
+ "primaryKey": true,
523
+ "notNull": true,
524
+ "autoincrement": false
525
+ },
526
+ "plugin_id": {
527
+ "name": "plugin_id",
528
+ "type": "text",
529
+ "primaryKey": false,
530
+ "notNull": true,
531
+ "autoincrement": false
532
+ },
533
+ "dependency_type": {
534
+ "name": "dependency_type",
535
+ "type": "text",
536
+ "primaryKey": false,
537
+ "notNull": true,
538
+ "autoincrement": false
539
+ },
540
+ "spec": {
541
+ "name": "spec",
542
+ "type": "text",
543
+ "primaryKey": false,
544
+ "notNull": true,
545
+ "autoincrement": false
546
+ },
547
+ "plugin_dependency_id": {
548
+ "name": "plugin_dependency_id",
549
+ "type": "text",
550
+ "primaryKey": false,
551
+ "notNull": false,
552
+ "autoincrement": false
553
+ },
554
+ "installed": {
555
+ "name": "installed",
556
+ "type": "integer",
557
+ "primaryKey": false,
558
+ "notNull": true,
559
+ "autoincrement": false,
560
+ "default": false
561
+ },
562
+ "created_at": {
563
+ "name": "created_at",
564
+ "type": "integer",
565
+ "primaryKey": false,
566
+ "notNull": true,
567
+ "autoincrement": false
568
+ }
569
+ },
570
+ "indexes": {
571
+ "idx_plugin_deps": {
572
+ "name": "idx_plugin_deps",
573
+ "columns": [
574
+ "plugin_id"
575
+ ],
576
+ "isUnique": false
577
+ },
578
+ "idx_plugin_depends_on": {
579
+ "name": "idx_plugin_depends_on",
580
+ "columns": [
581
+ "plugin_dependency_id"
582
+ ],
583
+ "isUnique": false
584
+ }
585
+ },
586
+ "foreignKeys": {
587
+ "plugin_dependencies_plugin_id_agent_factory_plugins_id_fk": {
588
+ "name": "plugin_dependencies_plugin_id_agent_factory_plugins_id_fk",
589
+ "tableFrom": "plugin_dependencies",
590
+ "tableTo": "agent_factory_plugins",
591
+ "columnsFrom": [
592
+ "plugin_id"
593
+ ],
594
+ "columnsTo": [
595
+ "id"
596
+ ],
597
+ "onDelete": "cascade",
598
+ "onUpdate": "no action"
599
+ },
600
+ "plugin_dependencies_plugin_dependency_id_agent_factory_plugins_id_fk": {
601
+ "name": "plugin_dependencies_plugin_dependency_id_agent_factory_plugins_id_fk",
602
+ "tableFrom": "plugin_dependencies",
603
+ "tableTo": "agent_factory_plugins",
604
+ "columnsFrom": [
605
+ "plugin_dependency_id"
606
+ ],
607
+ "columnsTo": [
608
+ "id"
609
+ ],
610
+ "onDelete": "set null",
611
+ "onUpdate": "no action"
612
+ }
613
+ },
614
+ "compositePrimaryKeys": {},
615
+ "uniqueConstraints": {},
616
+ "checkConstraints": {}
617
+ },
618
+ "plugin_dependency_cache": {
619
+ "name": "plugin_dependency_cache",
620
+ "columns": {
621
+ "id": {
622
+ "name": "id",
623
+ "type": "text",
624
+ "primaryKey": true,
625
+ "notNull": true,
626
+ "autoincrement": false
627
+ },
628
+ "plugin_id": {
629
+ "name": "plugin_id",
630
+ "type": "text",
631
+ "primaryKey": false,
632
+ "notNull": false,
633
+ "autoincrement": false
634
+ },
635
+ "source_path": {
636
+ "name": "source_path",
637
+ "type": "text",
638
+ "primaryKey": false,
639
+ "notNull": false,
640
+ "autoincrement": false
641
+ },
642
+ "source_hash": {
643
+ "name": "source_hash",
644
+ "type": "text",
645
+ "primaryKey": false,
646
+ "notNull": false,
647
+ "autoincrement": false
648
+ },
649
+ "type": {
650
+ "name": "type",
651
+ "type": "text",
652
+ "primaryKey": false,
653
+ "notNull": true,
654
+ "autoincrement": false
655
+ },
656
+ "library_deps": {
657
+ "name": "library_deps",
658
+ "type": "text",
659
+ "primaryKey": false,
660
+ "notNull": false,
661
+ "autoincrement": false
662
+ },
663
+ "plugin_deps": {
664
+ "name": "plugin_deps",
665
+ "type": "text",
666
+ "primaryKey": false,
667
+ "notNull": false,
668
+ "autoincrement": false
669
+ },
670
+ "install_script_npm": {
671
+ "name": "install_script_npm",
672
+ "type": "text",
673
+ "primaryKey": false,
674
+ "notNull": false,
675
+ "autoincrement": false
676
+ },
677
+ "install_script_pnpm": {
678
+ "name": "install_script_pnpm",
679
+ "type": "text",
680
+ "primaryKey": false,
681
+ "notNull": false,
682
+ "autoincrement": false
683
+ },
684
+ "install_script_yarn": {
685
+ "name": "install_script_yarn",
686
+ "type": "text",
687
+ "primaryKey": false,
688
+ "notNull": false,
689
+ "autoincrement": false
690
+ },
691
+ "install_script_pip": {
692
+ "name": "install_script_pip",
693
+ "type": "text",
694
+ "primaryKey": false,
695
+ "notNull": false,
696
+ "autoincrement": false
697
+ },
698
+ "install_script_poetry": {
699
+ "name": "install_script_poetry",
700
+ "type": "text",
701
+ "primaryKey": false,
702
+ "notNull": false,
703
+ "autoincrement": false
704
+ },
705
+ "install_script_cargo": {
706
+ "name": "install_script_cargo",
707
+ "type": "text",
708
+ "primaryKey": false,
709
+ "notNull": false,
710
+ "autoincrement": false
711
+ },
712
+ "install_script_go": {
713
+ "name": "install_script_go",
714
+ "type": "text",
715
+ "primaryKey": false,
716
+ "notNull": false,
717
+ "autoincrement": false
718
+ },
719
+ "dockerfile": {
720
+ "name": "dockerfile",
721
+ "type": "text",
722
+ "primaryKey": false,
723
+ "notNull": false,
724
+ "autoincrement": false
725
+ },
726
+ "depth": {
727
+ "name": "depth",
728
+ "type": "integer",
729
+ "primaryKey": false,
730
+ "notNull": true,
731
+ "autoincrement": false,
732
+ "default": 0
733
+ },
734
+ "has_cycles": {
735
+ "name": "has_cycles",
736
+ "type": "integer",
737
+ "primaryKey": false,
738
+ "notNull": true,
739
+ "autoincrement": false,
740
+ "default": false
741
+ },
742
+ "resolved_at": {
743
+ "name": "resolved_at",
744
+ "type": "integer",
745
+ "primaryKey": false,
746
+ "notNull": true,
747
+ "autoincrement": false
748
+ },
749
+ "created_at": {
750
+ "name": "created_at",
751
+ "type": "integer",
752
+ "primaryKey": false,
753
+ "notNull": true,
754
+ "autoincrement": false
755
+ }
756
+ },
757
+ "indexes": {
758
+ "idx_cache_plugin": {
759
+ "name": "idx_cache_plugin",
760
+ "columns": [
761
+ "plugin_id"
762
+ ],
763
+ "isUnique": false
764
+ },
765
+ "idx_cache_source": {
766
+ "name": "idx_cache_source",
767
+ "columns": [
768
+ "source_path"
769
+ ],
770
+ "isUnique": false
771
+ }
772
+ },
773
+ "foreignKeys": {
774
+ "plugin_dependency_cache_plugin_id_agent_factory_plugins_id_fk": {
775
+ "name": "plugin_dependency_cache_plugin_id_agent_factory_plugins_id_fk",
776
+ "tableFrom": "plugin_dependency_cache",
777
+ "tableTo": "agent_factory_plugins",
778
+ "columnsFrom": [
779
+ "plugin_id"
780
+ ],
781
+ "columnsTo": [
782
+ "id"
783
+ ],
784
+ "onDelete": "cascade",
785
+ "onUpdate": "no action"
786
+ }
787
+ },
788
+ "compositePrimaryKeys": {},
789
+ "uniqueConstraints": {},
790
+ "checkConstraints": {}
791
+ },
792
+ "project_plugins": {
793
+ "name": "project_plugins",
794
+ "columns": {
795
+ "id": {
796
+ "name": "id",
797
+ "type": "text",
798
+ "primaryKey": true,
799
+ "notNull": true,
800
+ "autoincrement": false
801
+ },
802
+ "project_id": {
803
+ "name": "project_id",
804
+ "type": "text",
805
+ "primaryKey": false,
806
+ "notNull": true,
807
+ "autoincrement": false
808
+ },
809
+ "plugin_id": {
810
+ "name": "plugin_id",
811
+ "type": "text",
812
+ "primaryKey": false,
813
+ "notNull": true,
814
+ "autoincrement": false
815
+ },
816
+ "enabled": {
817
+ "name": "enabled",
818
+ "type": "integer",
819
+ "primaryKey": false,
820
+ "notNull": true,
821
+ "autoincrement": false,
822
+ "default": true
823
+ },
824
+ "created_at": {
825
+ "name": "created_at",
826
+ "type": "integer",
827
+ "primaryKey": false,
828
+ "notNull": true,
829
+ "autoincrement": false
830
+ }
831
+ },
832
+ "indexes": {
833
+ "idx_project_plugins": {
834
+ "name": "idx_project_plugins",
835
+ "columns": [
836
+ "project_id",
837
+ "plugin_id"
838
+ ],
839
+ "isUnique": false
840
+ }
841
+ },
842
+ "foreignKeys": {
843
+ "project_plugins_project_id_projects_id_fk": {
844
+ "name": "project_plugins_project_id_projects_id_fk",
845
+ "tableFrom": "project_plugins",
846
+ "tableTo": "projects",
847
+ "columnsFrom": [
848
+ "project_id"
849
+ ],
850
+ "columnsTo": [
851
+ "id"
852
+ ],
853
+ "onDelete": "cascade",
854
+ "onUpdate": "no action"
855
+ },
856
+ "project_plugins_plugin_id_agent_factory_plugins_id_fk": {
857
+ "name": "project_plugins_plugin_id_agent_factory_plugins_id_fk",
858
+ "tableFrom": "project_plugins",
859
+ "tableTo": "agent_factory_plugins",
860
+ "columnsFrom": [
861
+ "plugin_id"
862
+ ],
863
+ "columnsTo": [
864
+ "id"
865
+ ],
866
+ "onDelete": "cascade",
867
+ "onUpdate": "no action"
868
+ }
869
+ },
870
+ "compositePrimaryKeys": {},
871
+ "uniqueConstraints": {},
872
+ "checkConstraints": {}
873
+ },
874
+ "projects": {
875
+ "name": "projects",
876
+ "columns": {
877
+ "id": {
878
+ "name": "id",
879
+ "type": "text",
880
+ "primaryKey": true,
881
+ "notNull": true,
882
+ "autoincrement": false
883
+ },
884
+ "name": {
885
+ "name": "name",
886
+ "type": "text",
887
+ "primaryKey": false,
888
+ "notNull": true,
889
+ "autoincrement": false
890
+ },
891
+ "path": {
892
+ "name": "path",
893
+ "type": "text",
894
+ "primaryKey": false,
895
+ "notNull": true,
896
+ "autoincrement": false
897
+ },
898
+ "created_at": {
899
+ "name": "created_at",
900
+ "type": "integer",
901
+ "primaryKey": false,
902
+ "notNull": true,
903
+ "autoincrement": false
904
+ }
905
+ },
906
+ "indexes": {
907
+ "projects_path_unique": {
908
+ "name": "projects_path_unique",
909
+ "columns": [
910
+ "path"
911
+ ],
912
+ "isUnique": true
913
+ }
914
+ },
915
+ "foreignKeys": {},
916
+ "compositePrimaryKeys": {},
917
+ "uniqueConstraints": {},
918
+ "checkConstraints": {}
919
+ },
920
+ "shells": {
921
+ "name": "shells",
922
+ "columns": {
923
+ "id": {
924
+ "name": "id",
925
+ "type": "text",
926
+ "primaryKey": true,
927
+ "notNull": true,
928
+ "autoincrement": false
929
+ },
930
+ "project_id": {
931
+ "name": "project_id",
932
+ "type": "text",
933
+ "primaryKey": false,
934
+ "notNull": true,
935
+ "autoincrement": false
936
+ },
937
+ "attempt_id": {
938
+ "name": "attempt_id",
939
+ "type": "text",
940
+ "primaryKey": false,
941
+ "notNull": false,
942
+ "autoincrement": false
943
+ },
944
+ "command": {
945
+ "name": "command",
946
+ "type": "text",
947
+ "primaryKey": false,
948
+ "notNull": true,
949
+ "autoincrement": false
950
+ },
951
+ "cwd": {
952
+ "name": "cwd",
953
+ "type": "text",
954
+ "primaryKey": false,
955
+ "notNull": true,
956
+ "autoincrement": false
957
+ },
958
+ "pid": {
959
+ "name": "pid",
960
+ "type": "integer",
961
+ "primaryKey": false,
962
+ "notNull": false,
963
+ "autoincrement": false
964
+ },
965
+ "status": {
966
+ "name": "status",
967
+ "type": "text",
968
+ "primaryKey": false,
969
+ "notNull": true,
970
+ "autoincrement": false,
971
+ "default": "'running'"
972
+ },
973
+ "exit_code": {
974
+ "name": "exit_code",
975
+ "type": "integer",
976
+ "primaryKey": false,
977
+ "notNull": false,
978
+ "autoincrement": false
979
+ },
980
+ "exit_signal": {
981
+ "name": "exit_signal",
982
+ "type": "text",
983
+ "primaryKey": false,
984
+ "notNull": false,
985
+ "autoincrement": false
986
+ },
987
+ "created_at": {
988
+ "name": "created_at",
989
+ "type": "integer",
990
+ "primaryKey": false,
991
+ "notNull": true,
992
+ "autoincrement": false
993
+ },
994
+ "stopped_at": {
995
+ "name": "stopped_at",
996
+ "type": "integer",
997
+ "primaryKey": false,
998
+ "notNull": false,
999
+ "autoincrement": false
1000
+ }
1001
+ },
1002
+ "indexes": {
1003
+ "idx_shells_project": {
1004
+ "name": "idx_shells_project",
1005
+ "columns": [
1006
+ "project_id",
1007
+ "status"
1008
+ ],
1009
+ "isUnique": false
1010
+ }
1011
+ },
1012
+ "foreignKeys": {
1013
+ "shells_project_id_projects_id_fk": {
1014
+ "name": "shells_project_id_projects_id_fk",
1015
+ "tableFrom": "shells",
1016
+ "tableTo": "projects",
1017
+ "columnsFrom": [
1018
+ "project_id"
1019
+ ],
1020
+ "columnsTo": [
1021
+ "id"
1022
+ ],
1023
+ "onDelete": "cascade",
1024
+ "onUpdate": "no action"
1025
+ },
1026
+ "shells_attempt_id_attempts_id_fk": {
1027
+ "name": "shells_attempt_id_attempts_id_fk",
1028
+ "tableFrom": "shells",
1029
+ "tableTo": "attempts",
1030
+ "columnsFrom": [
1031
+ "attempt_id"
1032
+ ],
1033
+ "columnsTo": [
1034
+ "id"
1035
+ ],
1036
+ "onDelete": "set null",
1037
+ "onUpdate": "no action"
1038
+ }
1039
+ },
1040
+ "compositePrimaryKeys": {},
1041
+ "uniqueConstraints": {},
1042
+ "checkConstraints": {}
1043
+ },
1044
+ "tasks": {
1045
+ "name": "tasks",
1046
+ "columns": {
1047
+ "id": {
1048
+ "name": "id",
1049
+ "type": "text",
1050
+ "primaryKey": true,
1051
+ "notNull": true,
1052
+ "autoincrement": false
1053
+ },
1054
+ "project_id": {
1055
+ "name": "project_id",
1056
+ "type": "text",
1057
+ "primaryKey": false,
1058
+ "notNull": true,
1059
+ "autoincrement": false
1060
+ },
1061
+ "title": {
1062
+ "name": "title",
1063
+ "type": "text",
1064
+ "primaryKey": false,
1065
+ "notNull": true,
1066
+ "autoincrement": false
1067
+ },
1068
+ "description": {
1069
+ "name": "description",
1070
+ "type": "text",
1071
+ "primaryKey": false,
1072
+ "notNull": false,
1073
+ "autoincrement": false
1074
+ },
1075
+ "status": {
1076
+ "name": "status",
1077
+ "type": "text",
1078
+ "primaryKey": false,
1079
+ "notNull": true,
1080
+ "autoincrement": false,
1081
+ "default": "'todo'"
1082
+ },
1083
+ "position": {
1084
+ "name": "position",
1085
+ "type": "integer",
1086
+ "primaryKey": false,
1087
+ "notNull": true,
1088
+ "autoincrement": false
1089
+ },
1090
+ "chat_init": {
1091
+ "name": "chat_init",
1092
+ "type": "integer",
1093
+ "primaryKey": false,
1094
+ "notNull": true,
1095
+ "autoincrement": false,
1096
+ "default": false
1097
+ },
1098
+ "rewind_session_id": {
1099
+ "name": "rewind_session_id",
1100
+ "type": "text",
1101
+ "primaryKey": false,
1102
+ "notNull": false,
1103
+ "autoincrement": false
1104
+ },
1105
+ "rewind_message_uuid": {
1106
+ "name": "rewind_message_uuid",
1107
+ "type": "text",
1108
+ "primaryKey": false,
1109
+ "notNull": false,
1110
+ "autoincrement": false
1111
+ },
1112
+ "created_at": {
1113
+ "name": "created_at",
1114
+ "type": "integer",
1115
+ "primaryKey": false,
1116
+ "notNull": true,
1117
+ "autoincrement": false
1118
+ },
1119
+ "updated_at": {
1120
+ "name": "updated_at",
1121
+ "type": "integer",
1122
+ "primaryKey": false,
1123
+ "notNull": true,
1124
+ "autoincrement": false
1125
+ }
1126
+ },
1127
+ "indexes": {
1128
+ "idx_tasks_project": {
1129
+ "name": "idx_tasks_project",
1130
+ "columns": [
1131
+ "project_id",
1132
+ "status",
1133
+ "position"
1134
+ ],
1135
+ "isUnique": false
1136
+ }
1137
+ },
1138
+ "foreignKeys": {
1139
+ "tasks_project_id_projects_id_fk": {
1140
+ "name": "tasks_project_id_projects_id_fk",
1141
+ "tableFrom": "tasks",
1142
+ "tableTo": "projects",
1143
+ "columnsFrom": [
1144
+ "project_id"
1145
+ ],
1146
+ "columnsTo": [
1147
+ "id"
1148
+ ],
1149
+ "onDelete": "cascade",
1150
+ "onUpdate": "no action"
1151
+ }
1152
+ },
1153
+ "compositePrimaryKeys": {},
1154
+ "uniqueConstraints": {},
1155
+ "checkConstraints": {}
1156
+ }
1157
+ },
1158
+ "views": {},
1159
+ "enums": {},
1160
+ "_meta": {
1161
+ "schemas": {},
1162
+ "tables": {},
1163
+ "columns": {}
1164
+ },
1165
+ "internal": {
1166
+ "indexes": {}
1167
+ }
1168
+ }