team-anya-cli 0.1.6 → 0.1.7

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.
@@ -1,1505 +0,0 @@
1
- {
2
- "version": "6",
3
- "dialect": "sqlite",
4
- "id": "a122da2c-a60f-427f-823d-4387bc04be88",
5
- "prevId": "138794bd-72e5-4cad-8fc4-f8ced7465db2",
6
- "tables": {
7
- "audit_events": {
8
- "name": "audit_events",
9
- "columns": {
10
- "id": {
11
- "name": "id",
12
- "type": "integer",
13
- "primaryKey": true,
14
- "notNull": true,
15
- "autoincrement": true
16
- },
17
- "event_type": {
18
- "name": "event_type",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true,
22
- "autoincrement": false
23
- },
24
- "actor": {
25
- "name": "actor",
26
- "type": "text",
27
- "primaryKey": false,
28
- "notNull": true,
29
- "autoincrement": false
30
- },
31
- "task_id": {
32
- "name": "task_id",
33
- "type": "text",
34
- "primaryKey": false,
35
- "notNull": false,
36
- "autoincrement": false
37
- },
38
- "summary": {
39
- "name": "summary",
40
- "type": "text",
41
- "primaryKey": false,
42
- "notNull": true,
43
- "autoincrement": false
44
- },
45
- "detail": {
46
- "name": "detail",
47
- "type": "text",
48
- "primaryKey": false,
49
- "notNull": false,
50
- "autoincrement": false
51
- },
52
- "file_ref": {
53
- "name": "file_ref",
54
- "type": "text",
55
- "primaryKey": false,
56
- "notNull": false,
57
- "autoincrement": false
58
- },
59
- "created_at": {
60
- "name": "created_at",
61
- "type": "text",
62
- "primaryKey": false,
63
- "notNull": true,
64
- "autoincrement": false,
65
- "default": "(datetime('now'))"
66
- }
67
- },
68
- "indexes": {},
69
- "foreignKeys": {},
70
- "compositePrimaryKeys": {},
71
- "uniqueConstraints": {},
72
- "checkConstraints": {}
73
- },
74
- "cc_sessions": {
75
- "name": "cc_sessions",
76
- "columns": {
77
- "id": {
78
- "name": "id",
79
- "type": "integer",
80
- "primaryKey": true,
81
- "notNull": true,
82
- "autoincrement": true
83
- },
84
- "session_id": {
85
- "name": "session_id",
86
- "type": "text",
87
- "primaryKey": false,
88
- "notNull": true,
89
- "autoincrement": false
90
- },
91
- "role": {
92
- "name": "role",
93
- "type": "text",
94
- "primaryKey": false,
95
- "notNull": true,
96
- "autoincrement": false
97
- },
98
- "instance_id": {
99
- "name": "instance_id",
100
- "type": "text",
101
- "primaryKey": false,
102
- "notNull": false,
103
- "autoincrement": false
104
- },
105
- "task_id": {
106
- "name": "task_id",
107
- "type": "text",
108
- "primaryKey": false,
109
- "notNull": false,
110
- "autoincrement": false
111
- },
112
- "chat_id": {
113
- "name": "chat_id",
114
- "type": "text",
115
- "primaryKey": false,
116
- "notNull": false,
117
- "autoincrement": false
118
- },
119
- "project_path": {
120
- "name": "project_path",
121
- "type": "text",
122
- "primaryKey": false,
123
- "notNull": false,
124
- "autoincrement": false
125
- },
126
- "started_at": {
127
- "name": "started_at",
128
- "type": "text",
129
- "primaryKey": false,
130
- "notNull": true,
131
- "autoincrement": false,
132
- "default": "(datetime('now'))"
133
- },
134
- "ended_at": {
135
- "name": "ended_at",
136
- "type": "text",
137
- "primaryKey": false,
138
- "notNull": false,
139
- "autoincrement": false
140
- }
141
- },
142
- "indexes": {},
143
- "foreignKeys": {},
144
- "compositePrimaryKeys": {},
145
- "uniqueConstraints": {},
146
- "checkConstraints": {}
147
- },
148
- "chat_members": {
149
- "name": "chat_members",
150
- "columns": {
151
- "id": {
152
- "name": "id",
153
- "type": "integer",
154
- "primaryKey": true,
155
- "notNull": true,
156
- "autoincrement": true
157
- },
158
- "chat_id": {
159
- "name": "chat_id",
160
- "type": "text",
161
- "primaryKey": false,
162
- "notNull": true,
163
- "autoincrement": false
164
- },
165
- "member_id": {
166
- "name": "member_id",
167
- "type": "text",
168
- "primaryKey": false,
169
- "notNull": true,
170
- "autoincrement": false
171
- },
172
- "role": {
173
- "name": "role",
174
- "type": "text",
175
- "primaryKey": false,
176
- "notNull": false,
177
- "autoincrement": false,
178
- "default": "'member'"
179
- },
180
- "synced_at": {
181
- "name": "synced_at",
182
- "type": "text",
183
- "primaryKey": false,
184
- "notNull": true,
185
- "autoincrement": false,
186
- "default": "(datetime('now'))"
187
- }
188
- },
189
- "indexes": {},
190
- "foreignKeys": {
191
- "chat_members_chat_id_chats_chat_id_fk": {
192
- "name": "chat_members_chat_id_chats_chat_id_fk",
193
- "tableFrom": "chat_members",
194
- "tableTo": "chats",
195
- "columnsFrom": [
196
- "chat_id"
197
- ],
198
- "columnsTo": [
199
- "chat_id"
200
- ],
201
- "onDelete": "no action",
202
- "onUpdate": "no action"
203
- },
204
- "chat_members_member_id_org_members_member_id_fk": {
205
- "name": "chat_members_member_id_org_members_member_id_fk",
206
- "tableFrom": "chat_members",
207
- "tableTo": "org_members",
208
- "columnsFrom": [
209
- "member_id"
210
- ],
211
- "columnsTo": [
212
- "member_id"
213
- ],
214
- "onDelete": "no action",
215
- "onUpdate": "no action"
216
- }
217
- },
218
- "compositePrimaryKeys": {},
219
- "uniqueConstraints": {},
220
- "checkConstraints": {}
221
- },
222
- "chats": {
223
- "name": "chats",
224
- "columns": {
225
- "chat_id": {
226
- "name": "chat_id",
227
- "type": "text",
228
- "primaryKey": true,
229
- "notNull": true,
230
- "autoincrement": false
231
- },
232
- "platform": {
233
- "name": "platform",
234
- "type": "text",
235
- "primaryKey": false,
236
- "notNull": true,
237
- "autoincrement": false,
238
- "default": "'feishu'"
239
- },
240
- "name": {
241
- "name": "name",
242
- "type": "text",
243
- "primaryKey": false,
244
- "notNull": false,
245
- "autoincrement": false
246
- },
247
- "description": {
248
- "name": "description",
249
- "type": "text",
250
- "primaryKey": false,
251
- "notNull": false,
252
- "autoincrement": false
253
- },
254
- "avatar": {
255
- "name": "avatar",
256
- "type": "text",
257
- "primaryKey": false,
258
- "notNull": false,
259
- "autoincrement": false
260
- },
261
- "owner_id": {
262
- "name": "owner_id",
263
- "type": "text",
264
- "primaryKey": false,
265
- "notNull": false,
266
- "autoincrement": false
267
- },
268
- "chat_mode": {
269
- "name": "chat_mode",
270
- "type": "text",
271
- "primaryKey": false,
272
- "notNull": false,
273
- "autoincrement": false
274
- },
275
- "chat_type": {
276
- "name": "chat_type",
277
- "type": "text",
278
- "primaryKey": false,
279
- "notNull": false,
280
- "autoincrement": false
281
- },
282
- "chat_tag": {
283
- "name": "chat_tag",
284
- "type": "text",
285
- "primaryKey": false,
286
- "notNull": false,
287
- "autoincrement": false
288
- },
289
- "chat_status": {
290
- "name": "chat_status",
291
- "type": "text",
292
- "primaryKey": false,
293
- "notNull": false,
294
- "autoincrement": false,
295
- "default": "'normal'"
296
- },
297
- "external": {
298
- "name": "external",
299
- "type": "integer",
300
- "primaryKey": false,
301
- "notNull": false,
302
- "autoincrement": false,
303
- "default": 0
304
- },
305
- "tenant_key": {
306
- "name": "tenant_key",
307
- "type": "text",
308
- "primaryKey": false,
309
- "notNull": false,
310
- "autoincrement": false
311
- },
312
- "user_count": {
313
- "name": "user_count",
314
- "type": "integer",
315
- "primaryKey": false,
316
- "notNull": false,
317
- "autoincrement": false
318
- },
319
- "bot_count": {
320
- "name": "bot_count",
321
- "type": "integer",
322
- "primaryKey": false,
323
- "notNull": false,
324
- "autoincrement": false
325
- },
326
- "metadata": {
327
- "name": "metadata",
328
- "type": "text",
329
- "primaryKey": false,
330
- "notNull": false,
331
- "autoincrement": false
332
- },
333
- "first_seen_at": {
334
- "name": "first_seen_at",
335
- "type": "text",
336
- "primaryKey": false,
337
- "notNull": true,
338
- "autoincrement": false,
339
- "default": "(datetime('now'))"
340
- },
341
- "last_synced_at": {
342
- "name": "last_synced_at",
343
- "type": "text",
344
- "primaryKey": false,
345
- "notNull": false,
346
- "autoincrement": false
347
- },
348
- "updated_at": {
349
- "name": "updated_at",
350
- "type": "text",
351
- "primaryKey": false,
352
- "notNull": true,
353
- "autoincrement": false,
354
- "default": "(datetime('now'))"
355
- }
356
- },
357
- "indexes": {},
358
- "foreignKeys": {},
359
- "compositePrimaryKeys": {},
360
- "uniqueConstraints": {},
361
- "checkConstraints": {}
362
- },
363
- "commitments": {
364
- "name": "commitments",
365
- "columns": {
366
- "id": {
367
- "name": "id",
368
- "type": "integer",
369
- "primaryKey": true,
370
- "notNull": true,
371
- "autoincrement": true
372
- },
373
- "task_id": {
374
- "name": "task_id",
375
- "type": "text",
376
- "primaryKey": false,
377
- "notNull": true,
378
- "autoincrement": false
379
- },
380
- "promised_to": {
381
- "name": "promised_to",
382
- "type": "text",
383
- "primaryKey": false,
384
- "notNull": true,
385
- "autoincrement": false
386
- },
387
- "promise": {
388
- "name": "promise",
389
- "type": "text",
390
- "primaryKey": false,
391
- "notNull": true,
392
- "autoincrement": false
393
- },
394
- "deadline": {
395
- "name": "deadline",
396
- "type": "text",
397
- "primaryKey": false,
398
- "notNull": false,
399
- "autoincrement": false
400
- },
401
- "status": {
402
- "name": "status",
403
- "type": "text",
404
- "primaryKey": false,
405
- "notNull": true,
406
- "autoincrement": false,
407
- "default": "'active'"
408
- },
409
- "break_reason": {
410
- "name": "break_reason",
411
- "type": "text",
412
- "primaryKey": false,
413
- "notNull": false,
414
- "autoincrement": false
415
- },
416
- "promised_at": {
417
- "name": "promised_at",
418
- "type": "text",
419
- "primaryKey": false,
420
- "notNull": true,
421
- "autoincrement": false,
422
- "default": "(datetime('now'))"
423
- }
424
- },
425
- "indexes": {},
426
- "foreignKeys": {
427
- "commitments_task_id_tasks_task_id_fk": {
428
- "name": "commitments_task_id_tasks_task_id_fk",
429
- "tableFrom": "commitments",
430
- "tableTo": "tasks",
431
- "columnsFrom": [
432
- "task_id"
433
- ],
434
- "columnsTo": [
435
- "task_id"
436
- ],
437
- "onDelete": "no action",
438
- "onUpdate": "no action"
439
- }
440
- },
441
- "compositePrimaryKeys": {},
442
- "uniqueConstraints": {},
443
- "checkConstraints": {}
444
- },
445
- "communication_events": {
446
- "name": "communication_events",
447
- "columns": {
448
- "id": {
449
- "name": "id",
450
- "type": "integer",
451
- "primaryKey": true,
452
- "notNull": true,
453
- "autoincrement": true
454
- },
455
- "source_type": {
456
- "name": "source_type",
457
- "type": "text",
458
- "primaryKey": false,
459
- "notNull": true,
460
- "autoincrement": false
461
- },
462
- "source_ref": {
463
- "name": "source_ref",
464
- "type": "text",
465
- "primaryKey": false,
466
- "notNull": false,
467
- "autoincrement": false
468
- },
469
- "intent_level": {
470
- "name": "intent_level",
471
- "type": "integer",
472
- "primaryKey": false,
473
- "notNull": true,
474
- "autoincrement": false
475
- },
476
- "sender": {
477
- "name": "sender",
478
- "type": "text",
479
- "primaryKey": false,
480
- "notNull": false,
481
- "autoincrement": false
482
- },
483
- "summary": {
484
- "name": "summary",
485
- "type": "text",
486
- "primaryKey": false,
487
- "notNull": true,
488
- "autoincrement": false
489
- },
490
- "raw_content_path": {
491
- "name": "raw_content_path",
492
- "type": "text",
493
- "primaryKey": false,
494
- "notNull": false,
495
- "autoincrement": false
496
- },
497
- "opportunity_id": {
498
- "name": "opportunity_id",
499
- "type": "text",
500
- "primaryKey": false,
501
- "notNull": false,
502
- "autoincrement": false
503
- },
504
- "created_at": {
505
- "name": "created_at",
506
- "type": "text",
507
- "primaryKey": false,
508
- "notNull": true,
509
- "autoincrement": false,
510
- "default": "(datetime('now'))"
511
- }
512
- },
513
- "indexes": {},
514
- "foreignKeys": {},
515
- "compositePrimaryKeys": {},
516
- "uniqueConstraints": {},
517
- "checkConstraints": {}
518
- },
519
- "task_clarifications": {
520
- "name": "task_clarifications",
521
- "columns": {
522
- "id": {
523
- "name": "id",
524
- "type": "integer",
525
- "primaryKey": true,
526
- "notNull": true,
527
- "autoincrement": true
528
- },
529
- "task_id": {
530
- "name": "task_id",
531
- "type": "text",
532
- "primaryKey": false,
533
- "notNull": true,
534
- "autoincrement": false
535
- },
536
- "question": {
537
- "name": "question",
538
- "type": "text",
539
- "primaryKey": false,
540
- "notNull": true,
541
- "autoincrement": false
542
- },
543
- "answer": {
544
- "name": "answer",
545
- "type": "text",
546
- "primaryKey": false,
547
- "notNull": false,
548
- "autoincrement": false
549
- },
550
- "asked_by": {
551
- "name": "asked_by",
552
- "type": "text",
553
- "primaryKey": false,
554
- "notNull": true,
555
- "autoincrement": false,
556
- "default": "'loid'"
557
- },
558
- "answered_by": {
559
- "name": "answered_by",
560
- "type": "text",
561
- "primaryKey": false,
562
- "notNull": false,
563
- "autoincrement": false
564
- },
565
- "asked_at": {
566
- "name": "asked_at",
567
- "type": "text",
568
- "primaryKey": false,
569
- "notNull": true,
570
- "autoincrement": false,
571
- "default": "(datetime('now'))"
572
- },
573
- "answered_at": {
574
- "name": "answered_at",
575
- "type": "text",
576
- "primaryKey": false,
577
- "notNull": false,
578
- "autoincrement": false
579
- }
580
- },
581
- "indexes": {},
582
- "foreignKeys": {
583
- "task_clarifications_task_id_tasks_task_id_fk": {
584
- "name": "task_clarifications_task_id_tasks_task_id_fk",
585
- "tableFrom": "task_clarifications",
586
- "tableTo": "tasks",
587
- "columnsFrom": [
588
- "task_id"
589
- ],
590
- "columnsTo": [
591
- "task_id"
592
- ],
593
- "onDelete": "no action",
594
- "onUpdate": "no action"
595
- }
596
- },
597
- "compositePrimaryKeys": {},
598
- "uniqueConstraints": {},
599
- "checkConstraints": {}
600
- },
601
- "tasks": {
602
- "name": "tasks",
603
- "columns": {
604
- "task_id": {
605
- "name": "task_id",
606
- "type": "text",
607
- "primaryKey": true,
608
- "notNull": true,
609
- "autoincrement": false
610
- },
611
- "title": {
612
- "name": "title",
613
- "type": "text",
614
- "primaryKey": false,
615
- "notNull": true,
616
- "autoincrement": false
617
- },
618
- "status": {
619
- "name": "status",
620
- "type": "text",
621
- "primaryKey": false,
622
- "notNull": true,
623
- "autoincrement": false,
624
- "default": "'NEW'"
625
- },
626
- "source_type": {
627
- "name": "source_type",
628
- "type": "text",
629
- "primaryKey": false,
630
- "notNull": true,
631
- "autoincrement": false
632
- },
633
- "source_ref": {
634
- "name": "source_ref",
635
- "type": "text",
636
- "primaryKey": false,
637
- "notNull": false,
638
- "autoincrement": false
639
- },
640
- "created_by": {
641
- "name": "created_by",
642
- "type": "text",
643
- "primaryKey": false,
644
- "notNull": false,
645
- "autoincrement": false
646
- },
647
- "source_chat_id": {
648
- "name": "source_chat_id",
649
- "type": "text",
650
- "primaryKey": false,
651
- "notNull": false,
652
- "autoincrement": false
653
- },
654
- "objective": {
655
- "name": "objective",
656
- "type": "text",
657
- "primaryKey": false,
658
- "notNull": false,
659
- "autoincrement": false
660
- },
661
- "acceptance_criteria": {
662
- "name": "acceptance_criteria",
663
- "type": "text",
664
- "primaryKey": false,
665
- "notNull": false,
666
- "autoincrement": false
667
- },
668
- "context": {
669
- "name": "context",
670
- "type": "text",
671
- "primaryKey": false,
672
- "notNull": false,
673
- "autoincrement": false
674
- },
675
- "project_id": {
676
- "name": "project_id",
677
- "type": "text",
678
- "primaryKey": false,
679
- "notNull": false,
680
- "autoincrement": false
681
- },
682
- "assignee": {
683
- "name": "assignee",
684
- "type": "text",
685
- "primaryKey": false,
686
- "notNull": false,
687
- "autoincrement": false
688
- },
689
- "branch": {
690
- "name": "branch",
691
- "type": "text",
692
- "primaryKey": false,
693
- "notNull": false,
694
- "autoincrement": false
695
- },
696
- "pr_url": {
697
- "name": "pr_url",
698
- "type": "text",
699
- "primaryKey": false,
700
- "notNull": false,
701
- "autoincrement": false
702
- },
703
- "retry_count": {
704
- "name": "retry_count",
705
- "type": "integer",
706
- "primaryKey": false,
707
- "notNull": true,
708
- "autoincrement": false,
709
- "default": 0
710
- },
711
- "max_retries": {
712
- "name": "max_retries",
713
- "type": "integer",
714
- "primaryKey": false,
715
- "notNull": true,
716
- "autoincrement": false,
717
- "default": 3
718
- },
719
- "blocked_reason": {
720
- "name": "blocked_reason",
721
- "type": "text",
722
- "primaryKey": false,
723
- "notNull": false,
724
- "autoincrement": false
725
- },
726
- "blocked_since": {
727
- "name": "blocked_since",
728
- "type": "text",
729
- "primaryKey": false,
730
- "notNull": false,
731
- "autoincrement": false
732
- },
733
- "execution_guidance": {
734
- "name": "execution_guidance",
735
- "type": "text",
736
- "primaryKey": false,
737
- "notNull": false,
738
- "autoincrement": false
739
- },
740
- "cc_session_id": {
741
- "name": "cc_session_id",
742
- "type": "text",
743
- "primaryKey": false,
744
- "notNull": false,
745
- "autoincrement": false
746
- },
747
- "workspace_path": {
748
- "name": "workspace_path",
749
- "type": "text",
750
- "primaryKey": false,
751
- "notNull": false,
752
- "autoincrement": false
753
- },
754
- "created_at": {
755
- "name": "created_at",
756
- "type": "text",
757
- "primaryKey": false,
758
- "notNull": true,
759
- "autoincrement": false,
760
- "default": "(datetime('now'))"
761
- },
762
- "updated_at": {
763
- "name": "updated_at",
764
- "type": "text",
765
- "primaryKey": false,
766
- "notNull": true,
767
- "autoincrement": false,
768
- "default": "(datetime('now'))"
769
- }
770
- },
771
- "indexes": {},
772
- "foreignKeys": {},
773
- "compositePrimaryKeys": {},
774
- "uniqueConstraints": {},
775
- "checkConstraints": {}
776
- },
777
- "opportunities": {
778
- "name": "opportunities",
779
- "columns": {
780
- "id": {
781
- "name": "id",
782
- "type": "text",
783
- "primaryKey": true,
784
- "notNull": true,
785
- "autoincrement": false
786
- },
787
- "status": {
788
- "name": "status",
789
- "type": "text",
790
- "primaryKey": false,
791
- "notNull": true,
792
- "autoincrement": false,
793
- "default": "'detected'"
794
- },
795
- "source_ref": {
796
- "name": "source_ref",
797
- "type": "text",
798
- "primaryKey": false,
799
- "notNull": false,
800
- "autoincrement": false
801
- },
802
- "summary": {
803
- "name": "summary",
804
- "type": "text",
805
- "primaryKey": false,
806
- "notNull": true,
807
- "autoincrement": false
808
- },
809
- "score_impact": {
810
- "name": "score_impact",
811
- "type": "real",
812
- "primaryKey": false,
813
- "notNull": false,
814
- "autoincrement": false
815
- },
816
- "score_urgency": {
817
- "name": "score_urgency",
818
- "type": "real",
819
- "primaryKey": false,
820
- "notNull": false,
821
- "autoincrement": false
822
- },
823
- "score_feasibility": {
824
- "name": "score_feasibility",
825
- "type": "real",
826
- "primaryKey": false,
827
- "notNull": false,
828
- "autoincrement": false
829
- },
830
- "score_permission": {
831
- "name": "score_permission",
832
- "type": "real",
833
- "primaryKey": false,
834
- "notNull": false,
835
- "autoincrement": false
836
- },
837
- "total_score": {
838
- "name": "total_score",
839
- "type": "real",
840
- "primaryKey": false,
841
- "notNull": false,
842
- "autoincrement": false
843
- },
844
- "converted_task_id": {
845
- "name": "converted_task_id",
846
- "type": "text",
847
- "primaryKey": false,
848
- "notNull": false,
849
- "autoincrement": false
850
- },
851
- "detected_at": {
852
- "name": "detected_at",
853
- "type": "text",
854
- "primaryKey": false,
855
- "notNull": true,
856
- "autoincrement": false,
857
- "default": "(datetime('now'))"
858
- },
859
- "claimed_at": {
860
- "name": "claimed_at",
861
- "type": "text",
862
- "primaryKey": false,
863
- "notNull": false,
864
- "autoincrement": false
865
- }
866
- },
867
- "indexes": {},
868
- "foreignKeys": {
869
- "opportunities_converted_task_id_tasks_task_id_fk": {
870
- "name": "opportunities_converted_task_id_tasks_task_id_fk",
871
- "tableFrom": "opportunities",
872
- "tableTo": "tasks",
873
- "columnsFrom": [
874
- "converted_task_id"
875
- ],
876
- "columnsTo": [
877
- "task_id"
878
- ],
879
- "onDelete": "no action",
880
- "onUpdate": "no action"
881
- }
882
- },
883
- "compositePrimaryKeys": {},
884
- "uniqueConstraints": {},
885
- "checkConstraints": {}
886
- },
887
- "message_log": {
888
- "name": "message_log",
889
- "columns": {
890
- "id": {
891
- "name": "id",
892
- "type": "integer",
893
- "primaryKey": true,
894
- "notNull": true,
895
- "autoincrement": true
896
- },
897
- "direction": {
898
- "name": "direction",
899
- "type": "text",
900
- "primaryKey": false,
901
- "notNull": true,
902
- "autoincrement": false
903
- },
904
- "source_type": {
905
- "name": "source_type",
906
- "type": "text",
907
- "primaryKey": false,
908
- "notNull": true,
909
- "autoincrement": false
910
- },
911
- "source_ref": {
912
- "name": "source_ref",
913
- "type": "text",
914
- "primaryKey": false,
915
- "notNull": false,
916
- "autoincrement": false
917
- },
918
- "sender": {
919
- "name": "sender",
920
- "type": "text",
921
- "primaryKey": false,
922
- "notNull": false,
923
- "autoincrement": false
924
- },
925
- "receiver": {
926
- "name": "receiver",
927
- "type": "text",
928
- "primaryKey": false,
929
- "notNull": false,
930
- "autoincrement": false
931
- },
932
- "chat_id": {
933
- "name": "chat_id",
934
- "type": "text",
935
- "primaryKey": false,
936
- "notNull": false,
937
- "autoincrement": false
938
- },
939
- "chat_type": {
940
- "name": "chat_type",
941
- "type": "text",
942
- "primaryKey": false,
943
- "notNull": false,
944
- "autoincrement": false
945
- },
946
- "content": {
947
- "name": "content",
948
- "type": "text",
949
- "primaryKey": false,
950
- "notNull": true,
951
- "autoincrement": false
952
- },
953
- "message_type": {
954
- "name": "message_type",
955
- "type": "text",
956
- "primaryKey": false,
957
- "notNull": false,
958
- "autoincrement": false
959
- },
960
- "intent_level": {
961
- "name": "intent_level",
962
- "type": "integer",
963
- "primaryKey": false,
964
- "notNull": false,
965
- "autoincrement": false
966
- },
967
- "related_task_id": {
968
- "name": "related_task_id",
969
- "type": "text",
970
- "primaryKey": false,
971
- "notNull": false,
972
- "autoincrement": false
973
- },
974
- "metadata": {
975
- "name": "metadata",
976
- "type": "text",
977
- "primaryKey": false,
978
- "notNull": false,
979
- "autoincrement": false
980
- },
981
- "trace_id": {
982
- "name": "trace_id",
983
- "type": "text",
984
- "primaryKey": false,
985
- "notNull": false,
986
- "autoincrement": false
987
- },
988
- "created_at": {
989
- "name": "created_at",
990
- "type": "text",
991
- "primaryKey": false,
992
- "notNull": true,
993
- "autoincrement": false,
994
- "default": "(datetime('now'))"
995
- }
996
- },
997
- "indexes": {},
998
- "foreignKeys": {},
999
- "compositePrimaryKeys": {},
1000
- "uniqueConstraints": {},
1001
- "checkConstraints": {}
1002
- },
1003
- "org_escalation_rules": {
1004
- "name": "org_escalation_rules",
1005
- "columns": {
1006
- "id": {
1007
- "name": "id",
1008
- "type": "integer",
1009
- "primaryKey": true,
1010
- "notNull": true,
1011
- "autoincrement": true
1012
- },
1013
- "scope": {
1014
- "name": "scope",
1015
- "type": "text",
1016
- "primaryKey": false,
1017
- "notNull": true,
1018
- "autoincrement": false,
1019
- "default": "'global'"
1020
- },
1021
- "after_minutes": {
1022
- "name": "after_minutes",
1023
- "type": "integer",
1024
- "primaryKey": false,
1025
- "notNull": true,
1026
- "autoincrement": false
1027
- },
1028
- "action": {
1029
- "name": "action",
1030
- "type": "text",
1031
- "primaryKey": false,
1032
- "notNull": true,
1033
- "autoincrement": false
1034
- },
1035
- "targets": {
1036
- "name": "targets",
1037
- "type": "text",
1038
- "primaryKey": false,
1039
- "notNull": true,
1040
- "autoincrement": false
1041
- }
1042
- },
1043
- "indexes": {},
1044
- "foreignKeys": {},
1045
- "compositePrimaryKeys": {},
1046
- "uniqueConstraints": {},
1047
- "checkConstraints": {}
1048
- },
1049
- "org_members": {
1050
- "name": "org_members",
1051
- "columns": {
1052
- "member_id": {
1053
- "name": "member_id",
1054
- "type": "text",
1055
- "primaryKey": true,
1056
- "notNull": true,
1057
- "autoincrement": false
1058
- },
1059
- "name": {
1060
- "name": "name",
1061
- "type": "text",
1062
- "primaryKey": false,
1063
- "notNull": true,
1064
- "autoincrement": false
1065
- },
1066
- "role": {
1067
- "name": "role",
1068
- "type": "text",
1069
- "primaryKey": false,
1070
- "notNull": false,
1071
- "autoincrement": false
1072
- },
1073
- "team": {
1074
- "name": "team",
1075
- "type": "text",
1076
- "primaryKey": false,
1077
- "notNull": false,
1078
- "autoincrement": false
1079
- },
1080
- "timezone": {
1081
- "name": "timezone",
1082
- "type": "text",
1083
- "primaryKey": false,
1084
- "notNull": false,
1085
- "autoincrement": false
1086
- },
1087
- "profile_path": {
1088
- "name": "profile_path",
1089
- "type": "text",
1090
- "primaryKey": false,
1091
- "notNull": false,
1092
- "autoincrement": false
1093
- },
1094
- "response_pattern": {
1095
- "name": "response_pattern",
1096
- "type": "text",
1097
- "primaryKey": false,
1098
- "notNull": false,
1099
- "autoincrement": false
1100
- },
1101
- "platform": {
1102
- "name": "platform",
1103
- "type": "text",
1104
- "primaryKey": false,
1105
- "notNull": false,
1106
- "autoincrement": false,
1107
- "default": "'feishu'"
1108
- },
1109
- "union_id": {
1110
- "name": "union_id",
1111
- "type": "text",
1112
- "primaryKey": false,
1113
- "notNull": false,
1114
- "autoincrement": false
1115
- },
1116
- "user_id": {
1117
- "name": "user_id",
1118
- "type": "text",
1119
- "primaryKey": false,
1120
- "notNull": false,
1121
- "autoincrement": false
1122
- },
1123
- "en_name": {
1124
- "name": "en_name",
1125
- "type": "text",
1126
- "primaryKey": false,
1127
- "notNull": false,
1128
- "autoincrement": false
1129
- },
1130
- "email": {
1131
- "name": "email",
1132
- "type": "text",
1133
- "primaryKey": false,
1134
- "notNull": false,
1135
- "autoincrement": false
1136
- },
1137
- "employee_no": {
1138
- "name": "employee_no",
1139
- "type": "text",
1140
- "primaryKey": false,
1141
- "notNull": false,
1142
- "autoincrement": false
1143
- },
1144
- "avatar_url": {
1145
- "name": "avatar_url",
1146
- "type": "text",
1147
- "primaryKey": false,
1148
- "notNull": false,
1149
- "autoincrement": false
1150
- },
1151
- "metadata": {
1152
- "name": "metadata",
1153
- "type": "text",
1154
- "primaryKey": false,
1155
- "notNull": false,
1156
- "autoincrement": false
1157
- },
1158
- "last_synced_at": {
1159
- "name": "last_synced_at",
1160
- "type": "text",
1161
- "primaryKey": false,
1162
- "notNull": false,
1163
- "autoincrement": false
1164
- },
1165
- "updated_at": {
1166
- "name": "updated_at",
1167
- "type": "text",
1168
- "primaryKey": false,
1169
- "notNull": true,
1170
- "autoincrement": false,
1171
- "default": "(datetime('now'))"
1172
- }
1173
- },
1174
- "indexes": {},
1175
- "foreignKeys": {},
1176
- "compositePrimaryKeys": {},
1177
- "uniqueConstraints": {},
1178
- "checkConstraints": {}
1179
- },
1180
- "org_ownership": {
1181
- "name": "org_ownership",
1182
- "columns": {
1183
- "id": {
1184
- "name": "id",
1185
- "type": "integer",
1186
- "primaryKey": true,
1187
- "notNull": true,
1188
- "autoincrement": true
1189
- },
1190
- "scope": {
1191
- "name": "scope",
1192
- "type": "text",
1193
- "primaryKey": false,
1194
- "notNull": true,
1195
- "autoincrement": false
1196
- },
1197
- "target": {
1198
- "name": "target",
1199
- "type": "text",
1200
- "primaryKey": false,
1201
- "notNull": true,
1202
- "autoincrement": false
1203
- },
1204
- "member_id": {
1205
- "name": "member_id",
1206
- "type": "text",
1207
- "primaryKey": false,
1208
- "notNull": true,
1209
- "autoincrement": false
1210
- },
1211
- "role": {
1212
- "name": "role",
1213
- "type": "text",
1214
- "primaryKey": false,
1215
- "notNull": true,
1216
- "autoincrement": false,
1217
- "default": "'owner'"
1218
- }
1219
- },
1220
- "indexes": {},
1221
- "foreignKeys": {
1222
- "org_ownership_member_id_org_members_member_id_fk": {
1223
- "name": "org_ownership_member_id_org_members_member_id_fk",
1224
- "tableFrom": "org_ownership",
1225
- "tableTo": "org_members",
1226
- "columnsFrom": [
1227
- "member_id"
1228
- ],
1229
- "columnsTo": [
1230
- "member_id"
1231
- ],
1232
- "onDelete": "no action",
1233
- "onUpdate": "no action"
1234
- }
1235
- },
1236
- "compositePrimaryKeys": {},
1237
- "uniqueConstraints": {},
1238
- "checkConstraints": {}
1239
- },
1240
- "trace_spans": {
1241
- "name": "trace_spans",
1242
- "columns": {
1243
- "id": {
1244
- "name": "id",
1245
- "type": "integer",
1246
- "primaryKey": true,
1247
- "notNull": true,
1248
- "autoincrement": true
1249
- },
1250
- "trace_id": {
1251
- "name": "trace_id",
1252
- "type": "text",
1253
- "primaryKey": false,
1254
- "notNull": true,
1255
- "autoincrement": false
1256
- },
1257
- "span_id": {
1258
- "name": "span_id",
1259
- "type": "text",
1260
- "primaryKey": false,
1261
- "notNull": true,
1262
- "autoincrement": false
1263
- },
1264
- "parent_span_id": {
1265
- "name": "parent_span_id",
1266
- "type": "text",
1267
- "primaryKey": false,
1268
- "notNull": false,
1269
- "autoincrement": false
1270
- },
1271
- "operation": {
1272
- "name": "operation",
1273
- "type": "text",
1274
- "primaryKey": false,
1275
- "notNull": true,
1276
- "autoincrement": false
1277
- },
1278
- "status": {
1279
- "name": "status",
1280
- "type": "text",
1281
- "primaryKey": false,
1282
- "notNull": true,
1283
- "autoincrement": false,
1284
- "default": "'in_progress'"
1285
- },
1286
- "started_at": {
1287
- "name": "started_at",
1288
- "type": "text",
1289
- "primaryKey": false,
1290
- "notNull": true,
1291
- "autoincrement": false
1292
- },
1293
- "ended_at": {
1294
- "name": "ended_at",
1295
- "type": "text",
1296
- "primaryKey": false,
1297
- "notNull": false,
1298
- "autoincrement": false
1299
- },
1300
- "duration_ms": {
1301
- "name": "duration_ms",
1302
- "type": "real",
1303
- "primaryKey": false,
1304
- "notNull": false,
1305
- "autoincrement": false
1306
- },
1307
- "input": {
1308
- "name": "input",
1309
- "type": "text",
1310
- "primaryKey": false,
1311
- "notNull": false,
1312
- "autoincrement": false
1313
- },
1314
- "output": {
1315
- "name": "output",
1316
- "type": "text",
1317
- "primaryKey": false,
1318
- "notNull": false,
1319
- "autoincrement": false
1320
- },
1321
- "error": {
1322
- "name": "error",
1323
- "type": "text",
1324
- "primaryKey": false,
1325
- "notNull": false,
1326
- "autoincrement": false
1327
- },
1328
- "metadata": {
1329
- "name": "metadata",
1330
- "type": "text",
1331
- "primaryKey": false,
1332
- "notNull": false,
1333
- "autoincrement": false
1334
- },
1335
- "created_at": {
1336
- "name": "created_at",
1337
- "type": "text",
1338
- "primaryKey": false,
1339
- "notNull": true,
1340
- "autoincrement": false,
1341
- "default": "(datetime('now'))"
1342
- }
1343
- },
1344
- "indexes": {},
1345
- "foreignKeys": {},
1346
- "compositePrimaryKeys": {},
1347
- "uniqueConstraints": {},
1348
- "checkConstraints": {}
1349
- },
1350
- "project_repos": {
1351
- "name": "project_repos",
1352
- "columns": {
1353
- "id": {
1354
- "name": "id",
1355
- "type": "integer",
1356
- "primaryKey": true,
1357
- "notNull": true,
1358
- "autoincrement": true
1359
- },
1360
- "project_id": {
1361
- "name": "project_id",
1362
- "type": "text",
1363
- "primaryKey": false,
1364
- "notNull": true,
1365
- "autoincrement": false
1366
- },
1367
- "name": {
1368
- "name": "name",
1369
- "type": "text",
1370
- "primaryKey": false,
1371
- "notNull": true,
1372
- "autoincrement": false
1373
- },
1374
- "git_url": {
1375
- "name": "git_url",
1376
- "type": "text",
1377
- "primaryKey": false,
1378
- "notNull": false,
1379
- "autoincrement": false
1380
- },
1381
- "repo_path": {
1382
- "name": "repo_path",
1383
- "type": "text",
1384
- "primaryKey": false,
1385
- "notNull": false,
1386
- "autoincrement": false
1387
- },
1388
- "default_branch": {
1389
- "name": "default_branch",
1390
- "type": "text",
1391
- "primaryKey": false,
1392
- "notNull": false,
1393
- "autoincrement": false,
1394
- "default": "'main'"
1395
- },
1396
- "created_at": {
1397
- "name": "created_at",
1398
- "type": "text",
1399
- "primaryKey": false,
1400
- "notNull": true,
1401
- "autoincrement": false,
1402
- "default": "(datetime('now'))"
1403
- }
1404
- },
1405
- "indexes": {},
1406
- "foreignKeys": {
1407
- "project_repos_project_id_projects_project_id_fk": {
1408
- "name": "project_repos_project_id_projects_project_id_fk",
1409
- "tableFrom": "project_repos",
1410
- "tableTo": "projects",
1411
- "columnsFrom": [
1412
- "project_id"
1413
- ],
1414
- "columnsTo": [
1415
- "project_id"
1416
- ],
1417
- "onDelete": "no action",
1418
- "onUpdate": "no action"
1419
- }
1420
- },
1421
- "compositePrimaryKeys": {},
1422
- "uniqueConstraints": {},
1423
- "checkConstraints": {}
1424
- },
1425
- "projects": {
1426
- "name": "projects",
1427
- "columns": {
1428
- "project_id": {
1429
- "name": "project_id",
1430
- "type": "text",
1431
- "primaryKey": true,
1432
- "notNull": true,
1433
- "autoincrement": false
1434
- },
1435
- "name": {
1436
- "name": "name",
1437
- "type": "text",
1438
- "primaryKey": false,
1439
- "notNull": true,
1440
- "autoincrement": false
1441
- },
1442
- "description": {
1443
- "name": "description",
1444
- "type": "text",
1445
- "primaryKey": false,
1446
- "notNull": false,
1447
- "autoincrement": false
1448
- },
1449
- "platform": {
1450
- "name": "platform",
1451
- "type": "text",
1452
- "primaryKey": false,
1453
- "notNull": false,
1454
- "autoincrement": false,
1455
- "default": "'github'"
1456
- },
1457
- "claude_md": {
1458
- "name": "claude_md",
1459
- "type": "text",
1460
- "primaryKey": false,
1461
- "notNull": false,
1462
- "autoincrement": false
1463
- },
1464
- "created_at": {
1465
- "name": "created_at",
1466
- "type": "text",
1467
- "primaryKey": false,
1468
- "notNull": true,
1469
- "autoincrement": false,
1470
- "default": "(datetime('now'))"
1471
- },
1472
- "updated_at": {
1473
- "name": "updated_at",
1474
- "type": "text",
1475
- "primaryKey": false,
1476
- "notNull": true,
1477
- "autoincrement": false,
1478
- "default": "(datetime('now'))"
1479
- },
1480
- "deleted_at": {
1481
- "name": "deleted_at",
1482
- "type": "text",
1483
- "primaryKey": false,
1484
- "notNull": false,
1485
- "autoincrement": false
1486
- }
1487
- },
1488
- "indexes": {},
1489
- "foreignKeys": {},
1490
- "compositePrimaryKeys": {},
1491
- "uniqueConstraints": {},
1492
- "checkConstraints": {}
1493
- }
1494
- },
1495
- "views": {},
1496
- "enums": {},
1497
- "_meta": {
1498
- "schemas": {},
1499
- "tables": {},
1500
- "columns": {}
1501
- },
1502
- "internal": {
1503
- "indexes": {}
1504
- }
1505
- }