@assistkick/create 1.18.0 → 1.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/package.json +1 -1
  2. package/templates/assistkick-product-system/packages/backend/src/routes/mcp_config.ts +89 -0
  3. package/templates/assistkick-product-system/packages/backend/src/server.ts +8 -1
  4. package/templates/assistkick-product-system/packages/backend/src/services/chat_cli_bridge.ts +7 -0
  5. package/templates/assistkick-product-system/packages/backend/src/services/chat_ws_handler.ts +26 -1
  6. package/templates/assistkick-product-system/packages/backend/src/services/mcp_config_service.ts +134 -0
  7. package/templates/assistkick-product-system/packages/frontend/src/api/client.ts +34 -0
  8. package/templates/assistkick-product-system/packages/frontend/src/components/ChatView.tsx +14 -1
  9. package/templates/assistkick-product-system/packages/frontend/src/components/McpConfigModal.tsx +208 -0
  10. package/templates/assistkick-product-system/packages/shared/db/migrations/0001_superb_roxanne_simpson.sql +8 -0
  11. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0001_snapshot.json +1019 -23
  12. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/_journal.json +7 -0
  13. package/templates/assistkick-product-system/packages/shared/db/schema.ts +10 -0
  14. package/templates/assistkick-product-system/packages/shared/lib/app_use_flow.ts +484 -0
  15. package/templates/assistkick-product-system/packages/shared/lib/openapi.ts +146 -0
  16. package/templates/assistkick-product-system/packages/shared/package.json +2 -1
  17. package/templates/assistkick-product-system/packages/shared/tools/agent_builder.ts +341 -0
  18. package/templates/assistkick-product-system/packages/shared/tools/app_use_record.ts +268 -0
  19. package/templates/assistkick-product-system/packages/shared/tools/app_use_run.ts +348 -0
  20. package/templates/assistkick-product-system/packages/shared/tools/app_use_validate.ts +67 -0
  21. package/templates/assistkick-product-system/packages/shared/tools/openapi_describe.ts +59 -0
  22. package/templates/assistkick-product-system/packages/shared/tools/openapi_list.ts +69 -0
  23. package/templates/assistkick-product-system/packages/shared/tools/openapi_schema.ts +67 -0
  24. package/templates/assistkick-product-system/packages/shared/tools/workflow_builder.ts +754 -0
  25. package/templates/skills/assistkick-agent-builder/SKILL.md +168 -0
  26. package/templates/skills/assistkick-app-use/SKILL.md +296 -0
  27. package/templates/skills/assistkick-app-use/references/agent-browser.md +1156 -0
  28. package/templates/skills/assistkick-openapi-explorer/SKILL.md +78 -0
  29. package/templates/skills/assistkick-openapi-explorer/cache/.gitignore +2 -0
  30. package/templates/skills/assistkick-workflow-builder/SKILL.md +234 -0
@@ -1,9 +1,263 @@
1
1
  {
2
2
  "version": "6",
3
3
  "dialect": "sqlite",
4
- "id": "75275db8-649d-413c-b89f-d78f75475504",
5
- "prevId": "9a02b464-8560-485f-a247-6669f71c84bd",
4
+ "id": "257c94d1-e26b-4a78-9613-1893ca777b9d",
5
+ "prevId": "c91cd697-e8d5-4c49-ab38-1f414599442e",
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
- "pipeline_state": {
464
- "name": "pipeline_state",
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": true,
737
+ "primaryKey": false,
470
738
  "notNull": true,
471
739
  "autoincrement": false
472
740
  },
473
- "status": {
474
- "name": "status",
741
+ "stage": {
742
+ "name": "stage",
475
743
  "type": "text",
476
744
  "primaryKey": false,
477
745
  "notNull": true,
@@ -482,33 +750,85 @@
482
750
  "type": "integer",
483
751
  "primaryKey": false,
484
752
  "notNull": true,
485
- "autoincrement": false,
486
- "default": 1
753
+ "autoincrement": false
487
754
  },
488
- "tasks_json": {
489
- "name": "tasks_json",
755
+ "output": {
756
+ "name": "output",
490
757
  "type": "text",
491
758
  "primaryKey": false,
492
- "notNull": false,
759
+ "notNull": true,
493
760
  "autoincrement": false
494
761
  },
495
- "tool_calls_json": {
496
- "name": "tool_calls_json",
762
+ "created_at": {
763
+ "name": "created_at",
497
764
  "type": "text",
498
765
  "primaryKey": false,
499
- "notNull": false,
766
+ "notNull": true,
500
767
  "autoincrement": false
501
768
  },
502
- "work_summaries_json": {
503
- "name": "work_summaries_json",
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
- "stage_stats_json": {
510
- "name": "stage_stats_json",
511
- "type": "text",
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",
512
832
  "primaryKey": false,
513
833
  "notNull": false,
514
834
  "autoincrement": false
@@ -558,6 +878,14 @@
558
878
  "notNull": true,
559
879
  "autoincrement": false
560
880
  },
881
+ "type": {
882
+ "name": "type",
883
+ "type": "text",
884
+ "primaryKey": false,
885
+ "notNull": true,
886
+ "autoincrement": false,
887
+ "default": "'software'"
888
+ },
561
889
  "is_default": {
562
890
  "name": "is_default",
563
891
  "type": "integer",
@@ -573,6 +901,62 @@
573
901
  "notNull": false,
574
902
  "autoincrement": false
575
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
+ },
576
960
  "created_at": {
577
961
  "name": "created_at",
578
962
  "type": "text",
@@ -690,7 +1074,7 @@
690
1074
  "session_number": {
691
1075
  "name": "session_number",
692
1076
  "type": "integer",
693
- "primaryKey": true,
1077
+ "primaryKey": false,
694
1078
  "notNull": true,
695
1079
  "autoincrement": false
696
1080
  },
@@ -741,7 +1125,135 @@
741
1125
  "name": "project_id",
742
1126
  "type": "text",
743
1127
  "primaryKey": false,
744
- "notNull": false,
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,
1204
+ "autoincrement": false
1205
+ }
1206
+ },
1207
+ "indexes": {},
1208
+ "foreignKeys": {},
1209
+ "compositePrimaryKeys": {},
1210
+ "uniqueConstraints": {},
1211
+ "checkConstraints": {}
1212
+ },
1213
+ "user_mcp_configs": {
1214
+ "name": "user_mcp_configs",
1215
+ "columns": {
1216
+ "id": {
1217
+ "name": "id",
1218
+ "type": "text",
1219
+ "primaryKey": true,
1220
+ "notNull": true,
1221
+ "autoincrement": false
1222
+ },
1223
+ "user_id": {
1224
+ "name": "user_id",
1225
+ "type": "text",
1226
+ "primaryKey": false,
1227
+ "notNull": true,
1228
+ "autoincrement": false
1229
+ },
1230
+ "config_type": {
1231
+ "name": "config_type",
1232
+ "type": "text",
1233
+ "primaryKey": false,
1234
+ "notNull": true,
1235
+ "autoincrement": false
1236
+ },
1237
+ "mcp_servers_json": {
1238
+ "name": "mcp_servers_json",
1239
+ "type": "text",
1240
+ "primaryKey": false,
1241
+ "notNull": true,
1242
+ "autoincrement": false,
1243
+ "default": "'{}'"
1244
+ },
1245
+ "created_at": {
1246
+ "name": "created_at",
1247
+ "type": "text",
1248
+ "primaryKey": false,
1249
+ "notNull": true,
1250
+ "autoincrement": false
1251
+ },
1252
+ "updated_at": {
1253
+ "name": "updated_at",
1254
+ "type": "text",
1255
+ "primaryKey": false,
1256
+ "notNull": true,
745
1257
  "autoincrement": false
746
1258
  }
747
1259
  },
@@ -811,6 +1323,490 @@
811
1323
  "compositePrimaryKeys": {},
812
1324
  "uniqueConstraints": {},
813
1325
  "checkConstraints": {}
1326
+ },
1327
+ "video_renders": {
1328
+ "name": "video_renders",
1329
+ "columns": {
1330
+ "id": {
1331
+ "name": "id",
1332
+ "type": "text",
1333
+ "primaryKey": true,
1334
+ "notNull": true,
1335
+ "autoincrement": false
1336
+ },
1337
+ "project_id": {
1338
+ "name": "project_id",
1339
+ "type": "text",
1340
+ "primaryKey": false,
1341
+ "notNull": true,
1342
+ "autoincrement": false
1343
+ },
1344
+ "feature_id": {
1345
+ "name": "feature_id",
1346
+ "type": "text",
1347
+ "primaryKey": false,
1348
+ "notNull": false,
1349
+ "autoincrement": false
1350
+ },
1351
+ "composition_id": {
1352
+ "name": "composition_id",
1353
+ "type": "text",
1354
+ "primaryKey": false,
1355
+ "notNull": true,
1356
+ "autoincrement": false
1357
+ },
1358
+ "status": {
1359
+ "name": "status",
1360
+ "type": "text",
1361
+ "primaryKey": false,
1362
+ "notNull": true,
1363
+ "autoincrement": false
1364
+ },
1365
+ "progress": {
1366
+ "name": "progress",
1367
+ "type": "real",
1368
+ "primaryKey": false,
1369
+ "notNull": true,
1370
+ "autoincrement": false,
1371
+ "default": 0
1372
+ },
1373
+ "file_path": {
1374
+ "name": "file_path",
1375
+ "type": "text",
1376
+ "primaryKey": false,
1377
+ "notNull": false,
1378
+ "autoincrement": false
1379
+ },
1380
+ "file_size": {
1381
+ "name": "file_size",
1382
+ "type": "integer",
1383
+ "primaryKey": false,
1384
+ "notNull": false,
1385
+ "autoincrement": false
1386
+ },
1387
+ "duration_seconds": {
1388
+ "name": "duration_seconds",
1389
+ "type": "real",
1390
+ "primaryKey": false,
1391
+ "notNull": false,
1392
+ "autoincrement": false
1393
+ },
1394
+ "error": {
1395
+ "name": "error",
1396
+ "type": "text",
1397
+ "primaryKey": false,
1398
+ "notNull": false,
1399
+ "autoincrement": false
1400
+ },
1401
+ "resolution": {
1402
+ "name": "resolution",
1403
+ "type": "text",
1404
+ "primaryKey": false,
1405
+ "notNull": false,
1406
+ "autoincrement": false
1407
+ },
1408
+ "created_at": {
1409
+ "name": "created_at",
1410
+ "type": "text",
1411
+ "primaryKey": false,
1412
+ "notNull": true,
1413
+ "autoincrement": false
1414
+ },
1415
+ "completed_at": {
1416
+ "name": "completed_at",
1417
+ "type": "text",
1418
+ "primaryKey": false,
1419
+ "notNull": false,
1420
+ "autoincrement": false
1421
+ }
1422
+ },
1423
+ "indexes": {},
1424
+ "foreignKeys": {},
1425
+ "compositePrimaryKeys": {},
1426
+ "uniqueConstraints": {},
1427
+ "checkConstraints": {}
1428
+ },
1429
+ "workflow_executions": {
1430
+ "name": "workflow_executions",
1431
+ "columns": {
1432
+ "id": {
1433
+ "name": "id",
1434
+ "type": "text",
1435
+ "primaryKey": true,
1436
+ "notNull": true,
1437
+ "autoincrement": false
1438
+ },
1439
+ "workflow_id": {
1440
+ "name": "workflow_id",
1441
+ "type": "text",
1442
+ "primaryKey": false,
1443
+ "notNull": true,
1444
+ "autoincrement": false
1445
+ },
1446
+ "feature_id": {
1447
+ "name": "feature_id",
1448
+ "type": "text",
1449
+ "primaryKey": false,
1450
+ "notNull": true,
1451
+ "autoincrement": false
1452
+ },
1453
+ "status": {
1454
+ "name": "status",
1455
+ "type": "text",
1456
+ "primaryKey": false,
1457
+ "notNull": true,
1458
+ "autoincrement": false
1459
+ },
1460
+ "current_node_id": {
1461
+ "name": "current_node_id",
1462
+ "type": "text",
1463
+ "primaryKey": false,
1464
+ "notNull": false,
1465
+ "autoincrement": false
1466
+ },
1467
+ "context": {
1468
+ "name": "context",
1469
+ "type": "text",
1470
+ "primaryKey": false,
1471
+ "notNull": true,
1472
+ "autoincrement": false
1473
+ },
1474
+ "started_at": {
1475
+ "name": "started_at",
1476
+ "type": "text",
1477
+ "primaryKey": false,
1478
+ "notNull": true,
1479
+ "autoincrement": false
1480
+ },
1481
+ "updated_at": {
1482
+ "name": "updated_at",
1483
+ "type": "text",
1484
+ "primaryKey": false,
1485
+ "notNull": true,
1486
+ "autoincrement": false
1487
+ }
1488
+ },
1489
+ "indexes": {},
1490
+ "foreignKeys": {
1491
+ "workflow_executions_workflow_id_workflows_id_fk": {
1492
+ "name": "workflow_executions_workflow_id_workflows_id_fk",
1493
+ "tableFrom": "workflow_executions",
1494
+ "tableTo": "workflows",
1495
+ "columnsFrom": [
1496
+ "workflow_id"
1497
+ ],
1498
+ "columnsTo": [
1499
+ "id"
1500
+ ],
1501
+ "onDelete": "no action",
1502
+ "onUpdate": "no action"
1503
+ }
1504
+ },
1505
+ "compositePrimaryKeys": {},
1506
+ "uniqueConstraints": {},
1507
+ "checkConstraints": {}
1508
+ },
1509
+ "workflow_groups": {
1510
+ "name": "workflow_groups",
1511
+ "columns": {
1512
+ "id": {
1513
+ "name": "id",
1514
+ "type": "text",
1515
+ "primaryKey": true,
1516
+ "notNull": true,
1517
+ "autoincrement": false
1518
+ },
1519
+ "name": {
1520
+ "name": "name",
1521
+ "type": "text",
1522
+ "primaryKey": false,
1523
+ "notNull": true,
1524
+ "autoincrement": false
1525
+ },
1526
+ "project_id": {
1527
+ "name": "project_id",
1528
+ "type": "text",
1529
+ "primaryKey": false,
1530
+ "notNull": false,
1531
+ "autoincrement": false
1532
+ },
1533
+ "graph_data": {
1534
+ "name": "graph_data",
1535
+ "type": "text",
1536
+ "primaryKey": false,
1537
+ "notNull": true,
1538
+ "autoincrement": false
1539
+ },
1540
+ "created_at": {
1541
+ "name": "created_at",
1542
+ "type": "text",
1543
+ "primaryKey": false,
1544
+ "notNull": true,
1545
+ "autoincrement": false
1546
+ },
1547
+ "updated_at": {
1548
+ "name": "updated_at",
1549
+ "type": "text",
1550
+ "primaryKey": false,
1551
+ "notNull": true,
1552
+ "autoincrement": false
1553
+ }
1554
+ },
1555
+ "indexes": {},
1556
+ "foreignKeys": {},
1557
+ "compositePrimaryKeys": {},
1558
+ "uniqueConstraints": {},
1559
+ "checkConstraints": {}
1560
+ },
1561
+ "workflow_node_executions": {
1562
+ "name": "workflow_node_executions",
1563
+ "columns": {
1564
+ "id": {
1565
+ "name": "id",
1566
+ "type": "text",
1567
+ "primaryKey": true,
1568
+ "notNull": true,
1569
+ "autoincrement": false
1570
+ },
1571
+ "execution_id": {
1572
+ "name": "execution_id",
1573
+ "type": "text",
1574
+ "primaryKey": false,
1575
+ "notNull": true,
1576
+ "autoincrement": false
1577
+ },
1578
+ "node_id": {
1579
+ "name": "node_id",
1580
+ "type": "text",
1581
+ "primaryKey": false,
1582
+ "notNull": true,
1583
+ "autoincrement": false
1584
+ },
1585
+ "status": {
1586
+ "name": "status",
1587
+ "type": "text",
1588
+ "primaryKey": false,
1589
+ "notNull": true,
1590
+ "autoincrement": false
1591
+ },
1592
+ "started_at": {
1593
+ "name": "started_at",
1594
+ "type": "text",
1595
+ "primaryKey": false,
1596
+ "notNull": false,
1597
+ "autoincrement": false
1598
+ },
1599
+ "completed_at": {
1600
+ "name": "completed_at",
1601
+ "type": "text",
1602
+ "primaryKey": false,
1603
+ "notNull": false,
1604
+ "autoincrement": false
1605
+ },
1606
+ "output_data": {
1607
+ "name": "output_data",
1608
+ "type": "text",
1609
+ "primaryKey": false,
1610
+ "notNull": false,
1611
+ "autoincrement": false
1612
+ },
1613
+ "error": {
1614
+ "name": "error",
1615
+ "type": "text",
1616
+ "primaryKey": false,
1617
+ "notNull": false,
1618
+ "autoincrement": false
1619
+ },
1620
+ "attempt": {
1621
+ "name": "attempt",
1622
+ "type": "integer",
1623
+ "primaryKey": false,
1624
+ "notNull": true,
1625
+ "autoincrement": false,
1626
+ "default": 1
1627
+ },
1628
+ "cycle": {
1629
+ "name": "cycle",
1630
+ "type": "integer",
1631
+ "primaryKey": false,
1632
+ "notNull": true,
1633
+ "autoincrement": false,
1634
+ "default": 1
1635
+ },
1636
+ "claude_session_id": {
1637
+ "name": "claude_session_id",
1638
+ "type": "text",
1639
+ "primaryKey": false,
1640
+ "notNull": false,
1641
+ "autoincrement": false
1642
+ }
1643
+ },
1644
+ "indexes": {},
1645
+ "foreignKeys": {
1646
+ "workflow_node_executions_execution_id_workflow_executions_id_fk": {
1647
+ "name": "workflow_node_executions_execution_id_workflow_executions_id_fk",
1648
+ "tableFrom": "workflow_node_executions",
1649
+ "tableTo": "workflow_executions",
1650
+ "columnsFrom": [
1651
+ "execution_id"
1652
+ ],
1653
+ "columnsTo": [
1654
+ "id"
1655
+ ],
1656
+ "onDelete": "no action",
1657
+ "onUpdate": "no action"
1658
+ }
1659
+ },
1660
+ "compositePrimaryKeys": {},
1661
+ "uniqueConstraints": {},
1662
+ "checkConstraints": {}
1663
+ },
1664
+ "workflow_tool_calls": {
1665
+ "name": "workflow_tool_calls",
1666
+ "columns": {
1667
+ "id": {
1668
+ "name": "id",
1669
+ "type": "text",
1670
+ "primaryKey": true,
1671
+ "notNull": true,
1672
+ "autoincrement": false
1673
+ },
1674
+ "node_execution_id": {
1675
+ "name": "node_execution_id",
1676
+ "type": "text",
1677
+ "primaryKey": false,
1678
+ "notNull": true,
1679
+ "autoincrement": false
1680
+ },
1681
+ "timestamp": {
1682
+ "name": "timestamp",
1683
+ "type": "text",
1684
+ "primaryKey": false,
1685
+ "notNull": true,
1686
+ "autoincrement": false
1687
+ },
1688
+ "tool_name": {
1689
+ "name": "tool_name",
1690
+ "type": "text",
1691
+ "primaryKey": false,
1692
+ "notNull": true,
1693
+ "autoincrement": false
1694
+ },
1695
+ "target": {
1696
+ "name": "target",
1697
+ "type": "text",
1698
+ "primaryKey": false,
1699
+ "notNull": true,
1700
+ "autoincrement": false
1701
+ },
1702
+ "created_at": {
1703
+ "name": "created_at",
1704
+ "type": "text",
1705
+ "primaryKey": false,
1706
+ "notNull": true,
1707
+ "autoincrement": false
1708
+ }
1709
+ },
1710
+ "indexes": {},
1711
+ "foreignKeys": {
1712
+ "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk": {
1713
+ "name": "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk",
1714
+ "tableFrom": "workflow_tool_calls",
1715
+ "tableTo": "workflow_node_executions",
1716
+ "columnsFrom": [
1717
+ "node_execution_id"
1718
+ ],
1719
+ "columnsTo": [
1720
+ "id"
1721
+ ],
1722
+ "onDelete": "no action",
1723
+ "onUpdate": "no action"
1724
+ }
1725
+ },
1726
+ "compositePrimaryKeys": {},
1727
+ "uniqueConstraints": {},
1728
+ "checkConstraints": {}
1729
+ },
1730
+ "workflows": {
1731
+ "name": "workflows",
1732
+ "columns": {
1733
+ "id": {
1734
+ "name": "id",
1735
+ "type": "text",
1736
+ "primaryKey": true,
1737
+ "notNull": true,
1738
+ "autoincrement": false
1739
+ },
1740
+ "name": {
1741
+ "name": "name",
1742
+ "type": "text",
1743
+ "primaryKey": false,
1744
+ "notNull": true,
1745
+ "autoincrement": false
1746
+ },
1747
+ "description": {
1748
+ "name": "description",
1749
+ "type": "text",
1750
+ "primaryKey": false,
1751
+ "notNull": false,
1752
+ "autoincrement": false
1753
+ },
1754
+ "project_id": {
1755
+ "name": "project_id",
1756
+ "type": "text",
1757
+ "primaryKey": false,
1758
+ "notNull": false,
1759
+ "autoincrement": false
1760
+ },
1761
+ "feature_type": {
1762
+ "name": "feature_type",
1763
+ "type": "text",
1764
+ "primaryKey": false,
1765
+ "notNull": false,
1766
+ "autoincrement": false
1767
+ },
1768
+ "trigger_column": {
1769
+ "name": "trigger_column",
1770
+ "type": "text",
1771
+ "primaryKey": false,
1772
+ "notNull": false,
1773
+ "autoincrement": false
1774
+ },
1775
+ "is_default": {
1776
+ "name": "is_default",
1777
+ "type": "integer",
1778
+ "primaryKey": false,
1779
+ "notNull": true,
1780
+ "autoincrement": false,
1781
+ "default": 0
1782
+ },
1783
+ "graph_data": {
1784
+ "name": "graph_data",
1785
+ "type": "text",
1786
+ "primaryKey": false,
1787
+ "notNull": true,
1788
+ "autoincrement": false
1789
+ },
1790
+ "created_at": {
1791
+ "name": "created_at",
1792
+ "type": "text",
1793
+ "primaryKey": false,
1794
+ "notNull": true,
1795
+ "autoincrement": false
1796
+ },
1797
+ "updated_at": {
1798
+ "name": "updated_at",
1799
+ "type": "text",
1800
+ "primaryKey": false,
1801
+ "notNull": true,
1802
+ "autoincrement": false
1803
+ }
1804
+ },
1805
+ "indexes": {},
1806
+ "foreignKeys": {},
1807
+ "compositePrimaryKeys": {},
1808
+ "uniqueConstraints": {},
1809
+ "checkConstraints": {}
814
1810
  }
815
1811
  },
816
1812
  "views": {},