@assistkick/create 1.11.0 → 1.12.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.
- package/package.json +1 -1
- package/templates/assistkick-product-system/packages/shared/db/migrate.ts +82 -0
- package/templates/assistkick-product-system/packages/shared/db/migrations/0000_outgoing_ultron.sql +277 -0
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0000_snapshot.json +972 -22
- package/templates/assistkick-product-system/packages/shared/db/migrations/meta/_journal.json +2 -170
package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0000_snapshot.json
CHANGED
|
@@ -1,9 +1,263 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "6",
|
|
3
3
|
"dialect": "sqlite",
|
|
4
|
-
"id": "
|
|
4
|
+
"id": "c91cd697-e8d5-4c49-ab38-1f414599442e",
|
|
5
5
|
"prevId": "00000000-0000-0000-0000-000000000000",
|
|
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",
|
|
@@ -460,18 +721,25 @@
|
|
|
460
721
|
"uniqueConstraints": {},
|
|
461
722
|
"checkConstraints": {}
|
|
462
723
|
},
|
|
463
|
-
"
|
|
464
|
-
"name": "
|
|
724
|
+
"pipeline_outputs": {
|
|
725
|
+
"name": "pipeline_outputs",
|
|
465
726
|
"columns": {
|
|
727
|
+
"id": {
|
|
728
|
+
"name": "id",
|
|
729
|
+
"type": "text",
|
|
730
|
+
"primaryKey": true,
|
|
731
|
+
"notNull": true,
|
|
732
|
+
"autoincrement": false
|
|
733
|
+
},
|
|
466
734
|
"feature_id": {
|
|
467
735
|
"name": "feature_id",
|
|
468
736
|
"type": "text",
|
|
469
|
-
"primaryKey":
|
|
737
|
+
"primaryKey": false,
|
|
470
738
|
"notNull": true,
|
|
471
739
|
"autoincrement": false
|
|
472
740
|
},
|
|
473
|
-
"
|
|
474
|
-
"name": "
|
|
741
|
+
"stage": {
|
|
742
|
+
"name": "stage",
|
|
475
743
|
"type": "text",
|
|
476
744
|
"primaryKey": false,
|
|
477
745
|
"notNull": true,
|
|
@@ -482,33 +750,92 @@
|
|
|
482
750
|
"type": "integer",
|
|
483
751
|
"primaryKey": false,
|
|
484
752
|
"notNull": true,
|
|
485
|
-
"autoincrement": false
|
|
486
|
-
"default": 1
|
|
753
|
+
"autoincrement": false
|
|
487
754
|
},
|
|
488
|
-
"
|
|
489
|
-
"name": "
|
|
755
|
+
"output": {
|
|
756
|
+
"name": "output",
|
|
490
757
|
"type": "text",
|
|
491
758
|
"primaryKey": false,
|
|
492
|
-
"notNull":
|
|
759
|
+
"notNull": true,
|
|
493
760
|
"autoincrement": false
|
|
494
761
|
},
|
|
495
|
-
"
|
|
496
|
-
"name": "
|
|
762
|
+
"created_at": {
|
|
763
|
+
"name": "created_at",
|
|
497
764
|
"type": "text",
|
|
498
765
|
"primaryKey": false,
|
|
499
|
-
"notNull":
|
|
766
|
+
"notNull": true,
|
|
500
767
|
"autoincrement": false
|
|
501
768
|
},
|
|
502
|
-
"
|
|
503
|
-
"name": "
|
|
769
|
+
"project_id": {
|
|
770
|
+
"name": "project_id",
|
|
504
771
|
"type": "text",
|
|
505
772
|
"primaryKey": false,
|
|
506
773
|
"notNull": false,
|
|
507
774
|
"autoincrement": false
|
|
508
|
-
}
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
775
|
+
}
|
|
776
|
+
},
|
|
777
|
+
"indexes": {},
|
|
778
|
+
"foreignKeys": {},
|
|
779
|
+
"compositePrimaryKeys": {},
|
|
780
|
+
"uniqueConstraints": {},
|
|
781
|
+
"checkConstraints": {}
|
|
782
|
+
},
|
|
783
|
+
"pipeline_state": {
|
|
784
|
+
"name": "pipeline_state",
|
|
785
|
+
"columns": {
|
|
786
|
+
"feature_id": {
|
|
787
|
+
"name": "feature_id",
|
|
788
|
+
"type": "text",
|
|
789
|
+
"primaryKey": true,
|
|
790
|
+
"notNull": true,
|
|
791
|
+
"autoincrement": false
|
|
792
|
+
},
|
|
793
|
+
"status": {
|
|
794
|
+
"name": "status",
|
|
795
|
+
"type": "text",
|
|
796
|
+
"primaryKey": false,
|
|
797
|
+
"notNull": true,
|
|
798
|
+
"autoincrement": false
|
|
799
|
+
},
|
|
800
|
+
"cycle": {
|
|
801
|
+
"name": "cycle",
|
|
802
|
+
"type": "integer",
|
|
803
|
+
"primaryKey": false,
|
|
804
|
+
"notNull": true,
|
|
805
|
+
"autoincrement": false,
|
|
806
|
+
"default": 1
|
|
807
|
+
},
|
|
808
|
+
"tasks_json": {
|
|
809
|
+
"name": "tasks_json",
|
|
810
|
+
"type": "text",
|
|
811
|
+
"primaryKey": false,
|
|
812
|
+
"notNull": false,
|
|
813
|
+
"autoincrement": false
|
|
814
|
+
},
|
|
815
|
+
"tool_calls_json": {
|
|
816
|
+
"name": "tool_calls_json",
|
|
817
|
+
"type": "text",
|
|
818
|
+
"primaryKey": false,
|
|
819
|
+
"notNull": false,
|
|
820
|
+
"autoincrement": false
|
|
821
|
+
},
|
|
822
|
+
"work_summaries_json": {
|
|
823
|
+
"name": "work_summaries_json",
|
|
824
|
+
"type": "text",
|
|
825
|
+
"primaryKey": false,
|
|
826
|
+
"notNull": false,
|
|
827
|
+
"autoincrement": false
|
|
828
|
+
},
|
|
829
|
+
"stage_stats_json": {
|
|
830
|
+
"name": "stage_stats_json",
|
|
831
|
+
"type": "text",
|
|
832
|
+
"primaryKey": false,
|
|
833
|
+
"notNull": false,
|
|
834
|
+
"autoincrement": false
|
|
835
|
+
},
|
|
836
|
+
"error": {
|
|
837
|
+
"name": "error",
|
|
838
|
+
"type": "text",
|
|
512
839
|
"primaryKey": false,
|
|
513
840
|
"notNull": false,
|
|
514
841
|
"autoincrement": false
|
|
@@ -551,6 +878,14 @@
|
|
|
551
878
|
"notNull": true,
|
|
552
879
|
"autoincrement": false
|
|
553
880
|
},
|
|
881
|
+
"type": {
|
|
882
|
+
"name": "type",
|
|
883
|
+
"type": "text",
|
|
884
|
+
"primaryKey": false,
|
|
885
|
+
"notNull": true,
|
|
886
|
+
"autoincrement": false,
|
|
887
|
+
"default": "'software'"
|
|
888
|
+
},
|
|
554
889
|
"is_default": {
|
|
555
890
|
"name": "is_default",
|
|
556
891
|
"type": "integer",
|
|
@@ -566,6 +901,62 @@
|
|
|
566
901
|
"notNull": false,
|
|
567
902
|
"autoincrement": false
|
|
568
903
|
},
|
|
904
|
+
"repo_url": {
|
|
905
|
+
"name": "repo_url",
|
|
906
|
+
"type": "text",
|
|
907
|
+
"primaryKey": false,
|
|
908
|
+
"notNull": false,
|
|
909
|
+
"autoincrement": false
|
|
910
|
+
},
|
|
911
|
+
"github_installation_id": {
|
|
912
|
+
"name": "github_installation_id",
|
|
913
|
+
"type": "text",
|
|
914
|
+
"primaryKey": false,
|
|
915
|
+
"notNull": false,
|
|
916
|
+
"autoincrement": false
|
|
917
|
+
},
|
|
918
|
+
"github_repo_full_name": {
|
|
919
|
+
"name": "github_repo_full_name",
|
|
920
|
+
"type": "text",
|
|
921
|
+
"primaryKey": false,
|
|
922
|
+
"notNull": false,
|
|
923
|
+
"autoincrement": false
|
|
924
|
+
},
|
|
925
|
+
"base_branch": {
|
|
926
|
+
"name": "base_branch",
|
|
927
|
+
"type": "text",
|
|
928
|
+
"primaryKey": false,
|
|
929
|
+
"notNull": false,
|
|
930
|
+
"autoincrement": false
|
|
931
|
+
},
|
|
932
|
+
"git_auth_method": {
|
|
933
|
+
"name": "git_auth_method",
|
|
934
|
+
"type": "text",
|
|
935
|
+
"primaryKey": false,
|
|
936
|
+
"notNull": false,
|
|
937
|
+
"autoincrement": false
|
|
938
|
+
},
|
|
939
|
+
"ssh_private_key_encrypted": {
|
|
940
|
+
"name": "ssh_private_key_encrypted",
|
|
941
|
+
"type": "text",
|
|
942
|
+
"primaryKey": false,
|
|
943
|
+
"notNull": false,
|
|
944
|
+
"autoincrement": false
|
|
945
|
+
},
|
|
946
|
+
"ssh_public_key": {
|
|
947
|
+
"name": "ssh_public_key",
|
|
948
|
+
"type": "text",
|
|
949
|
+
"primaryKey": false,
|
|
950
|
+
"notNull": false,
|
|
951
|
+
"autoincrement": false
|
|
952
|
+
},
|
|
953
|
+
"preview_command": {
|
|
954
|
+
"name": "preview_command",
|
|
955
|
+
"type": "text",
|
|
956
|
+
"primaryKey": false,
|
|
957
|
+
"notNull": false,
|
|
958
|
+
"autoincrement": false
|
|
959
|
+
},
|
|
569
960
|
"created_at": {
|
|
570
961
|
"name": "created_at",
|
|
571
962
|
"type": "text",
|
|
@@ -683,7 +1074,7 @@
|
|
|
683
1074
|
"session_number": {
|
|
684
1075
|
"name": "session_number",
|
|
685
1076
|
"type": "integer",
|
|
686
|
-
"primaryKey":
|
|
1077
|
+
"primaryKey": false,
|
|
687
1078
|
"notNull": true,
|
|
688
1079
|
"autoincrement": false
|
|
689
1080
|
},
|
|
@@ -734,7 +1125,82 @@
|
|
|
734
1125
|
"name": "project_id",
|
|
735
1126
|
"type": "text",
|
|
736
1127
|
"primaryKey": false,
|
|
737
|
-
"notNull":
|
|
1128
|
+
"notNull": true,
|
|
1129
|
+
"autoincrement": false
|
|
1130
|
+
}
|
|
1131
|
+
},
|
|
1132
|
+
"indexes": {},
|
|
1133
|
+
"foreignKeys": {},
|
|
1134
|
+
"compositePrimaryKeys": {
|
|
1135
|
+
"sessions_session_number_project_id_pk": {
|
|
1136
|
+
"columns": [
|
|
1137
|
+
"session_number",
|
|
1138
|
+
"project_id"
|
|
1139
|
+
],
|
|
1140
|
+
"name": "sessions_session_number_project_id_pk"
|
|
1141
|
+
}
|
|
1142
|
+
},
|
|
1143
|
+
"uniqueConstraints": {},
|
|
1144
|
+
"checkConstraints": {}
|
|
1145
|
+
},
|
|
1146
|
+
"terminal_sessions": {
|
|
1147
|
+
"name": "terminal_sessions",
|
|
1148
|
+
"columns": {
|
|
1149
|
+
"id": {
|
|
1150
|
+
"name": "id",
|
|
1151
|
+
"type": "text",
|
|
1152
|
+
"primaryKey": true,
|
|
1153
|
+
"notNull": true,
|
|
1154
|
+
"autoincrement": false
|
|
1155
|
+
},
|
|
1156
|
+
"claude_session_id": {
|
|
1157
|
+
"name": "claude_session_id",
|
|
1158
|
+
"type": "text",
|
|
1159
|
+
"primaryKey": false,
|
|
1160
|
+
"notNull": true,
|
|
1161
|
+
"autoincrement": false
|
|
1162
|
+
},
|
|
1163
|
+
"project_id": {
|
|
1164
|
+
"name": "project_id",
|
|
1165
|
+
"type": "text",
|
|
1166
|
+
"primaryKey": false,
|
|
1167
|
+
"notNull": true,
|
|
1168
|
+
"autoincrement": false
|
|
1169
|
+
},
|
|
1170
|
+
"project_name": {
|
|
1171
|
+
"name": "project_name",
|
|
1172
|
+
"type": "text",
|
|
1173
|
+
"primaryKey": false,
|
|
1174
|
+
"notNull": true,
|
|
1175
|
+
"autoincrement": false
|
|
1176
|
+
},
|
|
1177
|
+
"name": {
|
|
1178
|
+
"name": "name",
|
|
1179
|
+
"type": "text",
|
|
1180
|
+
"primaryKey": false,
|
|
1181
|
+
"notNull": true,
|
|
1182
|
+
"autoincrement": false
|
|
1183
|
+
},
|
|
1184
|
+
"session_type": {
|
|
1185
|
+
"name": "session_type",
|
|
1186
|
+
"type": "text",
|
|
1187
|
+
"primaryKey": false,
|
|
1188
|
+
"notNull": true,
|
|
1189
|
+
"autoincrement": false,
|
|
1190
|
+
"default": "'claude'"
|
|
1191
|
+
},
|
|
1192
|
+
"created_at": {
|
|
1193
|
+
"name": "created_at",
|
|
1194
|
+
"type": "text",
|
|
1195
|
+
"primaryKey": false,
|
|
1196
|
+
"notNull": true,
|
|
1197
|
+
"autoincrement": false
|
|
1198
|
+
},
|
|
1199
|
+
"last_used_at": {
|
|
1200
|
+
"name": "last_used_at",
|
|
1201
|
+
"type": "text",
|
|
1202
|
+
"primaryKey": false,
|
|
1203
|
+
"notNull": true,
|
|
738
1204
|
"autoincrement": false
|
|
739
1205
|
}
|
|
740
1206
|
},
|
|
@@ -804,6 +1270,490 @@
|
|
|
804
1270
|
"compositePrimaryKeys": {},
|
|
805
1271
|
"uniqueConstraints": {},
|
|
806
1272
|
"checkConstraints": {}
|
|
1273
|
+
},
|
|
1274
|
+
"video_renders": {
|
|
1275
|
+
"name": "video_renders",
|
|
1276
|
+
"columns": {
|
|
1277
|
+
"id": {
|
|
1278
|
+
"name": "id",
|
|
1279
|
+
"type": "text",
|
|
1280
|
+
"primaryKey": true,
|
|
1281
|
+
"notNull": true,
|
|
1282
|
+
"autoincrement": false
|
|
1283
|
+
},
|
|
1284
|
+
"project_id": {
|
|
1285
|
+
"name": "project_id",
|
|
1286
|
+
"type": "text",
|
|
1287
|
+
"primaryKey": false,
|
|
1288
|
+
"notNull": true,
|
|
1289
|
+
"autoincrement": false
|
|
1290
|
+
},
|
|
1291
|
+
"feature_id": {
|
|
1292
|
+
"name": "feature_id",
|
|
1293
|
+
"type": "text",
|
|
1294
|
+
"primaryKey": false,
|
|
1295
|
+
"notNull": false,
|
|
1296
|
+
"autoincrement": false
|
|
1297
|
+
},
|
|
1298
|
+
"composition_id": {
|
|
1299
|
+
"name": "composition_id",
|
|
1300
|
+
"type": "text",
|
|
1301
|
+
"primaryKey": false,
|
|
1302
|
+
"notNull": true,
|
|
1303
|
+
"autoincrement": false
|
|
1304
|
+
},
|
|
1305
|
+
"status": {
|
|
1306
|
+
"name": "status",
|
|
1307
|
+
"type": "text",
|
|
1308
|
+
"primaryKey": false,
|
|
1309
|
+
"notNull": true,
|
|
1310
|
+
"autoincrement": false
|
|
1311
|
+
},
|
|
1312
|
+
"progress": {
|
|
1313
|
+
"name": "progress",
|
|
1314
|
+
"type": "real",
|
|
1315
|
+
"primaryKey": false,
|
|
1316
|
+
"notNull": true,
|
|
1317
|
+
"autoincrement": false,
|
|
1318
|
+
"default": 0
|
|
1319
|
+
},
|
|
1320
|
+
"file_path": {
|
|
1321
|
+
"name": "file_path",
|
|
1322
|
+
"type": "text",
|
|
1323
|
+
"primaryKey": false,
|
|
1324
|
+
"notNull": false,
|
|
1325
|
+
"autoincrement": false
|
|
1326
|
+
},
|
|
1327
|
+
"file_size": {
|
|
1328
|
+
"name": "file_size",
|
|
1329
|
+
"type": "integer",
|
|
1330
|
+
"primaryKey": false,
|
|
1331
|
+
"notNull": false,
|
|
1332
|
+
"autoincrement": false
|
|
1333
|
+
},
|
|
1334
|
+
"duration_seconds": {
|
|
1335
|
+
"name": "duration_seconds",
|
|
1336
|
+
"type": "real",
|
|
1337
|
+
"primaryKey": false,
|
|
1338
|
+
"notNull": false,
|
|
1339
|
+
"autoincrement": false
|
|
1340
|
+
},
|
|
1341
|
+
"error": {
|
|
1342
|
+
"name": "error",
|
|
1343
|
+
"type": "text",
|
|
1344
|
+
"primaryKey": false,
|
|
1345
|
+
"notNull": false,
|
|
1346
|
+
"autoincrement": false
|
|
1347
|
+
},
|
|
1348
|
+
"resolution": {
|
|
1349
|
+
"name": "resolution",
|
|
1350
|
+
"type": "text",
|
|
1351
|
+
"primaryKey": false,
|
|
1352
|
+
"notNull": false,
|
|
1353
|
+
"autoincrement": false
|
|
1354
|
+
},
|
|
1355
|
+
"created_at": {
|
|
1356
|
+
"name": "created_at",
|
|
1357
|
+
"type": "text",
|
|
1358
|
+
"primaryKey": false,
|
|
1359
|
+
"notNull": true,
|
|
1360
|
+
"autoincrement": false
|
|
1361
|
+
},
|
|
1362
|
+
"completed_at": {
|
|
1363
|
+
"name": "completed_at",
|
|
1364
|
+
"type": "text",
|
|
1365
|
+
"primaryKey": false,
|
|
1366
|
+
"notNull": false,
|
|
1367
|
+
"autoincrement": false
|
|
1368
|
+
}
|
|
1369
|
+
},
|
|
1370
|
+
"indexes": {},
|
|
1371
|
+
"foreignKeys": {},
|
|
1372
|
+
"compositePrimaryKeys": {},
|
|
1373
|
+
"uniqueConstraints": {},
|
|
1374
|
+
"checkConstraints": {}
|
|
1375
|
+
},
|
|
1376
|
+
"workflow_executions": {
|
|
1377
|
+
"name": "workflow_executions",
|
|
1378
|
+
"columns": {
|
|
1379
|
+
"id": {
|
|
1380
|
+
"name": "id",
|
|
1381
|
+
"type": "text",
|
|
1382
|
+
"primaryKey": true,
|
|
1383
|
+
"notNull": true,
|
|
1384
|
+
"autoincrement": false
|
|
1385
|
+
},
|
|
1386
|
+
"workflow_id": {
|
|
1387
|
+
"name": "workflow_id",
|
|
1388
|
+
"type": "text",
|
|
1389
|
+
"primaryKey": false,
|
|
1390
|
+
"notNull": true,
|
|
1391
|
+
"autoincrement": false
|
|
1392
|
+
},
|
|
1393
|
+
"feature_id": {
|
|
1394
|
+
"name": "feature_id",
|
|
1395
|
+
"type": "text",
|
|
1396
|
+
"primaryKey": false,
|
|
1397
|
+
"notNull": true,
|
|
1398
|
+
"autoincrement": false
|
|
1399
|
+
},
|
|
1400
|
+
"status": {
|
|
1401
|
+
"name": "status",
|
|
1402
|
+
"type": "text",
|
|
1403
|
+
"primaryKey": false,
|
|
1404
|
+
"notNull": true,
|
|
1405
|
+
"autoincrement": false
|
|
1406
|
+
},
|
|
1407
|
+
"current_node_id": {
|
|
1408
|
+
"name": "current_node_id",
|
|
1409
|
+
"type": "text",
|
|
1410
|
+
"primaryKey": false,
|
|
1411
|
+
"notNull": false,
|
|
1412
|
+
"autoincrement": false
|
|
1413
|
+
},
|
|
1414
|
+
"context": {
|
|
1415
|
+
"name": "context",
|
|
1416
|
+
"type": "text",
|
|
1417
|
+
"primaryKey": false,
|
|
1418
|
+
"notNull": true,
|
|
1419
|
+
"autoincrement": false
|
|
1420
|
+
},
|
|
1421
|
+
"started_at": {
|
|
1422
|
+
"name": "started_at",
|
|
1423
|
+
"type": "text",
|
|
1424
|
+
"primaryKey": false,
|
|
1425
|
+
"notNull": true,
|
|
1426
|
+
"autoincrement": false
|
|
1427
|
+
},
|
|
1428
|
+
"updated_at": {
|
|
1429
|
+
"name": "updated_at",
|
|
1430
|
+
"type": "text",
|
|
1431
|
+
"primaryKey": false,
|
|
1432
|
+
"notNull": true,
|
|
1433
|
+
"autoincrement": false
|
|
1434
|
+
}
|
|
1435
|
+
},
|
|
1436
|
+
"indexes": {},
|
|
1437
|
+
"foreignKeys": {
|
|
1438
|
+
"workflow_executions_workflow_id_workflows_id_fk": {
|
|
1439
|
+
"name": "workflow_executions_workflow_id_workflows_id_fk",
|
|
1440
|
+
"tableFrom": "workflow_executions",
|
|
1441
|
+
"tableTo": "workflows",
|
|
1442
|
+
"columnsFrom": [
|
|
1443
|
+
"workflow_id"
|
|
1444
|
+
],
|
|
1445
|
+
"columnsTo": [
|
|
1446
|
+
"id"
|
|
1447
|
+
],
|
|
1448
|
+
"onDelete": "no action",
|
|
1449
|
+
"onUpdate": "no action"
|
|
1450
|
+
}
|
|
1451
|
+
},
|
|
1452
|
+
"compositePrimaryKeys": {},
|
|
1453
|
+
"uniqueConstraints": {},
|
|
1454
|
+
"checkConstraints": {}
|
|
1455
|
+
},
|
|
1456
|
+
"workflow_groups": {
|
|
1457
|
+
"name": "workflow_groups",
|
|
1458
|
+
"columns": {
|
|
1459
|
+
"id": {
|
|
1460
|
+
"name": "id",
|
|
1461
|
+
"type": "text",
|
|
1462
|
+
"primaryKey": true,
|
|
1463
|
+
"notNull": true,
|
|
1464
|
+
"autoincrement": false
|
|
1465
|
+
},
|
|
1466
|
+
"name": {
|
|
1467
|
+
"name": "name",
|
|
1468
|
+
"type": "text",
|
|
1469
|
+
"primaryKey": false,
|
|
1470
|
+
"notNull": true,
|
|
1471
|
+
"autoincrement": false
|
|
1472
|
+
},
|
|
1473
|
+
"project_id": {
|
|
1474
|
+
"name": "project_id",
|
|
1475
|
+
"type": "text",
|
|
1476
|
+
"primaryKey": false,
|
|
1477
|
+
"notNull": false,
|
|
1478
|
+
"autoincrement": false
|
|
1479
|
+
},
|
|
1480
|
+
"graph_data": {
|
|
1481
|
+
"name": "graph_data",
|
|
1482
|
+
"type": "text",
|
|
1483
|
+
"primaryKey": false,
|
|
1484
|
+
"notNull": true,
|
|
1485
|
+
"autoincrement": false
|
|
1486
|
+
},
|
|
1487
|
+
"created_at": {
|
|
1488
|
+
"name": "created_at",
|
|
1489
|
+
"type": "text",
|
|
1490
|
+
"primaryKey": false,
|
|
1491
|
+
"notNull": true,
|
|
1492
|
+
"autoincrement": false
|
|
1493
|
+
},
|
|
1494
|
+
"updated_at": {
|
|
1495
|
+
"name": "updated_at",
|
|
1496
|
+
"type": "text",
|
|
1497
|
+
"primaryKey": false,
|
|
1498
|
+
"notNull": true,
|
|
1499
|
+
"autoincrement": false
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1502
|
+
"indexes": {},
|
|
1503
|
+
"foreignKeys": {},
|
|
1504
|
+
"compositePrimaryKeys": {},
|
|
1505
|
+
"uniqueConstraints": {},
|
|
1506
|
+
"checkConstraints": {}
|
|
1507
|
+
},
|
|
1508
|
+
"workflow_node_executions": {
|
|
1509
|
+
"name": "workflow_node_executions",
|
|
1510
|
+
"columns": {
|
|
1511
|
+
"id": {
|
|
1512
|
+
"name": "id",
|
|
1513
|
+
"type": "text",
|
|
1514
|
+
"primaryKey": true,
|
|
1515
|
+
"notNull": true,
|
|
1516
|
+
"autoincrement": false
|
|
1517
|
+
},
|
|
1518
|
+
"execution_id": {
|
|
1519
|
+
"name": "execution_id",
|
|
1520
|
+
"type": "text",
|
|
1521
|
+
"primaryKey": false,
|
|
1522
|
+
"notNull": true,
|
|
1523
|
+
"autoincrement": false
|
|
1524
|
+
},
|
|
1525
|
+
"node_id": {
|
|
1526
|
+
"name": "node_id",
|
|
1527
|
+
"type": "text",
|
|
1528
|
+
"primaryKey": false,
|
|
1529
|
+
"notNull": true,
|
|
1530
|
+
"autoincrement": false
|
|
1531
|
+
},
|
|
1532
|
+
"status": {
|
|
1533
|
+
"name": "status",
|
|
1534
|
+
"type": "text",
|
|
1535
|
+
"primaryKey": false,
|
|
1536
|
+
"notNull": true,
|
|
1537
|
+
"autoincrement": false
|
|
1538
|
+
},
|
|
1539
|
+
"started_at": {
|
|
1540
|
+
"name": "started_at",
|
|
1541
|
+
"type": "text",
|
|
1542
|
+
"primaryKey": false,
|
|
1543
|
+
"notNull": false,
|
|
1544
|
+
"autoincrement": false
|
|
1545
|
+
},
|
|
1546
|
+
"completed_at": {
|
|
1547
|
+
"name": "completed_at",
|
|
1548
|
+
"type": "text",
|
|
1549
|
+
"primaryKey": false,
|
|
1550
|
+
"notNull": false,
|
|
1551
|
+
"autoincrement": false
|
|
1552
|
+
},
|
|
1553
|
+
"output_data": {
|
|
1554
|
+
"name": "output_data",
|
|
1555
|
+
"type": "text",
|
|
1556
|
+
"primaryKey": false,
|
|
1557
|
+
"notNull": false,
|
|
1558
|
+
"autoincrement": false
|
|
1559
|
+
},
|
|
1560
|
+
"error": {
|
|
1561
|
+
"name": "error",
|
|
1562
|
+
"type": "text",
|
|
1563
|
+
"primaryKey": false,
|
|
1564
|
+
"notNull": false,
|
|
1565
|
+
"autoincrement": false
|
|
1566
|
+
},
|
|
1567
|
+
"attempt": {
|
|
1568
|
+
"name": "attempt",
|
|
1569
|
+
"type": "integer",
|
|
1570
|
+
"primaryKey": false,
|
|
1571
|
+
"notNull": true,
|
|
1572
|
+
"autoincrement": false,
|
|
1573
|
+
"default": 1
|
|
1574
|
+
},
|
|
1575
|
+
"cycle": {
|
|
1576
|
+
"name": "cycle",
|
|
1577
|
+
"type": "integer",
|
|
1578
|
+
"primaryKey": false,
|
|
1579
|
+
"notNull": true,
|
|
1580
|
+
"autoincrement": false,
|
|
1581
|
+
"default": 1
|
|
1582
|
+
},
|
|
1583
|
+
"claude_session_id": {
|
|
1584
|
+
"name": "claude_session_id",
|
|
1585
|
+
"type": "text",
|
|
1586
|
+
"primaryKey": false,
|
|
1587
|
+
"notNull": false,
|
|
1588
|
+
"autoincrement": false
|
|
1589
|
+
}
|
|
1590
|
+
},
|
|
1591
|
+
"indexes": {},
|
|
1592
|
+
"foreignKeys": {
|
|
1593
|
+
"workflow_node_executions_execution_id_workflow_executions_id_fk": {
|
|
1594
|
+
"name": "workflow_node_executions_execution_id_workflow_executions_id_fk",
|
|
1595
|
+
"tableFrom": "workflow_node_executions",
|
|
1596
|
+
"tableTo": "workflow_executions",
|
|
1597
|
+
"columnsFrom": [
|
|
1598
|
+
"execution_id"
|
|
1599
|
+
],
|
|
1600
|
+
"columnsTo": [
|
|
1601
|
+
"id"
|
|
1602
|
+
],
|
|
1603
|
+
"onDelete": "no action",
|
|
1604
|
+
"onUpdate": "no action"
|
|
1605
|
+
}
|
|
1606
|
+
},
|
|
1607
|
+
"compositePrimaryKeys": {},
|
|
1608
|
+
"uniqueConstraints": {},
|
|
1609
|
+
"checkConstraints": {}
|
|
1610
|
+
},
|
|
1611
|
+
"workflow_tool_calls": {
|
|
1612
|
+
"name": "workflow_tool_calls",
|
|
1613
|
+
"columns": {
|
|
1614
|
+
"id": {
|
|
1615
|
+
"name": "id",
|
|
1616
|
+
"type": "text",
|
|
1617
|
+
"primaryKey": true,
|
|
1618
|
+
"notNull": true,
|
|
1619
|
+
"autoincrement": false
|
|
1620
|
+
},
|
|
1621
|
+
"node_execution_id": {
|
|
1622
|
+
"name": "node_execution_id",
|
|
1623
|
+
"type": "text",
|
|
1624
|
+
"primaryKey": false,
|
|
1625
|
+
"notNull": true,
|
|
1626
|
+
"autoincrement": false
|
|
1627
|
+
},
|
|
1628
|
+
"timestamp": {
|
|
1629
|
+
"name": "timestamp",
|
|
1630
|
+
"type": "text",
|
|
1631
|
+
"primaryKey": false,
|
|
1632
|
+
"notNull": true,
|
|
1633
|
+
"autoincrement": false
|
|
1634
|
+
},
|
|
1635
|
+
"tool_name": {
|
|
1636
|
+
"name": "tool_name",
|
|
1637
|
+
"type": "text",
|
|
1638
|
+
"primaryKey": false,
|
|
1639
|
+
"notNull": true,
|
|
1640
|
+
"autoincrement": false
|
|
1641
|
+
},
|
|
1642
|
+
"target": {
|
|
1643
|
+
"name": "target",
|
|
1644
|
+
"type": "text",
|
|
1645
|
+
"primaryKey": false,
|
|
1646
|
+
"notNull": true,
|
|
1647
|
+
"autoincrement": false
|
|
1648
|
+
},
|
|
1649
|
+
"created_at": {
|
|
1650
|
+
"name": "created_at",
|
|
1651
|
+
"type": "text",
|
|
1652
|
+
"primaryKey": false,
|
|
1653
|
+
"notNull": true,
|
|
1654
|
+
"autoincrement": false
|
|
1655
|
+
}
|
|
1656
|
+
},
|
|
1657
|
+
"indexes": {},
|
|
1658
|
+
"foreignKeys": {
|
|
1659
|
+
"workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk": {
|
|
1660
|
+
"name": "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk",
|
|
1661
|
+
"tableFrom": "workflow_tool_calls",
|
|
1662
|
+
"tableTo": "workflow_node_executions",
|
|
1663
|
+
"columnsFrom": [
|
|
1664
|
+
"node_execution_id"
|
|
1665
|
+
],
|
|
1666
|
+
"columnsTo": [
|
|
1667
|
+
"id"
|
|
1668
|
+
],
|
|
1669
|
+
"onDelete": "no action",
|
|
1670
|
+
"onUpdate": "no action"
|
|
1671
|
+
}
|
|
1672
|
+
},
|
|
1673
|
+
"compositePrimaryKeys": {},
|
|
1674
|
+
"uniqueConstraints": {},
|
|
1675
|
+
"checkConstraints": {}
|
|
1676
|
+
},
|
|
1677
|
+
"workflows": {
|
|
1678
|
+
"name": "workflows",
|
|
1679
|
+
"columns": {
|
|
1680
|
+
"id": {
|
|
1681
|
+
"name": "id",
|
|
1682
|
+
"type": "text",
|
|
1683
|
+
"primaryKey": true,
|
|
1684
|
+
"notNull": true,
|
|
1685
|
+
"autoincrement": false
|
|
1686
|
+
},
|
|
1687
|
+
"name": {
|
|
1688
|
+
"name": "name",
|
|
1689
|
+
"type": "text",
|
|
1690
|
+
"primaryKey": false,
|
|
1691
|
+
"notNull": true,
|
|
1692
|
+
"autoincrement": false
|
|
1693
|
+
},
|
|
1694
|
+
"description": {
|
|
1695
|
+
"name": "description",
|
|
1696
|
+
"type": "text",
|
|
1697
|
+
"primaryKey": false,
|
|
1698
|
+
"notNull": false,
|
|
1699
|
+
"autoincrement": false
|
|
1700
|
+
},
|
|
1701
|
+
"project_id": {
|
|
1702
|
+
"name": "project_id",
|
|
1703
|
+
"type": "text",
|
|
1704
|
+
"primaryKey": false,
|
|
1705
|
+
"notNull": false,
|
|
1706
|
+
"autoincrement": false
|
|
1707
|
+
},
|
|
1708
|
+
"feature_type": {
|
|
1709
|
+
"name": "feature_type",
|
|
1710
|
+
"type": "text",
|
|
1711
|
+
"primaryKey": false,
|
|
1712
|
+
"notNull": false,
|
|
1713
|
+
"autoincrement": false
|
|
1714
|
+
},
|
|
1715
|
+
"trigger_column": {
|
|
1716
|
+
"name": "trigger_column",
|
|
1717
|
+
"type": "text",
|
|
1718
|
+
"primaryKey": false,
|
|
1719
|
+
"notNull": false,
|
|
1720
|
+
"autoincrement": false
|
|
1721
|
+
},
|
|
1722
|
+
"is_default": {
|
|
1723
|
+
"name": "is_default",
|
|
1724
|
+
"type": "integer",
|
|
1725
|
+
"primaryKey": false,
|
|
1726
|
+
"notNull": true,
|
|
1727
|
+
"autoincrement": false,
|
|
1728
|
+
"default": 0
|
|
1729
|
+
},
|
|
1730
|
+
"graph_data": {
|
|
1731
|
+
"name": "graph_data",
|
|
1732
|
+
"type": "text",
|
|
1733
|
+
"primaryKey": false,
|
|
1734
|
+
"notNull": true,
|
|
1735
|
+
"autoincrement": false
|
|
1736
|
+
},
|
|
1737
|
+
"created_at": {
|
|
1738
|
+
"name": "created_at",
|
|
1739
|
+
"type": "text",
|
|
1740
|
+
"primaryKey": false,
|
|
1741
|
+
"notNull": true,
|
|
1742
|
+
"autoincrement": false
|
|
1743
|
+
},
|
|
1744
|
+
"updated_at": {
|
|
1745
|
+
"name": "updated_at",
|
|
1746
|
+
"type": "text",
|
|
1747
|
+
"primaryKey": false,
|
|
1748
|
+
"notNull": true,
|
|
1749
|
+
"autoincrement": false
|
|
1750
|
+
}
|
|
1751
|
+
},
|
|
1752
|
+
"indexes": {},
|
|
1753
|
+
"foreignKeys": {},
|
|
1754
|
+
"compositePrimaryKeys": {},
|
|
1755
|
+
"uniqueConstraints": {},
|
|
1756
|
+
"checkConstraints": {}
|
|
807
1757
|
}
|
|
808
1758
|
},
|
|
809
1759
|
"views": {},
|