@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,2550 @@
1
+ {
2
+ "id": "8b3cbc11-3b02-40d4-8881-82b94c10c8fb",
3
+ "prevId": "6a738a17-3bd3-43aa-9f10-f237fab9fbb3",
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.runs": {
1470
+ "name": "runs",
1471
+ "schema": "",
1472
+ "columns": {
1473
+ "id": {
1474
+ "name": "id",
1475
+ "type": "uuid",
1476
+ "primaryKey": true,
1477
+ "notNull": true,
1478
+ "default": "gen_random_uuid()"
1479
+ },
1480
+ "workspace_id": {
1481
+ "name": "workspace_id",
1482
+ "type": "uuid",
1483
+ "primaryKey": false,
1484
+ "notNull": true
1485
+ },
1486
+ "session_id": {
1487
+ "name": "session_id",
1488
+ "type": "uuid",
1489
+ "primaryKey": false,
1490
+ "notNull": true
1491
+ },
1492
+ "status": {
1493
+ "name": "status",
1494
+ "type": "text",
1495
+ "primaryKey": false,
1496
+ "notNull": true,
1497
+ "default": "'queued'"
1498
+ },
1499
+ "model": {
1500
+ "name": "model",
1501
+ "type": "text",
1502
+ "primaryKey": false,
1503
+ "notNull": false
1504
+ },
1505
+ "provider": {
1506
+ "name": "provider",
1507
+ "type": "text",
1508
+ "primaryKey": false,
1509
+ "notNull": false
1510
+ },
1511
+ "started_at": {
1512
+ "name": "started_at",
1513
+ "type": "timestamp with time zone",
1514
+ "primaryKey": false,
1515
+ "notNull": false
1516
+ },
1517
+ "ended_at": {
1518
+ "name": "ended_at",
1519
+ "type": "timestamp with time zone",
1520
+ "primaryKey": false,
1521
+ "notNull": false
1522
+ },
1523
+ "input_tokens": {
1524
+ "name": "input_tokens",
1525
+ "type": "integer",
1526
+ "primaryKey": false,
1527
+ "notNull": true,
1528
+ "default": 0
1529
+ },
1530
+ "output_tokens": {
1531
+ "name": "output_tokens",
1532
+ "type": "integer",
1533
+ "primaryKey": false,
1534
+ "notNull": true,
1535
+ "default": 0
1536
+ },
1537
+ "cost_usd": {
1538
+ "name": "cost_usd",
1539
+ "type": "numeric(14, 6)",
1540
+ "primaryKey": false,
1541
+ "notNull": true,
1542
+ "default": "'0'"
1543
+ },
1544
+ "tool_calls": {
1545
+ "name": "tool_calls",
1546
+ "type": "integer",
1547
+ "primaryKey": false,
1548
+ "notNull": true,
1549
+ "default": 0
1550
+ },
1551
+ "error": {
1552
+ "name": "error",
1553
+ "type": "text",
1554
+ "primaryKey": false,
1555
+ "notNull": false
1556
+ },
1557
+ "created_at": {
1558
+ "name": "created_at",
1559
+ "type": "timestamp with time zone",
1560
+ "primaryKey": false,
1561
+ "notNull": true,
1562
+ "default": "now()"
1563
+ },
1564
+ "updated_at": {
1565
+ "name": "updated_at",
1566
+ "type": "timestamp with time zone",
1567
+ "primaryKey": false,
1568
+ "notNull": true,
1569
+ "default": "now()"
1570
+ }
1571
+ },
1572
+ "indexes": {
1573
+ "runs_workspace_created_idx": {
1574
+ "name": "runs_workspace_created_idx",
1575
+ "columns": [
1576
+ {
1577
+ "expression": "workspace_id",
1578
+ "isExpression": false,
1579
+ "asc": true,
1580
+ "nulls": "last"
1581
+ },
1582
+ {
1583
+ "expression": "created_at",
1584
+ "isExpression": false,
1585
+ "asc": true,
1586
+ "nulls": "last"
1587
+ }
1588
+ ],
1589
+ "isUnique": false,
1590
+ "concurrently": false,
1591
+ "method": "btree",
1592
+ "with": {}
1593
+ },
1594
+ "runs_session_created_idx": {
1595
+ "name": "runs_session_created_idx",
1596
+ "columns": [
1597
+ {
1598
+ "expression": "session_id",
1599
+ "isExpression": false,
1600
+ "asc": true,
1601
+ "nulls": "last"
1602
+ },
1603
+ {
1604
+ "expression": "created_at",
1605
+ "isExpression": false,
1606
+ "asc": true,
1607
+ "nulls": "last"
1608
+ }
1609
+ ],
1610
+ "isUnique": false,
1611
+ "concurrently": false,
1612
+ "method": "btree",
1613
+ "with": {}
1614
+ }
1615
+ },
1616
+ "foreignKeys": {
1617
+ "runs_workspace_id_workspaces_id_fk": {
1618
+ "name": "runs_workspace_id_workspaces_id_fk",
1619
+ "tableFrom": "runs",
1620
+ "tableTo": "workspaces",
1621
+ "columnsFrom": [
1622
+ "workspace_id"
1623
+ ],
1624
+ "columnsTo": [
1625
+ "id"
1626
+ ],
1627
+ "onDelete": "cascade",
1628
+ "onUpdate": "no action"
1629
+ },
1630
+ "runs_session_workspace_fk": {
1631
+ "name": "runs_session_workspace_fk",
1632
+ "tableFrom": "runs",
1633
+ "tableTo": "sessions",
1634
+ "columnsFrom": [
1635
+ "session_id",
1636
+ "workspace_id"
1637
+ ],
1638
+ "columnsTo": [
1639
+ "id",
1640
+ "workspace_id"
1641
+ ],
1642
+ "onDelete": "cascade",
1643
+ "onUpdate": "no action"
1644
+ }
1645
+ },
1646
+ "compositePrimaryKeys": {},
1647
+ "uniqueConstraints": {},
1648
+ "policies": {},
1649
+ "checkConstraints": {
1650
+ "runs_status_valid": {
1651
+ "name": "runs_status_valid",
1652
+ "value": "\"runs\".\"status\" in ('queued', 'running', 'completed', 'failed', 'cancelled')"
1653
+ },
1654
+ "runs_provider_valid": {
1655
+ "name": "runs_provider_valid",
1656
+ "value": "\"runs\".\"provider\" in ('anthropic', 'anthropic-compatible', 'openai', 'azure-openai', 'openai-compatible')"
1657
+ },
1658
+ "runs_ended_at_iff_terminal": {
1659
+ "name": "runs_ended_at_iff_terminal",
1660
+ "value": "(\"runs\".\"status\" in ('completed', 'failed', 'cancelled')) = (\"runs\".\"ended_at\" is not null)"
1661
+ },
1662
+ "runs_ended_after_started": {
1663
+ "name": "runs_ended_after_started",
1664
+ "value": "\"runs\".\"ended_at\" is null or \"runs\".\"started_at\" is null or \"runs\".\"ended_at\" >= \"runs\".\"started_at\""
1665
+ },
1666
+ "runs_counters_non_negative": {
1667
+ "name": "runs_counters_non_negative",
1668
+ "value": "\"runs\".\"input_tokens\" >= 0 and \"runs\".\"output_tokens\" >= 0 and \"runs\".\"tool_calls\" >= 0 and \"runs\".\"cost_usd\" >= 0"
1669
+ }
1670
+ },
1671
+ "isRLSEnabled": false
1672
+ },
1673
+ "public.runtime_profiles": {
1674
+ "name": "runtime_profiles",
1675
+ "schema": "",
1676
+ "columns": {
1677
+ "id": {
1678
+ "name": "id",
1679
+ "type": "uuid",
1680
+ "primaryKey": true,
1681
+ "notNull": true,
1682
+ "default": "gen_random_uuid()"
1683
+ },
1684
+ "workspace_id": {
1685
+ "name": "workspace_id",
1686
+ "type": "uuid",
1687
+ "primaryKey": false,
1688
+ "notNull": true
1689
+ },
1690
+ "name": {
1691
+ "name": "name",
1692
+ "type": "text",
1693
+ "primaryKey": false,
1694
+ "notNull": true
1695
+ },
1696
+ "driver": {
1697
+ "name": "driver",
1698
+ "type": "text",
1699
+ "primaryKey": false,
1700
+ "notNull": true
1701
+ },
1702
+ "runtime_connection_id": {
1703
+ "name": "runtime_connection_id",
1704
+ "type": "uuid",
1705
+ "primaryKey": false,
1706
+ "notNull": false
1707
+ },
1708
+ "cpu": {
1709
+ "name": "cpu",
1710
+ "type": "integer",
1711
+ "primaryKey": false,
1712
+ "notNull": false
1713
+ },
1714
+ "memory_mb": {
1715
+ "name": "memory_mb",
1716
+ "type": "integer",
1717
+ "primaryKey": false,
1718
+ "notNull": false
1719
+ },
1720
+ "disk_mb": {
1721
+ "name": "disk_mb",
1722
+ "type": "integer",
1723
+ "primaryKey": false,
1724
+ "notNull": false
1725
+ },
1726
+ "network_policy": {
1727
+ "name": "network_policy",
1728
+ "type": "text",
1729
+ "primaryKey": false,
1730
+ "notNull": true
1731
+ },
1732
+ "allowed_domains": {
1733
+ "name": "allowed_domains",
1734
+ "type": "jsonb",
1735
+ "primaryKey": false,
1736
+ "notNull": false
1737
+ },
1738
+ "filesystem": {
1739
+ "name": "filesystem",
1740
+ "type": "text",
1741
+ "primaryKey": false,
1742
+ "notNull": true
1743
+ },
1744
+ "persist_paths": {
1745
+ "name": "persist_paths",
1746
+ "type": "jsonb",
1747
+ "primaryKey": false,
1748
+ "notNull": false
1749
+ },
1750
+ "timeout_seconds": {
1751
+ "name": "timeout_seconds",
1752
+ "type": "integer",
1753
+ "primaryKey": false,
1754
+ "notNull": false
1755
+ },
1756
+ "idle_timeout_seconds": {
1757
+ "name": "idle_timeout_seconds",
1758
+ "type": "integer",
1759
+ "primaryKey": false,
1760
+ "notNull": false
1761
+ },
1762
+ "driver_config": {
1763
+ "name": "driver_config",
1764
+ "type": "jsonb",
1765
+ "primaryKey": false,
1766
+ "notNull": false
1767
+ },
1768
+ "created_at": {
1769
+ "name": "created_at",
1770
+ "type": "timestamp with time zone",
1771
+ "primaryKey": false,
1772
+ "notNull": true,
1773
+ "default": "now()"
1774
+ },
1775
+ "updated_at": {
1776
+ "name": "updated_at",
1777
+ "type": "timestamp with time zone",
1778
+ "primaryKey": false,
1779
+ "notNull": true,
1780
+ "default": "now()"
1781
+ }
1782
+ },
1783
+ "indexes": {
1784
+ "runtime_profiles_workspace_name_key": {
1785
+ "name": "runtime_profiles_workspace_name_key",
1786
+ "columns": [
1787
+ {
1788
+ "expression": "workspace_id",
1789
+ "isExpression": false,
1790
+ "asc": true,
1791
+ "nulls": "last"
1792
+ },
1793
+ {
1794
+ "expression": "name",
1795
+ "isExpression": false,
1796
+ "asc": true,
1797
+ "nulls": "last"
1798
+ }
1799
+ ],
1800
+ "isUnique": true,
1801
+ "concurrently": false,
1802
+ "method": "btree",
1803
+ "with": {}
1804
+ },
1805
+ "runtime_profiles_runtime_connection_idx": {
1806
+ "name": "runtime_profiles_runtime_connection_idx",
1807
+ "columns": [
1808
+ {
1809
+ "expression": "runtime_connection_id",
1810
+ "isExpression": false,
1811
+ "asc": true,
1812
+ "nulls": "last"
1813
+ }
1814
+ ],
1815
+ "isUnique": false,
1816
+ "concurrently": false,
1817
+ "method": "btree",
1818
+ "with": {}
1819
+ }
1820
+ },
1821
+ "foreignKeys": {
1822
+ "runtime_profiles_workspace_id_workspaces_id_fk": {
1823
+ "name": "runtime_profiles_workspace_id_workspaces_id_fk",
1824
+ "tableFrom": "runtime_profiles",
1825
+ "tableTo": "workspaces",
1826
+ "columnsFrom": [
1827
+ "workspace_id"
1828
+ ],
1829
+ "columnsTo": [
1830
+ "id"
1831
+ ],
1832
+ "onDelete": "cascade",
1833
+ "onUpdate": "no action"
1834
+ },
1835
+ "runtime_profiles_runtime_connection_id_secrets_id_fk": {
1836
+ "name": "runtime_profiles_runtime_connection_id_secrets_id_fk",
1837
+ "tableFrom": "runtime_profiles",
1838
+ "tableTo": "secrets",
1839
+ "columnsFrom": [
1840
+ "runtime_connection_id"
1841
+ ],
1842
+ "columnsTo": [
1843
+ "id"
1844
+ ],
1845
+ "onDelete": "set null",
1846
+ "onUpdate": "no action"
1847
+ },
1848
+ "runtime_profiles_runtime_connection_workspace_fk": {
1849
+ "name": "runtime_profiles_runtime_connection_workspace_fk",
1850
+ "tableFrom": "runtime_profiles",
1851
+ "tableTo": "secrets",
1852
+ "columnsFrom": [
1853
+ "runtime_connection_id",
1854
+ "workspace_id"
1855
+ ],
1856
+ "columnsTo": [
1857
+ "id",
1858
+ "workspace_id"
1859
+ ],
1860
+ "onDelete": "no action",
1861
+ "onUpdate": "no action"
1862
+ }
1863
+ },
1864
+ "compositePrimaryKeys": {},
1865
+ "uniqueConstraints": {
1866
+ "runtime_profiles_id_workspace_key": {
1867
+ "name": "runtime_profiles_id_workspace_key",
1868
+ "nullsNotDistinct": false,
1869
+ "columns": [
1870
+ "id",
1871
+ "workspace_id"
1872
+ ]
1873
+ }
1874
+ },
1875
+ "policies": {},
1876
+ "checkConstraints": {
1877
+ "runtime_profiles_name_not_blank": {
1878
+ "name": "runtime_profiles_name_not_blank",
1879
+ "value": "length(btrim(\"runtime_profiles\".\"name\")) > 0"
1880
+ },
1881
+ "runtime_profiles_driver_valid": {
1882
+ "name": "runtime_profiles_driver_valid",
1883
+ "value": "\"runtime_profiles\".\"driver\" in ('local', 'sandbox-runtime', 'docker', 'kubernetes', 'gke-agent-sandbox', 'aca-sessions', 'aws-agentcore', 'aws-ecs', 'cloud-run-sandbox', 'external')"
1884
+ },
1885
+ "runtime_profiles_network_policy_valid": {
1886
+ "name": "runtime_profiles_network_policy_valid",
1887
+ "value": "\"runtime_profiles\".\"network_policy\" in ('none', 'restricted', 'open')"
1888
+ },
1889
+ "runtime_profiles_filesystem_valid": {
1890
+ "name": "runtime_profiles_filesystem_valid",
1891
+ "value": "\"runtime_profiles\".\"filesystem\" in ('read-only', 'read-write')"
1892
+ }
1893
+ },
1894
+ "isRLSEnabled": false
1895
+ },
1896
+ "public.secrets": {
1897
+ "name": "secrets",
1898
+ "schema": "",
1899
+ "columns": {
1900
+ "id": {
1901
+ "name": "id",
1902
+ "type": "uuid",
1903
+ "primaryKey": true,
1904
+ "notNull": true,
1905
+ "default": "gen_random_uuid()"
1906
+ },
1907
+ "workspace_id": {
1908
+ "name": "workspace_id",
1909
+ "type": "uuid",
1910
+ "primaryKey": false,
1911
+ "notNull": true
1912
+ },
1913
+ "name": {
1914
+ "name": "name",
1915
+ "type": "text",
1916
+ "primaryKey": false,
1917
+ "notNull": true
1918
+ },
1919
+ "algorithm": {
1920
+ "name": "algorithm",
1921
+ "type": "text",
1922
+ "primaryKey": false,
1923
+ "notNull": true
1924
+ },
1925
+ "master_key_id": {
1926
+ "name": "master_key_id",
1927
+ "type": "text",
1928
+ "primaryKey": false,
1929
+ "notNull": true
1930
+ },
1931
+ "wrapped_data_key": {
1932
+ "name": "wrapped_data_key",
1933
+ "type": "bytea",
1934
+ "primaryKey": false,
1935
+ "notNull": true
1936
+ },
1937
+ "wrapped_data_key_nonce": {
1938
+ "name": "wrapped_data_key_nonce",
1939
+ "type": "bytea",
1940
+ "primaryKey": false,
1941
+ "notNull": true
1942
+ },
1943
+ "wrapped_data_key_tag": {
1944
+ "name": "wrapped_data_key_tag",
1945
+ "type": "bytea",
1946
+ "primaryKey": false,
1947
+ "notNull": true
1948
+ },
1949
+ "ciphertext": {
1950
+ "name": "ciphertext",
1951
+ "type": "bytea",
1952
+ "primaryKey": false,
1953
+ "notNull": true
1954
+ },
1955
+ "ciphertext_nonce": {
1956
+ "name": "ciphertext_nonce",
1957
+ "type": "bytea",
1958
+ "primaryKey": false,
1959
+ "notNull": true
1960
+ },
1961
+ "ciphertext_tag": {
1962
+ "name": "ciphertext_tag",
1963
+ "type": "bytea",
1964
+ "primaryKey": false,
1965
+ "notNull": true
1966
+ },
1967
+ "created_at": {
1968
+ "name": "created_at",
1969
+ "type": "timestamp with time zone",
1970
+ "primaryKey": false,
1971
+ "notNull": true,
1972
+ "default": "now()"
1973
+ },
1974
+ "updated_at": {
1975
+ "name": "updated_at",
1976
+ "type": "timestamp with time zone",
1977
+ "primaryKey": false,
1978
+ "notNull": true,
1979
+ "default": "now()"
1980
+ }
1981
+ },
1982
+ "indexes": {
1983
+ "secrets_workspace_name_key": {
1984
+ "name": "secrets_workspace_name_key",
1985
+ "columns": [
1986
+ {
1987
+ "expression": "workspace_id",
1988
+ "isExpression": false,
1989
+ "asc": true,
1990
+ "nulls": "last"
1991
+ },
1992
+ {
1993
+ "expression": "name",
1994
+ "isExpression": false,
1995
+ "asc": true,
1996
+ "nulls": "last"
1997
+ }
1998
+ ],
1999
+ "isUnique": true,
2000
+ "concurrently": false,
2001
+ "method": "btree",
2002
+ "with": {}
2003
+ }
2004
+ },
2005
+ "foreignKeys": {
2006
+ "secrets_workspace_id_workspaces_id_fk": {
2007
+ "name": "secrets_workspace_id_workspaces_id_fk",
2008
+ "tableFrom": "secrets",
2009
+ "tableTo": "workspaces",
2010
+ "columnsFrom": [
2011
+ "workspace_id"
2012
+ ],
2013
+ "columnsTo": [
2014
+ "id"
2015
+ ],
2016
+ "onDelete": "cascade",
2017
+ "onUpdate": "no action"
2018
+ }
2019
+ },
2020
+ "compositePrimaryKeys": {},
2021
+ "uniqueConstraints": {
2022
+ "secrets_id_workspace_key": {
2023
+ "name": "secrets_id_workspace_key",
2024
+ "nullsNotDistinct": false,
2025
+ "columns": [
2026
+ "id",
2027
+ "workspace_id"
2028
+ ]
2029
+ }
2030
+ },
2031
+ "policies": {},
2032
+ "checkConstraints": {
2033
+ "secrets_name_shape": {
2034
+ "name": "secrets_name_shape",
2035
+ "value": "\"secrets\".\"name\" ~ '^[A-Z][A-Z0-9_]{0,127}$'"
2036
+ },
2037
+ "secrets_master_key_id_not_blank": {
2038
+ "name": "secrets_master_key_id_not_blank",
2039
+ "value": "length(btrim(\"secrets\".\"master_key_id\")) > 0"
2040
+ },
2041
+ "secrets_algorithm_valid": {
2042
+ "name": "secrets_algorithm_valid",
2043
+ "value": "\"secrets\".\"algorithm\" in ('aes-256-gcm')"
2044
+ },
2045
+ "secrets_wrapped_data_key_size": {
2046
+ "name": "secrets_wrapped_data_key_size",
2047
+ "value": "octet_length(\"secrets\".\"wrapped_data_key\") = 32"
2048
+ },
2049
+ "secrets_nonce_sizes": {
2050
+ "name": "secrets_nonce_sizes",
2051
+ "value": "octet_length(\"secrets\".\"wrapped_data_key_nonce\") = 12 and octet_length(\"secrets\".\"ciphertext_nonce\") = 12"
2052
+ },
2053
+ "secrets_tag_sizes": {
2054
+ "name": "secrets_tag_sizes",
2055
+ "value": "octet_length(\"secrets\".\"wrapped_data_key_tag\") = 16 and octet_length(\"secrets\".\"ciphertext_tag\") = 16"
2056
+ },
2057
+ "secrets_ciphertext_not_empty": {
2058
+ "name": "secrets_ciphertext_not_empty",
2059
+ "value": "octet_length(\"secrets\".\"ciphertext\") > 0"
2060
+ }
2061
+ },
2062
+ "isRLSEnabled": false
2063
+ },
2064
+ "public.sessions": {
2065
+ "name": "sessions",
2066
+ "schema": "",
2067
+ "columns": {
2068
+ "id": {
2069
+ "name": "id",
2070
+ "type": "uuid",
2071
+ "primaryKey": true,
2072
+ "notNull": true,
2073
+ "default": "gen_random_uuid()"
2074
+ },
2075
+ "workspace_id": {
2076
+ "name": "workspace_id",
2077
+ "type": "uuid",
2078
+ "primaryKey": false,
2079
+ "notNull": true
2080
+ },
2081
+ "user_id": {
2082
+ "name": "user_id",
2083
+ "type": "uuid",
2084
+ "primaryKey": false,
2085
+ "notNull": true
2086
+ },
2087
+ "agent_id": {
2088
+ "name": "agent_id",
2089
+ "type": "uuid",
2090
+ "primaryKey": false,
2091
+ "notNull": true
2092
+ },
2093
+ "claude_session_id": {
2094
+ "name": "claude_session_id",
2095
+ "type": "text",
2096
+ "primaryKey": false,
2097
+ "notNull": false
2098
+ },
2099
+ "title": {
2100
+ "name": "title",
2101
+ "type": "text",
2102
+ "primaryKey": false,
2103
+ "notNull": false
2104
+ },
2105
+ "status": {
2106
+ "name": "status",
2107
+ "type": "text",
2108
+ "primaryKey": false,
2109
+ "notNull": true,
2110
+ "default": "'active'"
2111
+ },
2112
+ "created_at": {
2113
+ "name": "created_at",
2114
+ "type": "timestamp with time zone",
2115
+ "primaryKey": false,
2116
+ "notNull": true,
2117
+ "default": "now()"
2118
+ },
2119
+ "updated_at": {
2120
+ "name": "updated_at",
2121
+ "type": "timestamp with time zone",
2122
+ "primaryKey": false,
2123
+ "notNull": true,
2124
+ "default": "now()"
2125
+ }
2126
+ },
2127
+ "indexes": {
2128
+ "sessions_workspace_updated_idx": {
2129
+ "name": "sessions_workspace_updated_idx",
2130
+ "columns": [
2131
+ {
2132
+ "expression": "workspace_id",
2133
+ "isExpression": false,
2134
+ "asc": true,
2135
+ "nulls": "last"
2136
+ },
2137
+ {
2138
+ "expression": "updated_at",
2139
+ "isExpression": false,
2140
+ "asc": true,
2141
+ "nulls": "last"
2142
+ }
2143
+ ],
2144
+ "isUnique": false,
2145
+ "concurrently": false,
2146
+ "method": "btree",
2147
+ "with": {}
2148
+ },
2149
+ "sessions_workspace_claude_session_key": {
2150
+ "name": "sessions_workspace_claude_session_key",
2151
+ "columns": [
2152
+ {
2153
+ "expression": "workspace_id",
2154
+ "isExpression": false,
2155
+ "asc": true,
2156
+ "nulls": "last"
2157
+ },
2158
+ {
2159
+ "expression": "claude_session_id",
2160
+ "isExpression": false,
2161
+ "asc": true,
2162
+ "nulls": "last"
2163
+ }
2164
+ ],
2165
+ "isUnique": true,
2166
+ "concurrently": false,
2167
+ "method": "btree",
2168
+ "with": {}
2169
+ },
2170
+ "sessions_agent_idx": {
2171
+ "name": "sessions_agent_idx",
2172
+ "columns": [
2173
+ {
2174
+ "expression": "agent_id",
2175
+ "isExpression": false,
2176
+ "asc": true,
2177
+ "nulls": "last"
2178
+ }
2179
+ ],
2180
+ "isUnique": false,
2181
+ "concurrently": false,
2182
+ "method": "btree",
2183
+ "with": {}
2184
+ },
2185
+ "sessions_user_idx": {
2186
+ "name": "sessions_user_idx",
2187
+ "columns": [
2188
+ {
2189
+ "expression": "user_id",
2190
+ "isExpression": false,
2191
+ "asc": true,
2192
+ "nulls": "last"
2193
+ }
2194
+ ],
2195
+ "isUnique": false,
2196
+ "concurrently": false,
2197
+ "method": "btree",
2198
+ "with": {}
2199
+ }
2200
+ },
2201
+ "foreignKeys": {
2202
+ "sessions_workspace_id_workspaces_id_fk": {
2203
+ "name": "sessions_workspace_id_workspaces_id_fk",
2204
+ "tableFrom": "sessions",
2205
+ "tableTo": "workspaces",
2206
+ "columnsFrom": [
2207
+ "workspace_id"
2208
+ ],
2209
+ "columnsTo": [
2210
+ "id"
2211
+ ],
2212
+ "onDelete": "cascade",
2213
+ "onUpdate": "no action"
2214
+ },
2215
+ "sessions_user_id_users_id_fk": {
2216
+ "name": "sessions_user_id_users_id_fk",
2217
+ "tableFrom": "sessions",
2218
+ "tableTo": "users",
2219
+ "columnsFrom": [
2220
+ "user_id"
2221
+ ],
2222
+ "columnsTo": [
2223
+ "id"
2224
+ ],
2225
+ "onDelete": "restrict",
2226
+ "onUpdate": "no action"
2227
+ },
2228
+ "sessions_agent_workspace_fk": {
2229
+ "name": "sessions_agent_workspace_fk",
2230
+ "tableFrom": "sessions",
2231
+ "tableTo": "agents",
2232
+ "columnsFrom": [
2233
+ "agent_id",
2234
+ "workspace_id"
2235
+ ],
2236
+ "columnsTo": [
2237
+ "id",
2238
+ "workspace_id"
2239
+ ],
2240
+ "onDelete": "cascade",
2241
+ "onUpdate": "no action"
2242
+ },
2243
+ "sessions_member_workspace_fk": {
2244
+ "name": "sessions_member_workspace_fk",
2245
+ "tableFrom": "sessions",
2246
+ "tableTo": "memberships",
2247
+ "columnsFrom": [
2248
+ "workspace_id",
2249
+ "user_id"
2250
+ ],
2251
+ "columnsTo": [
2252
+ "workspace_id",
2253
+ "user_id"
2254
+ ],
2255
+ "onDelete": "no action",
2256
+ "onUpdate": "no action"
2257
+ }
2258
+ },
2259
+ "compositePrimaryKeys": {},
2260
+ "uniqueConstraints": {
2261
+ "sessions_id_workspace_key": {
2262
+ "name": "sessions_id_workspace_key",
2263
+ "nullsNotDistinct": false,
2264
+ "columns": [
2265
+ "id",
2266
+ "workspace_id"
2267
+ ]
2268
+ }
2269
+ },
2270
+ "policies": {},
2271
+ "checkConstraints": {
2272
+ "sessions_status_valid": {
2273
+ "name": "sessions_status_valid",
2274
+ "value": "\"sessions\".\"status\" in ('active', 'archived')"
2275
+ }
2276
+ },
2277
+ "isRLSEnabled": false
2278
+ },
2279
+ "public.skills": {
2280
+ "name": "skills",
2281
+ "schema": "",
2282
+ "columns": {
2283
+ "id": {
2284
+ "name": "id",
2285
+ "type": "uuid",
2286
+ "primaryKey": true,
2287
+ "notNull": true,
2288
+ "default": "gen_random_uuid()"
2289
+ },
2290
+ "workspace_id": {
2291
+ "name": "workspace_id",
2292
+ "type": "uuid",
2293
+ "primaryKey": false,
2294
+ "notNull": true
2295
+ },
2296
+ "name": {
2297
+ "name": "name",
2298
+ "type": "text",
2299
+ "primaryKey": false,
2300
+ "notNull": true
2301
+ },
2302
+ "skill_md": {
2303
+ "name": "skill_md",
2304
+ "type": "text",
2305
+ "primaryKey": false,
2306
+ "notNull": true
2307
+ },
2308
+ "enabled": {
2309
+ "name": "enabled",
2310
+ "type": "boolean",
2311
+ "primaryKey": false,
2312
+ "notNull": true,
2313
+ "default": true
2314
+ },
2315
+ "created_at": {
2316
+ "name": "created_at",
2317
+ "type": "timestamp with time zone",
2318
+ "primaryKey": false,
2319
+ "notNull": true,
2320
+ "default": "now()"
2321
+ },
2322
+ "updated_at": {
2323
+ "name": "updated_at",
2324
+ "type": "timestamp with time zone",
2325
+ "primaryKey": false,
2326
+ "notNull": true,
2327
+ "default": "now()"
2328
+ }
2329
+ },
2330
+ "indexes": {
2331
+ "skills_workspace_name_key": {
2332
+ "name": "skills_workspace_name_key",
2333
+ "columns": [
2334
+ {
2335
+ "expression": "workspace_id",
2336
+ "isExpression": false,
2337
+ "asc": true,
2338
+ "nulls": "last"
2339
+ },
2340
+ {
2341
+ "expression": "name",
2342
+ "isExpression": false,
2343
+ "asc": true,
2344
+ "nulls": "last"
2345
+ }
2346
+ ],
2347
+ "isUnique": true,
2348
+ "concurrently": false,
2349
+ "method": "btree",
2350
+ "with": {}
2351
+ }
2352
+ },
2353
+ "foreignKeys": {
2354
+ "skills_workspace_id_workspaces_id_fk": {
2355
+ "name": "skills_workspace_id_workspaces_id_fk",
2356
+ "tableFrom": "skills",
2357
+ "tableTo": "workspaces",
2358
+ "columnsFrom": [
2359
+ "workspace_id"
2360
+ ],
2361
+ "columnsTo": [
2362
+ "id"
2363
+ ],
2364
+ "onDelete": "cascade",
2365
+ "onUpdate": "no action"
2366
+ }
2367
+ },
2368
+ "compositePrimaryKeys": {},
2369
+ "uniqueConstraints": {
2370
+ "skills_id_workspace_key": {
2371
+ "name": "skills_id_workspace_key",
2372
+ "nullsNotDistinct": false,
2373
+ "columns": [
2374
+ "id",
2375
+ "workspace_id"
2376
+ ]
2377
+ }
2378
+ },
2379
+ "policies": {},
2380
+ "checkConstraints": {
2381
+ "skills_name_shape": {
2382
+ "name": "skills_name_shape",
2383
+ "value": "\"skills\".\"name\" ~ '^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$'"
2384
+ },
2385
+ "skills_skill_md_not_blank": {
2386
+ "name": "skills_skill_md_not_blank",
2387
+ "value": "length(btrim(\"skills\".\"skill_md\")) > 0"
2388
+ }
2389
+ },
2390
+ "isRLSEnabled": false
2391
+ },
2392
+ "public.users": {
2393
+ "name": "users",
2394
+ "schema": "",
2395
+ "columns": {
2396
+ "id": {
2397
+ "name": "id",
2398
+ "type": "uuid",
2399
+ "primaryKey": true,
2400
+ "notNull": true,
2401
+ "default": "gen_random_uuid()"
2402
+ },
2403
+ "email": {
2404
+ "name": "email",
2405
+ "type": "text",
2406
+ "primaryKey": false,
2407
+ "notNull": true
2408
+ },
2409
+ "name": {
2410
+ "name": "name",
2411
+ "type": "text",
2412
+ "primaryKey": false,
2413
+ "notNull": true
2414
+ },
2415
+ "created_at": {
2416
+ "name": "created_at",
2417
+ "type": "timestamp with time zone",
2418
+ "primaryKey": false,
2419
+ "notNull": true,
2420
+ "default": "now()"
2421
+ },
2422
+ "updated_at": {
2423
+ "name": "updated_at",
2424
+ "type": "timestamp with time zone",
2425
+ "primaryKey": false,
2426
+ "notNull": true,
2427
+ "default": "now()"
2428
+ }
2429
+ },
2430
+ "indexes": {
2431
+ "users_email_key": {
2432
+ "name": "users_email_key",
2433
+ "columns": [
2434
+ {
2435
+ "expression": "email",
2436
+ "isExpression": false,
2437
+ "asc": true,
2438
+ "nulls": "last"
2439
+ }
2440
+ ],
2441
+ "isUnique": true,
2442
+ "concurrently": false,
2443
+ "method": "btree",
2444
+ "with": {}
2445
+ }
2446
+ },
2447
+ "foreignKeys": {},
2448
+ "compositePrimaryKeys": {},
2449
+ "uniqueConstraints": {},
2450
+ "policies": {},
2451
+ "checkConstraints": {
2452
+ "users_email_lowercase": {
2453
+ "name": "users_email_lowercase",
2454
+ "value": "\"users\".\"email\" = lower(\"users\".\"email\")"
2455
+ },
2456
+ "users_email_shape": {
2457
+ "name": "users_email_shape",
2458
+ "value": "\"users\".\"email\" ~ '^[^[:space:]@]+@[^[:space:]@]+[.][^[:space:]@]+$'"
2459
+ },
2460
+ "users_name_not_blank": {
2461
+ "name": "users_name_not_blank",
2462
+ "value": "length(btrim(\"users\".\"name\")) > 0"
2463
+ }
2464
+ },
2465
+ "isRLSEnabled": false
2466
+ },
2467
+ "public.workspaces": {
2468
+ "name": "workspaces",
2469
+ "schema": "",
2470
+ "columns": {
2471
+ "id": {
2472
+ "name": "id",
2473
+ "type": "uuid",
2474
+ "primaryKey": true,
2475
+ "notNull": true,
2476
+ "default": "gen_random_uuid()"
2477
+ },
2478
+ "slug": {
2479
+ "name": "slug",
2480
+ "type": "text",
2481
+ "primaryKey": false,
2482
+ "notNull": true
2483
+ },
2484
+ "name": {
2485
+ "name": "name",
2486
+ "type": "text",
2487
+ "primaryKey": false,
2488
+ "notNull": true
2489
+ },
2490
+ "created_at": {
2491
+ "name": "created_at",
2492
+ "type": "timestamp with time zone",
2493
+ "primaryKey": false,
2494
+ "notNull": true,
2495
+ "default": "now()"
2496
+ },
2497
+ "updated_at": {
2498
+ "name": "updated_at",
2499
+ "type": "timestamp with time zone",
2500
+ "primaryKey": false,
2501
+ "notNull": true,
2502
+ "default": "now()"
2503
+ }
2504
+ },
2505
+ "indexes": {
2506
+ "workspaces_slug_key": {
2507
+ "name": "workspaces_slug_key",
2508
+ "columns": [
2509
+ {
2510
+ "expression": "slug",
2511
+ "isExpression": false,
2512
+ "asc": true,
2513
+ "nulls": "last"
2514
+ }
2515
+ ],
2516
+ "isUnique": true,
2517
+ "concurrently": false,
2518
+ "method": "btree",
2519
+ "with": {}
2520
+ }
2521
+ },
2522
+ "foreignKeys": {},
2523
+ "compositePrimaryKeys": {},
2524
+ "uniqueConstraints": {},
2525
+ "policies": {},
2526
+ "checkConstraints": {
2527
+ "workspaces_slug_format": {
2528
+ "name": "workspaces_slug_format",
2529
+ "value": "\"workspaces\".\"slug\" ~ '^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$'"
2530
+ },
2531
+ "workspaces_name_not_blank": {
2532
+ "name": "workspaces_name_not_blank",
2533
+ "value": "length(btrim(\"workspaces\".\"name\")) > 0"
2534
+ }
2535
+ },
2536
+ "isRLSEnabled": false
2537
+ }
2538
+ },
2539
+ "enums": {},
2540
+ "schemas": {},
2541
+ "sequences": {},
2542
+ "roles": {},
2543
+ "policies": {},
2544
+ "views": {},
2545
+ "_meta": {
2546
+ "columns": {},
2547
+ "schemas": {},
2548
+ "tables": {}
2549
+ }
2550
+ }