@assistkick/create 1.31.0 → 1.33.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.
Files changed (65) hide show
  1. package/package.json +1 -1
  2. package/templates/assistkick-product-system/package.json +3 -1
  3. package/templates/assistkick-product-system/packages/frontend/src/components/GraphLegend.tsx +10 -3
  4. package/templates/assistkick-product-system/packages/frontend/src/constants/graph.ts +8 -1
  5. package/templates/assistkick-product-system/packages/shared/db/migrate.ts +174 -3
  6. package/templates/assistkick-product-system/packages/shared/db/migrations/0003_solid_manta.sql +1 -0
  7. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0003_snapshot.json +992 -18
  8. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/_journal.json +7 -0
  9. package/templates/assistkick-product-system/packages/shared/db/schema.ts +1 -0
  10. package/templates/assistkick-product-system/packages/shared/lib/constants.ts +12 -0
  11. package/templates/assistkick-product-system/packages/shared/lib/embedding_service.test.ts +75 -0
  12. package/templates/assistkick-product-system/packages/shared/lib/embedding_service.ts +100 -0
  13. package/templates/assistkick-product-system/packages/shared/lib/relevance_search.ts +50 -38
  14. package/templates/assistkick-product-system/packages/shared/package.json +1 -0
  15. package/templates/assistkick-product-system/packages/shared/tools/add_node.ts +11 -3
  16. package/templates/assistkick-product-system/packages/shared/tools/delete_note.ts +50 -0
  17. package/templates/assistkick-product-system/packages/shared/tools/save_note.ts +79 -0
  18. package/templates/assistkick-product-system/packages/shared/tools/search_nodes.ts +6 -1
  19. package/templates/assistkick-product-system/packages/shared/tools/search_notes.ts +99 -0
  20. package/templates/assistkick-product-system/packages/shared/tools/update_node.ts +15 -0
  21. package/templates/assistkick-product-system/packages/shared/db/migrations/0000_dashing_gorgon.sql +0 -128
  22. package/templates/assistkick-product-system/packages/shared/db/migrations/0001_vengeful_wallop.sql +0 -1
  23. package/templates/assistkick-product-system/packages/shared/db/migrations/0002_greedy_excalibur.sql +0 -4
  24. package/templates/assistkick-product-system/packages/shared/db/migrations/0003_lonely_cyclops.sql +0 -17
  25. package/templates/assistkick-product-system/packages/shared/db/migrations/0004_tidy_matthew_murdock.sql +0 -9
  26. package/templates/assistkick-product-system/packages/shared/db/migrations/0005_mysterious_falcon.sql +0 -692
  27. package/templates/assistkick-product-system/packages/shared/db/migrations/0006_next_venom.sql +0 -9
  28. package/templates/assistkick-product-system/packages/shared/db/migrations/0007_deep_barracuda.sql +0 -39
  29. package/templates/assistkick-product-system/packages/shared/db/migrations/0008_puzzling_hannibal_king.sql +0 -1
  30. package/templates/assistkick-product-system/packages/shared/db/migrations/0009_amused_beast.sql +0 -8
  31. package/templates/assistkick-product-system/packages/shared/db/migrations/0010_spotty_moira_mactaggert.sql +0 -9
  32. package/templates/assistkick-product-system/packages/shared/db/migrations/0011_goofy_snowbird.sql +0 -3
  33. package/templates/assistkick-product-system/packages/shared/db/migrations/0011_supreme_doctor_octopus.sql +0 -3
  34. package/templates/assistkick-product-system/packages/shared/db/migrations/0013_reflective_prowler.sql +0 -15
  35. package/templates/assistkick-product-system/packages/shared/db/migrations/0014_nifty_punisher.sql +0 -15
  36. package/templates/assistkick-product-system/packages/shared/db/migrations/0015_magenta_jazinda.sql +0 -1
  37. package/templates/assistkick-product-system/packages/shared/db/migrations/0016_giant_xorn.sql +0 -1
  38. package/templates/assistkick-product-system/packages/shared/db/migrations/0017_sloppy_mentor.sql +0 -6
  39. package/templates/assistkick-product-system/packages/shared/db/migrations/0018_vengeful_kabuki.sql +0 -9
  40. package/templates/assistkick-product-system/packages/shared/db/migrations/0019_careful_sentinels.sql +0 -8
  41. package/templates/assistkick-product-system/packages/shared/db/migrations/0020_clever_spot.sql +0 -27
  42. package/templates/assistkick-product-system/packages/shared/db/migrations/0021_graceful_hex.sql +0 -1
  43. package/templates/assistkick-product-system/packages/shared/db/migrations/0022_short_kingpin.sql +0 -1
  44. package/templates/assistkick-product-system/packages/shared/db/migrations/0023_ambiguous_sharon_carter.sql +0 -1
  45. package/templates/assistkick-product-system/packages/shared/db/migrations/0024_fat_unus.sql +0 -1
  46. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0004_snapshot.json +0 -921
  47. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0005_snapshot.json +0 -1042
  48. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0006_snapshot.json +0 -1101
  49. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0007_snapshot.json +0 -1336
  50. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0008_snapshot.json +0 -1275
  51. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0009_snapshot.json +0 -1327
  52. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0010_snapshot.json +0 -1393
  53. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0011_snapshot.json +0 -1436
  54. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0013_snapshot.json +0 -1538
  55. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0014_snapshot.json +0 -1545
  56. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0015_snapshot.json +0 -1552
  57. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0016_snapshot.json +0 -1560
  58. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0017_snapshot.json +0 -1598
  59. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0018_snapshot.json +0 -1657
  60. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0019_snapshot.json +0 -1709
  61. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0020_snapshot.json +0 -1733
  62. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0021_snapshot.json +0 -1740
  63. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0022_snapshot.json +0 -1755
  64. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0023_snapshot.json +0 -1762
  65. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0024_snapshot.json +0 -1769
@@ -1,9 +1,263 @@
1
1
  {
2
2
  "version": "6",
3
3
  "dialect": "sqlite",
4
- "id": "2e6f2cd3-e5a5-4a76-8ec4-58542d227370",
5
- "prevId": "fc7b29f6-601b-4577-a78e-69ce32763e2d",
4
+ "id": "2044c547-83ca-49e7-8c96-23d2bfe87b58",
5
+ "prevId": "70d92eec-57e3-4938-85c4-d9667be63dde",
6
6
  "tables": {
7
+ "agents": {
8
+ "name": "agents",
9
+ "columns": {
10
+ "id": {
11
+ "name": "id",
12
+ "type": "text",
13
+ "primaryKey": true,
14
+ "notNull": true,
15
+ "autoincrement": false
16
+ },
17
+ "name": {
18
+ "name": "name",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true,
22
+ "autoincrement": false
23
+ },
24
+ "model": {
25
+ "name": "model",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false,
30
+ "default": "'claude-opus-4-6'"
31
+ },
32
+ "skills": {
33
+ "name": "skills",
34
+ "type": "text",
35
+ "primaryKey": false,
36
+ "notNull": true,
37
+ "autoincrement": false,
38
+ "default": "'[]'"
39
+ },
40
+ "grounding": {
41
+ "name": "grounding",
42
+ "type": "text",
43
+ "primaryKey": false,
44
+ "notNull": true,
45
+ "autoincrement": false,
46
+ "default": "''"
47
+ },
48
+ "default_grounding": {
49
+ "name": "default_grounding",
50
+ "type": "text",
51
+ "primaryKey": false,
52
+ "notNull": false,
53
+ "autoincrement": false
54
+ },
55
+ "project_id": {
56
+ "name": "project_id",
57
+ "type": "text",
58
+ "primaryKey": false,
59
+ "notNull": false,
60
+ "autoincrement": false
61
+ },
62
+ "is_default": {
63
+ "name": "is_default",
64
+ "type": "integer",
65
+ "primaryKey": false,
66
+ "notNull": true,
67
+ "autoincrement": false,
68
+ "default": 0
69
+ },
70
+ "created_at": {
71
+ "name": "created_at",
72
+ "type": "text",
73
+ "primaryKey": false,
74
+ "notNull": true,
75
+ "autoincrement": false
76
+ },
77
+ "updated_at": {
78
+ "name": "updated_at",
79
+ "type": "text",
80
+ "primaryKey": false,
81
+ "notNull": true,
82
+ "autoincrement": false
83
+ }
84
+ },
85
+ "indexes": {},
86
+ "foreignKeys": {},
87
+ "compositePrimaryKeys": {},
88
+ "uniqueConstraints": {},
89
+ "checkConstraints": {}
90
+ },
91
+ "chat_messages": {
92
+ "name": "chat_messages",
93
+ "columns": {
94
+ "id": {
95
+ "name": "id",
96
+ "type": "text",
97
+ "primaryKey": true,
98
+ "notNull": true,
99
+ "autoincrement": false
100
+ },
101
+ "session_id": {
102
+ "name": "session_id",
103
+ "type": "text",
104
+ "primaryKey": false,
105
+ "notNull": true,
106
+ "autoincrement": false
107
+ },
108
+ "role": {
109
+ "name": "role",
110
+ "type": "text",
111
+ "primaryKey": false,
112
+ "notNull": true,
113
+ "autoincrement": false
114
+ },
115
+ "content": {
116
+ "name": "content",
117
+ "type": "text",
118
+ "primaryKey": false,
119
+ "notNull": true,
120
+ "autoincrement": false
121
+ },
122
+ "order_index": {
123
+ "name": "order_index",
124
+ "type": "integer",
125
+ "primaryKey": false,
126
+ "notNull": true,
127
+ "autoincrement": false
128
+ },
129
+ "created_at": {
130
+ "name": "created_at",
131
+ "type": "text",
132
+ "primaryKey": false,
133
+ "notNull": true,
134
+ "autoincrement": false
135
+ }
136
+ },
137
+ "indexes": {},
138
+ "foreignKeys": {},
139
+ "compositePrimaryKeys": {},
140
+ "uniqueConstraints": {},
141
+ "checkConstraints": {}
142
+ },
143
+ "chat_permission_rules": {
144
+ "name": "chat_permission_rules",
145
+ "columns": {
146
+ "id": {
147
+ "name": "id",
148
+ "type": "text",
149
+ "primaryKey": true,
150
+ "notNull": true,
151
+ "autoincrement": false
152
+ },
153
+ "project_id": {
154
+ "name": "project_id",
155
+ "type": "text",
156
+ "primaryKey": false,
157
+ "notNull": true,
158
+ "autoincrement": false
159
+ },
160
+ "tool_name": {
161
+ "name": "tool_name",
162
+ "type": "text",
163
+ "primaryKey": false,
164
+ "notNull": true,
165
+ "autoincrement": false
166
+ },
167
+ "created_at": {
168
+ "name": "created_at",
169
+ "type": "text",
170
+ "primaryKey": false,
171
+ "notNull": true,
172
+ "autoincrement": false
173
+ }
174
+ },
175
+ "indexes": {},
176
+ "foreignKeys": {},
177
+ "compositePrimaryKeys": {},
178
+ "uniqueConstraints": {},
179
+ "checkConstraints": {}
180
+ },
181
+ "chat_sessions": {
182
+ "name": "chat_sessions",
183
+ "columns": {
184
+ "id": {
185
+ "name": "id",
186
+ "type": "text",
187
+ "primaryKey": true,
188
+ "notNull": true,
189
+ "autoincrement": false
190
+ },
191
+ "claude_session_id": {
192
+ "name": "claude_session_id",
193
+ "type": "text",
194
+ "primaryKey": false,
195
+ "notNull": true,
196
+ "autoincrement": false
197
+ },
198
+ "project_id": {
199
+ "name": "project_id",
200
+ "type": "text",
201
+ "primaryKey": false,
202
+ "notNull": true,
203
+ "autoincrement": false
204
+ },
205
+ "name": {
206
+ "name": "name",
207
+ "type": "text",
208
+ "primaryKey": false,
209
+ "notNull": true,
210
+ "autoincrement": false
211
+ },
212
+ "permission_mode": {
213
+ "name": "permission_mode",
214
+ "type": "text",
215
+ "primaryKey": false,
216
+ "notNull": false,
217
+ "autoincrement": false
218
+ },
219
+ "continuation_context": {
220
+ "name": "continuation_context",
221
+ "type": "text",
222
+ "primaryKey": false,
223
+ "notNull": false,
224
+ "autoincrement": false
225
+ },
226
+ "system_prompt": {
227
+ "name": "system_prompt",
228
+ "type": "text",
229
+ "primaryKey": false,
230
+ "notNull": false,
231
+ "autoincrement": false
232
+ },
233
+ "context_usage_json": {
234
+ "name": "context_usage_json",
235
+ "type": "text",
236
+ "primaryKey": false,
237
+ "notNull": false,
238
+ "autoincrement": false
239
+ },
240
+ "created_at": {
241
+ "name": "created_at",
242
+ "type": "text",
243
+ "primaryKey": false,
244
+ "notNull": true,
245
+ "autoincrement": false
246
+ },
247
+ "updated_at": {
248
+ "name": "updated_at",
249
+ "type": "text",
250
+ "primaryKey": false,
251
+ "notNull": true,
252
+ "autoincrement": false
253
+ }
254
+ },
255
+ "indexes": {},
256
+ "foreignKeys": {},
257
+ "compositePrimaryKeys": {},
258
+ "uniqueConstraints": {},
259
+ "checkConstraints": {}
260
+ },
7
261
  "coherence_reviews": {
8
262
  "name": "coherence_reviews",
9
263
  "columns": {
@@ -359,6 +613,13 @@
359
613
  "notNull": false,
360
614
  "autoincrement": false
361
615
  },
616
+ "feature_type": {
617
+ "name": "feature_type",
618
+ "type": "text",
619
+ "primaryKey": false,
620
+ "notNull": false,
621
+ "autoincrement": false
622
+ },
362
623
  "created_at": {
363
624
  "name": "created_at",
364
625
  "type": "text",
@@ -386,6 +647,13 @@
386
647
  "primaryKey": false,
387
648
  "notNull": false,
388
649
  "autoincrement": false
650
+ },
651
+ "embedding": {
652
+ "name": "embedding",
653
+ "type": "text",
654
+ "primaryKey": false,
655
+ "notNull": false,
656
+ "autoincrement": false
389
657
  }
390
658
  },
391
659
  "indexes": {},
@@ -460,18 +728,25 @@
460
728
  "uniqueConstraints": {},
461
729
  "checkConstraints": {}
462
730
  },
463
- "pipeline_state": {
464
- "name": "pipeline_state",
731
+ "pipeline_outputs": {
732
+ "name": "pipeline_outputs",
465
733
  "columns": {
734
+ "id": {
735
+ "name": "id",
736
+ "type": "text",
737
+ "primaryKey": true,
738
+ "notNull": true,
739
+ "autoincrement": false
740
+ },
466
741
  "feature_id": {
467
742
  "name": "feature_id",
468
743
  "type": "text",
469
- "primaryKey": true,
744
+ "primaryKey": false,
470
745
  "notNull": true,
471
746
  "autoincrement": false
472
747
  },
473
- "status": {
474
- "name": "status",
748
+ "stage": {
749
+ "name": "stage",
475
750
  "type": "text",
476
751
  "primaryKey": false,
477
752
  "notNull": true,
@@ -482,26 +757,78 @@
482
757
  "type": "integer",
483
758
  "primaryKey": false,
484
759
  "notNull": true,
485
- "autoincrement": false,
486
- "default": 1
760
+ "autoincrement": false
487
761
  },
488
- "tasks_json": {
489
- "name": "tasks_json",
762
+ "output": {
763
+ "name": "output",
490
764
  "type": "text",
491
765
  "primaryKey": false,
492
- "notNull": false,
766
+ "notNull": true,
493
767
  "autoincrement": false
494
768
  },
495
- "tool_calls_json": {
496
- "name": "tool_calls_json",
769
+ "created_at": {
770
+ "name": "created_at",
497
771
  "type": "text",
498
772
  "primaryKey": false,
499
- "notNull": false,
773
+ "notNull": true,
500
774
  "autoincrement": false
501
775
  },
502
- "work_summaries_json": {
503
- "name": "work_summaries_json",
504
- "type": "text",
776
+ "project_id": {
777
+ "name": "project_id",
778
+ "type": "text",
779
+ "primaryKey": false,
780
+ "notNull": false,
781
+ "autoincrement": false
782
+ }
783
+ },
784
+ "indexes": {},
785
+ "foreignKeys": {},
786
+ "compositePrimaryKeys": {},
787
+ "uniqueConstraints": {},
788
+ "checkConstraints": {}
789
+ },
790
+ "pipeline_state": {
791
+ "name": "pipeline_state",
792
+ "columns": {
793
+ "feature_id": {
794
+ "name": "feature_id",
795
+ "type": "text",
796
+ "primaryKey": true,
797
+ "notNull": true,
798
+ "autoincrement": false
799
+ },
800
+ "status": {
801
+ "name": "status",
802
+ "type": "text",
803
+ "primaryKey": false,
804
+ "notNull": true,
805
+ "autoincrement": false
806
+ },
807
+ "cycle": {
808
+ "name": "cycle",
809
+ "type": "integer",
810
+ "primaryKey": false,
811
+ "notNull": true,
812
+ "autoincrement": false,
813
+ "default": 1
814
+ },
815
+ "tasks_json": {
816
+ "name": "tasks_json",
817
+ "type": "text",
818
+ "primaryKey": false,
819
+ "notNull": false,
820
+ "autoincrement": false
821
+ },
822
+ "tool_calls_json": {
823
+ "name": "tool_calls_json",
824
+ "type": "text",
825
+ "primaryKey": false,
826
+ "notNull": false,
827
+ "autoincrement": false
828
+ },
829
+ "work_summaries_json": {
830
+ "name": "work_summaries_json",
831
+ "type": "text",
505
832
  "primaryKey": false,
506
833
  "notNull": false,
507
834
  "autoincrement": false
@@ -558,6 +885,14 @@
558
885
  "notNull": true,
559
886
  "autoincrement": false
560
887
  },
888
+ "type": {
889
+ "name": "type",
890
+ "type": "text",
891
+ "primaryKey": false,
892
+ "notNull": true,
893
+ "autoincrement": false,
894
+ "default": "'software'"
895
+ },
561
896
  "is_default": {
562
897
  "name": "is_default",
563
898
  "type": "integer",
@@ -601,6 +936,34 @@
601
936
  "notNull": false,
602
937
  "autoincrement": false
603
938
  },
939
+ "git_auth_method": {
940
+ "name": "git_auth_method",
941
+ "type": "text",
942
+ "primaryKey": false,
943
+ "notNull": false,
944
+ "autoincrement": false
945
+ },
946
+ "ssh_private_key_encrypted": {
947
+ "name": "ssh_private_key_encrypted",
948
+ "type": "text",
949
+ "primaryKey": false,
950
+ "notNull": false,
951
+ "autoincrement": false
952
+ },
953
+ "ssh_public_key": {
954
+ "name": "ssh_public_key",
955
+ "type": "text",
956
+ "primaryKey": false,
957
+ "notNull": false,
958
+ "autoincrement": false
959
+ },
960
+ "preview_command": {
961
+ "name": "preview_command",
962
+ "type": "text",
963
+ "primaryKey": false,
964
+ "notNull": false,
965
+ "autoincrement": false
966
+ },
604
967
  "created_at": {
605
968
  "name": "created_at",
606
969
  "type": "text",
@@ -787,6 +1150,133 @@
787
1150
  "uniqueConstraints": {},
788
1151
  "checkConstraints": {}
789
1152
  },
1153
+ "terminal_sessions": {
1154
+ "name": "terminal_sessions",
1155
+ "columns": {
1156
+ "id": {
1157
+ "name": "id",
1158
+ "type": "text",
1159
+ "primaryKey": true,
1160
+ "notNull": true,
1161
+ "autoincrement": false
1162
+ },
1163
+ "claude_session_id": {
1164
+ "name": "claude_session_id",
1165
+ "type": "text",
1166
+ "primaryKey": false,
1167
+ "notNull": true,
1168
+ "autoincrement": false
1169
+ },
1170
+ "project_id": {
1171
+ "name": "project_id",
1172
+ "type": "text",
1173
+ "primaryKey": false,
1174
+ "notNull": true,
1175
+ "autoincrement": false
1176
+ },
1177
+ "project_name": {
1178
+ "name": "project_name",
1179
+ "type": "text",
1180
+ "primaryKey": false,
1181
+ "notNull": true,
1182
+ "autoincrement": false
1183
+ },
1184
+ "name": {
1185
+ "name": "name",
1186
+ "type": "text",
1187
+ "primaryKey": false,
1188
+ "notNull": true,
1189
+ "autoincrement": false
1190
+ },
1191
+ "session_type": {
1192
+ "name": "session_type",
1193
+ "type": "text",
1194
+ "primaryKey": false,
1195
+ "notNull": true,
1196
+ "autoincrement": false,
1197
+ "default": "'claude'"
1198
+ },
1199
+ "created_at": {
1200
+ "name": "created_at",
1201
+ "type": "text",
1202
+ "primaryKey": false,
1203
+ "notNull": true,
1204
+ "autoincrement": false
1205
+ },
1206
+ "last_used_at": {
1207
+ "name": "last_used_at",
1208
+ "type": "text",
1209
+ "primaryKey": false,
1210
+ "notNull": true,
1211
+ "autoincrement": false
1212
+ }
1213
+ },
1214
+ "indexes": {},
1215
+ "foreignKeys": {},
1216
+ "compositePrimaryKeys": {},
1217
+ "uniqueConstraints": {},
1218
+ "checkConstraints": {}
1219
+ },
1220
+ "user_mcp_configs": {
1221
+ "name": "user_mcp_configs",
1222
+ "columns": {
1223
+ "id": {
1224
+ "name": "id",
1225
+ "type": "text",
1226
+ "primaryKey": true,
1227
+ "notNull": true,
1228
+ "autoincrement": false
1229
+ },
1230
+ "user_id": {
1231
+ "name": "user_id",
1232
+ "type": "text",
1233
+ "primaryKey": false,
1234
+ "notNull": true,
1235
+ "autoincrement": false
1236
+ },
1237
+ "project_id": {
1238
+ "name": "project_id",
1239
+ "type": "text",
1240
+ "primaryKey": false,
1241
+ "notNull": false,
1242
+ "autoincrement": false
1243
+ },
1244
+ "config_type": {
1245
+ "name": "config_type",
1246
+ "type": "text",
1247
+ "primaryKey": false,
1248
+ "notNull": true,
1249
+ "autoincrement": false
1250
+ },
1251
+ "mcp_servers_json": {
1252
+ "name": "mcp_servers_json",
1253
+ "type": "text",
1254
+ "primaryKey": false,
1255
+ "notNull": true,
1256
+ "autoincrement": false,
1257
+ "default": "'{}'"
1258
+ },
1259
+ "created_at": {
1260
+ "name": "created_at",
1261
+ "type": "text",
1262
+ "primaryKey": false,
1263
+ "notNull": true,
1264
+ "autoincrement": false
1265
+ },
1266
+ "updated_at": {
1267
+ "name": "updated_at",
1268
+ "type": "text",
1269
+ "primaryKey": false,
1270
+ "notNull": true,
1271
+ "autoincrement": false
1272
+ }
1273
+ },
1274
+ "indexes": {},
1275
+ "foreignKeys": {},
1276
+ "compositePrimaryKeys": {},
1277
+ "uniqueConstraints": {},
1278
+ "checkConstraints": {}
1279
+ },
790
1280
  "users": {
791
1281
  "name": "users",
792
1282
  "columns": {
@@ -847,6 +1337,490 @@
847
1337
  "compositePrimaryKeys": {},
848
1338
  "uniqueConstraints": {},
849
1339
  "checkConstraints": {}
1340
+ },
1341
+ "video_renders": {
1342
+ "name": "video_renders",
1343
+ "columns": {
1344
+ "id": {
1345
+ "name": "id",
1346
+ "type": "text",
1347
+ "primaryKey": true,
1348
+ "notNull": true,
1349
+ "autoincrement": false
1350
+ },
1351
+ "project_id": {
1352
+ "name": "project_id",
1353
+ "type": "text",
1354
+ "primaryKey": false,
1355
+ "notNull": true,
1356
+ "autoincrement": false
1357
+ },
1358
+ "feature_id": {
1359
+ "name": "feature_id",
1360
+ "type": "text",
1361
+ "primaryKey": false,
1362
+ "notNull": false,
1363
+ "autoincrement": false
1364
+ },
1365
+ "composition_id": {
1366
+ "name": "composition_id",
1367
+ "type": "text",
1368
+ "primaryKey": false,
1369
+ "notNull": true,
1370
+ "autoincrement": false
1371
+ },
1372
+ "status": {
1373
+ "name": "status",
1374
+ "type": "text",
1375
+ "primaryKey": false,
1376
+ "notNull": true,
1377
+ "autoincrement": false
1378
+ },
1379
+ "progress": {
1380
+ "name": "progress",
1381
+ "type": "real",
1382
+ "primaryKey": false,
1383
+ "notNull": true,
1384
+ "autoincrement": false,
1385
+ "default": 0
1386
+ },
1387
+ "file_path": {
1388
+ "name": "file_path",
1389
+ "type": "text",
1390
+ "primaryKey": false,
1391
+ "notNull": false,
1392
+ "autoincrement": false
1393
+ },
1394
+ "file_size": {
1395
+ "name": "file_size",
1396
+ "type": "integer",
1397
+ "primaryKey": false,
1398
+ "notNull": false,
1399
+ "autoincrement": false
1400
+ },
1401
+ "duration_seconds": {
1402
+ "name": "duration_seconds",
1403
+ "type": "real",
1404
+ "primaryKey": false,
1405
+ "notNull": false,
1406
+ "autoincrement": false
1407
+ },
1408
+ "error": {
1409
+ "name": "error",
1410
+ "type": "text",
1411
+ "primaryKey": false,
1412
+ "notNull": false,
1413
+ "autoincrement": false
1414
+ },
1415
+ "resolution": {
1416
+ "name": "resolution",
1417
+ "type": "text",
1418
+ "primaryKey": false,
1419
+ "notNull": false,
1420
+ "autoincrement": false
1421
+ },
1422
+ "created_at": {
1423
+ "name": "created_at",
1424
+ "type": "text",
1425
+ "primaryKey": false,
1426
+ "notNull": true,
1427
+ "autoincrement": false
1428
+ },
1429
+ "completed_at": {
1430
+ "name": "completed_at",
1431
+ "type": "text",
1432
+ "primaryKey": false,
1433
+ "notNull": false,
1434
+ "autoincrement": false
1435
+ }
1436
+ },
1437
+ "indexes": {},
1438
+ "foreignKeys": {},
1439
+ "compositePrimaryKeys": {},
1440
+ "uniqueConstraints": {},
1441
+ "checkConstraints": {}
1442
+ },
1443
+ "workflow_executions": {
1444
+ "name": "workflow_executions",
1445
+ "columns": {
1446
+ "id": {
1447
+ "name": "id",
1448
+ "type": "text",
1449
+ "primaryKey": true,
1450
+ "notNull": true,
1451
+ "autoincrement": false
1452
+ },
1453
+ "workflow_id": {
1454
+ "name": "workflow_id",
1455
+ "type": "text",
1456
+ "primaryKey": false,
1457
+ "notNull": true,
1458
+ "autoincrement": false
1459
+ },
1460
+ "feature_id": {
1461
+ "name": "feature_id",
1462
+ "type": "text",
1463
+ "primaryKey": false,
1464
+ "notNull": true,
1465
+ "autoincrement": false
1466
+ },
1467
+ "status": {
1468
+ "name": "status",
1469
+ "type": "text",
1470
+ "primaryKey": false,
1471
+ "notNull": true,
1472
+ "autoincrement": false
1473
+ },
1474
+ "current_node_id": {
1475
+ "name": "current_node_id",
1476
+ "type": "text",
1477
+ "primaryKey": false,
1478
+ "notNull": false,
1479
+ "autoincrement": false
1480
+ },
1481
+ "context": {
1482
+ "name": "context",
1483
+ "type": "text",
1484
+ "primaryKey": false,
1485
+ "notNull": true,
1486
+ "autoincrement": false
1487
+ },
1488
+ "started_at": {
1489
+ "name": "started_at",
1490
+ "type": "text",
1491
+ "primaryKey": false,
1492
+ "notNull": true,
1493
+ "autoincrement": false
1494
+ },
1495
+ "updated_at": {
1496
+ "name": "updated_at",
1497
+ "type": "text",
1498
+ "primaryKey": false,
1499
+ "notNull": true,
1500
+ "autoincrement": false
1501
+ }
1502
+ },
1503
+ "indexes": {},
1504
+ "foreignKeys": {
1505
+ "workflow_executions_workflow_id_workflows_id_fk": {
1506
+ "name": "workflow_executions_workflow_id_workflows_id_fk",
1507
+ "tableFrom": "workflow_executions",
1508
+ "tableTo": "workflows",
1509
+ "columnsFrom": [
1510
+ "workflow_id"
1511
+ ],
1512
+ "columnsTo": [
1513
+ "id"
1514
+ ],
1515
+ "onDelete": "no action",
1516
+ "onUpdate": "no action"
1517
+ }
1518
+ },
1519
+ "compositePrimaryKeys": {},
1520
+ "uniqueConstraints": {},
1521
+ "checkConstraints": {}
1522
+ },
1523
+ "workflow_groups": {
1524
+ "name": "workflow_groups",
1525
+ "columns": {
1526
+ "id": {
1527
+ "name": "id",
1528
+ "type": "text",
1529
+ "primaryKey": true,
1530
+ "notNull": true,
1531
+ "autoincrement": false
1532
+ },
1533
+ "name": {
1534
+ "name": "name",
1535
+ "type": "text",
1536
+ "primaryKey": false,
1537
+ "notNull": true,
1538
+ "autoincrement": false
1539
+ },
1540
+ "project_id": {
1541
+ "name": "project_id",
1542
+ "type": "text",
1543
+ "primaryKey": false,
1544
+ "notNull": false,
1545
+ "autoincrement": false
1546
+ },
1547
+ "graph_data": {
1548
+ "name": "graph_data",
1549
+ "type": "text",
1550
+ "primaryKey": false,
1551
+ "notNull": true,
1552
+ "autoincrement": false
1553
+ },
1554
+ "created_at": {
1555
+ "name": "created_at",
1556
+ "type": "text",
1557
+ "primaryKey": false,
1558
+ "notNull": true,
1559
+ "autoincrement": false
1560
+ },
1561
+ "updated_at": {
1562
+ "name": "updated_at",
1563
+ "type": "text",
1564
+ "primaryKey": false,
1565
+ "notNull": true,
1566
+ "autoincrement": false
1567
+ }
1568
+ },
1569
+ "indexes": {},
1570
+ "foreignKeys": {},
1571
+ "compositePrimaryKeys": {},
1572
+ "uniqueConstraints": {},
1573
+ "checkConstraints": {}
1574
+ },
1575
+ "workflow_node_executions": {
1576
+ "name": "workflow_node_executions",
1577
+ "columns": {
1578
+ "id": {
1579
+ "name": "id",
1580
+ "type": "text",
1581
+ "primaryKey": true,
1582
+ "notNull": true,
1583
+ "autoincrement": false
1584
+ },
1585
+ "execution_id": {
1586
+ "name": "execution_id",
1587
+ "type": "text",
1588
+ "primaryKey": false,
1589
+ "notNull": true,
1590
+ "autoincrement": false
1591
+ },
1592
+ "node_id": {
1593
+ "name": "node_id",
1594
+ "type": "text",
1595
+ "primaryKey": false,
1596
+ "notNull": true,
1597
+ "autoincrement": false
1598
+ },
1599
+ "status": {
1600
+ "name": "status",
1601
+ "type": "text",
1602
+ "primaryKey": false,
1603
+ "notNull": true,
1604
+ "autoincrement": false
1605
+ },
1606
+ "started_at": {
1607
+ "name": "started_at",
1608
+ "type": "text",
1609
+ "primaryKey": false,
1610
+ "notNull": false,
1611
+ "autoincrement": false
1612
+ },
1613
+ "completed_at": {
1614
+ "name": "completed_at",
1615
+ "type": "text",
1616
+ "primaryKey": false,
1617
+ "notNull": false,
1618
+ "autoincrement": false
1619
+ },
1620
+ "output_data": {
1621
+ "name": "output_data",
1622
+ "type": "text",
1623
+ "primaryKey": false,
1624
+ "notNull": false,
1625
+ "autoincrement": false
1626
+ },
1627
+ "error": {
1628
+ "name": "error",
1629
+ "type": "text",
1630
+ "primaryKey": false,
1631
+ "notNull": false,
1632
+ "autoincrement": false
1633
+ },
1634
+ "attempt": {
1635
+ "name": "attempt",
1636
+ "type": "integer",
1637
+ "primaryKey": false,
1638
+ "notNull": true,
1639
+ "autoincrement": false,
1640
+ "default": 1
1641
+ },
1642
+ "cycle": {
1643
+ "name": "cycle",
1644
+ "type": "integer",
1645
+ "primaryKey": false,
1646
+ "notNull": true,
1647
+ "autoincrement": false,
1648
+ "default": 1
1649
+ },
1650
+ "claude_session_id": {
1651
+ "name": "claude_session_id",
1652
+ "type": "text",
1653
+ "primaryKey": false,
1654
+ "notNull": false,
1655
+ "autoincrement": false
1656
+ }
1657
+ },
1658
+ "indexes": {},
1659
+ "foreignKeys": {
1660
+ "workflow_node_executions_execution_id_workflow_executions_id_fk": {
1661
+ "name": "workflow_node_executions_execution_id_workflow_executions_id_fk",
1662
+ "tableFrom": "workflow_node_executions",
1663
+ "tableTo": "workflow_executions",
1664
+ "columnsFrom": [
1665
+ "execution_id"
1666
+ ],
1667
+ "columnsTo": [
1668
+ "id"
1669
+ ],
1670
+ "onDelete": "no action",
1671
+ "onUpdate": "no action"
1672
+ }
1673
+ },
1674
+ "compositePrimaryKeys": {},
1675
+ "uniqueConstraints": {},
1676
+ "checkConstraints": {}
1677
+ },
1678
+ "workflow_tool_calls": {
1679
+ "name": "workflow_tool_calls",
1680
+ "columns": {
1681
+ "id": {
1682
+ "name": "id",
1683
+ "type": "text",
1684
+ "primaryKey": true,
1685
+ "notNull": true,
1686
+ "autoincrement": false
1687
+ },
1688
+ "node_execution_id": {
1689
+ "name": "node_execution_id",
1690
+ "type": "text",
1691
+ "primaryKey": false,
1692
+ "notNull": true,
1693
+ "autoincrement": false
1694
+ },
1695
+ "timestamp": {
1696
+ "name": "timestamp",
1697
+ "type": "text",
1698
+ "primaryKey": false,
1699
+ "notNull": true,
1700
+ "autoincrement": false
1701
+ },
1702
+ "tool_name": {
1703
+ "name": "tool_name",
1704
+ "type": "text",
1705
+ "primaryKey": false,
1706
+ "notNull": true,
1707
+ "autoincrement": false
1708
+ },
1709
+ "target": {
1710
+ "name": "target",
1711
+ "type": "text",
1712
+ "primaryKey": false,
1713
+ "notNull": true,
1714
+ "autoincrement": false
1715
+ },
1716
+ "created_at": {
1717
+ "name": "created_at",
1718
+ "type": "text",
1719
+ "primaryKey": false,
1720
+ "notNull": true,
1721
+ "autoincrement": false
1722
+ }
1723
+ },
1724
+ "indexes": {},
1725
+ "foreignKeys": {
1726
+ "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk": {
1727
+ "name": "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk",
1728
+ "tableFrom": "workflow_tool_calls",
1729
+ "tableTo": "workflow_node_executions",
1730
+ "columnsFrom": [
1731
+ "node_execution_id"
1732
+ ],
1733
+ "columnsTo": [
1734
+ "id"
1735
+ ],
1736
+ "onDelete": "no action",
1737
+ "onUpdate": "no action"
1738
+ }
1739
+ },
1740
+ "compositePrimaryKeys": {},
1741
+ "uniqueConstraints": {},
1742
+ "checkConstraints": {}
1743
+ },
1744
+ "workflows": {
1745
+ "name": "workflows",
1746
+ "columns": {
1747
+ "id": {
1748
+ "name": "id",
1749
+ "type": "text",
1750
+ "primaryKey": true,
1751
+ "notNull": true,
1752
+ "autoincrement": false
1753
+ },
1754
+ "name": {
1755
+ "name": "name",
1756
+ "type": "text",
1757
+ "primaryKey": false,
1758
+ "notNull": true,
1759
+ "autoincrement": false
1760
+ },
1761
+ "description": {
1762
+ "name": "description",
1763
+ "type": "text",
1764
+ "primaryKey": false,
1765
+ "notNull": false,
1766
+ "autoincrement": false
1767
+ },
1768
+ "project_id": {
1769
+ "name": "project_id",
1770
+ "type": "text",
1771
+ "primaryKey": false,
1772
+ "notNull": false,
1773
+ "autoincrement": false
1774
+ },
1775
+ "feature_type": {
1776
+ "name": "feature_type",
1777
+ "type": "text",
1778
+ "primaryKey": false,
1779
+ "notNull": false,
1780
+ "autoincrement": false
1781
+ },
1782
+ "trigger_column": {
1783
+ "name": "trigger_column",
1784
+ "type": "text",
1785
+ "primaryKey": false,
1786
+ "notNull": false,
1787
+ "autoincrement": false
1788
+ },
1789
+ "is_default": {
1790
+ "name": "is_default",
1791
+ "type": "integer",
1792
+ "primaryKey": false,
1793
+ "notNull": true,
1794
+ "autoincrement": false,
1795
+ "default": 0
1796
+ },
1797
+ "graph_data": {
1798
+ "name": "graph_data",
1799
+ "type": "text",
1800
+ "primaryKey": false,
1801
+ "notNull": true,
1802
+ "autoincrement": false
1803
+ },
1804
+ "created_at": {
1805
+ "name": "created_at",
1806
+ "type": "text",
1807
+ "primaryKey": false,
1808
+ "notNull": true,
1809
+ "autoincrement": false
1810
+ },
1811
+ "updated_at": {
1812
+ "name": "updated_at",
1813
+ "type": "text",
1814
+ "primaryKey": false,
1815
+ "notNull": true,
1816
+ "autoincrement": false
1817
+ }
1818
+ },
1819
+ "indexes": {},
1820
+ "foreignKeys": {},
1821
+ "compositePrimaryKeys": {},
1822
+ "uniqueConstraints": {},
1823
+ "checkConstraints": {}
850
1824
  }
851
1825
  },
852
1826
  "views": {},