@assistkick/create 1.6.0 → 1.8.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 (214) hide show
  1. package/package.json +2 -2
  2. package/templates/assistkick-product-system/.env.example +1 -0
  3. package/templates/assistkick-product-system/local.db +0 -0
  4. package/templates/assistkick-product-system/package.json +4 -2
  5. package/templates/assistkick-product-system/packages/backend/package.json +2 -0
  6. package/templates/assistkick-product-system/packages/backend/src/routes/agents.ts +165 -0
  7. package/templates/assistkick-product-system/packages/backend/src/routes/files.test.ts +358 -0
  8. package/templates/assistkick-product-system/packages/backend/src/routes/files.ts +356 -0
  9. package/templates/assistkick-product-system/packages/backend/src/routes/git.ts +96 -1
  10. package/templates/assistkick-product-system/packages/backend/src/routes/graph.ts +1 -0
  11. package/templates/assistkick-product-system/packages/backend/src/routes/kanban.ts +43 -4
  12. package/templates/assistkick-product-system/packages/backend/src/routes/pipeline.ts +200 -84
  13. package/templates/assistkick-product-system/packages/backend/src/routes/projects.ts +6 -3
  14. package/templates/assistkick-product-system/packages/backend/src/routes/terminal.ts +53 -17
  15. package/templates/assistkick-product-system/packages/backend/src/routes/video.ts +218 -0
  16. package/templates/assistkick-product-system/packages/backend/src/routes/workflow_groups.ts +119 -0
  17. package/templates/assistkick-product-system/packages/backend/src/routes/workflows.ts +154 -0
  18. package/templates/assistkick-product-system/packages/backend/src/server.ts +81 -9
  19. package/templates/assistkick-product-system/packages/backend/src/services/agent_service.test.ts +489 -0
  20. package/templates/assistkick-product-system/packages/backend/src/services/agent_service.ts +416 -0
  21. package/templates/assistkick-product-system/packages/backend/src/services/bundle_service.test.ts +189 -0
  22. package/templates/assistkick-product-system/packages/backend/src/services/bundle_service.ts +182 -0
  23. package/templates/assistkick-product-system/packages/backend/src/services/init.ts +28 -78
  24. package/templates/assistkick-product-system/packages/backend/src/services/project_service.test.ts +16 -0
  25. package/templates/assistkick-product-system/packages/backend/src/services/project_service.ts +73 -2
  26. package/templates/assistkick-product-system/packages/backend/src/services/project_workspace_service.test.ts +4 -4
  27. package/templates/assistkick-product-system/packages/backend/src/services/project_workspace_service.ts +87 -11
  28. package/templates/assistkick-product-system/packages/backend/src/services/pty_session_manager.test.ts +210 -69
  29. package/templates/assistkick-product-system/packages/backend/src/services/pty_session_manager.ts +210 -215
  30. package/templates/assistkick-product-system/packages/backend/src/services/ssh_key_service.test.ts +162 -0
  31. package/templates/assistkick-product-system/packages/backend/src/services/ssh_key_service.ts +148 -0
  32. package/templates/assistkick-product-system/packages/backend/src/services/terminal_ws_handler.ts +11 -5
  33. package/templates/assistkick-product-system/packages/backend/src/services/tts_service.test.ts +64 -0
  34. package/templates/assistkick-product-system/packages/backend/src/services/tts_service.ts +134 -0
  35. package/templates/assistkick-product-system/packages/backend/src/services/video_render_service.test.ts +256 -0
  36. package/templates/assistkick-product-system/packages/backend/src/services/video_render_service.ts +258 -0
  37. package/templates/assistkick-product-system/packages/backend/src/services/workflow_group_service.ts +106 -0
  38. package/templates/assistkick-product-system/packages/backend/src/services/workflow_service.test.ts +275 -0
  39. package/templates/assistkick-product-system/packages/backend/src/services/workflow_service.ts +222 -0
  40. package/templates/assistkick-product-system/packages/frontend/index.html +3 -0
  41. package/templates/assistkick-product-system/packages/frontend/package-lock.json +800 -11
  42. package/templates/assistkick-product-system/packages/frontend/package.json +11 -1
  43. package/templates/assistkick-product-system/packages/frontend/src/App.tsx +24 -7
  44. package/templates/assistkick-product-system/packages/frontend/src/api/client.ts +456 -16
  45. package/templates/assistkick-product-system/packages/frontend/src/api/client_files.test.ts +172 -0
  46. package/templates/assistkick-product-system/packages/frontend/src/api/client_video.test.ts +238 -0
  47. package/templates/assistkick-product-system/packages/frontend/src/components/AgentsView.tsx +307 -0
  48. package/templates/assistkick-product-system/packages/frontend/src/components/CoherenceView.tsx +82 -66
  49. package/templates/assistkick-product-system/packages/frontend/src/components/CompositionPlaceholder.tsx +97 -0
  50. package/templates/assistkick-product-system/packages/frontend/src/components/DesignSystemView.tsx +383 -0
  51. package/templates/assistkick-product-system/packages/frontend/src/components/EditorTabBar.tsx +57 -0
  52. package/templates/assistkick-product-system/packages/frontend/src/components/FileTree.tsx +313 -0
  53. package/templates/assistkick-product-system/packages/frontend/src/components/FileTreeContextMenu.tsx +61 -0
  54. package/templates/assistkick-product-system/packages/frontend/src/components/FileTreeInlineInput.tsx +73 -0
  55. package/templates/assistkick-product-system/packages/frontend/src/components/FilesView.tsx +404 -0
  56. package/templates/assistkick-product-system/packages/frontend/src/components/GitRepoModal.tsx +193 -64
  57. package/templates/assistkick-product-system/packages/frontend/src/components/GraphLegend.tsx +71 -73
  58. package/templates/assistkick-product-system/packages/frontend/src/components/GraphSettings.tsx +8 -8
  59. package/templates/assistkick-product-system/packages/frontend/src/components/GraphView.tsx +1 -1
  60. package/templates/assistkick-product-system/packages/frontend/src/components/InviteUserDialog.tsx +15 -11
  61. package/templates/assistkick-product-system/packages/frontend/src/components/KanbanView.tsx +226 -291
  62. package/templates/assistkick-product-system/packages/frontend/src/components/LoginPage.tsx +14 -14
  63. package/templates/assistkick-product-system/packages/frontend/src/components/ProjectSelector.tsx +54 -33
  64. package/templates/assistkick-product-system/packages/frontend/src/components/QaIssueSheet.tsx +40 -66
  65. package/templates/assistkick-product-system/packages/frontend/src/components/SidePanel.tsx +55 -115
  66. package/templates/assistkick-product-system/packages/frontend/src/components/TerminalView.tsx +121 -52
  67. package/templates/assistkick-product-system/packages/frontend/src/components/Toolbar.tsx +155 -77
  68. package/templates/assistkick-product-system/packages/frontend/src/components/UsersView.tsx +52 -52
  69. package/templates/assistkick-product-system/packages/frontend/src/components/VideoGallery.tsx +313 -0
  70. package/templates/assistkick-product-system/packages/frontend/src/components/VideographyView.tsx +250 -0
  71. package/templates/assistkick-product-system/packages/frontend/src/components/WorkflowsView.tsx +474 -0
  72. package/templates/assistkick-product-system/packages/frontend/src/components/ds/AccentBorderList.tsx +53 -0
  73. package/templates/assistkick-product-system/packages/frontend/src/components/ds/Button.tsx +87 -0
  74. package/templates/assistkick-product-system/packages/frontend/src/components/ds/ButtonGroup.tsx +29 -0
  75. package/templates/assistkick-product-system/packages/frontend/src/components/ds/ButtonShowcase.tsx +221 -0
  76. package/templates/assistkick-product-system/packages/frontend/src/components/ds/CardGlass.tsx +141 -0
  77. package/templates/assistkick-product-system/packages/frontend/src/components/ds/CompletionRing.tsx +30 -0
  78. package/templates/assistkick-product-system/packages/frontend/src/components/ds/ContentCard.tsx +34 -0
  79. package/templates/assistkick-product-system/packages/frontend/src/components/ds/IconButton.tsx +74 -0
  80. package/templates/assistkick-product-system/packages/frontend/src/components/ds/KanbanCard.tsx +270 -0
  81. package/templates/assistkick-product-system/packages/frontend/src/components/ds/KanbanCardShowcase.tsx +37 -0
  82. package/templates/assistkick-product-system/packages/frontend/src/components/ds/Kbd.tsx +11 -0
  83. package/templates/assistkick-product-system/packages/frontend/src/components/ds/KindBadge.tsx +21 -0
  84. package/templates/assistkick-product-system/packages/frontend/src/components/ds/NavBarSidekick.tsx +207 -0
  85. package/templates/assistkick-product-system/packages/frontend/src/components/ds/SidePanelShowcase.tsx +370 -0
  86. package/templates/assistkick-product-system/packages/frontend/src/components/ds/SideSheet.tsx +64 -0
  87. package/templates/assistkick-product-system/packages/frontend/src/components/ds/StatusDot.tsx +18 -0
  88. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/CheckCardPositionNode.tsx +36 -0
  89. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/CheckCycleCountNode.tsx +60 -0
  90. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/EndNode.tsx +42 -0
  91. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/GroupNode.tsx +189 -0
  92. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/NodePalette.tsx +123 -0
  93. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/RunAgentNode.tsx +51 -0
  94. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/SetCardMetadataNode.tsx +53 -0
  95. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/StartNode.tsx +18 -0
  96. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/TransitionCardNode.tsx +59 -0
  97. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/WorkflowCanvas.tsx +335 -0
  98. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/WorkflowMonitorModal.tsx +634 -0
  99. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/autoLayout.ts +103 -0
  100. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/edgeColors.ts +35 -0
  101. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/monitor_nodes.tsx +208 -0
  102. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/workflow_types.test.ts +119 -0
  103. package/templates/assistkick-product-system/packages/frontend/src/components/workflow/workflow_types.ts +107 -0
  104. package/templates/assistkick-product-system/packages/frontend/src/constants/graph.ts +13 -11
  105. package/templates/assistkick-product-system/packages/frontend/src/hooks/useAutoSave.ts +75 -0
  106. package/templates/assistkick-product-system/packages/frontend/src/hooks/useGraph.ts +6 -21
  107. package/templates/assistkick-product-system/packages/frontend/src/hooks/useProjects.ts +15 -80
  108. package/templates/assistkick-product-system/packages/frontend/src/hooks/useToast.tsx +16 -3
  109. package/templates/assistkick-product-system/packages/frontend/src/pages/accept_invitation_page.tsx +30 -27
  110. package/templates/assistkick-product-system/packages/frontend/src/pages/forgot_password_page.tsx +18 -15
  111. package/templates/assistkick-product-system/packages/frontend/src/pages/register_page.tsx +21 -18
  112. package/templates/assistkick-product-system/packages/frontend/src/pages/reset_password_page.tsx +28 -25
  113. package/templates/assistkick-product-system/packages/frontend/src/routes/AgentsRoute.tsx +6 -0
  114. package/templates/assistkick-product-system/packages/frontend/src/routes/CoherenceRoute.tsx +19 -0
  115. package/templates/assistkick-product-system/packages/frontend/src/routes/DashboardLayout.tsx +54 -0
  116. package/templates/assistkick-product-system/packages/frontend/src/routes/DesignSystemRoute.tsx +6 -0
  117. package/templates/assistkick-product-system/packages/frontend/src/routes/FilesRoute.tsx +13 -0
  118. package/templates/assistkick-product-system/packages/frontend/src/routes/GraphRoute.tsx +93 -0
  119. package/templates/assistkick-product-system/packages/frontend/src/routes/KanbanRoute.tsx +30 -0
  120. package/templates/assistkick-product-system/packages/frontend/src/routes/TerminalRoute.tsx +9 -0
  121. package/templates/assistkick-product-system/packages/frontend/src/routes/UsersRoute.tsx +6 -0
  122. package/templates/assistkick-product-system/packages/frontend/src/routes/VideographyRoute.tsx +13 -0
  123. package/templates/assistkick-product-system/packages/frontend/src/routes/WorkflowsRoute.tsx +6 -0
  124. package/templates/assistkick-product-system/packages/frontend/src/stores/useGitModalStore.ts +14 -0
  125. package/templates/assistkick-product-system/packages/frontend/src/stores/useGraphStore.ts +36 -0
  126. package/templates/assistkick-product-system/packages/frontend/src/stores/useGraphUIStore.ts +25 -0
  127. package/templates/assistkick-product-system/packages/frontend/src/stores/useProjectStore.ts +90 -0
  128. package/templates/assistkick-product-system/packages/frontend/src/stores/useQaSheetStore.ts +27 -0
  129. package/templates/assistkick-product-system/packages/frontend/src/stores/useSidePanelStore.ts +76 -0
  130. package/templates/assistkick-product-system/packages/frontend/src/styles/index.css +336 -3632
  131. package/templates/assistkick-product-system/packages/frontend/src/utils/auto_save_service.test.ts +167 -0
  132. package/templates/assistkick-product-system/packages/frontend/src/utils/auto_save_service.ts +101 -0
  133. package/templates/assistkick-product-system/packages/frontend/src/utils/composition_matcher.test.ts +42 -0
  134. package/templates/assistkick-product-system/packages/frontend/src/utils/composition_matcher.ts +17 -0
  135. package/templates/assistkick-product-system/packages/frontend/src/utils/file_utils.test.ts +145 -0
  136. package/templates/assistkick-product-system/packages/frontend/src/utils/file_utils.ts +42 -0
  137. package/templates/assistkick-product-system/packages/frontend/src/utils/task_status.test.ts +4 -10
  138. package/templates/assistkick-product-system/packages/frontend/src/utils/task_status.ts +19 -1
  139. package/templates/assistkick-product-system/packages/frontend/vite.config.ts +7 -1
  140. package/templates/assistkick-product-system/packages/shared/db/local.db +0 -0
  141. package/templates/assistkick-product-system/packages/shared/db/migrations/0004_tidy_matthew_murdock.sql +9 -0
  142. package/templates/assistkick-product-system/packages/shared/db/migrations/0005_mysterious_falcon.sql +692 -0
  143. package/templates/assistkick-product-system/packages/shared/db/migrations/0006_next_venom.sql +9 -0
  144. package/templates/assistkick-product-system/packages/shared/db/migrations/0007_deep_barracuda.sql +39 -0
  145. package/templates/assistkick-product-system/packages/shared/db/migrations/0008_puzzling_hannibal_king.sql +1 -0
  146. package/templates/assistkick-product-system/packages/shared/db/migrations/0009_amused_beast.sql +8 -0
  147. package/templates/assistkick-product-system/packages/shared/db/migrations/0010_spotty_moira_mactaggert.sql +9 -0
  148. package/templates/assistkick-product-system/packages/shared/db/migrations/0011_goofy_snowbird.sql +3 -0
  149. package/templates/assistkick-product-system/packages/shared/db/migrations/0011_supreme_doctor_octopus.sql +3 -0
  150. package/templates/assistkick-product-system/packages/shared/db/migrations/0013_reflective_prowler.sql +15 -0
  151. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0004_snapshot.json +921 -0
  152. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0005_snapshot.json +1042 -0
  153. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0006_snapshot.json +1101 -0
  154. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0007_snapshot.json +1336 -0
  155. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0008_snapshot.json +1275 -0
  156. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0009_snapshot.json +1327 -0
  157. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0010_snapshot.json +1393 -0
  158. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0011_snapshot.json +1436 -0
  159. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/0013_snapshot.json +1538 -0
  160. package/templates/assistkick-product-system/packages/shared/db/migrations/meta/_journal.json +70 -0
  161. package/templates/assistkick-product-system/packages/shared/db/schema.ts +113 -0
  162. package/templates/assistkick-product-system/packages/shared/lib/claude-service.ts +32 -7
  163. package/templates/assistkick-product-system/packages/shared/lib/constants.ts +9 -0
  164. package/templates/assistkick-product-system/packages/shared/lib/git_workflow.ts +12 -4
  165. package/templates/assistkick-product-system/packages/shared/lib/graph.ts +16 -5
  166. package/templates/assistkick-product-system/packages/shared/lib/workflow_engine.test.ts +1753 -0
  167. package/templates/assistkick-product-system/packages/shared/lib/workflow_engine.ts +1281 -0
  168. package/templates/assistkick-product-system/packages/shared/lib/workflow_orchestrator.ts +211 -0
  169. package/templates/assistkick-product-system/packages/shared/tools/add_node.test.ts +43 -0
  170. package/templates/assistkick-product-system/packages/shared/tools/add_node.ts +13 -2
  171. package/templates/assistkick-product-system/packages/shared/tools/get_kanban.ts +1 -1
  172. package/templates/assistkick-product-system/packages/shared/tools/migrate_epics.test.ts +226 -0
  173. package/templates/assistkick-product-system/packages/shared/tools/migrate_epics.ts +251 -0
  174. package/templates/assistkick-product-system/packages/shared/tools/update_node.ts +2 -2
  175. package/templates/assistkick-product-system/packages/shared/utils/hello_workflow.test.ts +10 -0
  176. package/templates/assistkick-product-system/packages/shared/utils/hello_workflow.ts +6 -0
  177. package/templates/assistkick-product-system/packages/video/Root.tsx +85 -0
  178. package/templates/assistkick-product-system/packages/video/components/email_scene.tsx +231 -0
  179. package/templates/assistkick-product-system/packages/video/components/outro_scene.tsx +153 -0
  180. package/templates/assistkick-product-system/packages/video/components/part_divider.tsx +90 -0
  181. package/templates/assistkick-product-system/packages/video/components/scene.tsx +226 -0
  182. package/templates/assistkick-product-system/packages/video/components/theme.ts +22 -0
  183. package/templates/assistkick-product-system/packages/video/components/title_scene.tsx +169 -0
  184. package/templates/assistkick-product-system/packages/video/components/video_split_layout.tsx +84 -0
  185. package/templates/assistkick-product-system/packages/video/compositions/.gitkeep +0 -0
  186. package/templates/assistkick-product-system/packages/video/index.ts +4 -0
  187. package/templates/assistkick-product-system/packages/video/package.json +28 -0
  188. package/templates/assistkick-product-system/packages/video/remotion.config.ts +11 -0
  189. package/templates/assistkick-product-system/packages/video/scripts/process_script.test.ts +326 -0
  190. package/templates/assistkick-product-system/packages/video/scripts/process_script.ts +630 -0
  191. package/templates/assistkick-product-system/packages/video/style.css +1 -0
  192. package/templates/assistkick-product-system/packages/video/tsconfig.json +18 -0
  193. package/templates/assistkick-product-system/tests/graph_legend.test.ts +2 -1
  194. package/templates/assistkick-product-system/tests/video_render_service.test.ts +179 -0
  195. package/templates/assistkick-product-system/tests/web_terminal.test.ts +219 -455
  196. package/templates/assistkick-product-system/tests/workflow_integration.test.ts +341 -0
  197. package/templates/skills/assistkick-bootstrap/SKILL.md +3 -3
  198. package/templates/skills/assistkick-code-reviewer/SKILL.md +2 -2
  199. package/templates/skills/assistkick-debugger/SKILL.md +2 -2
  200. package/templates/skills/assistkick-developer/SKILL.md +6 -3
  201. package/templates/skills/assistkick-developer/references/react_development_guidelines.md +225 -0
  202. package/templates/skills/assistkick-interview/SKILL.md +2 -2
  203. package/templates/skills/product-system/graph.json +1890 -0
  204. package/templates/skills/product-system/kanban.json +304 -0
  205. package/templates/skills/product-system/nodes/comp_001.md +56 -0
  206. package/templates/skills/product-system/nodes/comp_002.md +57 -0
  207. package/templates/skills/product-system/nodes/data_001.md +51 -0
  208. package/templates/skills/product-system/nodes/data_002.md +40 -0
  209. package/templates/skills/product-system/nodes/data_004.md +38 -0
  210. package/templates/skills/product-system/nodes/dec_001.md +34 -0
  211. package/templates/skills/product-system/nodes/dec_016.md +32 -0
  212. package/templates/skills/product-system/nodes/feat_008.md +30 -0
  213. package/templates/skills/video-composition-agent/SKILL.md +232 -0
  214. package/templates/skills/video-script-writer/SKILL.md +136 -0
@@ -0,0 +1,1393 @@
1
+ {
2
+ "version": "6",
3
+ "dialect": "sqlite",
4
+ "id": "306f082a-b160-4f1b-a4be-6ead7532b4c5",
5
+ "prevId": "ed55c775-14b7-47cf-b240-7fc4e8103f9a",
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
+ "prompt_template": {
25
+ "name": "prompt_template",
26
+ "type": "text",
27
+ "primaryKey": false,
28
+ "notNull": true,
29
+ "autoincrement": false
30
+ },
31
+ "project_id": {
32
+ "name": "project_id",
33
+ "type": "text",
34
+ "primaryKey": false,
35
+ "notNull": false,
36
+ "autoincrement": false
37
+ },
38
+ "is_default": {
39
+ "name": "is_default",
40
+ "type": "integer",
41
+ "primaryKey": false,
42
+ "notNull": true,
43
+ "autoincrement": false,
44
+ "default": 0
45
+ },
46
+ "created_at": {
47
+ "name": "created_at",
48
+ "type": "text",
49
+ "primaryKey": false,
50
+ "notNull": true,
51
+ "autoincrement": false
52
+ },
53
+ "updated_at": {
54
+ "name": "updated_at",
55
+ "type": "text",
56
+ "primaryKey": false,
57
+ "notNull": true,
58
+ "autoincrement": false
59
+ }
60
+ },
61
+ "indexes": {},
62
+ "foreignKeys": {},
63
+ "compositePrimaryKeys": {},
64
+ "uniqueConstraints": {},
65
+ "checkConstraints": {}
66
+ },
67
+ "coherence_reviews": {
68
+ "name": "coherence_reviews",
69
+ "columns": {
70
+ "id": {
71
+ "name": "id",
72
+ "type": "text",
73
+ "primaryKey": true,
74
+ "notNull": true,
75
+ "autoincrement": false
76
+ },
77
+ "type": {
78
+ "name": "type",
79
+ "type": "text",
80
+ "primaryKey": false,
81
+ "notNull": true,
82
+ "autoincrement": false
83
+ },
84
+ "from_id": {
85
+ "name": "from_id",
86
+ "type": "text",
87
+ "primaryKey": false,
88
+ "notNull": false,
89
+ "autoincrement": false
90
+ },
91
+ "to_id": {
92
+ "name": "to_id",
93
+ "type": "text",
94
+ "primaryKey": false,
95
+ "notNull": false,
96
+ "autoincrement": false
97
+ },
98
+ "relation": {
99
+ "name": "relation",
100
+ "type": "text",
101
+ "primaryKey": false,
102
+ "notNull": false,
103
+ "autoincrement": false
104
+ },
105
+ "proposed_node_type": {
106
+ "name": "proposed_node_type",
107
+ "type": "text",
108
+ "primaryKey": false,
109
+ "notNull": false,
110
+ "autoincrement": false
111
+ },
112
+ "proposed_node_name": {
113
+ "name": "proposed_node_name",
114
+ "type": "text",
115
+ "primaryKey": false,
116
+ "notNull": false,
117
+ "autoincrement": false
118
+ },
119
+ "target_node_id": {
120
+ "name": "target_node_id",
121
+ "type": "text",
122
+ "primaryKey": false,
123
+ "notNull": false,
124
+ "autoincrement": false
125
+ },
126
+ "proposed_description": {
127
+ "name": "proposed_description",
128
+ "type": "text",
129
+ "primaryKey": false,
130
+ "notNull": false,
131
+ "autoincrement": false
132
+ },
133
+ "confidence": {
134
+ "name": "confidence",
135
+ "type": "text",
136
+ "primaryKey": false,
137
+ "notNull": false,
138
+ "autoincrement": false
139
+ },
140
+ "batch_id": {
141
+ "name": "batch_id",
142
+ "type": "text",
143
+ "primaryKey": false,
144
+ "notNull": false,
145
+ "autoincrement": false
146
+ },
147
+ "reasoning": {
148
+ "name": "reasoning",
149
+ "type": "text",
150
+ "primaryKey": false,
151
+ "notNull": true,
152
+ "autoincrement": false
153
+ },
154
+ "status": {
155
+ "name": "status",
156
+ "type": "text",
157
+ "primaryKey": false,
158
+ "notNull": true,
159
+ "autoincrement": false
160
+ },
161
+ "created_at": {
162
+ "name": "created_at",
163
+ "type": "text",
164
+ "primaryKey": false,
165
+ "notNull": true,
166
+ "autoincrement": false
167
+ },
168
+ "resolved_at": {
169
+ "name": "resolved_at",
170
+ "type": "text",
171
+ "primaryKey": false,
172
+ "notNull": false,
173
+ "autoincrement": false
174
+ },
175
+ "project_id": {
176
+ "name": "project_id",
177
+ "type": "text",
178
+ "primaryKey": false,
179
+ "notNull": false,
180
+ "autoincrement": false
181
+ }
182
+ },
183
+ "indexes": {},
184
+ "foreignKeys": {},
185
+ "compositePrimaryKeys": {},
186
+ "uniqueConstraints": {},
187
+ "checkConstraints": {}
188
+ },
189
+ "edges": {
190
+ "name": "edges",
191
+ "columns": {
192
+ "from_id": {
193
+ "name": "from_id",
194
+ "type": "text",
195
+ "primaryKey": false,
196
+ "notNull": true,
197
+ "autoincrement": false
198
+ },
199
+ "relation": {
200
+ "name": "relation",
201
+ "type": "text",
202
+ "primaryKey": false,
203
+ "notNull": true,
204
+ "autoincrement": false
205
+ },
206
+ "to_id": {
207
+ "name": "to_id",
208
+ "type": "text",
209
+ "primaryKey": false,
210
+ "notNull": true,
211
+ "autoincrement": false
212
+ },
213
+ "project_id": {
214
+ "name": "project_id",
215
+ "type": "text",
216
+ "primaryKey": false,
217
+ "notNull": false,
218
+ "autoincrement": false
219
+ }
220
+ },
221
+ "indexes": {},
222
+ "foreignKeys": {},
223
+ "compositePrimaryKeys": {
224
+ "edges_from_id_relation_to_id_pk": {
225
+ "columns": [
226
+ "from_id",
227
+ "relation",
228
+ "to_id"
229
+ ],
230
+ "name": "edges_from_id_relation_to_id_pk"
231
+ }
232
+ },
233
+ "uniqueConstraints": {},
234
+ "checkConstraints": {}
235
+ },
236
+ "invitations": {
237
+ "name": "invitations",
238
+ "columns": {
239
+ "id": {
240
+ "name": "id",
241
+ "type": "text",
242
+ "primaryKey": true,
243
+ "notNull": true,
244
+ "autoincrement": false
245
+ },
246
+ "email": {
247
+ "name": "email",
248
+ "type": "text",
249
+ "primaryKey": false,
250
+ "notNull": true,
251
+ "autoincrement": false
252
+ },
253
+ "token_hash": {
254
+ "name": "token_hash",
255
+ "type": "text",
256
+ "primaryKey": false,
257
+ "notNull": true,
258
+ "autoincrement": false
259
+ },
260
+ "invited_by": {
261
+ "name": "invited_by",
262
+ "type": "text",
263
+ "primaryKey": false,
264
+ "notNull": true,
265
+ "autoincrement": false
266
+ },
267
+ "expires_at": {
268
+ "name": "expires_at",
269
+ "type": "text",
270
+ "primaryKey": false,
271
+ "notNull": true,
272
+ "autoincrement": false
273
+ },
274
+ "accepted_at": {
275
+ "name": "accepted_at",
276
+ "type": "text",
277
+ "primaryKey": false,
278
+ "notNull": false,
279
+ "autoincrement": false
280
+ },
281
+ "created_at": {
282
+ "name": "created_at",
283
+ "type": "text",
284
+ "primaryKey": false,
285
+ "notNull": true,
286
+ "autoincrement": false
287
+ }
288
+ },
289
+ "indexes": {},
290
+ "foreignKeys": {
291
+ "invitations_invited_by_users_id_fk": {
292
+ "name": "invitations_invited_by_users_id_fk",
293
+ "tableFrom": "invitations",
294
+ "tableTo": "users",
295
+ "columnsFrom": [
296
+ "invited_by"
297
+ ],
298
+ "columnsTo": [
299
+ "id"
300
+ ],
301
+ "onDelete": "no action",
302
+ "onUpdate": "no action"
303
+ }
304
+ },
305
+ "compositePrimaryKeys": {},
306
+ "uniqueConstraints": {},
307
+ "checkConstraints": {}
308
+ },
309
+ "kanban": {
310
+ "name": "kanban",
311
+ "columns": {
312
+ "node_id": {
313
+ "name": "node_id",
314
+ "type": "text",
315
+ "primaryKey": true,
316
+ "notNull": true,
317
+ "autoincrement": false
318
+ },
319
+ "column_name": {
320
+ "name": "column_name",
321
+ "type": "text",
322
+ "primaryKey": false,
323
+ "notNull": true,
324
+ "autoincrement": false
325
+ },
326
+ "position": {
327
+ "name": "position",
328
+ "type": "integer",
329
+ "primaryKey": false,
330
+ "notNull": true,
331
+ "autoincrement": false
332
+ },
333
+ "project_id": {
334
+ "name": "project_id",
335
+ "type": "text",
336
+ "primaryKey": false,
337
+ "notNull": false,
338
+ "autoincrement": false
339
+ }
340
+ },
341
+ "indexes": {},
342
+ "foreignKeys": {
343
+ "kanban_node_id_nodes_id_fk": {
344
+ "name": "kanban_node_id_nodes_id_fk",
345
+ "tableFrom": "kanban",
346
+ "tableTo": "nodes",
347
+ "columnsFrom": [
348
+ "node_id"
349
+ ],
350
+ "columnsTo": [
351
+ "id"
352
+ ],
353
+ "onDelete": "no action",
354
+ "onUpdate": "no action"
355
+ }
356
+ },
357
+ "compositePrimaryKeys": {},
358
+ "uniqueConstraints": {},
359
+ "checkConstraints": {}
360
+ },
361
+ "nodes": {
362
+ "name": "nodes",
363
+ "columns": {
364
+ "id": {
365
+ "name": "id",
366
+ "type": "text",
367
+ "primaryKey": true,
368
+ "notNull": true,
369
+ "autoincrement": false
370
+ },
371
+ "type": {
372
+ "name": "type",
373
+ "type": "text",
374
+ "primaryKey": false,
375
+ "notNull": true,
376
+ "autoincrement": false
377
+ },
378
+ "name": {
379
+ "name": "name",
380
+ "type": "text",
381
+ "primaryKey": false,
382
+ "notNull": true,
383
+ "autoincrement": false
384
+ },
385
+ "status": {
386
+ "name": "status",
387
+ "type": "text",
388
+ "primaryKey": false,
389
+ "notNull": true,
390
+ "autoincrement": false
391
+ },
392
+ "priority": {
393
+ "name": "priority",
394
+ "type": "text",
395
+ "primaryKey": false,
396
+ "notNull": true,
397
+ "autoincrement": false
398
+ },
399
+ "completeness": {
400
+ "name": "completeness",
401
+ "type": "real",
402
+ "primaryKey": false,
403
+ "notNull": true,
404
+ "autoincrement": false,
405
+ "default": 0
406
+ },
407
+ "open_questions_count": {
408
+ "name": "open_questions_count",
409
+ "type": "integer",
410
+ "primaryKey": false,
411
+ "notNull": true,
412
+ "autoincrement": false,
413
+ "default": 0
414
+ },
415
+ "kind": {
416
+ "name": "kind",
417
+ "type": "text",
418
+ "primaryKey": false,
419
+ "notNull": false,
420
+ "autoincrement": false
421
+ },
422
+ "created_at": {
423
+ "name": "created_at",
424
+ "type": "text",
425
+ "primaryKey": false,
426
+ "notNull": true,
427
+ "autoincrement": false
428
+ },
429
+ "updated_at": {
430
+ "name": "updated_at",
431
+ "type": "text",
432
+ "primaryKey": false,
433
+ "notNull": true,
434
+ "autoincrement": false
435
+ },
436
+ "body": {
437
+ "name": "body",
438
+ "type": "text",
439
+ "primaryKey": false,
440
+ "notNull": false,
441
+ "autoincrement": false
442
+ },
443
+ "project_id": {
444
+ "name": "project_id",
445
+ "type": "text",
446
+ "primaryKey": false,
447
+ "notNull": false,
448
+ "autoincrement": false
449
+ }
450
+ },
451
+ "indexes": {},
452
+ "foreignKeys": {},
453
+ "compositePrimaryKeys": {},
454
+ "uniqueConstraints": {},
455
+ "checkConstraints": {}
456
+ },
457
+ "password_reset_tokens": {
458
+ "name": "password_reset_tokens",
459
+ "columns": {
460
+ "id": {
461
+ "name": "id",
462
+ "type": "text",
463
+ "primaryKey": true,
464
+ "notNull": true,
465
+ "autoincrement": false
466
+ },
467
+ "user_id": {
468
+ "name": "user_id",
469
+ "type": "text",
470
+ "primaryKey": false,
471
+ "notNull": true,
472
+ "autoincrement": false
473
+ },
474
+ "token_hash": {
475
+ "name": "token_hash",
476
+ "type": "text",
477
+ "primaryKey": false,
478
+ "notNull": true,
479
+ "autoincrement": false
480
+ },
481
+ "expires_at": {
482
+ "name": "expires_at",
483
+ "type": "text",
484
+ "primaryKey": false,
485
+ "notNull": true,
486
+ "autoincrement": false
487
+ },
488
+ "created_at": {
489
+ "name": "created_at",
490
+ "type": "text",
491
+ "primaryKey": false,
492
+ "notNull": true,
493
+ "autoincrement": false
494
+ },
495
+ "used_at": {
496
+ "name": "used_at",
497
+ "type": "text",
498
+ "primaryKey": false,
499
+ "notNull": false,
500
+ "autoincrement": false
501
+ }
502
+ },
503
+ "indexes": {},
504
+ "foreignKeys": {
505
+ "password_reset_tokens_user_id_users_id_fk": {
506
+ "name": "password_reset_tokens_user_id_users_id_fk",
507
+ "tableFrom": "password_reset_tokens",
508
+ "tableTo": "users",
509
+ "columnsFrom": [
510
+ "user_id"
511
+ ],
512
+ "columnsTo": [
513
+ "id"
514
+ ],
515
+ "onDelete": "no action",
516
+ "onUpdate": "no action"
517
+ }
518
+ },
519
+ "compositePrimaryKeys": {},
520
+ "uniqueConstraints": {},
521
+ "checkConstraints": {}
522
+ },
523
+ "pipeline_outputs": {
524
+ "name": "pipeline_outputs",
525
+ "columns": {
526
+ "id": {
527
+ "name": "id",
528
+ "type": "text",
529
+ "primaryKey": true,
530
+ "notNull": true,
531
+ "autoincrement": false
532
+ },
533
+ "feature_id": {
534
+ "name": "feature_id",
535
+ "type": "text",
536
+ "primaryKey": false,
537
+ "notNull": true,
538
+ "autoincrement": false
539
+ },
540
+ "stage": {
541
+ "name": "stage",
542
+ "type": "text",
543
+ "primaryKey": false,
544
+ "notNull": true,
545
+ "autoincrement": false
546
+ },
547
+ "cycle": {
548
+ "name": "cycle",
549
+ "type": "integer",
550
+ "primaryKey": false,
551
+ "notNull": true,
552
+ "autoincrement": false
553
+ },
554
+ "output": {
555
+ "name": "output",
556
+ "type": "text",
557
+ "primaryKey": false,
558
+ "notNull": true,
559
+ "autoincrement": false
560
+ },
561
+ "created_at": {
562
+ "name": "created_at",
563
+ "type": "text",
564
+ "primaryKey": false,
565
+ "notNull": true,
566
+ "autoincrement": false
567
+ },
568
+ "project_id": {
569
+ "name": "project_id",
570
+ "type": "text",
571
+ "primaryKey": false,
572
+ "notNull": false,
573
+ "autoincrement": false
574
+ }
575
+ },
576
+ "indexes": {},
577
+ "foreignKeys": {},
578
+ "compositePrimaryKeys": {},
579
+ "uniqueConstraints": {},
580
+ "checkConstraints": {}
581
+ },
582
+ "pipeline_state": {
583
+ "name": "pipeline_state",
584
+ "columns": {
585
+ "feature_id": {
586
+ "name": "feature_id",
587
+ "type": "text",
588
+ "primaryKey": true,
589
+ "notNull": true,
590
+ "autoincrement": false
591
+ },
592
+ "status": {
593
+ "name": "status",
594
+ "type": "text",
595
+ "primaryKey": false,
596
+ "notNull": true,
597
+ "autoincrement": false
598
+ },
599
+ "cycle": {
600
+ "name": "cycle",
601
+ "type": "integer",
602
+ "primaryKey": false,
603
+ "notNull": true,
604
+ "autoincrement": false,
605
+ "default": 1
606
+ },
607
+ "tasks_json": {
608
+ "name": "tasks_json",
609
+ "type": "text",
610
+ "primaryKey": false,
611
+ "notNull": false,
612
+ "autoincrement": false
613
+ },
614
+ "tool_calls_json": {
615
+ "name": "tool_calls_json",
616
+ "type": "text",
617
+ "primaryKey": false,
618
+ "notNull": false,
619
+ "autoincrement": false
620
+ },
621
+ "work_summaries_json": {
622
+ "name": "work_summaries_json",
623
+ "type": "text",
624
+ "primaryKey": false,
625
+ "notNull": false,
626
+ "autoincrement": false
627
+ },
628
+ "stage_stats_json": {
629
+ "name": "stage_stats_json",
630
+ "type": "text",
631
+ "primaryKey": false,
632
+ "notNull": false,
633
+ "autoincrement": false
634
+ },
635
+ "error": {
636
+ "name": "error",
637
+ "type": "text",
638
+ "primaryKey": false,
639
+ "notNull": false,
640
+ "autoincrement": false
641
+ },
642
+ "updated_at": {
643
+ "name": "updated_at",
644
+ "type": "text",
645
+ "primaryKey": false,
646
+ "notNull": true,
647
+ "autoincrement": false
648
+ },
649
+ "project_id": {
650
+ "name": "project_id",
651
+ "type": "text",
652
+ "primaryKey": false,
653
+ "notNull": false,
654
+ "autoincrement": false
655
+ }
656
+ },
657
+ "indexes": {},
658
+ "foreignKeys": {},
659
+ "compositePrimaryKeys": {},
660
+ "uniqueConstraints": {},
661
+ "checkConstraints": {}
662
+ },
663
+ "projects": {
664
+ "name": "projects",
665
+ "columns": {
666
+ "id": {
667
+ "name": "id",
668
+ "type": "text",
669
+ "primaryKey": true,
670
+ "notNull": true,
671
+ "autoincrement": false
672
+ },
673
+ "name": {
674
+ "name": "name",
675
+ "type": "text",
676
+ "primaryKey": false,
677
+ "notNull": true,
678
+ "autoincrement": false
679
+ },
680
+ "is_default": {
681
+ "name": "is_default",
682
+ "type": "integer",
683
+ "primaryKey": false,
684
+ "notNull": true,
685
+ "autoincrement": false,
686
+ "default": 0
687
+ },
688
+ "archived_at": {
689
+ "name": "archived_at",
690
+ "type": "text",
691
+ "primaryKey": false,
692
+ "notNull": false,
693
+ "autoincrement": false
694
+ },
695
+ "repo_url": {
696
+ "name": "repo_url",
697
+ "type": "text",
698
+ "primaryKey": false,
699
+ "notNull": false,
700
+ "autoincrement": false
701
+ },
702
+ "github_installation_id": {
703
+ "name": "github_installation_id",
704
+ "type": "text",
705
+ "primaryKey": false,
706
+ "notNull": false,
707
+ "autoincrement": false
708
+ },
709
+ "github_repo_full_name": {
710
+ "name": "github_repo_full_name",
711
+ "type": "text",
712
+ "primaryKey": false,
713
+ "notNull": false,
714
+ "autoincrement": false
715
+ },
716
+ "base_branch": {
717
+ "name": "base_branch",
718
+ "type": "text",
719
+ "primaryKey": false,
720
+ "notNull": false,
721
+ "autoincrement": false
722
+ },
723
+ "created_at": {
724
+ "name": "created_at",
725
+ "type": "text",
726
+ "primaryKey": false,
727
+ "notNull": true,
728
+ "autoincrement": false
729
+ },
730
+ "updated_at": {
731
+ "name": "updated_at",
732
+ "type": "text",
733
+ "primaryKey": false,
734
+ "notNull": true,
735
+ "autoincrement": false
736
+ }
737
+ },
738
+ "indexes": {},
739
+ "foreignKeys": {},
740
+ "compositePrimaryKeys": {},
741
+ "uniqueConstraints": {},
742
+ "checkConstraints": {}
743
+ },
744
+ "refresh_tokens": {
745
+ "name": "refresh_tokens",
746
+ "columns": {
747
+ "id": {
748
+ "name": "id",
749
+ "type": "text",
750
+ "primaryKey": true,
751
+ "notNull": true,
752
+ "autoincrement": false
753
+ },
754
+ "user_id": {
755
+ "name": "user_id",
756
+ "type": "text",
757
+ "primaryKey": false,
758
+ "notNull": true,
759
+ "autoincrement": false
760
+ },
761
+ "token_hash": {
762
+ "name": "token_hash",
763
+ "type": "text",
764
+ "primaryKey": false,
765
+ "notNull": true,
766
+ "autoincrement": false
767
+ },
768
+ "expires_at": {
769
+ "name": "expires_at",
770
+ "type": "text",
771
+ "primaryKey": false,
772
+ "notNull": true,
773
+ "autoincrement": false
774
+ },
775
+ "created_at": {
776
+ "name": "created_at",
777
+ "type": "text",
778
+ "primaryKey": false,
779
+ "notNull": true,
780
+ "autoincrement": false
781
+ }
782
+ },
783
+ "indexes": {},
784
+ "foreignKeys": {
785
+ "refresh_tokens_user_id_users_id_fk": {
786
+ "name": "refresh_tokens_user_id_users_id_fk",
787
+ "tableFrom": "refresh_tokens",
788
+ "tableTo": "users",
789
+ "columnsFrom": [
790
+ "user_id"
791
+ ],
792
+ "columnsTo": [
793
+ "id"
794
+ ],
795
+ "onDelete": "no action",
796
+ "onUpdate": "no action"
797
+ }
798
+ },
799
+ "compositePrimaryKeys": {},
800
+ "uniqueConstraints": {},
801
+ "checkConstraints": {}
802
+ },
803
+ "review_meta": {
804
+ "name": "review_meta",
805
+ "columns": {
806
+ "key": {
807
+ "name": "key",
808
+ "type": "text",
809
+ "primaryKey": true,
810
+ "notNull": true,
811
+ "autoincrement": false
812
+ },
813
+ "value": {
814
+ "name": "value",
815
+ "type": "text",
816
+ "primaryKey": false,
817
+ "notNull": true,
818
+ "autoincrement": false
819
+ },
820
+ "project_id": {
821
+ "name": "project_id",
822
+ "type": "text",
823
+ "primaryKey": false,
824
+ "notNull": false,
825
+ "autoincrement": false
826
+ }
827
+ },
828
+ "indexes": {},
829
+ "foreignKeys": {},
830
+ "compositePrimaryKeys": {},
831
+ "uniqueConstraints": {},
832
+ "checkConstraints": {}
833
+ },
834
+ "sessions": {
835
+ "name": "sessions",
836
+ "columns": {
837
+ "session_number": {
838
+ "name": "session_number",
839
+ "type": "integer",
840
+ "primaryKey": false,
841
+ "notNull": true,
842
+ "autoincrement": false
843
+ },
844
+ "started_at": {
845
+ "name": "started_at",
846
+ "type": "text",
847
+ "primaryKey": false,
848
+ "notNull": true,
849
+ "autoincrement": false
850
+ },
851
+ "ended_at": {
852
+ "name": "ended_at",
853
+ "type": "text",
854
+ "primaryKey": false,
855
+ "notNull": false,
856
+ "autoincrement": false
857
+ },
858
+ "summary": {
859
+ "name": "summary",
860
+ "type": "text",
861
+ "primaryKey": false,
862
+ "notNull": false,
863
+ "autoincrement": false
864
+ },
865
+ "nodes_touched": {
866
+ "name": "nodes_touched",
867
+ "type": "text",
868
+ "primaryKey": false,
869
+ "notNull": false,
870
+ "autoincrement": false
871
+ },
872
+ "questions_resolved": {
873
+ "name": "questions_resolved",
874
+ "type": "integer",
875
+ "primaryKey": false,
876
+ "notNull": true,
877
+ "autoincrement": false,
878
+ "default": 0
879
+ },
880
+ "body": {
881
+ "name": "body",
882
+ "type": "text",
883
+ "primaryKey": false,
884
+ "notNull": false,
885
+ "autoincrement": false
886
+ },
887
+ "project_id": {
888
+ "name": "project_id",
889
+ "type": "text",
890
+ "primaryKey": false,
891
+ "notNull": true,
892
+ "autoincrement": false
893
+ }
894
+ },
895
+ "indexes": {},
896
+ "foreignKeys": {},
897
+ "compositePrimaryKeys": {
898
+ "sessions_session_number_project_id_pk": {
899
+ "columns": [
900
+ "session_number",
901
+ "project_id"
902
+ ],
903
+ "name": "sessions_session_number_project_id_pk"
904
+ }
905
+ },
906
+ "uniqueConstraints": {},
907
+ "checkConstraints": {}
908
+ },
909
+ "terminal_sessions": {
910
+ "name": "terminal_sessions",
911
+ "columns": {
912
+ "id": {
913
+ "name": "id",
914
+ "type": "text",
915
+ "primaryKey": true,
916
+ "notNull": true,
917
+ "autoincrement": false
918
+ },
919
+ "claude_session_id": {
920
+ "name": "claude_session_id",
921
+ "type": "text",
922
+ "primaryKey": false,
923
+ "notNull": true,
924
+ "autoincrement": false
925
+ },
926
+ "project_id": {
927
+ "name": "project_id",
928
+ "type": "text",
929
+ "primaryKey": false,
930
+ "notNull": true,
931
+ "autoincrement": false
932
+ },
933
+ "project_name": {
934
+ "name": "project_name",
935
+ "type": "text",
936
+ "primaryKey": false,
937
+ "notNull": true,
938
+ "autoincrement": false
939
+ },
940
+ "name": {
941
+ "name": "name",
942
+ "type": "text",
943
+ "primaryKey": false,
944
+ "notNull": true,
945
+ "autoincrement": false
946
+ },
947
+ "created_at": {
948
+ "name": "created_at",
949
+ "type": "text",
950
+ "primaryKey": false,
951
+ "notNull": true,
952
+ "autoincrement": false
953
+ },
954
+ "last_used_at": {
955
+ "name": "last_used_at",
956
+ "type": "text",
957
+ "primaryKey": false,
958
+ "notNull": true,
959
+ "autoincrement": false
960
+ }
961
+ },
962
+ "indexes": {},
963
+ "foreignKeys": {},
964
+ "compositePrimaryKeys": {},
965
+ "uniqueConstraints": {},
966
+ "checkConstraints": {}
967
+ },
968
+ "users": {
969
+ "name": "users",
970
+ "columns": {
971
+ "id": {
972
+ "name": "id",
973
+ "type": "text",
974
+ "primaryKey": true,
975
+ "notNull": true,
976
+ "autoincrement": false
977
+ },
978
+ "email": {
979
+ "name": "email",
980
+ "type": "text",
981
+ "primaryKey": false,
982
+ "notNull": true,
983
+ "autoincrement": false
984
+ },
985
+ "password_hash": {
986
+ "name": "password_hash",
987
+ "type": "text",
988
+ "primaryKey": false,
989
+ "notNull": true,
990
+ "autoincrement": false
991
+ },
992
+ "role": {
993
+ "name": "role",
994
+ "type": "text",
995
+ "primaryKey": false,
996
+ "notNull": true,
997
+ "autoincrement": false,
998
+ "default": "'user'"
999
+ },
1000
+ "created_at": {
1001
+ "name": "created_at",
1002
+ "type": "text",
1003
+ "primaryKey": false,
1004
+ "notNull": true,
1005
+ "autoincrement": false
1006
+ },
1007
+ "updated_at": {
1008
+ "name": "updated_at",
1009
+ "type": "text",
1010
+ "primaryKey": false,
1011
+ "notNull": true,
1012
+ "autoincrement": false
1013
+ }
1014
+ },
1015
+ "indexes": {
1016
+ "users_email_unique": {
1017
+ "name": "users_email_unique",
1018
+ "columns": [
1019
+ "email"
1020
+ ],
1021
+ "isUnique": true
1022
+ }
1023
+ },
1024
+ "foreignKeys": {},
1025
+ "compositePrimaryKeys": {},
1026
+ "uniqueConstraints": {},
1027
+ "checkConstraints": {}
1028
+ },
1029
+ "workflow_executions": {
1030
+ "name": "workflow_executions",
1031
+ "columns": {
1032
+ "id": {
1033
+ "name": "id",
1034
+ "type": "text",
1035
+ "primaryKey": true,
1036
+ "notNull": true,
1037
+ "autoincrement": false
1038
+ },
1039
+ "workflow_id": {
1040
+ "name": "workflow_id",
1041
+ "type": "text",
1042
+ "primaryKey": false,
1043
+ "notNull": true,
1044
+ "autoincrement": false
1045
+ },
1046
+ "feature_id": {
1047
+ "name": "feature_id",
1048
+ "type": "text",
1049
+ "primaryKey": false,
1050
+ "notNull": true,
1051
+ "autoincrement": false
1052
+ },
1053
+ "status": {
1054
+ "name": "status",
1055
+ "type": "text",
1056
+ "primaryKey": false,
1057
+ "notNull": true,
1058
+ "autoincrement": false
1059
+ },
1060
+ "current_node_id": {
1061
+ "name": "current_node_id",
1062
+ "type": "text",
1063
+ "primaryKey": false,
1064
+ "notNull": false,
1065
+ "autoincrement": false
1066
+ },
1067
+ "context": {
1068
+ "name": "context",
1069
+ "type": "text",
1070
+ "primaryKey": false,
1071
+ "notNull": true,
1072
+ "autoincrement": false
1073
+ },
1074
+ "started_at": {
1075
+ "name": "started_at",
1076
+ "type": "text",
1077
+ "primaryKey": false,
1078
+ "notNull": true,
1079
+ "autoincrement": false
1080
+ },
1081
+ "updated_at": {
1082
+ "name": "updated_at",
1083
+ "type": "text",
1084
+ "primaryKey": false,
1085
+ "notNull": true,
1086
+ "autoincrement": false
1087
+ }
1088
+ },
1089
+ "indexes": {},
1090
+ "foreignKeys": {
1091
+ "workflow_executions_workflow_id_workflows_id_fk": {
1092
+ "name": "workflow_executions_workflow_id_workflows_id_fk",
1093
+ "tableFrom": "workflow_executions",
1094
+ "tableTo": "workflows",
1095
+ "columnsFrom": [
1096
+ "workflow_id"
1097
+ ],
1098
+ "columnsTo": [
1099
+ "id"
1100
+ ],
1101
+ "onDelete": "no action",
1102
+ "onUpdate": "no action"
1103
+ }
1104
+ },
1105
+ "compositePrimaryKeys": {},
1106
+ "uniqueConstraints": {},
1107
+ "checkConstraints": {}
1108
+ },
1109
+ "workflow_groups": {
1110
+ "name": "workflow_groups",
1111
+ "columns": {
1112
+ "id": {
1113
+ "name": "id",
1114
+ "type": "text",
1115
+ "primaryKey": true,
1116
+ "notNull": true,
1117
+ "autoincrement": false
1118
+ },
1119
+ "name": {
1120
+ "name": "name",
1121
+ "type": "text",
1122
+ "primaryKey": false,
1123
+ "notNull": true,
1124
+ "autoincrement": false
1125
+ },
1126
+ "project_id": {
1127
+ "name": "project_id",
1128
+ "type": "text",
1129
+ "primaryKey": false,
1130
+ "notNull": false,
1131
+ "autoincrement": false
1132
+ },
1133
+ "graph_data": {
1134
+ "name": "graph_data",
1135
+ "type": "text",
1136
+ "primaryKey": false,
1137
+ "notNull": true,
1138
+ "autoincrement": false
1139
+ },
1140
+ "created_at": {
1141
+ "name": "created_at",
1142
+ "type": "text",
1143
+ "primaryKey": false,
1144
+ "notNull": true,
1145
+ "autoincrement": false
1146
+ },
1147
+ "updated_at": {
1148
+ "name": "updated_at",
1149
+ "type": "text",
1150
+ "primaryKey": false,
1151
+ "notNull": true,
1152
+ "autoincrement": false
1153
+ }
1154
+ },
1155
+ "indexes": {},
1156
+ "foreignKeys": {},
1157
+ "compositePrimaryKeys": {},
1158
+ "uniqueConstraints": {},
1159
+ "checkConstraints": {}
1160
+ },
1161
+ "workflow_node_executions": {
1162
+ "name": "workflow_node_executions",
1163
+ "columns": {
1164
+ "id": {
1165
+ "name": "id",
1166
+ "type": "text",
1167
+ "primaryKey": true,
1168
+ "notNull": true,
1169
+ "autoincrement": false
1170
+ },
1171
+ "execution_id": {
1172
+ "name": "execution_id",
1173
+ "type": "text",
1174
+ "primaryKey": false,
1175
+ "notNull": true,
1176
+ "autoincrement": false
1177
+ },
1178
+ "node_id": {
1179
+ "name": "node_id",
1180
+ "type": "text",
1181
+ "primaryKey": false,
1182
+ "notNull": true,
1183
+ "autoincrement": false
1184
+ },
1185
+ "status": {
1186
+ "name": "status",
1187
+ "type": "text",
1188
+ "primaryKey": false,
1189
+ "notNull": true,
1190
+ "autoincrement": false
1191
+ },
1192
+ "started_at": {
1193
+ "name": "started_at",
1194
+ "type": "text",
1195
+ "primaryKey": false,
1196
+ "notNull": false,
1197
+ "autoincrement": false
1198
+ },
1199
+ "completed_at": {
1200
+ "name": "completed_at",
1201
+ "type": "text",
1202
+ "primaryKey": false,
1203
+ "notNull": false,
1204
+ "autoincrement": false
1205
+ },
1206
+ "output_data": {
1207
+ "name": "output_data",
1208
+ "type": "text",
1209
+ "primaryKey": false,
1210
+ "notNull": false,
1211
+ "autoincrement": false
1212
+ },
1213
+ "error": {
1214
+ "name": "error",
1215
+ "type": "text",
1216
+ "primaryKey": false,
1217
+ "notNull": false,
1218
+ "autoincrement": false
1219
+ },
1220
+ "attempt": {
1221
+ "name": "attempt",
1222
+ "type": "integer",
1223
+ "primaryKey": false,
1224
+ "notNull": true,
1225
+ "autoincrement": false,
1226
+ "default": 1
1227
+ }
1228
+ },
1229
+ "indexes": {},
1230
+ "foreignKeys": {
1231
+ "workflow_node_executions_execution_id_workflow_executions_id_fk": {
1232
+ "name": "workflow_node_executions_execution_id_workflow_executions_id_fk",
1233
+ "tableFrom": "workflow_node_executions",
1234
+ "tableTo": "workflow_executions",
1235
+ "columnsFrom": [
1236
+ "execution_id"
1237
+ ],
1238
+ "columnsTo": [
1239
+ "id"
1240
+ ],
1241
+ "onDelete": "no action",
1242
+ "onUpdate": "no action"
1243
+ }
1244
+ },
1245
+ "compositePrimaryKeys": {},
1246
+ "uniqueConstraints": {},
1247
+ "checkConstraints": {}
1248
+ },
1249
+ "workflow_tool_calls": {
1250
+ "name": "workflow_tool_calls",
1251
+ "columns": {
1252
+ "id": {
1253
+ "name": "id",
1254
+ "type": "text",
1255
+ "primaryKey": true,
1256
+ "notNull": true,
1257
+ "autoincrement": false
1258
+ },
1259
+ "node_execution_id": {
1260
+ "name": "node_execution_id",
1261
+ "type": "text",
1262
+ "primaryKey": false,
1263
+ "notNull": true,
1264
+ "autoincrement": false
1265
+ },
1266
+ "timestamp": {
1267
+ "name": "timestamp",
1268
+ "type": "text",
1269
+ "primaryKey": false,
1270
+ "notNull": true,
1271
+ "autoincrement": false
1272
+ },
1273
+ "tool_name": {
1274
+ "name": "tool_name",
1275
+ "type": "text",
1276
+ "primaryKey": false,
1277
+ "notNull": true,
1278
+ "autoincrement": false
1279
+ },
1280
+ "target": {
1281
+ "name": "target",
1282
+ "type": "text",
1283
+ "primaryKey": false,
1284
+ "notNull": true,
1285
+ "autoincrement": false
1286
+ },
1287
+ "created_at": {
1288
+ "name": "created_at",
1289
+ "type": "text",
1290
+ "primaryKey": false,
1291
+ "notNull": true,
1292
+ "autoincrement": false
1293
+ }
1294
+ },
1295
+ "indexes": {},
1296
+ "foreignKeys": {
1297
+ "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk": {
1298
+ "name": "workflow_tool_calls_node_execution_id_workflow_node_executions_id_fk",
1299
+ "tableFrom": "workflow_tool_calls",
1300
+ "tableTo": "workflow_node_executions",
1301
+ "columnsFrom": [
1302
+ "node_execution_id"
1303
+ ],
1304
+ "columnsTo": [
1305
+ "id"
1306
+ ],
1307
+ "onDelete": "no action",
1308
+ "onUpdate": "no action"
1309
+ }
1310
+ },
1311
+ "compositePrimaryKeys": {},
1312
+ "uniqueConstraints": {},
1313
+ "checkConstraints": {}
1314
+ },
1315
+ "workflows": {
1316
+ "name": "workflows",
1317
+ "columns": {
1318
+ "id": {
1319
+ "name": "id",
1320
+ "type": "text",
1321
+ "primaryKey": true,
1322
+ "notNull": true,
1323
+ "autoincrement": false
1324
+ },
1325
+ "name": {
1326
+ "name": "name",
1327
+ "type": "text",
1328
+ "primaryKey": false,
1329
+ "notNull": true,
1330
+ "autoincrement": false
1331
+ },
1332
+ "description": {
1333
+ "name": "description",
1334
+ "type": "text",
1335
+ "primaryKey": false,
1336
+ "notNull": false,
1337
+ "autoincrement": false
1338
+ },
1339
+ "project_id": {
1340
+ "name": "project_id",
1341
+ "type": "text",
1342
+ "primaryKey": false,
1343
+ "notNull": false,
1344
+ "autoincrement": false
1345
+ },
1346
+ "is_default": {
1347
+ "name": "is_default",
1348
+ "type": "integer",
1349
+ "primaryKey": false,
1350
+ "notNull": true,
1351
+ "autoincrement": false,
1352
+ "default": 0
1353
+ },
1354
+ "graph_data": {
1355
+ "name": "graph_data",
1356
+ "type": "text",
1357
+ "primaryKey": false,
1358
+ "notNull": true,
1359
+ "autoincrement": false
1360
+ },
1361
+ "created_at": {
1362
+ "name": "created_at",
1363
+ "type": "text",
1364
+ "primaryKey": false,
1365
+ "notNull": true,
1366
+ "autoincrement": false
1367
+ },
1368
+ "updated_at": {
1369
+ "name": "updated_at",
1370
+ "type": "text",
1371
+ "primaryKey": false,
1372
+ "notNull": true,
1373
+ "autoincrement": false
1374
+ }
1375
+ },
1376
+ "indexes": {},
1377
+ "foreignKeys": {},
1378
+ "compositePrimaryKeys": {},
1379
+ "uniqueConstraints": {},
1380
+ "checkConstraints": {}
1381
+ }
1382
+ },
1383
+ "views": {},
1384
+ "enums": {},
1385
+ "_meta": {
1386
+ "schemas": {},
1387
+ "tables": {},
1388
+ "columns": {}
1389
+ },
1390
+ "internal": {
1391
+ "indexes": {}
1392
+ }
1393
+ }