@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,2278 @@
1
+ {
2
+ "id": "6a738a17-3bd3-43aa-9f10-f237fab9fbb3",
3
+ "prevId": "2085e5e1-4660-4377-931c-b191a2700584",
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
+ "permissions": {
412
+ "name": "permissions",
413
+ "type": "jsonb",
414
+ "primaryKey": false,
415
+ "notNull": true
416
+ },
417
+ "created_at": {
418
+ "name": "created_at",
419
+ "type": "timestamp with time zone",
420
+ "primaryKey": false,
421
+ "notNull": true,
422
+ "default": "now()"
423
+ },
424
+ "updated_at": {
425
+ "name": "updated_at",
426
+ "type": "timestamp with time zone",
427
+ "primaryKey": false,
428
+ "notNull": true,
429
+ "default": "now()"
430
+ }
431
+ },
432
+ "indexes": {
433
+ "agents_workspace_name_key": {
434
+ "name": "agents_workspace_name_key",
435
+ "columns": [
436
+ {
437
+ "expression": "workspace_id",
438
+ "isExpression": false,
439
+ "asc": true,
440
+ "nulls": "last"
441
+ },
442
+ {
443
+ "expression": "name",
444
+ "isExpression": false,
445
+ "asc": true,
446
+ "nulls": "last"
447
+ }
448
+ ],
449
+ "isUnique": true,
450
+ "concurrently": false,
451
+ "method": "btree",
452
+ "with": {}
453
+ },
454
+ "agents_model_connection_idx": {
455
+ "name": "agents_model_connection_idx",
456
+ "columns": [
457
+ {
458
+ "expression": "model_connection_id",
459
+ "isExpression": false,
460
+ "asc": true,
461
+ "nulls": "last"
462
+ }
463
+ ],
464
+ "isUnique": false,
465
+ "concurrently": false,
466
+ "method": "btree",
467
+ "with": {}
468
+ }
469
+ },
470
+ "foreignKeys": {
471
+ "agents_workspace_id_workspaces_id_fk": {
472
+ "name": "agents_workspace_id_workspaces_id_fk",
473
+ "tableFrom": "agents",
474
+ "tableTo": "workspaces",
475
+ "columnsFrom": [
476
+ "workspace_id"
477
+ ],
478
+ "columnsTo": [
479
+ "id"
480
+ ],
481
+ "onDelete": "cascade",
482
+ "onUpdate": "no action"
483
+ },
484
+ "agents_model_connection_id_model_connections_id_fk": {
485
+ "name": "agents_model_connection_id_model_connections_id_fk",
486
+ "tableFrom": "agents",
487
+ "tableTo": "model_connections",
488
+ "columnsFrom": [
489
+ "model_connection_id"
490
+ ],
491
+ "columnsTo": [
492
+ "id"
493
+ ],
494
+ "onDelete": "set null",
495
+ "onUpdate": "no action"
496
+ },
497
+ "agents_model_connection_workspace_fk": {
498
+ "name": "agents_model_connection_workspace_fk",
499
+ "tableFrom": "agents",
500
+ "tableTo": "model_connections",
501
+ "columnsFrom": [
502
+ "model_connection_id",
503
+ "workspace_id"
504
+ ],
505
+ "columnsTo": [
506
+ "id",
507
+ "workspace_id"
508
+ ],
509
+ "onDelete": "no action",
510
+ "onUpdate": "no action"
511
+ }
512
+ },
513
+ "compositePrimaryKeys": {},
514
+ "uniqueConstraints": {
515
+ "agents_id_workspace_key": {
516
+ "name": "agents_id_workspace_key",
517
+ "nullsNotDistinct": false,
518
+ "columns": [
519
+ "id",
520
+ "workspace_id"
521
+ ]
522
+ }
523
+ },
524
+ "policies": {},
525
+ "checkConstraints": {
526
+ "agents_name_not_blank": {
527
+ "name": "agents_name_not_blank",
528
+ "value": "length(btrim(\"agents\".\"name\")) > 0"
529
+ }
530
+ },
531
+ "isRLSEnabled": false
532
+ },
533
+ "public.api_keys": {
534
+ "name": "api_keys",
535
+ "schema": "",
536
+ "columns": {
537
+ "id": {
538
+ "name": "id",
539
+ "type": "uuid",
540
+ "primaryKey": true,
541
+ "notNull": true,
542
+ "default": "gen_random_uuid()"
543
+ },
544
+ "workspace_id": {
545
+ "name": "workspace_id",
546
+ "type": "uuid",
547
+ "primaryKey": false,
548
+ "notNull": true
549
+ },
550
+ "name": {
551
+ "name": "name",
552
+ "type": "text",
553
+ "primaryKey": false,
554
+ "notNull": true
555
+ },
556
+ "role": {
557
+ "name": "role",
558
+ "type": "text",
559
+ "primaryKey": false,
560
+ "notNull": true
561
+ },
562
+ "key_prefix": {
563
+ "name": "key_prefix",
564
+ "type": "text",
565
+ "primaryKey": false,
566
+ "notNull": true
567
+ },
568
+ "key_hash": {
569
+ "name": "key_hash",
570
+ "type": "text",
571
+ "primaryKey": false,
572
+ "notNull": true
573
+ },
574
+ "last_used_at": {
575
+ "name": "last_used_at",
576
+ "type": "timestamp with time zone",
577
+ "primaryKey": false,
578
+ "notNull": false
579
+ },
580
+ "expires_at": {
581
+ "name": "expires_at",
582
+ "type": "timestamp with time zone",
583
+ "primaryKey": false,
584
+ "notNull": false
585
+ },
586
+ "revoked_at": {
587
+ "name": "revoked_at",
588
+ "type": "timestamp with time zone",
589
+ "primaryKey": false,
590
+ "notNull": false
591
+ },
592
+ "created_at": {
593
+ "name": "created_at",
594
+ "type": "timestamp with time zone",
595
+ "primaryKey": false,
596
+ "notNull": true,
597
+ "default": "now()"
598
+ },
599
+ "updated_at": {
600
+ "name": "updated_at",
601
+ "type": "timestamp with time zone",
602
+ "primaryKey": false,
603
+ "notNull": true,
604
+ "default": "now()"
605
+ }
606
+ },
607
+ "indexes": {
608
+ "api_keys_workspace_name_key": {
609
+ "name": "api_keys_workspace_name_key",
610
+ "columns": [
611
+ {
612
+ "expression": "workspace_id",
613
+ "isExpression": false,
614
+ "asc": true,
615
+ "nulls": "last"
616
+ },
617
+ {
618
+ "expression": "name",
619
+ "isExpression": false,
620
+ "asc": true,
621
+ "nulls": "last"
622
+ }
623
+ ],
624
+ "isUnique": true,
625
+ "concurrently": false,
626
+ "method": "btree",
627
+ "with": {}
628
+ },
629
+ "api_keys_key_hash_key": {
630
+ "name": "api_keys_key_hash_key",
631
+ "columns": [
632
+ {
633
+ "expression": "key_hash",
634
+ "isExpression": false,
635
+ "asc": true,
636
+ "nulls": "last"
637
+ }
638
+ ],
639
+ "isUnique": true,
640
+ "concurrently": false,
641
+ "method": "btree",
642
+ "with": {}
643
+ },
644
+ "api_keys_workspace_revoked_idx": {
645
+ "name": "api_keys_workspace_revoked_idx",
646
+ "columns": [
647
+ {
648
+ "expression": "workspace_id",
649
+ "isExpression": false,
650
+ "asc": true,
651
+ "nulls": "last"
652
+ },
653
+ {
654
+ "expression": "revoked_at",
655
+ "isExpression": false,
656
+ "asc": true,
657
+ "nulls": "last"
658
+ }
659
+ ],
660
+ "isUnique": false,
661
+ "concurrently": false,
662
+ "method": "btree",
663
+ "with": {}
664
+ }
665
+ },
666
+ "foreignKeys": {
667
+ "api_keys_workspace_id_workspaces_id_fk": {
668
+ "name": "api_keys_workspace_id_workspaces_id_fk",
669
+ "tableFrom": "api_keys",
670
+ "tableTo": "workspaces",
671
+ "columnsFrom": [
672
+ "workspace_id"
673
+ ],
674
+ "columnsTo": [
675
+ "id"
676
+ ],
677
+ "onDelete": "cascade",
678
+ "onUpdate": "no action"
679
+ }
680
+ },
681
+ "compositePrimaryKeys": {},
682
+ "uniqueConstraints": {},
683
+ "policies": {},
684
+ "checkConstraints": {
685
+ "api_keys_role_valid": {
686
+ "name": "api_keys_role_valid",
687
+ "value": "\"api_keys\".\"role\" in ('owner', 'admin', 'builder', 'viewer')"
688
+ },
689
+ "api_keys_name_not_blank": {
690
+ "name": "api_keys_name_not_blank",
691
+ "value": "length(btrim(\"api_keys\".\"name\")) > 0"
692
+ },
693
+ "api_keys_key_prefix_not_blank": {
694
+ "name": "api_keys_key_prefix_not_blank",
695
+ "value": "length(btrim(\"api_keys\".\"key_prefix\")) > 0"
696
+ },
697
+ "api_keys_key_hash_not_blank": {
698
+ "name": "api_keys_key_hash_not_blank",
699
+ "value": "length(btrim(\"api_keys\".\"key_hash\")) > 0"
700
+ },
701
+ "api_keys_expires_after_created": {
702
+ "name": "api_keys_expires_after_created",
703
+ "value": "\"api_keys\".\"expires_at\" is null or \"api_keys\".\"expires_at\" > \"api_keys\".\"created_at\""
704
+ },
705
+ "api_keys_revoked_after_created": {
706
+ "name": "api_keys_revoked_after_created",
707
+ "value": "\"api_keys\".\"revoked_at\" is null or \"api_keys\".\"revoked_at\" >= \"api_keys\".\"created_at\""
708
+ }
709
+ },
710
+ "isRLSEnabled": false
711
+ },
712
+ "public.audit_events": {
713
+ "name": "audit_events",
714
+ "schema": "",
715
+ "columns": {
716
+ "id": {
717
+ "name": "id",
718
+ "type": "uuid",
719
+ "primaryKey": true,
720
+ "notNull": true,
721
+ "default": "gen_random_uuid()"
722
+ },
723
+ "workspace_id": {
724
+ "name": "workspace_id",
725
+ "type": "uuid",
726
+ "primaryKey": false,
727
+ "notNull": true
728
+ },
729
+ "actor_user_id": {
730
+ "name": "actor_user_id",
731
+ "type": "uuid",
732
+ "primaryKey": false,
733
+ "notNull": false
734
+ },
735
+ "actor_label": {
736
+ "name": "actor_label",
737
+ "type": "text",
738
+ "primaryKey": false,
739
+ "notNull": true
740
+ },
741
+ "action": {
742
+ "name": "action",
743
+ "type": "text",
744
+ "primaryKey": false,
745
+ "notNull": true
746
+ },
747
+ "subject_id": {
748
+ "name": "subject_id",
749
+ "type": "text",
750
+ "primaryKey": false,
751
+ "notNull": false
752
+ },
753
+ "subject_label": {
754
+ "name": "subject_label",
755
+ "type": "text",
756
+ "primaryKey": false,
757
+ "notNull": true
758
+ },
759
+ "created_at": {
760
+ "name": "created_at",
761
+ "type": "timestamp with time zone",
762
+ "primaryKey": false,
763
+ "notNull": true,
764
+ "default": "now()"
765
+ }
766
+ },
767
+ "indexes": {
768
+ "audit_events_workspace_created_idx": {
769
+ "name": "audit_events_workspace_created_idx",
770
+ "columns": [
771
+ {
772
+ "expression": "workspace_id",
773
+ "isExpression": false,
774
+ "asc": true,
775
+ "nulls": "last"
776
+ },
777
+ {
778
+ "expression": "created_at",
779
+ "isExpression": false,
780
+ "asc": true,
781
+ "nulls": "last"
782
+ }
783
+ ],
784
+ "isUnique": false,
785
+ "concurrently": false,
786
+ "method": "btree",
787
+ "with": {}
788
+ },
789
+ "audit_events_actor_idx": {
790
+ "name": "audit_events_actor_idx",
791
+ "columns": [
792
+ {
793
+ "expression": "actor_user_id",
794
+ "isExpression": false,
795
+ "asc": true,
796
+ "nulls": "last"
797
+ }
798
+ ],
799
+ "isUnique": false,
800
+ "concurrently": false,
801
+ "method": "btree",
802
+ "with": {}
803
+ }
804
+ },
805
+ "foreignKeys": {
806
+ "audit_events_workspace_id_workspaces_id_fk": {
807
+ "name": "audit_events_workspace_id_workspaces_id_fk",
808
+ "tableFrom": "audit_events",
809
+ "tableTo": "workspaces",
810
+ "columnsFrom": [
811
+ "workspace_id"
812
+ ],
813
+ "columnsTo": [
814
+ "id"
815
+ ],
816
+ "onDelete": "cascade",
817
+ "onUpdate": "no action"
818
+ },
819
+ "audit_events_actor_user_id_users_id_fk": {
820
+ "name": "audit_events_actor_user_id_users_id_fk",
821
+ "tableFrom": "audit_events",
822
+ "tableTo": "users",
823
+ "columnsFrom": [
824
+ "actor_user_id"
825
+ ],
826
+ "columnsTo": [
827
+ "id"
828
+ ],
829
+ "onDelete": "set null",
830
+ "onUpdate": "no action"
831
+ }
832
+ },
833
+ "compositePrimaryKeys": {},
834
+ "uniqueConstraints": {},
835
+ "policies": {},
836
+ "checkConstraints": {
837
+ "audit_events_action_valid": {
838
+ "name": "audit_events_action_valid",
839
+ "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')"
840
+ },
841
+ "audit_events_actor_label_not_blank": {
842
+ "name": "audit_events_actor_label_not_blank",
843
+ "value": "length(btrim(\"audit_events\".\"actor_label\")) > 0"
844
+ },
845
+ "audit_events_subject_label_not_blank": {
846
+ "name": "audit_events_subject_label_not_blank",
847
+ "value": "length(btrim(\"audit_events\".\"subject_label\")) > 0"
848
+ },
849
+ "audit_events_subject_id_shape": {
850
+ "name": "audit_events_subject_id_shape",
851
+ "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}$'"
852
+ }
853
+ },
854
+ "isRLSEnabled": false
855
+ },
856
+ "public.files": {
857
+ "name": "files",
858
+ "schema": "",
859
+ "columns": {
860
+ "id": {
861
+ "name": "id",
862
+ "type": "uuid",
863
+ "primaryKey": true,
864
+ "notNull": true,
865
+ "default": "gen_random_uuid()"
866
+ },
867
+ "workspace_id": {
868
+ "name": "workspace_id",
869
+ "type": "uuid",
870
+ "primaryKey": false,
871
+ "notNull": true
872
+ },
873
+ "path": {
874
+ "name": "path",
875
+ "type": "text",
876
+ "primaryKey": false,
877
+ "notNull": true
878
+ },
879
+ "kind": {
880
+ "name": "kind",
881
+ "type": "text",
882
+ "primaryKey": false,
883
+ "notNull": true
884
+ },
885
+ "storage_key": {
886
+ "name": "storage_key",
887
+ "type": "text",
888
+ "primaryKey": false,
889
+ "notNull": false
890
+ },
891
+ "size_bytes": {
892
+ "name": "size_bytes",
893
+ "type": "bigint",
894
+ "primaryKey": false,
895
+ "notNull": true,
896
+ "default": 0
897
+ },
898
+ "content_type": {
899
+ "name": "content_type",
900
+ "type": "text",
901
+ "primaryKey": false,
902
+ "notNull": false
903
+ },
904
+ "created_at": {
905
+ "name": "created_at",
906
+ "type": "timestamp with time zone",
907
+ "primaryKey": false,
908
+ "notNull": true,
909
+ "default": "now()"
910
+ },
911
+ "updated_at": {
912
+ "name": "updated_at",
913
+ "type": "timestamp with time zone",
914
+ "primaryKey": false,
915
+ "notNull": true,
916
+ "default": "now()"
917
+ }
918
+ },
919
+ "indexes": {
920
+ "files_workspace_path_key": {
921
+ "name": "files_workspace_path_key",
922
+ "columns": [
923
+ {
924
+ "expression": "workspace_id",
925
+ "isExpression": false,
926
+ "asc": true,
927
+ "nulls": "last"
928
+ },
929
+ {
930
+ "expression": "path",
931
+ "isExpression": false,
932
+ "asc": true,
933
+ "nulls": "last"
934
+ }
935
+ ],
936
+ "isUnique": true,
937
+ "concurrently": false,
938
+ "method": "btree",
939
+ "with": {}
940
+ }
941
+ },
942
+ "foreignKeys": {
943
+ "files_workspace_id_workspaces_id_fk": {
944
+ "name": "files_workspace_id_workspaces_id_fk",
945
+ "tableFrom": "files",
946
+ "tableTo": "workspaces",
947
+ "columnsFrom": [
948
+ "workspace_id"
949
+ ],
950
+ "columnsTo": [
951
+ "id"
952
+ ],
953
+ "onDelete": "cascade",
954
+ "onUpdate": "no action"
955
+ }
956
+ },
957
+ "compositePrimaryKeys": {},
958
+ "uniqueConstraints": {
959
+ "files_id_workspace_key": {
960
+ "name": "files_id_workspace_key",
961
+ "nullsNotDistinct": false,
962
+ "columns": [
963
+ "id",
964
+ "workspace_id"
965
+ ]
966
+ }
967
+ },
968
+ "policies": {},
969
+ "checkConstraints": {
970
+ "files_kind_valid": {
971
+ "name": "files_kind_valid",
972
+ "value": "\"files\".\"kind\" in ('file', 'folder')"
973
+ },
974
+ "files_path_shape": {
975
+ "name": "files_path_shape",
976
+ "value": "\"files\".\"path\" ~ '^[^/[:cntrl:]]+(/[^/[:cntrl:]]+)*$'"
977
+ },
978
+ "files_path_no_dot_segments": {
979
+ "name": "files_path_no_dot_segments",
980
+ "value": "\"files\".\"path\" !~ '(^|/)[.][.]?(/|$)'"
981
+ },
982
+ "files_storage_key_iff_file": {
983
+ "name": "files_storage_key_iff_file",
984
+ "value": "(\"files\".\"kind\" = 'file') = (\"files\".\"storage_key\" is not null)"
985
+ },
986
+ "files_storage_key_not_blank": {
987
+ "name": "files_storage_key_not_blank",
988
+ "value": "\"files\".\"storage_key\" is null or length(btrim(\"files\".\"storage_key\")) > 0"
989
+ },
990
+ "files_size_non_negative": {
991
+ "name": "files_size_non_negative",
992
+ "value": "\"files\".\"size_bytes\" >= 0"
993
+ },
994
+ "files_folder_has_no_content": {
995
+ "name": "files_folder_has_no_content",
996
+ "value": "\"files\".\"kind\" <> 'folder' or (\"files\".\"size_bytes\" = 0 and \"files\".\"content_type\" is null)"
997
+ }
998
+ },
999
+ "isRLSEnabled": false
1000
+ },
1001
+ "public.mcp_servers": {
1002
+ "name": "mcp_servers",
1003
+ "schema": "",
1004
+ "columns": {
1005
+ "id": {
1006
+ "name": "id",
1007
+ "type": "uuid",
1008
+ "primaryKey": true,
1009
+ "notNull": true,
1010
+ "default": "gen_random_uuid()"
1011
+ },
1012
+ "workspace_id": {
1013
+ "name": "workspace_id",
1014
+ "type": "uuid",
1015
+ "primaryKey": false,
1016
+ "notNull": true
1017
+ },
1018
+ "name": {
1019
+ "name": "name",
1020
+ "type": "text",
1021
+ "primaryKey": false,
1022
+ "notNull": true
1023
+ },
1024
+ "transport": {
1025
+ "name": "transport",
1026
+ "type": "text",
1027
+ "primaryKey": false,
1028
+ "notNull": true
1029
+ },
1030
+ "command": {
1031
+ "name": "command",
1032
+ "type": "text",
1033
+ "primaryKey": false,
1034
+ "notNull": false
1035
+ },
1036
+ "args": {
1037
+ "name": "args",
1038
+ "type": "jsonb",
1039
+ "primaryKey": false,
1040
+ "notNull": false
1041
+ },
1042
+ "url": {
1043
+ "name": "url",
1044
+ "type": "text",
1045
+ "primaryKey": false,
1046
+ "notNull": false
1047
+ },
1048
+ "auth_type": {
1049
+ "name": "auth_type",
1050
+ "type": "text",
1051
+ "primaryKey": false,
1052
+ "notNull": true,
1053
+ "default": "'none'"
1054
+ },
1055
+ "credential_secret_id": {
1056
+ "name": "credential_secret_id",
1057
+ "type": "uuid",
1058
+ "primaryKey": false,
1059
+ "notNull": false
1060
+ },
1061
+ "enabled": {
1062
+ "name": "enabled",
1063
+ "type": "boolean",
1064
+ "primaryKey": false,
1065
+ "notNull": true,
1066
+ "default": true
1067
+ },
1068
+ "created_at": {
1069
+ "name": "created_at",
1070
+ "type": "timestamp with time zone",
1071
+ "primaryKey": false,
1072
+ "notNull": true,
1073
+ "default": "now()"
1074
+ },
1075
+ "updated_at": {
1076
+ "name": "updated_at",
1077
+ "type": "timestamp with time zone",
1078
+ "primaryKey": false,
1079
+ "notNull": true,
1080
+ "default": "now()"
1081
+ }
1082
+ },
1083
+ "indexes": {
1084
+ "mcp_servers_workspace_name_key": {
1085
+ "name": "mcp_servers_workspace_name_key",
1086
+ "columns": [
1087
+ {
1088
+ "expression": "workspace_id",
1089
+ "isExpression": false,
1090
+ "asc": true,
1091
+ "nulls": "last"
1092
+ },
1093
+ {
1094
+ "expression": "name",
1095
+ "isExpression": false,
1096
+ "asc": true,
1097
+ "nulls": "last"
1098
+ }
1099
+ ],
1100
+ "isUnique": true,
1101
+ "concurrently": false,
1102
+ "method": "btree",
1103
+ "with": {}
1104
+ },
1105
+ "mcp_servers_credential_secret_idx": {
1106
+ "name": "mcp_servers_credential_secret_idx",
1107
+ "columns": [
1108
+ {
1109
+ "expression": "credential_secret_id",
1110
+ "isExpression": false,
1111
+ "asc": true,
1112
+ "nulls": "last"
1113
+ }
1114
+ ],
1115
+ "isUnique": false,
1116
+ "concurrently": false,
1117
+ "method": "btree",
1118
+ "with": {}
1119
+ }
1120
+ },
1121
+ "foreignKeys": {
1122
+ "mcp_servers_workspace_id_workspaces_id_fk": {
1123
+ "name": "mcp_servers_workspace_id_workspaces_id_fk",
1124
+ "tableFrom": "mcp_servers",
1125
+ "tableTo": "workspaces",
1126
+ "columnsFrom": [
1127
+ "workspace_id"
1128
+ ],
1129
+ "columnsTo": [
1130
+ "id"
1131
+ ],
1132
+ "onDelete": "cascade",
1133
+ "onUpdate": "no action"
1134
+ },
1135
+ "mcp_servers_credential_secret_workspace_fk": {
1136
+ "name": "mcp_servers_credential_secret_workspace_fk",
1137
+ "tableFrom": "mcp_servers",
1138
+ "tableTo": "secrets",
1139
+ "columnsFrom": [
1140
+ "credential_secret_id",
1141
+ "workspace_id"
1142
+ ],
1143
+ "columnsTo": [
1144
+ "id",
1145
+ "workspace_id"
1146
+ ],
1147
+ "onDelete": "restrict",
1148
+ "onUpdate": "no action"
1149
+ }
1150
+ },
1151
+ "compositePrimaryKeys": {},
1152
+ "uniqueConstraints": {
1153
+ "mcp_servers_id_workspace_key": {
1154
+ "name": "mcp_servers_id_workspace_key",
1155
+ "nullsNotDistinct": false,
1156
+ "columns": [
1157
+ "id",
1158
+ "workspace_id"
1159
+ ]
1160
+ }
1161
+ },
1162
+ "policies": {},
1163
+ "checkConstraints": {
1164
+ "mcp_servers_transport_valid": {
1165
+ "name": "mcp_servers_transport_valid",
1166
+ "value": "\"mcp_servers\".\"transport\" in ('stdio', 'http', 'sse')"
1167
+ },
1168
+ "mcp_servers_auth_type_valid": {
1169
+ "name": "mcp_servers_auth_type_valid",
1170
+ "value": "\"mcp_servers\".\"auth_type\" in ('none', 'api-key', 'bearer', 'oauth')"
1171
+ },
1172
+ "mcp_servers_stdio_has_command": {
1173
+ "name": "mcp_servers_stdio_has_command",
1174
+ "value": "(\"mcp_servers\".\"transport\" = 'stdio') = (\"mcp_servers\".\"command\" is not null)"
1175
+ },
1176
+ "mcp_servers_remote_has_url": {
1177
+ "name": "mcp_servers_remote_has_url",
1178
+ "value": "(\"mcp_servers\".\"transport\" in ('http', 'sse')) = (\"mcp_servers\".\"url\" is not null)"
1179
+ },
1180
+ "mcp_servers_args_are_stdio_only": {
1181
+ "name": "mcp_servers_args_are_stdio_only",
1182
+ "value": "\"mcp_servers\".\"args\" is null or \"mcp_servers\".\"transport\" = 'stdio'"
1183
+ },
1184
+ "mcp_servers_command_not_blank": {
1185
+ "name": "mcp_servers_command_not_blank",
1186
+ "value": "\"mcp_servers\".\"command\" is null or length(btrim(\"mcp_servers\".\"command\")) > 0"
1187
+ },
1188
+ "mcp_servers_url_shape": {
1189
+ "name": "mcp_servers_url_shape",
1190
+ "value": "\"mcp_servers\".\"url\" is null or \"mcp_servers\".\"url\" ~ '^https?://'"
1191
+ },
1192
+ "mcp_servers_credential_required": {
1193
+ "name": "mcp_servers_credential_required",
1194
+ "value": "(\"mcp_servers\".\"auth_type\" in ('api-key', 'bearer', 'oauth')) = (\"mcp_servers\".\"credential_secret_id\" is not null)"
1195
+ },
1196
+ "mcp_servers_name_not_blank": {
1197
+ "name": "mcp_servers_name_not_blank",
1198
+ "value": "length(btrim(\"mcp_servers\".\"name\")) > 0"
1199
+ }
1200
+ },
1201
+ "isRLSEnabled": false
1202
+ },
1203
+ "public.memberships": {
1204
+ "name": "memberships",
1205
+ "schema": "",
1206
+ "columns": {
1207
+ "id": {
1208
+ "name": "id",
1209
+ "type": "uuid",
1210
+ "primaryKey": true,
1211
+ "notNull": true,
1212
+ "default": "gen_random_uuid()"
1213
+ },
1214
+ "workspace_id": {
1215
+ "name": "workspace_id",
1216
+ "type": "uuid",
1217
+ "primaryKey": false,
1218
+ "notNull": true
1219
+ },
1220
+ "user_id": {
1221
+ "name": "user_id",
1222
+ "type": "uuid",
1223
+ "primaryKey": false,
1224
+ "notNull": true
1225
+ },
1226
+ "role": {
1227
+ "name": "role",
1228
+ "type": "text",
1229
+ "primaryKey": false,
1230
+ "notNull": true
1231
+ },
1232
+ "created_at": {
1233
+ "name": "created_at",
1234
+ "type": "timestamp with time zone",
1235
+ "primaryKey": false,
1236
+ "notNull": true,
1237
+ "default": "now()"
1238
+ },
1239
+ "updated_at": {
1240
+ "name": "updated_at",
1241
+ "type": "timestamp with time zone",
1242
+ "primaryKey": false,
1243
+ "notNull": true,
1244
+ "default": "now()"
1245
+ }
1246
+ },
1247
+ "indexes": {
1248
+ "memberships_user_idx": {
1249
+ "name": "memberships_user_idx",
1250
+ "columns": [
1251
+ {
1252
+ "expression": "user_id",
1253
+ "isExpression": false,
1254
+ "asc": true,
1255
+ "nulls": "last"
1256
+ }
1257
+ ],
1258
+ "isUnique": false,
1259
+ "concurrently": false,
1260
+ "method": "btree",
1261
+ "with": {}
1262
+ }
1263
+ },
1264
+ "foreignKeys": {
1265
+ "memberships_workspace_id_workspaces_id_fk": {
1266
+ "name": "memberships_workspace_id_workspaces_id_fk",
1267
+ "tableFrom": "memberships",
1268
+ "tableTo": "workspaces",
1269
+ "columnsFrom": [
1270
+ "workspace_id"
1271
+ ],
1272
+ "columnsTo": [
1273
+ "id"
1274
+ ],
1275
+ "onDelete": "cascade",
1276
+ "onUpdate": "no action"
1277
+ },
1278
+ "memberships_user_id_users_id_fk": {
1279
+ "name": "memberships_user_id_users_id_fk",
1280
+ "tableFrom": "memberships",
1281
+ "tableTo": "users",
1282
+ "columnsFrom": [
1283
+ "user_id"
1284
+ ],
1285
+ "columnsTo": [
1286
+ "id"
1287
+ ],
1288
+ "onDelete": "cascade",
1289
+ "onUpdate": "no action"
1290
+ }
1291
+ },
1292
+ "compositePrimaryKeys": {},
1293
+ "uniqueConstraints": {
1294
+ "memberships_workspace_user_key": {
1295
+ "name": "memberships_workspace_user_key",
1296
+ "nullsNotDistinct": false,
1297
+ "columns": [
1298
+ "workspace_id",
1299
+ "user_id"
1300
+ ]
1301
+ }
1302
+ },
1303
+ "policies": {},
1304
+ "checkConstraints": {
1305
+ "memberships_role_valid": {
1306
+ "name": "memberships_role_valid",
1307
+ "value": "\"memberships\".\"role\" in ('owner', 'admin', 'builder', 'viewer')"
1308
+ }
1309
+ },
1310
+ "isRLSEnabled": false
1311
+ },
1312
+ "public.model_connections": {
1313
+ "name": "model_connections",
1314
+ "schema": "",
1315
+ "columns": {
1316
+ "id": {
1317
+ "name": "id",
1318
+ "type": "uuid",
1319
+ "primaryKey": true,
1320
+ "notNull": true,
1321
+ "default": "gen_random_uuid()"
1322
+ },
1323
+ "workspace_id": {
1324
+ "name": "workspace_id",
1325
+ "type": "uuid",
1326
+ "primaryKey": false,
1327
+ "notNull": true
1328
+ },
1329
+ "name": {
1330
+ "name": "name",
1331
+ "type": "text",
1332
+ "primaryKey": false,
1333
+ "notNull": true
1334
+ },
1335
+ "provider": {
1336
+ "name": "provider",
1337
+ "type": "text",
1338
+ "primaryKey": false,
1339
+ "notNull": true
1340
+ },
1341
+ "config": {
1342
+ "name": "config",
1343
+ "type": "jsonb",
1344
+ "primaryKey": false,
1345
+ "notNull": true
1346
+ },
1347
+ "created_at": {
1348
+ "name": "created_at",
1349
+ "type": "timestamp with time zone",
1350
+ "primaryKey": false,
1351
+ "notNull": true,
1352
+ "default": "now()"
1353
+ },
1354
+ "updated_at": {
1355
+ "name": "updated_at",
1356
+ "type": "timestamp with time zone",
1357
+ "primaryKey": false,
1358
+ "notNull": true,
1359
+ "default": "now()"
1360
+ }
1361
+ },
1362
+ "indexes": {
1363
+ "model_connections_workspace_name_key": {
1364
+ "name": "model_connections_workspace_name_key",
1365
+ "columns": [
1366
+ {
1367
+ "expression": "workspace_id",
1368
+ "isExpression": false,
1369
+ "asc": true,
1370
+ "nulls": "last"
1371
+ },
1372
+ {
1373
+ "expression": "name",
1374
+ "isExpression": false,
1375
+ "asc": true,
1376
+ "nulls": "last"
1377
+ }
1378
+ ],
1379
+ "isUnique": true,
1380
+ "concurrently": false,
1381
+ "method": "btree",
1382
+ "with": {}
1383
+ }
1384
+ },
1385
+ "foreignKeys": {
1386
+ "model_connections_workspace_id_workspaces_id_fk": {
1387
+ "name": "model_connections_workspace_id_workspaces_id_fk",
1388
+ "tableFrom": "model_connections",
1389
+ "tableTo": "workspaces",
1390
+ "columnsFrom": [
1391
+ "workspace_id"
1392
+ ],
1393
+ "columnsTo": [
1394
+ "id"
1395
+ ],
1396
+ "onDelete": "cascade",
1397
+ "onUpdate": "no action"
1398
+ }
1399
+ },
1400
+ "compositePrimaryKeys": {},
1401
+ "uniqueConstraints": {
1402
+ "model_connections_id_workspace_key": {
1403
+ "name": "model_connections_id_workspace_key",
1404
+ "nullsNotDistinct": false,
1405
+ "columns": [
1406
+ "id",
1407
+ "workspace_id"
1408
+ ]
1409
+ }
1410
+ },
1411
+ "policies": {},
1412
+ "checkConstraints": {
1413
+ "model_connections_provider_valid": {
1414
+ "name": "model_connections_provider_valid",
1415
+ "value": "\"model_connections\".\"provider\" in ('anthropic', 'anthropic-compatible', 'openai', 'azure-openai', 'openai-compatible')"
1416
+ }
1417
+ },
1418
+ "isRLSEnabled": false
1419
+ },
1420
+ "public.runs": {
1421
+ "name": "runs",
1422
+ "schema": "",
1423
+ "columns": {
1424
+ "id": {
1425
+ "name": "id",
1426
+ "type": "uuid",
1427
+ "primaryKey": true,
1428
+ "notNull": true,
1429
+ "default": "gen_random_uuid()"
1430
+ },
1431
+ "workspace_id": {
1432
+ "name": "workspace_id",
1433
+ "type": "uuid",
1434
+ "primaryKey": false,
1435
+ "notNull": true
1436
+ },
1437
+ "session_id": {
1438
+ "name": "session_id",
1439
+ "type": "uuid",
1440
+ "primaryKey": false,
1441
+ "notNull": true
1442
+ },
1443
+ "status": {
1444
+ "name": "status",
1445
+ "type": "text",
1446
+ "primaryKey": false,
1447
+ "notNull": true,
1448
+ "default": "'queued'"
1449
+ },
1450
+ "model": {
1451
+ "name": "model",
1452
+ "type": "text",
1453
+ "primaryKey": false,
1454
+ "notNull": false
1455
+ },
1456
+ "provider": {
1457
+ "name": "provider",
1458
+ "type": "text",
1459
+ "primaryKey": false,
1460
+ "notNull": false
1461
+ },
1462
+ "started_at": {
1463
+ "name": "started_at",
1464
+ "type": "timestamp with time zone",
1465
+ "primaryKey": false,
1466
+ "notNull": false
1467
+ },
1468
+ "ended_at": {
1469
+ "name": "ended_at",
1470
+ "type": "timestamp with time zone",
1471
+ "primaryKey": false,
1472
+ "notNull": false
1473
+ },
1474
+ "input_tokens": {
1475
+ "name": "input_tokens",
1476
+ "type": "integer",
1477
+ "primaryKey": false,
1478
+ "notNull": true,
1479
+ "default": 0
1480
+ },
1481
+ "output_tokens": {
1482
+ "name": "output_tokens",
1483
+ "type": "integer",
1484
+ "primaryKey": false,
1485
+ "notNull": true,
1486
+ "default": 0
1487
+ },
1488
+ "cost_usd": {
1489
+ "name": "cost_usd",
1490
+ "type": "numeric(14, 6)",
1491
+ "primaryKey": false,
1492
+ "notNull": true,
1493
+ "default": "'0'"
1494
+ },
1495
+ "tool_calls": {
1496
+ "name": "tool_calls",
1497
+ "type": "integer",
1498
+ "primaryKey": false,
1499
+ "notNull": true,
1500
+ "default": 0
1501
+ },
1502
+ "error": {
1503
+ "name": "error",
1504
+ "type": "text",
1505
+ "primaryKey": false,
1506
+ "notNull": false
1507
+ },
1508
+ "created_at": {
1509
+ "name": "created_at",
1510
+ "type": "timestamp with time zone",
1511
+ "primaryKey": false,
1512
+ "notNull": true,
1513
+ "default": "now()"
1514
+ },
1515
+ "updated_at": {
1516
+ "name": "updated_at",
1517
+ "type": "timestamp with time zone",
1518
+ "primaryKey": false,
1519
+ "notNull": true,
1520
+ "default": "now()"
1521
+ }
1522
+ },
1523
+ "indexes": {
1524
+ "runs_workspace_created_idx": {
1525
+ "name": "runs_workspace_created_idx",
1526
+ "columns": [
1527
+ {
1528
+ "expression": "workspace_id",
1529
+ "isExpression": false,
1530
+ "asc": true,
1531
+ "nulls": "last"
1532
+ },
1533
+ {
1534
+ "expression": "created_at",
1535
+ "isExpression": false,
1536
+ "asc": true,
1537
+ "nulls": "last"
1538
+ }
1539
+ ],
1540
+ "isUnique": false,
1541
+ "concurrently": false,
1542
+ "method": "btree",
1543
+ "with": {}
1544
+ },
1545
+ "runs_session_created_idx": {
1546
+ "name": "runs_session_created_idx",
1547
+ "columns": [
1548
+ {
1549
+ "expression": "session_id",
1550
+ "isExpression": false,
1551
+ "asc": true,
1552
+ "nulls": "last"
1553
+ },
1554
+ {
1555
+ "expression": "created_at",
1556
+ "isExpression": false,
1557
+ "asc": true,
1558
+ "nulls": "last"
1559
+ }
1560
+ ],
1561
+ "isUnique": false,
1562
+ "concurrently": false,
1563
+ "method": "btree",
1564
+ "with": {}
1565
+ }
1566
+ },
1567
+ "foreignKeys": {
1568
+ "runs_workspace_id_workspaces_id_fk": {
1569
+ "name": "runs_workspace_id_workspaces_id_fk",
1570
+ "tableFrom": "runs",
1571
+ "tableTo": "workspaces",
1572
+ "columnsFrom": [
1573
+ "workspace_id"
1574
+ ],
1575
+ "columnsTo": [
1576
+ "id"
1577
+ ],
1578
+ "onDelete": "cascade",
1579
+ "onUpdate": "no action"
1580
+ },
1581
+ "runs_session_workspace_fk": {
1582
+ "name": "runs_session_workspace_fk",
1583
+ "tableFrom": "runs",
1584
+ "tableTo": "sessions",
1585
+ "columnsFrom": [
1586
+ "session_id",
1587
+ "workspace_id"
1588
+ ],
1589
+ "columnsTo": [
1590
+ "id",
1591
+ "workspace_id"
1592
+ ],
1593
+ "onDelete": "cascade",
1594
+ "onUpdate": "no action"
1595
+ }
1596
+ },
1597
+ "compositePrimaryKeys": {},
1598
+ "uniqueConstraints": {},
1599
+ "policies": {},
1600
+ "checkConstraints": {
1601
+ "runs_status_valid": {
1602
+ "name": "runs_status_valid",
1603
+ "value": "\"runs\".\"status\" in ('queued', 'running', 'completed', 'failed', 'cancelled')"
1604
+ },
1605
+ "runs_provider_valid": {
1606
+ "name": "runs_provider_valid",
1607
+ "value": "\"runs\".\"provider\" in ('anthropic', 'anthropic-compatible', 'openai', 'azure-openai', 'openai-compatible')"
1608
+ },
1609
+ "runs_ended_at_iff_terminal": {
1610
+ "name": "runs_ended_at_iff_terminal",
1611
+ "value": "(\"runs\".\"status\" in ('completed', 'failed', 'cancelled')) = (\"runs\".\"ended_at\" is not null)"
1612
+ },
1613
+ "runs_ended_after_started": {
1614
+ "name": "runs_ended_after_started",
1615
+ "value": "\"runs\".\"ended_at\" is null or \"runs\".\"started_at\" is null or \"runs\".\"ended_at\" >= \"runs\".\"started_at\""
1616
+ },
1617
+ "runs_counters_non_negative": {
1618
+ "name": "runs_counters_non_negative",
1619
+ "value": "\"runs\".\"input_tokens\" >= 0 and \"runs\".\"output_tokens\" >= 0 and \"runs\".\"tool_calls\" >= 0 and \"runs\".\"cost_usd\" >= 0"
1620
+ }
1621
+ },
1622
+ "isRLSEnabled": false
1623
+ },
1624
+ "public.secrets": {
1625
+ "name": "secrets",
1626
+ "schema": "",
1627
+ "columns": {
1628
+ "id": {
1629
+ "name": "id",
1630
+ "type": "uuid",
1631
+ "primaryKey": true,
1632
+ "notNull": true,
1633
+ "default": "gen_random_uuid()"
1634
+ },
1635
+ "workspace_id": {
1636
+ "name": "workspace_id",
1637
+ "type": "uuid",
1638
+ "primaryKey": false,
1639
+ "notNull": true
1640
+ },
1641
+ "name": {
1642
+ "name": "name",
1643
+ "type": "text",
1644
+ "primaryKey": false,
1645
+ "notNull": true
1646
+ },
1647
+ "algorithm": {
1648
+ "name": "algorithm",
1649
+ "type": "text",
1650
+ "primaryKey": false,
1651
+ "notNull": true
1652
+ },
1653
+ "master_key_id": {
1654
+ "name": "master_key_id",
1655
+ "type": "text",
1656
+ "primaryKey": false,
1657
+ "notNull": true
1658
+ },
1659
+ "wrapped_data_key": {
1660
+ "name": "wrapped_data_key",
1661
+ "type": "bytea",
1662
+ "primaryKey": false,
1663
+ "notNull": true
1664
+ },
1665
+ "wrapped_data_key_nonce": {
1666
+ "name": "wrapped_data_key_nonce",
1667
+ "type": "bytea",
1668
+ "primaryKey": false,
1669
+ "notNull": true
1670
+ },
1671
+ "wrapped_data_key_tag": {
1672
+ "name": "wrapped_data_key_tag",
1673
+ "type": "bytea",
1674
+ "primaryKey": false,
1675
+ "notNull": true
1676
+ },
1677
+ "ciphertext": {
1678
+ "name": "ciphertext",
1679
+ "type": "bytea",
1680
+ "primaryKey": false,
1681
+ "notNull": true
1682
+ },
1683
+ "ciphertext_nonce": {
1684
+ "name": "ciphertext_nonce",
1685
+ "type": "bytea",
1686
+ "primaryKey": false,
1687
+ "notNull": true
1688
+ },
1689
+ "ciphertext_tag": {
1690
+ "name": "ciphertext_tag",
1691
+ "type": "bytea",
1692
+ "primaryKey": false,
1693
+ "notNull": true
1694
+ },
1695
+ "created_at": {
1696
+ "name": "created_at",
1697
+ "type": "timestamp with time zone",
1698
+ "primaryKey": false,
1699
+ "notNull": true,
1700
+ "default": "now()"
1701
+ },
1702
+ "updated_at": {
1703
+ "name": "updated_at",
1704
+ "type": "timestamp with time zone",
1705
+ "primaryKey": false,
1706
+ "notNull": true,
1707
+ "default": "now()"
1708
+ }
1709
+ },
1710
+ "indexes": {
1711
+ "secrets_workspace_name_key": {
1712
+ "name": "secrets_workspace_name_key",
1713
+ "columns": [
1714
+ {
1715
+ "expression": "workspace_id",
1716
+ "isExpression": false,
1717
+ "asc": true,
1718
+ "nulls": "last"
1719
+ },
1720
+ {
1721
+ "expression": "name",
1722
+ "isExpression": false,
1723
+ "asc": true,
1724
+ "nulls": "last"
1725
+ }
1726
+ ],
1727
+ "isUnique": true,
1728
+ "concurrently": false,
1729
+ "method": "btree",
1730
+ "with": {}
1731
+ }
1732
+ },
1733
+ "foreignKeys": {
1734
+ "secrets_workspace_id_workspaces_id_fk": {
1735
+ "name": "secrets_workspace_id_workspaces_id_fk",
1736
+ "tableFrom": "secrets",
1737
+ "tableTo": "workspaces",
1738
+ "columnsFrom": [
1739
+ "workspace_id"
1740
+ ],
1741
+ "columnsTo": [
1742
+ "id"
1743
+ ],
1744
+ "onDelete": "cascade",
1745
+ "onUpdate": "no action"
1746
+ }
1747
+ },
1748
+ "compositePrimaryKeys": {},
1749
+ "uniqueConstraints": {
1750
+ "secrets_id_workspace_key": {
1751
+ "name": "secrets_id_workspace_key",
1752
+ "nullsNotDistinct": false,
1753
+ "columns": [
1754
+ "id",
1755
+ "workspace_id"
1756
+ ]
1757
+ }
1758
+ },
1759
+ "policies": {},
1760
+ "checkConstraints": {
1761
+ "secrets_name_shape": {
1762
+ "name": "secrets_name_shape",
1763
+ "value": "\"secrets\".\"name\" ~ '^[A-Z][A-Z0-9_]{0,127}$'"
1764
+ },
1765
+ "secrets_master_key_id_not_blank": {
1766
+ "name": "secrets_master_key_id_not_blank",
1767
+ "value": "length(btrim(\"secrets\".\"master_key_id\")) > 0"
1768
+ },
1769
+ "secrets_algorithm_valid": {
1770
+ "name": "secrets_algorithm_valid",
1771
+ "value": "\"secrets\".\"algorithm\" in ('aes-256-gcm')"
1772
+ },
1773
+ "secrets_wrapped_data_key_size": {
1774
+ "name": "secrets_wrapped_data_key_size",
1775
+ "value": "octet_length(\"secrets\".\"wrapped_data_key\") = 32"
1776
+ },
1777
+ "secrets_nonce_sizes": {
1778
+ "name": "secrets_nonce_sizes",
1779
+ "value": "octet_length(\"secrets\".\"wrapped_data_key_nonce\") = 12 and octet_length(\"secrets\".\"ciphertext_nonce\") = 12"
1780
+ },
1781
+ "secrets_tag_sizes": {
1782
+ "name": "secrets_tag_sizes",
1783
+ "value": "octet_length(\"secrets\".\"wrapped_data_key_tag\") = 16 and octet_length(\"secrets\".\"ciphertext_tag\") = 16"
1784
+ },
1785
+ "secrets_ciphertext_not_empty": {
1786
+ "name": "secrets_ciphertext_not_empty",
1787
+ "value": "octet_length(\"secrets\".\"ciphertext\") > 0"
1788
+ }
1789
+ },
1790
+ "isRLSEnabled": false
1791
+ },
1792
+ "public.sessions": {
1793
+ "name": "sessions",
1794
+ "schema": "",
1795
+ "columns": {
1796
+ "id": {
1797
+ "name": "id",
1798
+ "type": "uuid",
1799
+ "primaryKey": true,
1800
+ "notNull": true,
1801
+ "default": "gen_random_uuid()"
1802
+ },
1803
+ "workspace_id": {
1804
+ "name": "workspace_id",
1805
+ "type": "uuid",
1806
+ "primaryKey": false,
1807
+ "notNull": true
1808
+ },
1809
+ "user_id": {
1810
+ "name": "user_id",
1811
+ "type": "uuid",
1812
+ "primaryKey": false,
1813
+ "notNull": true
1814
+ },
1815
+ "agent_id": {
1816
+ "name": "agent_id",
1817
+ "type": "uuid",
1818
+ "primaryKey": false,
1819
+ "notNull": true
1820
+ },
1821
+ "claude_session_id": {
1822
+ "name": "claude_session_id",
1823
+ "type": "text",
1824
+ "primaryKey": false,
1825
+ "notNull": false
1826
+ },
1827
+ "title": {
1828
+ "name": "title",
1829
+ "type": "text",
1830
+ "primaryKey": false,
1831
+ "notNull": false
1832
+ },
1833
+ "status": {
1834
+ "name": "status",
1835
+ "type": "text",
1836
+ "primaryKey": false,
1837
+ "notNull": true,
1838
+ "default": "'active'"
1839
+ },
1840
+ "created_at": {
1841
+ "name": "created_at",
1842
+ "type": "timestamp with time zone",
1843
+ "primaryKey": false,
1844
+ "notNull": true,
1845
+ "default": "now()"
1846
+ },
1847
+ "updated_at": {
1848
+ "name": "updated_at",
1849
+ "type": "timestamp with time zone",
1850
+ "primaryKey": false,
1851
+ "notNull": true,
1852
+ "default": "now()"
1853
+ }
1854
+ },
1855
+ "indexes": {
1856
+ "sessions_workspace_updated_idx": {
1857
+ "name": "sessions_workspace_updated_idx",
1858
+ "columns": [
1859
+ {
1860
+ "expression": "workspace_id",
1861
+ "isExpression": false,
1862
+ "asc": true,
1863
+ "nulls": "last"
1864
+ },
1865
+ {
1866
+ "expression": "updated_at",
1867
+ "isExpression": false,
1868
+ "asc": true,
1869
+ "nulls": "last"
1870
+ }
1871
+ ],
1872
+ "isUnique": false,
1873
+ "concurrently": false,
1874
+ "method": "btree",
1875
+ "with": {}
1876
+ },
1877
+ "sessions_workspace_claude_session_key": {
1878
+ "name": "sessions_workspace_claude_session_key",
1879
+ "columns": [
1880
+ {
1881
+ "expression": "workspace_id",
1882
+ "isExpression": false,
1883
+ "asc": true,
1884
+ "nulls": "last"
1885
+ },
1886
+ {
1887
+ "expression": "claude_session_id",
1888
+ "isExpression": false,
1889
+ "asc": true,
1890
+ "nulls": "last"
1891
+ }
1892
+ ],
1893
+ "isUnique": true,
1894
+ "concurrently": false,
1895
+ "method": "btree",
1896
+ "with": {}
1897
+ },
1898
+ "sessions_agent_idx": {
1899
+ "name": "sessions_agent_idx",
1900
+ "columns": [
1901
+ {
1902
+ "expression": "agent_id",
1903
+ "isExpression": false,
1904
+ "asc": true,
1905
+ "nulls": "last"
1906
+ }
1907
+ ],
1908
+ "isUnique": false,
1909
+ "concurrently": false,
1910
+ "method": "btree",
1911
+ "with": {}
1912
+ },
1913
+ "sessions_user_idx": {
1914
+ "name": "sessions_user_idx",
1915
+ "columns": [
1916
+ {
1917
+ "expression": "user_id",
1918
+ "isExpression": false,
1919
+ "asc": true,
1920
+ "nulls": "last"
1921
+ }
1922
+ ],
1923
+ "isUnique": false,
1924
+ "concurrently": false,
1925
+ "method": "btree",
1926
+ "with": {}
1927
+ }
1928
+ },
1929
+ "foreignKeys": {
1930
+ "sessions_workspace_id_workspaces_id_fk": {
1931
+ "name": "sessions_workspace_id_workspaces_id_fk",
1932
+ "tableFrom": "sessions",
1933
+ "tableTo": "workspaces",
1934
+ "columnsFrom": [
1935
+ "workspace_id"
1936
+ ],
1937
+ "columnsTo": [
1938
+ "id"
1939
+ ],
1940
+ "onDelete": "cascade",
1941
+ "onUpdate": "no action"
1942
+ },
1943
+ "sessions_user_id_users_id_fk": {
1944
+ "name": "sessions_user_id_users_id_fk",
1945
+ "tableFrom": "sessions",
1946
+ "tableTo": "users",
1947
+ "columnsFrom": [
1948
+ "user_id"
1949
+ ],
1950
+ "columnsTo": [
1951
+ "id"
1952
+ ],
1953
+ "onDelete": "restrict",
1954
+ "onUpdate": "no action"
1955
+ },
1956
+ "sessions_agent_workspace_fk": {
1957
+ "name": "sessions_agent_workspace_fk",
1958
+ "tableFrom": "sessions",
1959
+ "tableTo": "agents",
1960
+ "columnsFrom": [
1961
+ "agent_id",
1962
+ "workspace_id"
1963
+ ],
1964
+ "columnsTo": [
1965
+ "id",
1966
+ "workspace_id"
1967
+ ],
1968
+ "onDelete": "cascade",
1969
+ "onUpdate": "no action"
1970
+ },
1971
+ "sessions_member_workspace_fk": {
1972
+ "name": "sessions_member_workspace_fk",
1973
+ "tableFrom": "sessions",
1974
+ "tableTo": "memberships",
1975
+ "columnsFrom": [
1976
+ "workspace_id",
1977
+ "user_id"
1978
+ ],
1979
+ "columnsTo": [
1980
+ "workspace_id",
1981
+ "user_id"
1982
+ ],
1983
+ "onDelete": "no action",
1984
+ "onUpdate": "no action"
1985
+ }
1986
+ },
1987
+ "compositePrimaryKeys": {},
1988
+ "uniqueConstraints": {
1989
+ "sessions_id_workspace_key": {
1990
+ "name": "sessions_id_workspace_key",
1991
+ "nullsNotDistinct": false,
1992
+ "columns": [
1993
+ "id",
1994
+ "workspace_id"
1995
+ ]
1996
+ }
1997
+ },
1998
+ "policies": {},
1999
+ "checkConstraints": {
2000
+ "sessions_status_valid": {
2001
+ "name": "sessions_status_valid",
2002
+ "value": "\"sessions\".\"status\" in ('active', 'archived')"
2003
+ }
2004
+ },
2005
+ "isRLSEnabled": false
2006
+ },
2007
+ "public.skills": {
2008
+ "name": "skills",
2009
+ "schema": "",
2010
+ "columns": {
2011
+ "id": {
2012
+ "name": "id",
2013
+ "type": "uuid",
2014
+ "primaryKey": true,
2015
+ "notNull": true,
2016
+ "default": "gen_random_uuid()"
2017
+ },
2018
+ "workspace_id": {
2019
+ "name": "workspace_id",
2020
+ "type": "uuid",
2021
+ "primaryKey": false,
2022
+ "notNull": true
2023
+ },
2024
+ "name": {
2025
+ "name": "name",
2026
+ "type": "text",
2027
+ "primaryKey": false,
2028
+ "notNull": true
2029
+ },
2030
+ "skill_md": {
2031
+ "name": "skill_md",
2032
+ "type": "text",
2033
+ "primaryKey": false,
2034
+ "notNull": true
2035
+ },
2036
+ "enabled": {
2037
+ "name": "enabled",
2038
+ "type": "boolean",
2039
+ "primaryKey": false,
2040
+ "notNull": true,
2041
+ "default": true
2042
+ },
2043
+ "created_at": {
2044
+ "name": "created_at",
2045
+ "type": "timestamp with time zone",
2046
+ "primaryKey": false,
2047
+ "notNull": true,
2048
+ "default": "now()"
2049
+ },
2050
+ "updated_at": {
2051
+ "name": "updated_at",
2052
+ "type": "timestamp with time zone",
2053
+ "primaryKey": false,
2054
+ "notNull": true,
2055
+ "default": "now()"
2056
+ }
2057
+ },
2058
+ "indexes": {
2059
+ "skills_workspace_name_key": {
2060
+ "name": "skills_workspace_name_key",
2061
+ "columns": [
2062
+ {
2063
+ "expression": "workspace_id",
2064
+ "isExpression": false,
2065
+ "asc": true,
2066
+ "nulls": "last"
2067
+ },
2068
+ {
2069
+ "expression": "name",
2070
+ "isExpression": false,
2071
+ "asc": true,
2072
+ "nulls": "last"
2073
+ }
2074
+ ],
2075
+ "isUnique": true,
2076
+ "concurrently": false,
2077
+ "method": "btree",
2078
+ "with": {}
2079
+ }
2080
+ },
2081
+ "foreignKeys": {
2082
+ "skills_workspace_id_workspaces_id_fk": {
2083
+ "name": "skills_workspace_id_workspaces_id_fk",
2084
+ "tableFrom": "skills",
2085
+ "tableTo": "workspaces",
2086
+ "columnsFrom": [
2087
+ "workspace_id"
2088
+ ],
2089
+ "columnsTo": [
2090
+ "id"
2091
+ ],
2092
+ "onDelete": "cascade",
2093
+ "onUpdate": "no action"
2094
+ }
2095
+ },
2096
+ "compositePrimaryKeys": {},
2097
+ "uniqueConstraints": {
2098
+ "skills_id_workspace_key": {
2099
+ "name": "skills_id_workspace_key",
2100
+ "nullsNotDistinct": false,
2101
+ "columns": [
2102
+ "id",
2103
+ "workspace_id"
2104
+ ]
2105
+ }
2106
+ },
2107
+ "policies": {},
2108
+ "checkConstraints": {
2109
+ "skills_name_shape": {
2110
+ "name": "skills_name_shape",
2111
+ "value": "\"skills\".\"name\" ~ '^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$'"
2112
+ },
2113
+ "skills_skill_md_not_blank": {
2114
+ "name": "skills_skill_md_not_blank",
2115
+ "value": "length(btrim(\"skills\".\"skill_md\")) > 0"
2116
+ }
2117
+ },
2118
+ "isRLSEnabled": false
2119
+ },
2120
+ "public.users": {
2121
+ "name": "users",
2122
+ "schema": "",
2123
+ "columns": {
2124
+ "id": {
2125
+ "name": "id",
2126
+ "type": "uuid",
2127
+ "primaryKey": true,
2128
+ "notNull": true,
2129
+ "default": "gen_random_uuid()"
2130
+ },
2131
+ "email": {
2132
+ "name": "email",
2133
+ "type": "text",
2134
+ "primaryKey": false,
2135
+ "notNull": true
2136
+ },
2137
+ "name": {
2138
+ "name": "name",
2139
+ "type": "text",
2140
+ "primaryKey": false,
2141
+ "notNull": true
2142
+ },
2143
+ "created_at": {
2144
+ "name": "created_at",
2145
+ "type": "timestamp with time zone",
2146
+ "primaryKey": false,
2147
+ "notNull": true,
2148
+ "default": "now()"
2149
+ },
2150
+ "updated_at": {
2151
+ "name": "updated_at",
2152
+ "type": "timestamp with time zone",
2153
+ "primaryKey": false,
2154
+ "notNull": true,
2155
+ "default": "now()"
2156
+ }
2157
+ },
2158
+ "indexes": {
2159
+ "users_email_key": {
2160
+ "name": "users_email_key",
2161
+ "columns": [
2162
+ {
2163
+ "expression": "email",
2164
+ "isExpression": false,
2165
+ "asc": true,
2166
+ "nulls": "last"
2167
+ }
2168
+ ],
2169
+ "isUnique": true,
2170
+ "concurrently": false,
2171
+ "method": "btree",
2172
+ "with": {}
2173
+ }
2174
+ },
2175
+ "foreignKeys": {},
2176
+ "compositePrimaryKeys": {},
2177
+ "uniqueConstraints": {},
2178
+ "policies": {},
2179
+ "checkConstraints": {
2180
+ "users_email_lowercase": {
2181
+ "name": "users_email_lowercase",
2182
+ "value": "\"users\".\"email\" = lower(\"users\".\"email\")"
2183
+ },
2184
+ "users_email_shape": {
2185
+ "name": "users_email_shape",
2186
+ "value": "\"users\".\"email\" ~ '^[^[:space:]@]+@[^[:space:]@]+[.][^[:space:]@]+$'"
2187
+ },
2188
+ "users_name_not_blank": {
2189
+ "name": "users_name_not_blank",
2190
+ "value": "length(btrim(\"users\".\"name\")) > 0"
2191
+ }
2192
+ },
2193
+ "isRLSEnabled": false
2194
+ },
2195
+ "public.workspaces": {
2196
+ "name": "workspaces",
2197
+ "schema": "",
2198
+ "columns": {
2199
+ "id": {
2200
+ "name": "id",
2201
+ "type": "uuid",
2202
+ "primaryKey": true,
2203
+ "notNull": true,
2204
+ "default": "gen_random_uuid()"
2205
+ },
2206
+ "slug": {
2207
+ "name": "slug",
2208
+ "type": "text",
2209
+ "primaryKey": false,
2210
+ "notNull": true
2211
+ },
2212
+ "name": {
2213
+ "name": "name",
2214
+ "type": "text",
2215
+ "primaryKey": false,
2216
+ "notNull": true
2217
+ },
2218
+ "created_at": {
2219
+ "name": "created_at",
2220
+ "type": "timestamp with time zone",
2221
+ "primaryKey": false,
2222
+ "notNull": true,
2223
+ "default": "now()"
2224
+ },
2225
+ "updated_at": {
2226
+ "name": "updated_at",
2227
+ "type": "timestamp with time zone",
2228
+ "primaryKey": false,
2229
+ "notNull": true,
2230
+ "default": "now()"
2231
+ }
2232
+ },
2233
+ "indexes": {
2234
+ "workspaces_slug_key": {
2235
+ "name": "workspaces_slug_key",
2236
+ "columns": [
2237
+ {
2238
+ "expression": "slug",
2239
+ "isExpression": false,
2240
+ "asc": true,
2241
+ "nulls": "last"
2242
+ }
2243
+ ],
2244
+ "isUnique": true,
2245
+ "concurrently": false,
2246
+ "method": "btree",
2247
+ "with": {}
2248
+ }
2249
+ },
2250
+ "foreignKeys": {},
2251
+ "compositePrimaryKeys": {},
2252
+ "uniqueConstraints": {},
2253
+ "policies": {},
2254
+ "checkConstraints": {
2255
+ "workspaces_slug_format": {
2256
+ "name": "workspaces_slug_format",
2257
+ "value": "\"workspaces\".\"slug\" ~ '^[a-z0-9](?:[a-z0-9-]{0,61}[a-z0-9])?$'"
2258
+ },
2259
+ "workspaces_name_not_blank": {
2260
+ "name": "workspaces_name_not_blank",
2261
+ "value": "length(btrim(\"workspaces\".\"name\")) > 0"
2262
+ }
2263
+ },
2264
+ "isRLSEnabled": false
2265
+ }
2266
+ },
2267
+ "enums": {},
2268
+ "schemas": {},
2269
+ "sequences": {},
2270
+ "roles": {},
2271
+ "policies": {},
2272
+ "views": {},
2273
+ "_meta": {
2274
+ "columns": {},
2275
+ "schemas": {},
2276
+ "tables": {}
2277
+ }
2278
+ }