@indx-workspace/embedded 0.0.0-bootstrap → 0.3.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 (619) hide show
  1. package/CHANGELOG.md +72 -0
  2. package/LICENSE +202 -0
  3. package/README.md +309 -0
  4. package/dist/bin.js +73 -0
  5. package/dist/launch.js +28617 -0
  6. package/dist/migrations/0000_init.sql +119 -0
  7. package/dist/migrations/0001_w2_resources.sql +177 -0
  8. package/dist/migrations/0002_w3_runtime_profiles.sql +34 -0
  9. package/dist/migrations/0003_steep_galactus.sql +91 -0
  10. package/dist/migrations/0004_overconfident_lake.sql +16 -0
  11. package/dist/migrations/0005_durable_sessions_run_tokens.sql +46 -0
  12. package/dist/migrations/0006_familiar_karnak.sql +2 -0
  13. package/dist/migrations/0007_fast_hannibal_king.sql +1 -0
  14. package/dist/migrations/0008_damp_nemesis.sql +31 -0
  15. package/dist/migrations/0009_special_thena.sql +2 -0
  16. package/dist/migrations/0010_little_power_pack.sql +66 -0
  17. package/dist/migrations/0011_goofy_storm.sql +14 -0
  18. package/dist/migrations/0012_legal_shatterstar.sql +14 -0
  19. package/dist/migrations/0013_secret_namora.sql +9 -0
  20. package/dist/migrations/0014_premium_vengeance.sql +16 -0
  21. package/dist/migrations/0015_amazing_screwball.sql +1 -0
  22. package/dist/migrations/0016_next_satana.sql +29 -0
  23. package/dist/migrations/0017_wild_the_executioner.sql +1 -0
  24. package/dist/migrations/0018_heavy_stone_men.sql +2 -0
  25. package/dist/migrations/0019_repair_legacy_run_accounting.sql +20 -0
  26. package/dist/migrations/0020_sparkling_nova.sql +340 -0
  27. package/dist/migrations/0021_slippery_sister_grimm.sql +1 -0
  28. package/dist/migrations/0022_warm_paibok.sql +26 -0
  29. package/dist/migrations/0023_colorful_shotgun.sql +2 -0
  30. package/dist/migrations/0024_curly_molten_man.sql +9 -0
  31. package/dist/migrations/0025_name_the_engine_in_stored_rows.sql +50 -0
  32. package/dist/migrations/0026_create_the_engine_scoped_session_state_store.sql +47 -0
  33. package/dist/migrations/0027_backfill_claude_session_state.sql +66 -0
  34. package/dist/migrations/0028_widen_the_engine_checks_to_openai_agents.sql +14 -0
  35. package/dist/migrations/0029_widen_the_engine_checks_to_pi.sql +14 -0
  36. package/dist/migrations/0030_create_the_cli_sessions_table.sql +23 -0
  37. package/dist/migrations/0031_widen_the_engine_checks_to_mastra.sql +17 -0
  38. package/dist/migrations/0032_mark_the_setup_agent.sql +7 -0
  39. package/dist/migrations/0033_create_the_agent_version_store.sql +41 -0
  40. package/dist/migrations/0034_mark_the_workspace_default_runtime_profile.sql +15 -0
  41. package/dist/migrations/0035_record_who_a_local_runtime_key_acts_for.sql +19 -0
  42. package/dist/migrations/0036_add_connector_kinds_and_the_run_tool_snapshot.sql +34 -0
  43. package/dist/migrations/0037_create_the_surface_session_keys.sql +20 -0
  44. package/dist/migrations/0038_record_feedback_on_a_run.sql +14 -0
  45. package/dist/migrations/0039_record_an_evaluation_of_a_version.sql +18 -0
  46. package/dist/migrations/0040_record_the_materialised_version.sql +23 -0
  47. package/dist/migrations/0041_pin_a_session_to_its_agent_version.sql +4 -0
  48. package/dist/migrations/0042_store_the_prompt_of_a_run.sql +1 -0
  49. package/dist/migrations/0043_record_every_pointer_move.sql +30 -0
  50. package/dist/migrations/meta/0000_snapshot.json +964 -0
  51. package/dist/migrations/meta/0001_snapshot.json +2278 -0
  52. package/dist/migrations/meta/0002_snapshot.json +2550 -0
  53. package/dist/migrations/meta/0003_snapshot.json +3295 -0
  54. package/dist/migrations/meta/0004_snapshot.json +3452 -0
  55. package/dist/migrations/meta/0005_snapshot.json +3921 -0
  56. package/dist/migrations/meta/0006_snapshot.json +3949 -0
  57. package/dist/migrations/meta/0007_snapshot.json +3956 -0
  58. package/dist/migrations/meta/0008_snapshot.json +4177 -0
  59. package/dist/migrations/meta/0009_snapshot.json +4177 -0
  60. package/dist/migrations/meta/0010_snapshot.json +3988 -0
  61. package/dist/migrations/meta/0011_snapshot.json +4491 -0
  62. package/dist/migrations/meta/0012_snapshot.json +4629 -0
  63. package/dist/migrations/meta/0013_snapshot.json +4646 -0
  64. package/dist/migrations/meta/0014_snapshot.json +4313 -0
  65. package/dist/migrations/meta/0015_snapshot.json +4775 -0
  66. package/dist/migrations/meta/0016_snapshot.json +4976 -0
  67. package/dist/migrations/meta/0017_snapshot.json +4982 -0
  68. package/dist/migrations/meta/0018_snapshot.json +4982 -0
  69. package/dist/migrations/meta/0019_snapshot.json +4990 -0
  70. package/dist/migrations/meta/0020_snapshot.json +5469 -0
  71. package/dist/migrations/meta/0021_snapshot.json +5475 -0
  72. package/dist/migrations/meta/0022_snapshot.json +5711 -0
  73. package/dist/migrations/meta/0023_snapshot.json +5722 -0
  74. package/dist/migrations/meta/0024_snapshot.json +5748 -0
  75. package/dist/migrations/meta/0025_snapshot.json +5748 -0
  76. package/dist/migrations/meta/0026_snapshot.json +6151 -0
  77. package/dist/migrations/meta/0027_snapshot.json +6151 -0
  78. package/dist/migrations/meta/0028_snapshot.json +6151 -0
  79. package/dist/migrations/meta/0029_snapshot.json +6151 -0
  80. package/dist/migrations/meta/0030_snapshot.json +6328 -0
  81. package/dist/migrations/meta/0031_snapshot.json +6328 -0
  82. package/dist/migrations/meta/0032_snapshot.json +6334 -0
  83. package/dist/migrations/meta/0033_snapshot.json +6615 -0
  84. package/dist/migrations/meta/0034_snapshot.json +6633 -0
  85. package/dist/migrations/meta/0035_snapshot.json +6662 -0
  86. package/dist/migrations/meta/0036_snapshot.json +6706 -0
  87. package/dist/migrations/meta/0037_snapshot.json +6816 -0
  88. package/dist/migrations/meta/0038_snapshot.json +6927 -0
  89. package/dist/migrations/meta/0039_snapshot.json +7073 -0
  90. package/dist/migrations/meta/0040_snapshot.json +7096 -0
  91. package/dist/migrations/meta/0041_snapshot.json +7119 -0
  92. package/dist/migrations/meta/0042_snapshot.json +7125 -0
  93. package/dist/migrations/meta/0043_snapshot.json +7292 -0
  94. package/dist/migrations/meta/_journal.json +314 -0
  95. package/dist/web/.next-embedded/BUILD_ID +1 -0
  96. package/dist/web/.next-embedded/app-path-routes-manifest.json +108 -0
  97. package/dist/web/.next-embedded/build-manifest.json +20 -0
  98. package/dist/web/.next-embedded/diagnostics/build-diagnostics.json +6 -0
  99. package/dist/web/.next-embedded/diagnostics/framework.json +1 -0
  100. package/dist/web/.next-embedded/export-marker.json +6 -0
  101. package/dist/web/.next-embedded/images-manifest.json +68 -0
  102. package/dist/web/.next-embedded/package.json +1 -0
  103. package/dist/web/.next-embedded/prerender-manifest.json +97 -0
  104. package/dist/web/.next-embedded/react-loadable-manifest.json +1 -0
  105. package/dist/web/.next-embedded/required-server-files.js +355 -0
  106. package/dist/web/.next-embedded/required-server-files.json +355 -0
  107. package/dist/web/.next-embedded/routes-manifest.json +786 -0
  108. package/dist/web/.next-embedded/server/app/(shell)/admin/api-keys/page.js +1 -0
  109. package/dist/web/.next-embedded/server/app/(shell)/admin/api-keys/page_client-reference-manifest.js +1 -0
  110. package/dist/web/.next-embedded/server/app/(shell)/admin/models/new/page.js +1 -0
  111. package/dist/web/.next-embedded/server/app/(shell)/admin/models/new/page_client-reference-manifest.js +1 -0
  112. package/dist/web/.next-embedded/server/app/(shell)/admin/models/page.js +1 -0
  113. package/dist/web/.next-embedded/server/app/(shell)/admin/models/page_client-reference-manifest.js +1 -0
  114. package/dist/web/.next-embedded/server/app/(shell)/admin/runtimes/page.js +1 -0
  115. package/dist/web/.next-embedded/server/app/(shell)/admin/runtimes/page_client-reference-manifest.js +1 -0
  116. package/dist/web/.next-embedded/server/app/(shell)/admin/settings/page.js +1 -0
  117. package/dist/web/.next-embedded/server/app/(shell)/admin/settings/page_client-reference-manifest.js +1 -0
  118. package/dist/web/.next-embedded/server/app/(shell)/admin/shares/page.js +1 -0
  119. package/dist/web/.next-embedded/server/app/(shell)/admin/shares/page_client-reference-manifest.js +1 -0
  120. package/dist/web/.next-embedded/server/app/(shell)/admin/users/page.js +1 -0
  121. package/dist/web/.next-embedded/server/app/(shell)/admin/users/page_client-reference-manifest.js +1 -0
  122. package/dist/web/.next-embedded/server/app/(shell)/agents/[id]/page.js +1 -0
  123. package/dist/web/.next-embedded/server/app/(shell)/agents/[id]/page_client-reference-manifest.js +1 -0
  124. package/dist/web/.next-embedded/server/app/(shell)/agents/new/page.js +1 -0
  125. package/dist/web/.next-embedded/server/app/(shell)/agents/new/page_client-reference-manifest.js +1 -0
  126. package/dist/web/.next-embedded/server/app/(shell)/agents/page.js +1 -0
  127. package/dist/web/.next-embedded/server/app/(shell)/agents/page_client-reference-manifest.js +1 -0
  128. package/dist/web/.next-embedded/server/app/(shell)/connectors/new/page.js +1 -0
  129. package/dist/web/.next-embedded/server/app/(shell)/connectors/new/page_client-reference-manifest.js +1 -0
  130. package/dist/web/.next-embedded/server/app/(shell)/connectors/page.js +1 -0
  131. package/dist/web/.next-embedded/server/app/(shell)/connectors/page_client-reference-manifest.js +1 -0
  132. package/dist/web/.next-embedded/server/app/(shell)/files/page.js +1 -0
  133. package/dist/web/.next-embedded/server/app/(shell)/files/page_client-reference-manifest.js +1 -0
  134. package/dist/web/.next-embedded/server/app/(shell)/page.js +1 -0
  135. package/dist/web/.next-embedded/server/app/(shell)/page_client-reference-manifest.js +1 -0
  136. package/dist/web/.next-embedded/server/app/(shell)/projects/[id]/page.js +1 -0
  137. package/dist/web/.next-embedded/server/app/(shell)/projects/[id]/page_client-reference-manifest.js +1 -0
  138. package/dist/web/.next-embedded/server/app/(shell)/projects/page.js +1 -0
  139. package/dist/web/.next-embedded/server/app/(shell)/projects/page_client-reference-manifest.js +1 -0
  140. package/dist/web/.next-embedded/server/app/(shell)/runs/page.js +1 -0
  141. package/dist/web/.next-embedded/server/app/(shell)/runs/page_client-reference-manifest.js +1 -0
  142. package/dist/web/.next-embedded/server/app/(shell)/skills/[name]/page.js +1 -0
  143. package/dist/web/.next-embedded/server/app/(shell)/skills/[name]/page_client-reference-manifest.js +1 -0
  144. package/dist/web/.next-embedded/server/app/(shell)/skills/page.js +1 -0
  145. package/dist/web/.next-embedded/server/app/(shell)/skills/page_client-reference-manifest.js +1 -0
  146. package/dist/web/.next-embedded/server/app/(shell)/workspaces/page.js +1 -0
  147. package/dist/web/.next-embedded/server/app/(shell)/workspaces/page_client-reference-manifest.js +1 -0
  148. package/dist/web/.next-embedded/server/app/_global-error/page.js +31 -0
  149. package/dist/web/.next-embedded/server/app/_global-error/page_client-reference-manifest.js +1 -0
  150. package/dist/web/.next-embedded/server/app/_global-error.html +1 -0
  151. package/dist/web/.next-embedded/server/app/_global-error.meta +27 -0
  152. package/dist/web/.next-embedded/server/app/_global-error.rsc +14 -0
  153. package/dist/web/.next-embedded/server/app/_global-error.segments/_full.segment.rsc +14 -0
  154. package/dist/web/.next-embedded/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +20 -0
  155. package/dist/web/.next-embedded/server/app/_global-error.segments/_tree.segment.rsc +1 -0
  156. package/dist/web/.next-embedded/server/app/_not-found/page.js +1 -0
  157. package/dist/web/.next-embedded/server/app/_not-found/page_client-reference-manifest.js +1 -0
  158. package/dist/web/.next-embedded/server/app/_not-found.html +1 -0
  159. package/dist/web/.next-embedded/server/app/_not-found.meta +27 -0
  160. package/dist/web/.next-embedded/server/app/_not-found.rsc +15 -0
  161. package/dist/web/.next-embedded/server/app/_not-found.segments/_full.segment.rsc +15 -0
  162. package/dist/web/.next-embedded/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +21 -0
  163. package/dist/web/.next-embedded/server/app/_not-found.segments/_tree.segment.rsc +2 -0
  164. package/dist/web/.next-embedded/server/app/api/agents/[id]/evaluations/route.js +1 -0
  165. package/dist/web/.next-embedded/server/app/api/agents/[id]/evaluations/route_client-reference-manifest.js +1 -0
  166. package/dist/web/.next-embedded/server/app/api/agents/[id]/feedback/route.js +1 -0
  167. package/dist/web/.next-embedded/server/app/api/agents/[id]/feedback/route_client-reference-manifest.js +1 -0
  168. package/dist/web/.next-embedded/server/app/api/agents/[id]/grants/route.js +1 -0
  169. package/dist/web/.next-embedded/server/app/api/agents/[id]/grants/route_client-reference-manifest.js +1 -0
  170. package/dist/web/.next-embedded/server/app/api/agents/[id]/pointers/route.js +1 -0
  171. package/dist/web/.next-embedded/server/app/api/agents/[id]/pointers/route_client-reference-manifest.js +1 -0
  172. package/dist/web/.next-embedded/server/app/api/agents/[id]/policy/route.js +1 -0
  173. package/dist/web/.next-embedded/server/app/api/agents/[id]/policy/route_client-reference-manifest.js +1 -0
  174. package/dist/web/.next-embedded/server/app/api/agents/[id]/promote/route.js +1 -0
  175. package/dist/web/.next-embedded/server/app/api/agents/[id]/promote/route_client-reference-manifest.js +1 -0
  176. package/dist/web/.next-embedded/server/app/api/agents/[id]/resources/route.js +1 -0
  177. package/dist/web/.next-embedded/server/app/api/agents/[id]/resources/route_client-reference-manifest.js +1 -0
  178. package/dist/web/.next-embedded/server/app/api/agents/[id]/rollback/route.js +1 -0
  179. package/dist/web/.next-embedded/server/app/api/agents/[id]/rollback/route_client-reference-manifest.js +1 -0
  180. package/dist/web/.next-embedded/server/app/api/agents/[id]/route.js +1 -0
  181. package/dist/web/.next-embedded/server/app/api/agents/[id]/route_client-reference-manifest.js +1 -0
  182. package/dist/web/.next-embedded/server/app/api/agents/[id]/runs/route.js +1 -0
  183. package/dist/web/.next-embedded/server/app/api/agents/[id]/runs/route_client-reference-manifest.js +1 -0
  184. package/dist/web/.next-embedded/server/app/api/agents/[id]/versions/route.js +1 -0
  185. package/dist/web/.next-embedded/server/app/api/agents/[id]/versions/route_client-reference-manifest.js +1 -0
  186. package/dist/web/.next-embedded/server/app/api/agents/route.js +1 -0
  187. package/dist/web/.next-embedded/server/app/api/agents/route_client-reference-manifest.js +1 -0
  188. package/dist/web/.next-embedded/server/app/api/api-keys/[id]/route.js +1 -0
  189. package/dist/web/.next-embedded/server/app/api/api-keys/[id]/route_client-reference-manifest.js +1 -0
  190. package/dist/web/.next-embedded/server/app/api/api-keys/route.js +1 -0
  191. package/dist/web/.next-embedded/server/app/api/api-keys/route_client-reference-manifest.js +1 -0
  192. package/dist/web/.next-embedded/server/app/api/audit-events/route.js +1 -0
  193. package/dist/web/.next-embedded/server/app/api/audit-events/route_client-reference-manifest.js +1 -0
  194. package/dist/web/.next-embedded/server/app/api/auth/callback/route.js +1 -0
  195. package/dist/web/.next-embedded/server/app/api/auth/callback/route_client-reference-manifest.js +1 -0
  196. package/dist/web/.next-embedded/server/app/api/auth/cli-device/route.js +1 -0
  197. package/dist/web/.next-embedded/server/app/api/auth/cli-device/route_client-reference-manifest.js +1 -0
  198. package/dist/web/.next-embedded/server/app/api/auth/cli-token/route.js +1 -0
  199. package/dist/web/.next-embedded/server/app/api/auth/cli-token/route_client-reference-manifest.js +1 -0
  200. package/dist/web/.next-embedded/server/app/api/auth/cli-verify/route.js +1 -0
  201. package/dist/web/.next-embedded/server/app/api/auth/cli-verify/route_client-reference-manifest.js +1 -0
  202. package/dist/web/.next-embedded/server/app/api/auth/cli-workspace/route.js +1 -0
  203. package/dist/web/.next-embedded/server/app/api/auth/cli-workspace/route_client-reference-manifest.js +1 -0
  204. package/dist/web/.next-embedded/server/app/api/auth/login/route.js +1 -0
  205. package/dist/web/.next-embedded/server/app/api/auth/login/route_client-reference-manifest.js +1 -0
  206. package/dist/web/.next-embedded/server/app/api/auth/workspace/route.js +13 -0
  207. package/dist/web/.next-embedded/server/app/api/auth/workspace/route_client-reference-manifest.js +1 -0
  208. package/dist/web/.next-embedded/server/app/api/connectors/[id]/route.js +1 -0
  209. package/dist/web/.next-embedded/server/app/api/connectors/[id]/route_client-reference-manifest.js +1 -0
  210. package/dist/web/.next-embedded/server/app/api/connectors/[id]/test-connection/route.js +1 -0
  211. package/dist/web/.next-embedded/server/app/api/connectors/[id]/test-connection/route_client-reference-manifest.js +1 -0
  212. package/dist/web/.next-embedded/server/app/api/connectors/route.js +1 -0
  213. package/dist/web/.next-embedded/server/app/api/connectors/route_client-reference-manifest.js +1 -0
  214. package/dist/web/.next-embedded/server/app/api/engines/route.js +1 -0
  215. package/dist/web/.next-embedded/server/app/api/engines/route_client-reference-manifest.js +1 -0
  216. package/dist/web/.next-embedded/server/app/api/files/[id]/route.js +1 -0
  217. package/dist/web/.next-embedded/server/app/api/files/[id]/route_client-reference-manifest.js +1 -0
  218. package/dist/web/.next-embedded/server/app/api/files/route.js +1 -0
  219. package/dist/web/.next-embedded/server/app/api/files/route_client-reference-manifest.js +1 -0
  220. package/dist/web/.next-embedded/server/app/api/invitations/[id]/accept/route.js +1 -0
  221. package/dist/web/.next-embedded/server/app/api/invitations/[id]/accept/route_client-reference-manifest.js +1 -0
  222. package/dist/web/.next-embedded/server/app/api/invitations/[id]/resend/route.js +1 -0
  223. package/dist/web/.next-embedded/server/app/api/invitations/[id]/resend/route_client-reference-manifest.js +1 -0
  224. package/dist/web/.next-embedded/server/app/api/invitations/[id]/route.js +1 -0
  225. package/dist/web/.next-embedded/server/app/api/invitations/[id]/route_client-reference-manifest.js +1 -0
  226. package/dist/web/.next-embedded/server/app/api/invitations/route.js +1 -0
  227. package/dist/web/.next-embedded/server/app/api/invitations/route_client-reference-manifest.js +1 -0
  228. package/dist/web/.next-embedded/server/app/api/me/route.js +1 -0
  229. package/dist/web/.next-embedded/server/app/api/me/route_client-reference-manifest.js +1 -0
  230. package/dist/web/.next-embedded/server/app/api/memberships/[id]/route.js +1 -0
  231. package/dist/web/.next-embedded/server/app/api/memberships/[id]/route_client-reference-manifest.js +1 -0
  232. package/dist/web/.next-embedded/server/app/api/memberships/route.js +1 -0
  233. package/dist/web/.next-embedded/server/app/api/memberships/route_client-reference-manifest.js +1 -0
  234. package/dist/web/.next-embedded/server/app/api/metrics/route.js +1 -0
  235. package/dist/web/.next-embedded/server/app/api/metrics/route_client-reference-manifest.js +1 -0
  236. package/dist/web/.next-embedded/server/app/api/model-connections/[id]/credential/route.js +1 -0
  237. package/dist/web/.next-embedded/server/app/api/model-connections/[id]/credential/route_client-reference-manifest.js +1 -0
  238. package/dist/web/.next-embedded/server/app/api/model-connections/[id]/route.js +1 -0
  239. package/dist/web/.next-embedded/server/app/api/model-connections/[id]/route_client-reference-manifest.js +1 -0
  240. package/dist/web/.next-embedded/server/app/api/model-connections/[id]/test/route.js +1 -0
  241. package/dist/web/.next-embedded/server/app/api/model-connections/[id]/test/route_client-reference-manifest.js +1 -0
  242. package/dist/web/.next-embedded/server/app/api/model-connections/route.js +1 -0
  243. package/dist/web/.next-embedded/server/app/api/model-connections/route_client-reference-manifest.js +1 -0
  244. package/dist/web/.next-embedded/server/app/api/models/route.js +1 -0
  245. package/dist/web/.next-embedded/server/app/api/models/route_client-reference-manifest.js +1 -0
  246. package/dist/web/.next-embedded/server/app/api/projects/[id]/archive/route.js +1 -0
  247. package/dist/web/.next-embedded/server/app/api/projects/[id]/archive/route_client-reference-manifest.js +1 -0
  248. package/dist/web/.next-embedded/server/app/api/projects/[id]/restore/route.js +1 -0
  249. package/dist/web/.next-embedded/server/app/api/projects/[id]/restore/route_client-reference-manifest.js +1 -0
  250. package/dist/web/.next-embedded/server/app/api/projects/[id]/route.js +1 -0
  251. package/dist/web/.next-embedded/server/app/api/projects/[id]/route_client-reference-manifest.js +1 -0
  252. package/dist/web/.next-embedded/server/app/api/projects/[id]/sessions/route.js +1 -0
  253. package/dist/web/.next-embedded/server/app/api/projects/[id]/sessions/route_client-reference-manifest.js +1 -0
  254. package/dist/web/.next-embedded/server/app/api/projects/route.js +1 -0
  255. package/dist/web/.next-embedded/server/app/api/projects/route_client-reference-manifest.js +1 -0
  256. package/dist/web/.next-embedded/server/app/api/runs/[id]/events/route.js +1 -0
  257. package/dist/web/.next-embedded/server/app/api/runs/[id]/events/route_client-reference-manifest.js +1 -0
  258. package/dist/web/.next-embedded/server/app/api/runs/[id]/feedback/route.js +1 -0
  259. package/dist/web/.next-embedded/server/app/api/runs/[id]/feedback/route_client-reference-manifest.js +1 -0
  260. package/dist/web/.next-embedded/server/app/api/runs/[id]/interrupt/route.js +1 -0
  261. package/dist/web/.next-embedded/server/app/api/runs/[id]/interrupt/route_client-reference-manifest.js +1 -0
  262. package/dist/web/.next-embedded/server/app/api/runs/[id]/revoke-tokens/route.js +1 -0
  263. package/dist/web/.next-embedded/server/app/api/runs/[id]/revoke-tokens/route_client-reference-manifest.js +1 -0
  264. package/dist/web/.next-embedded/server/app/api/runs/[id]/route.js +1 -0
  265. package/dist/web/.next-embedded/server/app/api/runs/[id]/route_client-reference-manifest.js +1 -0
  266. package/dist/web/.next-embedded/server/app/api/runs/route.js +1 -0
  267. package/dist/web/.next-embedded/server/app/api/runs/route_client-reference-manifest.js +1 -0
  268. package/dist/web/.next-embedded/server/app/api/runtime-connections/route.js +1 -0
  269. package/dist/web/.next-embedded/server/app/api/runtime-connections/route_client-reference-manifest.js +1 -0
  270. package/dist/web/.next-embedded/server/app/api/runtime-profiles/[id]/route.js +1 -0
  271. package/dist/web/.next-embedded/server/app/api/runtime-profiles/[id]/route_client-reference-manifest.js +1 -0
  272. package/dist/web/.next-embedded/server/app/api/runtime-profiles/route.js +1 -0
  273. package/dist/web/.next-embedded/server/app/api/runtime-profiles/route_client-reference-manifest.js +1 -0
  274. package/dist/web/.next-embedded/server/app/api/runtimes/[id]/route.js +1 -0
  275. package/dist/web/.next-embedded/server/app/api/runtimes/[id]/route_client-reference-manifest.js +1 -0
  276. package/dist/web/.next-embedded/server/app/api/secrets/[id]/route.js +1 -0
  277. package/dist/web/.next-embedded/server/app/api/secrets/[id]/route_client-reference-manifest.js +1 -0
  278. package/dist/web/.next-embedded/server/app/api/secrets/route.js +1 -0
  279. package/dist/web/.next-embedded/server/app/api/secrets/route_client-reference-manifest.js +1 -0
  280. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/route.js +1 -0
  281. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/route_client-reference-manifest.js +1 -0
  282. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/state-blobs/route.js +1 -0
  283. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/state-blobs/route_client-reference-manifest.js +1 -0
  284. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/state-entries/route.js +1 -0
  285. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/state-entries/route_client-reference-manifest.js +1 -0
  286. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/state-streams/route.js +1 -0
  287. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/state-streams/route_client-reference-manifest.js +1 -0
  288. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/subkeys/route.js +1 -0
  289. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/subkeys/route_client-reference-manifest.js +1 -0
  290. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/transcript/route.js +1 -0
  291. package/dist/web/.next-embedded/server/app/api/sessions/[engineSessionId]/transcript/route_client-reference-manifest.js +1 -0
  292. package/dist/web/.next-embedded/server/app/api/sessions/route.js +1 -0
  293. package/dist/web/.next-embedded/server/app/api/sessions/route_client-reference-manifest.js +1 -0
  294. package/dist/web/.next-embedded/server/app/api/setup/route.js +1 -0
  295. package/dist/web/.next-embedded/server/app/api/setup/route_client-reference-manifest.js +1 -0
  296. package/dist/web/.next-embedded/server/app/api/setup/runtime-detect/route.js +1 -0
  297. package/dist/web/.next-embedded/server/app/api/setup/runtime-detect/route_client-reference-manifest.js +1 -0
  298. package/dist/web/.next-embedded/server/app/api/shares/[id]/route.js +1 -0
  299. package/dist/web/.next-embedded/server/app/api/shares/[id]/route_client-reference-manifest.js +1 -0
  300. package/dist/web/.next-embedded/server/app/api/shares/route.js +1 -0
  301. package/dist/web/.next-embedded/server/app/api/shares/route_client-reference-manifest.js +1 -0
  302. package/dist/web/.next-embedded/server/app/api/sharing-policies/route.js +1 -0
  303. package/dist/web/.next-embedded/server/app/api/sharing-policies/route_client-reference-manifest.js +1 -0
  304. package/dist/web/.next-embedded/server/app/api/skills/[name]/route.js +1 -0
  305. package/dist/web/.next-embedded/server/app/api/skills/[name]/route_client-reference-manifest.js +1 -0
  306. package/dist/web/.next-embedded/server/app/api/skills/route.js +1 -0
  307. package/dist/web/.next-embedded/server/app/api/skills/route_client-reference-manifest.js +1 -0
  308. package/dist/web/.next-embedded/server/app/api/tokens/route.js +1 -0
  309. package/dist/web/.next-embedded/server/app/api/tokens/route_client-reference-manifest.js +1 -0
  310. package/dist/web/.next-embedded/server/app/api/users/route.js +1 -0
  311. package/dist/web/.next-embedded/server/app/api/users/route_client-reference-manifest.js +1 -0
  312. package/dist/web/.next-embedded/server/app/api/workspaces/[id]/route.js +1 -0
  313. package/dist/web/.next-embedded/server/app/api/workspaces/[id]/route_client-reference-manifest.js +1 -0
  314. package/dist/web/.next-embedded/server/app/api/workspaces/route.js +1 -0
  315. package/dist/web/.next-embedded/server/app/api/workspaces/route_client-reference-manifest.js +1 -0
  316. package/dist/web/.next-embedded/server/app/p/[token]/messages/route.js +1 -0
  317. package/dist/web/.next-embedded/server/app/p/[token]/messages/route_client-reference-manifest.js +1 -0
  318. package/dist/web/.next-embedded/server/app/p/[token]/page.js +1 -0
  319. package/dist/web/.next-embedded/server/app/p/[token]/page_client-reference-manifest.js +1 -0
  320. package/dist/web/.next-embedded/server/app/p/s/[name]/page.js +1 -0
  321. package/dist/web/.next-embedded/server/app/p/s/[name]/page_client-reference-manifest.js +1 -0
  322. package/dist/web/.next-embedded/server/app/p/s/[name]/sessions/route.js +1 -0
  323. package/dist/web/.next-embedded/server/app/p/s/[name]/sessions/route_client-reference-manifest.js +1 -0
  324. package/dist/web/.next-embedded/server/app/p/s/[name]/try/page.js +1 -0
  325. package/dist/web/.next-embedded/server/app/p/s/[name]/try/page_client-reference-manifest.js +1 -0
  326. package/dist/web/.next-embedded/server/app/p/s/[name]/widget.js/route.js +156 -0
  327. package/dist/web/.next-embedded/server/app/p/s/[name]/widget.js/route_client-reference-manifest.js +1 -0
  328. package/dist/web/.next-embedded/server/app/setup/page.js +1 -0
  329. package/dist/web/.next-embedded/server/app/setup/page_client-reference-manifest.js +1 -0
  330. package/dist/web/.next-embedded/server/app/setup.html +1 -0
  331. package/dist/web/.next-embedded/server/app/setup.meta +26 -0
  332. package/dist/web/.next-embedded/server/app/setup.rsc +16 -0
  333. package/dist/web/.next-embedded/server/app/setup.segments/_full.segment.rsc +16 -0
  334. package/dist/web/.next-embedded/server/app/setup.segments/_tree.segment.rsc +2 -0
  335. package/dist/web/.next-embedded/server/app/setup.segments/setup/__PAGE__.segment.rsc +22 -0
  336. package/dist/web/.next-embedded/server/app/signin/page.js +2 -0
  337. package/dist/web/.next-embedded/server/app/signin/page_client-reference-manifest.js +1 -0
  338. package/dist/web/.next-embedded/server/app-paths-manifest.json +108 -0
  339. package/dist/web/.next-embedded/server/chunks/1117.js +1 -0
  340. package/dist/web/.next-embedded/server/chunks/1173.js +1 -0
  341. package/dist/web/.next-embedded/server/chunks/1190.js +1 -0
  342. package/dist/web/.next-embedded/server/chunks/121.js +1 -0
  343. package/dist/web/.next-embedded/server/chunks/1231.js +8 -0
  344. package/dist/web/.next-embedded/server/chunks/1252.js +1 -0
  345. package/dist/web/.next-embedded/server/chunks/1328.js +1 -0
  346. package/dist/web/.next-embedded/server/chunks/1503.js +1 -0
  347. package/dist/web/.next-embedded/server/chunks/1519.js +1 -0
  348. package/dist/web/.next-embedded/server/chunks/1610.js +1 -0
  349. package/dist/web/.next-embedded/server/chunks/1614.js +1 -0
  350. package/dist/web/.next-embedded/server/chunks/1794.js +1 -0
  351. package/dist/web/.next-embedded/server/chunks/1804.js +1 -0
  352. package/dist/web/.next-embedded/server/chunks/1924.js +1 -0
  353. package/dist/web/.next-embedded/server/chunks/1947.js +1 -0
  354. package/dist/web/.next-embedded/server/chunks/1998.js +1 -0
  355. package/dist/web/.next-embedded/server/chunks/2026.js +1 -0
  356. package/dist/web/.next-embedded/server/chunks/2030.js +39 -0
  357. package/dist/web/.next-embedded/server/chunks/2049.js +12 -0
  358. package/dist/web/.next-embedded/server/chunks/2192.js +1 -0
  359. package/dist/web/.next-embedded/server/chunks/2208.js +3 -0
  360. package/dist/web/.next-embedded/server/chunks/2239.js +1 -0
  361. package/dist/web/.next-embedded/server/chunks/2250.js +1 -0
  362. package/dist/web/.next-embedded/server/chunks/2294.js +1 -0
  363. package/dist/web/.next-embedded/server/chunks/2300.js +1 -0
  364. package/dist/web/.next-embedded/server/chunks/235.js +1 -0
  365. package/dist/web/.next-embedded/server/chunks/240.js +2 -0
  366. package/dist/web/.next-embedded/server/chunks/2400.js +1 -0
  367. package/dist/web/.next-embedded/server/chunks/2438.js +2 -0
  368. package/dist/web/.next-embedded/server/chunks/2448.js +1 -0
  369. package/dist/web/.next-embedded/server/chunks/2502.js +1 -0
  370. package/dist/web/.next-embedded/server/chunks/2580.js +1 -0
  371. package/dist/web/.next-embedded/server/chunks/2587.js +1 -0
  372. package/dist/web/.next-embedded/server/chunks/2610.js +1 -0
  373. package/dist/web/.next-embedded/server/chunks/2670.js +1 -0
  374. package/dist/web/.next-embedded/server/chunks/2780.js +165 -0
  375. package/dist/web/.next-embedded/server/chunks/2792.js +1 -0
  376. package/dist/web/.next-embedded/server/chunks/2857.js +1 -0
  377. package/dist/web/.next-embedded/server/chunks/2884.js +1 -0
  378. package/dist/web/.next-embedded/server/chunks/2895.js +19 -0
  379. package/dist/web/.next-embedded/server/chunks/2961.js +1 -0
  380. package/dist/web/.next-embedded/server/chunks/3171.js +1 -0
  381. package/dist/web/.next-embedded/server/chunks/3222.js +2 -0
  382. package/dist/web/.next-embedded/server/chunks/3351.js +1 -0
  383. package/dist/web/.next-embedded/server/chunks/3381.js +1 -0
  384. package/dist/web/.next-embedded/server/chunks/3520.js +8 -0
  385. package/dist/web/.next-embedded/server/chunks/364.js +1 -0
  386. package/dist/web/.next-embedded/server/chunks/411.js +1 -0
  387. package/dist/web/.next-embedded/server/chunks/4119.js +1 -0
  388. package/dist/web/.next-embedded/server/chunks/4128.js +1 -0
  389. package/dist/web/.next-embedded/server/chunks/4191.js +1 -0
  390. package/dist/web/.next-embedded/server/chunks/4200.js +1 -0
  391. package/dist/web/.next-embedded/server/chunks/434.js +1 -0
  392. package/dist/web/.next-embedded/server/chunks/4368.js +1 -0
  393. package/dist/web/.next-embedded/server/chunks/4463.js +1 -0
  394. package/dist/web/.next-embedded/server/chunks/4467.js +1 -0
  395. package/dist/web/.next-embedded/server/chunks/4543.js +8 -0
  396. package/dist/web/.next-embedded/server/chunks/468.js +1 -0
  397. package/dist/web/.next-embedded/server/chunks/4741.js +1 -0
  398. package/dist/web/.next-embedded/server/chunks/4755.js +1 -0
  399. package/dist/web/.next-embedded/server/chunks/4758.js +21 -0
  400. package/dist/web/.next-embedded/server/chunks/4870.js +1 -0
  401. package/dist/web/.next-embedded/server/chunks/4877.js +1 -0
  402. package/dist/web/.next-embedded/server/chunks/4888.js +1 -0
  403. package/dist/web/.next-embedded/server/chunks/491.js +1 -0
  404. package/dist/web/.next-embedded/server/chunks/4911.js +1 -0
  405. package/dist/web/.next-embedded/server/chunks/5036.js +27 -0
  406. package/dist/web/.next-embedded/server/chunks/5052.js +134 -0
  407. package/dist/web/.next-embedded/server/chunks/5057.js +55 -0
  408. package/dist/web/.next-embedded/server/chunks/5126.js +8 -0
  409. package/dist/web/.next-embedded/server/chunks/5133.js +1 -0
  410. package/dist/web/.next-embedded/server/chunks/5173.js +1 -0
  411. package/dist/web/.next-embedded/server/chunks/5225.js +2 -0
  412. package/dist/web/.next-embedded/server/chunks/5277.js +324 -0
  413. package/dist/web/.next-embedded/server/chunks/5398.js +1 -0
  414. package/dist/web/.next-embedded/server/chunks/5568.js +1 -0
  415. package/dist/web/.next-embedded/server/chunks/5576.js +1 -0
  416. package/dist/web/.next-embedded/server/chunks/5634.js +19 -0
  417. package/dist/web/.next-embedded/server/chunks/5645.js +1 -0
  418. package/dist/web/.next-embedded/server/chunks/5684.js +5 -0
  419. package/dist/web/.next-embedded/server/chunks/5699.js +1 -0
  420. package/dist/web/.next-embedded/server/chunks/57.js +2 -0
  421. package/dist/web/.next-embedded/server/chunks/5734.js +1 -0
  422. package/dist/web/.next-embedded/server/chunks/5787.js +1 -0
  423. package/dist/web/.next-embedded/server/chunks/5796.js +1 -0
  424. package/dist/web/.next-embedded/server/chunks/5933.js +1 -0
  425. package/dist/web/.next-embedded/server/chunks/5945.js +1 -0
  426. package/dist/web/.next-embedded/server/chunks/5961.js +1 -0
  427. package/dist/web/.next-embedded/server/chunks/6445.js +55 -0
  428. package/dist/web/.next-embedded/server/chunks/6511.js +18 -0
  429. package/dist/web/.next-embedded/server/chunks/6518.js +1 -0
  430. package/dist/web/.next-embedded/server/chunks/6572.js +1 -0
  431. package/dist/web/.next-embedded/server/chunks/6672.js +2 -0
  432. package/dist/web/.next-embedded/server/chunks/6773.js +1 -0
  433. package/dist/web/.next-embedded/server/chunks/6821.js +1 -0
  434. package/dist/web/.next-embedded/server/chunks/6926.js +1 -0
  435. package/dist/web/.next-embedded/server/chunks/7090.js +25 -0
  436. package/dist/web/.next-embedded/server/chunks/7206.js +1 -0
  437. package/dist/web/.next-embedded/server/chunks/7269.js +1 -0
  438. package/dist/web/.next-embedded/server/chunks/7380.js +1 -0
  439. package/dist/web/.next-embedded/server/chunks/7395.js +1 -0
  440. package/dist/web/.next-embedded/server/chunks/7466.js +1 -0
  441. package/dist/web/.next-embedded/server/chunks/7571.js +1 -0
  442. package/dist/web/.next-embedded/server/chunks/769.js +1 -0
  443. package/dist/web/.next-embedded/server/chunks/784.js +1 -0
  444. package/dist/web/.next-embedded/server/chunks/7861.js +1 -0
  445. package/dist/web/.next-embedded/server/chunks/7944.js +1 -0
  446. package/dist/web/.next-embedded/server/chunks/8020.js +1 -0
  447. package/dist/web/.next-embedded/server/chunks/8061.js +2 -0
  448. package/dist/web/.next-embedded/server/chunks/822.js +1 -0
  449. package/dist/web/.next-embedded/server/chunks/8302.js +1 -0
  450. package/dist/web/.next-embedded/server/chunks/8336.js +1 -0
  451. package/dist/web/.next-embedded/server/chunks/8376.js +1 -0
  452. package/dist/web/.next-embedded/server/chunks/841.js +2 -0
  453. package/dist/web/.next-embedded/server/chunks/8430.js +1 -0
  454. package/dist/web/.next-embedded/server/chunks/8563.js +2 -0
  455. package/dist/web/.next-embedded/server/chunks/8576.js +193 -0
  456. package/dist/web/.next-embedded/server/chunks/8656.js +1 -0
  457. package/dist/web/.next-embedded/server/chunks/8726.js +1 -0
  458. package/dist/web/.next-embedded/server/chunks/8935.js +1 -0
  459. package/dist/web/.next-embedded/server/chunks/9260.js +1 -0
  460. package/dist/web/.next-embedded/server/chunks/9314.js +1 -0
  461. package/dist/web/.next-embedded/server/chunks/9332.js +1 -0
  462. package/dist/web/.next-embedded/server/chunks/9380.js +13 -0
  463. package/dist/web/.next-embedded/server/chunks/951.js +2 -0
  464. package/dist/web/.next-embedded/server/chunks/9537.js +1 -0
  465. package/dist/web/.next-embedded/server/chunks/9840.js +1 -0
  466. package/dist/web/.next-embedded/server/chunks/9913.js +1 -0
  467. package/dist/web/.next-embedded/server/functions-config-manifest.json +97 -0
  468. package/dist/web/.next-embedded/server/instrumentation.js +1 -0
  469. package/dist/web/.next-embedded/server/interception-route-rewrite-manifest.js +1 -0
  470. package/dist/web/.next-embedded/server/middleware-build-manifest.js +1 -0
  471. package/dist/web/.next-embedded/server/middleware-manifest.json +6 -0
  472. package/dist/web/.next-embedded/server/middleware-react-loadable-manifest.js +1 -0
  473. package/dist/web/.next-embedded/server/middleware.js +217 -0
  474. package/dist/web/.next-embedded/server/next-font-manifest.js +1 -0
  475. package/dist/web/.next-embedded/server/next-font-manifest.json +1 -0
  476. package/dist/web/.next-embedded/server/pages/404.html +1 -0
  477. package/dist/web/.next-embedded/server/pages/500.html +1 -0
  478. package/dist/web/.next-embedded/server/pages-manifest.json +4 -0
  479. package/dist/web/.next-embedded/server/prefetch-hints.json +44 -0
  480. package/dist/web/.next-embedded/server/server-reference-manifest.js +1 -0
  481. package/dist/web/.next-embedded/server/server-reference-manifest.json +1 -0
  482. package/dist/web/.next-embedded/server/webpack-runtime.js +1 -0
  483. package/dist/web/.next-embedded/static/DkxmcmiDAUutpm9e7G9xn/_buildManifest.js +1 -0
  484. package/dist/web/.next-embedded/static/DkxmcmiDAUutpm9e7G9xn/_ssgManifest.js +1 -0
  485. package/dist/web/.next-embedded/static/chunks/1000-501917027865ec48.js +52 -0
  486. package/dist/web/.next-embedded/static/chunks/1435-55acf1390b3a2da1.js +1 -0
  487. package/dist/web/.next-embedded/static/chunks/2349-3254a65053329135.js +1 -0
  488. package/dist/web/.next-embedded/static/chunks/2378-4ca744bf47c3dabb.js +1 -0
  489. package/dist/web/.next-embedded/static/chunks/2685-42c2a4f17fb6adb1.js +18 -0
  490. package/dist/web/.next-embedded/static/chunks/5633-9a07d4830813ece7.js +1 -0
  491. package/dist/web/.next-embedded/static/chunks/6365-04af34ae5b1497e3.js +1 -0
  492. package/dist/web/.next-embedded/static/chunks/6482-ecc9c62a178ba724.js +1 -0
  493. package/dist/web/.next-embedded/static/chunks/7413-3a721e7c495f89fb.js +55 -0
  494. package/dist/web/.next-embedded/static/chunks/9595-fea797909cd07d91.js +1 -0
  495. package/dist/web/.next-embedded/static/chunks/app/(shell)/admin/api-keys/page-5fe6d7717b0565f1.js +1 -0
  496. package/dist/web/.next-embedded/static/chunks/app/(shell)/admin/models/new/page-875800e6afa2dac3.js +1 -0
  497. package/dist/web/.next-embedded/static/chunks/app/(shell)/admin/models/page-7c39ee3c51034f12.js +1 -0
  498. package/dist/web/.next-embedded/static/chunks/app/(shell)/admin/runtimes/page-d51caeefc8b5ed98.js +1 -0
  499. package/dist/web/.next-embedded/static/chunks/app/(shell)/admin/settings/page-7f1874c14b33856a.js +1 -0
  500. package/dist/web/.next-embedded/static/chunks/app/(shell)/admin/shares/page-c194edfd7701dc77.js +1 -0
  501. package/dist/web/.next-embedded/static/chunks/app/(shell)/admin/users/page-463489ca2ebf664f.js +1 -0
  502. package/dist/web/.next-embedded/static/chunks/app/(shell)/agents/[id]/page-febe3b0582c996ae.js +1 -0
  503. package/dist/web/.next-embedded/static/chunks/app/(shell)/agents/new/page-a5ba72c5bc40b6e1.js +1 -0
  504. package/dist/web/.next-embedded/static/chunks/app/(shell)/agents/page-89d6af2961318db8.js +1 -0
  505. package/dist/web/.next-embedded/static/chunks/app/(shell)/connectors/new/page-b7ab59a7697ce004.js +1 -0
  506. package/dist/web/.next-embedded/static/chunks/app/(shell)/connectors/page-be6a19d14cc78f0f.js +1 -0
  507. package/dist/web/.next-embedded/static/chunks/app/(shell)/files/page-63febed6b4433238.js +1 -0
  508. package/dist/web/.next-embedded/static/chunks/app/(shell)/layout-4667e8f589776bbe.js +1 -0
  509. package/dist/web/.next-embedded/static/chunks/app/(shell)/page-2cd836e518729ee6.js +1 -0
  510. package/dist/web/.next-embedded/static/chunks/app/(shell)/projects/[id]/page-e6bc2217623b8939.js +1 -0
  511. package/dist/web/.next-embedded/static/chunks/app/(shell)/projects/page-3db56f853165c53c.js +1 -0
  512. package/dist/web/.next-embedded/static/chunks/app/(shell)/runs/page-fe28919e456c3966.js +1 -0
  513. package/dist/web/.next-embedded/static/chunks/app/(shell)/skills/[name]/page-69390975e9417783.js +1 -0
  514. package/dist/web/.next-embedded/static/chunks/app/(shell)/skills/page-1e756149864de860.js +1 -0
  515. package/dist/web/.next-embedded/static/chunks/app/(shell)/workspaces/page-47afb61daed3bbb2.js +1 -0
  516. package/dist/web/.next-embedded/static/chunks/app/_global-error/page-259206b8559c1c4b.js +1 -0
  517. package/dist/web/.next-embedded/static/chunks/app/_not-found/page-1e20f0faf42b5dab.js +1 -0
  518. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/evaluations/route-259206b8559c1c4b.js +1 -0
  519. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/feedback/route-259206b8559c1c4b.js +1 -0
  520. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/grants/route-259206b8559c1c4b.js +1 -0
  521. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/pointers/route-259206b8559c1c4b.js +1 -0
  522. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/policy/route-259206b8559c1c4b.js +1 -0
  523. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/promote/route-259206b8559c1c4b.js +1 -0
  524. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/resources/route-259206b8559c1c4b.js +1 -0
  525. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/rollback/route-259206b8559c1c4b.js +1 -0
  526. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/route-259206b8559c1c4b.js +1 -0
  527. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/runs/route-259206b8559c1c4b.js +1 -0
  528. package/dist/web/.next-embedded/static/chunks/app/api/agents/[id]/versions/route-259206b8559c1c4b.js +1 -0
  529. package/dist/web/.next-embedded/static/chunks/app/api/agents/route-259206b8559c1c4b.js +1 -0
  530. package/dist/web/.next-embedded/static/chunks/app/api/api-keys/[id]/route-259206b8559c1c4b.js +1 -0
  531. package/dist/web/.next-embedded/static/chunks/app/api/api-keys/route-259206b8559c1c4b.js +1 -0
  532. package/dist/web/.next-embedded/static/chunks/app/api/audit-events/route-259206b8559c1c4b.js +1 -0
  533. package/dist/web/.next-embedded/static/chunks/app/api/auth/callback/route-259206b8559c1c4b.js +1 -0
  534. package/dist/web/.next-embedded/static/chunks/app/api/auth/cli-device/route-259206b8559c1c4b.js +1 -0
  535. package/dist/web/.next-embedded/static/chunks/app/api/auth/cli-token/route-259206b8559c1c4b.js +1 -0
  536. package/dist/web/.next-embedded/static/chunks/app/api/auth/cli-verify/route-259206b8559c1c4b.js +1 -0
  537. package/dist/web/.next-embedded/static/chunks/app/api/auth/cli-workspace/route-259206b8559c1c4b.js +1 -0
  538. package/dist/web/.next-embedded/static/chunks/app/api/auth/login/route-259206b8559c1c4b.js +1 -0
  539. package/dist/web/.next-embedded/static/chunks/app/api/auth/workspace/route-259206b8559c1c4b.js +1 -0
  540. package/dist/web/.next-embedded/static/chunks/app/api/connectors/[id]/route-259206b8559c1c4b.js +1 -0
  541. package/dist/web/.next-embedded/static/chunks/app/api/connectors/[id]/test-connection/route-259206b8559c1c4b.js +1 -0
  542. package/dist/web/.next-embedded/static/chunks/app/api/connectors/route-259206b8559c1c4b.js +1 -0
  543. package/dist/web/.next-embedded/static/chunks/app/api/engines/route-259206b8559c1c4b.js +1 -0
  544. package/dist/web/.next-embedded/static/chunks/app/api/files/[id]/route-259206b8559c1c4b.js +1 -0
  545. package/dist/web/.next-embedded/static/chunks/app/api/files/route-259206b8559c1c4b.js +1 -0
  546. package/dist/web/.next-embedded/static/chunks/app/api/invitations/[id]/accept/route-259206b8559c1c4b.js +1 -0
  547. package/dist/web/.next-embedded/static/chunks/app/api/invitations/[id]/resend/route-259206b8559c1c4b.js +1 -0
  548. package/dist/web/.next-embedded/static/chunks/app/api/invitations/[id]/route-259206b8559c1c4b.js +1 -0
  549. package/dist/web/.next-embedded/static/chunks/app/api/invitations/route-259206b8559c1c4b.js +1 -0
  550. package/dist/web/.next-embedded/static/chunks/app/api/me/route-259206b8559c1c4b.js +1 -0
  551. package/dist/web/.next-embedded/static/chunks/app/api/memberships/[id]/route-259206b8559c1c4b.js +1 -0
  552. package/dist/web/.next-embedded/static/chunks/app/api/memberships/route-259206b8559c1c4b.js +1 -0
  553. package/dist/web/.next-embedded/static/chunks/app/api/metrics/route-259206b8559c1c4b.js +1 -0
  554. package/dist/web/.next-embedded/static/chunks/app/api/model-connections/[id]/credential/route-259206b8559c1c4b.js +1 -0
  555. package/dist/web/.next-embedded/static/chunks/app/api/model-connections/[id]/route-259206b8559c1c4b.js +1 -0
  556. package/dist/web/.next-embedded/static/chunks/app/api/model-connections/[id]/test/route-259206b8559c1c4b.js +1 -0
  557. package/dist/web/.next-embedded/static/chunks/app/api/model-connections/route-259206b8559c1c4b.js +1 -0
  558. package/dist/web/.next-embedded/static/chunks/app/api/models/route-259206b8559c1c4b.js +1 -0
  559. package/dist/web/.next-embedded/static/chunks/app/api/projects/[id]/archive/route-259206b8559c1c4b.js +1 -0
  560. package/dist/web/.next-embedded/static/chunks/app/api/projects/[id]/restore/route-259206b8559c1c4b.js +1 -0
  561. package/dist/web/.next-embedded/static/chunks/app/api/projects/[id]/route-259206b8559c1c4b.js +1 -0
  562. package/dist/web/.next-embedded/static/chunks/app/api/projects/[id]/sessions/route-259206b8559c1c4b.js +1 -0
  563. package/dist/web/.next-embedded/static/chunks/app/api/projects/route-259206b8559c1c4b.js +1 -0
  564. package/dist/web/.next-embedded/static/chunks/app/api/runs/[id]/events/route-259206b8559c1c4b.js +1 -0
  565. package/dist/web/.next-embedded/static/chunks/app/api/runs/[id]/feedback/route-259206b8559c1c4b.js +1 -0
  566. package/dist/web/.next-embedded/static/chunks/app/api/runs/[id]/interrupt/route-259206b8559c1c4b.js +1 -0
  567. package/dist/web/.next-embedded/static/chunks/app/api/runs/[id]/revoke-tokens/route-259206b8559c1c4b.js +1 -0
  568. package/dist/web/.next-embedded/static/chunks/app/api/runs/[id]/route-259206b8559c1c4b.js +1 -0
  569. package/dist/web/.next-embedded/static/chunks/app/api/runs/route-259206b8559c1c4b.js +1 -0
  570. package/dist/web/.next-embedded/static/chunks/app/api/runtime-connections/route-259206b8559c1c4b.js +1 -0
  571. package/dist/web/.next-embedded/static/chunks/app/api/runtime-profiles/[id]/route-259206b8559c1c4b.js +1 -0
  572. package/dist/web/.next-embedded/static/chunks/app/api/runtime-profiles/route-259206b8559c1c4b.js +1 -0
  573. package/dist/web/.next-embedded/static/chunks/app/api/runtimes/[id]/route-259206b8559c1c4b.js +1 -0
  574. package/dist/web/.next-embedded/static/chunks/app/api/secrets/[id]/route-259206b8559c1c4b.js +1 -0
  575. package/dist/web/.next-embedded/static/chunks/app/api/secrets/route-259206b8559c1c4b.js +1 -0
  576. package/dist/web/.next-embedded/static/chunks/app/api/sessions/[engineSessionId]/route-259206b8559c1c4b.js +1 -0
  577. package/dist/web/.next-embedded/static/chunks/app/api/sessions/[engineSessionId]/state-blobs/route-259206b8559c1c4b.js +1 -0
  578. package/dist/web/.next-embedded/static/chunks/app/api/sessions/[engineSessionId]/state-entries/route-259206b8559c1c4b.js +1 -0
  579. package/dist/web/.next-embedded/static/chunks/app/api/sessions/[engineSessionId]/state-streams/route-259206b8559c1c4b.js +1 -0
  580. package/dist/web/.next-embedded/static/chunks/app/api/sessions/[engineSessionId]/subkeys/route-259206b8559c1c4b.js +1 -0
  581. package/dist/web/.next-embedded/static/chunks/app/api/sessions/[engineSessionId]/transcript/route-259206b8559c1c4b.js +1 -0
  582. package/dist/web/.next-embedded/static/chunks/app/api/sessions/route-259206b8559c1c4b.js +1 -0
  583. package/dist/web/.next-embedded/static/chunks/app/api/setup/route-259206b8559c1c4b.js +1 -0
  584. package/dist/web/.next-embedded/static/chunks/app/api/setup/runtime-detect/route-259206b8559c1c4b.js +1 -0
  585. package/dist/web/.next-embedded/static/chunks/app/api/shares/[id]/route-259206b8559c1c4b.js +1 -0
  586. package/dist/web/.next-embedded/static/chunks/app/api/shares/route-259206b8559c1c4b.js +1 -0
  587. package/dist/web/.next-embedded/static/chunks/app/api/sharing-policies/route-259206b8559c1c4b.js +1 -0
  588. package/dist/web/.next-embedded/static/chunks/app/api/skills/[name]/route-259206b8559c1c4b.js +1 -0
  589. package/dist/web/.next-embedded/static/chunks/app/api/skills/route-259206b8559c1c4b.js +1 -0
  590. package/dist/web/.next-embedded/static/chunks/app/api/tokens/route-259206b8559c1c4b.js +1 -0
  591. package/dist/web/.next-embedded/static/chunks/app/api/users/route-259206b8559c1c4b.js +1 -0
  592. package/dist/web/.next-embedded/static/chunks/app/api/workspaces/[id]/route-259206b8559c1c4b.js +1 -0
  593. package/dist/web/.next-embedded/static/chunks/app/api/workspaces/route-259206b8559c1c4b.js +1 -0
  594. package/dist/web/.next-embedded/static/chunks/app/layout-2f33ac5af1408328.js +1 -0
  595. package/dist/web/.next-embedded/static/chunks/app/p/[token]/layout-259206b8559c1c4b.js +1 -0
  596. package/dist/web/.next-embedded/static/chunks/app/p/[token]/messages/route-259206b8559c1c4b.js +1 -0
  597. package/dist/web/.next-embedded/static/chunks/app/p/[token]/page-6cd5f2bd228d80dc.js +1 -0
  598. package/dist/web/.next-embedded/static/chunks/app/p/s/[name]/page-3bbe19f3f8fa0cd8.js +1 -0
  599. package/dist/web/.next-embedded/static/chunks/app/p/s/[name]/sessions/route-259206b8559c1c4b.js +1 -0
  600. package/dist/web/.next-embedded/static/chunks/app/p/s/[name]/try/layout-259206b8559c1c4b.js +1 -0
  601. package/dist/web/.next-embedded/static/chunks/app/p/s/[name]/try/page-259206b8559c1c4b.js +1 -0
  602. package/dist/web/.next-embedded/static/chunks/app/p/s/[name]/widget.js/route-259206b8559c1c4b.js +1 -0
  603. package/dist/web/.next-embedded/static/chunks/app/setup/page-1ffa2012b2226832.js +1 -0
  604. package/dist/web/.next-embedded/static/chunks/app/signin/layout-259206b8559c1c4b.js +1 -0
  605. package/dist/web/.next-embedded/static/chunks/app/signin/page-259206b8559c1c4b.js +1 -0
  606. package/dist/web/.next-embedded/static/chunks/b7e071c5-1178abcc3dcc97b7.js +1 -0
  607. package/dist/web/.next-embedded/static/chunks/framework-bd8f371b90cbf524.js +1 -0
  608. package/dist/web/.next-embedded/static/chunks/main-5f1d9db627247614.js +5 -0
  609. package/dist/web/.next-embedded/static/chunks/main-app-736eb94d950bf794.js +1 -0
  610. package/dist/web/.next-embedded/static/chunks/next/dist/client/components/builtin/app-error-259206b8559c1c4b.js +1 -0
  611. package/dist/web/.next-embedded/static/chunks/next/dist/client/components/builtin/forbidden-259206b8559c1c4b.js +1 -0
  612. package/dist/web/.next-embedded/static/chunks/next/dist/client/components/builtin/global-error-bcd4657bc775688d.js +1 -0
  613. package/dist/web/.next-embedded/static/chunks/next/dist/client/components/builtin/not-found-259206b8559c1c4b.js +1 -0
  614. package/dist/web/.next-embedded/static/chunks/next/dist/client/components/builtin/unauthorized-259206b8559c1c4b.js +1 -0
  615. package/dist/web/.next-embedded/static/chunks/polyfills-42372ed130431b0a.js +1 -0
  616. package/dist/web/.next-embedded/static/chunks/webpack-e654bfe3f030a510.js +1 -0
  617. package/dist/web/.next-embedded/static/css/85d72f669bcd1172.css +1 -0
  618. package/dist/web/next.config.mjs +1 -0
  619. package/package.json +51 -3
@@ -0,0 +1,3295 @@
1
+ {
2
+ "id": "14e0e0f8-d931-49ff-92bc-d1512cb52892",
3
+ "prevId": "8b3cbc11-3b02-40d4-8881-82b94c10c8fb",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "public.agent_files": {
8
+ "name": "agent_files",
9
+ "schema": "",
10
+ "columns": {
11
+ "id": {
12
+ "name": "id",
13
+ "type": "uuid",
14
+ "primaryKey": true,
15
+ "notNull": true,
16
+ "default": "gen_random_uuid()"
17
+ },
18
+ "workspace_id": {
19
+ "name": "workspace_id",
20
+ "type": "uuid",
21
+ "primaryKey": false,
22
+ "notNull": true
23
+ },
24
+ "agent_id": {
25
+ "name": "agent_id",
26
+ "type": "uuid",
27
+ "primaryKey": false,
28
+ "notNull": true
29
+ },
30
+ "file_id": {
31
+ "name": "file_id",
32
+ "type": "uuid",
33
+ "primaryKey": false,
34
+ "notNull": true
35
+ },
36
+ "access": {
37
+ "name": "access",
38
+ "type": "text",
39
+ "primaryKey": false,
40
+ "notNull": true
41
+ },
42
+ "created_at": {
43
+ "name": "created_at",
44
+ "type": "timestamp with time zone",
45
+ "primaryKey": false,
46
+ "notNull": true,
47
+ "default": "now()"
48
+ },
49
+ "updated_at": {
50
+ "name": "updated_at",
51
+ "type": "timestamp with time zone",
52
+ "primaryKey": false,
53
+ "notNull": true,
54
+ "default": "now()"
55
+ }
56
+ },
57
+ "indexes": {
58
+ "agent_files_file_idx": {
59
+ "name": "agent_files_file_idx",
60
+ "columns": [
61
+ {
62
+ "expression": "file_id",
63
+ "isExpression": false,
64
+ "asc": true,
65
+ "nulls": "last"
66
+ }
67
+ ],
68
+ "isUnique": false,
69
+ "concurrently": false,
70
+ "method": "btree",
71
+ "with": {}
72
+ }
73
+ },
74
+ "foreignKeys": {
75
+ "agent_files_workspace_id_workspaces_id_fk": {
76
+ "name": "agent_files_workspace_id_workspaces_id_fk",
77
+ "tableFrom": "agent_files",
78
+ "tableTo": "workspaces",
79
+ "columnsFrom": [
80
+ "workspace_id"
81
+ ],
82
+ "columnsTo": [
83
+ "id"
84
+ ],
85
+ "onDelete": "cascade",
86
+ "onUpdate": "no action"
87
+ },
88
+ "agent_files_agent_workspace_fk": {
89
+ "name": "agent_files_agent_workspace_fk",
90
+ "tableFrom": "agent_files",
91
+ "tableTo": "agents",
92
+ "columnsFrom": [
93
+ "agent_id",
94
+ "workspace_id"
95
+ ],
96
+ "columnsTo": [
97
+ "id",
98
+ "workspace_id"
99
+ ],
100
+ "onDelete": "cascade",
101
+ "onUpdate": "no action"
102
+ },
103
+ "agent_files_file_workspace_fk": {
104
+ "name": "agent_files_file_workspace_fk",
105
+ "tableFrom": "agent_files",
106
+ "tableTo": "files",
107
+ "columnsFrom": [
108
+ "file_id",
109
+ "workspace_id"
110
+ ],
111
+ "columnsTo": [
112
+ "id",
113
+ "workspace_id"
114
+ ],
115
+ "onDelete": "cascade",
116
+ "onUpdate": "no action"
117
+ }
118
+ },
119
+ "compositePrimaryKeys": {},
120
+ "uniqueConstraints": {
121
+ "agent_files_workspace_agent_file_key": {
122
+ "name": "agent_files_workspace_agent_file_key",
123
+ "nullsNotDistinct": false,
124
+ "columns": [
125
+ "workspace_id",
126
+ "agent_id",
127
+ "file_id"
128
+ ]
129
+ }
130
+ },
131
+ "policies": {},
132
+ "checkConstraints": {
133
+ "agent_files_access_valid": {
134
+ "name": "agent_files_access_valid",
135
+ "value": "\"agent_files\".\"access\" in ('read', 'read-write')"
136
+ }
137
+ },
138
+ "isRLSEnabled": false
139
+ },
140
+ "public.agent_mcp_servers": {
141
+ "name": "agent_mcp_servers",
142
+ "schema": "",
143
+ "columns": {
144
+ "id": {
145
+ "name": "id",
146
+ "type": "uuid",
147
+ "primaryKey": true,
148
+ "notNull": true,
149
+ "default": "gen_random_uuid()"
150
+ },
151
+ "workspace_id": {
152
+ "name": "workspace_id",
153
+ "type": "uuid",
154
+ "primaryKey": false,
155
+ "notNull": true
156
+ },
157
+ "agent_id": {
158
+ "name": "agent_id",
159
+ "type": "uuid",
160
+ "primaryKey": false,
161
+ "notNull": true
162
+ },
163
+ "mcp_server_id": {
164
+ "name": "mcp_server_id",
165
+ "type": "uuid",
166
+ "primaryKey": false,
167
+ "notNull": true
168
+ },
169
+ "created_at": {
170
+ "name": "created_at",
171
+ "type": "timestamp with time zone",
172
+ "primaryKey": false,
173
+ "notNull": true,
174
+ "default": "now()"
175
+ }
176
+ },
177
+ "indexes": {
178
+ "agent_mcp_servers_server_idx": {
179
+ "name": "agent_mcp_servers_server_idx",
180
+ "columns": [
181
+ {
182
+ "expression": "mcp_server_id",
183
+ "isExpression": false,
184
+ "asc": true,
185
+ "nulls": "last"
186
+ }
187
+ ],
188
+ "isUnique": false,
189
+ "concurrently": false,
190
+ "method": "btree",
191
+ "with": {}
192
+ }
193
+ },
194
+ "foreignKeys": {
195
+ "agent_mcp_servers_workspace_id_workspaces_id_fk": {
196
+ "name": "agent_mcp_servers_workspace_id_workspaces_id_fk",
197
+ "tableFrom": "agent_mcp_servers",
198
+ "tableTo": "workspaces",
199
+ "columnsFrom": [
200
+ "workspace_id"
201
+ ],
202
+ "columnsTo": [
203
+ "id"
204
+ ],
205
+ "onDelete": "cascade",
206
+ "onUpdate": "no action"
207
+ },
208
+ "agent_mcp_servers_agent_workspace_fk": {
209
+ "name": "agent_mcp_servers_agent_workspace_fk",
210
+ "tableFrom": "agent_mcp_servers",
211
+ "tableTo": "agents",
212
+ "columnsFrom": [
213
+ "agent_id",
214
+ "workspace_id"
215
+ ],
216
+ "columnsTo": [
217
+ "id",
218
+ "workspace_id"
219
+ ],
220
+ "onDelete": "cascade",
221
+ "onUpdate": "no action"
222
+ },
223
+ "agent_mcp_servers_server_workspace_fk": {
224
+ "name": "agent_mcp_servers_server_workspace_fk",
225
+ "tableFrom": "agent_mcp_servers",
226
+ "tableTo": "mcp_servers",
227
+ "columnsFrom": [
228
+ "mcp_server_id",
229
+ "workspace_id"
230
+ ],
231
+ "columnsTo": [
232
+ "id",
233
+ "workspace_id"
234
+ ],
235
+ "onDelete": "cascade",
236
+ "onUpdate": "no action"
237
+ }
238
+ },
239
+ "compositePrimaryKeys": {},
240
+ "uniqueConstraints": {
241
+ "agent_mcp_servers_workspace_agent_server_key": {
242
+ "name": "agent_mcp_servers_workspace_agent_server_key",
243
+ "nullsNotDistinct": false,
244
+ "columns": [
245
+ "workspace_id",
246
+ "agent_id",
247
+ "mcp_server_id"
248
+ ]
249
+ }
250
+ },
251
+ "policies": {},
252
+ "checkConstraints": {},
253
+ "isRLSEnabled": false
254
+ },
255
+ "public.agent_skills": {
256
+ "name": "agent_skills",
257
+ "schema": "",
258
+ "columns": {
259
+ "id": {
260
+ "name": "id",
261
+ "type": "uuid",
262
+ "primaryKey": true,
263
+ "notNull": true,
264
+ "default": "gen_random_uuid()"
265
+ },
266
+ "workspace_id": {
267
+ "name": "workspace_id",
268
+ "type": "uuid",
269
+ "primaryKey": false,
270
+ "notNull": true
271
+ },
272
+ "agent_id": {
273
+ "name": "agent_id",
274
+ "type": "uuid",
275
+ "primaryKey": false,
276
+ "notNull": true
277
+ },
278
+ "skill_id": {
279
+ "name": "skill_id",
280
+ "type": "uuid",
281
+ "primaryKey": false,
282
+ "notNull": true
283
+ },
284
+ "created_at": {
285
+ "name": "created_at",
286
+ "type": "timestamp with time zone",
287
+ "primaryKey": false,
288
+ "notNull": true,
289
+ "default": "now()"
290
+ }
291
+ },
292
+ "indexes": {
293
+ "agent_skills_skill_idx": {
294
+ "name": "agent_skills_skill_idx",
295
+ "columns": [
296
+ {
297
+ "expression": "skill_id",
298
+ "isExpression": false,
299
+ "asc": true,
300
+ "nulls": "last"
301
+ }
302
+ ],
303
+ "isUnique": false,
304
+ "concurrently": false,
305
+ "method": "btree",
306
+ "with": {}
307
+ }
308
+ },
309
+ "foreignKeys": {
310
+ "agent_skills_workspace_id_workspaces_id_fk": {
311
+ "name": "agent_skills_workspace_id_workspaces_id_fk",
312
+ "tableFrom": "agent_skills",
313
+ "tableTo": "workspaces",
314
+ "columnsFrom": [
315
+ "workspace_id"
316
+ ],
317
+ "columnsTo": [
318
+ "id"
319
+ ],
320
+ "onDelete": "cascade",
321
+ "onUpdate": "no action"
322
+ },
323
+ "agent_skills_agent_workspace_fk": {
324
+ "name": "agent_skills_agent_workspace_fk",
325
+ "tableFrom": "agent_skills",
326
+ "tableTo": "agents",
327
+ "columnsFrom": [
328
+ "agent_id",
329
+ "workspace_id"
330
+ ],
331
+ "columnsTo": [
332
+ "id",
333
+ "workspace_id"
334
+ ],
335
+ "onDelete": "cascade",
336
+ "onUpdate": "no action"
337
+ },
338
+ "agent_skills_skill_workspace_fk": {
339
+ "name": "agent_skills_skill_workspace_fk",
340
+ "tableFrom": "agent_skills",
341
+ "tableTo": "skills",
342
+ "columnsFrom": [
343
+ "skill_id",
344
+ "workspace_id"
345
+ ],
346
+ "columnsTo": [
347
+ "id",
348
+ "workspace_id"
349
+ ],
350
+ "onDelete": "cascade",
351
+ "onUpdate": "no action"
352
+ }
353
+ },
354
+ "compositePrimaryKeys": {},
355
+ "uniqueConstraints": {
356
+ "agent_skills_workspace_agent_skill_key": {
357
+ "name": "agent_skills_workspace_agent_skill_key",
358
+ "nullsNotDistinct": false,
359
+ "columns": [
360
+ "workspace_id",
361
+ "agent_id",
362
+ "skill_id"
363
+ ]
364
+ }
365
+ },
366
+ "policies": {},
367
+ "checkConstraints": {},
368
+ "isRLSEnabled": false
369
+ },
370
+ "public.agents": {
371
+ "name": "agents",
372
+ "schema": "",
373
+ "columns": {
374
+ "id": {
375
+ "name": "id",
376
+ "type": "uuid",
377
+ "primaryKey": true,
378
+ "notNull": true,
379
+ "default": "gen_random_uuid()"
380
+ },
381
+ "workspace_id": {
382
+ "name": "workspace_id",
383
+ "type": "uuid",
384
+ "primaryKey": false,
385
+ "notNull": true
386
+ },
387
+ "name": {
388
+ "name": "name",
389
+ "type": "text",
390
+ "primaryKey": false,
391
+ "notNull": true
392
+ },
393
+ "instructions": {
394
+ "name": "instructions",
395
+ "type": "text",
396
+ "primaryKey": false,
397
+ "notNull": true
398
+ },
399
+ "model_connection_id": {
400
+ "name": "model_connection_id",
401
+ "type": "uuid",
402
+ "primaryKey": false,
403
+ "notNull": false
404
+ },
405
+ "model": {
406
+ "name": "model",
407
+ "type": "text",
408
+ "primaryKey": false,
409
+ "notNull": false
410
+ },
411
+ "runtime_profile_id": {
412
+ "name": "runtime_profile_id",
413
+ "type": "uuid",
414
+ "primaryKey": false,
415
+ "notNull": false
416
+ },
417
+ "permissions": {
418
+ "name": "permissions",
419
+ "type": "jsonb",
420
+ "primaryKey": false,
421
+ "notNull": true
422
+ },
423
+ "created_at": {
424
+ "name": "created_at",
425
+ "type": "timestamp with time zone",
426
+ "primaryKey": false,
427
+ "notNull": true,
428
+ "default": "now()"
429
+ },
430
+ "updated_at": {
431
+ "name": "updated_at",
432
+ "type": "timestamp with time zone",
433
+ "primaryKey": false,
434
+ "notNull": true,
435
+ "default": "now()"
436
+ }
437
+ },
438
+ "indexes": {
439
+ "agents_workspace_name_key": {
440
+ "name": "agents_workspace_name_key",
441
+ "columns": [
442
+ {
443
+ "expression": "workspace_id",
444
+ "isExpression": false,
445
+ "asc": true,
446
+ "nulls": "last"
447
+ },
448
+ {
449
+ "expression": "name",
450
+ "isExpression": false,
451
+ "asc": true,
452
+ "nulls": "last"
453
+ }
454
+ ],
455
+ "isUnique": true,
456
+ "concurrently": false,
457
+ "method": "btree",
458
+ "with": {}
459
+ },
460
+ "agents_model_connection_idx": {
461
+ "name": "agents_model_connection_idx",
462
+ "columns": [
463
+ {
464
+ "expression": "model_connection_id",
465
+ "isExpression": false,
466
+ "asc": true,
467
+ "nulls": "last"
468
+ }
469
+ ],
470
+ "isUnique": false,
471
+ "concurrently": false,
472
+ "method": "btree",
473
+ "with": {}
474
+ },
475
+ "agents_runtime_profile_idx": {
476
+ "name": "agents_runtime_profile_idx",
477
+ "columns": [
478
+ {
479
+ "expression": "runtime_profile_id",
480
+ "isExpression": false,
481
+ "asc": true,
482
+ "nulls": "last"
483
+ }
484
+ ],
485
+ "isUnique": false,
486
+ "concurrently": false,
487
+ "method": "btree",
488
+ "with": {}
489
+ }
490
+ },
491
+ "foreignKeys": {
492
+ "agents_workspace_id_workspaces_id_fk": {
493
+ "name": "agents_workspace_id_workspaces_id_fk",
494
+ "tableFrom": "agents",
495
+ "tableTo": "workspaces",
496
+ "columnsFrom": [
497
+ "workspace_id"
498
+ ],
499
+ "columnsTo": [
500
+ "id"
501
+ ],
502
+ "onDelete": "cascade",
503
+ "onUpdate": "no action"
504
+ },
505
+ "agents_model_connection_id_model_connections_id_fk": {
506
+ "name": "agents_model_connection_id_model_connections_id_fk",
507
+ "tableFrom": "agents",
508
+ "tableTo": "model_connections",
509
+ "columnsFrom": [
510
+ "model_connection_id"
511
+ ],
512
+ "columnsTo": [
513
+ "id"
514
+ ],
515
+ "onDelete": "set null",
516
+ "onUpdate": "no action"
517
+ },
518
+ "agents_runtime_profile_id_runtime_profiles_id_fk": {
519
+ "name": "agents_runtime_profile_id_runtime_profiles_id_fk",
520
+ "tableFrom": "agents",
521
+ "tableTo": "runtime_profiles",
522
+ "columnsFrom": [
523
+ "runtime_profile_id"
524
+ ],
525
+ "columnsTo": [
526
+ "id"
527
+ ],
528
+ "onDelete": "set null",
529
+ "onUpdate": "no action"
530
+ },
531
+ "agents_model_connection_workspace_fk": {
532
+ "name": "agents_model_connection_workspace_fk",
533
+ "tableFrom": "agents",
534
+ "tableTo": "model_connections",
535
+ "columnsFrom": [
536
+ "model_connection_id",
537
+ "workspace_id"
538
+ ],
539
+ "columnsTo": [
540
+ "id",
541
+ "workspace_id"
542
+ ],
543
+ "onDelete": "no action",
544
+ "onUpdate": "no action"
545
+ },
546
+ "agents_runtime_profile_workspace_fk": {
547
+ "name": "agents_runtime_profile_workspace_fk",
548
+ "tableFrom": "agents",
549
+ "tableTo": "runtime_profiles",
550
+ "columnsFrom": [
551
+ "runtime_profile_id",
552
+ "workspace_id"
553
+ ],
554
+ "columnsTo": [
555
+ "id",
556
+ "workspace_id"
557
+ ],
558
+ "onDelete": "no action",
559
+ "onUpdate": "no action"
560
+ }
561
+ },
562
+ "compositePrimaryKeys": {},
563
+ "uniqueConstraints": {
564
+ "agents_id_workspace_key": {
565
+ "name": "agents_id_workspace_key",
566
+ "nullsNotDistinct": false,
567
+ "columns": [
568
+ "id",
569
+ "workspace_id"
570
+ ]
571
+ }
572
+ },
573
+ "policies": {},
574
+ "checkConstraints": {
575
+ "agents_name_not_blank": {
576
+ "name": "agents_name_not_blank",
577
+ "value": "length(btrim(\"agents\".\"name\")) > 0"
578
+ }
579
+ },
580
+ "isRLSEnabled": false
581
+ },
582
+ "public.api_keys": {
583
+ "name": "api_keys",
584
+ "schema": "",
585
+ "columns": {
586
+ "id": {
587
+ "name": "id",
588
+ "type": "uuid",
589
+ "primaryKey": true,
590
+ "notNull": true,
591
+ "default": "gen_random_uuid()"
592
+ },
593
+ "workspace_id": {
594
+ "name": "workspace_id",
595
+ "type": "uuid",
596
+ "primaryKey": false,
597
+ "notNull": true
598
+ },
599
+ "name": {
600
+ "name": "name",
601
+ "type": "text",
602
+ "primaryKey": false,
603
+ "notNull": true
604
+ },
605
+ "role": {
606
+ "name": "role",
607
+ "type": "text",
608
+ "primaryKey": false,
609
+ "notNull": true
610
+ },
611
+ "key_prefix": {
612
+ "name": "key_prefix",
613
+ "type": "text",
614
+ "primaryKey": false,
615
+ "notNull": true
616
+ },
617
+ "key_hash": {
618
+ "name": "key_hash",
619
+ "type": "text",
620
+ "primaryKey": false,
621
+ "notNull": true
622
+ },
623
+ "last_used_at": {
624
+ "name": "last_used_at",
625
+ "type": "timestamp with time zone",
626
+ "primaryKey": false,
627
+ "notNull": false
628
+ },
629
+ "expires_at": {
630
+ "name": "expires_at",
631
+ "type": "timestamp with time zone",
632
+ "primaryKey": false,
633
+ "notNull": false
634
+ },
635
+ "revoked_at": {
636
+ "name": "revoked_at",
637
+ "type": "timestamp with time zone",
638
+ "primaryKey": false,
639
+ "notNull": false
640
+ },
641
+ "created_at": {
642
+ "name": "created_at",
643
+ "type": "timestamp with time zone",
644
+ "primaryKey": false,
645
+ "notNull": true,
646
+ "default": "now()"
647
+ },
648
+ "updated_at": {
649
+ "name": "updated_at",
650
+ "type": "timestamp with time zone",
651
+ "primaryKey": false,
652
+ "notNull": true,
653
+ "default": "now()"
654
+ }
655
+ },
656
+ "indexes": {
657
+ "api_keys_workspace_name_key": {
658
+ "name": "api_keys_workspace_name_key",
659
+ "columns": [
660
+ {
661
+ "expression": "workspace_id",
662
+ "isExpression": false,
663
+ "asc": true,
664
+ "nulls": "last"
665
+ },
666
+ {
667
+ "expression": "name",
668
+ "isExpression": false,
669
+ "asc": true,
670
+ "nulls": "last"
671
+ }
672
+ ],
673
+ "isUnique": true,
674
+ "concurrently": false,
675
+ "method": "btree",
676
+ "with": {}
677
+ },
678
+ "api_keys_key_hash_key": {
679
+ "name": "api_keys_key_hash_key",
680
+ "columns": [
681
+ {
682
+ "expression": "key_hash",
683
+ "isExpression": false,
684
+ "asc": true,
685
+ "nulls": "last"
686
+ }
687
+ ],
688
+ "isUnique": true,
689
+ "concurrently": false,
690
+ "method": "btree",
691
+ "with": {}
692
+ },
693
+ "api_keys_workspace_revoked_idx": {
694
+ "name": "api_keys_workspace_revoked_idx",
695
+ "columns": [
696
+ {
697
+ "expression": "workspace_id",
698
+ "isExpression": false,
699
+ "asc": true,
700
+ "nulls": "last"
701
+ },
702
+ {
703
+ "expression": "revoked_at",
704
+ "isExpression": false,
705
+ "asc": true,
706
+ "nulls": "last"
707
+ }
708
+ ],
709
+ "isUnique": false,
710
+ "concurrently": false,
711
+ "method": "btree",
712
+ "with": {}
713
+ }
714
+ },
715
+ "foreignKeys": {
716
+ "api_keys_workspace_id_workspaces_id_fk": {
717
+ "name": "api_keys_workspace_id_workspaces_id_fk",
718
+ "tableFrom": "api_keys",
719
+ "tableTo": "workspaces",
720
+ "columnsFrom": [
721
+ "workspace_id"
722
+ ],
723
+ "columnsTo": [
724
+ "id"
725
+ ],
726
+ "onDelete": "cascade",
727
+ "onUpdate": "no action"
728
+ }
729
+ },
730
+ "compositePrimaryKeys": {},
731
+ "uniqueConstraints": {},
732
+ "policies": {},
733
+ "checkConstraints": {
734
+ "api_keys_role_valid": {
735
+ "name": "api_keys_role_valid",
736
+ "value": "\"api_keys\".\"role\" in ('owner', 'admin', 'builder', 'viewer')"
737
+ },
738
+ "api_keys_name_not_blank": {
739
+ "name": "api_keys_name_not_blank",
740
+ "value": "length(btrim(\"api_keys\".\"name\")) > 0"
741
+ },
742
+ "api_keys_key_prefix_not_blank": {
743
+ "name": "api_keys_key_prefix_not_blank",
744
+ "value": "length(btrim(\"api_keys\".\"key_prefix\")) > 0"
745
+ },
746
+ "api_keys_key_hash_not_blank": {
747
+ "name": "api_keys_key_hash_not_blank",
748
+ "value": "length(btrim(\"api_keys\".\"key_hash\")) > 0"
749
+ },
750
+ "api_keys_expires_after_created": {
751
+ "name": "api_keys_expires_after_created",
752
+ "value": "\"api_keys\".\"expires_at\" is null or \"api_keys\".\"expires_at\" > \"api_keys\".\"created_at\""
753
+ },
754
+ "api_keys_revoked_after_created": {
755
+ "name": "api_keys_revoked_after_created",
756
+ "value": "\"api_keys\".\"revoked_at\" is null or \"api_keys\".\"revoked_at\" >= \"api_keys\".\"created_at\""
757
+ }
758
+ },
759
+ "isRLSEnabled": false
760
+ },
761
+ "public.audit_events": {
762
+ "name": "audit_events",
763
+ "schema": "",
764
+ "columns": {
765
+ "id": {
766
+ "name": "id",
767
+ "type": "uuid",
768
+ "primaryKey": true,
769
+ "notNull": true,
770
+ "default": "gen_random_uuid()"
771
+ },
772
+ "workspace_id": {
773
+ "name": "workspace_id",
774
+ "type": "uuid",
775
+ "primaryKey": false,
776
+ "notNull": true
777
+ },
778
+ "actor_user_id": {
779
+ "name": "actor_user_id",
780
+ "type": "uuid",
781
+ "primaryKey": false,
782
+ "notNull": false
783
+ },
784
+ "actor_label": {
785
+ "name": "actor_label",
786
+ "type": "text",
787
+ "primaryKey": false,
788
+ "notNull": true
789
+ },
790
+ "action": {
791
+ "name": "action",
792
+ "type": "text",
793
+ "primaryKey": false,
794
+ "notNull": true
795
+ },
796
+ "subject_id": {
797
+ "name": "subject_id",
798
+ "type": "text",
799
+ "primaryKey": false,
800
+ "notNull": false
801
+ },
802
+ "subject_label": {
803
+ "name": "subject_label",
804
+ "type": "text",
805
+ "primaryKey": false,
806
+ "notNull": true
807
+ },
808
+ "created_at": {
809
+ "name": "created_at",
810
+ "type": "timestamp with time zone",
811
+ "primaryKey": false,
812
+ "notNull": true,
813
+ "default": "now()"
814
+ }
815
+ },
816
+ "indexes": {
817
+ "audit_events_workspace_created_idx": {
818
+ "name": "audit_events_workspace_created_idx",
819
+ "columns": [
820
+ {
821
+ "expression": "workspace_id",
822
+ "isExpression": false,
823
+ "asc": true,
824
+ "nulls": "last"
825
+ },
826
+ {
827
+ "expression": "created_at",
828
+ "isExpression": false,
829
+ "asc": true,
830
+ "nulls": "last"
831
+ }
832
+ ],
833
+ "isUnique": false,
834
+ "concurrently": false,
835
+ "method": "btree",
836
+ "with": {}
837
+ },
838
+ "audit_events_actor_idx": {
839
+ "name": "audit_events_actor_idx",
840
+ "columns": [
841
+ {
842
+ "expression": "actor_user_id",
843
+ "isExpression": false,
844
+ "asc": true,
845
+ "nulls": "last"
846
+ }
847
+ ],
848
+ "isUnique": false,
849
+ "concurrently": false,
850
+ "method": "btree",
851
+ "with": {}
852
+ }
853
+ },
854
+ "foreignKeys": {
855
+ "audit_events_workspace_id_workspaces_id_fk": {
856
+ "name": "audit_events_workspace_id_workspaces_id_fk",
857
+ "tableFrom": "audit_events",
858
+ "tableTo": "workspaces",
859
+ "columnsFrom": [
860
+ "workspace_id"
861
+ ],
862
+ "columnsTo": [
863
+ "id"
864
+ ],
865
+ "onDelete": "cascade",
866
+ "onUpdate": "no action"
867
+ },
868
+ "audit_events_actor_user_id_users_id_fk": {
869
+ "name": "audit_events_actor_user_id_users_id_fk",
870
+ "tableFrom": "audit_events",
871
+ "tableTo": "users",
872
+ "columnsFrom": [
873
+ "actor_user_id"
874
+ ],
875
+ "columnsTo": [
876
+ "id"
877
+ ],
878
+ "onDelete": "set null",
879
+ "onUpdate": "no action"
880
+ }
881
+ },
882
+ "compositePrimaryKeys": {},
883
+ "uniqueConstraints": {},
884
+ "policies": {},
885
+ "checkConstraints": {
886
+ "audit_events_action_valid": {
887
+ "name": "audit_events_action_valid",
888
+ "value": "\"audit_events\".\"action\" in ('user-created', 'user-deleted', 'agent-changed', 'provider-credential-changed', 'api-key-created', 'api-key-revoked', 'connector-changed', 'permission-changed', 'runtime-profile-changed', 'project-created', 'project-deleted', 'session-published', 'public-link-revoked', 'runnable-link-stopped', 'public-sharing-policy-changed')"
889
+ },
890
+ "audit_events_actor_label_not_blank": {
891
+ "name": "audit_events_actor_label_not_blank",
892
+ "value": "length(btrim(\"audit_events\".\"actor_label\")) > 0"
893
+ },
894
+ "audit_events_subject_label_not_blank": {
895
+ "name": "audit_events_subject_label_not_blank",
896
+ "value": "length(btrim(\"audit_events\".\"subject_label\")) > 0"
897
+ },
898
+ "audit_events_subject_id_shape": {
899
+ "name": "audit_events_subject_id_shape",
900
+ "value": "\"audit_events\".\"subject_id\" is null or \"audit_events\".\"subject_id\" ~ '^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$'"
901
+ }
902
+ },
903
+ "isRLSEnabled": false
904
+ },
905
+ "public.files": {
906
+ "name": "files",
907
+ "schema": "",
908
+ "columns": {
909
+ "id": {
910
+ "name": "id",
911
+ "type": "uuid",
912
+ "primaryKey": true,
913
+ "notNull": true,
914
+ "default": "gen_random_uuid()"
915
+ },
916
+ "workspace_id": {
917
+ "name": "workspace_id",
918
+ "type": "uuid",
919
+ "primaryKey": false,
920
+ "notNull": true
921
+ },
922
+ "path": {
923
+ "name": "path",
924
+ "type": "text",
925
+ "primaryKey": false,
926
+ "notNull": true
927
+ },
928
+ "kind": {
929
+ "name": "kind",
930
+ "type": "text",
931
+ "primaryKey": false,
932
+ "notNull": true
933
+ },
934
+ "storage_key": {
935
+ "name": "storage_key",
936
+ "type": "text",
937
+ "primaryKey": false,
938
+ "notNull": false
939
+ },
940
+ "size_bytes": {
941
+ "name": "size_bytes",
942
+ "type": "bigint",
943
+ "primaryKey": false,
944
+ "notNull": true,
945
+ "default": 0
946
+ },
947
+ "content_type": {
948
+ "name": "content_type",
949
+ "type": "text",
950
+ "primaryKey": false,
951
+ "notNull": false
952
+ },
953
+ "created_at": {
954
+ "name": "created_at",
955
+ "type": "timestamp with time zone",
956
+ "primaryKey": false,
957
+ "notNull": true,
958
+ "default": "now()"
959
+ },
960
+ "updated_at": {
961
+ "name": "updated_at",
962
+ "type": "timestamp with time zone",
963
+ "primaryKey": false,
964
+ "notNull": true,
965
+ "default": "now()"
966
+ }
967
+ },
968
+ "indexes": {
969
+ "files_workspace_path_key": {
970
+ "name": "files_workspace_path_key",
971
+ "columns": [
972
+ {
973
+ "expression": "workspace_id",
974
+ "isExpression": false,
975
+ "asc": true,
976
+ "nulls": "last"
977
+ },
978
+ {
979
+ "expression": "path",
980
+ "isExpression": false,
981
+ "asc": true,
982
+ "nulls": "last"
983
+ }
984
+ ],
985
+ "isUnique": true,
986
+ "concurrently": false,
987
+ "method": "btree",
988
+ "with": {}
989
+ }
990
+ },
991
+ "foreignKeys": {
992
+ "files_workspace_id_workspaces_id_fk": {
993
+ "name": "files_workspace_id_workspaces_id_fk",
994
+ "tableFrom": "files",
995
+ "tableTo": "workspaces",
996
+ "columnsFrom": [
997
+ "workspace_id"
998
+ ],
999
+ "columnsTo": [
1000
+ "id"
1001
+ ],
1002
+ "onDelete": "cascade",
1003
+ "onUpdate": "no action"
1004
+ }
1005
+ },
1006
+ "compositePrimaryKeys": {},
1007
+ "uniqueConstraints": {
1008
+ "files_id_workspace_key": {
1009
+ "name": "files_id_workspace_key",
1010
+ "nullsNotDistinct": false,
1011
+ "columns": [
1012
+ "id",
1013
+ "workspace_id"
1014
+ ]
1015
+ }
1016
+ },
1017
+ "policies": {},
1018
+ "checkConstraints": {
1019
+ "files_kind_valid": {
1020
+ "name": "files_kind_valid",
1021
+ "value": "\"files\".\"kind\" in ('file', 'folder')"
1022
+ },
1023
+ "files_path_shape": {
1024
+ "name": "files_path_shape",
1025
+ "value": "\"files\".\"path\" ~ '^[^/[:cntrl:]]+(/[^/[:cntrl:]]+)*$'"
1026
+ },
1027
+ "files_path_no_dot_segments": {
1028
+ "name": "files_path_no_dot_segments",
1029
+ "value": "\"files\".\"path\" !~ '(^|/)[.][.]?(/|$)'"
1030
+ },
1031
+ "files_storage_key_iff_file": {
1032
+ "name": "files_storage_key_iff_file",
1033
+ "value": "(\"files\".\"kind\" = 'file') = (\"files\".\"storage_key\" is not null)"
1034
+ },
1035
+ "files_storage_key_not_blank": {
1036
+ "name": "files_storage_key_not_blank",
1037
+ "value": "\"files\".\"storage_key\" is null or length(btrim(\"files\".\"storage_key\")) > 0"
1038
+ },
1039
+ "files_size_non_negative": {
1040
+ "name": "files_size_non_negative",
1041
+ "value": "\"files\".\"size_bytes\" >= 0"
1042
+ },
1043
+ "files_folder_has_no_content": {
1044
+ "name": "files_folder_has_no_content",
1045
+ "value": "\"files\".\"kind\" <> 'folder' or (\"files\".\"size_bytes\" = 0 and \"files\".\"content_type\" is null)"
1046
+ }
1047
+ },
1048
+ "isRLSEnabled": false
1049
+ },
1050
+ "public.mcp_servers": {
1051
+ "name": "mcp_servers",
1052
+ "schema": "",
1053
+ "columns": {
1054
+ "id": {
1055
+ "name": "id",
1056
+ "type": "uuid",
1057
+ "primaryKey": true,
1058
+ "notNull": true,
1059
+ "default": "gen_random_uuid()"
1060
+ },
1061
+ "workspace_id": {
1062
+ "name": "workspace_id",
1063
+ "type": "uuid",
1064
+ "primaryKey": false,
1065
+ "notNull": true
1066
+ },
1067
+ "name": {
1068
+ "name": "name",
1069
+ "type": "text",
1070
+ "primaryKey": false,
1071
+ "notNull": true
1072
+ },
1073
+ "transport": {
1074
+ "name": "transport",
1075
+ "type": "text",
1076
+ "primaryKey": false,
1077
+ "notNull": true
1078
+ },
1079
+ "command": {
1080
+ "name": "command",
1081
+ "type": "text",
1082
+ "primaryKey": false,
1083
+ "notNull": false
1084
+ },
1085
+ "args": {
1086
+ "name": "args",
1087
+ "type": "jsonb",
1088
+ "primaryKey": false,
1089
+ "notNull": false
1090
+ },
1091
+ "url": {
1092
+ "name": "url",
1093
+ "type": "text",
1094
+ "primaryKey": false,
1095
+ "notNull": false
1096
+ },
1097
+ "auth_type": {
1098
+ "name": "auth_type",
1099
+ "type": "text",
1100
+ "primaryKey": false,
1101
+ "notNull": true,
1102
+ "default": "'none'"
1103
+ },
1104
+ "credential_secret_id": {
1105
+ "name": "credential_secret_id",
1106
+ "type": "uuid",
1107
+ "primaryKey": false,
1108
+ "notNull": false
1109
+ },
1110
+ "enabled": {
1111
+ "name": "enabled",
1112
+ "type": "boolean",
1113
+ "primaryKey": false,
1114
+ "notNull": true,
1115
+ "default": true
1116
+ },
1117
+ "created_at": {
1118
+ "name": "created_at",
1119
+ "type": "timestamp with time zone",
1120
+ "primaryKey": false,
1121
+ "notNull": true,
1122
+ "default": "now()"
1123
+ },
1124
+ "updated_at": {
1125
+ "name": "updated_at",
1126
+ "type": "timestamp with time zone",
1127
+ "primaryKey": false,
1128
+ "notNull": true,
1129
+ "default": "now()"
1130
+ }
1131
+ },
1132
+ "indexes": {
1133
+ "mcp_servers_workspace_name_key": {
1134
+ "name": "mcp_servers_workspace_name_key",
1135
+ "columns": [
1136
+ {
1137
+ "expression": "workspace_id",
1138
+ "isExpression": false,
1139
+ "asc": true,
1140
+ "nulls": "last"
1141
+ },
1142
+ {
1143
+ "expression": "name",
1144
+ "isExpression": false,
1145
+ "asc": true,
1146
+ "nulls": "last"
1147
+ }
1148
+ ],
1149
+ "isUnique": true,
1150
+ "concurrently": false,
1151
+ "method": "btree",
1152
+ "with": {}
1153
+ },
1154
+ "mcp_servers_credential_secret_idx": {
1155
+ "name": "mcp_servers_credential_secret_idx",
1156
+ "columns": [
1157
+ {
1158
+ "expression": "credential_secret_id",
1159
+ "isExpression": false,
1160
+ "asc": true,
1161
+ "nulls": "last"
1162
+ }
1163
+ ],
1164
+ "isUnique": false,
1165
+ "concurrently": false,
1166
+ "method": "btree",
1167
+ "with": {}
1168
+ }
1169
+ },
1170
+ "foreignKeys": {
1171
+ "mcp_servers_workspace_id_workspaces_id_fk": {
1172
+ "name": "mcp_servers_workspace_id_workspaces_id_fk",
1173
+ "tableFrom": "mcp_servers",
1174
+ "tableTo": "workspaces",
1175
+ "columnsFrom": [
1176
+ "workspace_id"
1177
+ ],
1178
+ "columnsTo": [
1179
+ "id"
1180
+ ],
1181
+ "onDelete": "cascade",
1182
+ "onUpdate": "no action"
1183
+ },
1184
+ "mcp_servers_credential_secret_workspace_fk": {
1185
+ "name": "mcp_servers_credential_secret_workspace_fk",
1186
+ "tableFrom": "mcp_servers",
1187
+ "tableTo": "secrets",
1188
+ "columnsFrom": [
1189
+ "credential_secret_id",
1190
+ "workspace_id"
1191
+ ],
1192
+ "columnsTo": [
1193
+ "id",
1194
+ "workspace_id"
1195
+ ],
1196
+ "onDelete": "restrict",
1197
+ "onUpdate": "no action"
1198
+ }
1199
+ },
1200
+ "compositePrimaryKeys": {},
1201
+ "uniqueConstraints": {
1202
+ "mcp_servers_id_workspace_key": {
1203
+ "name": "mcp_servers_id_workspace_key",
1204
+ "nullsNotDistinct": false,
1205
+ "columns": [
1206
+ "id",
1207
+ "workspace_id"
1208
+ ]
1209
+ }
1210
+ },
1211
+ "policies": {},
1212
+ "checkConstraints": {
1213
+ "mcp_servers_transport_valid": {
1214
+ "name": "mcp_servers_transport_valid",
1215
+ "value": "\"mcp_servers\".\"transport\" in ('stdio', 'http', 'sse')"
1216
+ },
1217
+ "mcp_servers_auth_type_valid": {
1218
+ "name": "mcp_servers_auth_type_valid",
1219
+ "value": "\"mcp_servers\".\"auth_type\" in ('none', 'api-key', 'bearer', 'oauth')"
1220
+ },
1221
+ "mcp_servers_stdio_has_command": {
1222
+ "name": "mcp_servers_stdio_has_command",
1223
+ "value": "(\"mcp_servers\".\"transport\" = 'stdio') = (\"mcp_servers\".\"command\" is not null)"
1224
+ },
1225
+ "mcp_servers_remote_has_url": {
1226
+ "name": "mcp_servers_remote_has_url",
1227
+ "value": "(\"mcp_servers\".\"transport\" in ('http', 'sse')) = (\"mcp_servers\".\"url\" is not null)"
1228
+ },
1229
+ "mcp_servers_args_are_stdio_only": {
1230
+ "name": "mcp_servers_args_are_stdio_only",
1231
+ "value": "\"mcp_servers\".\"args\" is null or \"mcp_servers\".\"transport\" = 'stdio'"
1232
+ },
1233
+ "mcp_servers_command_not_blank": {
1234
+ "name": "mcp_servers_command_not_blank",
1235
+ "value": "\"mcp_servers\".\"command\" is null or length(btrim(\"mcp_servers\".\"command\")) > 0"
1236
+ },
1237
+ "mcp_servers_url_shape": {
1238
+ "name": "mcp_servers_url_shape",
1239
+ "value": "\"mcp_servers\".\"url\" is null or \"mcp_servers\".\"url\" ~ '^https?://'"
1240
+ },
1241
+ "mcp_servers_credential_required": {
1242
+ "name": "mcp_servers_credential_required",
1243
+ "value": "(\"mcp_servers\".\"auth_type\" in ('api-key', 'bearer', 'oauth')) = (\"mcp_servers\".\"credential_secret_id\" is not null)"
1244
+ },
1245
+ "mcp_servers_name_not_blank": {
1246
+ "name": "mcp_servers_name_not_blank",
1247
+ "value": "length(btrim(\"mcp_servers\".\"name\")) > 0"
1248
+ }
1249
+ },
1250
+ "isRLSEnabled": false
1251
+ },
1252
+ "public.memberships": {
1253
+ "name": "memberships",
1254
+ "schema": "",
1255
+ "columns": {
1256
+ "id": {
1257
+ "name": "id",
1258
+ "type": "uuid",
1259
+ "primaryKey": true,
1260
+ "notNull": true,
1261
+ "default": "gen_random_uuid()"
1262
+ },
1263
+ "workspace_id": {
1264
+ "name": "workspace_id",
1265
+ "type": "uuid",
1266
+ "primaryKey": false,
1267
+ "notNull": true
1268
+ },
1269
+ "user_id": {
1270
+ "name": "user_id",
1271
+ "type": "uuid",
1272
+ "primaryKey": false,
1273
+ "notNull": true
1274
+ },
1275
+ "role": {
1276
+ "name": "role",
1277
+ "type": "text",
1278
+ "primaryKey": false,
1279
+ "notNull": true
1280
+ },
1281
+ "created_at": {
1282
+ "name": "created_at",
1283
+ "type": "timestamp with time zone",
1284
+ "primaryKey": false,
1285
+ "notNull": true,
1286
+ "default": "now()"
1287
+ },
1288
+ "updated_at": {
1289
+ "name": "updated_at",
1290
+ "type": "timestamp with time zone",
1291
+ "primaryKey": false,
1292
+ "notNull": true,
1293
+ "default": "now()"
1294
+ }
1295
+ },
1296
+ "indexes": {
1297
+ "memberships_user_idx": {
1298
+ "name": "memberships_user_idx",
1299
+ "columns": [
1300
+ {
1301
+ "expression": "user_id",
1302
+ "isExpression": false,
1303
+ "asc": true,
1304
+ "nulls": "last"
1305
+ }
1306
+ ],
1307
+ "isUnique": false,
1308
+ "concurrently": false,
1309
+ "method": "btree",
1310
+ "with": {}
1311
+ }
1312
+ },
1313
+ "foreignKeys": {
1314
+ "memberships_workspace_id_workspaces_id_fk": {
1315
+ "name": "memberships_workspace_id_workspaces_id_fk",
1316
+ "tableFrom": "memberships",
1317
+ "tableTo": "workspaces",
1318
+ "columnsFrom": [
1319
+ "workspace_id"
1320
+ ],
1321
+ "columnsTo": [
1322
+ "id"
1323
+ ],
1324
+ "onDelete": "cascade",
1325
+ "onUpdate": "no action"
1326
+ },
1327
+ "memberships_user_id_users_id_fk": {
1328
+ "name": "memberships_user_id_users_id_fk",
1329
+ "tableFrom": "memberships",
1330
+ "tableTo": "users",
1331
+ "columnsFrom": [
1332
+ "user_id"
1333
+ ],
1334
+ "columnsTo": [
1335
+ "id"
1336
+ ],
1337
+ "onDelete": "cascade",
1338
+ "onUpdate": "no action"
1339
+ }
1340
+ },
1341
+ "compositePrimaryKeys": {},
1342
+ "uniqueConstraints": {
1343
+ "memberships_workspace_user_key": {
1344
+ "name": "memberships_workspace_user_key",
1345
+ "nullsNotDistinct": false,
1346
+ "columns": [
1347
+ "workspace_id",
1348
+ "user_id"
1349
+ ]
1350
+ }
1351
+ },
1352
+ "policies": {},
1353
+ "checkConstraints": {
1354
+ "memberships_role_valid": {
1355
+ "name": "memberships_role_valid",
1356
+ "value": "\"memberships\".\"role\" in ('owner', 'admin', 'builder', 'viewer')"
1357
+ }
1358
+ },
1359
+ "isRLSEnabled": false
1360
+ },
1361
+ "public.model_connections": {
1362
+ "name": "model_connections",
1363
+ "schema": "",
1364
+ "columns": {
1365
+ "id": {
1366
+ "name": "id",
1367
+ "type": "uuid",
1368
+ "primaryKey": true,
1369
+ "notNull": true,
1370
+ "default": "gen_random_uuid()"
1371
+ },
1372
+ "workspace_id": {
1373
+ "name": "workspace_id",
1374
+ "type": "uuid",
1375
+ "primaryKey": false,
1376
+ "notNull": true
1377
+ },
1378
+ "name": {
1379
+ "name": "name",
1380
+ "type": "text",
1381
+ "primaryKey": false,
1382
+ "notNull": true
1383
+ },
1384
+ "provider": {
1385
+ "name": "provider",
1386
+ "type": "text",
1387
+ "primaryKey": false,
1388
+ "notNull": true
1389
+ },
1390
+ "config": {
1391
+ "name": "config",
1392
+ "type": "jsonb",
1393
+ "primaryKey": false,
1394
+ "notNull": true
1395
+ },
1396
+ "created_at": {
1397
+ "name": "created_at",
1398
+ "type": "timestamp with time zone",
1399
+ "primaryKey": false,
1400
+ "notNull": true,
1401
+ "default": "now()"
1402
+ },
1403
+ "updated_at": {
1404
+ "name": "updated_at",
1405
+ "type": "timestamp with time zone",
1406
+ "primaryKey": false,
1407
+ "notNull": true,
1408
+ "default": "now()"
1409
+ }
1410
+ },
1411
+ "indexes": {
1412
+ "model_connections_workspace_name_key": {
1413
+ "name": "model_connections_workspace_name_key",
1414
+ "columns": [
1415
+ {
1416
+ "expression": "workspace_id",
1417
+ "isExpression": false,
1418
+ "asc": true,
1419
+ "nulls": "last"
1420
+ },
1421
+ {
1422
+ "expression": "name",
1423
+ "isExpression": false,
1424
+ "asc": true,
1425
+ "nulls": "last"
1426
+ }
1427
+ ],
1428
+ "isUnique": true,
1429
+ "concurrently": false,
1430
+ "method": "btree",
1431
+ "with": {}
1432
+ }
1433
+ },
1434
+ "foreignKeys": {
1435
+ "model_connections_workspace_id_workspaces_id_fk": {
1436
+ "name": "model_connections_workspace_id_workspaces_id_fk",
1437
+ "tableFrom": "model_connections",
1438
+ "tableTo": "workspaces",
1439
+ "columnsFrom": [
1440
+ "workspace_id"
1441
+ ],
1442
+ "columnsTo": [
1443
+ "id"
1444
+ ],
1445
+ "onDelete": "cascade",
1446
+ "onUpdate": "no action"
1447
+ }
1448
+ },
1449
+ "compositePrimaryKeys": {},
1450
+ "uniqueConstraints": {
1451
+ "model_connections_id_workspace_key": {
1452
+ "name": "model_connections_id_workspace_key",
1453
+ "nullsNotDistinct": false,
1454
+ "columns": [
1455
+ "id",
1456
+ "workspace_id"
1457
+ ]
1458
+ }
1459
+ },
1460
+ "policies": {},
1461
+ "checkConstraints": {
1462
+ "model_connections_provider_valid": {
1463
+ "name": "model_connections_provider_valid",
1464
+ "value": "\"model_connections\".\"provider\" in ('anthropic', 'anthropic-compatible', 'openai', 'azure-openai', 'openai-compatible')"
1465
+ }
1466
+ },
1467
+ "isRLSEnabled": false
1468
+ },
1469
+ "public.project_files": {
1470
+ "name": "project_files",
1471
+ "schema": "",
1472
+ "columns": {
1473
+ "workspace_id": {
1474
+ "name": "workspace_id",
1475
+ "type": "uuid",
1476
+ "primaryKey": false,
1477
+ "notNull": true
1478
+ },
1479
+ "project_id": {
1480
+ "name": "project_id",
1481
+ "type": "uuid",
1482
+ "primaryKey": false,
1483
+ "notNull": true
1484
+ },
1485
+ "file_id": {
1486
+ "name": "file_id",
1487
+ "type": "uuid",
1488
+ "primaryKey": false,
1489
+ "notNull": true
1490
+ }
1491
+ },
1492
+ "indexes": {
1493
+ "project_files_workspace_idx": {
1494
+ "name": "project_files_workspace_idx",
1495
+ "columns": [
1496
+ {
1497
+ "expression": "workspace_id",
1498
+ "isExpression": false,
1499
+ "asc": true,
1500
+ "nulls": "last"
1501
+ }
1502
+ ],
1503
+ "isUnique": false,
1504
+ "concurrently": false,
1505
+ "method": "btree",
1506
+ "with": {}
1507
+ }
1508
+ },
1509
+ "foreignKeys": {
1510
+ "project_files_workspace_id_workspaces_id_fk": {
1511
+ "name": "project_files_workspace_id_workspaces_id_fk",
1512
+ "tableFrom": "project_files",
1513
+ "tableTo": "workspaces",
1514
+ "columnsFrom": [
1515
+ "workspace_id"
1516
+ ],
1517
+ "columnsTo": [
1518
+ "id"
1519
+ ],
1520
+ "onDelete": "cascade",
1521
+ "onUpdate": "no action"
1522
+ },
1523
+ "project_files_project_workspace_fk": {
1524
+ "name": "project_files_project_workspace_fk",
1525
+ "tableFrom": "project_files",
1526
+ "tableTo": "projects",
1527
+ "columnsFrom": [
1528
+ "project_id",
1529
+ "workspace_id"
1530
+ ],
1531
+ "columnsTo": [
1532
+ "id",
1533
+ "workspace_id"
1534
+ ],
1535
+ "onDelete": "cascade",
1536
+ "onUpdate": "no action"
1537
+ },
1538
+ "project_files_file_workspace_fk": {
1539
+ "name": "project_files_file_workspace_fk",
1540
+ "tableFrom": "project_files",
1541
+ "tableTo": "files",
1542
+ "columnsFrom": [
1543
+ "file_id",
1544
+ "workspace_id"
1545
+ ],
1546
+ "columnsTo": [
1547
+ "id",
1548
+ "workspace_id"
1549
+ ],
1550
+ "onDelete": "cascade",
1551
+ "onUpdate": "no action"
1552
+ }
1553
+ },
1554
+ "compositePrimaryKeys": {
1555
+ "project_files_project_id_file_id_pk": {
1556
+ "name": "project_files_project_id_file_id_pk",
1557
+ "columns": [
1558
+ "project_id",
1559
+ "file_id"
1560
+ ]
1561
+ }
1562
+ },
1563
+ "uniqueConstraints": {},
1564
+ "policies": {},
1565
+ "checkConstraints": {},
1566
+ "isRLSEnabled": false
1567
+ },
1568
+ "public.project_mcp_servers": {
1569
+ "name": "project_mcp_servers",
1570
+ "schema": "",
1571
+ "columns": {
1572
+ "workspace_id": {
1573
+ "name": "workspace_id",
1574
+ "type": "uuid",
1575
+ "primaryKey": false,
1576
+ "notNull": true
1577
+ },
1578
+ "project_id": {
1579
+ "name": "project_id",
1580
+ "type": "uuid",
1581
+ "primaryKey": false,
1582
+ "notNull": true
1583
+ },
1584
+ "mcp_server_id": {
1585
+ "name": "mcp_server_id",
1586
+ "type": "uuid",
1587
+ "primaryKey": false,
1588
+ "notNull": true
1589
+ }
1590
+ },
1591
+ "indexes": {
1592
+ "project_mcp_servers_workspace_idx": {
1593
+ "name": "project_mcp_servers_workspace_idx",
1594
+ "columns": [
1595
+ {
1596
+ "expression": "workspace_id",
1597
+ "isExpression": false,
1598
+ "asc": true,
1599
+ "nulls": "last"
1600
+ }
1601
+ ],
1602
+ "isUnique": false,
1603
+ "concurrently": false,
1604
+ "method": "btree",
1605
+ "with": {}
1606
+ }
1607
+ },
1608
+ "foreignKeys": {
1609
+ "project_mcp_servers_workspace_id_workspaces_id_fk": {
1610
+ "name": "project_mcp_servers_workspace_id_workspaces_id_fk",
1611
+ "tableFrom": "project_mcp_servers",
1612
+ "tableTo": "workspaces",
1613
+ "columnsFrom": [
1614
+ "workspace_id"
1615
+ ],
1616
+ "columnsTo": [
1617
+ "id"
1618
+ ],
1619
+ "onDelete": "cascade",
1620
+ "onUpdate": "no action"
1621
+ },
1622
+ "project_mcp_servers_project_workspace_fk": {
1623
+ "name": "project_mcp_servers_project_workspace_fk",
1624
+ "tableFrom": "project_mcp_servers",
1625
+ "tableTo": "projects",
1626
+ "columnsFrom": [
1627
+ "project_id",
1628
+ "workspace_id"
1629
+ ],
1630
+ "columnsTo": [
1631
+ "id",
1632
+ "workspace_id"
1633
+ ],
1634
+ "onDelete": "cascade",
1635
+ "onUpdate": "no action"
1636
+ },
1637
+ "project_mcp_servers_server_workspace_fk": {
1638
+ "name": "project_mcp_servers_server_workspace_fk",
1639
+ "tableFrom": "project_mcp_servers",
1640
+ "tableTo": "mcp_servers",
1641
+ "columnsFrom": [
1642
+ "mcp_server_id",
1643
+ "workspace_id"
1644
+ ],
1645
+ "columnsTo": [
1646
+ "id",
1647
+ "workspace_id"
1648
+ ],
1649
+ "onDelete": "cascade",
1650
+ "onUpdate": "no action"
1651
+ }
1652
+ },
1653
+ "compositePrimaryKeys": {
1654
+ "project_mcp_servers_project_id_mcp_server_id_pk": {
1655
+ "name": "project_mcp_servers_project_id_mcp_server_id_pk",
1656
+ "columns": [
1657
+ "project_id",
1658
+ "mcp_server_id"
1659
+ ]
1660
+ }
1661
+ },
1662
+ "uniqueConstraints": {},
1663
+ "policies": {},
1664
+ "checkConstraints": {},
1665
+ "isRLSEnabled": false
1666
+ },
1667
+ "public.projects": {
1668
+ "name": "projects",
1669
+ "schema": "",
1670
+ "columns": {
1671
+ "id": {
1672
+ "name": "id",
1673
+ "type": "uuid",
1674
+ "primaryKey": true,
1675
+ "notNull": true,
1676
+ "default": "gen_random_uuid()"
1677
+ },
1678
+ "workspace_id": {
1679
+ "name": "workspace_id",
1680
+ "type": "uuid",
1681
+ "primaryKey": false,
1682
+ "notNull": true
1683
+ },
1684
+ "name": {
1685
+ "name": "name",
1686
+ "type": "text",
1687
+ "primaryKey": false,
1688
+ "notNull": true
1689
+ },
1690
+ "instructions": {
1691
+ "name": "instructions",
1692
+ "type": "text",
1693
+ "primaryKey": false,
1694
+ "notNull": false
1695
+ },
1696
+ "default_agent_id": {
1697
+ "name": "default_agent_id",
1698
+ "type": "uuid",
1699
+ "primaryKey": false,
1700
+ "notNull": false
1701
+ },
1702
+ "visibility": {
1703
+ "name": "visibility",
1704
+ "type": "text",
1705
+ "primaryKey": false,
1706
+ "notNull": true,
1707
+ "default": "'private'"
1708
+ },
1709
+ "created_by": {
1710
+ "name": "created_by",
1711
+ "type": "uuid",
1712
+ "primaryKey": false,
1713
+ "notNull": true
1714
+ },
1715
+ "created_at": {
1716
+ "name": "created_at",
1717
+ "type": "timestamp with time zone",
1718
+ "primaryKey": false,
1719
+ "notNull": true,
1720
+ "default": "now()"
1721
+ },
1722
+ "updated_at": {
1723
+ "name": "updated_at",
1724
+ "type": "timestamp with time zone",
1725
+ "primaryKey": false,
1726
+ "notNull": true,
1727
+ "default": "now()"
1728
+ }
1729
+ },
1730
+ "indexes": {
1731
+ "projects_workspace_name_key": {
1732
+ "name": "projects_workspace_name_key",
1733
+ "columns": [
1734
+ {
1735
+ "expression": "workspace_id",
1736
+ "isExpression": false,
1737
+ "asc": true,
1738
+ "nulls": "last"
1739
+ },
1740
+ {
1741
+ "expression": "name",
1742
+ "isExpression": false,
1743
+ "asc": true,
1744
+ "nulls": "last"
1745
+ }
1746
+ ],
1747
+ "isUnique": true,
1748
+ "concurrently": false,
1749
+ "method": "btree",
1750
+ "with": {}
1751
+ },
1752
+ "projects_default_agent_idx": {
1753
+ "name": "projects_default_agent_idx",
1754
+ "columns": [
1755
+ {
1756
+ "expression": "default_agent_id",
1757
+ "isExpression": false,
1758
+ "asc": true,
1759
+ "nulls": "last"
1760
+ }
1761
+ ],
1762
+ "isUnique": false,
1763
+ "concurrently": false,
1764
+ "method": "btree",
1765
+ "with": {}
1766
+ }
1767
+ },
1768
+ "foreignKeys": {
1769
+ "projects_workspace_id_workspaces_id_fk": {
1770
+ "name": "projects_workspace_id_workspaces_id_fk",
1771
+ "tableFrom": "projects",
1772
+ "tableTo": "workspaces",
1773
+ "columnsFrom": [
1774
+ "workspace_id"
1775
+ ],
1776
+ "columnsTo": [
1777
+ "id"
1778
+ ],
1779
+ "onDelete": "cascade",
1780
+ "onUpdate": "no action"
1781
+ },
1782
+ "projects_created_by_users_id_fk": {
1783
+ "name": "projects_created_by_users_id_fk",
1784
+ "tableFrom": "projects",
1785
+ "tableTo": "users",
1786
+ "columnsFrom": [
1787
+ "created_by"
1788
+ ],
1789
+ "columnsTo": [
1790
+ "id"
1791
+ ],
1792
+ "onDelete": "restrict",
1793
+ "onUpdate": "no action"
1794
+ },
1795
+ "projects_default_agent_workspace_fk": {
1796
+ "name": "projects_default_agent_workspace_fk",
1797
+ "tableFrom": "projects",
1798
+ "tableTo": "agents",
1799
+ "columnsFrom": [
1800
+ "default_agent_id",
1801
+ "workspace_id"
1802
+ ],
1803
+ "columnsTo": [
1804
+ "id",
1805
+ "workspace_id"
1806
+ ],
1807
+ "onDelete": "set null",
1808
+ "onUpdate": "no action"
1809
+ }
1810
+ },
1811
+ "compositePrimaryKeys": {},
1812
+ "uniqueConstraints": {
1813
+ "projects_id_workspace_key": {
1814
+ "name": "projects_id_workspace_key",
1815
+ "nullsNotDistinct": false,
1816
+ "columns": [
1817
+ "id",
1818
+ "workspace_id"
1819
+ ]
1820
+ }
1821
+ },
1822
+ "policies": {},
1823
+ "checkConstraints": {
1824
+ "projects_visibility_valid": {
1825
+ "name": "projects_visibility_valid",
1826
+ "value": "\"projects\".\"visibility\" in ('private', 'workspace', 'public')"
1827
+ },
1828
+ "projects_name_not_blank": {
1829
+ "name": "projects_name_not_blank",
1830
+ "value": "length(btrim(\"projects\".\"name\")) > 0"
1831
+ }
1832
+ },
1833
+ "isRLSEnabled": false
1834
+ },
1835
+ "public.runs": {
1836
+ "name": "runs",
1837
+ "schema": "",
1838
+ "columns": {
1839
+ "id": {
1840
+ "name": "id",
1841
+ "type": "uuid",
1842
+ "primaryKey": true,
1843
+ "notNull": true,
1844
+ "default": "gen_random_uuid()"
1845
+ },
1846
+ "workspace_id": {
1847
+ "name": "workspace_id",
1848
+ "type": "uuid",
1849
+ "primaryKey": false,
1850
+ "notNull": true
1851
+ },
1852
+ "session_id": {
1853
+ "name": "session_id",
1854
+ "type": "uuid",
1855
+ "primaryKey": false,
1856
+ "notNull": true
1857
+ },
1858
+ "status": {
1859
+ "name": "status",
1860
+ "type": "text",
1861
+ "primaryKey": false,
1862
+ "notNull": true,
1863
+ "default": "'queued'"
1864
+ },
1865
+ "model": {
1866
+ "name": "model",
1867
+ "type": "text",
1868
+ "primaryKey": false,
1869
+ "notNull": false
1870
+ },
1871
+ "provider": {
1872
+ "name": "provider",
1873
+ "type": "text",
1874
+ "primaryKey": false,
1875
+ "notNull": false
1876
+ },
1877
+ "started_at": {
1878
+ "name": "started_at",
1879
+ "type": "timestamp with time zone",
1880
+ "primaryKey": false,
1881
+ "notNull": false
1882
+ },
1883
+ "ended_at": {
1884
+ "name": "ended_at",
1885
+ "type": "timestamp with time zone",
1886
+ "primaryKey": false,
1887
+ "notNull": false
1888
+ },
1889
+ "input_tokens": {
1890
+ "name": "input_tokens",
1891
+ "type": "integer",
1892
+ "primaryKey": false,
1893
+ "notNull": true,
1894
+ "default": 0
1895
+ },
1896
+ "output_tokens": {
1897
+ "name": "output_tokens",
1898
+ "type": "integer",
1899
+ "primaryKey": false,
1900
+ "notNull": true,
1901
+ "default": 0
1902
+ },
1903
+ "cost_usd": {
1904
+ "name": "cost_usd",
1905
+ "type": "numeric(14, 6)",
1906
+ "primaryKey": false,
1907
+ "notNull": true,
1908
+ "default": "'0'"
1909
+ },
1910
+ "tool_calls": {
1911
+ "name": "tool_calls",
1912
+ "type": "integer",
1913
+ "primaryKey": false,
1914
+ "notNull": true,
1915
+ "default": 0
1916
+ },
1917
+ "error": {
1918
+ "name": "error",
1919
+ "type": "text",
1920
+ "primaryKey": false,
1921
+ "notNull": false
1922
+ },
1923
+ "created_at": {
1924
+ "name": "created_at",
1925
+ "type": "timestamp with time zone",
1926
+ "primaryKey": false,
1927
+ "notNull": true,
1928
+ "default": "now()"
1929
+ },
1930
+ "updated_at": {
1931
+ "name": "updated_at",
1932
+ "type": "timestamp with time zone",
1933
+ "primaryKey": false,
1934
+ "notNull": true,
1935
+ "default": "now()"
1936
+ }
1937
+ },
1938
+ "indexes": {
1939
+ "runs_workspace_created_idx": {
1940
+ "name": "runs_workspace_created_idx",
1941
+ "columns": [
1942
+ {
1943
+ "expression": "workspace_id",
1944
+ "isExpression": false,
1945
+ "asc": true,
1946
+ "nulls": "last"
1947
+ },
1948
+ {
1949
+ "expression": "created_at",
1950
+ "isExpression": false,
1951
+ "asc": true,
1952
+ "nulls": "last"
1953
+ }
1954
+ ],
1955
+ "isUnique": false,
1956
+ "concurrently": false,
1957
+ "method": "btree",
1958
+ "with": {}
1959
+ },
1960
+ "runs_session_created_idx": {
1961
+ "name": "runs_session_created_idx",
1962
+ "columns": [
1963
+ {
1964
+ "expression": "session_id",
1965
+ "isExpression": false,
1966
+ "asc": true,
1967
+ "nulls": "last"
1968
+ },
1969
+ {
1970
+ "expression": "created_at",
1971
+ "isExpression": false,
1972
+ "asc": true,
1973
+ "nulls": "last"
1974
+ }
1975
+ ],
1976
+ "isUnique": false,
1977
+ "concurrently": false,
1978
+ "method": "btree",
1979
+ "with": {}
1980
+ }
1981
+ },
1982
+ "foreignKeys": {
1983
+ "runs_workspace_id_workspaces_id_fk": {
1984
+ "name": "runs_workspace_id_workspaces_id_fk",
1985
+ "tableFrom": "runs",
1986
+ "tableTo": "workspaces",
1987
+ "columnsFrom": [
1988
+ "workspace_id"
1989
+ ],
1990
+ "columnsTo": [
1991
+ "id"
1992
+ ],
1993
+ "onDelete": "cascade",
1994
+ "onUpdate": "no action"
1995
+ },
1996
+ "runs_session_workspace_fk": {
1997
+ "name": "runs_session_workspace_fk",
1998
+ "tableFrom": "runs",
1999
+ "tableTo": "sessions",
2000
+ "columnsFrom": [
2001
+ "session_id",
2002
+ "workspace_id"
2003
+ ],
2004
+ "columnsTo": [
2005
+ "id",
2006
+ "workspace_id"
2007
+ ],
2008
+ "onDelete": "cascade",
2009
+ "onUpdate": "no action"
2010
+ }
2011
+ },
2012
+ "compositePrimaryKeys": {},
2013
+ "uniqueConstraints": {},
2014
+ "policies": {},
2015
+ "checkConstraints": {
2016
+ "runs_status_valid": {
2017
+ "name": "runs_status_valid",
2018
+ "value": "\"runs\".\"status\" in ('queued', 'running', 'completed', 'failed', 'cancelled')"
2019
+ },
2020
+ "runs_provider_valid": {
2021
+ "name": "runs_provider_valid",
2022
+ "value": "\"runs\".\"provider\" in ('anthropic', 'anthropic-compatible', 'openai', 'azure-openai', 'openai-compatible')"
2023
+ },
2024
+ "runs_ended_at_iff_terminal": {
2025
+ "name": "runs_ended_at_iff_terminal",
2026
+ "value": "(\"runs\".\"status\" in ('completed', 'failed', 'cancelled')) = (\"runs\".\"ended_at\" is not null)"
2027
+ },
2028
+ "runs_ended_after_started": {
2029
+ "name": "runs_ended_after_started",
2030
+ "value": "\"runs\".\"ended_at\" is null or \"runs\".\"started_at\" is null or \"runs\".\"ended_at\" >= \"runs\".\"started_at\""
2031
+ },
2032
+ "runs_counters_non_negative": {
2033
+ "name": "runs_counters_non_negative",
2034
+ "value": "\"runs\".\"input_tokens\" >= 0 and \"runs\".\"output_tokens\" >= 0 and \"runs\".\"tool_calls\" >= 0 and \"runs\".\"cost_usd\" >= 0"
2035
+ }
2036
+ },
2037
+ "isRLSEnabled": false
2038
+ },
2039
+ "public.runtime_profiles": {
2040
+ "name": "runtime_profiles",
2041
+ "schema": "",
2042
+ "columns": {
2043
+ "id": {
2044
+ "name": "id",
2045
+ "type": "uuid",
2046
+ "primaryKey": true,
2047
+ "notNull": true,
2048
+ "default": "gen_random_uuid()"
2049
+ },
2050
+ "workspace_id": {
2051
+ "name": "workspace_id",
2052
+ "type": "uuid",
2053
+ "primaryKey": false,
2054
+ "notNull": true
2055
+ },
2056
+ "name": {
2057
+ "name": "name",
2058
+ "type": "text",
2059
+ "primaryKey": false,
2060
+ "notNull": true
2061
+ },
2062
+ "driver": {
2063
+ "name": "driver",
2064
+ "type": "text",
2065
+ "primaryKey": false,
2066
+ "notNull": true
2067
+ },
2068
+ "runtime_connection_id": {
2069
+ "name": "runtime_connection_id",
2070
+ "type": "uuid",
2071
+ "primaryKey": false,
2072
+ "notNull": false
2073
+ },
2074
+ "cpu": {
2075
+ "name": "cpu",
2076
+ "type": "integer",
2077
+ "primaryKey": false,
2078
+ "notNull": false
2079
+ },
2080
+ "memory_mb": {
2081
+ "name": "memory_mb",
2082
+ "type": "integer",
2083
+ "primaryKey": false,
2084
+ "notNull": false
2085
+ },
2086
+ "disk_mb": {
2087
+ "name": "disk_mb",
2088
+ "type": "integer",
2089
+ "primaryKey": false,
2090
+ "notNull": false
2091
+ },
2092
+ "network_policy": {
2093
+ "name": "network_policy",
2094
+ "type": "text",
2095
+ "primaryKey": false,
2096
+ "notNull": true
2097
+ },
2098
+ "allowed_domains": {
2099
+ "name": "allowed_domains",
2100
+ "type": "jsonb",
2101
+ "primaryKey": false,
2102
+ "notNull": false
2103
+ },
2104
+ "filesystem": {
2105
+ "name": "filesystem",
2106
+ "type": "text",
2107
+ "primaryKey": false,
2108
+ "notNull": true
2109
+ },
2110
+ "persist_paths": {
2111
+ "name": "persist_paths",
2112
+ "type": "jsonb",
2113
+ "primaryKey": false,
2114
+ "notNull": false
2115
+ },
2116
+ "timeout_seconds": {
2117
+ "name": "timeout_seconds",
2118
+ "type": "integer",
2119
+ "primaryKey": false,
2120
+ "notNull": false
2121
+ },
2122
+ "idle_timeout_seconds": {
2123
+ "name": "idle_timeout_seconds",
2124
+ "type": "integer",
2125
+ "primaryKey": false,
2126
+ "notNull": false
2127
+ },
2128
+ "driver_config": {
2129
+ "name": "driver_config",
2130
+ "type": "jsonb",
2131
+ "primaryKey": false,
2132
+ "notNull": false
2133
+ },
2134
+ "created_at": {
2135
+ "name": "created_at",
2136
+ "type": "timestamp with time zone",
2137
+ "primaryKey": false,
2138
+ "notNull": true,
2139
+ "default": "now()"
2140
+ },
2141
+ "updated_at": {
2142
+ "name": "updated_at",
2143
+ "type": "timestamp with time zone",
2144
+ "primaryKey": false,
2145
+ "notNull": true,
2146
+ "default": "now()"
2147
+ }
2148
+ },
2149
+ "indexes": {
2150
+ "runtime_profiles_workspace_name_key": {
2151
+ "name": "runtime_profiles_workspace_name_key",
2152
+ "columns": [
2153
+ {
2154
+ "expression": "workspace_id",
2155
+ "isExpression": false,
2156
+ "asc": true,
2157
+ "nulls": "last"
2158
+ },
2159
+ {
2160
+ "expression": "name",
2161
+ "isExpression": false,
2162
+ "asc": true,
2163
+ "nulls": "last"
2164
+ }
2165
+ ],
2166
+ "isUnique": true,
2167
+ "concurrently": false,
2168
+ "method": "btree",
2169
+ "with": {}
2170
+ },
2171
+ "runtime_profiles_runtime_connection_idx": {
2172
+ "name": "runtime_profiles_runtime_connection_idx",
2173
+ "columns": [
2174
+ {
2175
+ "expression": "runtime_connection_id",
2176
+ "isExpression": false,
2177
+ "asc": true,
2178
+ "nulls": "last"
2179
+ }
2180
+ ],
2181
+ "isUnique": false,
2182
+ "concurrently": false,
2183
+ "method": "btree",
2184
+ "with": {}
2185
+ }
2186
+ },
2187
+ "foreignKeys": {
2188
+ "runtime_profiles_workspace_id_workspaces_id_fk": {
2189
+ "name": "runtime_profiles_workspace_id_workspaces_id_fk",
2190
+ "tableFrom": "runtime_profiles",
2191
+ "tableTo": "workspaces",
2192
+ "columnsFrom": [
2193
+ "workspace_id"
2194
+ ],
2195
+ "columnsTo": [
2196
+ "id"
2197
+ ],
2198
+ "onDelete": "cascade",
2199
+ "onUpdate": "no action"
2200
+ },
2201
+ "runtime_profiles_runtime_connection_id_secrets_id_fk": {
2202
+ "name": "runtime_profiles_runtime_connection_id_secrets_id_fk",
2203
+ "tableFrom": "runtime_profiles",
2204
+ "tableTo": "secrets",
2205
+ "columnsFrom": [
2206
+ "runtime_connection_id"
2207
+ ],
2208
+ "columnsTo": [
2209
+ "id"
2210
+ ],
2211
+ "onDelete": "set null",
2212
+ "onUpdate": "no action"
2213
+ },
2214
+ "runtime_profiles_runtime_connection_workspace_fk": {
2215
+ "name": "runtime_profiles_runtime_connection_workspace_fk",
2216
+ "tableFrom": "runtime_profiles",
2217
+ "tableTo": "secrets",
2218
+ "columnsFrom": [
2219
+ "runtime_connection_id",
2220
+ "workspace_id"
2221
+ ],
2222
+ "columnsTo": [
2223
+ "id",
2224
+ "workspace_id"
2225
+ ],
2226
+ "onDelete": "no action",
2227
+ "onUpdate": "no action"
2228
+ }
2229
+ },
2230
+ "compositePrimaryKeys": {},
2231
+ "uniqueConstraints": {
2232
+ "runtime_profiles_id_workspace_key": {
2233
+ "name": "runtime_profiles_id_workspace_key",
2234
+ "nullsNotDistinct": false,
2235
+ "columns": [
2236
+ "id",
2237
+ "workspace_id"
2238
+ ]
2239
+ }
2240
+ },
2241
+ "policies": {},
2242
+ "checkConstraints": {
2243
+ "runtime_profiles_name_not_blank": {
2244
+ "name": "runtime_profiles_name_not_blank",
2245
+ "value": "length(btrim(\"runtime_profiles\".\"name\")) > 0"
2246
+ },
2247
+ "runtime_profiles_driver_valid": {
2248
+ "name": "runtime_profiles_driver_valid",
2249
+ "value": "\"runtime_profiles\".\"driver\" in ('local', 'sandbox-runtime', 'docker', 'kubernetes', 'gke-agent-sandbox', 'aca-sessions', 'aws-agentcore', 'aws-ecs', 'cloud-run-sandbox', 'external')"
2250
+ },
2251
+ "runtime_profiles_network_policy_valid": {
2252
+ "name": "runtime_profiles_network_policy_valid",
2253
+ "value": "\"runtime_profiles\".\"network_policy\" in ('none', 'restricted', 'open')"
2254
+ },
2255
+ "runtime_profiles_filesystem_valid": {
2256
+ "name": "runtime_profiles_filesystem_valid",
2257
+ "value": "\"runtime_profiles\".\"filesystem\" in ('read-only', 'read-write')"
2258
+ }
2259
+ },
2260
+ "isRLSEnabled": false
2261
+ },
2262
+ "public.secrets": {
2263
+ "name": "secrets",
2264
+ "schema": "",
2265
+ "columns": {
2266
+ "id": {
2267
+ "name": "id",
2268
+ "type": "uuid",
2269
+ "primaryKey": true,
2270
+ "notNull": true,
2271
+ "default": "gen_random_uuid()"
2272
+ },
2273
+ "workspace_id": {
2274
+ "name": "workspace_id",
2275
+ "type": "uuid",
2276
+ "primaryKey": false,
2277
+ "notNull": true
2278
+ },
2279
+ "name": {
2280
+ "name": "name",
2281
+ "type": "text",
2282
+ "primaryKey": false,
2283
+ "notNull": true
2284
+ },
2285
+ "algorithm": {
2286
+ "name": "algorithm",
2287
+ "type": "text",
2288
+ "primaryKey": false,
2289
+ "notNull": true
2290
+ },
2291
+ "master_key_id": {
2292
+ "name": "master_key_id",
2293
+ "type": "text",
2294
+ "primaryKey": false,
2295
+ "notNull": true
2296
+ },
2297
+ "wrapped_data_key": {
2298
+ "name": "wrapped_data_key",
2299
+ "type": "bytea",
2300
+ "primaryKey": false,
2301
+ "notNull": true
2302
+ },
2303
+ "wrapped_data_key_nonce": {
2304
+ "name": "wrapped_data_key_nonce",
2305
+ "type": "bytea",
2306
+ "primaryKey": false,
2307
+ "notNull": true
2308
+ },
2309
+ "wrapped_data_key_tag": {
2310
+ "name": "wrapped_data_key_tag",
2311
+ "type": "bytea",
2312
+ "primaryKey": false,
2313
+ "notNull": true
2314
+ },
2315
+ "ciphertext": {
2316
+ "name": "ciphertext",
2317
+ "type": "bytea",
2318
+ "primaryKey": false,
2319
+ "notNull": true
2320
+ },
2321
+ "ciphertext_nonce": {
2322
+ "name": "ciphertext_nonce",
2323
+ "type": "bytea",
2324
+ "primaryKey": false,
2325
+ "notNull": true
2326
+ },
2327
+ "ciphertext_tag": {
2328
+ "name": "ciphertext_tag",
2329
+ "type": "bytea",
2330
+ "primaryKey": false,
2331
+ "notNull": true
2332
+ },
2333
+ "created_at": {
2334
+ "name": "created_at",
2335
+ "type": "timestamp with time zone",
2336
+ "primaryKey": false,
2337
+ "notNull": true,
2338
+ "default": "now()"
2339
+ },
2340
+ "updated_at": {
2341
+ "name": "updated_at",
2342
+ "type": "timestamp with time zone",
2343
+ "primaryKey": false,
2344
+ "notNull": true,
2345
+ "default": "now()"
2346
+ }
2347
+ },
2348
+ "indexes": {
2349
+ "secrets_workspace_name_key": {
2350
+ "name": "secrets_workspace_name_key",
2351
+ "columns": [
2352
+ {
2353
+ "expression": "workspace_id",
2354
+ "isExpression": false,
2355
+ "asc": true,
2356
+ "nulls": "last"
2357
+ },
2358
+ {
2359
+ "expression": "name",
2360
+ "isExpression": false,
2361
+ "asc": true,
2362
+ "nulls": "last"
2363
+ }
2364
+ ],
2365
+ "isUnique": true,
2366
+ "concurrently": false,
2367
+ "method": "btree",
2368
+ "with": {}
2369
+ }
2370
+ },
2371
+ "foreignKeys": {
2372
+ "secrets_workspace_id_workspaces_id_fk": {
2373
+ "name": "secrets_workspace_id_workspaces_id_fk",
2374
+ "tableFrom": "secrets",
2375
+ "tableTo": "workspaces",
2376
+ "columnsFrom": [
2377
+ "workspace_id"
2378
+ ],
2379
+ "columnsTo": [
2380
+ "id"
2381
+ ],
2382
+ "onDelete": "cascade",
2383
+ "onUpdate": "no action"
2384
+ }
2385
+ },
2386
+ "compositePrimaryKeys": {},
2387
+ "uniqueConstraints": {
2388
+ "secrets_id_workspace_key": {
2389
+ "name": "secrets_id_workspace_key",
2390
+ "nullsNotDistinct": false,
2391
+ "columns": [
2392
+ "id",
2393
+ "workspace_id"
2394
+ ]
2395
+ }
2396
+ },
2397
+ "policies": {},
2398
+ "checkConstraints": {
2399
+ "secrets_name_shape": {
2400
+ "name": "secrets_name_shape",
2401
+ "value": "\"secrets\".\"name\" ~ '^[A-Z][A-Z0-9_]{0,127}$'"
2402
+ },
2403
+ "secrets_master_key_id_not_blank": {
2404
+ "name": "secrets_master_key_id_not_blank",
2405
+ "value": "length(btrim(\"secrets\".\"master_key_id\")) > 0"
2406
+ },
2407
+ "secrets_algorithm_valid": {
2408
+ "name": "secrets_algorithm_valid",
2409
+ "value": "\"secrets\".\"algorithm\" in ('aes-256-gcm')"
2410
+ },
2411
+ "secrets_wrapped_data_key_size": {
2412
+ "name": "secrets_wrapped_data_key_size",
2413
+ "value": "octet_length(\"secrets\".\"wrapped_data_key\") = 32"
2414
+ },
2415
+ "secrets_nonce_sizes": {
2416
+ "name": "secrets_nonce_sizes",
2417
+ "value": "octet_length(\"secrets\".\"wrapped_data_key_nonce\") = 12 and octet_length(\"secrets\".\"ciphertext_nonce\") = 12"
2418
+ },
2419
+ "secrets_tag_sizes": {
2420
+ "name": "secrets_tag_sizes",
2421
+ "value": "octet_length(\"secrets\".\"wrapped_data_key_tag\") = 16 and octet_length(\"secrets\".\"ciphertext_tag\") = 16"
2422
+ },
2423
+ "secrets_ciphertext_not_empty": {
2424
+ "name": "secrets_ciphertext_not_empty",
2425
+ "value": "octet_length(\"secrets\".\"ciphertext\") > 0"
2426
+ }
2427
+ },
2428
+ "isRLSEnabled": false
2429
+ },
2430
+ "public.sessions": {
2431
+ "name": "sessions",
2432
+ "schema": "",
2433
+ "columns": {
2434
+ "id": {
2435
+ "name": "id",
2436
+ "type": "uuid",
2437
+ "primaryKey": true,
2438
+ "notNull": true,
2439
+ "default": "gen_random_uuid()"
2440
+ },
2441
+ "workspace_id": {
2442
+ "name": "workspace_id",
2443
+ "type": "uuid",
2444
+ "primaryKey": false,
2445
+ "notNull": true
2446
+ },
2447
+ "user_id": {
2448
+ "name": "user_id",
2449
+ "type": "uuid",
2450
+ "primaryKey": false,
2451
+ "notNull": true
2452
+ },
2453
+ "agent_id": {
2454
+ "name": "agent_id",
2455
+ "type": "uuid",
2456
+ "primaryKey": false,
2457
+ "notNull": true
2458
+ },
2459
+ "project_id": {
2460
+ "name": "project_id",
2461
+ "type": "uuid",
2462
+ "primaryKey": false,
2463
+ "notNull": false
2464
+ },
2465
+ "claude_session_id": {
2466
+ "name": "claude_session_id",
2467
+ "type": "text",
2468
+ "primaryKey": false,
2469
+ "notNull": false
2470
+ },
2471
+ "title": {
2472
+ "name": "title",
2473
+ "type": "text",
2474
+ "primaryKey": false,
2475
+ "notNull": false
2476
+ },
2477
+ "status": {
2478
+ "name": "status",
2479
+ "type": "text",
2480
+ "primaryKey": false,
2481
+ "notNull": true,
2482
+ "default": "'active'"
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
+ "updated_at": {
2492
+ "name": "updated_at",
2493
+ "type": "timestamp with time zone",
2494
+ "primaryKey": false,
2495
+ "notNull": true,
2496
+ "default": "now()"
2497
+ }
2498
+ },
2499
+ "indexes": {
2500
+ "sessions_workspace_updated_idx": {
2501
+ "name": "sessions_workspace_updated_idx",
2502
+ "columns": [
2503
+ {
2504
+ "expression": "workspace_id",
2505
+ "isExpression": false,
2506
+ "asc": true,
2507
+ "nulls": "last"
2508
+ },
2509
+ {
2510
+ "expression": "updated_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
+ "sessions_workspace_claude_session_key": {
2522
+ "name": "sessions_workspace_claude_session_key",
2523
+ "columns": [
2524
+ {
2525
+ "expression": "workspace_id",
2526
+ "isExpression": false,
2527
+ "asc": true,
2528
+ "nulls": "last"
2529
+ },
2530
+ {
2531
+ "expression": "claude_session_id",
2532
+ "isExpression": false,
2533
+ "asc": true,
2534
+ "nulls": "last"
2535
+ }
2536
+ ],
2537
+ "isUnique": true,
2538
+ "concurrently": false,
2539
+ "method": "btree",
2540
+ "with": {}
2541
+ },
2542
+ "sessions_agent_idx": {
2543
+ "name": "sessions_agent_idx",
2544
+ "columns": [
2545
+ {
2546
+ "expression": "agent_id",
2547
+ "isExpression": false,
2548
+ "asc": true,
2549
+ "nulls": "last"
2550
+ }
2551
+ ],
2552
+ "isUnique": false,
2553
+ "concurrently": false,
2554
+ "method": "btree",
2555
+ "with": {}
2556
+ },
2557
+ "sessions_project_idx": {
2558
+ "name": "sessions_project_idx",
2559
+ "columns": [
2560
+ {
2561
+ "expression": "project_id",
2562
+ "isExpression": false,
2563
+ "asc": true,
2564
+ "nulls": "last"
2565
+ }
2566
+ ],
2567
+ "isUnique": false,
2568
+ "concurrently": false,
2569
+ "method": "btree",
2570
+ "with": {}
2571
+ },
2572
+ "sessions_user_idx": {
2573
+ "name": "sessions_user_idx",
2574
+ "columns": [
2575
+ {
2576
+ "expression": "user_id",
2577
+ "isExpression": false,
2578
+ "asc": true,
2579
+ "nulls": "last"
2580
+ }
2581
+ ],
2582
+ "isUnique": false,
2583
+ "concurrently": false,
2584
+ "method": "btree",
2585
+ "with": {}
2586
+ }
2587
+ },
2588
+ "foreignKeys": {
2589
+ "sessions_workspace_id_workspaces_id_fk": {
2590
+ "name": "sessions_workspace_id_workspaces_id_fk",
2591
+ "tableFrom": "sessions",
2592
+ "tableTo": "workspaces",
2593
+ "columnsFrom": [
2594
+ "workspace_id"
2595
+ ],
2596
+ "columnsTo": [
2597
+ "id"
2598
+ ],
2599
+ "onDelete": "cascade",
2600
+ "onUpdate": "no action"
2601
+ },
2602
+ "sessions_user_id_users_id_fk": {
2603
+ "name": "sessions_user_id_users_id_fk",
2604
+ "tableFrom": "sessions",
2605
+ "tableTo": "users",
2606
+ "columnsFrom": [
2607
+ "user_id"
2608
+ ],
2609
+ "columnsTo": [
2610
+ "id"
2611
+ ],
2612
+ "onDelete": "restrict",
2613
+ "onUpdate": "no action"
2614
+ },
2615
+ "sessions_agent_workspace_fk": {
2616
+ "name": "sessions_agent_workspace_fk",
2617
+ "tableFrom": "sessions",
2618
+ "tableTo": "agents",
2619
+ "columnsFrom": [
2620
+ "agent_id",
2621
+ "workspace_id"
2622
+ ],
2623
+ "columnsTo": [
2624
+ "id",
2625
+ "workspace_id"
2626
+ ],
2627
+ "onDelete": "cascade",
2628
+ "onUpdate": "no action"
2629
+ },
2630
+ "sessions_project_workspace_fk": {
2631
+ "name": "sessions_project_workspace_fk",
2632
+ "tableFrom": "sessions",
2633
+ "tableTo": "projects",
2634
+ "columnsFrom": [
2635
+ "project_id",
2636
+ "workspace_id"
2637
+ ],
2638
+ "columnsTo": [
2639
+ "id",
2640
+ "workspace_id"
2641
+ ],
2642
+ "onDelete": "set null",
2643
+ "onUpdate": "no action"
2644
+ },
2645
+ "sessions_member_workspace_fk": {
2646
+ "name": "sessions_member_workspace_fk",
2647
+ "tableFrom": "sessions",
2648
+ "tableTo": "memberships",
2649
+ "columnsFrom": [
2650
+ "workspace_id",
2651
+ "user_id"
2652
+ ],
2653
+ "columnsTo": [
2654
+ "workspace_id",
2655
+ "user_id"
2656
+ ],
2657
+ "onDelete": "no action",
2658
+ "onUpdate": "no action"
2659
+ }
2660
+ },
2661
+ "compositePrimaryKeys": {},
2662
+ "uniqueConstraints": {
2663
+ "sessions_id_workspace_key": {
2664
+ "name": "sessions_id_workspace_key",
2665
+ "nullsNotDistinct": false,
2666
+ "columns": [
2667
+ "id",
2668
+ "workspace_id"
2669
+ ]
2670
+ }
2671
+ },
2672
+ "policies": {},
2673
+ "checkConstraints": {
2674
+ "sessions_status_valid": {
2675
+ "name": "sessions_status_valid",
2676
+ "value": "\"sessions\".\"status\" in ('active', 'archived')"
2677
+ }
2678
+ },
2679
+ "isRLSEnabled": false
2680
+ },
2681
+ "public.share_views": {
2682
+ "name": "share_views",
2683
+ "schema": "",
2684
+ "columns": {
2685
+ "id": {
2686
+ "name": "id",
2687
+ "type": "uuid",
2688
+ "primaryKey": true,
2689
+ "notNull": true,
2690
+ "default": "gen_random_uuid()"
2691
+ },
2692
+ "workspace_id": {
2693
+ "name": "workspace_id",
2694
+ "type": "uuid",
2695
+ "primaryKey": false,
2696
+ "notNull": true
2697
+ },
2698
+ "share_id": {
2699
+ "name": "share_id",
2700
+ "type": "uuid",
2701
+ "primaryKey": false,
2702
+ "notNull": true
2703
+ },
2704
+ "visitor_key": {
2705
+ "name": "visitor_key",
2706
+ "type": "text",
2707
+ "primaryKey": false,
2708
+ "notNull": false
2709
+ },
2710
+ "created_at": {
2711
+ "name": "created_at",
2712
+ "type": "timestamp with time zone",
2713
+ "primaryKey": false,
2714
+ "notNull": true,
2715
+ "default": "now()"
2716
+ }
2717
+ },
2718
+ "indexes": {
2719
+ "share_views_workspace_share_created_idx": {
2720
+ "name": "share_views_workspace_share_created_idx",
2721
+ "columns": [
2722
+ {
2723
+ "expression": "workspace_id",
2724
+ "isExpression": false,
2725
+ "asc": true,
2726
+ "nulls": "last"
2727
+ },
2728
+ {
2729
+ "expression": "share_id",
2730
+ "isExpression": false,
2731
+ "asc": true,
2732
+ "nulls": "last"
2733
+ },
2734
+ {
2735
+ "expression": "created_at",
2736
+ "isExpression": false,
2737
+ "asc": true,
2738
+ "nulls": "last"
2739
+ }
2740
+ ],
2741
+ "isUnique": false,
2742
+ "concurrently": false,
2743
+ "method": "btree",
2744
+ "with": {}
2745
+ }
2746
+ },
2747
+ "foreignKeys": {
2748
+ "share_views_workspace_id_workspaces_id_fk": {
2749
+ "name": "share_views_workspace_id_workspaces_id_fk",
2750
+ "tableFrom": "share_views",
2751
+ "tableTo": "workspaces",
2752
+ "columnsFrom": [
2753
+ "workspace_id"
2754
+ ],
2755
+ "columnsTo": [
2756
+ "id"
2757
+ ],
2758
+ "onDelete": "cascade",
2759
+ "onUpdate": "no action"
2760
+ },
2761
+ "share_views_share_workspace_fk": {
2762
+ "name": "share_views_share_workspace_fk",
2763
+ "tableFrom": "share_views",
2764
+ "tableTo": "shares",
2765
+ "columnsFrom": [
2766
+ "share_id",
2767
+ "workspace_id"
2768
+ ],
2769
+ "columnsTo": [
2770
+ "id",
2771
+ "workspace_id"
2772
+ ],
2773
+ "onDelete": "cascade",
2774
+ "onUpdate": "no action"
2775
+ }
2776
+ },
2777
+ "compositePrimaryKeys": {},
2778
+ "uniqueConstraints": {},
2779
+ "policies": {},
2780
+ "checkConstraints": {},
2781
+ "isRLSEnabled": false
2782
+ },
2783
+ "public.shares": {
2784
+ "name": "shares",
2785
+ "schema": "",
2786
+ "columns": {
2787
+ "id": {
2788
+ "name": "id",
2789
+ "type": "uuid",
2790
+ "primaryKey": true,
2791
+ "notNull": true,
2792
+ "default": "gen_random_uuid()"
2793
+ },
2794
+ "workspace_id": {
2795
+ "name": "workspace_id",
2796
+ "type": "uuid",
2797
+ "primaryKey": false,
2798
+ "notNull": true
2799
+ },
2800
+ "token": {
2801
+ "name": "token",
2802
+ "type": "text",
2803
+ "primaryKey": false,
2804
+ "notNull": true
2805
+ },
2806
+ "subject_type": {
2807
+ "name": "subject_type",
2808
+ "type": "text",
2809
+ "primaryKey": false,
2810
+ "notNull": true
2811
+ },
2812
+ "subject_id": {
2813
+ "name": "subject_id",
2814
+ "type": "text",
2815
+ "primaryKey": false,
2816
+ "notNull": true
2817
+ },
2818
+ "subject_label": {
2819
+ "name": "subject_label",
2820
+ "type": "text",
2821
+ "primaryKey": false,
2822
+ "notNull": true
2823
+ },
2824
+ "visibility": {
2825
+ "name": "visibility",
2826
+ "type": "text",
2827
+ "primaryKey": false,
2828
+ "notNull": true
2829
+ },
2830
+ "mode": {
2831
+ "name": "mode",
2832
+ "type": "text",
2833
+ "primaryKey": false,
2834
+ "notNull": false
2835
+ },
2836
+ "snapshot": {
2837
+ "name": "snapshot",
2838
+ "type": "jsonb",
2839
+ "primaryKey": false,
2840
+ "notNull": false
2841
+ },
2842
+ "include": {
2843
+ "name": "include",
2844
+ "type": "jsonb",
2845
+ "primaryKey": false,
2846
+ "notNull": true,
2847
+ "default": "'{}'::jsonb"
2848
+ },
2849
+ "budget_cap_usd": {
2850
+ "name": "budget_cap_usd",
2851
+ "type": "numeric(12, 4)",
2852
+ "primaryKey": false,
2853
+ "notNull": false
2854
+ },
2855
+ "spent_usd": {
2856
+ "name": "spent_usd",
2857
+ "type": "numeric(12, 4)",
2858
+ "primaryKey": false,
2859
+ "notNull": true,
2860
+ "default": "'0'"
2861
+ },
2862
+ "stopped": {
2863
+ "name": "stopped",
2864
+ "type": "boolean",
2865
+ "primaryKey": false,
2866
+ "notNull": true,
2867
+ "default": false
2868
+ },
2869
+ "expires_at": {
2870
+ "name": "expires_at",
2871
+ "type": "timestamp with time zone",
2872
+ "primaryKey": false,
2873
+ "notNull": false
2874
+ },
2875
+ "passphrase_hash": {
2876
+ "name": "passphrase_hash",
2877
+ "type": "text",
2878
+ "primaryKey": false,
2879
+ "notNull": false
2880
+ },
2881
+ "created_by": {
2882
+ "name": "created_by",
2883
+ "type": "uuid",
2884
+ "primaryKey": false,
2885
+ "notNull": true
2886
+ },
2887
+ "revoked_at": {
2888
+ "name": "revoked_at",
2889
+ "type": "timestamp with time zone",
2890
+ "primaryKey": false,
2891
+ "notNull": false
2892
+ },
2893
+ "suspended_at": {
2894
+ "name": "suspended_at",
2895
+ "type": "timestamp with time zone",
2896
+ "primaryKey": false,
2897
+ "notNull": false
2898
+ },
2899
+ "created_at": {
2900
+ "name": "created_at",
2901
+ "type": "timestamp with time zone",
2902
+ "primaryKey": false,
2903
+ "notNull": true,
2904
+ "default": "now()"
2905
+ }
2906
+ },
2907
+ "indexes": {
2908
+ "shares_workspace_created_idx": {
2909
+ "name": "shares_workspace_created_idx",
2910
+ "columns": [
2911
+ {
2912
+ "expression": "workspace_id",
2913
+ "isExpression": false,
2914
+ "asc": true,
2915
+ "nulls": "last"
2916
+ },
2917
+ {
2918
+ "expression": "created_at",
2919
+ "isExpression": false,
2920
+ "asc": true,
2921
+ "nulls": "last"
2922
+ }
2923
+ ],
2924
+ "isUnique": false,
2925
+ "concurrently": false,
2926
+ "method": "btree",
2927
+ "with": {}
2928
+ }
2929
+ },
2930
+ "foreignKeys": {
2931
+ "shares_workspace_id_workspaces_id_fk": {
2932
+ "name": "shares_workspace_id_workspaces_id_fk",
2933
+ "tableFrom": "shares",
2934
+ "tableTo": "workspaces",
2935
+ "columnsFrom": [
2936
+ "workspace_id"
2937
+ ],
2938
+ "columnsTo": [
2939
+ "id"
2940
+ ],
2941
+ "onDelete": "cascade",
2942
+ "onUpdate": "no action"
2943
+ },
2944
+ "shares_created_by_users_id_fk": {
2945
+ "name": "shares_created_by_users_id_fk",
2946
+ "tableFrom": "shares",
2947
+ "tableTo": "users",
2948
+ "columnsFrom": [
2949
+ "created_by"
2950
+ ],
2951
+ "columnsTo": [
2952
+ "id"
2953
+ ],
2954
+ "onDelete": "restrict",
2955
+ "onUpdate": "no action"
2956
+ },
2957
+ "shares_creator_workspace_fk": {
2958
+ "name": "shares_creator_workspace_fk",
2959
+ "tableFrom": "shares",
2960
+ "tableTo": "memberships",
2961
+ "columnsFrom": [
2962
+ "workspace_id",
2963
+ "created_by"
2964
+ ],
2965
+ "columnsTo": [
2966
+ "workspace_id",
2967
+ "user_id"
2968
+ ],
2969
+ "onDelete": "no action",
2970
+ "onUpdate": "no action"
2971
+ }
2972
+ },
2973
+ "compositePrimaryKeys": {},
2974
+ "uniqueConstraints": {
2975
+ "shares_id_workspace_key": {
2976
+ "name": "shares_id_workspace_key",
2977
+ "nullsNotDistinct": false,
2978
+ "columns": [
2979
+ "id",
2980
+ "workspace_id"
2981
+ ]
2982
+ },
2983
+ "shares_token_key": {
2984
+ "name": "shares_token_key",
2985
+ "nullsNotDistinct": false,
2986
+ "columns": [
2987
+ "token"
2988
+ ]
2989
+ }
2990
+ },
2991
+ "policies": {},
2992
+ "checkConstraints": {
2993
+ "shares_subject_type_valid": {
2994
+ "name": "shares_subject_type_valid",
2995
+ "value": "\"shares\".\"subject_type\" in ('agent', 'session', 'project', 'skill')"
2996
+ },
2997
+ "shares_visibility_valid": {
2998
+ "name": "shares_visibility_valid",
2999
+ "value": "\"shares\".\"visibility\" in ('private', 'workspace', 'public')"
3000
+ },
3001
+ "shares_mode_valid": {
3002
+ "name": "shares_mode_valid",
3003
+ "value": "\"shares\".\"mode\" is null or \"shares\".\"mode\" in ('definition', 'runnable')"
3004
+ },
3005
+ "shares_agent_mode_only": {
3006
+ "name": "shares_agent_mode_only",
3007
+ "value": "\"shares\".\"mode\" is null or \"shares\".\"subject_type\" = 'agent'"
3008
+ },
3009
+ "shares_budget_nonnegative": {
3010
+ "name": "shares_budget_nonnegative",
3011
+ "value": "\"shares\".\"budget_cap_usd\" is null or \"shares\".\"budget_cap_usd\" >= 0"
3012
+ },
3013
+ "shares_spend_nonnegative": {
3014
+ "name": "shares_spend_nonnegative",
3015
+ "value": "\"shares\".\"spent_usd\" >= 0"
3016
+ },
3017
+ "shares_subject_id_not_blank": {
3018
+ "name": "shares_subject_id_not_blank",
3019
+ "value": "length(btrim(\"shares\".\"subject_id\")) > 0"
3020
+ }
3021
+ },
3022
+ "isRLSEnabled": false
3023
+ },
3024
+ "public.skills": {
3025
+ "name": "skills",
3026
+ "schema": "",
3027
+ "columns": {
3028
+ "id": {
3029
+ "name": "id",
3030
+ "type": "uuid",
3031
+ "primaryKey": true,
3032
+ "notNull": true,
3033
+ "default": "gen_random_uuid()"
3034
+ },
3035
+ "workspace_id": {
3036
+ "name": "workspace_id",
3037
+ "type": "uuid",
3038
+ "primaryKey": false,
3039
+ "notNull": true
3040
+ },
3041
+ "name": {
3042
+ "name": "name",
3043
+ "type": "text",
3044
+ "primaryKey": false,
3045
+ "notNull": true
3046
+ },
3047
+ "skill_md": {
3048
+ "name": "skill_md",
3049
+ "type": "text",
3050
+ "primaryKey": false,
3051
+ "notNull": true
3052
+ },
3053
+ "enabled": {
3054
+ "name": "enabled",
3055
+ "type": "boolean",
3056
+ "primaryKey": false,
3057
+ "notNull": true,
3058
+ "default": true
3059
+ },
3060
+ "created_at": {
3061
+ "name": "created_at",
3062
+ "type": "timestamp with time zone",
3063
+ "primaryKey": false,
3064
+ "notNull": true,
3065
+ "default": "now()"
3066
+ },
3067
+ "updated_at": {
3068
+ "name": "updated_at",
3069
+ "type": "timestamp with time zone",
3070
+ "primaryKey": false,
3071
+ "notNull": true,
3072
+ "default": "now()"
3073
+ }
3074
+ },
3075
+ "indexes": {
3076
+ "skills_workspace_name_key": {
3077
+ "name": "skills_workspace_name_key",
3078
+ "columns": [
3079
+ {
3080
+ "expression": "workspace_id",
3081
+ "isExpression": false,
3082
+ "asc": true,
3083
+ "nulls": "last"
3084
+ },
3085
+ {
3086
+ "expression": "name",
3087
+ "isExpression": false,
3088
+ "asc": true,
3089
+ "nulls": "last"
3090
+ }
3091
+ ],
3092
+ "isUnique": true,
3093
+ "concurrently": false,
3094
+ "method": "btree",
3095
+ "with": {}
3096
+ }
3097
+ },
3098
+ "foreignKeys": {
3099
+ "skills_workspace_id_workspaces_id_fk": {
3100
+ "name": "skills_workspace_id_workspaces_id_fk",
3101
+ "tableFrom": "skills",
3102
+ "tableTo": "workspaces",
3103
+ "columnsFrom": [
3104
+ "workspace_id"
3105
+ ],
3106
+ "columnsTo": [
3107
+ "id"
3108
+ ],
3109
+ "onDelete": "cascade",
3110
+ "onUpdate": "no action"
3111
+ }
3112
+ },
3113
+ "compositePrimaryKeys": {},
3114
+ "uniqueConstraints": {
3115
+ "skills_id_workspace_key": {
3116
+ "name": "skills_id_workspace_key",
3117
+ "nullsNotDistinct": false,
3118
+ "columns": [
3119
+ "id",
3120
+ "workspace_id"
3121
+ ]
3122
+ }
3123
+ },
3124
+ "policies": {},
3125
+ "checkConstraints": {
3126
+ "skills_name_shape": {
3127
+ "name": "skills_name_shape",
3128
+ "value": "\"skills\".\"name\" ~ '^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$'"
3129
+ },
3130
+ "skills_skill_md_not_blank": {
3131
+ "name": "skills_skill_md_not_blank",
3132
+ "value": "length(btrim(\"skills\".\"skill_md\")) > 0"
3133
+ }
3134
+ },
3135
+ "isRLSEnabled": false
3136
+ },
3137
+ "public.users": {
3138
+ "name": "users",
3139
+ "schema": "",
3140
+ "columns": {
3141
+ "id": {
3142
+ "name": "id",
3143
+ "type": "uuid",
3144
+ "primaryKey": true,
3145
+ "notNull": true,
3146
+ "default": "gen_random_uuid()"
3147
+ },
3148
+ "email": {
3149
+ "name": "email",
3150
+ "type": "text",
3151
+ "primaryKey": false,
3152
+ "notNull": true
3153
+ },
3154
+ "name": {
3155
+ "name": "name",
3156
+ "type": "text",
3157
+ "primaryKey": false,
3158
+ "notNull": true
3159
+ },
3160
+ "created_at": {
3161
+ "name": "created_at",
3162
+ "type": "timestamp with time zone",
3163
+ "primaryKey": false,
3164
+ "notNull": true,
3165
+ "default": "now()"
3166
+ },
3167
+ "updated_at": {
3168
+ "name": "updated_at",
3169
+ "type": "timestamp with time zone",
3170
+ "primaryKey": false,
3171
+ "notNull": true,
3172
+ "default": "now()"
3173
+ }
3174
+ },
3175
+ "indexes": {
3176
+ "users_email_key": {
3177
+ "name": "users_email_key",
3178
+ "columns": [
3179
+ {
3180
+ "expression": "email",
3181
+ "isExpression": false,
3182
+ "asc": true,
3183
+ "nulls": "last"
3184
+ }
3185
+ ],
3186
+ "isUnique": true,
3187
+ "concurrently": false,
3188
+ "method": "btree",
3189
+ "with": {}
3190
+ }
3191
+ },
3192
+ "foreignKeys": {},
3193
+ "compositePrimaryKeys": {},
3194
+ "uniqueConstraints": {},
3195
+ "policies": {},
3196
+ "checkConstraints": {
3197
+ "users_email_lowercase": {
3198
+ "name": "users_email_lowercase",
3199
+ "value": "\"users\".\"email\" = lower(\"users\".\"email\")"
3200
+ },
3201
+ "users_email_shape": {
3202
+ "name": "users_email_shape",
3203
+ "value": "\"users\".\"email\" ~ '^[^[:space:]@]+@[^[:space:]@]+[.][^[:space:]@]+$'"
3204
+ },
3205
+ "users_name_not_blank": {
3206
+ "name": "users_name_not_blank",
3207
+ "value": "length(btrim(\"users\".\"name\")) > 0"
3208
+ }
3209
+ },
3210
+ "isRLSEnabled": false
3211
+ },
3212
+ "public.workspaces": {
3213
+ "name": "workspaces",
3214
+ "schema": "",
3215
+ "columns": {
3216
+ "id": {
3217
+ "name": "id",
3218
+ "type": "uuid",
3219
+ "primaryKey": true,
3220
+ "notNull": true,
3221
+ "default": "gen_random_uuid()"
3222
+ },
3223
+ "slug": {
3224
+ "name": "slug",
3225
+ "type": "text",
3226
+ "primaryKey": false,
3227
+ "notNull": true
3228
+ },
3229
+ "name": {
3230
+ "name": "name",
3231
+ "type": "text",
3232
+ "primaryKey": false,
3233
+ "notNull": true
3234
+ },
3235
+ "created_at": {
3236
+ "name": "created_at",
3237
+ "type": "timestamp with time zone",
3238
+ "primaryKey": false,
3239
+ "notNull": true,
3240
+ "default": "now()"
3241
+ },
3242
+ "updated_at": {
3243
+ "name": "updated_at",
3244
+ "type": "timestamp with time zone",
3245
+ "primaryKey": false,
3246
+ "notNull": true,
3247
+ "default": "now()"
3248
+ }
3249
+ },
3250
+ "indexes": {
3251
+ "workspaces_slug_key": {
3252
+ "name": "workspaces_slug_key",
3253
+ "columns": [
3254
+ {
3255
+ "expression": "slug",
3256
+ "isExpression": false,
3257
+ "asc": true,
3258
+ "nulls": "last"
3259
+ }
3260
+ ],
3261
+ "isUnique": true,
3262
+ "concurrently": false,
3263
+ "method": "btree",
3264
+ "with": {}
3265
+ }
3266
+ },
3267
+ "foreignKeys": {},
3268
+ "compositePrimaryKeys": {},
3269
+ "uniqueConstraints": {},
3270
+ "policies": {},
3271
+ "checkConstraints": {
3272
+ "workspaces_slug_format": {
3273
+ "name": "workspaces_slug_format",
3274
+ "value": "\"workspaces\".\"slug\" ~ '^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$'"
3275
+ },
3276
+ "workspaces_name_not_blank": {
3277
+ "name": "workspaces_name_not_blank",
3278
+ "value": "length(btrim(\"workspaces\".\"name\")) > 0"
3279
+ }
3280
+ },
3281
+ "isRLSEnabled": false
3282
+ }
3283
+ },
3284
+ "enums": {},
3285
+ "schemas": {},
3286
+ "sequences": {},
3287
+ "roles": {},
3288
+ "policies": {},
3289
+ "views": {},
3290
+ "_meta": {
3291
+ "columns": {},
3292
+ "schemas": {},
3293
+ "tables": {}
3294
+ }
3295
+ }