panoma 0.9.0 → 0.10.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 (547) hide show
  1. package/README.md +1 -0
  2. package/app/BUILD-INFO.json +3 -3
  3. package/app/apps/web/.next-bundle/BUILD_ID +1 -1
  4. package/app/apps/web/.next-bundle/app-build-manifest.json +414 -322
  5. package/app/apps/web/.next-bundle/app-path-routes-manifest.json +45 -33
  6. package/app/apps/web/.next-bundle/build-manifest.json +3 -3
  7. package/app/apps/web/.next-bundle/prerender-manifest.json +9 -9
  8. package/app/apps/web/.next-bundle/required-server-files.json +5 -4
  9. package/app/apps/web/.next-bundle/routes-manifest.json +14 -0
  10. package/app/apps/web/.next-bundle/server/app/(app)/agents/page.js +2 -2
  11. package/app/apps/web/.next-bundle/server/app/(app)/agents/page_client-reference-manifest.js +1 -1
  12. package/app/apps/web/.next-bundle/server/app/(app)/ai/page.js +2 -2
  13. package/app/apps/web/.next-bundle/server/app/(app)/ai/page_client-reference-manifest.js +1 -1
  14. package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page.js +2 -2
  15. package/app/apps/web/.next-bundle/server/app/(app)/apps/[id]/page_client-reference-manifest.js +1 -1
  16. package/app/apps/web/.next-bundle/server/app/(app)/apps/page.js +2 -2
  17. package/app/apps/web/.next-bundle/server/app/(app)/apps/page_client-reference-manifest.js +1 -1
  18. package/app/apps/web/.next-bundle/server/app/(app)/bridge/page.js +2 -2
  19. package/app/apps/web/.next-bundle/server/app/(app)/bridge/page_client-reference-manifest.js +1 -1
  20. package/app/apps/web/.next-bundle/server/app/(app)/copies/page.js +2 -2
  21. package/app/apps/web/.next-bundle/server/app/(app)/copies/page_client-reference-manifest.js +1 -1
  22. package/app/apps/web/.next-bundle/server/app/(app)/credentials/page.js +2 -2
  23. package/app/apps/web/.next-bundle/server/app/(app)/credentials/page_client-reference-manifest.js +1 -1
  24. package/app/apps/web/.next-bundle/server/app/(app)/disk/page.js +2 -2
  25. package/app/apps/web/.next-bundle/server/app/(app)/disk/page_client-reference-manifest.js +1 -1
  26. package/app/apps/web/.next-bundle/server/app/(app)/handoff/page.js +2 -0
  27. package/app/apps/web/.next-bundle/server/app/(app)/handoff/page_client-reference-manifest.js +1 -0
  28. package/app/apps/web/.next-bundle/server/app/(app)/hidden/page.js +2 -2
  29. package/app/apps/web/.next-bundle/server/app/(app)/hidden/page_client-reference-manifest.js +1 -1
  30. package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/page.js +2 -2
  31. package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/page_client-reference-manifest.js +1 -1
  32. package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page.js +2 -2
  33. package/app/apps/web/.next-bundle/server/app/(app)/p/[slug]/video/page_client-reference-manifest.js +1 -1
  34. package/app/apps/web/.next-bundle/server/app/(app)/packages/page.js +2 -2
  35. package/app/apps/web/.next-bundle/server/app/(app)/packages/page_client-reference-manifest.js +1 -1
  36. package/app/apps/web/.next-bundle/server/app/(app)/page.js +2 -2
  37. package/app/apps/web/.next-bundle/server/app/(app)/page_client-reference-manifest.js +1 -1
  38. package/app/apps/web/.next-bundle/server/app/(app)/runs/[id]/page.js +2 -2
  39. package/app/apps/web/.next-bundle/server/app/(app)/runs/[id]/page_client-reference-manifest.js +1 -1
  40. package/app/apps/web/.next-bundle/server/app/(app)/runs/page.js +2 -2
  41. package/app/apps/web/.next-bundle/server/app/(app)/runs/page_client-reference-manifest.js +1 -1
  42. package/app/apps/web/.next-bundle/server/app/(app)/search/page.js +2 -2
  43. package/app/apps/web/.next-bundle/server/app/(app)/search/page_client-reference-manifest.js +1 -1
  44. package/app/apps/web/.next-bundle/server/app/(app)/spend/page.js +2 -2
  45. package/app/apps/web/.next-bundle/server/app/(app)/spend/page_client-reference-manifest.js +1 -1
  46. package/app/apps/web/.next-bundle/server/app/(app)/twin/look/page.js +2 -2
  47. package/app/apps/web/.next-bundle/server/app/(app)/twin/look/page_client-reference-manifest.js +1 -1
  48. package/app/apps/web/.next-bundle/server/app/(app)/twin/page.js +2 -2
  49. package/app/apps/web/.next-bundle/server/app/(app)/twin/page_client-reference-manifest.js +1 -1
  50. package/app/apps/web/.next-bundle/server/app/(app)/unsaved/page.js +2 -2
  51. package/app/apps/web/.next-bundle/server/app/(app)/unsaved/page_client-reference-manifest.js +1 -1
  52. package/app/apps/web/.next-bundle/server/app/_not-found/page.js +2 -2
  53. package/app/apps/web/.next-bundle/server/app/_not-found/page_client-reference-manifest.js +1 -1
  54. package/app/apps/web/.next-bundle/server/app/api/accounts/route.js +1 -1
  55. package/app/apps/web/.next-bundle/server/app/api/accounts/route_client-reference-manifest.js +1 -1
  56. package/app/apps/web/.next-bundle/server/app/api/agent/apps/route.js +1 -0
  57. package/app/apps/web/.next-bundle/server/app/api/agent/apps/route_client-reference-manifest.js +1 -0
  58. package/app/apps/web/.next-bundle/server/app/api/agent/consult/route.js +1 -1
  59. package/app/apps/web/.next-bundle/server/app/api/agent/consult/route_client-reference-manifest.js +1 -1
  60. package/app/apps/web/.next-bundle/server/app/api/agent/context/route.js +1 -1
  61. package/app/apps/web/.next-bundle/server/app/api/agent/context/route_client-reference-manifest.js +1 -1
  62. package/app/apps/web/.next-bundle/server/app/api/agent/conversations/route.js +1 -0
  63. package/app/apps/web/.next-bundle/server/app/api/agent/conversations/route_client-reference-manifest.js +1 -0
  64. package/app/apps/web/.next-bundle/server/app/api/agent/handoff/route.js +1 -0
  65. package/app/apps/web/.next-bundle/server/app/api/agent/handoff/route_client-reference-manifest.js +1 -0
  66. package/app/apps/web/.next-bundle/server/app/api/agent/hello/route.js +1 -1
  67. package/app/apps/web/.next-bundle/server/app/api/agent/hello/route_client-reference-manifest.js +1 -1
  68. package/app/apps/web/.next-bundle/server/app/api/agent/journal/route.js +1 -1
  69. package/app/apps/web/.next-bundle/server/app/api/agent/journal/route_client-reference-manifest.js +1 -1
  70. package/app/apps/web/.next-bundle/server/app/api/agent/keys/route.js +1 -1
  71. package/app/apps/web/.next-bundle/server/app/api/agent/keys/route_client-reference-manifest.js +1 -1
  72. package/app/apps/web/.next-bundle/server/app/api/agent/log/route.js +1 -1
  73. package/app/apps/web/.next-bundle/server/app/api/agent/log/route_client-reference-manifest.js +1 -1
  74. package/app/apps/web/.next-bundle/server/app/api/agent/mcp/route.js +2 -2
  75. package/app/apps/web/.next-bundle/server/app/api/agent/mcp/route_client-reference-manifest.js +1 -1
  76. package/app/apps/web/.next-bundle/server/app/api/agent/notes/route.js +1 -1
  77. package/app/apps/web/.next-bundle/server/app/api/agent/notes/route_client-reference-manifest.js +1 -1
  78. package/app/apps/web/.next-bundle/server/app/api/agent/tasks/[id]/route.js +1 -1
  79. package/app/apps/web/.next-bundle/server/app/api/agent/tasks/[id]/route_client-reference-manifest.js +1 -1
  80. package/app/apps/web/.next-bundle/server/app/api/agent/tasks/route.js +1 -1
  81. package/app/apps/web/.next-bundle/server/app/api/agent/tasks/route_client-reference-manifest.js +1 -1
  82. package/app/apps/web/.next-bundle/server/app/api/agent/video/cancel/route.js +1 -0
  83. package/app/apps/web/.next-bundle/server/app/api/agent/video/cancel/route_client-reference-manifest.js +1 -0
  84. package/app/apps/web/.next-bundle/server/app/api/agent/video/jobs/route.js +1 -0
  85. package/app/apps/web/.next-bundle/server/app/api/agent/video/jobs/route_client-reference-manifest.js +1 -0
  86. package/app/apps/web/.next-bundle/server/app/api/agent/video/route.js +1 -0
  87. package/app/apps/web/.next-bundle/server/app/api/agent/video/route_client-reference-manifest.js +1 -0
  88. package/app/apps/web/.next-bundle/server/app/api/ai/route.js +1 -1
  89. package/app/apps/web/.next-bundle/server/app/api/ai/route_client-reference-manifest.js +1 -1
  90. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/[operation]/route.js +1 -1
  91. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/[operation]/route_client-reference-manifest.js +1 -1
  92. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route.js +1 -1
  93. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/credentials/route_client-reference-manifest.js +1 -1
  94. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route.js +1 -1
  95. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/jobs/route_client-reference-manifest.js +1 -1
  96. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route.js +1 -1
  97. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/legal/route_client-reference-manifest.js +1 -1
  98. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route.js +1 -1
  99. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/route_client-reference-manifest.js +1 -1
  100. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route.js +1 -1
  101. package/app/apps/web/.next-bundle/server/app/api/apps/[id]/settings/route_client-reference-manifest.js +1 -1
  102. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route.js +1 -1
  103. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/artifact/route_client-reference-manifest.js +1 -1
  104. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route.js +1 -1
  105. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/cancel/route_client-reference-manifest.js +1 -1
  106. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route.js +1 -1
  107. package/app/apps/web/.next-bundle/server/app/api/apps/jobs/[jobId]/route_client-reference-manifest.js +1 -1
  108. package/app/apps/web/.next-bundle/server/app/api/apps/route.js +1 -1
  109. package/app/apps/web/.next-bundle/server/app/api/apps/route_client-reference-manifest.js +1 -1
  110. package/app/apps/web/.next-bundle/server/app/api/assets/route.js +1 -1
  111. package/app/apps/web/.next-bundle/server/app/api/assets/route_client-reference-manifest.js +1 -1
  112. package/app/apps/web/.next-bundle/server/app/api/assignments/launch/route.js +2 -2
  113. package/app/apps/web/.next-bundle/server/app/api/assignments/launch/route_client-reference-manifest.js +1 -1
  114. package/app/apps/web/.next-bundle/server/app/api/assignments/route.js +1 -1
  115. package/app/apps/web/.next-bundle/server/app/api/assignments/route_client-reference-manifest.js +1 -1
  116. package/app/apps/web/.next-bundle/server/app/api/catalog/route.js +1 -1
  117. package/app/apps/web/.next-bundle/server/app/api/catalog/route_client-reference-manifest.js +1 -1
  118. package/app/apps/web/.next-bundle/server/app/api/check/route.js +1 -1
  119. package/app/apps/web/.next-bundle/server/app/api/check/route_client-reference-manifest.js +1 -1
  120. package/app/apps/web/.next-bundle/server/app/api/consultations/route.js +1 -1
  121. package/app/apps/web/.next-bundle/server/app/api/consultations/route_client-reference-manifest.js +1 -1
  122. package/app/apps/web/.next-bundle/server/app/api/describe/route.js +2 -2
  123. package/app/apps/web/.next-bundle/server/app/api/describe/route_client-reference-manifest.js +1 -1
  124. package/app/apps/web/.next-bundle/server/app/api/disk/route.js +1 -1
  125. package/app/apps/web/.next-bundle/server/app/api/disk/route_client-reference-manifest.js +1 -1
  126. package/app/apps/web/.next-bundle/server/app/api/enrich/route.js +1 -1
  127. package/app/apps/web/.next-bundle/server/app/api/enrich/route_client-reference-manifest.js +1 -1
  128. package/app/apps/web/.next-bundle/server/app/api/environment/route.js +2 -2
  129. package/app/apps/web/.next-bundle/server/app/api/environment/route_client-reference-manifest.js +1 -1
  130. package/app/apps/web/.next-bundle/server/app/api/handoff/[id]/route.js +1 -0
  131. package/app/apps/web/.next-bundle/server/app/api/handoff/[id]/route_client-reference-manifest.js +1 -0
  132. package/app/apps/web/.next-bundle/server/app/api/handoff/digest/route.js +1 -0
  133. package/app/apps/web/.next-bundle/server/app/api/handoff/digest/route_client-reference-manifest.js +1 -0
  134. package/app/apps/web/.next-bundle/server/app/api/handoff/launch/route.js +1 -0
  135. package/app/apps/web/.next-bundle/server/app/api/handoff/launch/route_client-reference-manifest.js +1 -0
  136. package/app/apps/web/.next-bundle/server/app/api/handoff/record/route.js +1 -0
  137. package/app/apps/web/.next-bundle/server/app/api/handoff/record/route_client-reference-manifest.js +1 -0
  138. package/app/apps/web/.next-bundle/server/app/api/handoff/route.js +1 -0
  139. package/app/apps/web/.next-bundle/server/app/api/handoff/route_client-reference-manifest.js +1 -0
  140. package/app/apps/web/.next-bundle/server/app/api/hooks/route.js +2 -2
  141. package/app/apps/web/.next-bundle/server/app/api/hooks/route_client-reference-manifest.js +1 -1
  142. package/app/apps/web/.next-bundle/server/app/api/ingest/route.js +1 -1
  143. package/app/apps/web/.next-bundle/server/app/api/ingest/route_client-reference-manifest.js +1 -1
  144. package/app/apps/web/.next-bundle/server/app/api/md/apply/route.js +1 -1
  145. package/app/apps/web/.next-bundle/server/app/api/md/apply/route_client-reference-manifest.js +1 -1
  146. package/app/apps/web/.next-bundle/server/app/api/md/context/route.js +1 -1
  147. package/app/apps/web/.next-bundle/server/app/api/md/context/route_client-reference-manifest.js +1 -1
  148. package/app/apps/web/.next-bundle/server/app/api/md/inspect/route.js +1 -1
  149. package/app/apps/web/.next-bundle/server/app/api/md/inspect/route_client-reference-manifest.js +1 -1
  150. package/app/apps/web/.next-bundle/server/app/api/md/repair/route.js +1 -1
  151. package/app/apps/web/.next-bundle/server/app/api/md/repair/route_client-reference-manifest.js +1 -1
  152. package/app/apps/web/.next-bundle/server/app/api/md/review/route.js +2 -2
  153. package/app/apps/web/.next-bundle/server/app/api/md/review/route_client-reference-manifest.js +1 -1
  154. package/app/apps/web/.next-bundle/server/app/api/memory/export/route.js +2 -2
  155. package/app/apps/web/.next-bundle/server/app/api/memory/export/route_client-reference-manifest.js +1 -1
  156. package/app/apps/web/.next-bundle/server/app/api/north/route.js +1 -1
  157. package/app/apps/web/.next-bundle/server/app/api/north/route_client-reference-manifest.js +1 -1
  158. package/app/apps/web/.next-bundle/server/app/api/notes/route.js +1 -1
  159. package/app/apps/web/.next-bundle/server/app/api/notes/route_client-reference-manifest.js +1 -1
  160. package/app/apps/web/.next-bundle/server/app/api/open/all/route.js +1 -1
  161. package/app/apps/web/.next-bundle/server/app/api/open/all/route_client-reference-manifest.js +1 -1
  162. package/app/apps/web/.next-bundle/server/app/api/open/route.js +1 -1
  163. package/app/apps/web/.next-bundle/server/app/api/open/route_client-reference-manifest.js +1 -1
  164. package/app/apps/web/.next-bundle/server/app/api/project/route.js +1 -1
  165. package/app/apps/web/.next-bundle/server/app/api/project/route_client-reference-manifest.js +1 -1
  166. package/app/apps/web/.next-bundle/server/app/api/rescan/route.js +1 -1
  167. package/app/apps/web/.next-bundle/server/app/api/rescan/route_client-reference-manifest.js +1 -1
  168. package/app/apps/web/.next-bundle/server/app/api/roots/route.js +1 -1
  169. package/app/apps/web/.next-bundle/server/app/api/roots/route_client-reference-manifest.js +1 -1
  170. package/app/apps/web/.next-bundle/server/app/api/runs/[id]/route.js +1 -1
  171. package/app/apps/web/.next-bundle/server/app/api/runs/[id]/route_client-reference-manifest.js +1 -1
  172. package/app/apps/web/.next-bundle/server/app/api/runs/route.js +1 -1
  173. package/app/apps/web/.next-bundle/server/app/api/runs/route_client-reference-manifest.js +1 -1
  174. package/app/apps/web/.next-bundle/server/app/api/scale/route.js +1 -1
  175. package/app/apps/web/.next-bundle/server/app/api/scale/route_client-reference-manifest.js +1 -1
  176. package/app/apps/web/.next-bundle/server/app/api/search/route.js +1 -1
  177. package/app/apps/web/.next-bundle/server/app/api/search/route_client-reference-manifest.js +1 -1
  178. package/app/apps/web/.next-bundle/server/app/api/secrets/route.js +1 -1
  179. package/app/apps/web/.next-bundle/server/app/api/secrets/route_client-reference-manifest.js +1 -1
  180. package/app/apps/web/.next-bundle/server/app/api/spend/route.js +1 -1
  181. package/app/apps/web/.next-bundle/server/app/api/spend/route_client-reference-manifest.js +1 -1
  182. package/app/apps/web/.next-bundle/server/app/api/tasks/route.js +1 -1
  183. package/app/apps/web/.next-bundle/server/app/api/tasks/route_client-reference-manifest.js +1 -1
  184. package/app/apps/web/.next-bundle/server/app/api/today/route.js +1 -1
  185. package/app/apps/web/.next-bundle/server/app/api/today/route_client-reference-manifest.js +1 -1
  186. package/app/apps/web/.next-bundle/server/app/api/twin/assign/route.js +1 -1
  187. package/app/apps/web/.next-bundle/server/app/api/twin/assign/route_client-reference-manifest.js +1 -1
  188. package/app/apps/web/.next-bundle/server/app/api/twin/classify/route.js +1 -1
  189. package/app/apps/web/.next-bundle/server/app/api/twin/classify/route_client-reference-manifest.js +1 -1
  190. package/app/apps/web/.next-bundle/server/app/api/twin/critique/route.js +1 -1
  191. package/app/apps/web/.next-bundle/server/app/api/twin/critique/route_client-reference-manifest.js +1 -1
  192. package/app/apps/web/.next-bundle/server/app/api/twin/design/route.js +1 -1
  193. package/app/apps/web/.next-bundle/server/app/api/twin/design/route_client-reference-manifest.js +1 -1
  194. package/app/apps/web/.next-bundle/server/app/api/twin/distill/route.js +1 -1
  195. package/app/apps/web/.next-bundle/server/app/api/twin/distill/route_client-reference-manifest.js +1 -1
  196. package/app/apps/web/.next-bundle/server/app/api/twin/episodes/learn/route.js +1 -1
  197. package/app/apps/web/.next-bundle/server/app/api/twin/episodes/learn/route_client-reference-manifest.js +1 -1
  198. package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route.js +1 -1
  199. package/app/apps/web/.next-bundle/server/app/api/twin/episodes/route_client-reference-manifest.js +1 -1
  200. package/app/apps/web/.next-bundle/server/app/api/twin/look/route.js +1 -1
  201. package/app/apps/web/.next-bundle/server/app/api/twin/look/route_client-reference-manifest.js +1 -1
  202. package/app/apps/web/.next-bundle/server/app/api/twin/mine/route.js +1 -1
  203. package/app/apps/web/.next-bundle/server/app/api/twin/mine/route_client-reference-manifest.js +1 -1
  204. package/app/apps/web/.next-bundle/server/app/api/twin/rehearse/route.js +1 -1
  205. package/app/apps/web/.next-bundle/server/app/api/twin/rehearse/route_client-reference-manifest.js +1 -1
  206. package/app/apps/web/.next-bundle/server/app/api/twin/score/route.js +1 -1
  207. package/app/apps/web/.next-bundle/server/app/api/twin/score/route_client-reference-manifest.js +1 -1
  208. package/app/apps/web/.next-bundle/server/app/api/twin/shot/route.js +1 -1
  209. package/app/apps/web/.next-bundle/server/app/api/twin/shot/route_client-reference-manifest.js +1 -1
  210. package/app/apps/web/.next-bundle/server/app/api/twin/sources/route.js +1 -1
  211. package/app/apps/web/.next-bundle/server/app/api/twin/sources/route_client-reference-manifest.js +1 -1
  212. package/app/apps/web/.next-bundle/server/app/api/twin/synthesize/route.js +1 -1
  213. package/app/apps/web/.next-bundle/server/app/api/twin/synthesize/route_client-reference-manifest.js +1 -1
  214. package/app/apps/web/.next-bundle/server/app/api/twin/taste/route.js +1 -1
  215. package/app/apps/web/.next-bundle/server/app/api/twin/taste/route_client-reference-manifest.js +1 -1
  216. package/app/apps/web/.next-bundle/server/app/api/twin/verdicts/route.js +1 -1
  217. package/app/apps/web/.next-bundle/server/app/api/twin/verdicts/route_client-reference-manifest.js +1 -1
  218. package/app/apps/web/.next-bundle/server/app/api/watch/route.js +1 -1
  219. package/app/apps/web/.next-bundle/server/app/api/watch/route_client-reference-manifest.js +1 -1
  220. package/app/apps/web/.next-bundle/server/app/apple-icon.png/route.js +1 -1
  221. package/app/apps/web/.next-bundle/server/app/icon/[id]/route.js +1 -1
  222. package/app/apps/web/.next-bundle/server/app/icon/[id]/route_client-reference-manifest.js +1 -1
  223. package/app/apps/web/.next-bundle/server/app/icon.png/route.js +1 -1
  224. package/app/apps/web/.next-bundle/server/app-paths-manifest.json +45 -33
  225. package/app/apps/web/.next-bundle/server/chunks/1190.js +1 -1
  226. package/app/apps/web/.next-bundle/server/chunks/1214.js +217 -0
  227. package/app/apps/web/.next-bundle/server/chunks/1646.js +5 -5
  228. package/app/apps/web/.next-bundle/server/chunks/2455.js +1 -1
  229. package/app/apps/web/.next-bundle/server/chunks/2658.js +2 -2
  230. package/app/apps/web/.next-bundle/server/chunks/305.js +3 -0
  231. package/app/apps/web/.next-bundle/server/chunks/329.js +1 -0
  232. package/app/apps/web/.next-bundle/server/chunks/3347.js +1 -1
  233. package/app/apps/web/.next-bundle/server/chunks/376.js +1 -0
  234. package/app/apps/web/.next-bundle/server/chunks/3815.js +1 -0
  235. package/app/apps/web/.next-bundle/server/chunks/3834.js +1 -1
  236. package/app/apps/web/.next-bundle/server/chunks/3863.js +1 -0
  237. package/app/apps/web/.next-bundle/server/chunks/3896.js +16 -0
  238. package/app/apps/web/.next-bundle/server/chunks/4478.js +1 -1
  239. package/app/apps/web/.next-bundle/server/chunks/4498.js +2 -2
  240. package/app/apps/web/.next-bundle/server/chunks/4810.js +5 -5
  241. package/app/apps/web/.next-bundle/server/chunks/5103.js +1 -1
  242. package/app/apps/web/.next-bundle/server/chunks/{5975.js → 5676.js} +1 -1
  243. package/app/apps/web/.next-bundle/server/chunks/5839.js +1 -0
  244. package/app/apps/web/.next-bundle/server/chunks/6206.js +1 -0
  245. package/app/apps/web/.next-bundle/server/chunks/6384.js +1 -0
  246. package/app/apps/web/.next-bundle/server/chunks/6913.js +7 -7
  247. package/app/apps/web/.next-bundle/server/chunks/{2256.js → 7011.js} +2 -2
  248. package/app/apps/web/.next-bundle/server/chunks/7245.js +1 -1
  249. package/app/apps/web/.next-bundle/server/chunks/7400.js +3 -0
  250. package/app/apps/web/.next-bundle/server/chunks/7498.js +2 -0
  251. package/app/apps/web/.next-bundle/server/chunks/7957.js +1 -1
  252. package/app/apps/web/.next-bundle/server/chunks/8404.js +1 -1
  253. package/app/apps/web/.next-bundle/server/chunks/8441.js +1 -0
  254. package/app/apps/web/.next-bundle/server/chunks/8463.js +1 -1
  255. package/app/apps/web/.next-bundle/server/chunks/9006.js +3 -0
  256. package/app/apps/web/.next-bundle/server/chunks/9128.js +1 -0
  257. package/app/apps/web/.next-bundle/server/chunks/{6693.js → 9226.js} +2 -2
  258. package/app/apps/web/.next-bundle/server/chunks/9441.js +1 -0
  259. package/app/apps/web/.next-bundle/server/chunks/9511.js +16 -0
  260. package/app/apps/web/.next-bundle/server/functions-config-manifest.json +14 -8
  261. package/app/apps/web/.next-bundle/server/middleware-build-manifest.js +1 -1
  262. package/app/apps/web/.next-bundle/server/middleware-manifest.json +5 -5
  263. package/app/apps/web/.next-bundle/server/middleware.js +2 -2
  264. package/app/apps/web/.next-bundle/server/next-font-manifest.js +1 -1
  265. package/app/apps/web/.next-bundle/server/next-font-manifest.json +1 -1
  266. package/app/apps/web/.next-bundle/server/pages/500.html +1 -1
  267. package/app/apps/web/.next-bundle/server/server-reference-manifest.json +1 -1
  268. package/app/apps/web/.next-bundle/static/chunks/1369-514f421b74ddd546.js +1 -0
  269. package/app/apps/web/.next-bundle/static/chunks/{2202-897aaad3cd785ea6.js → 2202-320ee3883061ca36.js} +1 -1
  270. package/app/apps/web/.next-bundle/static/chunks/2575-e53eff318f43e123.js +1 -0
  271. package/app/apps/web/.next-bundle/static/chunks/2921-92c9a83559025278.js +1 -0
  272. package/app/apps/web/.next-bundle/static/chunks/2948-db3dde2d3c76f184.js +1 -0
  273. package/app/apps/web/.next-bundle/static/chunks/4189-0adcbb5b786fe4ed.js +1 -0
  274. package/app/apps/web/.next-bundle/static/chunks/7f092448-875cfd730dc78b44.js +1 -0
  275. package/app/apps/web/.next-bundle/static/chunks/app/(app)/agents/{page-28b11f831b7bc8c4.js → page-be3b13d1301a5855.js} +1 -1
  276. package/app/apps/web/.next-bundle/static/chunks/app/(app)/ai/{page-8b5fe63986bf3757.js → page-beb96e7f7a56ac65.js} +1 -1
  277. package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/[id]/{page-dc2c3a7874636c29.js → page-7fd561dfea561bee.js} +1 -1
  278. package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-ba0da767076b59ee.js +1 -0
  279. package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-b8cc7ef93c7a01f7.js +1 -0
  280. package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-1c5bac527b81fbfb.js +1 -0
  281. package/app/apps/web/.next-bundle/static/chunks/app/(app)/credentials/{page-0c3307d9cff31e71.js → page-db952949fd680244.js} +1 -1
  282. package/app/apps/web/.next-bundle/static/chunks/app/(app)/disk/{page-13cd17998c4b3c05.js → page-58dba9a693f3efd1.js} +1 -1
  283. package/app/apps/web/.next-bundle/static/chunks/app/(app)/error-2c3f75f2c68c6bab.js +1 -0
  284. package/app/apps/web/.next-bundle/static/chunks/app/(app)/handoff/page-af0790c554af2371.js +1 -0
  285. package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-a2f95d21457cf062.js +1 -0
  286. package/app/apps/web/.next-bundle/static/chunks/app/(app)/layout-2f357c79701ed83e.js +1 -0
  287. package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/page-ea0ecbae2d960666.js +1 -0
  288. package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-51409af610218587.js +1 -0
  289. package/app/apps/web/.next-bundle/static/chunks/app/(app)/packages/page-eac7618918d667c0.js +1 -0
  290. package/app/apps/web/.next-bundle/static/chunks/app/(app)/page-ad2cd4e236fd2f60.js +1 -0
  291. package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/[id]/{page-0f664082168a49b2.js → page-75c179ccca63a724.js} +1 -1
  292. package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-1c5bac527b81fbfb.js +1 -0
  293. package/app/apps/web/.next-bundle/static/chunks/app/(app)/search/{page-0c57c71f581cdf40.js → page-5f61bffc868d47cc.js} +1 -1
  294. package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-fce603598ab4b457.js +1 -0
  295. package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/look/{page-a1f666c611d55a0c.js → page-e8582a3dd4da47bb.js} +1 -1
  296. package/app/apps/web/.next-bundle/static/chunks/app/(app)/twin/{page-c7212909b051736c.js → page-6e103fc5ed54eabe.js} +1 -1
  297. package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-433663c1b9556d04.js +1 -0
  298. package/app/apps/web/.next-bundle/static/chunks/app/_not-found/page-eac7618918d667c0.js +1 -0
  299. package/app/apps/web/.next-bundle/static/chunks/app/api/accounts/route-eac7618918d667c0.js +1 -0
  300. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/apps/route-eac7618918d667c0.js +1 -0
  301. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/consult/route-eac7618918d667c0.js +1 -0
  302. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/context/route-eac7618918d667c0.js +1 -0
  303. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/conversations/route-eac7618918d667c0.js +1 -0
  304. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/handoff/route-eac7618918d667c0.js +1 -0
  305. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/hello/route-eac7618918d667c0.js +1 -0
  306. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/journal/route-eac7618918d667c0.js +1 -0
  307. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/keys/route-eac7618918d667c0.js +1 -0
  308. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/log/route-eac7618918d667c0.js +1 -0
  309. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/mcp/route-eac7618918d667c0.js +1 -0
  310. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/notes/route-eac7618918d667c0.js +1 -0
  311. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/[id]/route-eac7618918d667c0.js +1 -0
  312. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/route-eac7618918d667c0.js +1 -0
  313. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/cancel/route-eac7618918d667c0.js +1 -0
  314. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/jobs/route-eac7618918d667c0.js +1 -0
  315. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/video/route-eac7618918d667c0.js +1 -0
  316. package/app/apps/web/.next-bundle/static/chunks/app/api/ai/route-eac7618918d667c0.js +1 -0
  317. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/[operation]/route-eac7618918d667c0.js +1 -0
  318. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/credentials/route-eac7618918d667c0.js +1 -0
  319. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/jobs/route-eac7618918d667c0.js +1 -0
  320. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/legal/route-eac7618918d667c0.js +1 -0
  321. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/route-eac7618918d667c0.js +1 -0
  322. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/settings/route-eac7618918d667c0.js +1 -0
  323. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/artifact/route-eac7618918d667c0.js +1 -0
  324. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/cancel/route-eac7618918d667c0.js +1 -0
  325. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/route-eac7618918d667c0.js +1 -0
  326. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/route-eac7618918d667c0.js +1 -0
  327. package/app/apps/web/.next-bundle/static/chunks/app/api/assets/route-eac7618918d667c0.js +1 -0
  328. package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/launch/route-eac7618918d667c0.js +1 -0
  329. package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/route-eac7618918d667c0.js +1 -0
  330. package/app/apps/web/.next-bundle/static/chunks/app/api/catalog/route-eac7618918d667c0.js +1 -0
  331. package/app/apps/web/.next-bundle/static/chunks/app/api/check/route-eac7618918d667c0.js +1 -0
  332. package/app/apps/web/.next-bundle/static/chunks/app/api/consultations/route-eac7618918d667c0.js +1 -0
  333. package/app/apps/web/.next-bundle/static/chunks/app/api/describe/route-eac7618918d667c0.js +1 -0
  334. package/app/apps/web/.next-bundle/static/chunks/app/api/disk/route-eac7618918d667c0.js +1 -0
  335. package/app/apps/web/.next-bundle/static/chunks/app/api/enrich/route-eac7618918d667c0.js +1 -0
  336. package/app/apps/web/.next-bundle/static/chunks/app/api/environment/route-eac7618918d667c0.js +1 -0
  337. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/[id]/route-eac7618918d667c0.js +1 -0
  338. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/digest/route-eac7618918d667c0.js +1 -0
  339. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/launch/route-eac7618918d667c0.js +1 -0
  340. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/record/route-eac7618918d667c0.js +1 -0
  341. package/app/apps/web/.next-bundle/static/chunks/app/api/handoff/route-eac7618918d667c0.js +1 -0
  342. package/app/apps/web/.next-bundle/static/chunks/app/api/hooks/route-eac7618918d667c0.js +1 -0
  343. package/app/apps/web/.next-bundle/static/chunks/app/api/ingest/route-eac7618918d667c0.js +1 -0
  344. package/app/apps/web/.next-bundle/static/chunks/app/api/md/apply/route-eac7618918d667c0.js +1 -0
  345. package/app/apps/web/.next-bundle/static/chunks/app/api/md/context/route-eac7618918d667c0.js +1 -0
  346. package/app/apps/web/.next-bundle/static/chunks/app/api/md/inspect/route-eac7618918d667c0.js +1 -0
  347. package/app/apps/web/.next-bundle/static/chunks/app/api/md/repair/route-eac7618918d667c0.js +1 -0
  348. package/app/apps/web/.next-bundle/static/chunks/app/api/md/review/route-eac7618918d667c0.js +1 -0
  349. package/app/apps/web/.next-bundle/static/chunks/app/api/memory/export/route-eac7618918d667c0.js +1 -0
  350. package/app/apps/web/.next-bundle/static/chunks/app/api/north/route-eac7618918d667c0.js +1 -0
  351. package/app/apps/web/.next-bundle/static/chunks/app/api/notes/route-eac7618918d667c0.js +1 -0
  352. package/app/apps/web/.next-bundle/static/chunks/app/api/open/all/route-eac7618918d667c0.js +1 -0
  353. package/app/apps/web/.next-bundle/static/chunks/app/api/open/route-eac7618918d667c0.js +1 -0
  354. package/app/apps/web/.next-bundle/static/chunks/app/api/project/route-eac7618918d667c0.js +1 -0
  355. package/app/apps/web/.next-bundle/static/chunks/app/api/rescan/route-eac7618918d667c0.js +1 -0
  356. package/app/apps/web/.next-bundle/static/chunks/app/api/roots/route-eac7618918d667c0.js +1 -0
  357. package/app/apps/web/.next-bundle/static/chunks/app/api/runs/[id]/route-eac7618918d667c0.js +1 -0
  358. package/app/apps/web/.next-bundle/static/chunks/app/api/runs/route-eac7618918d667c0.js +1 -0
  359. package/app/apps/web/.next-bundle/static/chunks/app/api/scale/route-eac7618918d667c0.js +1 -0
  360. package/app/apps/web/.next-bundle/static/chunks/app/api/search/route-eac7618918d667c0.js +1 -0
  361. package/app/apps/web/.next-bundle/static/chunks/app/api/secrets/route-eac7618918d667c0.js +1 -0
  362. package/app/apps/web/.next-bundle/static/chunks/app/api/spend/route-eac7618918d667c0.js +1 -0
  363. package/app/apps/web/.next-bundle/static/chunks/app/api/tasks/route-eac7618918d667c0.js +1 -0
  364. package/app/apps/web/.next-bundle/static/chunks/app/api/today/route-eac7618918d667c0.js +1 -0
  365. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/assign/route-eac7618918d667c0.js +1 -0
  366. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/classify/route-eac7618918d667c0.js +1 -0
  367. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/critique/route-eac7618918d667c0.js +1 -0
  368. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/design/route-eac7618918d667c0.js +1 -0
  369. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/distill/route-eac7618918d667c0.js +1 -0
  370. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/learn/route-eac7618918d667c0.js +1 -0
  371. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/route-eac7618918d667c0.js +1 -0
  372. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/look/route-eac7618918d667c0.js +1 -0
  373. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/mine/route-eac7618918d667c0.js +1 -0
  374. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/rehearse/route-eac7618918d667c0.js +1 -0
  375. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/score/route-eac7618918d667c0.js +1 -0
  376. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/shot/route-eac7618918d667c0.js +1 -0
  377. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/sources/route-eac7618918d667c0.js +1 -0
  378. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/synthesize/route-eac7618918d667c0.js +1 -0
  379. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/taste/route-eac7618918d667c0.js +1 -0
  380. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/verdicts/route-eac7618918d667c0.js +1 -0
  381. package/app/apps/web/.next-bundle/static/chunks/app/api/watch/route-eac7618918d667c0.js +1 -0
  382. package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-1c5bac527b81fbfb.js +1 -0
  383. package/app/apps/web/.next-bundle/static/chunks/app/icon/[id]/route-eac7618918d667c0.js +1 -0
  384. package/app/apps/web/.next-bundle/static/chunks/app/not-found-1c5bac527b81fbfb.js +1 -0
  385. package/app/apps/web/.next-bundle/static/chunks/{main-app-a35ca295bbc2c578.js → main-app-0bad81d9bc79bc82.js} +1 -1
  386. package/app/apps/web/.next-bundle/static/css/5fdcdf46b29ffe26.css +1 -0
  387. package/app/apps/web/.next-bundle/static/phRAJdip0Dtgh1L1Yw0jm/_buildManifest.js +1 -0
  388. package/app/apps/web/server.js +1 -1
  389. package/app/node_modules/@panoma/ai/dist/index.d.ts +6 -1
  390. package/app/node_modules/@panoma/ai/dist/index.js +43 -6
  391. package/app/node_modules/@panoma/core/dist/index.d.ts +39 -1
  392. package/app/node_modules/@panoma/core/dist/index.js +149 -57
  393. package/app/node_modules/@panoma/core/dist/untrusted.d.ts +14 -1
  394. package/app/node_modules/@panoma/db/dist/{chunk-V6TJYC6N.js → chunk-VTHU57AZ.js} +59 -3
  395. package/app/node_modules/@panoma/db/dist/{client-B1_3MF0o.d.ts → client-B2H4A_7h.d.ts} +379 -3
  396. package/app/node_modules/@panoma/db/dist/client.d.ts +1 -1
  397. package/app/node_modules/@panoma/db/dist/client.js +1 -1
  398. package/app/node_modules/@panoma/db/dist/index.d.ts +56 -4
  399. package/app/node_modules/@panoma/db/dist/index.js +104 -27
  400. package/app/node_modules/@panoma/db/migrations/0060_handoffs.sql +23 -0
  401. package/app/node_modules/@panoma/db/migrations/0061_handoff_surface.sql +1 -0
  402. package/app/node_modules/@panoma/db/migrations/0062_handoff_requested_by.sql +1 -0
  403. package/app/node_modules/@panoma/db/migrations/0063_app_job_requested_by.sql +1 -0
  404. package/app/node_modules/@panoma/db/migrations/meta/0060_snapshot.json +4258 -0
  405. package/app/node_modules/@panoma/db/migrations/meta/0061_snapshot.json +4265 -0
  406. package/app/node_modules/@panoma/db/migrations/meta/0062_snapshot.json +4271 -0
  407. package/app/node_modules/@panoma/db/migrations/meta/0063_snapshot.json +4277 -0
  408. package/app/node_modules/@panoma/db/migrations/meta/_journal.json +28 -0
  409. package/app/node_modules/@panoma/handoff/dist/chunk-4PTSNPI3.js +73 -0
  410. package/app/node_modules/@panoma/handoff/dist/faults.d.ts +26 -0
  411. package/app/node_modules/@panoma/handoff/dist/faults.js +14 -0
  412. package/app/node_modules/@panoma/handoff/dist/index.d.ts +579 -0
  413. package/app/node_modules/@panoma/handoff/dist/index.js +3364 -0
  414. package/app/node_modules/@panoma/handoff/package.json +23 -0
  415. package/app/node_modules/@panoma/mcp/dist/index.js +709 -13
  416. package/app/node_modules/drizzle-orm/node_modules/.bin/gel +3 -3
  417. package/dist/{ai-command-IRSVAWYU.js → ai-command-TSSMG7H3.js} +4 -4
  418. package/dist/{apps-FI2Q2CFP.js → apps-7E4RUVJY.js} +4 -4
  419. package/dist/{check-command-PPILA25M.js → check-command-RIUGB4HV.js} +4 -4
  420. package/dist/{chunk-P7ZGHSMO.js → chunk-3QYJKRW6.js} +209 -1
  421. package/dist/{chunk-5EG7NRL4.js → chunk-3T3WTSPS.js} +147 -57
  422. package/dist/{chunk-BCHIG2AU.js → chunk-47UUF7B7.js} +2 -2
  423. package/dist/{chunk-JY7ALFNX.js → chunk-6RVG2VUY.js} +44 -7
  424. package/dist/{chunk-2MKBCYVH.js → chunk-FWSQH4NS.js} +3 -3
  425. package/dist/{chunk-YQOQAFTY.js → chunk-HHHT2MTQ.js} +2 -2
  426. package/dist/{chunk-AW6KPPIR.js → chunk-WAI2SCFY.js} +22 -4
  427. package/dist/{dist-NQIOBJFO.js → dist-F3N6LCV6.js} +2 -2
  428. package/dist/{dist-G32QKT7H.js → dist-PQLBVRZQ.js} +7 -1
  429. package/dist/{dist-F5A5RVCK.js → dist-RNXJD4VL.js} +1 -1
  430. package/dist/handoff-command-NGSYPGWW.js +3876 -0
  431. package/dist/index.js +47 -16
  432. package/dist/{md-command-Q4M2YBEH.js → md-command-PYD3SPHA.js} +3 -3
  433. package/dist/{memory-command-IXVQSADX.js → memory-command-BWP52OQS.js} +3 -3
  434. package/dist/{next-command-2PXBP5OR.js → next-command-NFDGQMHO.js} +4 -4
  435. package/dist/{north-command-XFUNSNPH.js → north-command-SKBVZEGK.js} +4 -4
  436. package/dist/{review-command-6AH7MVKP.js → review-command-SMYI7XKH.js} +2 -2
  437. package/dist/{spend-command-DA36GLNI.js → spend-command-NYAELLRP.js} +3 -3
  438. package/dist/{twin-command-HYEG2WPA.js → twin-command-M25PTHLP.js} +9 -8
  439. package/dist/{video-TWUW2L36.js → video-QKEQ2FGR.js} +6 -6
  440. package/npm-shrinkwrap.json +2 -2
  441. package/package.json +3 -2
  442. package/app/apps/web/.next-bundle/server/chunks/1602.js +0 -3
  443. package/app/apps/web/.next-bundle/server/chunks/3088.js +0 -16
  444. package/app/apps/web/.next-bundle/server/chunks/3768.js +0 -3
  445. package/app/apps/web/.next-bundle/server/chunks/5251.js +0 -217
  446. package/app/apps/web/.next-bundle/server/chunks/5741.js +0 -1
  447. package/app/apps/web/.next-bundle/server/chunks/5941.js +0 -1
  448. package/app/apps/web/.next-bundle/server/chunks/7581.js +0 -1
  449. package/app/apps/web/.next-bundle/server/chunks/8384.js +0 -1
  450. package/app/apps/web/.next-bundle/server/chunks/8990.js +0 -2
  451. package/app/apps/web/.next-bundle/static/chunks/1369-8f6dde7e48bc4684.js +0 -1
  452. package/app/apps/web/.next-bundle/static/chunks/2340-11b365d374b2be7b.js +0 -1
  453. package/app/apps/web/.next-bundle/static/chunks/2575-62182d00e5cf3115.js +0 -1
  454. package/app/apps/web/.next-bundle/static/chunks/261-1c2829beaca77dc9.js +0 -1
  455. package/app/apps/web/.next-bundle/static/chunks/7f092448-e07c21e2897ac52e.js +0 -1
  456. package/app/apps/web/.next-bundle/static/chunks/app/(app)/apps/page-00ec4bf42a14ac17.js +0 -1
  457. package/app/apps/web/.next-bundle/static/chunks/app/(app)/bridge/page-86a819d6d7f65cd0.js +0 -1
  458. package/app/apps/web/.next-bundle/static/chunks/app/(app)/copies/page-69ee3fc638b1eecf.js +0 -1
  459. package/app/apps/web/.next-bundle/static/chunks/app/(app)/error-4706c73d842251e2.js +0 -1
  460. package/app/apps/web/.next-bundle/static/chunks/app/(app)/hidden/page-55639b16ccebad95.js +0 -1
  461. package/app/apps/web/.next-bundle/static/chunks/app/(app)/layout-7f3d387ae540018d.js +0 -1
  462. package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/page-c3c3a9be458adeed.js +0 -1
  463. package/app/apps/web/.next-bundle/static/chunks/app/(app)/p/[slug]/video/page-088684f252e3d59c.js +0 -1
  464. package/app/apps/web/.next-bundle/static/chunks/app/(app)/packages/page-de6e3e5d6198c075.js +0 -1
  465. package/app/apps/web/.next-bundle/static/chunks/app/(app)/page-6cf474454fb2ea5e.js +0 -1
  466. package/app/apps/web/.next-bundle/static/chunks/app/(app)/runs/page-69ee3fc638b1eecf.js +0 -1
  467. package/app/apps/web/.next-bundle/static/chunks/app/(app)/spend/page-201b626f17f11eeb.js +0 -1
  468. package/app/apps/web/.next-bundle/static/chunks/app/(app)/unsaved/page-c545489e991b83d2.js +0 -1
  469. package/app/apps/web/.next-bundle/static/chunks/app/_not-found/page-de6e3e5d6198c075.js +0 -1
  470. package/app/apps/web/.next-bundle/static/chunks/app/api/accounts/route-de6e3e5d6198c075.js +0 -1
  471. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/consult/route-de6e3e5d6198c075.js +0 -1
  472. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/context/route-de6e3e5d6198c075.js +0 -1
  473. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/hello/route-de6e3e5d6198c075.js +0 -1
  474. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/journal/route-de6e3e5d6198c075.js +0 -1
  475. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/keys/route-de6e3e5d6198c075.js +0 -1
  476. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/log/route-de6e3e5d6198c075.js +0 -1
  477. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/mcp/route-de6e3e5d6198c075.js +0 -1
  478. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/notes/route-de6e3e5d6198c075.js +0 -1
  479. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/[id]/route-de6e3e5d6198c075.js +0 -1
  480. package/app/apps/web/.next-bundle/static/chunks/app/api/agent/tasks/route-de6e3e5d6198c075.js +0 -1
  481. package/app/apps/web/.next-bundle/static/chunks/app/api/ai/route-de6e3e5d6198c075.js +0 -1
  482. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/[operation]/route-de6e3e5d6198c075.js +0 -1
  483. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/credentials/route-de6e3e5d6198c075.js +0 -1
  484. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/jobs/route-de6e3e5d6198c075.js +0 -1
  485. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/legal/route-de6e3e5d6198c075.js +0 -1
  486. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/route-de6e3e5d6198c075.js +0 -1
  487. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/[id]/settings/route-de6e3e5d6198c075.js +0 -1
  488. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/artifact/route-de6e3e5d6198c075.js +0 -1
  489. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/cancel/route-de6e3e5d6198c075.js +0 -1
  490. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/jobs/[jobId]/route-de6e3e5d6198c075.js +0 -1
  491. package/app/apps/web/.next-bundle/static/chunks/app/api/apps/route-de6e3e5d6198c075.js +0 -1
  492. package/app/apps/web/.next-bundle/static/chunks/app/api/assets/route-de6e3e5d6198c075.js +0 -1
  493. package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/launch/route-de6e3e5d6198c075.js +0 -1
  494. package/app/apps/web/.next-bundle/static/chunks/app/api/assignments/route-de6e3e5d6198c075.js +0 -1
  495. package/app/apps/web/.next-bundle/static/chunks/app/api/catalog/route-de6e3e5d6198c075.js +0 -1
  496. package/app/apps/web/.next-bundle/static/chunks/app/api/check/route-de6e3e5d6198c075.js +0 -1
  497. package/app/apps/web/.next-bundle/static/chunks/app/api/consultations/route-de6e3e5d6198c075.js +0 -1
  498. package/app/apps/web/.next-bundle/static/chunks/app/api/describe/route-de6e3e5d6198c075.js +0 -1
  499. package/app/apps/web/.next-bundle/static/chunks/app/api/disk/route-de6e3e5d6198c075.js +0 -1
  500. package/app/apps/web/.next-bundle/static/chunks/app/api/enrich/route-de6e3e5d6198c075.js +0 -1
  501. package/app/apps/web/.next-bundle/static/chunks/app/api/environment/route-de6e3e5d6198c075.js +0 -1
  502. package/app/apps/web/.next-bundle/static/chunks/app/api/hooks/route-de6e3e5d6198c075.js +0 -1
  503. package/app/apps/web/.next-bundle/static/chunks/app/api/ingest/route-de6e3e5d6198c075.js +0 -1
  504. package/app/apps/web/.next-bundle/static/chunks/app/api/md/apply/route-de6e3e5d6198c075.js +0 -1
  505. package/app/apps/web/.next-bundle/static/chunks/app/api/md/context/route-de6e3e5d6198c075.js +0 -1
  506. package/app/apps/web/.next-bundle/static/chunks/app/api/md/inspect/route-de6e3e5d6198c075.js +0 -1
  507. package/app/apps/web/.next-bundle/static/chunks/app/api/md/repair/route-de6e3e5d6198c075.js +0 -1
  508. package/app/apps/web/.next-bundle/static/chunks/app/api/md/review/route-de6e3e5d6198c075.js +0 -1
  509. package/app/apps/web/.next-bundle/static/chunks/app/api/memory/export/route-de6e3e5d6198c075.js +0 -1
  510. package/app/apps/web/.next-bundle/static/chunks/app/api/north/route-de6e3e5d6198c075.js +0 -1
  511. package/app/apps/web/.next-bundle/static/chunks/app/api/notes/route-de6e3e5d6198c075.js +0 -1
  512. package/app/apps/web/.next-bundle/static/chunks/app/api/open/all/route-de6e3e5d6198c075.js +0 -1
  513. package/app/apps/web/.next-bundle/static/chunks/app/api/open/route-de6e3e5d6198c075.js +0 -1
  514. package/app/apps/web/.next-bundle/static/chunks/app/api/project/route-de6e3e5d6198c075.js +0 -1
  515. package/app/apps/web/.next-bundle/static/chunks/app/api/rescan/route-de6e3e5d6198c075.js +0 -1
  516. package/app/apps/web/.next-bundle/static/chunks/app/api/roots/route-de6e3e5d6198c075.js +0 -1
  517. package/app/apps/web/.next-bundle/static/chunks/app/api/runs/[id]/route-de6e3e5d6198c075.js +0 -1
  518. package/app/apps/web/.next-bundle/static/chunks/app/api/runs/route-de6e3e5d6198c075.js +0 -1
  519. package/app/apps/web/.next-bundle/static/chunks/app/api/scale/route-de6e3e5d6198c075.js +0 -1
  520. package/app/apps/web/.next-bundle/static/chunks/app/api/search/route-de6e3e5d6198c075.js +0 -1
  521. package/app/apps/web/.next-bundle/static/chunks/app/api/secrets/route-de6e3e5d6198c075.js +0 -1
  522. package/app/apps/web/.next-bundle/static/chunks/app/api/spend/route-de6e3e5d6198c075.js +0 -1
  523. package/app/apps/web/.next-bundle/static/chunks/app/api/tasks/route-de6e3e5d6198c075.js +0 -1
  524. package/app/apps/web/.next-bundle/static/chunks/app/api/today/route-de6e3e5d6198c075.js +0 -1
  525. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/assign/route-de6e3e5d6198c075.js +0 -1
  526. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/classify/route-de6e3e5d6198c075.js +0 -1
  527. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/critique/route-de6e3e5d6198c075.js +0 -1
  528. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/design/route-de6e3e5d6198c075.js +0 -1
  529. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/distill/route-de6e3e5d6198c075.js +0 -1
  530. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/learn/route-de6e3e5d6198c075.js +0 -1
  531. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/episodes/route-de6e3e5d6198c075.js +0 -1
  532. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/look/route-de6e3e5d6198c075.js +0 -1
  533. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/mine/route-de6e3e5d6198c075.js +0 -1
  534. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/rehearse/route-de6e3e5d6198c075.js +0 -1
  535. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/score/route-de6e3e5d6198c075.js +0 -1
  536. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/shot/route-de6e3e5d6198c075.js +0 -1
  537. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/sources/route-de6e3e5d6198c075.js +0 -1
  538. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/synthesize/route-de6e3e5d6198c075.js +0 -1
  539. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/taste/route-de6e3e5d6198c075.js +0 -1
  540. package/app/apps/web/.next-bundle/static/chunks/app/api/twin/verdicts/route-de6e3e5d6198c075.js +0 -1
  541. package/app/apps/web/.next-bundle/static/chunks/app/api/watch/route-de6e3e5d6198c075.js +0 -1
  542. package/app/apps/web/.next-bundle/static/chunks/app/global-not-found-69ee3fc638b1eecf.js +0 -1
  543. package/app/apps/web/.next-bundle/static/chunks/app/icon/[id]/route-de6e3e5d6198c075.js +0 -1
  544. package/app/apps/web/.next-bundle/static/chunks/app/not-found-69ee3fc638b1eecf.js +0 -1
  545. package/app/apps/web/.next-bundle/static/css/988bfb2024e770b7.css +0 -1
  546. package/app/apps/web/.next-bundle/static/mhsTm5XiqL98MCgDVB08u/_buildManifest.js +0 -1
  547. /package/app/apps/web/.next-bundle/static/{mhsTm5XiqL98MCgDVB08u → phRAJdip0Dtgh1L1Yw0jm}/_ssgManifest.js +0 -0
@@ -0,0 +1,4277 @@
1
+ {
2
+ "id": "6012925f-8c3a-484c-a315-f4d0c5baa7dd",
3
+ "prevId": "f6b081d2-080c-4b23-86e8-cfa763991809",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.advisories": {
8
+ "name": "advisories",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "text",
14
+ "primaryKey": true,
15
+ "notNull": true
16
+ },
17
+ "summary": {
18
+ "name": "summary",
19
+ "type": "text",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "severity": {
24
+ "name": "severity",
25
+ "type": "text",
26
+ "primaryKey": false,
27
+ "notNull": true,
28
+ "default": "'unknown'"
29
+ },
30
+ "published_at": {
31
+ "name": "published_at",
32
+ "type": "timestamp with time zone",
33
+ "primaryKey": false,
34
+ "notNull": false
35
+ },
36
+ "url": {
37
+ "name": "url",
38
+ "type": "text",
39
+ "primaryKey": false,
40
+ "notNull": false
41
+ },
42
+ "fixed_versions": {
43
+ "name": "fixed_versions",
44
+ "type": "jsonb",
45
+ "primaryKey": false,
46
+ "notNull": false
47
+ }
48
+ },
49
+ "indexes": {},
50
+ "foreignKeys": {},
51
+ "compositePrimaryKeys": {},
52
+ "uniqueConstraints": {},
53
+ "policies": {},
54
+ "checkConstraints": {},
55
+ "isRLSEnabled": false
56
+ },
57
+ "public.agent_activities": {
58
+ "name": "agent_activities",
59
+ "schema": "",
60
+ "columns": {
61
+ "id": {
62
+ "name": "id",
63
+ "type": "text",
64
+ "primaryKey": true,
65
+ "notNull": true
66
+ },
67
+ "session_id": {
68
+ "name": "session_id",
69
+ "type": "text",
70
+ "primaryKey": false,
71
+ "notNull": true
72
+ },
73
+ "project_id": {
74
+ "name": "project_id",
75
+ "type": "text",
76
+ "primaryKey": false,
77
+ "notNull": true
78
+ },
79
+ "agent_id": {
80
+ "name": "agent_id",
81
+ "type": "text",
82
+ "primaryKey": false,
83
+ "notNull": true
84
+ },
85
+ "kind": {
86
+ "name": "kind",
87
+ "type": "text",
88
+ "primaryKey": false,
89
+ "notNull": true,
90
+ "default": "'change'"
91
+ },
92
+ "summary": {
93
+ "name": "summary",
94
+ "type": "text",
95
+ "primaryKey": false,
96
+ "notNull": true
97
+ },
98
+ "details": {
99
+ "name": "details",
100
+ "type": "text",
101
+ "primaryKey": false,
102
+ "notNull": false
103
+ },
104
+ "files_touched": {
105
+ "name": "files_touched",
106
+ "type": "jsonb",
107
+ "primaryKey": false,
108
+ "notNull": false
109
+ },
110
+ "commit_sha": {
111
+ "name": "commit_sha",
112
+ "type": "text",
113
+ "primaryKey": false,
114
+ "notNull": false
115
+ },
116
+ "created_at": {
117
+ "name": "created_at",
118
+ "type": "timestamp with time zone",
119
+ "primaryKey": false,
120
+ "notNull": true,
121
+ "default": "now()"
122
+ }
123
+ },
124
+ "indexes": {
125
+ "agent_activities_project_idx": {
126
+ "name": "agent_activities_project_idx",
127
+ "columns": [
128
+ {
129
+ "expression": "project_id",
130
+ "isExpression": false,
131
+ "asc": true,
132
+ "nulls": "last"
133
+ },
134
+ {
135
+ "expression": "created_at",
136
+ "isExpression": false,
137
+ "asc": true,
138
+ "nulls": "last"
139
+ }
140
+ ],
141
+ "isUnique": false,
142
+ "concurrently": false,
143
+ "method": "btree",
144
+ "with": {}
145
+ },
146
+ "agent_activities_search_idx": {
147
+ "name": "agent_activities_search_idx",
148
+ "columns": [
149
+ {
150
+ "expression": "to_tsvector('simple', \"summary\" || ' ' || coalesce(\"details\", ''))",
151
+ "asc": true,
152
+ "isExpression": true,
153
+ "nulls": "last"
154
+ }
155
+ ],
156
+ "isUnique": false,
157
+ "concurrently": false,
158
+ "method": "gin",
159
+ "with": {}
160
+ }
161
+ },
162
+ "foreignKeys": {
163
+ "agent_activities_session_id_agent_sessions_id_fk": {
164
+ "name": "agent_activities_session_id_agent_sessions_id_fk",
165
+ "tableFrom": "agent_activities",
166
+ "tableTo": "agent_sessions",
167
+ "columnsFrom": [
168
+ "session_id"
169
+ ],
170
+ "columnsTo": [
171
+ "id"
172
+ ],
173
+ "onDelete": "cascade",
174
+ "onUpdate": "no action"
175
+ },
176
+ "agent_activities_project_id_projects_id_fk": {
177
+ "name": "agent_activities_project_id_projects_id_fk",
178
+ "tableFrom": "agent_activities",
179
+ "tableTo": "projects",
180
+ "columnsFrom": [
181
+ "project_id"
182
+ ],
183
+ "columnsTo": [
184
+ "id"
185
+ ],
186
+ "onDelete": "cascade",
187
+ "onUpdate": "no action"
188
+ },
189
+ "agent_activities_agent_id_agents_id_fk": {
190
+ "name": "agent_activities_agent_id_agents_id_fk",
191
+ "tableFrom": "agent_activities",
192
+ "tableTo": "agents",
193
+ "columnsFrom": [
194
+ "agent_id"
195
+ ],
196
+ "columnsTo": [
197
+ "id"
198
+ ],
199
+ "onDelete": "cascade",
200
+ "onUpdate": "no action"
201
+ }
202
+ },
203
+ "compositePrimaryKeys": {},
204
+ "uniqueConstraints": {},
205
+ "policies": {},
206
+ "checkConstraints": {},
207
+ "isRLSEnabled": false
208
+ },
209
+ "public.agent_sessions": {
210
+ "name": "agent_sessions",
211
+ "schema": "",
212
+ "columns": {
213
+ "id": {
214
+ "name": "id",
215
+ "type": "text",
216
+ "primaryKey": true,
217
+ "notNull": true
218
+ },
219
+ "agent_id": {
220
+ "name": "agent_id",
221
+ "type": "text",
222
+ "primaryKey": false,
223
+ "notNull": true
224
+ },
225
+ "project_id": {
226
+ "name": "project_id",
227
+ "type": "text",
228
+ "primaryKey": false,
229
+ "notNull": true
230
+ },
231
+ "started_at": {
232
+ "name": "started_at",
233
+ "type": "timestamp with time zone",
234
+ "primaryKey": false,
235
+ "notNull": true,
236
+ "default": "now()"
237
+ },
238
+ "ended_at": {
239
+ "name": "ended_at",
240
+ "type": "timestamp with time zone",
241
+ "primaryKey": false,
242
+ "notNull": false
243
+ },
244
+ "summary": {
245
+ "name": "summary",
246
+ "type": "text",
247
+ "primaryKey": false,
248
+ "notNull": false
249
+ }
250
+ },
251
+ "indexes": {
252
+ "agent_sessions_project_idx": {
253
+ "name": "agent_sessions_project_idx",
254
+ "columns": [
255
+ {
256
+ "expression": "project_id",
257
+ "isExpression": false,
258
+ "asc": true,
259
+ "nulls": "last"
260
+ },
261
+ {
262
+ "expression": "started_at",
263
+ "isExpression": false,
264
+ "asc": true,
265
+ "nulls": "last"
266
+ }
267
+ ],
268
+ "isUnique": false,
269
+ "concurrently": false,
270
+ "method": "btree",
271
+ "with": {}
272
+ }
273
+ },
274
+ "foreignKeys": {
275
+ "agent_sessions_agent_id_agents_id_fk": {
276
+ "name": "agent_sessions_agent_id_agents_id_fk",
277
+ "tableFrom": "agent_sessions",
278
+ "tableTo": "agents",
279
+ "columnsFrom": [
280
+ "agent_id"
281
+ ],
282
+ "columnsTo": [
283
+ "id"
284
+ ],
285
+ "onDelete": "cascade",
286
+ "onUpdate": "no action"
287
+ },
288
+ "agent_sessions_project_id_projects_id_fk": {
289
+ "name": "agent_sessions_project_id_projects_id_fk",
290
+ "tableFrom": "agent_sessions",
291
+ "tableTo": "projects",
292
+ "columnsFrom": [
293
+ "project_id"
294
+ ],
295
+ "columnsTo": [
296
+ "id"
297
+ ],
298
+ "onDelete": "cascade",
299
+ "onUpdate": "no action"
300
+ }
301
+ },
302
+ "compositePrimaryKeys": {},
303
+ "uniqueConstraints": {},
304
+ "policies": {},
305
+ "checkConstraints": {},
306
+ "isRLSEnabled": false
307
+ },
308
+ "public.agents": {
309
+ "name": "agents",
310
+ "schema": "",
311
+ "columns": {
312
+ "id": {
313
+ "name": "id",
314
+ "type": "text",
315
+ "primaryKey": true,
316
+ "notNull": true
317
+ },
318
+ "name": {
319
+ "name": "name",
320
+ "type": "text",
321
+ "primaryKey": false,
322
+ "notNull": true
323
+ },
324
+ "kind": {
325
+ "name": "kind",
326
+ "type": "text",
327
+ "primaryKey": false,
328
+ "notNull": true,
329
+ "default": "'custom'"
330
+ },
331
+ "api_key_hash": {
332
+ "name": "api_key_hash",
333
+ "type": "text",
334
+ "primaryKey": false,
335
+ "notNull": true
336
+ },
337
+ "created_at": {
338
+ "name": "created_at",
339
+ "type": "timestamp with time zone",
340
+ "primaryKey": false,
341
+ "notNull": true,
342
+ "default": "now()"
343
+ },
344
+ "last_seen_at": {
345
+ "name": "last_seen_at",
346
+ "type": "timestamp with time zone",
347
+ "primaryKey": false,
348
+ "notNull": false
349
+ }
350
+ },
351
+ "indexes": {},
352
+ "foreignKeys": {},
353
+ "compositePrimaryKeys": {},
354
+ "uniqueConstraints": {
355
+ "agents_api_key_hash_unique": {
356
+ "name": "agents_api_key_hash_unique",
357
+ "nullsNotDistinct": false,
358
+ "columns": [
359
+ "api_key_hash"
360
+ ]
361
+ }
362
+ },
363
+ "policies": {},
364
+ "checkConstraints": {},
365
+ "isRLSEnabled": false
366
+ },
367
+ "public.app_jobs": {
368
+ "name": "app_jobs",
369
+ "schema": "",
370
+ "columns": {
371
+ "id": {
372
+ "name": "id",
373
+ "type": "text",
374
+ "primaryKey": true,
375
+ "notNull": true
376
+ },
377
+ "app_id": {
378
+ "name": "app_id",
379
+ "type": "text",
380
+ "primaryKey": false,
381
+ "notNull": true
382
+ },
383
+ "identity": {
384
+ "name": "identity",
385
+ "type": "text",
386
+ "primaryKey": false,
387
+ "notNull": true
388
+ },
389
+ "workspace_id": {
390
+ "name": "workspace_id",
391
+ "type": "text",
392
+ "primaryKey": false,
393
+ "notNull": false
394
+ },
395
+ "tool": {
396
+ "name": "tool",
397
+ "type": "text",
398
+ "primaryKey": false,
399
+ "notNull": true
400
+ },
401
+ "input": {
402
+ "name": "input",
403
+ "type": "jsonb",
404
+ "primaryKey": false,
405
+ "notNull": true
406
+ },
407
+ "status": {
408
+ "name": "status",
409
+ "type": "text",
410
+ "primaryKey": false,
411
+ "notNull": true,
412
+ "default": "'pending'"
413
+ },
414
+ "progress": {
415
+ "name": "progress",
416
+ "type": "jsonb",
417
+ "primaryKey": false,
418
+ "notNull": false
419
+ },
420
+ "result": {
421
+ "name": "result",
422
+ "type": "jsonb",
423
+ "primaryKey": false,
424
+ "notNull": false
425
+ },
426
+ "error": {
427
+ "name": "error",
428
+ "type": "text",
429
+ "primaryKey": false,
430
+ "notNull": false
431
+ },
432
+ "app_version": {
433
+ "name": "app_version",
434
+ "type": "text",
435
+ "primaryKey": false,
436
+ "notNull": true
437
+ },
438
+ "pid": {
439
+ "name": "pid",
440
+ "type": "integer",
441
+ "primaryKey": false,
442
+ "notNull": false
443
+ },
444
+ "dedupe_key": {
445
+ "name": "dedupe_key",
446
+ "type": "text",
447
+ "primaryKey": false,
448
+ "notNull": true
449
+ },
450
+ "reserved_calls": {
451
+ "name": "reserved_calls",
452
+ "type": "integer",
453
+ "primaryKey": false,
454
+ "notNull": true,
455
+ "default": 0
456
+ },
457
+ "requested_at": {
458
+ "name": "requested_at",
459
+ "type": "timestamp with time zone",
460
+ "primaryKey": false,
461
+ "notNull": true,
462
+ "default": "now()"
463
+ },
464
+ "started_at": {
465
+ "name": "started_at",
466
+ "type": "timestamp with time zone",
467
+ "primaryKey": false,
468
+ "notNull": false
469
+ },
470
+ "finished_at": {
471
+ "name": "finished_at",
472
+ "type": "timestamp with time zone",
473
+ "primaryKey": false,
474
+ "notNull": false
475
+ },
476
+ "requested_by": {
477
+ "name": "requested_by",
478
+ "type": "text",
479
+ "primaryKey": false,
480
+ "notNull": false
481
+ }
482
+ },
483
+ "indexes": {
484
+ "app_jobs_identity_idx": {
485
+ "name": "app_jobs_identity_idx",
486
+ "columns": [
487
+ {
488
+ "expression": "identity",
489
+ "isExpression": false,
490
+ "asc": true,
491
+ "nulls": "last"
492
+ },
493
+ {
494
+ "expression": "requested_at",
495
+ "isExpression": false,
496
+ "asc": true,
497
+ "nulls": "last"
498
+ }
499
+ ],
500
+ "isUnique": false,
501
+ "concurrently": false,
502
+ "method": "btree",
503
+ "with": {}
504
+ },
505
+ "app_jobs_status_idx": {
506
+ "name": "app_jobs_status_idx",
507
+ "columns": [
508
+ {
509
+ "expression": "status",
510
+ "isExpression": false,
511
+ "asc": true,
512
+ "nulls": "last"
513
+ }
514
+ ],
515
+ "isUnique": false,
516
+ "concurrently": false,
517
+ "method": "btree",
518
+ "with": {}
519
+ },
520
+ "app_jobs_dedupe_live": {
521
+ "name": "app_jobs_dedupe_live",
522
+ "columns": [
523
+ {
524
+ "expression": "dedupe_key",
525
+ "isExpression": false,
526
+ "asc": true,
527
+ "nulls": "last"
528
+ }
529
+ ],
530
+ "isUnique": true,
531
+ "where": "status in ('pending', 'running', 'cancelling')",
532
+ "concurrently": false,
533
+ "method": "btree",
534
+ "with": {}
535
+ }
536
+ },
537
+ "foreignKeys": {
538
+ "app_jobs_app_id_apps_id_fk": {
539
+ "name": "app_jobs_app_id_apps_id_fk",
540
+ "tableFrom": "app_jobs",
541
+ "tableTo": "apps",
542
+ "columnsFrom": [
543
+ "app_id"
544
+ ],
545
+ "columnsTo": [
546
+ "id"
547
+ ],
548
+ "onDelete": "cascade",
549
+ "onUpdate": "no action"
550
+ }
551
+ },
552
+ "compositePrimaryKeys": {},
553
+ "uniqueConstraints": {},
554
+ "policies": {},
555
+ "checkConstraints": {},
556
+ "isRLSEnabled": false
557
+ },
558
+ "public.app_workspaces": {
559
+ "name": "app_workspaces",
560
+ "schema": "",
561
+ "columns": {
562
+ "app_id": {
563
+ "name": "app_id",
564
+ "type": "text",
565
+ "primaryKey": false,
566
+ "notNull": true
567
+ },
568
+ "identity": {
569
+ "name": "identity",
570
+ "type": "text",
571
+ "primaryKey": false,
572
+ "notNull": true
573
+ },
574
+ "workspace_id": {
575
+ "name": "workspace_id",
576
+ "type": "text",
577
+ "primaryKey": false,
578
+ "notNull": true
579
+ },
580
+ "root_at_creation": {
581
+ "name": "root_at_creation",
582
+ "type": "text",
583
+ "primaryKey": false,
584
+ "notNull": true
585
+ },
586
+ "created_at": {
587
+ "name": "created_at",
588
+ "type": "timestamp with time zone",
589
+ "primaryKey": false,
590
+ "notNull": true,
591
+ "default": "now()"
592
+ }
593
+ },
594
+ "indexes": {},
595
+ "foreignKeys": {
596
+ "app_workspaces_app_id_apps_id_fk": {
597
+ "name": "app_workspaces_app_id_apps_id_fk",
598
+ "tableFrom": "app_workspaces",
599
+ "tableTo": "apps",
600
+ "columnsFrom": [
601
+ "app_id"
602
+ ],
603
+ "columnsTo": [
604
+ "id"
605
+ ],
606
+ "onDelete": "cascade",
607
+ "onUpdate": "no action"
608
+ }
609
+ },
610
+ "compositePrimaryKeys": {
611
+ "app_workspaces_app_id_identity_pk": {
612
+ "name": "app_workspaces_app_id_identity_pk",
613
+ "columns": [
614
+ "app_id",
615
+ "identity"
616
+ ]
617
+ }
618
+ },
619
+ "uniqueConstraints": {},
620
+ "policies": {},
621
+ "checkConstraints": {},
622
+ "isRLSEnabled": false
623
+ },
624
+ "public.apps": {
625
+ "name": "apps",
626
+ "schema": "",
627
+ "columns": {
628
+ "id": {
629
+ "name": "id",
630
+ "type": "text",
631
+ "primaryKey": true,
632
+ "notNull": true
633
+ },
634
+ "pkg": {
635
+ "name": "pkg",
636
+ "type": "text",
637
+ "primaryKey": false,
638
+ "notNull": true
639
+ },
640
+ "version": {
641
+ "name": "version",
642
+ "type": "text",
643
+ "primaryKey": false,
644
+ "notNull": false
645
+ },
646
+ "staged_version": {
647
+ "name": "staged_version",
648
+ "type": "text",
649
+ "primaryKey": false,
650
+ "notNull": false
651
+ },
652
+ "previous_version": {
653
+ "name": "previous_version",
654
+ "type": "text",
655
+ "primaryKey": false,
656
+ "notNull": false
657
+ },
658
+ "protocol": {
659
+ "name": "protocol",
660
+ "type": "text",
661
+ "primaryKey": false,
662
+ "notNull": false
663
+ },
664
+ "status": {
665
+ "name": "status",
666
+ "type": "text",
667
+ "primaryKey": false,
668
+ "notNull": true,
669
+ "default": "'absent'"
670
+ },
671
+ "enabled": {
672
+ "name": "enabled",
673
+ "type": "boolean",
674
+ "primaryKey": false,
675
+ "notNull": true,
676
+ "default": true
677
+ },
678
+ "manifest": {
679
+ "name": "manifest",
680
+ "type": "jsonb",
681
+ "primaryKey": false,
682
+ "notNull": false
683
+ },
684
+ "requirements": {
685
+ "name": "requirements",
686
+ "type": "jsonb",
687
+ "primaryKey": false,
688
+ "notNull": false
689
+ },
690
+ "requirements_at": {
691
+ "name": "requirements_at",
692
+ "type": "timestamp with time zone",
693
+ "primaryKey": false,
694
+ "notNull": false
695
+ },
696
+ "settings": {
697
+ "name": "settings",
698
+ "type": "jsonb",
699
+ "primaryKey": false,
700
+ "notNull": true,
701
+ "default": "'{\"brain\":\"none\",\"voice\":false}'::jsonb"
702
+ },
703
+ "error": {
704
+ "name": "error",
705
+ "type": "text",
706
+ "primaryKey": false,
707
+ "notNull": false
708
+ },
709
+ "installed_at": {
710
+ "name": "installed_at",
711
+ "type": "timestamp with time zone",
712
+ "primaryKey": false,
713
+ "notNull": false
714
+ },
715
+ "updated_at": {
716
+ "name": "updated_at",
717
+ "type": "timestamp with time zone",
718
+ "primaryKey": false,
719
+ "notNull": true,
720
+ "default": "now()"
721
+ }
722
+ },
723
+ "indexes": {},
724
+ "foreignKeys": {},
725
+ "compositePrimaryKeys": {},
726
+ "uniqueConstraints": {},
727
+ "policies": {},
728
+ "checkConstraints": {},
729
+ "isRLSEnabled": false
730
+ },
731
+ "public.beliefs": {
732
+ "name": "beliefs",
733
+ "schema": "",
734
+ "columns": {
735
+ "id": {
736
+ "name": "id",
737
+ "type": "text",
738
+ "primaryKey": true,
739
+ "notNull": true
740
+ },
741
+ "topic": {
742
+ "name": "topic",
743
+ "type": "text",
744
+ "primaryKey": false,
745
+ "notNull": true
746
+ },
747
+ "classified": {
748
+ "name": "classified",
749
+ "type": "boolean",
750
+ "primaryKey": false,
751
+ "notNull": true,
752
+ "default": true
753
+ },
754
+ "statement": {
755
+ "name": "statement",
756
+ "type": "text",
757
+ "primaryKey": false,
758
+ "notNull": true
759
+ },
760
+ "identity": {
761
+ "name": "identity",
762
+ "type": "text",
763
+ "primaryKey": false,
764
+ "notNull": false
765
+ },
766
+ "state": {
767
+ "name": "state",
768
+ "type": "text",
769
+ "primaryKey": false,
770
+ "notNull": true
771
+ },
772
+ "supersedes": {
773
+ "name": "supersedes",
774
+ "type": "jsonb",
775
+ "primaryKey": false,
776
+ "notNull": false
777
+ },
778
+ "citations": {
779
+ "name": "citations",
780
+ "type": "jsonb",
781
+ "primaryKey": false,
782
+ "notNull": true
783
+ },
784
+ "support": {
785
+ "name": "support",
786
+ "type": "jsonb",
787
+ "primaryKey": false,
788
+ "notNull": true
789
+ },
790
+ "model": {
791
+ "name": "model",
792
+ "type": "text",
793
+ "primaryKey": false,
794
+ "notNull": true
795
+ },
796
+ "signed_at": {
797
+ "name": "signed_at",
798
+ "type": "timestamp with time zone",
799
+ "primaryKey": false,
800
+ "notNull": false
801
+ },
802
+ "vetoed_at": {
803
+ "name": "vetoed_at",
804
+ "type": "timestamp with time zone",
805
+ "primaryKey": false,
806
+ "notNull": false
807
+ },
808
+ "retired_at": {
809
+ "name": "retired_at",
810
+ "type": "timestamp with time zone",
811
+ "primaryKey": false,
812
+ "notNull": false
813
+ },
814
+ "published_as": {
815
+ "name": "published_as",
816
+ "type": "jsonb",
817
+ "primaryKey": false,
818
+ "notNull": false
819
+ },
820
+ "updated_at": {
821
+ "name": "updated_at",
822
+ "type": "timestamp with time zone",
823
+ "primaryKey": false,
824
+ "notNull": true,
825
+ "default": "now()"
826
+ },
827
+ "created_at": {
828
+ "name": "created_at",
829
+ "type": "timestamp with time zone",
830
+ "primaryKey": false,
831
+ "notNull": true,
832
+ "default": "now()"
833
+ }
834
+ },
835
+ "indexes": {
836
+ "beliefs_topic_idx": {
837
+ "name": "beliefs_topic_idx",
838
+ "columns": [
839
+ {
840
+ "expression": "topic",
841
+ "isExpression": false,
842
+ "asc": true,
843
+ "nulls": "last"
844
+ },
845
+ {
846
+ "expression": "created_at",
847
+ "isExpression": false,
848
+ "asc": true,
849
+ "nulls": "last"
850
+ }
851
+ ],
852
+ "isUnique": false,
853
+ "concurrently": false,
854
+ "method": "btree",
855
+ "with": {}
856
+ },
857
+ "beliefs_state_idx": {
858
+ "name": "beliefs_state_idx",
859
+ "columns": [
860
+ {
861
+ "expression": "state",
862
+ "isExpression": false,
863
+ "asc": true,
864
+ "nulls": "last"
865
+ }
866
+ ],
867
+ "isUnique": false,
868
+ "concurrently": false,
869
+ "method": "btree",
870
+ "with": {}
871
+ }
872
+ },
873
+ "foreignKeys": {},
874
+ "compositePrimaryKeys": {},
875
+ "uniqueConstraints": {},
876
+ "policies": {},
877
+ "checkConstraints": {},
878
+ "isRLSEnabled": false
879
+ },
880
+ "public.consultations": {
881
+ "name": "consultations",
882
+ "schema": "",
883
+ "columns": {
884
+ "id": {
885
+ "name": "id",
886
+ "type": "text",
887
+ "primaryKey": true,
888
+ "notNull": true
889
+ },
890
+ "project_id": {
891
+ "name": "project_id",
892
+ "type": "text",
893
+ "primaryKey": false,
894
+ "notNull": true
895
+ },
896
+ "agent_id": {
897
+ "name": "agent_id",
898
+ "type": "text",
899
+ "primaryKey": false,
900
+ "notNull": true
901
+ },
902
+ "question": {
903
+ "name": "question",
904
+ "type": "text",
905
+ "primaryKey": false,
906
+ "notNull": true
907
+ },
908
+ "answer": {
909
+ "name": "answer",
910
+ "type": "text",
911
+ "primaryKey": false,
912
+ "notNull": false
913
+ },
914
+ "belief_ids": {
915
+ "name": "belief_ids",
916
+ "type": "jsonb",
917
+ "primaryKey": false,
918
+ "notNull": false
919
+ },
920
+ "status": {
921
+ "name": "status",
922
+ "type": "text",
923
+ "primaryKey": false,
924
+ "notNull": true,
925
+ "default": "'drafting'"
926
+ },
927
+ "verdict": {
928
+ "name": "verdict",
929
+ "type": "text",
930
+ "primaryKey": false,
931
+ "notNull": false
932
+ },
933
+ "created_at": {
934
+ "name": "created_at",
935
+ "type": "timestamp with time zone",
936
+ "primaryKey": false,
937
+ "notNull": true,
938
+ "default": "now()"
939
+ },
940
+ "drafted_at": {
941
+ "name": "drafted_at",
942
+ "type": "timestamp with time zone",
943
+ "primaryKey": false,
944
+ "notNull": false
945
+ },
946
+ "verdict_at": {
947
+ "name": "verdict_at",
948
+ "type": "timestamp with time zone",
949
+ "primaryKey": false,
950
+ "notNull": false
951
+ }
952
+ },
953
+ "indexes": {
954
+ "consultations_project_idx": {
955
+ "name": "consultations_project_idx",
956
+ "columns": [
957
+ {
958
+ "expression": "project_id",
959
+ "isExpression": false,
960
+ "asc": true,
961
+ "nulls": "last"
962
+ },
963
+ {
964
+ "expression": "created_at",
965
+ "isExpression": false,
966
+ "asc": true,
967
+ "nulls": "last"
968
+ }
969
+ ],
970
+ "isUnique": false,
971
+ "concurrently": false,
972
+ "method": "btree",
973
+ "with": {}
974
+ }
975
+ },
976
+ "foreignKeys": {
977
+ "consultations_project_id_projects_id_fk": {
978
+ "name": "consultations_project_id_projects_id_fk",
979
+ "tableFrom": "consultations",
980
+ "tableTo": "projects",
981
+ "columnsFrom": [
982
+ "project_id"
983
+ ],
984
+ "columnsTo": [
985
+ "id"
986
+ ],
987
+ "onDelete": "cascade",
988
+ "onUpdate": "no action"
989
+ },
990
+ "consultations_agent_id_agents_id_fk": {
991
+ "name": "consultations_agent_id_agents_id_fk",
992
+ "tableFrom": "consultations",
993
+ "tableTo": "agents",
994
+ "columnsFrom": [
995
+ "agent_id"
996
+ ],
997
+ "columnsTo": [
998
+ "id"
999
+ ],
1000
+ "onDelete": "cascade",
1001
+ "onUpdate": "no action"
1002
+ }
1003
+ },
1004
+ "compositePrimaryKeys": {},
1005
+ "uniqueConstraints": {},
1006
+ "policies": {},
1007
+ "checkConstraints": {},
1008
+ "isRLSEnabled": false
1009
+ },
1010
+ "public.decision_episodes": {
1011
+ "name": "decision_episodes",
1012
+ "schema": "",
1013
+ "columns": {
1014
+ "id": {
1015
+ "name": "id",
1016
+ "type": "text",
1017
+ "primaryKey": true,
1018
+ "notNull": true
1019
+ },
1020
+ "identity": {
1021
+ "name": "identity",
1022
+ "type": "text",
1023
+ "primaryKey": false,
1024
+ "notNull": false
1025
+ },
1026
+ "supersedes_id": {
1027
+ "name": "supersedes_id",
1028
+ "type": "text",
1029
+ "primaryKey": false,
1030
+ "notNull": false
1031
+ },
1032
+ "origin": {
1033
+ "name": "origin",
1034
+ "type": "text",
1035
+ "primaryKey": false,
1036
+ "notNull": true
1037
+ },
1038
+ "fields": {
1039
+ "name": "fields",
1040
+ "type": "jsonb",
1041
+ "primaryKey": false,
1042
+ "notNull": true
1043
+ },
1044
+ "model": {
1045
+ "name": "model",
1046
+ "type": "text",
1047
+ "primaryKey": false,
1048
+ "notNull": false
1049
+ },
1050
+ "status": {
1051
+ "name": "status",
1052
+ "type": "text",
1053
+ "primaryKey": false,
1054
+ "notNull": true,
1055
+ "default": "'active'"
1056
+ },
1057
+ "valid_until": {
1058
+ "name": "valid_until",
1059
+ "type": "timestamp with time zone",
1060
+ "primaryKey": false,
1061
+ "notNull": false
1062
+ },
1063
+ "created_at": {
1064
+ "name": "created_at",
1065
+ "type": "timestamp with time zone",
1066
+ "primaryKey": false,
1067
+ "notNull": true,
1068
+ "default": "now()"
1069
+ },
1070
+ "updated_at": {
1071
+ "name": "updated_at",
1072
+ "type": "timestamp with time zone",
1073
+ "primaryKey": false,
1074
+ "notNull": true,
1075
+ "default": "now()"
1076
+ }
1077
+ },
1078
+ "indexes": {
1079
+ "decision_episodes_identity_idx": {
1080
+ "name": "decision_episodes_identity_idx",
1081
+ "columns": [
1082
+ {
1083
+ "expression": "identity",
1084
+ "isExpression": false,
1085
+ "asc": true,
1086
+ "nulls": "last"
1087
+ },
1088
+ {
1089
+ "expression": "status",
1090
+ "isExpression": false,
1091
+ "asc": true,
1092
+ "nulls": "last"
1093
+ },
1094
+ {
1095
+ "expression": "created_at",
1096
+ "isExpression": false,
1097
+ "asc": true,
1098
+ "nulls": "last"
1099
+ }
1100
+ ],
1101
+ "isUnique": false,
1102
+ "concurrently": false,
1103
+ "method": "btree",
1104
+ "with": {}
1105
+ },
1106
+ "decision_episodes_supersedes_idx": {
1107
+ "name": "decision_episodes_supersedes_idx",
1108
+ "columns": [
1109
+ {
1110
+ "expression": "supersedes_id",
1111
+ "isExpression": false,
1112
+ "asc": true,
1113
+ "nulls": "last"
1114
+ }
1115
+ ],
1116
+ "isUnique": false,
1117
+ "concurrently": false,
1118
+ "method": "btree",
1119
+ "with": {}
1120
+ }
1121
+ },
1122
+ "foreignKeys": {},
1123
+ "compositePrimaryKeys": {},
1124
+ "uniqueConstraints": {},
1125
+ "policies": {},
1126
+ "checkConstraints": {},
1127
+ "isRLSEnabled": false
1128
+ },
1129
+ "public.decisions": {
1130
+ "name": "decisions",
1131
+ "schema": "",
1132
+ "columns": {
1133
+ "identity": {
1134
+ "name": "identity",
1135
+ "type": "text",
1136
+ "primaryKey": true,
1137
+ "notNull": true
1138
+ },
1139
+ "hidden": {
1140
+ "name": "hidden",
1141
+ "type": "boolean",
1142
+ "primaryKey": false,
1143
+ "notNull": true,
1144
+ "default": false
1145
+ },
1146
+ "ai_summary": {
1147
+ "name": "ai_summary",
1148
+ "type": "text",
1149
+ "primaryKey": false,
1150
+ "notNull": false
1151
+ },
1152
+ "ai_summary_model": {
1153
+ "name": "ai_summary_model",
1154
+ "type": "text",
1155
+ "primaryKey": false,
1156
+ "notNull": false
1157
+ },
1158
+ "ai_summary_at": {
1159
+ "name": "ai_summary_at",
1160
+ "type": "timestamp with time zone",
1161
+ "primaryKey": false,
1162
+ "notNull": false
1163
+ },
1164
+ "ai_summary_lang": {
1165
+ "name": "ai_summary_lang",
1166
+ "type": "text",
1167
+ "primaryKey": false,
1168
+ "notNull": false
1169
+ },
1170
+ "ai_summary_hash": {
1171
+ "name": "ai_summary_hash",
1172
+ "type": "text",
1173
+ "primaryKey": false,
1174
+ "notNull": false
1175
+ },
1176
+ "md_review": {
1177
+ "name": "md_review",
1178
+ "type": "text",
1179
+ "primaryKey": false,
1180
+ "notNull": false
1181
+ },
1182
+ "md_review_model": {
1183
+ "name": "md_review_model",
1184
+ "type": "text",
1185
+ "primaryKey": false,
1186
+ "notNull": false
1187
+ },
1188
+ "md_review_at": {
1189
+ "name": "md_review_at",
1190
+ "type": "timestamp with time zone",
1191
+ "primaryKey": false,
1192
+ "notNull": false
1193
+ },
1194
+ "md_review_hash": {
1195
+ "name": "md_review_hash",
1196
+ "type": "text",
1197
+ "primaryKey": false,
1198
+ "notNull": false
1199
+ },
1200
+ "md_review_lang": {
1201
+ "name": "md_review_lang",
1202
+ "type": "text",
1203
+ "primaryKey": false,
1204
+ "notNull": false
1205
+ },
1206
+ "accounts": {
1207
+ "name": "accounts",
1208
+ "type": "jsonb",
1209
+ "primaryKey": false,
1210
+ "notNull": false
1211
+ },
1212
+ "open_plan": {
1213
+ "name": "open_plan",
1214
+ "type": "jsonb",
1215
+ "primaryKey": false,
1216
+ "notNull": false
1217
+ },
1218
+ "build_check": {
1219
+ "name": "build_check",
1220
+ "type": "jsonb",
1221
+ "primaryKey": false,
1222
+ "notNull": false
1223
+ },
1224
+ "north": {
1225
+ "name": "north",
1226
+ "type": "text",
1227
+ "primaryKey": false,
1228
+ "notNull": false
1229
+ },
1230
+ "last_name": {
1231
+ "name": "last_name",
1232
+ "type": "text",
1233
+ "primaryKey": false,
1234
+ "notNull": false
1235
+ },
1236
+ "updated_at": {
1237
+ "name": "updated_at",
1238
+ "type": "timestamp with time zone",
1239
+ "primaryKey": false,
1240
+ "notNull": true,
1241
+ "default": "now()"
1242
+ }
1243
+ },
1244
+ "indexes": {},
1245
+ "foreignKeys": {},
1246
+ "compositePrimaryKeys": {},
1247
+ "uniqueConstraints": {},
1248
+ "policies": {},
1249
+ "checkConstraints": {},
1250
+ "isRLSEnabled": false
1251
+ },
1252
+ "public.design_fingerprints": {
1253
+ "name": "design_fingerprints",
1254
+ "schema": "",
1255
+ "columns": {
1256
+ "project_id": {
1257
+ "name": "project_id",
1258
+ "type": "text",
1259
+ "primaryKey": true,
1260
+ "notNull": true
1261
+ },
1262
+ "data": {
1263
+ "name": "data",
1264
+ "type": "jsonb",
1265
+ "primaryKey": false,
1266
+ "notNull": true
1267
+ },
1268
+ "updated_at": {
1269
+ "name": "updated_at",
1270
+ "type": "timestamp with time zone",
1271
+ "primaryKey": false,
1272
+ "notNull": true,
1273
+ "default": "now()"
1274
+ }
1275
+ },
1276
+ "indexes": {},
1277
+ "foreignKeys": {
1278
+ "design_fingerprints_project_id_projects_id_fk": {
1279
+ "name": "design_fingerprints_project_id_projects_id_fk",
1280
+ "tableFrom": "design_fingerprints",
1281
+ "tableTo": "projects",
1282
+ "columnsFrom": [
1283
+ "project_id"
1284
+ ],
1285
+ "columnsTo": [
1286
+ "id"
1287
+ ],
1288
+ "onDelete": "cascade",
1289
+ "onUpdate": "no action"
1290
+ }
1291
+ },
1292
+ "compositePrimaryKeys": {},
1293
+ "uniqueConstraints": {},
1294
+ "policies": {},
1295
+ "checkConstraints": {},
1296
+ "isRLSEnabled": false
1297
+ },
1298
+ "public.distributions": {
1299
+ "name": "distributions",
1300
+ "schema": "",
1301
+ "columns": {
1302
+ "project_id": {
1303
+ "name": "project_id",
1304
+ "type": "text",
1305
+ "primaryKey": false,
1306
+ "notNull": true
1307
+ },
1308
+ "kind": {
1309
+ "name": "kind",
1310
+ "type": "text",
1311
+ "primaryKey": false,
1312
+ "notNull": true
1313
+ },
1314
+ "label": {
1315
+ "name": "label",
1316
+ "type": "text",
1317
+ "primaryKey": false,
1318
+ "notNull": true
1319
+ },
1320
+ "evidence": {
1321
+ "name": "evidence",
1322
+ "type": "text",
1323
+ "primaryKey": false,
1324
+ "notNull": true
1325
+ },
1326
+ "url": {
1327
+ "name": "url",
1328
+ "type": "text",
1329
+ "primaryKey": false,
1330
+ "notNull": false
1331
+ }
1332
+ },
1333
+ "indexes": {},
1334
+ "foreignKeys": {
1335
+ "distributions_project_id_projects_id_fk": {
1336
+ "name": "distributions_project_id_projects_id_fk",
1337
+ "tableFrom": "distributions",
1338
+ "tableTo": "projects",
1339
+ "columnsFrom": [
1340
+ "project_id"
1341
+ ],
1342
+ "columnsTo": [
1343
+ "id"
1344
+ ],
1345
+ "onDelete": "cascade",
1346
+ "onUpdate": "no action"
1347
+ }
1348
+ },
1349
+ "compositePrimaryKeys": {
1350
+ "distributions_project_id_kind_label_pk": {
1351
+ "name": "distributions_project_id_kind_label_pk",
1352
+ "columns": [
1353
+ "project_id",
1354
+ "kind",
1355
+ "label"
1356
+ ]
1357
+ }
1358
+ },
1359
+ "uniqueConstraints": {},
1360
+ "policies": {},
1361
+ "checkConstraints": {},
1362
+ "isRLSEnabled": false
1363
+ },
1364
+ "public.exclusions": {
1365
+ "name": "exclusions",
1366
+ "schema": "",
1367
+ "columns": {
1368
+ "root": {
1369
+ "name": "root",
1370
+ "type": "text",
1371
+ "primaryKey": true,
1372
+ "notNull": true
1373
+ },
1374
+ "name": {
1375
+ "name": "name",
1376
+ "type": "text",
1377
+ "primaryKey": false,
1378
+ "notNull": true
1379
+ },
1380
+ "excluded_at": {
1381
+ "name": "excluded_at",
1382
+ "type": "timestamp with time zone",
1383
+ "primaryKey": false,
1384
+ "notNull": true,
1385
+ "default": "now()"
1386
+ }
1387
+ },
1388
+ "indexes": {},
1389
+ "foreignKeys": {},
1390
+ "compositePrimaryKeys": {},
1391
+ "uniqueConstraints": {},
1392
+ "policies": {},
1393
+ "checkConstraints": {},
1394
+ "isRLSEnabled": false
1395
+ },
1396
+ "public.families": {
1397
+ "name": "families",
1398
+ "schema": "",
1399
+ "columns": {
1400
+ "id": {
1401
+ "name": "id",
1402
+ "type": "text",
1403
+ "primaryKey": true,
1404
+ "notNull": true
1405
+ },
1406
+ "name": {
1407
+ "name": "name",
1408
+ "type": "text",
1409
+ "primaryKey": false,
1410
+ "notNull": true
1411
+ },
1412
+ "canonical_project_id": {
1413
+ "name": "canonical_project_id",
1414
+ "type": "text",
1415
+ "primaryKey": false,
1416
+ "notNull": true
1417
+ },
1418
+ "canonical_reason": {
1419
+ "name": "canonical_reason",
1420
+ "type": "text",
1421
+ "primaryKey": false,
1422
+ "notNull": true
1423
+ },
1424
+ "redundant_bytes": {
1425
+ "name": "redundant_bytes",
1426
+ "type": "integer",
1427
+ "primaryKey": false,
1428
+ "notNull": true,
1429
+ "default": 0
1430
+ }
1431
+ },
1432
+ "indexes": {},
1433
+ "foreignKeys": {
1434
+ "families_canonical_project_id_projects_id_fk": {
1435
+ "name": "families_canonical_project_id_projects_id_fk",
1436
+ "tableFrom": "families",
1437
+ "tableTo": "projects",
1438
+ "columnsFrom": [
1439
+ "canonical_project_id"
1440
+ ],
1441
+ "columnsTo": [
1442
+ "id"
1443
+ ],
1444
+ "onDelete": "cascade",
1445
+ "onUpdate": "no action"
1446
+ }
1447
+ },
1448
+ "compositePrimaryKeys": {},
1449
+ "uniqueConstraints": {},
1450
+ "policies": {},
1451
+ "checkConstraints": {},
1452
+ "isRLSEnabled": false
1453
+ },
1454
+ "public.family_members": {
1455
+ "name": "family_members",
1456
+ "schema": "",
1457
+ "columns": {
1458
+ "family_id": {
1459
+ "name": "family_id",
1460
+ "type": "text",
1461
+ "primaryKey": false,
1462
+ "notNull": true
1463
+ },
1464
+ "project_id": {
1465
+ "name": "project_id",
1466
+ "type": "text",
1467
+ "primaryKey": false,
1468
+ "notNull": true
1469
+ },
1470
+ "confidence": {
1471
+ "name": "confidence",
1472
+ "type": "real",
1473
+ "primaryKey": false,
1474
+ "notNull": true
1475
+ },
1476
+ "reason": {
1477
+ "name": "reason",
1478
+ "type": "text",
1479
+ "primaryKey": false,
1480
+ "notNull": true
1481
+ },
1482
+ "days_behind": {
1483
+ "name": "days_behind",
1484
+ "type": "integer",
1485
+ "primaryKey": false,
1486
+ "notNull": false
1487
+ }
1488
+ },
1489
+ "indexes": {
1490
+ "family_members_project_idx": {
1491
+ "name": "family_members_project_idx",
1492
+ "columns": [
1493
+ {
1494
+ "expression": "project_id",
1495
+ "isExpression": false,
1496
+ "asc": true,
1497
+ "nulls": "last"
1498
+ }
1499
+ ],
1500
+ "isUnique": false,
1501
+ "concurrently": false,
1502
+ "method": "btree",
1503
+ "with": {}
1504
+ }
1505
+ },
1506
+ "foreignKeys": {
1507
+ "family_members_family_id_families_id_fk": {
1508
+ "name": "family_members_family_id_families_id_fk",
1509
+ "tableFrom": "family_members",
1510
+ "tableTo": "families",
1511
+ "columnsFrom": [
1512
+ "family_id"
1513
+ ],
1514
+ "columnsTo": [
1515
+ "id"
1516
+ ],
1517
+ "onDelete": "cascade",
1518
+ "onUpdate": "no action"
1519
+ },
1520
+ "family_members_project_id_projects_id_fk": {
1521
+ "name": "family_members_project_id_projects_id_fk",
1522
+ "tableFrom": "family_members",
1523
+ "tableTo": "projects",
1524
+ "columnsFrom": [
1525
+ "project_id"
1526
+ ],
1527
+ "columnsTo": [
1528
+ "id"
1529
+ ],
1530
+ "onDelete": "cascade",
1531
+ "onUpdate": "no action"
1532
+ }
1533
+ },
1534
+ "compositePrimaryKeys": {
1535
+ "family_members_family_id_project_id_pk": {
1536
+ "name": "family_members_family_id_project_id_pk",
1537
+ "columns": [
1538
+ "family_id",
1539
+ "project_id"
1540
+ ]
1541
+ }
1542
+ },
1543
+ "uniqueConstraints": {},
1544
+ "policies": {},
1545
+ "checkConstraints": {},
1546
+ "isRLSEnabled": false
1547
+ },
1548
+ "public.handoffs": {
1549
+ "name": "handoffs",
1550
+ "schema": "",
1551
+ "columns": {
1552
+ "id": {
1553
+ "name": "id",
1554
+ "type": "text",
1555
+ "primaryKey": true,
1556
+ "notNull": true
1557
+ },
1558
+ "project_id": {
1559
+ "name": "project_id",
1560
+ "type": "text",
1561
+ "primaryKey": false,
1562
+ "notNull": false
1563
+ },
1564
+ "cwd": {
1565
+ "name": "cwd",
1566
+ "type": "text",
1567
+ "primaryKey": false,
1568
+ "notNull": true
1569
+ },
1570
+ "title": {
1571
+ "name": "title",
1572
+ "type": "text",
1573
+ "primaryKey": false,
1574
+ "notNull": false
1575
+ },
1576
+ "source_agent": {
1577
+ "name": "source_agent",
1578
+ "type": "text",
1579
+ "primaryKey": false,
1580
+ "notNull": true
1581
+ },
1582
+ "source_session_id": {
1583
+ "name": "source_session_id",
1584
+ "type": "text",
1585
+ "primaryKey": false,
1586
+ "notNull": true
1587
+ },
1588
+ "source_path": {
1589
+ "name": "source_path",
1590
+ "type": "text",
1591
+ "primaryKey": false,
1592
+ "notNull": true
1593
+ },
1594
+ "source_hash": {
1595
+ "name": "source_hash",
1596
+ "type": "text",
1597
+ "primaryKey": false,
1598
+ "notNull": true
1599
+ },
1600
+ "target_agent": {
1601
+ "name": "target_agent",
1602
+ "type": "text",
1603
+ "primaryKey": false,
1604
+ "notNull": true
1605
+ },
1606
+ "target_surface": {
1607
+ "name": "target_surface",
1608
+ "type": "text",
1609
+ "primaryKey": false,
1610
+ "notNull": true,
1611
+ "default": "'cli'"
1612
+ },
1613
+ "target_session_id": {
1614
+ "name": "target_session_id",
1615
+ "type": "text",
1616
+ "primaryKey": false,
1617
+ "notNull": true
1618
+ },
1619
+ "target_path": {
1620
+ "name": "target_path",
1621
+ "type": "text",
1622
+ "primaryKey": false,
1623
+ "notNull": true
1624
+ },
1625
+ "tier": {
1626
+ "name": "tier",
1627
+ "type": "text",
1628
+ "primaryKey": false,
1629
+ "notNull": true
1630
+ },
1631
+ "turns": {
1632
+ "name": "turns",
1633
+ "type": "integer",
1634
+ "primaryKey": false,
1635
+ "notNull": true
1636
+ },
1637
+ "bytes": {
1638
+ "name": "bytes",
1639
+ "type": "integer",
1640
+ "primaryKey": false,
1641
+ "notNull": true
1642
+ },
1643
+ "dropped": {
1644
+ "name": "dropped",
1645
+ "type": "jsonb",
1646
+ "primaryKey": false,
1647
+ "notNull": true,
1648
+ "default": "'{\"thinking\":0,\"images\":0,\"subagents\":0,\"offloaded\":0,\"secrets\":0,\"other\":0}'::jsonb"
1649
+ },
1650
+ "resume_command": {
1651
+ "name": "resume_command",
1652
+ "type": "text",
1653
+ "primaryKey": false,
1654
+ "notNull": false
1655
+ },
1656
+ "requested_by": {
1657
+ "name": "requested_by",
1658
+ "type": "text",
1659
+ "primaryKey": false,
1660
+ "notNull": false
1661
+ },
1662
+ "created_at": {
1663
+ "name": "created_at",
1664
+ "type": "timestamp with time zone",
1665
+ "primaryKey": false,
1666
+ "notNull": true,
1667
+ "default": "now()"
1668
+ }
1669
+ },
1670
+ "indexes": {
1671
+ "handoffs_project_idx": {
1672
+ "name": "handoffs_project_idx",
1673
+ "columns": [
1674
+ {
1675
+ "expression": "project_id",
1676
+ "isExpression": false,
1677
+ "asc": true,
1678
+ "nulls": "last"
1679
+ },
1680
+ {
1681
+ "expression": "created_at",
1682
+ "isExpression": false,
1683
+ "asc": true,
1684
+ "nulls": "last"
1685
+ }
1686
+ ],
1687
+ "isUnique": false,
1688
+ "concurrently": false,
1689
+ "method": "btree",
1690
+ "with": {}
1691
+ },
1692
+ "handoffs_source_idx": {
1693
+ "name": "handoffs_source_idx",
1694
+ "columns": [
1695
+ {
1696
+ "expression": "source_hash",
1697
+ "isExpression": false,
1698
+ "asc": true,
1699
+ "nulls": "last"
1700
+ },
1701
+ {
1702
+ "expression": "target_agent",
1703
+ "isExpression": false,
1704
+ "asc": true,
1705
+ "nulls": "last"
1706
+ }
1707
+ ],
1708
+ "isUnique": false,
1709
+ "concurrently": false,
1710
+ "method": "btree",
1711
+ "with": {}
1712
+ }
1713
+ },
1714
+ "foreignKeys": {
1715
+ "handoffs_project_id_projects_id_fk": {
1716
+ "name": "handoffs_project_id_projects_id_fk",
1717
+ "tableFrom": "handoffs",
1718
+ "tableTo": "projects",
1719
+ "columnsFrom": [
1720
+ "project_id"
1721
+ ],
1722
+ "columnsTo": [
1723
+ "id"
1724
+ ],
1725
+ "onDelete": "set null",
1726
+ "onUpdate": "no action"
1727
+ }
1728
+ },
1729
+ "compositePrimaryKeys": {},
1730
+ "uniqueConstraints": {},
1731
+ "policies": {},
1732
+ "checkConstraints": {},
1733
+ "isRLSEnabled": false
1734
+ },
1735
+ "public.launches": {
1736
+ "name": "launches",
1737
+ "schema": "",
1738
+ "columns": {
1739
+ "id": {
1740
+ "name": "id",
1741
+ "type": "text",
1742
+ "primaryKey": true,
1743
+ "notNull": true
1744
+ },
1745
+ "project_id": {
1746
+ "name": "project_id",
1747
+ "type": "text",
1748
+ "primaryKey": false,
1749
+ "notNull": true
1750
+ },
1751
+ "task_id": {
1752
+ "name": "task_id",
1753
+ "type": "text",
1754
+ "primaryKey": false,
1755
+ "notNull": false
1756
+ },
1757
+ "kind": {
1758
+ "name": "kind",
1759
+ "type": "text",
1760
+ "primaryKey": false,
1761
+ "notNull": false
1762
+ },
1763
+ "agent": {
1764
+ "name": "agent",
1765
+ "type": "text",
1766
+ "primaryKey": false,
1767
+ "notNull": true
1768
+ },
1769
+ "at": {
1770
+ "name": "at",
1771
+ "type": "timestamp with time zone",
1772
+ "primaryKey": false,
1773
+ "notNull": true,
1774
+ "default": "now()"
1775
+ }
1776
+ },
1777
+ "indexes": {
1778
+ "launches_project_idx": {
1779
+ "name": "launches_project_idx",
1780
+ "columns": [
1781
+ {
1782
+ "expression": "project_id",
1783
+ "isExpression": false,
1784
+ "asc": true,
1785
+ "nulls": "last"
1786
+ },
1787
+ {
1788
+ "expression": "at",
1789
+ "isExpression": false,
1790
+ "asc": true,
1791
+ "nulls": "last"
1792
+ }
1793
+ ],
1794
+ "isUnique": false,
1795
+ "concurrently": false,
1796
+ "method": "btree",
1797
+ "with": {}
1798
+ }
1799
+ },
1800
+ "foreignKeys": {
1801
+ "launches_project_id_projects_id_fk": {
1802
+ "name": "launches_project_id_projects_id_fk",
1803
+ "tableFrom": "launches",
1804
+ "tableTo": "projects",
1805
+ "columnsFrom": [
1806
+ "project_id"
1807
+ ],
1808
+ "columnsTo": [
1809
+ "id"
1810
+ ],
1811
+ "onDelete": "cascade",
1812
+ "onUpdate": "no action"
1813
+ },
1814
+ "launches_task_id_tasks_id_fk": {
1815
+ "name": "launches_task_id_tasks_id_fk",
1816
+ "tableFrom": "launches",
1817
+ "tableTo": "tasks",
1818
+ "columnsFrom": [
1819
+ "task_id"
1820
+ ],
1821
+ "columnsTo": [
1822
+ "id"
1823
+ ],
1824
+ "onDelete": "set null",
1825
+ "onUpdate": "no action"
1826
+ }
1827
+ },
1828
+ "compositePrimaryKeys": {},
1829
+ "uniqueConstraints": {},
1830
+ "policies": {},
1831
+ "checkConstraints": {},
1832
+ "isRLSEnabled": false
1833
+ },
1834
+ "public.looks": {
1835
+ "name": "looks",
1836
+ "schema": "",
1837
+ "columns": {
1838
+ "id": {
1839
+ "name": "id",
1840
+ "type": "text",
1841
+ "primaryKey": true,
1842
+ "notNull": true
1843
+ },
1844
+ "identity": {
1845
+ "name": "identity",
1846
+ "type": "text",
1847
+ "primaryKey": false,
1848
+ "notNull": true
1849
+ },
1850
+ "digest": {
1851
+ "name": "digest",
1852
+ "type": "text",
1853
+ "primaryKey": false,
1854
+ "notNull": true
1855
+ },
1856
+ "shot": {
1857
+ "name": "shot",
1858
+ "type": "text",
1859
+ "primaryKey": false,
1860
+ "notNull": false
1861
+ },
1862
+ "bytes": {
1863
+ "name": "bytes",
1864
+ "type": "integer",
1865
+ "primaryKey": false,
1866
+ "notNull": true,
1867
+ "default": 0
1868
+ },
1869
+ "fired": {
1870
+ "name": "fired",
1871
+ "type": "text",
1872
+ "primaryKey": false,
1873
+ "notNull": true
1874
+ },
1875
+ "provider": {
1876
+ "name": "provider",
1877
+ "type": "text",
1878
+ "primaryKey": false,
1879
+ "notNull": true
1880
+ },
1881
+ "model": {
1882
+ "name": "model",
1883
+ "type": "text",
1884
+ "primaryKey": false,
1885
+ "notNull": true
1886
+ },
1887
+ "statements": {
1888
+ "name": "statements",
1889
+ "type": "integer",
1890
+ "primaryKey": false,
1891
+ "notNull": true,
1892
+ "default": 0
1893
+ },
1894
+ "dropped": {
1895
+ "name": "dropped",
1896
+ "type": "integer",
1897
+ "primaryKey": false,
1898
+ "notNull": true,
1899
+ "default": 0
1900
+ },
1901
+ "unreadable": {
1902
+ "name": "unreadable",
1903
+ "type": "boolean",
1904
+ "primaryKey": false,
1905
+ "notNull": true,
1906
+ "default": false
1907
+ },
1908
+ "findings": {
1909
+ "name": "findings",
1910
+ "type": "jsonb",
1911
+ "primaryKey": false,
1912
+ "notNull": true
1913
+ },
1914
+ "at": {
1915
+ "name": "at",
1916
+ "type": "timestamp with time zone",
1917
+ "primaryKey": false,
1918
+ "notNull": true,
1919
+ "default": "now()"
1920
+ }
1921
+ },
1922
+ "indexes": {
1923
+ "looks_identity_idx": {
1924
+ "name": "looks_identity_idx",
1925
+ "columns": [
1926
+ {
1927
+ "expression": "identity",
1928
+ "isExpression": false,
1929
+ "asc": true,
1930
+ "nulls": "last"
1931
+ },
1932
+ {
1933
+ "expression": "at",
1934
+ "isExpression": false,
1935
+ "asc": true,
1936
+ "nulls": "last"
1937
+ }
1938
+ ],
1939
+ "isUnique": false,
1940
+ "concurrently": false,
1941
+ "method": "btree",
1942
+ "with": {}
1943
+ },
1944
+ "looks_digest_idx": {
1945
+ "name": "looks_digest_idx",
1946
+ "columns": [
1947
+ {
1948
+ "expression": "identity",
1949
+ "isExpression": false,
1950
+ "asc": true,
1951
+ "nulls": "last"
1952
+ },
1953
+ {
1954
+ "expression": "digest",
1955
+ "isExpression": false,
1956
+ "asc": true,
1957
+ "nulls": "last"
1958
+ }
1959
+ ],
1960
+ "isUnique": false,
1961
+ "concurrently": false,
1962
+ "method": "btree",
1963
+ "with": {}
1964
+ }
1965
+ },
1966
+ "foreignKeys": {},
1967
+ "compositePrimaryKeys": {},
1968
+ "uniqueConstraints": {},
1969
+ "policies": {},
1970
+ "checkConstraints": {},
1971
+ "isRLSEnabled": false
1972
+ },
1973
+ "public.memory_jobs": {
1974
+ "name": "memory_jobs",
1975
+ "schema": "",
1976
+ "columns": {
1977
+ "session_id": {
1978
+ "name": "session_id",
1979
+ "type": "text",
1980
+ "primaryKey": true,
1981
+ "notNull": true
1982
+ },
1983
+ "status": {
1984
+ "name": "status",
1985
+ "type": "text",
1986
+ "primaryKey": false,
1987
+ "notNull": true,
1988
+ "default": "'pending'"
1989
+ },
1990
+ "attempts": {
1991
+ "name": "attempts",
1992
+ "type": "integer",
1993
+ "primaryKey": false,
1994
+ "notNull": true,
1995
+ "default": 0
1996
+ },
1997
+ "available_at": {
1998
+ "name": "available_at",
1999
+ "type": "timestamp with time zone",
2000
+ "primaryKey": false,
2001
+ "notNull": true,
2002
+ "default": "now()"
2003
+ },
2004
+ "created_at": {
2005
+ "name": "created_at",
2006
+ "type": "timestamp with time zone",
2007
+ "primaryKey": false,
2008
+ "notNull": true,
2009
+ "default": "now()"
2010
+ },
2011
+ "started_at": {
2012
+ "name": "started_at",
2013
+ "type": "timestamp with time zone",
2014
+ "primaryKey": false,
2015
+ "notNull": false
2016
+ },
2017
+ "finished_at": {
2018
+ "name": "finished_at",
2019
+ "type": "timestamp with time zone",
2020
+ "primaryKey": false,
2021
+ "notNull": false
2022
+ },
2023
+ "lease_token": {
2024
+ "name": "lease_token",
2025
+ "type": "text",
2026
+ "primaryKey": false,
2027
+ "notNull": false
2028
+ },
2029
+ "reason": {
2030
+ "name": "reason",
2031
+ "type": "text",
2032
+ "primaryKey": false,
2033
+ "notNull": false
2034
+ },
2035
+ "receipt": {
2036
+ "name": "receipt",
2037
+ "type": "jsonb",
2038
+ "primaryKey": false,
2039
+ "notNull": false
2040
+ }
2041
+ },
2042
+ "indexes": {
2043
+ "memory_jobs_ready_idx": {
2044
+ "name": "memory_jobs_ready_idx",
2045
+ "columns": [
2046
+ {
2047
+ "expression": "status",
2048
+ "isExpression": false,
2049
+ "asc": true,
2050
+ "nulls": "last"
2051
+ },
2052
+ {
2053
+ "expression": "available_at",
2054
+ "isExpression": false,
2055
+ "asc": true,
2056
+ "nulls": "last"
2057
+ }
2058
+ ],
2059
+ "isUnique": false,
2060
+ "concurrently": false,
2061
+ "method": "btree",
2062
+ "with": {}
2063
+ }
2064
+ },
2065
+ "foreignKeys": {
2066
+ "memory_jobs_session_id_agent_sessions_id_fk": {
2067
+ "name": "memory_jobs_session_id_agent_sessions_id_fk",
2068
+ "tableFrom": "memory_jobs",
2069
+ "tableTo": "agent_sessions",
2070
+ "columnsFrom": [
2071
+ "session_id"
2072
+ ],
2073
+ "columnsTo": [
2074
+ "id"
2075
+ ],
2076
+ "onDelete": "cascade",
2077
+ "onUpdate": "no action"
2078
+ }
2079
+ },
2080
+ "compositePrimaryKeys": {},
2081
+ "uniqueConstraints": {},
2082
+ "policies": {},
2083
+ "checkConstraints": {},
2084
+ "isRLSEnabled": false
2085
+ },
2086
+ "public.model_calls": {
2087
+ "name": "model_calls",
2088
+ "schema": "",
2089
+ "columns": {
2090
+ "id": {
2091
+ "name": "id",
2092
+ "type": "text",
2093
+ "primaryKey": true,
2094
+ "notNull": true
2095
+ },
2096
+ "kind": {
2097
+ "name": "kind",
2098
+ "type": "text",
2099
+ "primaryKey": false,
2100
+ "notNull": true
2101
+ },
2102
+ "provider": {
2103
+ "name": "provider",
2104
+ "type": "text",
2105
+ "primaryKey": false,
2106
+ "notNull": true
2107
+ },
2108
+ "model": {
2109
+ "name": "model",
2110
+ "type": "text",
2111
+ "primaryKey": false,
2112
+ "notNull": true
2113
+ },
2114
+ "app_id": {
2115
+ "name": "app_id",
2116
+ "type": "text",
2117
+ "primaryKey": false,
2118
+ "notNull": false
2119
+ },
2120
+ "app_job_id": {
2121
+ "name": "app_job_id",
2122
+ "type": "text",
2123
+ "primaryKey": false,
2124
+ "notNull": false
2125
+ },
2126
+ "identity": {
2127
+ "name": "identity",
2128
+ "type": "text",
2129
+ "primaryKey": false,
2130
+ "notNull": false
2131
+ },
2132
+ "input_tokens": {
2133
+ "name": "input_tokens",
2134
+ "type": "integer",
2135
+ "primaryKey": false,
2136
+ "notNull": false
2137
+ },
2138
+ "output_tokens": {
2139
+ "name": "output_tokens",
2140
+ "type": "integer",
2141
+ "primaryKey": false,
2142
+ "notNull": false
2143
+ },
2144
+ "images": {
2145
+ "name": "images",
2146
+ "type": "integer",
2147
+ "primaryKey": false,
2148
+ "notNull": true,
2149
+ "default": 0
2150
+ },
2151
+ "created_at": {
2152
+ "name": "created_at",
2153
+ "type": "timestamp with time zone",
2154
+ "primaryKey": false,
2155
+ "notNull": true,
2156
+ "default": "now()"
2157
+ }
2158
+ },
2159
+ "indexes": {
2160
+ "model_calls_kind_idx": {
2161
+ "name": "model_calls_kind_idx",
2162
+ "columns": [
2163
+ {
2164
+ "expression": "kind",
2165
+ "isExpression": false,
2166
+ "asc": true,
2167
+ "nulls": "last"
2168
+ },
2169
+ {
2170
+ "expression": "created_at",
2171
+ "isExpression": false,
2172
+ "asc": true,
2173
+ "nulls": "last"
2174
+ }
2175
+ ],
2176
+ "isUnique": false,
2177
+ "concurrently": false,
2178
+ "method": "btree",
2179
+ "with": {}
2180
+ }
2181
+ },
2182
+ "foreignKeys": {},
2183
+ "compositePrimaryKeys": {},
2184
+ "uniqueConstraints": {},
2185
+ "policies": {},
2186
+ "checkConstraints": {},
2187
+ "isRLSEnabled": false
2188
+ },
2189
+ "public.narratives": {
2190
+ "name": "narratives",
2191
+ "schema": "",
2192
+ "columns": {
2193
+ "id": {
2194
+ "name": "id",
2195
+ "type": "text",
2196
+ "primaryKey": true,
2197
+ "notNull": true
2198
+ },
2199
+ "identity": {
2200
+ "name": "identity",
2201
+ "type": "text",
2202
+ "primaryKey": false,
2203
+ "notNull": true
2204
+ },
2205
+ "source": {
2206
+ "name": "source",
2207
+ "type": "text",
2208
+ "primaryKey": false,
2209
+ "notNull": true
2210
+ },
2211
+ "session_id": {
2212
+ "name": "session_id",
2213
+ "type": "text",
2214
+ "primaryKey": false,
2215
+ "notNull": true
2216
+ },
2217
+ "at": {
2218
+ "name": "at",
2219
+ "type": "timestamp with time zone",
2220
+ "primaryKey": false,
2221
+ "notNull": true
2222
+ },
2223
+ "kind": {
2224
+ "name": "kind",
2225
+ "type": "text",
2226
+ "primaryKey": false,
2227
+ "notNull": true
2228
+ },
2229
+ "text": {
2230
+ "name": "text",
2231
+ "type": "text",
2232
+ "primaryKey": false,
2233
+ "notNull": true
2234
+ },
2235
+ "context": {
2236
+ "name": "context",
2237
+ "type": "text",
2238
+ "primaryKey": false,
2239
+ "notNull": false
2240
+ },
2241
+ "truncated": {
2242
+ "name": "truncated",
2243
+ "type": "boolean",
2244
+ "primaryKey": false,
2245
+ "notNull": true,
2246
+ "default": false
2247
+ },
2248
+ "read_at": {
2249
+ "name": "read_at",
2250
+ "type": "timestamp with time zone",
2251
+ "primaryKey": false,
2252
+ "notNull": false
2253
+ },
2254
+ "failed_at": {
2255
+ "name": "failed_at",
2256
+ "type": "timestamp with time zone",
2257
+ "primaryKey": false,
2258
+ "notNull": false
2259
+ },
2260
+ "created_at": {
2261
+ "name": "created_at",
2262
+ "type": "timestamp with time zone",
2263
+ "primaryKey": false,
2264
+ "notNull": true,
2265
+ "default": "now()"
2266
+ }
2267
+ },
2268
+ "indexes": {
2269
+ "narratives_identity_idx": {
2270
+ "name": "narratives_identity_idx",
2271
+ "columns": [
2272
+ {
2273
+ "expression": "identity",
2274
+ "isExpression": false,
2275
+ "asc": true,
2276
+ "nulls": "last"
2277
+ },
2278
+ {
2279
+ "expression": "at",
2280
+ "isExpression": false,
2281
+ "asc": true,
2282
+ "nulls": "last"
2283
+ }
2284
+ ],
2285
+ "isUnique": false,
2286
+ "concurrently": false,
2287
+ "method": "btree",
2288
+ "with": {}
2289
+ },
2290
+ "narratives_read_idx": {
2291
+ "name": "narratives_read_idx",
2292
+ "columns": [
2293
+ {
2294
+ "expression": "read_at",
2295
+ "isExpression": false,
2296
+ "asc": true,
2297
+ "nulls": "last"
2298
+ },
2299
+ {
2300
+ "expression": "at",
2301
+ "isExpression": false,
2302
+ "asc": true,
2303
+ "nulls": "last"
2304
+ }
2305
+ ],
2306
+ "isUnique": false,
2307
+ "concurrently": false,
2308
+ "method": "btree",
2309
+ "with": {}
2310
+ }
2311
+ },
2312
+ "foreignKeys": {},
2313
+ "compositePrimaryKeys": {},
2314
+ "uniqueConstraints": {},
2315
+ "policies": {},
2316
+ "checkConstraints": {},
2317
+ "isRLSEnabled": false
2318
+ },
2319
+ "public.notes": {
2320
+ "name": "notes",
2321
+ "schema": "",
2322
+ "columns": {
2323
+ "id": {
2324
+ "name": "id",
2325
+ "type": "text",
2326
+ "primaryKey": true,
2327
+ "notNull": true
2328
+ },
2329
+ "project_id": {
2330
+ "name": "project_id",
2331
+ "type": "text",
2332
+ "primaryKey": false,
2333
+ "notNull": true
2334
+ },
2335
+ "body": {
2336
+ "name": "body",
2337
+ "type": "text",
2338
+ "primaryKey": false,
2339
+ "notNull": true
2340
+ },
2341
+ "status": {
2342
+ "name": "status",
2343
+ "type": "text",
2344
+ "primaryKey": false,
2345
+ "notNull": true,
2346
+ "default": "'proposed'"
2347
+ },
2348
+ "created_by": {
2349
+ "name": "created_by",
2350
+ "type": "text",
2351
+ "primaryKey": false,
2352
+ "notNull": true
2353
+ },
2354
+ "created_at": {
2355
+ "name": "created_at",
2356
+ "type": "timestamp with time zone",
2357
+ "primaryKey": false,
2358
+ "notNull": true,
2359
+ "default": "now()"
2360
+ },
2361
+ "decided_at": {
2362
+ "name": "decided_at",
2363
+ "type": "timestamp with time zone",
2364
+ "primaryKey": false,
2365
+ "notNull": false
2366
+ },
2367
+ "sentinels": {
2368
+ "name": "sentinels",
2369
+ "type": "jsonb",
2370
+ "primaryKey": false,
2371
+ "notNull": true,
2372
+ "default": "'[]'::jsonb"
2373
+ },
2374
+ "trigger": {
2375
+ "name": "trigger",
2376
+ "type": "text",
2377
+ "primaryKey": false,
2378
+ "notNull": false
2379
+ },
2380
+ "challenge": {
2381
+ "name": "challenge",
2382
+ "type": "jsonb",
2383
+ "primaryKey": false,
2384
+ "notNull": false
2385
+ }
2386
+ },
2387
+ "indexes": {
2388
+ "notes_project_idx": {
2389
+ "name": "notes_project_idx",
2390
+ "columns": [
2391
+ {
2392
+ "expression": "project_id",
2393
+ "isExpression": false,
2394
+ "asc": true,
2395
+ "nulls": "last"
2396
+ },
2397
+ {
2398
+ "expression": "status",
2399
+ "isExpression": false,
2400
+ "asc": true,
2401
+ "nulls": "last"
2402
+ }
2403
+ ],
2404
+ "isUnique": false,
2405
+ "concurrently": false,
2406
+ "method": "btree",
2407
+ "with": {}
2408
+ }
2409
+ },
2410
+ "foreignKeys": {
2411
+ "notes_project_id_projects_id_fk": {
2412
+ "name": "notes_project_id_projects_id_fk",
2413
+ "tableFrom": "notes",
2414
+ "tableTo": "projects",
2415
+ "columnsFrom": [
2416
+ "project_id"
2417
+ ],
2418
+ "columnsTo": [
2419
+ "id"
2420
+ ],
2421
+ "onDelete": "cascade",
2422
+ "onUpdate": "no action"
2423
+ }
2424
+ },
2425
+ "compositePrimaryKeys": {},
2426
+ "uniqueConstraints": {},
2427
+ "policies": {},
2428
+ "checkConstraints": {},
2429
+ "isRLSEnabled": false
2430
+ },
2431
+ "public.observations": {
2432
+ "name": "observations",
2433
+ "schema": "",
2434
+ "columns": {
2435
+ "id": {
2436
+ "name": "id",
2437
+ "type": "text",
2438
+ "primaryKey": true,
2439
+ "notNull": true
2440
+ },
2441
+ "identity": {
2442
+ "name": "identity",
2443
+ "type": "text",
2444
+ "primaryKey": false,
2445
+ "notNull": false
2446
+ },
2447
+ "topic": {
2448
+ "name": "topic",
2449
+ "type": "text",
2450
+ "primaryKey": false,
2451
+ "notNull": true
2452
+ },
2453
+ "classified": {
2454
+ "name": "classified",
2455
+ "type": "boolean",
2456
+ "primaryKey": false,
2457
+ "notNull": true,
2458
+ "default": false
2459
+ },
2460
+ "statement": {
2461
+ "name": "statement",
2462
+ "type": "text",
2463
+ "primaryKey": false,
2464
+ "notNull": true
2465
+ },
2466
+ "citations": {
2467
+ "name": "citations",
2468
+ "type": "jsonb",
2469
+ "primaryKey": false,
2470
+ "notNull": true
2471
+ },
2472
+ "model": {
2473
+ "name": "model",
2474
+ "type": "text",
2475
+ "primaryKey": false,
2476
+ "notNull": true
2477
+ },
2478
+ "at": {
2479
+ "name": "at",
2480
+ "type": "timestamp with time zone",
2481
+ "primaryKey": false,
2482
+ "notNull": true
2483
+ },
2484
+ "created_at": {
2485
+ "name": "created_at",
2486
+ "type": "timestamp with time zone",
2487
+ "primaryKey": false,
2488
+ "notNull": true,
2489
+ "default": "now()"
2490
+ },
2491
+ "topic_at": {
2492
+ "name": "topic_at",
2493
+ "type": "timestamp with time zone",
2494
+ "primaryKey": false,
2495
+ "notNull": true,
2496
+ "default": "now()"
2497
+ }
2498
+ },
2499
+ "indexes": {
2500
+ "observations_topic_idx": {
2501
+ "name": "observations_topic_idx",
2502
+ "columns": [
2503
+ {
2504
+ "expression": "topic",
2505
+ "isExpression": false,
2506
+ "asc": true,
2507
+ "nulls": "last"
2508
+ },
2509
+ {
2510
+ "expression": "at",
2511
+ "isExpression": false,
2512
+ "asc": true,
2513
+ "nulls": "last"
2514
+ }
2515
+ ],
2516
+ "isUnique": false,
2517
+ "concurrently": false,
2518
+ "method": "btree",
2519
+ "with": {}
2520
+ },
2521
+ "observations_classified_idx": {
2522
+ "name": "observations_classified_idx",
2523
+ "columns": [
2524
+ {
2525
+ "expression": "classified",
2526
+ "isExpression": false,
2527
+ "asc": true,
2528
+ "nulls": "last"
2529
+ }
2530
+ ],
2531
+ "isUnique": false,
2532
+ "concurrently": false,
2533
+ "method": "btree",
2534
+ "with": {}
2535
+ }
2536
+ },
2537
+ "foreignKeys": {},
2538
+ "compositePrimaryKeys": {},
2539
+ "uniqueConstraints": {},
2540
+ "policies": {},
2541
+ "checkConstraints": {},
2542
+ "isRLSEnabled": false
2543
+ },
2544
+ "public.packages": {
2545
+ "name": "packages",
2546
+ "schema": "",
2547
+ "columns": {
2548
+ "id": {
2549
+ "name": "id",
2550
+ "type": "text",
2551
+ "primaryKey": true,
2552
+ "notNull": true
2553
+ },
2554
+ "ecosystem": {
2555
+ "name": "ecosystem",
2556
+ "type": "text",
2557
+ "primaryKey": false,
2558
+ "notNull": true
2559
+ },
2560
+ "name": {
2561
+ "name": "name",
2562
+ "type": "text",
2563
+ "primaryKey": false,
2564
+ "notNull": true
2565
+ },
2566
+ "latest_version": {
2567
+ "name": "latest_version",
2568
+ "type": "text",
2569
+ "primaryKey": false,
2570
+ "notNull": false
2571
+ },
2572
+ "latest_checked_at": {
2573
+ "name": "latest_checked_at",
2574
+ "type": "timestamp with time zone",
2575
+ "primaryKey": false,
2576
+ "notNull": false
2577
+ },
2578
+ "unresolvable": {
2579
+ "name": "unresolvable",
2580
+ "type": "boolean",
2581
+ "primaryKey": false,
2582
+ "notNull": true,
2583
+ "default": false
2584
+ },
2585
+ "deprecated": {
2586
+ "name": "deprecated",
2587
+ "type": "boolean",
2588
+ "primaryKey": false,
2589
+ "notNull": true,
2590
+ "default": false
2591
+ },
2592
+ "license": {
2593
+ "name": "license",
2594
+ "type": "text",
2595
+ "primaryKey": false,
2596
+ "notNull": false
2597
+ }
2598
+ },
2599
+ "indexes": {
2600
+ "packages_ecosystem_idx": {
2601
+ "name": "packages_ecosystem_idx",
2602
+ "columns": [
2603
+ {
2604
+ "expression": "ecosystem",
2605
+ "isExpression": false,
2606
+ "asc": true,
2607
+ "nulls": "last"
2608
+ }
2609
+ ],
2610
+ "isUnique": false,
2611
+ "concurrently": false,
2612
+ "method": "btree",
2613
+ "with": {}
2614
+ },
2615
+ "packages_checked_idx": {
2616
+ "name": "packages_checked_idx",
2617
+ "columns": [
2618
+ {
2619
+ "expression": "latest_checked_at",
2620
+ "isExpression": false,
2621
+ "asc": true,
2622
+ "nulls": "last"
2623
+ }
2624
+ ],
2625
+ "isUnique": false,
2626
+ "concurrently": false,
2627
+ "method": "btree",
2628
+ "with": {}
2629
+ }
2630
+ },
2631
+ "foreignKeys": {},
2632
+ "compositePrimaryKeys": {},
2633
+ "uniqueConstraints": {},
2634
+ "policies": {},
2635
+ "checkConstraints": {},
2636
+ "isRLSEnabled": false
2637
+ },
2638
+ "public.project_agents": {
2639
+ "name": "project_agents",
2640
+ "schema": "",
2641
+ "columns": {
2642
+ "project_id": {
2643
+ "name": "project_id",
2644
+ "type": "text",
2645
+ "primaryKey": false,
2646
+ "notNull": true
2647
+ },
2648
+ "agent_name": {
2649
+ "name": "agent_name",
2650
+ "type": "text",
2651
+ "primaryKey": false,
2652
+ "notNull": true
2653
+ },
2654
+ "commits": {
2655
+ "name": "commits",
2656
+ "type": "integer",
2657
+ "primaryKey": false,
2658
+ "notNull": true
2659
+ },
2660
+ "source": {
2661
+ "name": "source",
2662
+ "type": "text",
2663
+ "primaryKey": false,
2664
+ "notNull": true,
2665
+ "default": "'git-trailer'"
2666
+ }
2667
+ },
2668
+ "indexes": {},
2669
+ "foreignKeys": {
2670
+ "project_agents_project_id_projects_id_fk": {
2671
+ "name": "project_agents_project_id_projects_id_fk",
2672
+ "tableFrom": "project_agents",
2673
+ "tableTo": "projects",
2674
+ "columnsFrom": [
2675
+ "project_id"
2676
+ ],
2677
+ "columnsTo": [
2678
+ "id"
2679
+ ],
2680
+ "onDelete": "cascade",
2681
+ "onUpdate": "no action"
2682
+ }
2683
+ },
2684
+ "compositePrimaryKeys": {
2685
+ "project_agents_project_id_agent_name_pk": {
2686
+ "name": "project_agents_project_id_agent_name_pk",
2687
+ "columns": [
2688
+ "project_id",
2689
+ "agent_name"
2690
+ ]
2691
+ }
2692
+ },
2693
+ "uniqueConstraints": {},
2694
+ "policies": {},
2695
+ "checkConstraints": {},
2696
+ "isRLSEnabled": false
2697
+ },
2698
+ "public.project_dependencies": {
2699
+ "name": "project_dependencies",
2700
+ "schema": "",
2701
+ "columns": {
2702
+ "project_id": {
2703
+ "name": "project_id",
2704
+ "type": "text",
2705
+ "primaryKey": false,
2706
+ "notNull": true
2707
+ },
2708
+ "package_id": {
2709
+ "name": "package_id",
2710
+ "type": "text",
2711
+ "primaryKey": false,
2712
+ "notNull": true
2713
+ },
2714
+ "constraint": {
2715
+ "name": "constraint",
2716
+ "type": "text",
2717
+ "primaryKey": false,
2718
+ "notNull": true
2719
+ },
2720
+ "resolved_version": {
2721
+ "name": "resolved_version",
2722
+ "type": "text",
2723
+ "primaryKey": false,
2724
+ "notNull": false
2725
+ },
2726
+ "is_dev": {
2727
+ "name": "is_dev",
2728
+ "type": "boolean",
2729
+ "primaryKey": false,
2730
+ "notNull": true,
2731
+ "default": false
2732
+ },
2733
+ "is_direct": {
2734
+ "name": "is_direct",
2735
+ "type": "boolean",
2736
+ "primaryKey": false,
2737
+ "notNull": true,
2738
+ "default": true
2739
+ },
2740
+ "source": {
2741
+ "name": "source",
2742
+ "type": "text",
2743
+ "primaryKey": false,
2744
+ "notNull": false
2745
+ }
2746
+ },
2747
+ "indexes": {
2748
+ "project_dependencies_package_idx": {
2749
+ "name": "project_dependencies_package_idx",
2750
+ "columns": [
2751
+ {
2752
+ "expression": "package_id",
2753
+ "isExpression": false,
2754
+ "asc": true,
2755
+ "nulls": "last"
2756
+ }
2757
+ ],
2758
+ "isUnique": false,
2759
+ "concurrently": false,
2760
+ "method": "btree",
2761
+ "with": {}
2762
+ }
2763
+ },
2764
+ "foreignKeys": {
2765
+ "project_dependencies_project_id_projects_id_fk": {
2766
+ "name": "project_dependencies_project_id_projects_id_fk",
2767
+ "tableFrom": "project_dependencies",
2768
+ "tableTo": "projects",
2769
+ "columnsFrom": [
2770
+ "project_id"
2771
+ ],
2772
+ "columnsTo": [
2773
+ "id"
2774
+ ],
2775
+ "onDelete": "cascade",
2776
+ "onUpdate": "no action"
2777
+ },
2778
+ "project_dependencies_package_id_packages_id_fk": {
2779
+ "name": "project_dependencies_package_id_packages_id_fk",
2780
+ "tableFrom": "project_dependencies",
2781
+ "tableTo": "packages",
2782
+ "columnsFrom": [
2783
+ "package_id"
2784
+ ],
2785
+ "columnsTo": [
2786
+ "id"
2787
+ ],
2788
+ "onDelete": "cascade",
2789
+ "onUpdate": "no action"
2790
+ }
2791
+ },
2792
+ "compositePrimaryKeys": {
2793
+ "project_dependencies_project_id_package_id_pk": {
2794
+ "name": "project_dependencies_project_id_package_id_pk",
2795
+ "columns": [
2796
+ "project_id",
2797
+ "package_id"
2798
+ ]
2799
+ }
2800
+ },
2801
+ "uniqueConstraints": {},
2802
+ "policies": {},
2803
+ "checkConstraints": {},
2804
+ "isRLSEnabled": false
2805
+ },
2806
+ "public.project_links": {
2807
+ "name": "project_links",
2808
+ "schema": "",
2809
+ "columns": {
2810
+ "project_id": {
2811
+ "name": "project_id",
2812
+ "type": "text",
2813
+ "primaryKey": false,
2814
+ "notNull": true
2815
+ },
2816
+ "service_id": {
2817
+ "name": "service_id",
2818
+ "type": "text",
2819
+ "primaryKey": false,
2820
+ "notNull": true
2821
+ },
2822
+ "service": {
2823
+ "name": "service",
2824
+ "type": "text",
2825
+ "primaryKey": false,
2826
+ "notNull": true
2827
+ },
2828
+ "label": {
2829
+ "name": "label",
2830
+ "type": "text",
2831
+ "primaryKey": false,
2832
+ "notNull": true
2833
+ },
2834
+ "url": {
2835
+ "name": "url",
2836
+ "type": "text",
2837
+ "primaryKey": false,
2838
+ "notNull": true
2839
+ },
2840
+ "kind": {
2841
+ "name": "kind",
2842
+ "type": "text",
2843
+ "primaryKey": false,
2844
+ "notNull": true
2845
+ },
2846
+ "evidence": {
2847
+ "name": "evidence",
2848
+ "type": "text",
2849
+ "primaryKey": false,
2850
+ "notNull": true
2851
+ },
2852
+ "icon_slug": {
2853
+ "name": "icon_slug",
2854
+ "type": "text",
2855
+ "primaryKey": false,
2856
+ "notNull": false
2857
+ }
2858
+ },
2859
+ "indexes": {},
2860
+ "foreignKeys": {
2861
+ "project_links_project_id_projects_id_fk": {
2862
+ "name": "project_links_project_id_projects_id_fk",
2863
+ "tableFrom": "project_links",
2864
+ "tableTo": "projects",
2865
+ "columnsFrom": [
2866
+ "project_id"
2867
+ ],
2868
+ "columnsTo": [
2869
+ "id"
2870
+ ],
2871
+ "onDelete": "cascade",
2872
+ "onUpdate": "no action"
2873
+ }
2874
+ },
2875
+ "compositePrimaryKeys": {
2876
+ "project_links_project_id_service_id_pk": {
2877
+ "name": "project_links_project_id_service_id_pk",
2878
+ "columns": [
2879
+ "project_id",
2880
+ "service_id"
2881
+ ]
2882
+ }
2883
+ },
2884
+ "uniqueConstraints": {},
2885
+ "policies": {},
2886
+ "checkConstraints": {},
2887
+ "isRLSEnabled": false
2888
+ },
2889
+ "public.project_technologies": {
2890
+ "name": "project_technologies",
2891
+ "schema": "",
2892
+ "columns": {
2893
+ "project_id": {
2894
+ "name": "project_id",
2895
+ "type": "text",
2896
+ "primaryKey": false,
2897
+ "notNull": true
2898
+ },
2899
+ "technology_id": {
2900
+ "name": "technology_id",
2901
+ "type": "text",
2902
+ "primaryKey": false,
2903
+ "notNull": true
2904
+ },
2905
+ "version": {
2906
+ "name": "version",
2907
+ "type": "text",
2908
+ "primaryKey": false,
2909
+ "notNull": false
2910
+ },
2911
+ "confidence": {
2912
+ "name": "confidence",
2913
+ "type": "real",
2914
+ "primaryKey": false,
2915
+ "notNull": true
2916
+ },
2917
+ "evidence": {
2918
+ "name": "evidence",
2919
+ "type": "jsonb",
2920
+ "primaryKey": false,
2921
+ "notNull": true
2922
+ }
2923
+ },
2924
+ "indexes": {
2925
+ "project_technologies_tech_idx": {
2926
+ "name": "project_technologies_tech_idx",
2927
+ "columns": [
2928
+ {
2929
+ "expression": "technology_id",
2930
+ "isExpression": false,
2931
+ "asc": true,
2932
+ "nulls": "last"
2933
+ }
2934
+ ],
2935
+ "isUnique": false,
2936
+ "concurrently": false,
2937
+ "method": "btree",
2938
+ "with": {}
2939
+ }
2940
+ },
2941
+ "foreignKeys": {
2942
+ "project_technologies_project_id_projects_id_fk": {
2943
+ "name": "project_technologies_project_id_projects_id_fk",
2944
+ "tableFrom": "project_technologies",
2945
+ "tableTo": "projects",
2946
+ "columnsFrom": [
2947
+ "project_id"
2948
+ ],
2949
+ "columnsTo": [
2950
+ "id"
2951
+ ],
2952
+ "onDelete": "cascade",
2953
+ "onUpdate": "no action"
2954
+ },
2955
+ "project_technologies_technology_id_technologies_id_fk": {
2956
+ "name": "project_technologies_technology_id_technologies_id_fk",
2957
+ "tableFrom": "project_technologies",
2958
+ "tableTo": "technologies",
2959
+ "columnsFrom": [
2960
+ "technology_id"
2961
+ ],
2962
+ "columnsTo": [
2963
+ "id"
2964
+ ],
2965
+ "onDelete": "cascade",
2966
+ "onUpdate": "no action"
2967
+ }
2968
+ },
2969
+ "compositePrimaryKeys": {
2970
+ "project_technologies_project_id_technology_id_pk": {
2971
+ "name": "project_technologies_project_id_technology_id_pk",
2972
+ "columns": [
2973
+ "project_id",
2974
+ "technology_id"
2975
+ ]
2976
+ }
2977
+ },
2978
+ "uniqueConstraints": {},
2979
+ "policies": {},
2980
+ "checkConstraints": {},
2981
+ "isRLSEnabled": false
2982
+ },
2983
+ "public.projects": {
2984
+ "name": "projects",
2985
+ "schema": "",
2986
+ "columns": {
2987
+ "id": {
2988
+ "name": "id",
2989
+ "type": "text",
2990
+ "primaryKey": true,
2991
+ "notNull": true
2992
+ },
2993
+ "name": {
2994
+ "name": "name",
2995
+ "type": "text",
2996
+ "primaryKey": false,
2997
+ "notNull": true
2998
+ },
2999
+ "slug": {
3000
+ "name": "slug",
3001
+ "type": "text",
3002
+ "primaryKey": false,
3003
+ "notNull": true
3004
+ },
3005
+ "root": {
3006
+ "name": "root",
3007
+ "type": "text",
3008
+ "primaryKey": false,
3009
+ "notNull": true
3010
+ },
3011
+ "identity": {
3012
+ "name": "identity",
3013
+ "type": "text",
3014
+ "primaryKey": false,
3015
+ "notNull": false
3016
+ },
3017
+ "description": {
3018
+ "name": "description",
3019
+ "type": "text",
3020
+ "primaryKey": false,
3021
+ "notNull": false
3022
+ },
3023
+ "version": {
3024
+ "name": "version",
3025
+ "type": "text",
3026
+ "primaryKey": false,
3027
+ "notNull": false
3028
+ },
3029
+ "icon_data_uri": {
3030
+ "name": "icon_data_uri",
3031
+ "type": "text",
3032
+ "primaryKey": false,
3033
+ "notNull": false
3034
+ },
3035
+ "icon_hash": {
3036
+ "name": "icon_hash",
3037
+ "type": "text",
3038
+ "primaryKey": false,
3039
+ "notNull": false
3040
+ },
3041
+ "primary_language": {
3042
+ "name": "primary_language",
3043
+ "type": "text",
3044
+ "primaryKey": false,
3045
+ "notNull": false
3046
+ },
3047
+ "health_score": {
3048
+ "name": "health_score",
3049
+ "type": "integer",
3050
+ "primaryKey": false,
3051
+ "notNull": true,
3052
+ "default": 0
3053
+ },
3054
+ "health_grade": {
3055
+ "name": "health_grade",
3056
+ "type": "text",
3057
+ "primaryKey": false,
3058
+ "notNull": true,
3059
+ "default": "'F'"
3060
+ },
3061
+ "source_bytes": {
3062
+ "name": "source_bytes",
3063
+ "type": "integer",
3064
+ "primaryKey": false,
3065
+ "notNull": true,
3066
+ "default": 0
3067
+ },
3068
+ "file_count": {
3069
+ "name": "file_count",
3070
+ "type": "integer",
3071
+ "primaryKey": false,
3072
+ "notNull": true,
3073
+ "default": 0
3074
+ },
3075
+ "git_branch": {
3076
+ "name": "git_branch",
3077
+ "type": "text",
3078
+ "primaryKey": false,
3079
+ "notNull": false
3080
+ },
3081
+ "git_remote_url": {
3082
+ "name": "git_remote_url",
3083
+ "type": "text",
3084
+ "primaryKey": false,
3085
+ "notNull": false
3086
+ },
3087
+ "git_commit_count": {
3088
+ "name": "git_commit_count",
3089
+ "type": "integer",
3090
+ "primaryKey": false,
3091
+ "notNull": false
3092
+ },
3093
+ "last_commit_at": {
3094
+ "name": "last_commit_at",
3095
+ "type": "timestamp with time zone",
3096
+ "primaryKey": false,
3097
+ "notNull": false
3098
+ },
3099
+ "summary": {
3100
+ "name": "summary",
3101
+ "type": "text",
3102
+ "primaryKey": false,
3103
+ "notNull": false
3104
+ },
3105
+ "summary_source": {
3106
+ "name": "summary_source",
3107
+ "type": "text",
3108
+ "primaryKey": false,
3109
+ "notNull": false
3110
+ },
3111
+ "summary_readme": {
3112
+ "name": "summary_readme",
3113
+ "type": "text",
3114
+ "primaryKey": false,
3115
+ "notNull": false
3116
+ },
3117
+ "summary_composed": {
3118
+ "name": "summary_composed",
3119
+ "type": "text",
3120
+ "primaryKey": false,
3121
+ "notNull": false
3122
+ },
3123
+ "summary_composition": {
3124
+ "name": "summary_composition",
3125
+ "type": "jsonb",
3126
+ "primaryKey": false,
3127
+ "notNull": false
3128
+ },
3129
+ "origin_kind": {
3130
+ "name": "origin_kind",
3131
+ "type": "text",
3132
+ "primaryKey": false,
3133
+ "notNull": false
3134
+ },
3135
+ "origin_started_by": {
3136
+ "name": "origin_started_by",
3137
+ "type": "text",
3138
+ "primaryKey": false,
3139
+ "notNull": false
3140
+ },
3141
+ "origin_share": {
3142
+ "name": "origin_share",
3143
+ "type": "real",
3144
+ "primaryKey": false,
3145
+ "notNull": false
3146
+ },
3147
+ "origin_evidence": {
3148
+ "name": "origin_evidence",
3149
+ "type": "jsonb",
3150
+ "primaryKey": false,
3151
+ "notNull": false
3152
+ },
3153
+ "runbook": {
3154
+ "name": "runbook",
3155
+ "type": "jsonb",
3156
+ "primaryKey": false,
3157
+ "notNull": false
3158
+ },
3159
+ "recent_commits": {
3160
+ "name": "recent_commits",
3161
+ "type": "jsonb",
3162
+ "primaryKey": false,
3163
+ "notNull": false
3164
+ },
3165
+ "agents_md": {
3166
+ "name": "agents_md",
3167
+ "type": "jsonb",
3168
+ "primaryKey": false,
3169
+ "notNull": false
3170
+ },
3171
+ "git_versioned": {
3172
+ "name": "git_versioned",
3173
+ "type": "boolean",
3174
+ "primaryKey": false,
3175
+ "notNull": false
3176
+ },
3177
+ "git_modified": {
3178
+ "name": "git_modified",
3179
+ "type": "integer",
3180
+ "primaryKey": false,
3181
+ "notNull": false
3182
+ },
3183
+ "git_untracked": {
3184
+ "name": "git_untracked",
3185
+ "type": "integer",
3186
+ "primaryKey": false,
3187
+ "notNull": false
3188
+ },
3189
+ "git_ahead": {
3190
+ "name": "git_ahead",
3191
+ "type": "integer",
3192
+ "primaryKey": false,
3193
+ "notNull": false
3194
+ },
3195
+ "git_behind": {
3196
+ "name": "git_behind",
3197
+ "type": "integer",
3198
+ "primaryKey": false,
3199
+ "notNull": false
3200
+ },
3201
+ "git_stashes": {
3202
+ "name": "git_stashes",
3203
+ "type": "integer",
3204
+ "primaryKey": false,
3205
+ "notNull": false
3206
+ },
3207
+ "git_own_repo": {
3208
+ "name": "git_own_repo",
3209
+ "type": "boolean",
3210
+ "primaryKey": false,
3211
+ "notNull": false
3212
+ },
3213
+ "direct_deps": {
3214
+ "name": "direct_deps",
3215
+ "type": "integer",
3216
+ "primaryKey": false,
3217
+ "notNull": true,
3218
+ "default": 0
3219
+ },
3220
+ "outdated_deps": {
3221
+ "name": "outdated_deps",
3222
+ "type": "integer",
3223
+ "primaryKey": false,
3224
+ "notNull": true,
3225
+ "default": 0
3226
+ },
3227
+ "deps_unresolved": {
3228
+ "name": "deps_unresolved",
3229
+ "type": "text",
3230
+ "primaryKey": false,
3231
+ "notNull": false
3232
+ },
3233
+ "major_behind": {
3234
+ "name": "major_behind",
3235
+ "type": "integer",
3236
+ "primaryKey": false,
3237
+ "notNull": true,
3238
+ "default": 0
3239
+ },
3240
+ "vuln_count": {
3241
+ "name": "vuln_count",
3242
+ "type": "integer",
3243
+ "primaryKey": false,
3244
+ "notNull": true,
3245
+ "default": 0
3246
+ },
3247
+ "vuln_critical": {
3248
+ "name": "vuln_critical",
3249
+ "type": "integer",
3250
+ "primaryKey": false,
3251
+ "notNull": true,
3252
+ "default": 0
3253
+ },
3254
+ "enriched_at": {
3255
+ "name": "enriched_at",
3256
+ "type": "timestamp with time zone",
3257
+ "primaryKey": false,
3258
+ "notNull": false
3259
+ },
3260
+ "disk_total_bytes": {
3261
+ "name": "disk_total_bytes",
3262
+ "type": "bigint",
3263
+ "primaryKey": false,
3264
+ "notNull": false
3265
+ },
3266
+ "disk_reclaimable_bytes": {
3267
+ "name": "disk_reclaimable_bytes",
3268
+ "type": "bigint",
3269
+ "primaryKey": false,
3270
+ "notNull": false
3271
+ },
3272
+ "disk_dirs": {
3273
+ "name": "disk_dirs",
3274
+ "type": "jsonb",
3275
+ "primaryKey": false,
3276
+ "notNull": false
3277
+ },
3278
+ "disk_measured_at": {
3279
+ "name": "disk_measured_at",
3280
+ "type": "timestamp with time zone",
3281
+ "primaryKey": false,
3282
+ "notNull": false
3283
+ },
3284
+ "first_seen_at": {
3285
+ "name": "first_seen_at",
3286
+ "type": "timestamp with time zone",
3287
+ "primaryKey": false,
3288
+ "notNull": true,
3289
+ "default": "now()"
3290
+ },
3291
+ "last_scanned_at": {
3292
+ "name": "last_scanned_at",
3293
+ "type": "timestamp with time zone",
3294
+ "primaryKey": false,
3295
+ "notNull": true,
3296
+ "default": "now()"
3297
+ }
3298
+ },
3299
+ "indexes": {
3300
+ "projects_health_idx": {
3301
+ "name": "projects_health_idx",
3302
+ "columns": [
3303
+ {
3304
+ "expression": "health_score",
3305
+ "isExpression": false,
3306
+ "asc": true,
3307
+ "nulls": "last"
3308
+ }
3309
+ ],
3310
+ "isUnique": false,
3311
+ "concurrently": false,
3312
+ "method": "btree",
3313
+ "with": {}
3314
+ },
3315
+ "projects_last_commit_idx": {
3316
+ "name": "projects_last_commit_idx",
3317
+ "columns": [
3318
+ {
3319
+ "expression": "last_commit_at",
3320
+ "isExpression": false,
3321
+ "asc": true,
3322
+ "nulls": "last"
3323
+ }
3324
+ ],
3325
+ "isUnique": false,
3326
+ "concurrently": false,
3327
+ "method": "btree",
3328
+ "with": {}
3329
+ }
3330
+ },
3331
+ "foreignKeys": {},
3332
+ "compositePrimaryKeys": {},
3333
+ "uniqueConstraints": {
3334
+ "projects_slug_unique": {
3335
+ "name": "projects_slug_unique",
3336
+ "nullsNotDistinct": false,
3337
+ "columns": [
3338
+ "slug"
3339
+ ]
3340
+ },
3341
+ "projects_root_unique": {
3342
+ "name": "projects_root_unique",
3343
+ "nullsNotDistinct": false,
3344
+ "columns": [
3345
+ "root"
3346
+ ]
3347
+ }
3348
+ },
3349
+ "policies": {},
3350
+ "checkConstraints": {},
3351
+ "isRLSEnabled": false
3352
+ },
3353
+ "public.reviews": {
3354
+ "name": "reviews",
3355
+ "schema": "",
3356
+ "columns": {
3357
+ "project_id": {
3358
+ "name": "project_id",
3359
+ "type": "text",
3360
+ "primaryKey": true,
3361
+ "notNull": true
3362
+ },
3363
+ "findings": {
3364
+ "name": "findings",
3365
+ "type": "jsonb",
3366
+ "primaryKey": false,
3367
+ "notNull": true
3368
+ },
3369
+ "sources_read": {
3370
+ "name": "sources_read",
3371
+ "type": "integer",
3372
+ "primaryKey": false,
3373
+ "notNull": true,
3374
+ "default": 0
3375
+ },
3376
+ "truncated": {
3377
+ "name": "truncated",
3378
+ "type": "boolean",
3379
+ "primaryKey": false,
3380
+ "notNull": true,
3381
+ "default": false
3382
+ },
3383
+ "at": {
3384
+ "name": "at",
3385
+ "type": "timestamp with time zone",
3386
+ "primaryKey": false,
3387
+ "notNull": true,
3388
+ "default": "now()"
3389
+ }
3390
+ },
3391
+ "indexes": {},
3392
+ "foreignKeys": {
3393
+ "reviews_project_id_projects_id_fk": {
3394
+ "name": "reviews_project_id_projects_id_fk",
3395
+ "tableFrom": "reviews",
3396
+ "tableTo": "projects",
3397
+ "columnsFrom": [
3398
+ "project_id"
3399
+ ],
3400
+ "columnsTo": [
3401
+ "id"
3402
+ ],
3403
+ "onDelete": "cascade",
3404
+ "onUpdate": "no action"
3405
+ }
3406
+ },
3407
+ "compositePrimaryKeys": {},
3408
+ "uniqueConstraints": {},
3409
+ "policies": {},
3410
+ "checkConstraints": {},
3411
+ "isRLSEnabled": false
3412
+ },
3413
+ "public.runs": {
3414
+ "name": "runs",
3415
+ "schema": "",
3416
+ "columns": {
3417
+ "id": {
3418
+ "name": "id",
3419
+ "type": "text",
3420
+ "primaryKey": true,
3421
+ "notNull": true
3422
+ },
3423
+ "project_id": {
3424
+ "name": "project_id",
3425
+ "type": "text",
3426
+ "primaryKey": false,
3427
+ "notNull": true
3428
+ },
3429
+ "task_id": {
3430
+ "name": "task_id",
3431
+ "type": "text",
3432
+ "primaryKey": false,
3433
+ "notNull": false
3434
+ },
3435
+ "kind": {
3436
+ "name": "kind",
3437
+ "type": "text",
3438
+ "primaryKey": false,
3439
+ "notNull": true
3440
+ },
3441
+ "status": {
3442
+ "name": "status",
3443
+ "type": "text",
3444
+ "primaryKey": false,
3445
+ "notNull": true,
3446
+ "default": "'pending'"
3447
+ },
3448
+ "target": {
3449
+ "name": "target",
3450
+ "type": "jsonb",
3451
+ "primaryKey": false,
3452
+ "notNull": true
3453
+ },
3454
+ "summary": {
3455
+ "name": "summary",
3456
+ "type": "text",
3457
+ "primaryKey": false,
3458
+ "notNull": false
3459
+ },
3460
+ "verified": {
3461
+ "name": "verified",
3462
+ "type": "boolean",
3463
+ "primaryKey": false,
3464
+ "notNull": true,
3465
+ "default": false
3466
+ },
3467
+ "isolation": {
3468
+ "name": "isolation",
3469
+ "type": "text",
3470
+ "primaryKey": false,
3471
+ "notNull": true,
3472
+ "default": "'local'"
3473
+ },
3474
+ "isolation_note": {
3475
+ "name": "isolation_note",
3476
+ "type": "text",
3477
+ "primaryKey": false,
3478
+ "notNull": false
3479
+ },
3480
+ "branch": {
3481
+ "name": "branch",
3482
+ "type": "text",
3483
+ "primaryKey": false,
3484
+ "notNull": false
3485
+ },
3486
+ "patch": {
3487
+ "name": "patch",
3488
+ "type": "text",
3489
+ "primaryKey": false,
3490
+ "notNull": false
3491
+ },
3492
+ "commit_sha": {
3493
+ "name": "commit_sha",
3494
+ "type": "text",
3495
+ "primaryKey": false,
3496
+ "notNull": false
3497
+ },
3498
+ "steps": {
3499
+ "name": "steps",
3500
+ "type": "jsonb",
3501
+ "primaryKey": false,
3502
+ "notNull": false
3503
+ },
3504
+ "requested_by": {
3505
+ "name": "requested_by",
3506
+ "type": "text",
3507
+ "primaryKey": false,
3508
+ "notNull": true,
3509
+ "default": "'human'"
3510
+ },
3511
+ "created_at": {
3512
+ "name": "created_at",
3513
+ "type": "timestamp with time zone",
3514
+ "primaryKey": false,
3515
+ "notNull": true,
3516
+ "default": "now()"
3517
+ },
3518
+ "finished_at": {
3519
+ "name": "finished_at",
3520
+ "type": "timestamp with time zone",
3521
+ "primaryKey": false,
3522
+ "notNull": false
3523
+ }
3524
+ },
3525
+ "indexes": {
3526
+ "runs_project_idx": {
3527
+ "name": "runs_project_idx",
3528
+ "columns": [
3529
+ {
3530
+ "expression": "project_id",
3531
+ "isExpression": false,
3532
+ "asc": true,
3533
+ "nulls": "last"
3534
+ },
3535
+ {
3536
+ "expression": "created_at",
3537
+ "isExpression": false,
3538
+ "asc": true,
3539
+ "nulls": "last"
3540
+ }
3541
+ ],
3542
+ "isUnique": false,
3543
+ "concurrently": false,
3544
+ "method": "btree",
3545
+ "with": {}
3546
+ }
3547
+ },
3548
+ "foreignKeys": {
3549
+ "runs_project_id_projects_id_fk": {
3550
+ "name": "runs_project_id_projects_id_fk",
3551
+ "tableFrom": "runs",
3552
+ "tableTo": "projects",
3553
+ "columnsFrom": [
3554
+ "project_id"
3555
+ ],
3556
+ "columnsTo": [
3557
+ "id"
3558
+ ],
3559
+ "onDelete": "cascade",
3560
+ "onUpdate": "no action"
3561
+ },
3562
+ "runs_task_id_tasks_id_fk": {
3563
+ "name": "runs_task_id_tasks_id_fk",
3564
+ "tableFrom": "runs",
3565
+ "tableTo": "tasks",
3566
+ "columnsFrom": [
3567
+ "task_id"
3568
+ ],
3569
+ "columnsTo": [
3570
+ "id"
3571
+ ],
3572
+ "onDelete": "set null",
3573
+ "onUpdate": "no action"
3574
+ }
3575
+ },
3576
+ "compositePrimaryKeys": {},
3577
+ "uniqueConstraints": {},
3578
+ "policies": {},
3579
+ "checkConstraints": {},
3580
+ "isRLSEnabled": false
3581
+ },
3582
+ "public.servings": {
3583
+ "name": "servings",
3584
+ "schema": "",
3585
+ "columns": {
3586
+ "id": {
3587
+ "name": "id",
3588
+ "type": "text",
3589
+ "primaryKey": true,
3590
+ "notNull": true
3591
+ },
3592
+ "project_id": {
3593
+ "name": "project_id",
3594
+ "type": "text",
3595
+ "primaryKey": false,
3596
+ "notNull": true
3597
+ },
3598
+ "agent_id": {
3599
+ "name": "agent_id",
3600
+ "type": "text",
3601
+ "primaryKey": false,
3602
+ "notNull": true
3603
+ },
3604
+ "arm": {
3605
+ "name": "arm",
3606
+ "type": "text",
3607
+ "primaryKey": false,
3608
+ "notNull": true
3609
+ },
3610
+ "experiment_id": {
3611
+ "name": "experiment_id",
3612
+ "type": "text",
3613
+ "primaryKey": false,
3614
+ "notNull": false
3615
+ },
3616
+ "note_ids": {
3617
+ "name": "note_ids",
3618
+ "type": "jsonb",
3619
+ "primaryKey": false,
3620
+ "notNull": true
3621
+ },
3622
+ "note_chars": {
3623
+ "name": "note_chars",
3624
+ "type": "integer",
3625
+ "primaryKey": false,
3626
+ "notNull": true
3627
+ },
3628
+ "at": {
3629
+ "name": "at",
3630
+ "type": "timestamp with time zone",
3631
+ "primaryKey": false,
3632
+ "notNull": true,
3633
+ "default": "now()"
3634
+ }
3635
+ },
3636
+ "indexes": {
3637
+ "servings_project_idx": {
3638
+ "name": "servings_project_idx",
3639
+ "columns": [
3640
+ {
3641
+ "expression": "project_id",
3642
+ "isExpression": false,
3643
+ "asc": true,
3644
+ "nulls": "last"
3645
+ },
3646
+ {
3647
+ "expression": "at",
3648
+ "isExpression": false,
3649
+ "asc": true,
3650
+ "nulls": "last"
3651
+ }
3652
+ ],
3653
+ "isUnique": false,
3654
+ "concurrently": false,
3655
+ "method": "btree",
3656
+ "with": {}
3657
+ }
3658
+ },
3659
+ "foreignKeys": {
3660
+ "servings_project_id_projects_id_fk": {
3661
+ "name": "servings_project_id_projects_id_fk",
3662
+ "tableFrom": "servings",
3663
+ "tableTo": "projects",
3664
+ "columnsFrom": [
3665
+ "project_id"
3666
+ ],
3667
+ "columnsTo": [
3668
+ "id"
3669
+ ],
3670
+ "onDelete": "cascade",
3671
+ "onUpdate": "no action"
3672
+ },
3673
+ "servings_agent_id_agents_id_fk": {
3674
+ "name": "servings_agent_id_agents_id_fk",
3675
+ "tableFrom": "servings",
3676
+ "tableTo": "agents",
3677
+ "columnsFrom": [
3678
+ "agent_id"
3679
+ ],
3680
+ "columnsTo": [
3681
+ "id"
3682
+ ],
3683
+ "onDelete": "cascade",
3684
+ "onUpdate": "no action"
3685
+ }
3686
+ },
3687
+ "compositePrimaryKeys": {},
3688
+ "uniqueConstraints": {},
3689
+ "policies": {},
3690
+ "checkConstraints": {},
3691
+ "isRLSEnabled": false
3692
+ },
3693
+ "public.snapshots": {
3694
+ "name": "snapshots",
3695
+ "schema": "",
3696
+ "columns": {
3697
+ "id": {
3698
+ "name": "id",
3699
+ "type": "text",
3700
+ "primaryKey": true,
3701
+ "notNull": true
3702
+ },
3703
+ "project_id": {
3704
+ "name": "project_id",
3705
+ "type": "text",
3706
+ "primaryKey": false,
3707
+ "notNull": true
3708
+ },
3709
+ "scanned_at": {
3710
+ "name": "scanned_at",
3711
+ "type": "timestamp with time zone",
3712
+ "primaryKey": false,
3713
+ "notNull": true
3714
+ },
3715
+ "commit_sha": {
3716
+ "name": "commit_sha",
3717
+ "type": "text",
3718
+ "primaryKey": false,
3719
+ "notNull": false
3720
+ },
3721
+ "engine_version": {
3722
+ "name": "engine_version",
3723
+ "type": "text",
3724
+ "primaryKey": false,
3725
+ "notNull": true
3726
+ },
3727
+ "health_score": {
3728
+ "name": "health_score",
3729
+ "type": "integer",
3730
+ "primaryKey": false,
3731
+ "notNull": true
3732
+ },
3733
+ "report": {
3734
+ "name": "report",
3735
+ "type": "jsonb",
3736
+ "primaryKey": false,
3737
+ "notNull": true
3738
+ }
3739
+ },
3740
+ "indexes": {
3741
+ "snapshots_project_idx": {
3742
+ "name": "snapshots_project_idx",
3743
+ "columns": [
3744
+ {
3745
+ "expression": "project_id",
3746
+ "isExpression": false,
3747
+ "asc": true,
3748
+ "nulls": "last"
3749
+ },
3750
+ {
3751
+ "expression": "scanned_at",
3752
+ "isExpression": false,
3753
+ "asc": true,
3754
+ "nulls": "last"
3755
+ }
3756
+ ],
3757
+ "isUnique": false,
3758
+ "concurrently": false,
3759
+ "method": "btree",
3760
+ "with": {}
3761
+ }
3762
+ },
3763
+ "foreignKeys": {
3764
+ "snapshots_project_id_projects_id_fk": {
3765
+ "name": "snapshots_project_id_projects_id_fk",
3766
+ "tableFrom": "snapshots",
3767
+ "tableTo": "projects",
3768
+ "columnsFrom": [
3769
+ "project_id"
3770
+ ],
3771
+ "columnsTo": [
3772
+ "id"
3773
+ ],
3774
+ "onDelete": "cascade",
3775
+ "onUpdate": "no action"
3776
+ }
3777
+ },
3778
+ "compositePrimaryKeys": {},
3779
+ "uniqueConstraints": {},
3780
+ "policies": {},
3781
+ "checkConstraints": {},
3782
+ "isRLSEnabled": false
3783
+ },
3784
+ "public.synthesis_passes": {
3785
+ "name": "synthesis_passes",
3786
+ "schema": "",
3787
+ "columns": {
3788
+ "id": {
3789
+ "name": "id",
3790
+ "type": "text",
3791
+ "primaryKey": true,
3792
+ "notNull": true
3793
+ },
3794
+ "topic": {
3795
+ "name": "topic",
3796
+ "type": "text",
3797
+ "primaryKey": false,
3798
+ "notNull": true
3799
+ },
3800
+ "created": {
3801
+ "name": "created",
3802
+ "type": "integer",
3803
+ "primaryKey": false,
3804
+ "notNull": true,
3805
+ "default": 0
3806
+ },
3807
+ "refined": {
3808
+ "name": "refined",
3809
+ "type": "integer",
3810
+ "primaryKey": false,
3811
+ "notNull": true,
3812
+ "default": 0
3813
+ },
3814
+ "retired": {
3815
+ "name": "retired",
3816
+ "type": "integer",
3817
+ "primaryKey": false,
3818
+ "notNull": true,
3819
+ "default": 0
3820
+ },
3821
+ "proposed": {
3822
+ "name": "proposed",
3823
+ "type": "integer",
3824
+ "primaryKey": false,
3825
+ "notNull": true,
3826
+ "default": 0
3827
+ },
3828
+ "observations": {
3829
+ "name": "observations",
3830
+ "type": "integer",
3831
+ "primaryKey": false,
3832
+ "notNull": true,
3833
+ "default": 0
3834
+ },
3835
+ "at": {
3836
+ "name": "at",
3837
+ "type": "timestamp with time zone",
3838
+ "primaryKey": false,
3839
+ "notNull": true,
3840
+ "default": "now()"
3841
+ }
3842
+ },
3843
+ "indexes": {
3844
+ "synthesis_passes_at_idx": {
3845
+ "name": "synthesis_passes_at_idx",
3846
+ "columns": [
3847
+ {
3848
+ "expression": "at",
3849
+ "isExpression": false,
3850
+ "asc": true,
3851
+ "nulls": "last"
3852
+ }
3853
+ ],
3854
+ "isUnique": false,
3855
+ "concurrently": false,
3856
+ "method": "btree",
3857
+ "with": {}
3858
+ }
3859
+ },
3860
+ "foreignKeys": {},
3861
+ "compositePrimaryKeys": {},
3862
+ "uniqueConstraints": {},
3863
+ "policies": {},
3864
+ "checkConstraints": {},
3865
+ "isRLSEnabled": false
3866
+ },
3867
+ "public.tasks": {
3868
+ "name": "tasks",
3869
+ "schema": "",
3870
+ "columns": {
3871
+ "id": {
3872
+ "name": "id",
3873
+ "type": "text",
3874
+ "primaryKey": true,
3875
+ "notNull": true
3876
+ },
3877
+ "project_id": {
3878
+ "name": "project_id",
3879
+ "type": "text",
3880
+ "primaryKey": false,
3881
+ "notNull": true
3882
+ },
3883
+ "title": {
3884
+ "name": "title",
3885
+ "type": "text",
3886
+ "primaryKey": false,
3887
+ "notNull": true
3888
+ },
3889
+ "body": {
3890
+ "name": "body",
3891
+ "type": "text",
3892
+ "primaryKey": false,
3893
+ "notNull": false
3894
+ },
3895
+ "status": {
3896
+ "name": "status",
3897
+ "type": "text",
3898
+ "primaryKey": false,
3899
+ "notNull": true,
3900
+ "default": "'open'"
3901
+ },
3902
+ "created_by": {
3903
+ "name": "created_by",
3904
+ "type": "text",
3905
+ "primaryKey": false,
3906
+ "notNull": true,
3907
+ "default": "'human'"
3908
+ },
3909
+ "from_look": {
3910
+ "name": "from_look",
3911
+ "type": "text",
3912
+ "primaryKey": false,
3913
+ "notNull": false
3914
+ },
3915
+ "from_finding": {
3916
+ "name": "from_finding",
3917
+ "type": "integer",
3918
+ "primaryKey": false,
3919
+ "notNull": false
3920
+ },
3921
+ "from_critique": {
3922
+ "name": "from_critique",
3923
+ "type": "text",
3924
+ "primaryKey": false,
3925
+ "notNull": false
3926
+ },
3927
+ "assigned_agent_id": {
3928
+ "name": "assigned_agent_id",
3929
+ "type": "text",
3930
+ "primaryKey": false,
3931
+ "notNull": false
3932
+ },
3933
+ "claimed_at": {
3934
+ "name": "claimed_at",
3935
+ "type": "timestamp with time zone",
3936
+ "primaryKey": false,
3937
+ "notNull": false
3938
+ },
3939
+ "completed_at": {
3940
+ "name": "completed_at",
3941
+ "type": "timestamp with time zone",
3942
+ "primaryKey": false,
3943
+ "notNull": false
3944
+ },
3945
+ "result": {
3946
+ "name": "result",
3947
+ "type": "text",
3948
+ "primaryKey": false,
3949
+ "notNull": false
3950
+ },
3951
+ "created_at": {
3952
+ "name": "created_at",
3953
+ "type": "timestamp with time zone",
3954
+ "primaryKey": false,
3955
+ "notNull": true,
3956
+ "default": "now()"
3957
+ }
3958
+ },
3959
+ "indexes": {
3960
+ "tasks_project_idx": {
3961
+ "name": "tasks_project_idx",
3962
+ "columns": [
3963
+ {
3964
+ "expression": "project_id",
3965
+ "isExpression": false,
3966
+ "asc": true,
3967
+ "nulls": "last"
3968
+ },
3969
+ {
3970
+ "expression": "status",
3971
+ "isExpression": false,
3972
+ "asc": true,
3973
+ "nulls": "last"
3974
+ }
3975
+ ],
3976
+ "isUnique": false,
3977
+ "concurrently": false,
3978
+ "method": "btree",
3979
+ "with": {}
3980
+ }
3981
+ },
3982
+ "foreignKeys": {
3983
+ "tasks_project_id_projects_id_fk": {
3984
+ "name": "tasks_project_id_projects_id_fk",
3985
+ "tableFrom": "tasks",
3986
+ "tableTo": "projects",
3987
+ "columnsFrom": [
3988
+ "project_id"
3989
+ ],
3990
+ "columnsTo": [
3991
+ "id"
3992
+ ],
3993
+ "onDelete": "cascade",
3994
+ "onUpdate": "no action"
3995
+ },
3996
+ "tasks_assigned_agent_id_agents_id_fk": {
3997
+ "name": "tasks_assigned_agent_id_agents_id_fk",
3998
+ "tableFrom": "tasks",
3999
+ "tableTo": "agents",
4000
+ "columnsFrom": [
4001
+ "assigned_agent_id"
4002
+ ],
4003
+ "columnsTo": [
4004
+ "id"
4005
+ ],
4006
+ "onDelete": "set null",
4007
+ "onUpdate": "no action"
4008
+ }
4009
+ },
4010
+ "compositePrimaryKeys": {},
4011
+ "uniqueConstraints": {},
4012
+ "policies": {},
4013
+ "checkConstraints": {},
4014
+ "isRLSEnabled": false
4015
+ },
4016
+ "public.technologies": {
4017
+ "name": "technologies",
4018
+ "schema": "",
4019
+ "columns": {
4020
+ "id": {
4021
+ "name": "id",
4022
+ "type": "text",
4023
+ "primaryKey": true,
4024
+ "notNull": true
4025
+ },
4026
+ "name": {
4027
+ "name": "name",
4028
+ "type": "text",
4029
+ "primaryKey": false,
4030
+ "notNull": true
4031
+ },
4032
+ "kind": {
4033
+ "name": "kind",
4034
+ "type": "text",
4035
+ "primaryKey": false,
4036
+ "notNull": true
4037
+ },
4038
+ "icon_slug": {
4039
+ "name": "icon_slug",
4040
+ "type": "text",
4041
+ "primaryKey": false,
4042
+ "notNull": false
4043
+ }
4044
+ },
4045
+ "indexes": {},
4046
+ "foreignKeys": {},
4047
+ "compositePrimaryKeys": {},
4048
+ "uniqueConstraints": {},
4049
+ "policies": {},
4050
+ "checkConstraints": {},
4051
+ "isRLSEnabled": false
4052
+ },
4053
+ "public.verdicts": {
4054
+ "name": "verdicts",
4055
+ "schema": "",
4056
+ "columns": {
4057
+ "id": {
4058
+ "name": "id",
4059
+ "type": "text",
4060
+ "primaryKey": true,
4061
+ "notNull": true
4062
+ },
4063
+ "identity": {
4064
+ "name": "identity",
4065
+ "type": "text",
4066
+ "primaryKey": false,
4067
+ "notNull": true
4068
+ },
4069
+ "source": {
4070
+ "name": "source",
4071
+ "type": "text",
4072
+ "primaryKey": false,
4073
+ "notNull": true
4074
+ },
4075
+ "session_id": {
4076
+ "name": "session_id",
4077
+ "type": "text",
4078
+ "primaryKey": false,
4079
+ "notNull": true
4080
+ },
4081
+ "at": {
4082
+ "name": "at",
4083
+ "type": "timestamp with time zone",
4084
+ "primaryKey": false,
4085
+ "notNull": true
4086
+ },
4087
+ "category": {
4088
+ "name": "category",
4089
+ "type": "text",
4090
+ "primaryKey": false,
4091
+ "notNull": false
4092
+ },
4093
+ "quote": {
4094
+ "name": "quote",
4095
+ "type": "text",
4096
+ "primaryKey": false,
4097
+ "notNull": true
4098
+ },
4099
+ "context": {
4100
+ "name": "context",
4101
+ "type": "text",
4102
+ "primaryKey": false,
4103
+ "notNull": false
4104
+ },
4105
+ "signals": {
4106
+ "name": "signals",
4107
+ "type": "jsonb",
4108
+ "primaryKey": false,
4109
+ "notNull": true
4110
+ },
4111
+ "accepted": {
4112
+ "name": "accepted",
4113
+ "type": "boolean",
4114
+ "primaryKey": false,
4115
+ "notNull": false
4116
+ },
4117
+ "distilled_at": {
4118
+ "name": "distilled_at",
4119
+ "type": "timestamp with time zone",
4120
+ "primaryKey": false,
4121
+ "notNull": false
4122
+ },
4123
+ "created_at": {
4124
+ "name": "created_at",
4125
+ "type": "timestamp with time zone",
4126
+ "primaryKey": false,
4127
+ "notNull": true,
4128
+ "default": "now()"
4129
+ }
4130
+ },
4131
+ "indexes": {
4132
+ "verdicts_identity_idx": {
4133
+ "name": "verdicts_identity_idx",
4134
+ "columns": [
4135
+ {
4136
+ "expression": "identity",
4137
+ "isExpression": false,
4138
+ "asc": true,
4139
+ "nulls": "last"
4140
+ },
4141
+ {
4142
+ "expression": "created_at",
4143
+ "isExpression": false,
4144
+ "asc": true,
4145
+ "nulls": "last"
4146
+ }
4147
+ ],
4148
+ "isUnique": false,
4149
+ "concurrently": false,
4150
+ "method": "btree",
4151
+ "with": {}
4152
+ },
4153
+ "verdicts_accepted_idx": {
4154
+ "name": "verdicts_accepted_idx",
4155
+ "columns": [
4156
+ {
4157
+ "expression": "accepted",
4158
+ "isExpression": false,
4159
+ "asc": true,
4160
+ "nulls": "last"
4161
+ }
4162
+ ],
4163
+ "isUnique": false,
4164
+ "concurrently": false,
4165
+ "method": "btree",
4166
+ "with": {}
4167
+ }
4168
+ },
4169
+ "foreignKeys": {},
4170
+ "compositePrimaryKeys": {},
4171
+ "uniqueConstraints": {},
4172
+ "policies": {},
4173
+ "checkConstraints": {},
4174
+ "isRLSEnabled": false
4175
+ },
4176
+ "public.vulnerabilities": {
4177
+ "name": "vulnerabilities",
4178
+ "schema": "",
4179
+ "columns": {
4180
+ "package_id": {
4181
+ "name": "package_id",
4182
+ "type": "text",
4183
+ "primaryKey": false,
4184
+ "notNull": true
4185
+ },
4186
+ "version": {
4187
+ "name": "version",
4188
+ "type": "text",
4189
+ "primaryKey": false,
4190
+ "notNull": true
4191
+ },
4192
+ "advisory_id": {
4193
+ "name": "advisory_id",
4194
+ "type": "text",
4195
+ "primaryKey": false,
4196
+ "notNull": true
4197
+ }
4198
+ },
4199
+ "indexes": {
4200
+ "vulnerabilities_package_idx": {
4201
+ "name": "vulnerabilities_package_idx",
4202
+ "columns": [
4203
+ {
4204
+ "expression": "package_id",
4205
+ "isExpression": false,
4206
+ "asc": true,
4207
+ "nulls": "last"
4208
+ },
4209
+ {
4210
+ "expression": "version",
4211
+ "isExpression": false,
4212
+ "asc": true,
4213
+ "nulls": "last"
4214
+ }
4215
+ ],
4216
+ "isUnique": false,
4217
+ "concurrently": false,
4218
+ "method": "btree",
4219
+ "with": {}
4220
+ }
4221
+ },
4222
+ "foreignKeys": {
4223
+ "vulnerabilities_package_id_packages_id_fk": {
4224
+ "name": "vulnerabilities_package_id_packages_id_fk",
4225
+ "tableFrom": "vulnerabilities",
4226
+ "tableTo": "packages",
4227
+ "columnsFrom": [
4228
+ "package_id"
4229
+ ],
4230
+ "columnsTo": [
4231
+ "id"
4232
+ ],
4233
+ "onDelete": "cascade",
4234
+ "onUpdate": "no action"
4235
+ },
4236
+ "vulnerabilities_advisory_id_advisories_id_fk": {
4237
+ "name": "vulnerabilities_advisory_id_advisories_id_fk",
4238
+ "tableFrom": "vulnerabilities",
4239
+ "tableTo": "advisories",
4240
+ "columnsFrom": [
4241
+ "advisory_id"
4242
+ ],
4243
+ "columnsTo": [
4244
+ "id"
4245
+ ],
4246
+ "onDelete": "cascade",
4247
+ "onUpdate": "no action"
4248
+ }
4249
+ },
4250
+ "compositePrimaryKeys": {
4251
+ "vulnerabilities_package_id_version_advisory_id_pk": {
4252
+ "name": "vulnerabilities_package_id_version_advisory_id_pk",
4253
+ "columns": [
4254
+ "package_id",
4255
+ "version",
4256
+ "advisory_id"
4257
+ ]
4258
+ }
4259
+ },
4260
+ "uniqueConstraints": {},
4261
+ "policies": {},
4262
+ "checkConstraints": {},
4263
+ "isRLSEnabled": false
4264
+ }
4265
+ },
4266
+ "enums": {},
4267
+ "schemas": {},
4268
+ "sequences": {},
4269
+ "roles": {},
4270
+ "policies": {},
4271
+ "views": {},
4272
+ "_meta": {
4273
+ "columns": {},
4274
+ "schemas": {},
4275
+ "tables": {}
4276
+ }
4277
+ }