@sentry/junior 0.314.0 → 0.315.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 (655) hide show
  1. package/dist/{channel-access-BOL29BG3.js → adapter-context-BlSGE44V.js} +42 -3
  2. package/dist/{admin-BXGAySz0.js → admin-5jUYY46p.js} +1 -1
  3. package/dist/agent-runner-C7GNLRB6.js +23438 -0
  4. package/dist/agent-update-delivery-BNEYQsAf.js +149 -0
  5. package/dist/api/schema.d.ts +9500 -2
  6. package/dist/api/schema.js +4 -6
  7. package/dist/api.d.ts +2 -3
  8. package/dist/api.js +850 -283
  9. package/dist/{app-D7tKnw9a.d.ts → app-D_bAXRDe.d.ts} +310 -29
  10. package/dist/app.d.ts +1 -1
  11. package/dist/app.js +260 -50
  12. package/dist/change-record-Bqsa5ZXE.d.ts +175 -0
  13. package/dist/chat-core-engine-CxkwRpn9.js +123 -0
  14. package/dist/cli/chat.d.ts +4 -1
  15. package/dist/cli/chat.js +39 -21
  16. package/dist/cli/check.js +4 -4
  17. package/dist/cli/main.js +2 -2
  18. package/dist/cli/plugins.js +3 -4
  19. package/dist/cli/run.d.ts +1 -1
  20. package/dist/cli/run.js +1 -1
  21. package/dist/cli/snapshot-create.js +2 -5
  22. package/dist/cli/upgrade.d.ts +1 -1
  23. package/dist/cli/upgrade.js +48 -96
  24. package/dist/{continue-in-slack-fnmD2Ifb.js → continue-in-slack-BGKjIdFp.js} +3 -5
  25. package/dist/{conversation-feed-DdFQuQDR.js → conversation-feed-Sl8lKKmR.js} +22 -2
  26. package/dist/{conversation-turn-DScuDYmN.js → conversation-turn-BoLK9i6g.js} +149 -103
  27. package/dist/{create-CrNt4Ewu.js → create-BOycVH9h.js} +5 -4
  28. package/dist/{credential-sync-CtqsGjj1.js → credential-sync-Mn4OdkEh.js} +10 -15
  29. package/dist/db-BpxcYXfD.d.ts +2 -0
  30. package/dist/{credentialed-dWRA3-oJ.js → db-DXTOYRzR.js} +21687 -9285
  31. package/dist/deployment-CG3TchWh.js +51 -0
  32. package/dist/direct-url-BYgYfuIy.js +22 -0
  33. package/dist/engine-context-dyWlfNdD.js +1817 -0
  34. package/dist/{html-B8rBt7F4.js → html-CfXEwl_h.js} +2 -5
  35. package/dist/instrumentation.js +2 -2
  36. package/dist/job-runner-CySgpi9v.js +1131 -0
  37. package/dist/{lineage-EULJkGO1.js → lineage-tRTOcrsL.js} +1 -1
  38. package/dist/{list-C5400AlJ.js → list-DXBz8SYL.js} +411 -132
  39. package/dist/local-server-CpnGhYml.js +276 -0
  40. package/dist/{conversation-privacy-DtZhI91r.js → logging-czs0nqLC.js} +2 -231
  41. package/dist/{mailbox-turn-DL3Lvsm0.js → mailbox-turn-79Nv1JXv.js} +1922 -2439
  42. package/dist/markers-CE0HMXWT.js +67 -0
  43. package/dist/{media-FYM-Bl3H.js → media-Cr9pGkzr.js} +670 -35
  44. package/dist/{message-DuDelZFr.js → message-BTox2Cmb.js} +18 -16
  45. package/dist/{model-input-0osF3pBS.js → model-input-IRGa98V7.js} +3 -3
  46. package/dist/nitro.d.ts +7 -1
  47. package/dist/nitro.js +48 -293
  48. package/dist/{oauth-callback-server-DX2fQ7Nq.js → oauth-callback-server-NXK7AlBp.js} +2 -2
  49. package/dist/{oauth-relay-PwPMdZJv.js → oauth-relay-6NBPSpFE.js} +1 -1
  50. package/dist/{package-discovery-DD9vencX.js → package-discovery-BI6T_RkD.js} +50 -1
  51. package/dist/{markers-DUP8aBOp.js → parent-result-Dg6P6roR.js} +71 -71
  52. package/dist/people-Cegp1Iwq.js +81 -0
  53. package/dist/proxy-path-Dc-0jXGi.js +203 -0
  54. package/dist/{resolve-D8CPJcNK.js → resolve-BUFkmxkT.js} +229 -4
  55. package/dist/{result-D090hxr5.js → result-DfATzX77.js} +79 -144
  56. package/dist/{runner-BU7fgrm-.js → runner-CmKP3inb.js} +7 -7
  57. package/dist/{sandbox-egress-signals-BUmVrsoG.js → sandbox-egress-signals-DYo5BsM7.js} +1 -1
  58. package/dist/{schema-7gW9vBpJ.js → schema-DrBMdPmv.js} +111 -15
  59. package/dist/{service-account-plA-uzIB.js → service-account-CxTX7nnR.js} +1 -3
  60. package/dist/{skills-CIosT6bS.js → skills-BlHUDj7k.js} +4 -4
  61. package/dist/{slack-conversation-unfurl-CBgZqth6.js → slack-conversation-unfurl-Dhe3lB1U.js} +6 -8
  62. package/dist/{spawn-DRjdzh3R.js → spawn-CfvlFdfz.js} +4 -5
  63. package/dist/start-conversation-Uh8Sk1EF.js +162 -0
  64. package/dist/system-prompt-table-CDCYVwqN.js +1169 -0
  65. package/dist/{task-runner-C-pXsgHM.js → task-runner-DcdQJd9e.js} +71 -17
  66. package/dist/{thread-context-CDX4dSZd.js → thread-context-DF5uDcWN.js} +5 -6
  67. package/dist/topic-CRYYBYp-.js +7 -0
  68. package/dist/transcript-BHhJVY0P.js +410 -0
  69. package/dist/turn-session-routing-GtetHsdO.js +1309 -0
  70. package/dist/{turn-wake-Bzq1Efrm.js → turn-wake-um5Ubd4m.js} +5 -7
  71. package/dist/{validation-bTq88sya.js → validation-CJyuOPD2.js} +1 -1
  72. package/dist/{version-DGUa1dZK.js → version-Bhe7RPIe.js} +1 -1
  73. package/dist/version.js +1 -1
  74. package/dist/virtual-module-BeKA_EII.js +12 -0
  75. package/dist/{worker-AkZg7Dg1.js → worker-D8PRgUqr.js} +3 -5
  76. package/migrations/20260711145847_initial/snapshot.json +2103 -0
  77. package/migrations/20260711145900_conversation_metrics/snapshot.json +135 -0
  78. package/migrations/20260712153649_conversation_message_search/snapshot.json +50 -0
  79. package/migrations/20260713040256_peaceful_scalphunter/snapshot.json +42 -0
  80. package/migrations/20260715174202_useful_magus/snapshot.json +42 -0
  81. package/migrations/20260715174203_conversation_events/snapshot.json +539 -0
  82. package/migrations/20260723042835_drop_legacy_conversation_messages/snapshot.json +9 -0
  83. package/migrations/20260723050612_thick_sugar_man/snapshot.json +120 -0
  84. package/migrations/20260727223822_sticky_rage/snapshot.json +274 -0
  85. package/migrations/20260728033158_slippery_harrier/snapshot.json +191 -0
  86. package/migrations/20260728040836_native_conversation_history/snapshot.json +9 -0
  87. package/migrations/20260728204900_sour_golden_guardian/snapshot.json +124 -0
  88. package/migrations/20260730233332_structured_conversation_events/snapshot.json +9 -0
  89. package/migrations/20260731164038_conversation_session_source/snapshot.json +42 -0
  90. package/migrations/20260801230336_source_visibility/snapshot.json +9 -0
  91. package/migrations/20260802023731_magical_ezekiel_stane/snapshot.json +266 -0
  92. package/migrations/20260804015843_neat_the_anarchist/snapshot.json +714 -0
  93. package/migrations/20260804165952_drop_paused_scheduled_tasks/snapshot.json +9 -0
  94. package/migrations/20260804225613_curvy_excalibur/snapshot.json +223 -0
  95. package/migrations/20260805174033_lowly_valkyrie/snapshot.json +344 -0
  96. package/migrations/20260805200301_restrict_task_execution_kinds/snapshot.json +36 -0
  97. package/migrations/20260806030729_first_warhawk/snapshot.json +690 -0
  98. package/migrations/20260807185200_task_execution_status/snapshot.json +92 -0
  99. package/migrations/20260808014743_task_title_columns/snapshot.json +68 -0
  100. package/migrations/20260809220421_misty_typhoid_mary/snapshot.json +191 -0
  101. package/migrations/20260811193709_mcp_credential_subject/snapshot.json +9 -0
  102. package/migrations/20260812032924_conversation_event_actor_and_participants/snapshot.json +393 -0
  103. package/migrations/20260812172418_attachment_storage/snapshot.json +341 -0
  104. package/migrations/20260813230732_artifacts/snapshot.json +349 -0
  105. package/migrations/20260814062905_dizzy_barracuda/snapshot.json +342 -0
  106. package/migrations/20260814231353_drop_workspace_repo_primary/snapshot.json +55 -0
  107. package/migrations/20260815030100_wild_phantom_reporter/snapshot.json +135 -0
  108. package/migrations/20260817082233_workspace_snapshots_table/snapshot.json +625 -0
  109. package/migrations/20260818160339_workspace_snapshot_active_build/snapshot.json +62 -0
  110. package/migrations/20260821180755_strong_randall/snapshot.json +42 -0
  111. package/migrations/20260823030308_workspace_snapshot_size_bytes/snapshot.json +62 -0
  112. package/migrations/20260824190313_complex_rage/snapshot.json +690 -0
  113. package/migrations/20260827233711_conversation_location/snapshot.json +42 -0
  114. package/migrations/20260901224306_event_task_status/snapshot.json +100 -0
  115. package/migrations/20260904153232_attachment_provider/snapshot.json +234 -0
  116. package/migrations/20260909111415_conversation_briefs/snapshot.json +364 -0
  117. package/migrations/20260910144928_automation_outcomes_backfill/snapshot.json +9 -0
  118. package/migrations/20260911184346_conversation_metrics/snapshot.json +226 -0
  119. package/migrations/20260921140842_scheduled_automation_channel_destinations/snapshot.json +9 -0
  120. package/migrations/20260922221709_event_automation_channel_destinations/snapshot.json +9 -0
  121. package/migrations/20261001113455_conversation_forks/snapshot.json +120 -0
  122. package/migrations/20261005161844_automation_versions/snapshot.json +150 -0
  123. package/migrations/20261006152043_user_timezone/snapshot.json +37 -0
  124. package/migrations/20261008200858_user_admin/snapshot.json +37 -0
  125. package/migrations/20261009145407_event_automation_status_reason/snapshot.json +42 -0
  126. package/migrations/20261013160816_agent_invocation_parent_mailbox/snapshot.json +93 -0
  127. package/migrations/20261013215020_agent_invocation_parent_tool_call/snapshot.json +42 -0
  128. package/migrations/20261014011138_agent_invocation_title/snapshot.json +42 -0
  129. package/migrations/20261014211942_conversation_stopped_at/snapshot.json +42 -0
  130. package/migrations/20261015012820_flowery_rage/snapshot.json +42 -0
  131. package/migrations/20261017000924_automations/snapshot.json +790 -0
  132. package/migrations/20261017134736_automation_runs/snapshot.json +474 -0
  133. package/migrations/20261017170250_drop_legacy_automation_tables/snapshot.json +397 -0
  134. package/migrations/20261018134754_automation_creator_identity/snapshot.json +130 -0
  135. package/migrations/20261023071954_automation_run_version/snapshot.json +79 -0
  136. package/migrations/20261025233137_identity_signed_in_at/snapshot.json +42 -0
  137. package/migrations/20261027234315_workspace_vcpus/snapshot.json +37 -0
  138. package/migrations/20261028124242_plugin_report_index/snapshot.json +68 -0
  139. package/migrations/20261028154230_agent_invocation_type/snapshot.json +42 -0
  140. package/migrations/20261030021803_any_resource_event_triggers/snapshot.json +42 -0
  141. package/migrations/20261030234309_user_customization/snapshot.json +37 -0
  142. package/migrations/20261031020656_review_items/snapshot.json +1078 -0
  143. package/migrations/20261031024151_review_item_dedupe_tenant/snapshot.json +62 -0
  144. package/migrations/20261031024246_review_item_slack_cards/snapshot.json +159 -0
  145. package/migrations/20261031155308_system_identity/snapshot.json +9 -0
  146. package/migrations/20261101193952_review_item_foreign_keys/snapshot.json +108 -0
  147. package/migrations/20261102172751_review_item_turn/snapshot.json +42 -0
  148. package/migrations/20261102221411_conversation_read_positions/snapshot.json +190 -0
  149. package/migrations/20261104085028_conversation_quick_question/snapshot.json +42 -0
  150. package/migrations/20261104145136_conversation_participant_pins/snapshot.json +42 -0
  151. package/migrations/20261104164429_conversation_detail_version/snapshot.json +42 -0
  152. package/migrations/20261104172055_conversation_auto_archive/snapshot.json +206 -0
  153. package/migrations/20261105005443_drop_agent_invocation_model_profile/snapshot.json +30 -0
  154. package/migrations/20261105043807_plugin_conversation_index/snapshot.json +76 -0
  155. package/migrations/20261105051837_conversation_event_author_index/snapshot.json +70 -0
  156. package/migrations/20261105182854_conversation_event_latest_message_indexes/snapshot.json +136 -0
  157. package/migrations/20261106011443_conversation_pin_position/snapshot.json +42 -0
  158. package/migrations/20261106095004_push_notifications/snapshot.json +308 -0
  159. package/migrations/20261106162740_conversation_kind/snapshot.json +88 -0
  160. package/migrations/20261107002001_read_position_backfill/snapshot.json +9 -0
  161. package/migrations/20261107025209_child_archived_at/snapshot.json +42 -0
  162. package/migrations/20261107035735_shared_archive/snapshot.json +67 -0
  163. package/migrations/20261107215055_child_location/snapshot.json +9 -0
  164. package/migrations/20261108191927_conversation_unsubscribe/snapshot.json +42 -0
  165. package/migrations/20261109021618_conversation_paused_status/snapshot.json +9 -0
  166. package/migrations/20261109111553_guardian_review_time_index/snapshot.json +54 -0
  167. package/migrations/20261109173130_conversation_participant_unsubscribed_index/snapshot.json +62 -0
  168. package/migrations/20261109182006_turn_metric_actor/snapshot.json +128 -0
  169. package/migrations/20261109202836_participant_root_actor_backfill/snapshot.json +9 -0
  170. package/migrations/20261109232640_conversation_delivery_paused_at/snapshot.json +42 -0
  171. package/migrations/20261110120937_web_linked_slack_identity_repair/snapshot.json +9 -0
  172. package/migrations/20261110175824_automation_task_kind/snapshot.json +145 -0
  173. package/migrations/20261110210242_conversation_kind_automation/snapshot.json +55 -0
  174. package/migrations/20261110222632_review_item_plugin_actions/snapshot.json +37 -0
  175. package/migrations/20261110225157_conversation_last_message_at/snapshot.json +42 -0
  176. package/migrations/20261111013351_automation_task_kind_repair/snapshot.json +9 -0
  177. package/migrations/20261111163126_drop_legacy_columns/snapshot.json +9 -0
  178. package/migrations/20261111170150_code_change_last_activity/snapshot.json +42 -0
  179. package/migrations/20261111191441_agent_invocation_fork/snapshot.json +42 -0
  180. package/migrations/20261112142841_code_change_draft/snapshot.json +37 -0
  181. package/migrations/20261112202901_attachment_uploads/snapshot.json +255 -0
  182. package/migrations/20261112220407_conversation_agent_config/snapshot.json +42 -0
  183. package/migrations/20261113081247_attachment_deferred_download/snapshot.json +52 -0
  184. package/migrations/20261113225551_conversation_embeddings/snapshot.json +203 -0
  185. package/migrations/20261114213238_user_preferences/snapshot.json +37 -0
  186. package/migrations/20261114222527_code_change_repository_state_index/snapshot.json +70 -0
  187. package/migrations/20261115172605_attachment_kinds/snapshot.json +244 -0
  188. package/migrations/20261115173004_attachment_url_fill/snapshot.json +9 -0
  189. package/migrations/20261115180216_attachment_url_index/snapshot.json +62 -0
  190. package/migrations/20261116103700_plan_items/snapshot.json +420 -0
  191. package/migrations/20261117100100_automation_creator_slack_index/snapshot.json +62 -0
  192. package/migrations/20261117132522_conversation_event_search/snapshot.json +396 -0
  193. package/migrations/20261117164007_automation_last_run/snapshot.json +108 -0
  194. package/migrations/20261117164047_automation_last_run_index/snapshot.json +54 -0
  195. package/migrations/20261117210444_money_micro_usd/snapshot.json +68 -0
  196. package/migrations/20261117210505_conversation_cost_micro_usd/snapshot.json +9 -0
  197. package/migrations/20261118081416_people_list_metric_index/snapshot.json +86 -0
  198. package/migrations/20261118095216_automation_rollout_repair/snapshot.json +9 -0
  199. package/migrations/20261118143948_cache_warming_history_reset/snapshot.json +9 -0
  200. package/migrations/20261119040651_artifact_visibility/snapshot.json +132 -0
  201. package/migrations/20261119040715_artifact_public_sha_index/snapshot.json +9 -0
  202. package/migrations/20261119052706_artifact_drop_public/snapshot.json +71 -0
  203. package/migrations/20261119053831_artifact_path/snapshot.json +114 -0
  204. package/migrations/20261119053844_artifact_path_index/snapshot.json +9 -0
  205. package/migrations/20261119091949_review_item_answered_index/snapshot.json +70 -0
  206. package/migrations/20261119100029_review_item_status_index/snapshot.json +54 -0
  207. package/migrations/20261119165607_brief_outcome_status/snapshot.json +42 -0
  208. package/migrations/20261119165622_brief_outcome_status_backfill/snapshot.json +9 -0
  209. package/migrations/20261119213716_brief_created_at_index/snapshot.json +62 -0
  210. package/migrations/20261119222456_slack_person_search_index/snapshot.json +50 -0
  211. package/migrations/20261119225522_code_change_size/snapshot.json +104 -0
  212. package/migrations/20261119232253_merge_conflict_notice_dismiss/snapshot.json +9 -0
  213. package/migrations/20261119235649_inbox_snoozes/snapshot.json +605 -0
  214. package/migrations/20261120093118_code_change_search_index/snapshot.json +89 -0
  215. package/migrations/20261120093452_review_item_owner/snapshot.json +314 -0
  216. package/migrations/20261120185654_review_item_owner_index/snapshot.json +62 -0
  217. package/migrations/20261120185754_memory_core_adoption/snapshot.json +1184 -0
  218. package/migrations/20261120185854_memory_core_indexes/snapshot.json +70 -0
  219. package/migrations/20261120235226_todos/snapshot.json +473 -0
  220. package/migrations/20261121082316_inbox_items/snapshot.json +2026 -0
  221. package/migrations/20261121175651_todo_changed_by_agent/snapshot.json +42 -0
  222. package/migrations/20261121183527_inbox_item_subject_title_parts/snapshot.json +42 -0
  223. package/migrations/20261121194143_inbox_snooze_wake_reason/snapshot.json +42 -0
  224. package/migrations/20261121222400_authorization_request_index/snapshot.json +62 -0
  225. package/migrations/20261121225908_conversation_metadata/snapshot.json +184 -0
  226. package/migrations/20261121225910_conversation_metadata_fill/snapshot.json +9 -0
  227. package/migrations/20261121225913_conversation_search_index/snapshot.json +50 -0
  228. package/migrations/20261122022900_inbox_item_legacy_automation_keys/snapshot.json +9 -0
  229. package/migrations/20261122024454_artifact_expiry/snapshot.json +37 -0
  230. package/migrations/20261122024455_artifact_permanent_sha_index/snapshot.json +62 -0
  231. package/migrations/20261122024457_artifact_drop_public_sha_index/snapshot.json +37 -0
  232. package/migrations/20261122024458_conversation_kind_lead/snapshot.json +55 -0
  233. package/migrations/20261122024459_conversation_lead_actor_index/snapshot.json +54 -0
  234. package/migrations/20261122071549_keep_legacy_archive_columns/snapshot.json +49 -0
  235. package/migrations/20261122191400_conversation_embeddings_fk_validate/snapshot.json +9 -0
  236. package/migrations/20261122204325_money_micro_usd_repair/snapshot.json +9 -0
  237. package/migrations/20261122204326_agent_config_backfill/snapshot.json +143 -0
  238. package/migrations/20261122221456_inbox_item_deliveries/snapshot.json +301 -0
  239. package/migrations/20261123155735_pg_trgm/snapshot.json +9 -0
  240. package/migrations/20261123155739_search_indexes/snapshot.json +167 -0
  241. package/migrations/20261123172647_drop_legacy_archive_columns/snapshot.json +9 -0
  242. package/migrations/20261123192506_memory_prefix_index/snapshot.json +69 -0
  243. package/migrations/20261123201740_todo_search_indexes/snapshot.json +89 -0
  244. package/migrations/20261123211505_todo_inbox_items/snapshot.json +38 -0
  245. package/migrations/20261123214917_drop_code_urls/snapshot.json +44 -0
  246. package/migrations/20261123224000_code_change_conversations_index/migration.sql +1 -0
  247. package/migrations/20261123224000_code_change_conversations_index/snapshot.json +54 -0
  248. package/migrations/20261124122023_drop_code_change_sizes/migration.sql +4 -0
  249. package/migrations/20261124122023_drop_code_change_sizes/snapshot.json +82 -0
  250. package/migrations/20261124142958_conversation_root_lookup_index/migration.sql +1 -0
  251. package/migrations/20261124142958_conversation_root_lookup_index/snapshot.json +62 -0
  252. package/migrations/20261124183352_legacy_brief_metadata_fill/migration.sql +26 -0
  253. package/migrations/20261124183352_legacy_brief_metadata_fill/snapshot.json +114 -0
  254. package/migrations/20261124202143_drizzle_v1_baseline/migration.sql +5 -0
  255. package/migrations/20261124202143_drizzle_v1_baseline/snapshot.json +2012 -0
  256. package/migrations/20261124221751_spaces/migration.sql +22 -0
  257. package/migrations/20261124221751_spaces/snapshot.json +436 -0
  258. package/migrations/20261124230319_conversation_metrics_utc_day_stats/migration.sql +11 -0
  259. package/migrations/20261124230319_conversation_metrics_utc_day_stats/snapshot.json +9 -0
  260. package/migrations/20261124234024_space_conversations/migration.sql +5 -0
  261. package/migrations/20261124234024_space_conversations/snapshot.json +103 -0
  262. package/migrations/20261124234026_space_conversations_index/migration.sql +1 -0
  263. package/migrations/20261124234026_space_conversations_index/snapshot.json +62 -0
  264. package/migrations/20261125012448_drop_lead_actor_index/migration.sql +3 -0
  265. package/migrations/20261125012448_drop_lead_actor_index/snapshot.json +36 -0
  266. package/migrations/20261125012452_space_lead_index/migration.sql +1 -0
  267. package/migrations/20261125012452_space_lead_index/snapshot.json +54 -0
  268. package/migrations/20261125043821_space_configurations/migration.sql +11 -0
  269. package/migrations/20261125043821_space_configurations/snapshot.json +194 -0
  270. package/migrations/20261125064854_agent_update_done_status/migration.sql +9 -0
  271. package/migrations/20261125064854_agent_update_done_status/snapshot.json +9 -0
  272. package/migrations/20261125073321_turn_engine_tables/migration.sql +75 -0
  273. package/migrations/20261125073321_turn_engine_tables/snapshot.json +1497 -0
  274. package/migrations/20261125073339_turn_inbox_one_source/migration.sql +5 -0
  275. package/migrations/20261125073339_turn_inbox_one_source/snapshot.json +9 -0
  276. package/migrations/20261125124506_versions_notify/migration.sql +27 -0
  277. package/migrations/20261125124506_versions_notify/snapshot.json +9 -0
  278. package/migrations/20261125140339_turn_group_key/migration.sql +14 -0
  279. package/migrations/20261125140339_turn_group_key/snapshot.json +75 -0
  280. package/migrations/20261125140343_turn_group_key_not_null/migration.sql +4 -0
  281. package/migrations/20261125140343_turn_group_key_not_null/snapshot.json +29 -0
  282. package/migrations/20261125142845_code_change_requesters/migration.sql +1 -0
  283. package/migrations/20261125142845_code_change_requesters/snapshot.json +42 -0
  284. package/migrations/20261125142846_code_change_requesters_index/migration.sql +1 -0
  285. package/migrations/20261125142846_code_change_requesters_index/snapshot.json +54 -0
  286. package/migrations/20261125143903_space_visibility/migration.sql +1 -0
  287. package/migrations/20261125143903_space_visibility/snapshot.json +37 -0
  288. package/migrations/20261125154848_merge_leaves/migration.sql +2 -0
  289. package/migrations/20261125154848_merge_leaves/snapshot.json +14 -0
  290. package/package.json +13 -12
  291. package/skills/design-automation-skill/SKILL.md +1 -1
  292. package/dist/adapter-JARQvoLw.js +0 -258
  293. package/dist/adapter-context-B4BrJZuS.js +0 -43
  294. package/dist/agent-runner-qZU5TR8i.js +0 -11974
  295. package/dist/agent-update-cS7Z9mnG.js +0 -26
  296. package/dist/agent-update-delivery-CZ5M8RDa.js +0 -85
  297. package/dist/background-compaction-queue-C_uIBUvS.js +0 -145
  298. package/dist/callback-C8SdXCwr.js +0 -68
  299. package/dist/catalog-runtime-BLKtnUL3.js +0 -6
  300. package/dist/config-BIfHKNXN.js +0 -2336
  301. package/dist/db-BTmLKZrp.js +0 -5804
  302. package/dist/db-DcmzbA55.d.ts +0 -274
  303. package/dist/history-CneKY7_V.js +0 -595
  304. package/dist/install-OtFboxOM.js +0 -228
  305. package/dist/proxy-path-BHYoKZdq.js +0 -15
  306. package/dist/registry-D6kS6xYH.js +0 -3024
  307. package/dist/rule-DAxQY-1h.js +0 -20
  308. package/dist/schema-BB6E0wyV.d.ts +0 -9472
  309. package/dist/start-conversation-a4NXH4X9.js +0 -752
  310. package/dist/store-BuhF1QDm.js +0 -490
  311. package/dist/task-queue-CrRjFzOh.js +0 -79
  312. package/dist/turn-session-routing-CZTRU8IY.js +0 -116
  313. package/dist/vercel-queue-nL0Hq3hr.js +0 -234
  314. package/dist/warmup-CCOuIwAS.js +0 -12759
  315. package/migrations/meta/0000_snapshot.json +0 -946
  316. package/migrations/meta/0001_snapshot.json +0 -972
  317. package/migrations/meta/0002_snapshot.json +0 -987
  318. package/migrations/meta/0003_snapshot.json +0 -1035
  319. package/migrations/meta/0004_snapshot.json +0 -1041
  320. package/migrations/meta/0005_snapshot.json +0 -948
  321. package/migrations/meta/0006_snapshot.json +0 -948
  322. package/migrations/meta/0007_snapshot.json +0 -1013
  323. package/migrations/meta/0008_snapshot.json +0 -1076
  324. package/migrations/meta/0009_snapshot.json +0 -1146
  325. package/migrations/meta/0010_snapshot.json +0 -1190
  326. package/migrations/meta/0011_snapshot.json +0 -1195
  327. package/migrations/meta/0012_snapshot.json +0 -1244
  328. package/migrations/meta/0013_snapshot.json +0 -1250
  329. package/migrations/meta/0014_snapshot.json +0 -1201
  330. package/migrations/meta/0015_snapshot.json +0 -1360
  331. package/migrations/meta/0016_snapshot.json +0 -1617
  332. package/migrations/meta/0017_snapshot.json +0 -1666
  333. package/migrations/meta/0018_snapshot.json +0 -1756
  334. package/migrations/meta/0019_snapshot.json +0 -1904
  335. package/migrations/meta/0020_snapshot.json +0 -1848
  336. package/migrations/meta/0021_snapshot.json +0 -2176
  337. package/migrations/meta/0022_snapshot.json +0 -2186
  338. package/migrations/meta/0023_snapshot.json +0 -2198
  339. package/migrations/meta/0024_snapshot.json +0 -2275
  340. package/migrations/meta/0025_snapshot.json +0 -2275
  341. package/migrations/meta/0026_snapshot.json +0 -2424
  342. package/migrations/meta/0027_snapshot.json +0 -2554
  343. package/migrations/meta/0028_snapshot.json +0 -2685
  344. package/migrations/meta/0029_snapshot.json +0 -2709
  345. package/migrations/meta/0030_snapshot.json +0 -2799
  346. package/migrations/meta/0031_snapshot.json +0 -2823
  347. package/migrations/meta/0032_snapshot.json +0 -2892
  348. package/migrations/meta/0033_snapshot.json +0 -2914
  349. package/migrations/meta/0034_snapshot.json +0 -3038
  350. package/migrations/meta/0035_snapshot.json +0 -3048
  351. package/migrations/meta/0036_snapshot.json +0 -3186
  352. package/migrations/meta/0037_snapshot.json +0 -3192
  353. package/migrations/meta/0038_snapshot.json +0 -3323
  354. package/migrations/meta/0039_snapshot.json +0 -3368
  355. package/migrations/meta/0040_snapshot.json +0 -3516
  356. package/migrations/meta/0041_snapshot.json +0 -3516
  357. package/migrations/meta/0042_snapshot.json +0 -3610
  358. package/migrations/meta/0043_snapshot.json +0 -3610
  359. package/migrations/meta/0044_snapshot.json +0 -3473
  360. package/migrations/meta/0045_snapshot.json +0 -3503
  361. package/migrations/meta/0046_snapshot.json +0 -3707
  362. package/migrations/meta/0047_snapshot.json +0 -3713
  363. package/migrations/meta/0048_snapshot.json +0 -3720
  364. package/migrations/meta/0049_snapshot.json +0 -3581
  365. package/migrations/meta/0050_snapshot.json +0 -3753
  366. package/migrations/meta/0051_snapshot.json +0 -3759
  367. package/migrations/meta/0052_snapshot.json +0 -3765
  368. package/migrations/meta/0053_snapshot.json +0 -3771
  369. package/migrations/meta/0054_snapshot.json +0 -3777
  370. package/migrations/meta/0055_snapshot.json +0 -3948
  371. package/migrations/meta/0056_snapshot.json +0 -4280
  372. package/migrations/meta/0057_snapshot.json +0 -3618
  373. package/migrations/meta/0058_snapshot.json +0 -3598
  374. package/migrations/meta/0059_snapshot.json +0 -3619
  375. package/migrations/meta/0060_snapshot.json +0 -3465
  376. package/migrations/meta/0061_snapshot.json +0 -3471
  377. package/migrations/meta/0062_snapshot.json +0 -3499
  378. package/migrations/meta/0063_snapshot.json +0 -3505
  379. package/migrations/meta/0064_snapshot.json +0 -3505
  380. package/migrations/meta/0065_snapshot.json +0 -3511
  381. package/migrations/meta/0066_snapshot.json +0 -4099
  382. package/migrations/meta/0067_snapshot.json +0 -3921
  383. package/migrations/meta/0068_snapshot.json +0 -4176
  384. package/migrations/meta/0069_snapshot.json +0 -3979
  385. package/migrations/meta/0070_snapshot.json +0 -3997
  386. package/migrations/meta/0071_snapshot.json +0 -4003
  387. package/migrations/meta/0072_snapshot.json +0 -4064
  388. package/migrations/meta/0073_snapshot.json +0 -4070
  389. package/migrations/meta/0074_snapshot.json +0 -4076
  390. package/migrations/meta/0075_snapshot.json +0 -4083
  391. package/migrations/meta/0076_snapshot.json +0 -4147
  392. package/migrations/meta/0077_snapshot.json +0 -4141
  393. package/migrations/meta/0078_snapshot.json +0 -4175
  394. package/migrations/meta/0079_snapshot.json +0 -4203
  395. package/migrations/meta/0080_snapshot.json +0 -4265
  396. package/migrations/meta/0081_snapshot.json +0 -4271
  397. package/migrations/meta/0082_snapshot.json +0 -4373
  398. package/migrations/meta/0083_snapshot.json +0 -4388
  399. package/migrations/meta/0084_snapshot.json +0 -4388
  400. package/migrations/meta/0085_snapshot.json +0 -4394
  401. package/migrations/meta/0086_snapshot.json +0 -4366
  402. package/migrations/meta/0087_snapshot.json +0 -4366
  403. package/migrations/meta/0088_snapshot.json +0 -4372
  404. package/migrations/meta/0089_snapshot.json +0 -4372
  405. package/migrations/meta/0090_snapshot.json +0 -4388
  406. package/migrations/meta/0091_snapshot.json +0 -4410
  407. package/migrations/meta/0092_snapshot.json +0 -4446
  408. package/migrations/meta/0093_snapshot.json +0 -4446
  409. package/migrations/meta/0094_snapshot.json +0 -4452
  410. package/migrations/meta/0095_snapshot.json +0 -4452
  411. package/migrations/meta/0096_snapshot.json +0 -4490
  412. package/migrations/meta/0097_snapshot.json +0 -4490
  413. package/migrations/meta/0098_snapshot.json +0 -4490
  414. package/migrations/meta/0099_snapshot.json +0 -4496
  415. package/migrations/meta/0100_snapshot.json +0 -4496
  416. package/migrations/meta/0101_snapshot.json +0 -4496
  417. package/migrations/meta/0102_snapshot.json +0 -4502
  418. package/migrations/meta/0103_snapshot.json +0 -4509
  419. package/migrations/meta/0104_snapshot.json +0 -4516
  420. package/migrations/meta/0105_snapshot.json +0 -4611
  421. package/migrations/meta/0106_snapshot.json +0 -4617
  422. package/migrations/meta/0107_snapshot.json +0 -4617
  423. package/migrations/meta/0108_snapshot.json +0 -4688
  424. package/migrations/meta/0109_snapshot.json +0 -4925
  425. package/migrations/meta/0110_snapshot.json +0 -4952
  426. package/migrations/meta/0111_snapshot.json +0 -5011
  427. package/migrations/meta/0112_snapshot.json +0 -5011
  428. package/migrations/meta/0113_snapshot.json +0 -5033
  429. package/migrations/meta/0114_snapshot.json +0 -5203
  430. package/migrations/meta/0115_snapshot.json +0 -5225
  431. package/migrations/meta/0116_snapshot.json +0 -5388
  432. package/migrations/meta/0117_snapshot.json +0 -5413
  433. package/migrations/meta/0118_snapshot.json +0 -5428
  434. package/migrations/meta/0119_snapshot.json +0 -5441
  435. package/migrations/meta/0120_snapshot.json +0 -5441
  436. package/migrations/meta/0121_snapshot.json +0 -5481
  437. package/migrations/meta/0122_snapshot.json +0 -5481
  438. package/migrations/meta/0123_snapshot.json +0 -5481
  439. package/migrations/meta/0124_snapshot.json +0 -5516
  440. package/migrations/meta/0125_snapshot.json +0 -5516
  441. package/migrations/meta/0126_snapshot.json +0 -5488
  442. package/migrations/meta/0127_snapshot.json +0 -5519
  443. package/migrations/meta/0128_snapshot.json +0 -5519
  444. package/migrations/meta/0129_snapshot.json +0 -5547
  445. package/migrations/meta/0130_snapshot.json +0 -5563
  446. package/migrations/meta/0131_snapshot.json +0 -5569
  447. package/migrations/meta/0132_snapshot.json +0 -5569
  448. package/migrations/meta/0133_snapshot.json +0 -5590
  449. package/migrations/meta/0134_snapshot.json +0 -5606
  450. package/migrations/meta/0135_snapshot.json +0 -5624
  451. package/migrations/meta/0136_snapshot.json +0 -5624
  452. package/migrations/meta/0137_snapshot.json +0 -5864
  453. package/migrations/meta/0138_snapshot.json +0 -5894
  454. package/migrations/meta/0139_snapshot.json +0 -5898
  455. package/migrations/meta/0140_snapshot.json +0 -5919
  456. package/migrations/meta/0141_snapshot.json +0 -6429
  457. package/migrations/meta/0142_snapshot.json +0 -6457
  458. package/migrations/meta/0143_snapshot.json +0 -6434
  459. package/migrations/meta/0144_snapshot.json +0 -6434
  460. package/migrations/meta/0145_snapshot.json +0 -6440
  461. package/migrations/meta/0146_snapshot.json +0 -6446
  462. package/migrations/meta/0147_snapshot.json +0 -6452
  463. package/migrations/meta/0148_snapshot.json +0 -6474
  464. package/migrations/meta/0149_snapshot.json +0 -6490
  465. package/migrations/meta/0150_snapshot.json +0 -6490
  466. package/migrations/meta/0151_snapshot.json +0 -6505
  467. package/migrations/meta/0152_snapshot.json +0 -6505
  468. package/migrations/meta/0153_snapshot.json +0 -6511
  469. package/migrations/meta/0154_snapshot.json +0 -6533
  470. package/migrations/meta/0155_snapshot.json +0 -6511
  471. package/migrations/meta/0156_snapshot.json +0 -6511
  472. package/migrations/meta/0157_snapshot.json +0 -6527
  473. package/migrations/meta/0158_snapshot.json +0 -6515
  474. package/migrations/meta/0159_snapshot.json +0 -6515
  475. package/migrations/meta/0160_snapshot.json +0 -6515
  476. package/migrations/meta/0161_snapshot.json +0 -6278
  477. package/migrations/meta/0162_snapshot.json +0 -6404
  478. package/migrations/meta/0163_snapshot.json +0 -6404
  479. package/migrations/meta/0164_snapshot.json +0 -6466
  480. package/migrations/meta/0165_snapshot.json +0 -6466
  481. package/migrations/meta/0166_snapshot.json +0 -6494
  482. package/migrations/meta/0167_snapshot.json +0 -6525
  483. package/migrations/meta/0168_snapshot.json +0 -6525
  484. package/migrations/meta/0169_snapshot.json +0 -6513
  485. package/migrations/meta/_journal.json +0 -1196
  486. /package/migrations/{0000_initial.sql → 20260711145847_initial/migration.sql} +0 -0
  487. /package/migrations/{0001_conversation_metrics.sql → 20260711145900_conversation_metrics/migration.sql} +0 -0
  488. /package/migrations/{0002_conversation_message_search.sql → 20260712153649_conversation_message_search/migration.sql} +0 -0
  489. /package/migrations/{0003_peaceful_scalphunter.sql → 20260713040256_peaceful_scalphunter/migration.sql} +0 -0
  490. /package/migrations/{0004_useful_magus.sql → 20260715174202_useful_magus/migration.sql} +0 -0
  491. /package/migrations/{0005_conversation_events.sql → 20260715174203_conversation_events/migration.sql} +0 -0
  492. /package/migrations/{0006_drop_legacy_conversation_messages.sql → 20260723042835_drop_legacy_conversation_messages/migration.sql} +0 -0
  493. /package/migrations/{0007_thick_sugar_man.sql → 20260723050612_thick_sugar_man/migration.sql} +0 -0
  494. /package/migrations/{0008_sticky_rage.sql → 20260727223822_sticky_rage/migration.sql} +0 -0
  495. /package/migrations/{0009_slippery_harrier.sql → 20260728033158_slippery_harrier/migration.sql} +0 -0
  496. /package/migrations/{0010_native_conversation_history.sql → 20260728040836_native_conversation_history/migration.sql} +0 -0
  497. /package/migrations/{0011_sour_golden_guardian.sql → 20260728204900_sour_golden_guardian/migration.sql} +0 -0
  498. /package/migrations/{0012_structured_conversation_events.sql → 20260730233332_structured_conversation_events/migration.sql} +0 -0
  499. /package/migrations/{0013_conversation_session_source.sql → 20260731164038_conversation_session_source/migration.sql} +0 -0
  500. /package/migrations/{0014_source_visibility.sql → 20260801230336_source_visibility/migration.sql} +0 -0
  501. /package/migrations/{0015_magical_ezekiel_stane.sql → 20260802023731_magical_ezekiel_stane/migration.sql} +0 -0
  502. /package/migrations/{0016_neat_the_anarchist.sql → 20260804015843_neat_the_anarchist/migration.sql} +0 -0
  503. /package/migrations/{0017_drop_paused_scheduled_tasks.sql → 20260804165952_drop_paused_scheduled_tasks/migration.sql} +0 -0
  504. /package/migrations/{0018_curvy_excalibur.sql → 20260804225613_curvy_excalibur/migration.sql} +0 -0
  505. /package/migrations/{0019_lowly_valkyrie.sql → 20260805174033_lowly_valkyrie/migration.sql} +0 -0
  506. /package/migrations/{0020_restrict_task_execution_kinds.sql → 20260805200301_restrict_task_execution_kinds/migration.sql} +0 -0
  507. /package/migrations/{0021_first_warhawk.sql → 20260806030729_first_warhawk/migration.sql} +0 -0
  508. /package/migrations/{0022_task_execution_status.sql → 20260807185200_task_execution_status/migration.sql} +0 -0
  509. /package/migrations/{0023_task_title_columns.sql → 20260808014743_task_title_columns/migration.sql} +0 -0
  510. /package/migrations/{0024_misty_typhoid_mary.sql → 20260809220421_misty_typhoid_mary/migration.sql} +0 -0
  511. /package/migrations/{0025_mcp_credential_subject.sql → 20260811193709_mcp_credential_subject/migration.sql} +0 -0
  512. /package/migrations/{0026_conversation_event_actor_and_participants.sql → 20260812032924_conversation_event_actor_and_participants/migration.sql} +0 -0
  513. /package/migrations/{0027_attachment_storage.sql → 20260812172418_attachment_storage/migration.sql} +0 -0
  514. /package/migrations/{0028_artifacts.sql → 20260813230732_artifacts/migration.sql} +0 -0
  515. /package/migrations/{0029_dizzy_barracuda.sql → 20260814062905_dizzy_barracuda/migration.sql} +0 -0
  516. /package/migrations/{0030_drop_workspace_repo_primary.sql → 20260814231353_drop_workspace_repo_primary/migration.sql} +0 -0
  517. /package/migrations/{0031_wild_phantom_reporter.sql → 20260815030100_wild_phantom_reporter/migration.sql} +0 -0
  518. /package/migrations/{0032_workspace_snapshots_table.sql → 20260817082233_workspace_snapshots_table/migration.sql} +0 -0
  519. /package/migrations/{0033_workspace_snapshot_active_build.sql → 20260818160339_workspace_snapshot_active_build/migration.sql} +0 -0
  520. /package/migrations/{0034_strong_randall.sql → 20260821180755_strong_randall/migration.sql} +0 -0
  521. /package/migrations/{0035_workspace_snapshot_size_bytes.sql → 20260823030308_workspace_snapshot_size_bytes/migration.sql} +0 -0
  522. /package/migrations/{0036_complex_rage.sql → 20260824190313_complex_rage/migration.sql} +0 -0
  523. /package/migrations/{0037_conversation_location.sql → 20260827233711_conversation_location/migration.sql} +0 -0
  524. /package/migrations/{0038_event_task_status.sql → 20260901224306_event_task_status/migration.sql} +0 -0
  525. /package/migrations/{0039_attachment_provider.sql → 20260904153232_attachment_provider/migration.sql} +0 -0
  526. /package/migrations/{0040_conversation_briefs.sql → 20260909111415_conversation_briefs/migration.sql} +0 -0
  527. /package/migrations/{0041_automation_outcomes_backfill.sql → 20260910144928_automation_outcomes_backfill/migration.sql} +0 -0
  528. /package/migrations/{0042_conversation_metrics.sql → 20260911184346_conversation_metrics/migration.sql} +0 -0
  529. /package/migrations/{0043_scheduled_automation_channel_destinations.sql → 20260921140842_scheduled_automation_channel_destinations/migration.sql} +0 -0
  530. /package/migrations/{0044_event_automation_channel_destinations.sql → 20260922221709_event_automation_channel_destinations/migration.sql} +0 -0
  531. /package/migrations/{0045_conversation_forks.sql → 20261001113455_conversation_forks/migration.sql} +0 -0
  532. /package/migrations/{0046_automation_versions.sql → 20261005161844_automation_versions/migration.sql} +0 -0
  533. /package/migrations/{0047_user_timezone.sql → 20261006152043_user_timezone/migration.sql} +0 -0
  534. /package/migrations/{0048_user_admin.sql → 20261008200858_user_admin/migration.sql} +0 -0
  535. /package/migrations/{0049_event_automation_status_reason.sql → 20261009145407_event_automation_status_reason/migration.sql} +0 -0
  536. /package/migrations/{0050_agent_invocation_parent_mailbox.sql → 20261013160816_agent_invocation_parent_mailbox/migration.sql} +0 -0
  537. /package/migrations/{0051_agent_invocation_parent_tool_call.sql → 20261013215020_agent_invocation_parent_tool_call/migration.sql} +0 -0
  538. /package/migrations/{0052_agent_invocation_title.sql → 20261014011138_agent_invocation_title/migration.sql} +0 -0
  539. /package/migrations/{0053_conversation_stopped_at.sql → 20261014211942_conversation_stopped_at/migration.sql} +0 -0
  540. /package/migrations/{0054_flowery_rage.sql → 20261015012820_flowery_rage/migration.sql} +0 -0
  541. /package/migrations/{0055_automations.sql → 20261017000924_automations/migration.sql} +0 -0
  542. /package/migrations/{0056_automation_runs.sql → 20261017134736_automation_runs/migration.sql} +0 -0
  543. /package/migrations/{0057_drop_legacy_automation_tables.sql → 20261017170250_drop_legacy_automation_tables/migration.sql} +0 -0
  544. /package/migrations/{0058_automation_creator_identity.sql → 20261018134754_automation_creator_identity/migration.sql} +0 -0
  545. /package/migrations/{0059_automation_run_version.sql → 20261023071954_automation_run_version/migration.sql} +0 -0
  546. /package/migrations/{0060_identity_signed_in_at.sql → 20261025233137_identity_signed_in_at/migration.sql} +0 -0
  547. /package/migrations/{0061_workspace_vcpus.sql → 20261027234315_workspace_vcpus/migration.sql} +0 -0
  548. /package/migrations/{0062_plugin_report_index.sql → 20261028124242_plugin_report_index/migration.sql} +0 -0
  549. /package/migrations/{0063_agent_invocation_type.sql → 20261028154230_agent_invocation_type/migration.sql} +0 -0
  550. /package/migrations/{0064_any_resource_event_triggers.sql → 20261030021803_any_resource_event_triggers/migration.sql} +0 -0
  551. /package/migrations/{0065_user_customization.sql → 20261030234309_user_customization/migration.sql} +0 -0
  552. /package/migrations/{0066_review_items.sql → 20261031020656_review_items/migration.sql} +0 -0
  553. /package/migrations/{0067_review_item_dedupe_tenant.sql → 20261031024151_review_item_dedupe_tenant/migration.sql} +0 -0
  554. /package/migrations/{0068_review_item_slack_cards.sql → 20261031024246_review_item_slack_cards/migration.sql} +0 -0
  555. /package/migrations/{0069_system_identity.sql → 20261031155308_system_identity/migration.sql} +0 -0
  556. /package/migrations/{0070_review_item_foreign_keys.sql → 20261101193952_review_item_foreign_keys/migration.sql} +0 -0
  557. /package/migrations/{0071_review_item_turn.sql → 20261102172751_review_item_turn/migration.sql} +0 -0
  558. /package/migrations/{0072_conversation_read_positions.sql → 20261102221411_conversation_read_positions/migration.sql} +0 -0
  559. /package/migrations/{0073_conversation_quick_question.sql → 20261104085028_conversation_quick_question/migration.sql} +0 -0
  560. /package/migrations/{0074_conversation_participant_pins.sql → 20261104145136_conversation_participant_pins/migration.sql} +0 -0
  561. /package/migrations/{0075_conversation_detail_version.sql → 20261104164429_conversation_detail_version/migration.sql} +0 -0
  562. /package/migrations/{0076_conversation_auto_archive.sql → 20261104172055_conversation_auto_archive/migration.sql} +0 -0
  563. /package/migrations/{0077_drop_agent_invocation_model_profile.sql → 20261105005443_drop_agent_invocation_model_profile/migration.sql} +0 -0
  564. /package/migrations/{0078_plugin_conversation_index.sql → 20261105043807_plugin_conversation_index/migration.sql} +0 -0
  565. /package/migrations/{0079_conversation_event_author_index.sql → 20261105051837_conversation_event_author_index/migration.sql} +0 -0
  566. /package/migrations/{0080_conversation_event_latest_message_indexes.sql → 20261105182854_conversation_event_latest_message_indexes/migration.sql} +0 -0
  567. /package/migrations/{0081_conversation_pin_position.sql → 20261106011443_conversation_pin_position/migration.sql} +0 -0
  568. /package/migrations/{0082_push_notifications.sql → 20261106095004_push_notifications/migration.sql} +0 -0
  569. /package/migrations/{0083_conversation_kind.sql → 20261106162740_conversation_kind/migration.sql} +0 -0
  570. /package/migrations/{0084_read_position_backfill.sql → 20261107002001_read_position_backfill/migration.sql} +0 -0
  571. /package/migrations/{0085_child_archived_at.sql → 20261107025209_child_archived_at/migration.sql} +0 -0
  572. /package/migrations/{0086_shared_archive.sql → 20261107035735_shared_archive/migration.sql} +0 -0
  573. /package/migrations/{0087_child_location.sql → 20261107215055_child_location/migration.sql} +0 -0
  574. /package/migrations/{0088_conversation_unsubscribe.sql → 20261108191927_conversation_unsubscribe/migration.sql} +0 -0
  575. /package/migrations/{0089_conversation_paused_status.sql → 20261109021618_conversation_paused_status/migration.sql} +0 -0
  576. /package/migrations/{0090_guardian_review_time_index.sql → 20261109111553_guardian_review_time_index/migration.sql} +0 -0
  577. /package/migrations/{0091_conversation_participant_unsubscribed_index.sql → 20261109173130_conversation_participant_unsubscribed_index/migration.sql} +0 -0
  578. /package/migrations/{0092_turn_metric_actor.sql → 20261109182006_turn_metric_actor/migration.sql} +0 -0
  579. /package/migrations/{0093_participant_root_actor_backfill.sql → 20261109202836_participant_root_actor_backfill/migration.sql} +0 -0
  580. /package/migrations/{0094_conversation_delivery_paused_at.sql → 20261109232640_conversation_delivery_paused_at/migration.sql} +0 -0
  581. /package/migrations/{0095_web_linked_slack_identity_repair.sql → 20261110120937_web_linked_slack_identity_repair/migration.sql} +0 -0
  582. /package/migrations/{0096_automation_task_kind.sql → 20261110175824_automation_task_kind/migration.sql} +0 -0
  583. /package/migrations/{0097_conversation_kind_automation.sql → 20261110210242_conversation_kind_automation/migration.sql} +0 -0
  584. /package/migrations/{0098_review_item_plugin_actions.sql → 20261110222632_review_item_plugin_actions/migration.sql} +0 -0
  585. /package/migrations/{0099_conversation_last_message_at.sql → 20261110225157_conversation_last_message_at/migration.sql} +0 -0
  586. /package/migrations/{0100_automation_task_kind_repair.sql → 20261111013351_automation_task_kind_repair/migration.sql} +0 -0
  587. /package/migrations/{0101_drop_legacy_columns.sql → 20261111163126_drop_legacy_columns/migration.sql} +0 -0
  588. /package/migrations/{0102_code_change_last_activity.sql → 20261111170150_code_change_last_activity/migration.sql} +0 -0
  589. /package/migrations/{0103_agent_invocation_fork.sql → 20261111191441_agent_invocation_fork/migration.sql} +0 -0
  590. /package/migrations/{0104_code_change_draft.sql → 20261112142841_code_change_draft/migration.sql} +0 -0
  591. /package/migrations/{0105_attachment_uploads.sql → 20261112202901_attachment_uploads/migration.sql} +0 -0
  592. /package/migrations/{0106_conversation_agent_config.sql → 20261112220407_conversation_agent_config/migration.sql} +0 -0
  593. /package/migrations/{0107_attachment_deferred_download.sql → 20261113081247_attachment_deferred_download/migration.sql} +0 -0
  594. /package/migrations/{0108_conversation_embeddings.sql → 20261113225551_conversation_embeddings/migration.sql} +0 -0
  595. /package/migrations/{0109_user_preferences.sql → 20261114213238_user_preferences/migration.sql} +0 -0
  596. /package/migrations/{0110_code_change_repository_state_index.sql → 20261114222527_code_change_repository_state_index/migration.sql} +0 -0
  597. /package/migrations/{0111_attachment_kinds.sql → 20261115172605_attachment_kinds/migration.sql} +0 -0
  598. /package/migrations/{0112_attachment_url_fill.sql → 20261115173004_attachment_url_fill/migration.sql} +0 -0
  599. /package/migrations/{0113_attachment_url_index.sql → 20261115180216_attachment_url_index/migration.sql} +0 -0
  600. /package/migrations/{0114_plan_items.sql → 20261116103700_plan_items/migration.sql} +0 -0
  601. /package/migrations/{0115_automation_creator_slack_index.sql → 20261117100100_automation_creator_slack_index/migration.sql} +0 -0
  602. /package/migrations/{0116_conversation_event_search.sql → 20261117132522_conversation_event_search/migration.sql} +0 -0
  603. /package/migrations/{0117_automation_last_run.sql → 20261117164007_automation_last_run/migration.sql} +0 -0
  604. /package/migrations/{0118_automation_last_run_index.sql → 20261117164047_automation_last_run_index/migration.sql} +0 -0
  605. /package/migrations/{0119_money_micro_usd.sql → 20261117210444_money_micro_usd/migration.sql} +0 -0
  606. /package/migrations/{0120_conversation_cost_micro_usd.sql → 20261117210505_conversation_cost_micro_usd/migration.sql} +0 -0
  607. /package/migrations/{0121_people_list_metric_index.sql → 20261118081416_people_list_metric_index/migration.sql} +0 -0
  608. /package/migrations/{0122_automation_rollout_repair.sql → 20261118095216_automation_rollout_repair/migration.sql} +0 -0
  609. /package/migrations/{0123_cache_warming_history_reset.sql → 20261118143948_cache_warming_history_reset/migration.sql} +0 -0
  610. /package/migrations/{0124_artifact_visibility.sql → 20261119040651_artifact_visibility/migration.sql} +0 -0
  611. /package/migrations/{0125_artifact_public_sha_index.sql → 20261119040715_artifact_public_sha_index/migration.sql} +0 -0
  612. /package/migrations/{0126_artifact_drop_public.sql → 20261119052706_artifact_drop_public/migration.sql} +0 -0
  613. /package/migrations/{0127_artifact_path.sql → 20261119053831_artifact_path/migration.sql} +0 -0
  614. /package/migrations/{0128_artifact_path_index.sql → 20261119053844_artifact_path_index/migration.sql} +0 -0
  615. /package/migrations/{0129_review_item_answered_index.sql → 20261119091949_review_item_answered_index/migration.sql} +0 -0
  616. /package/migrations/{0130_review_item_status_index.sql → 20261119100029_review_item_status_index/migration.sql} +0 -0
  617. /package/migrations/{0131_brief_outcome_status.sql → 20261119165607_brief_outcome_status/migration.sql} +0 -0
  618. /package/migrations/{0132_brief_outcome_status_backfill.sql → 20261119165622_brief_outcome_status_backfill/migration.sql} +0 -0
  619. /package/migrations/{0133_brief_created_at_index.sql → 20261119213716_brief_created_at_index/migration.sql} +0 -0
  620. /package/migrations/{0134_slack_person_search_index.sql → 20261119222456_slack_person_search_index/migration.sql} +0 -0
  621. /package/migrations/{0135_code_change_size.sql → 20261119225522_code_change_size/migration.sql} +0 -0
  622. /package/migrations/{0136_merge_conflict_notice_dismiss.sql → 20261119232253_merge_conflict_notice_dismiss/migration.sql} +0 -0
  623. /package/migrations/{0137_inbox_snoozes.sql → 20261119235649_inbox_snoozes/migration.sql} +0 -0
  624. /package/migrations/{0138_code_change_search_index.sql → 20261120093118_code_change_search_index/migration.sql} +0 -0
  625. /package/migrations/{0139_review_item_owner.sql → 20261120093452_review_item_owner/migration.sql} +0 -0
  626. /package/migrations/{0140_review_item_owner_index.sql → 20261120185654_review_item_owner_index/migration.sql} +0 -0
  627. /package/migrations/{0141_memory_core_adoption.sql → 20261120185754_memory_core_adoption/migration.sql} +0 -0
  628. /package/migrations/{0142_memory_core_indexes.sql → 20261120185854_memory_core_indexes/migration.sql} +0 -0
  629. /package/migrations/{0143_todos.sql → 20261120235226_todos/migration.sql} +0 -0
  630. /package/migrations/{0144_inbox_items.sql → 20261121082316_inbox_items/migration.sql} +0 -0
  631. /package/migrations/{0145_todo_changed_by_agent.sql → 20261121175651_todo_changed_by_agent/migration.sql} +0 -0
  632. /package/migrations/{0146_inbox_item_subject_title_parts.sql → 20261121183527_inbox_item_subject_title_parts/migration.sql} +0 -0
  633. /package/migrations/{0147_inbox_snooze_wake_reason.sql → 20261121194143_inbox_snooze_wake_reason/migration.sql} +0 -0
  634. /package/migrations/{0148_authorization_request_index.sql → 20261121222400_authorization_request_index/migration.sql} +0 -0
  635. /package/migrations/{0149_conversation_metadata.sql → 20261121225908_conversation_metadata/migration.sql} +0 -0
  636. /package/migrations/{0150_conversation_metadata_fill.sql → 20261121225910_conversation_metadata_fill/migration.sql} +0 -0
  637. /package/migrations/{0151_conversation_search_index.sql → 20261121225913_conversation_search_index/migration.sql} +0 -0
  638. /package/migrations/{0152_inbox_item_legacy_automation_keys.sql → 20261122022900_inbox_item_legacy_automation_keys/migration.sql} +0 -0
  639. /package/migrations/{0153_artifact_expiry.sql → 20261122024454_artifact_expiry/migration.sql} +0 -0
  640. /package/migrations/{0154_artifact_permanent_sha_index.sql → 20261122024455_artifact_permanent_sha_index/migration.sql} +0 -0
  641. /package/migrations/{0155_artifact_drop_public_sha_index.sql → 20261122024457_artifact_drop_public_sha_index/migration.sql} +0 -0
  642. /package/migrations/{0156_conversation_kind_lead.sql → 20261122024458_conversation_kind_lead/migration.sql} +0 -0
  643. /package/migrations/{0157_conversation_lead_actor_index.sql → 20261122024459_conversation_lead_actor_index/migration.sql} +0 -0
  644. /package/migrations/{0158_keep_legacy_archive_columns.sql → 20261122071549_keep_legacy_archive_columns/migration.sql} +0 -0
  645. /package/migrations/{0159_conversation_embeddings_fk_validate.sql → 20261122191400_conversation_embeddings_fk_validate/migration.sql} +0 -0
  646. /package/migrations/{0160_money_micro_usd_repair.sql → 20261122204325_money_micro_usd_repair/migration.sql} +0 -0
  647. /package/migrations/{0161_agent_config_backfill.sql → 20261122204326_agent_config_backfill/migration.sql} +0 -0
  648. /package/migrations/{0162_inbox_item_deliveries.sql → 20261122221456_inbox_item_deliveries/migration.sql} +0 -0
  649. /package/migrations/{0163_pg_trgm.sql → 20261123155735_pg_trgm/migration.sql} +0 -0
  650. /package/migrations/{0164_search_indexes.sql → 20261123155739_search_indexes/migration.sql} +0 -0
  651. /package/migrations/{0165_drop_legacy_archive_columns.sql → 20261123172647_drop_legacy_archive_columns/migration.sql} +0 -0
  652. /package/migrations/{0166_memory_prefix_index.sql → 20261123192506_memory_prefix_index/migration.sql} +0 -0
  653. /package/migrations/{0167_todo_search_indexes.sql → 20261123201740_todo_search_indexes/migration.sql} +0 -0
  654. /package/migrations/{0168_todo_inbox_items.sql → 20261123211505_todo_inbox_items/migration.sql} +0 -0
  655. /package/migrations/{0169_drop_code_urls.sql → 20261123214917_drop_code_urls/migration.sql} +0 -0
@@ -1,2914 +0,0 @@
1
- {
2
- "id": "30e30f6e-cfbc-4d22-aa24-8c0d8a5abc37",
3
- "prevId": "7f66cacd-886c-4bbd-8b80-ea3ce8a0a466",
4
- "version": "7",
5
- "dialect": "postgresql",
6
- "tables": {
7
- "public.junior_agent_bindings": {
8
- "name": "junior_agent_bindings",
9
- "schema": "",
10
- "columns": {
11
- "parent_conversation_id": {
12
- "name": "parent_conversation_id",
13
- "type": "text",
14
- "primaryKey": false,
15
- "notNull": true
16
- },
17
- "name": {
18
- "name": "name",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true
22
- },
23
- "child_conversation_id": {
24
- "name": "child_conversation_id",
25
- "type": "text",
26
- "primaryKey": false,
27
- "notNull": true
28
- }
29
- },
30
- "indexes": {
31
- "junior_agent_bindings_child_idx": {
32
- "name": "junior_agent_bindings_child_idx",
33
- "columns": [
34
- {
35
- "expression": "child_conversation_id",
36
- "isExpression": false,
37
- "asc": true,
38
- "nulls": "last"
39
- }
40
- ],
41
- "isUnique": true,
42
- "concurrently": false,
43
- "method": "btree",
44
- "with": {}
45
- }
46
- },
47
- "foreignKeys": {
48
- "junior_agent_bindings_parent_conversation_id_junior_conversations_conversation_id_fk": {
49
- "name": "junior_agent_bindings_parent_conversation_id_junior_conversations_conversation_id_fk",
50
- "tableFrom": "junior_agent_bindings",
51
- "tableTo": "junior_conversations",
52
- "columnsFrom": ["parent_conversation_id"],
53
- "columnsTo": ["conversation_id"],
54
- "onDelete": "no action",
55
- "onUpdate": "no action"
56
- },
57
- "junior_agent_bindings_child_conversation_id_junior_conversations_conversation_id_fk": {
58
- "name": "junior_agent_bindings_child_conversation_id_junior_conversations_conversation_id_fk",
59
- "tableFrom": "junior_agent_bindings",
60
- "tableTo": "junior_conversations",
61
- "columnsFrom": ["child_conversation_id"],
62
- "columnsTo": ["conversation_id"],
63
- "onDelete": "no action",
64
- "onUpdate": "no action"
65
- }
66
- },
67
- "compositePrimaryKeys": {
68
- "junior_agent_bindings_parent_conversation_id_name_pk": {
69
- "name": "junior_agent_bindings_parent_conversation_id_name_pk",
70
- "columns": ["parent_conversation_id", "name"]
71
- }
72
- },
73
- "uniqueConstraints": {},
74
- "policies": {},
75
- "checkConstraints": {},
76
- "isRLSEnabled": false
77
- },
78
- "public.junior_agent_invocations": {
79
- "name": "junior_agent_invocations",
80
- "schema": "",
81
- "columns": {
82
- "invocation_id": {
83
- "name": "invocation_id",
84
- "type": "text",
85
- "primaryKey": true,
86
- "notNull": true
87
- },
88
- "parent_conversation_id": {
89
- "name": "parent_conversation_id",
90
- "type": "text",
91
- "primaryKey": false,
92
- "notNull": true
93
- },
94
- "child_conversation_id": {
95
- "name": "child_conversation_id",
96
- "type": "text",
97
- "primaryKey": false,
98
- "notNull": true
99
- },
100
- "agent_name": {
101
- "name": "agent_name",
102
- "type": "text",
103
- "primaryKey": false,
104
- "notNull": false
105
- },
106
- "input": {
107
- "name": "input",
108
- "type": "text",
109
- "primaryKey": false,
110
- "notNull": true
111
- },
112
- "actor_json": {
113
- "name": "actor_json",
114
- "type": "jsonb",
115
- "primaryKey": false,
116
- "notNull": true
117
- },
118
- "credential_context_json": {
119
- "name": "credential_context_json",
120
- "type": "jsonb",
121
- "primaryKey": false,
122
- "notNull": false
123
- },
124
- "source_json": {
125
- "name": "source_json",
126
- "type": "jsonb",
127
- "primaryKey": false,
128
- "notNull": true
129
- },
130
- "destination_json": {
131
- "name": "destination_json",
132
- "type": "jsonb",
133
- "primaryKey": false,
134
- "notNull": true
135
- },
136
- "destination_visibility": {
137
- "name": "destination_visibility",
138
- "type": "text",
139
- "primaryKey": false,
140
- "notNull": false
141
- },
142
- "reasoning_level": {
143
- "name": "reasoning_level",
144
- "type": "text",
145
- "primaryKey": false,
146
- "notNull": false
147
- },
148
- "status": {
149
- "name": "status",
150
- "type": "text",
151
- "primaryKey": false,
152
- "notNull": true
153
- },
154
- "mailbox_status": {
155
- "name": "mailbox_status",
156
- "type": "text",
157
- "primaryKey": false,
158
- "notNull": true
159
- },
160
- "result": {
161
- "name": "result",
162
- "type": "text",
163
- "primaryKey": false,
164
- "notNull": false
165
- },
166
- "error_message": {
167
- "name": "error_message",
168
- "type": "text",
169
- "primaryKey": false,
170
- "notNull": false
171
- },
172
- "created_at": {
173
- "name": "created_at",
174
- "type": "timestamp with time zone",
175
- "primaryKey": false,
176
- "notNull": true
177
- },
178
- "updated_at": {
179
- "name": "updated_at",
180
- "type": "timestamp with time zone",
181
- "primaryKey": false,
182
- "notNull": true
183
- },
184
- "terminal_at": {
185
- "name": "terminal_at",
186
- "type": "timestamp with time zone",
187
- "primaryKey": false,
188
- "notNull": false
189
- }
190
- },
191
- "indexes": {
192
- "junior_agent_invocations_child_idx": {
193
- "name": "junior_agent_invocations_child_idx",
194
- "columns": [
195
- {
196
- "expression": "child_conversation_id",
197
- "isExpression": false,
198
- "asc": true,
199
- "nulls": "last"
200
- }
201
- ],
202
- "isUnique": false,
203
- "concurrently": false,
204
- "method": "btree",
205
- "with": {}
206
- },
207
- "junior_agent_invocations_mailbox_idx": {
208
- "name": "junior_agent_invocations_mailbox_idx",
209
- "columns": [
210
- {
211
- "expression": "mailbox_status",
212
- "isExpression": false,
213
- "asc": true,
214
- "nulls": "last"
215
- },
216
- {
217
- "expression": "created_at",
218
- "isExpression": false,
219
- "asc": true,
220
- "nulls": "last"
221
- }
222
- ],
223
- "isUnique": false,
224
- "concurrently": false,
225
- "method": "btree",
226
- "with": {}
227
- }
228
- },
229
- "foreignKeys": {
230
- "junior_agent_invocations_parent_conversation_id_junior_conversations_conversation_id_fk": {
231
- "name": "junior_agent_invocations_parent_conversation_id_junior_conversations_conversation_id_fk",
232
- "tableFrom": "junior_agent_invocations",
233
- "tableTo": "junior_conversations",
234
- "columnsFrom": ["parent_conversation_id"],
235
- "columnsTo": ["conversation_id"],
236
- "onDelete": "no action",
237
- "onUpdate": "no action"
238
- },
239
- "junior_agent_invocations_child_conversation_id_junior_conversations_conversation_id_fk": {
240
- "name": "junior_agent_invocations_child_conversation_id_junior_conversations_conversation_id_fk",
241
- "tableFrom": "junior_agent_invocations",
242
- "tableTo": "junior_conversations",
243
- "columnsFrom": ["child_conversation_id"],
244
- "columnsTo": ["conversation_id"],
245
- "onDelete": "no action",
246
- "onUpdate": "no action"
247
- }
248
- },
249
- "compositePrimaryKeys": {},
250
- "uniqueConstraints": {},
251
- "policies": {},
252
- "checkConstraints": {},
253
- "isRLSEnabled": false
254
- },
255
- "public.junior_api_tokens": {
256
- "name": "junior_api_tokens",
257
- "schema": "",
258
- "columns": {
259
- "id": {
260
- "name": "id",
261
- "type": "text",
262
- "primaryKey": true,
263
- "notNull": true
264
- },
265
- "owner_email_normalized": {
266
- "name": "owner_email_normalized",
267
- "type": "text",
268
- "primaryKey": false,
269
- "notNull": true
270
- },
271
- "name": {
272
- "name": "name",
273
- "type": "text",
274
- "primaryKey": false,
275
- "notNull": true
276
- },
277
- "token_hash": {
278
- "name": "token_hash",
279
- "type": "text",
280
- "primaryKey": false,
281
- "notNull": true
282
- },
283
- "token_suffix": {
284
- "name": "token_suffix",
285
- "type": "text",
286
- "primaryKey": false,
287
- "notNull": true
288
- },
289
- "created_at": {
290
- "name": "created_at",
291
- "type": "timestamp with time zone",
292
- "primaryKey": false,
293
- "notNull": true
294
- },
295
- "expires_at": {
296
- "name": "expires_at",
297
- "type": "timestamp with time zone",
298
- "primaryKey": false,
299
- "notNull": true
300
- },
301
- "last_used_at": {
302
- "name": "last_used_at",
303
- "type": "timestamp with time zone",
304
- "primaryKey": false,
305
- "notNull": false
306
- },
307
- "revoked_at": {
308
- "name": "revoked_at",
309
- "type": "timestamp with time zone",
310
- "primaryKey": false,
311
- "notNull": false
312
- }
313
- },
314
- "indexes": {
315
- "junior_api_tokens_token_hash_uidx": {
316
- "name": "junior_api_tokens_token_hash_uidx",
317
- "columns": [
318
- {
319
- "expression": "token_hash",
320
- "isExpression": false,
321
- "asc": true,
322
- "nulls": "last"
323
- }
324
- ],
325
- "isUnique": true,
326
- "concurrently": false,
327
- "method": "btree",
328
- "with": {}
329
- },
330
- "junior_api_tokens_owner_email_idx": {
331
- "name": "junior_api_tokens_owner_email_idx",
332
- "columns": [
333
- {
334
- "expression": "owner_email_normalized",
335
- "isExpression": false,
336
- "asc": true,
337
- "nulls": "last"
338
- }
339
- ],
340
- "isUnique": false,
341
- "concurrently": false,
342
- "method": "btree",
343
- "with": {}
344
- }
345
- },
346
- "foreignKeys": {},
347
- "compositePrimaryKeys": {},
348
- "uniqueConstraints": {},
349
- "policies": {},
350
- "checkConstraints": {},
351
- "isRLSEnabled": false
352
- },
353
- "public.junior_artifacts": {
354
- "name": "junior_artifacts",
355
- "schema": "",
356
- "columns": {
357
- "id": {
358
- "name": "id",
359
- "type": "text",
360
- "primaryKey": true,
361
- "notNull": true
362
- },
363
- "conversation_id": {
364
- "name": "conversation_id",
365
- "type": "text",
366
- "primaryKey": false,
367
- "notNull": true
368
- },
369
- "sha256": {
370
- "name": "sha256",
371
- "type": "text",
372
- "primaryKey": false,
373
- "notNull": true
374
- },
375
- "ext": {
376
- "name": "ext",
377
- "type": "text",
378
- "primaryKey": false,
379
- "notNull": true
380
- },
381
- "storage_key": {
382
- "name": "storage_key",
383
- "type": "text",
384
- "primaryKey": false,
385
- "notNull": true
386
- },
387
- "content_type": {
388
- "name": "content_type",
389
- "type": "text",
390
- "primaryKey": false,
391
- "notNull": true
392
- },
393
- "bytes": {
394
- "name": "bytes",
395
- "type": "integer",
396
- "primaryKey": false,
397
- "notNull": true
398
- },
399
- "public": {
400
- "name": "public",
401
- "type": "boolean",
402
- "primaryKey": false,
403
- "notNull": true
404
- },
405
- "created_at": {
406
- "name": "created_at",
407
- "type": "timestamp with time zone",
408
- "primaryKey": false,
409
- "notNull": true
410
- },
411
- "delete_requested_at": {
412
- "name": "delete_requested_at",
413
- "type": "timestamp with time zone",
414
- "primaryKey": false,
415
- "notNull": false
416
- }
417
- },
418
- "indexes": {
419
- "junior_artifacts_conversation_sha_uidx": {
420
- "name": "junior_artifacts_conversation_sha_uidx",
421
- "columns": [
422
- {
423
- "expression": "conversation_id",
424
- "isExpression": false,
425
- "asc": true,
426
- "nulls": "last"
427
- },
428
- {
429
- "expression": "sha256",
430
- "isExpression": false,
431
- "asc": true,
432
- "nulls": "last"
433
- }
434
- ],
435
- "isUnique": true,
436
- "concurrently": false,
437
- "method": "btree",
438
- "with": {}
439
- },
440
- "junior_artifacts_gc_idx": {
441
- "name": "junior_artifacts_gc_idx",
442
- "columns": [
443
- {
444
- "expression": "delete_requested_at",
445
- "isExpression": false,
446
- "asc": true,
447
- "nulls": "last"
448
- },
449
- {
450
- "expression": "created_at",
451
- "isExpression": false,
452
- "asc": true,
453
- "nulls": "last"
454
- }
455
- ],
456
- "isUnique": false,
457
- "concurrently": false,
458
- "method": "btree",
459
- "with": {}
460
- },
461
- "junior_artifacts_conversation_idx": {
462
- "name": "junior_artifacts_conversation_idx",
463
- "columns": [
464
- {
465
- "expression": "conversation_id",
466
- "isExpression": false,
467
- "asc": true,
468
- "nulls": "last"
469
- }
470
- ],
471
- "isUnique": false,
472
- "concurrently": false,
473
- "method": "btree",
474
- "with": {}
475
- }
476
- },
477
- "foreignKeys": {},
478
- "compositePrimaryKeys": {},
479
- "uniqueConstraints": {},
480
- "policies": {},
481
- "checkConstraints": {},
482
- "isRLSEnabled": false
483
- },
484
- "public.junior_attachments": {
485
- "name": "junior_attachments",
486
- "schema": "",
487
- "columns": {
488
- "id": {
489
- "name": "id",
490
- "type": "text",
491
- "primaryKey": true,
492
- "notNull": true
493
- },
494
- "conversation_id": {
495
- "name": "conversation_id",
496
- "type": "text",
497
- "primaryKey": false,
498
- "notNull": true
499
- },
500
- "provider": {
501
- "name": "provider",
502
- "type": "text",
503
- "primaryKey": false,
504
- "notNull": true
505
- },
506
- "storage_key": {
507
- "name": "storage_key",
508
- "type": "text",
509
- "primaryKey": false,
510
- "notNull": true
511
- },
512
- "filename": {
513
- "name": "filename",
514
- "type": "text",
515
- "primaryKey": false,
516
- "notNull": true
517
- },
518
- "content_type": {
519
- "name": "content_type",
520
- "type": "text",
521
- "primaryKey": false,
522
- "notNull": true
523
- },
524
- "bytes": {
525
- "name": "bytes",
526
- "type": "integer",
527
- "primaryKey": false,
528
- "notNull": true
529
- },
530
- "sha256": {
531
- "name": "sha256",
532
- "type": "text",
533
- "primaryKey": false,
534
- "notNull": true
535
- },
536
- "created_at": {
537
- "name": "created_at",
538
- "type": "timestamp with time zone",
539
- "primaryKey": false,
540
- "notNull": true
541
- },
542
- "delete_requested_at": {
543
- "name": "delete_requested_at",
544
- "type": "timestamp with time zone",
545
- "primaryKey": false,
546
- "notNull": false
547
- }
548
- },
549
- "indexes": {
550
- "junior_attachments_conversation_idx": {
551
- "name": "junior_attachments_conversation_idx",
552
- "columns": [
553
- {
554
- "expression": "conversation_id",
555
- "isExpression": false,
556
- "asc": true,
557
- "nulls": "last"
558
- }
559
- ],
560
- "isUnique": false,
561
- "concurrently": false,
562
- "method": "btree",
563
- "with": {}
564
- },
565
- "junior_attachments_gc_idx": {
566
- "name": "junior_attachments_gc_idx",
567
- "columns": [
568
- {
569
- "expression": "provider",
570
- "isExpression": false,
571
- "asc": true,
572
- "nulls": "last"
573
- },
574
- {
575
- "expression": "delete_requested_at",
576
- "isExpression": false,
577
- "asc": true,
578
- "nulls": "last"
579
- },
580
- {
581
- "expression": "created_at",
582
- "isExpression": false,
583
- "asc": true,
584
- "nulls": "last"
585
- }
586
- ],
587
- "isUnique": false,
588
- "concurrently": false,
589
- "method": "btree",
590
- "with": {}
591
- }
592
- },
593
- "foreignKeys": {
594
- "junior_attachments_conversation_id_junior_conversations_conversation_id_fk": {
595
- "name": "junior_attachments_conversation_id_junior_conversations_conversation_id_fk",
596
- "tableFrom": "junior_attachments",
597
- "tableTo": "junior_conversations",
598
- "columnsFrom": ["conversation_id"],
599
- "columnsTo": ["conversation_id"],
600
- "onDelete": "cascade",
601
- "onUpdate": "no action"
602
- }
603
- },
604
- "compositePrimaryKeys": {},
605
- "uniqueConstraints": {},
606
- "policies": {},
607
- "checkConstraints": {},
608
- "isRLSEnabled": false
609
- },
610
- "public.junior_conversation_annotations": {
611
- "name": "junior_conversation_annotations",
612
- "schema": "",
613
- "columns": {
614
- "conversation_id": {
615
- "name": "conversation_id",
616
- "type": "text",
617
- "primaryKey": false,
618
- "notNull": true
619
- },
620
- "plugin": {
621
- "name": "plugin",
622
- "type": "text",
623
- "primaryKey": false,
624
- "notNull": true
625
- },
626
- "kind": {
627
- "name": "kind",
628
- "type": "text",
629
- "primaryKey": false,
630
- "notNull": true
631
- },
632
- "key": {
633
- "name": "key",
634
- "type": "text",
635
- "primaryKey": false,
636
- "notNull": true
637
- },
638
- "annotation_json": {
639
- "name": "annotation_json",
640
- "type": "jsonb",
641
- "primaryKey": false,
642
- "notNull": true
643
- },
644
- "created_at": {
645
- "name": "created_at",
646
- "type": "timestamp with time zone",
647
- "primaryKey": false,
648
- "notNull": true
649
- },
650
- "updated_at": {
651
- "name": "updated_at",
652
- "type": "timestamp with time zone",
653
- "primaryKey": false,
654
- "notNull": true
655
- }
656
- },
657
- "indexes": {},
658
- "foreignKeys": {
659
- "junior_conversation_annotations_conversation_id_fk": {
660
- "name": "junior_conversation_annotations_conversation_id_fk",
661
- "tableFrom": "junior_conversation_annotations",
662
- "tableTo": "junior_conversations",
663
- "columnsFrom": ["conversation_id"],
664
- "columnsTo": ["conversation_id"],
665
- "onDelete": "cascade",
666
- "onUpdate": "no action"
667
- }
668
- },
669
- "compositePrimaryKeys": {
670
- "junior_conversation_annotations_pk": {
671
- "name": "junior_conversation_annotations_pk",
672
- "columns": ["conversation_id", "plugin", "kind", "key"]
673
- }
674
- },
675
- "uniqueConstraints": {},
676
- "policies": {},
677
- "checkConstraints": {},
678
- "isRLSEnabled": false
679
- },
680
- "public.junior_conversation_bindings": {
681
- "name": "junior_conversation_bindings",
682
- "schema": "",
683
- "columns": {
684
- "conversation_id": {
685
- "name": "conversation_id",
686
- "type": "text",
687
- "primaryKey": false,
688
- "notNull": true
689
- },
690
- "provider": {
691
- "name": "provider",
692
- "type": "text",
693
- "primaryKey": false,
694
- "notNull": true
695
- },
696
- "provider_tenant_id": {
697
- "name": "provider_tenant_id",
698
- "type": "text",
699
- "primaryKey": false,
700
- "notNull": true,
701
- "default": "''"
702
- },
703
- "provider_destination_id": {
704
- "name": "provider_destination_id",
705
- "type": "text",
706
- "primaryKey": false,
707
- "notNull": true
708
- },
709
- "provider_conversation_id": {
710
- "name": "provider_conversation_id",
711
- "type": "text",
712
- "primaryKey": false,
713
- "notNull": true
714
- },
715
- "created_at": {
716
- "name": "created_at",
717
- "type": "timestamp with time zone",
718
- "primaryKey": false,
719
- "notNull": true
720
- }
721
- },
722
- "indexes": {
723
- "junior_conversation_bindings_conversation_idx": {
724
- "name": "junior_conversation_bindings_conversation_idx",
725
- "columns": [
726
- {
727
- "expression": "conversation_id",
728
- "isExpression": false,
729
- "asc": true,
730
- "nulls": "last"
731
- }
732
- ],
733
- "isUnique": false,
734
- "concurrently": false,
735
- "method": "btree",
736
- "with": {}
737
- }
738
- },
739
- "foreignKeys": {
740
- "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk": {
741
- "name": "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk",
742
- "tableFrom": "junior_conversation_bindings",
743
- "tableTo": "junior_conversations",
744
- "columnsFrom": ["conversation_id"],
745
- "columnsTo": ["conversation_id"],
746
- "onDelete": "no action",
747
- "onUpdate": "no action"
748
- }
749
- },
750
- "compositePrimaryKeys": {
751
- "junior_conversation_bindings_provider_conversation_pk": {
752
- "name": "junior_conversation_bindings_provider_conversation_pk",
753
- "columns": [
754
- "provider",
755
- "provider_tenant_id",
756
- "provider_destination_id",
757
- "provider_conversation_id"
758
- ]
759
- }
760
- },
761
- "uniqueConstraints": {},
762
- "policies": {},
763
- "checkConstraints": {},
764
- "isRLSEnabled": false
765
- },
766
- "public.junior_conversation_events": {
767
- "name": "junior_conversation_events",
768
- "schema": "",
769
- "columns": {
770
- "conversation_id": {
771
- "name": "conversation_id",
772
- "type": "text",
773
- "primaryKey": false,
774
- "notNull": true
775
- },
776
- "seq": {
777
- "name": "seq",
778
- "type": "integer",
779
- "primaryKey": false,
780
- "notNull": true
781
- },
782
- "history_version": {
783
- "name": "history_version",
784
- "type": "integer",
785
- "primaryKey": false,
786
- "notNull": true
787
- },
788
- "schema_version": {
789
- "name": "schema_version",
790
- "type": "integer",
791
- "primaryKey": false,
792
- "notNull": true,
793
- "default": 1
794
- },
795
- "idempotency_key": {
796
- "name": "idempotency_key",
797
- "type": "text",
798
- "primaryKey": false,
799
- "notNull": false
800
- },
801
- "type": {
802
- "name": "type",
803
- "type": "text",
804
- "primaryKey": false,
805
- "notNull": true
806
- },
807
- "payload": {
808
- "name": "payload",
809
- "type": "jsonb",
810
- "primaryKey": false,
811
- "notNull": true
812
- },
813
- "actor_identity_id": {
814
- "name": "actor_identity_id",
815
- "type": "text",
816
- "primaryKey": false,
817
- "notNull": false
818
- },
819
- "created_at": {
820
- "name": "created_at",
821
- "type": "timestamp with time zone",
822
- "primaryKey": false,
823
- "notNull": true
824
- }
825
- },
826
- "indexes": {
827
- "junior_conversation_events_history_version_idx": {
828
- "name": "junior_conversation_events_history_version_idx",
829
- "columns": [
830
- {
831
- "expression": "conversation_id",
832
- "isExpression": false,
833
- "asc": true,
834
- "nulls": "last"
835
- },
836
- {
837
- "expression": "history_version",
838
- "isExpression": false,
839
- "asc": true,
840
- "nulls": "last"
841
- },
842
- {
843
- "expression": "seq",
844
- "isExpression": false,
845
- "asc": true,
846
- "nulls": "last"
847
- }
848
- ],
849
- "isUnique": false,
850
- "concurrently": false,
851
- "method": "btree",
852
- "with": {}
853
- },
854
- "junior_conversation_events_type_idx": {
855
- "name": "junior_conversation_events_type_idx",
856
- "columns": [
857
- {
858
- "expression": "conversation_id",
859
- "isExpression": false,
860
- "asc": true,
861
- "nulls": "last"
862
- },
863
- {
864
- "expression": "type",
865
- "isExpression": false,
866
- "asc": true,
867
- "nulls": "last"
868
- },
869
- {
870
- "expression": "seq",
871
- "isExpression": false,
872
- "asc": true,
873
- "nulls": "last"
874
- }
875
- ],
876
- "isUnique": false,
877
- "concurrently": false,
878
- "method": "btree",
879
- "with": {}
880
- },
881
- "junior_conversation_events_actor_identity_idx": {
882
- "name": "junior_conversation_events_actor_identity_idx",
883
- "columns": [
884
- {
885
- "expression": "actor_identity_id",
886
- "isExpression": false,
887
- "asc": true,
888
- "nulls": "last"
889
- },
890
- {
891
- "expression": "conversation_id",
892
- "isExpression": false,
893
- "asc": true,
894
- "nulls": "last"
895
- },
896
- {
897
- "expression": "seq",
898
- "isExpression": false,
899
- "asc": true,
900
- "nulls": "last"
901
- }
902
- ],
903
- "isUnique": false,
904
- "concurrently": false,
905
- "method": "btree",
906
- "with": {}
907
- },
908
- "junior_conversation_events_message_search_idx": {
909
- "name": "junior_conversation_events_message_search_idx",
910
- "columns": [
911
- {
912
- "expression": "to_tsvector('english', \"payload\"->>'text')",
913
- "asc": true,
914
- "isExpression": true,
915
- "nulls": "last"
916
- }
917
- ],
918
- "isUnique": false,
919
- "where": "\"junior_conversation_events\".\"type\" = 'message'",
920
- "concurrently": false,
921
- "method": "gin",
922
- "with": {}
923
- },
924
- "junior_conversation_events_idempotency_idx": {
925
- "name": "junior_conversation_events_idempotency_idx",
926
- "columns": [
927
- {
928
- "expression": "conversation_id",
929
- "isExpression": false,
930
- "asc": true,
931
- "nulls": "last"
932
- },
933
- {
934
- "expression": "idempotency_key",
935
- "isExpression": false,
936
- "asc": true,
937
- "nulls": "last"
938
- }
939
- ],
940
- "isUnique": true,
941
- "concurrently": false,
942
- "method": "btree",
943
- "with": {}
944
- }
945
- },
946
- "foreignKeys": {
947
- "junior_conversation_events_actor_identity_id_junior_identities_id_fk": {
948
- "name": "junior_conversation_events_actor_identity_id_junior_identities_id_fk",
949
- "tableFrom": "junior_conversation_events",
950
- "tableTo": "junior_identities",
951
- "columnsFrom": ["actor_identity_id"],
952
- "columnsTo": ["id"],
953
- "onDelete": "no action",
954
- "onUpdate": "no action"
955
- },
956
- "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk": {
957
- "name": "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk",
958
- "tableFrom": "junior_conversation_events",
959
- "tableTo": "junior_conversations",
960
- "columnsFrom": ["conversation_id"],
961
- "columnsTo": ["conversation_id"],
962
- "onDelete": "no action",
963
- "onUpdate": "no action"
964
- }
965
- },
966
- "compositePrimaryKeys": {
967
- "junior_conversation_events_conversation_id_seq_pk": {
968
- "name": "junior_conversation_events_conversation_id_seq_pk",
969
- "columns": ["conversation_id", "seq"]
970
- }
971
- },
972
- "uniqueConstraints": {},
973
- "policies": {},
974
- "checkConstraints": {},
975
- "isRLSEnabled": false
976
- },
977
- "public.junior_conversation_participants": {
978
- "name": "junior_conversation_participants",
979
- "schema": "",
980
- "columns": {
981
- "user_id": {
982
- "name": "user_id",
983
- "type": "text",
984
- "primaryKey": false,
985
- "notNull": true
986
- },
987
- "root_conversation_id": {
988
- "name": "root_conversation_id",
989
- "type": "text",
990
- "primaryKey": false,
991
- "notNull": true
992
- },
993
- "last_message_at": {
994
- "name": "last_message_at",
995
- "type": "timestamp with time zone",
996
- "primaryKey": false,
997
- "notNull": true
998
- }
999
- },
1000
- "indexes": {
1001
- "junior_conversation_participants_user_activity_idx": {
1002
- "name": "junior_conversation_participants_user_activity_idx",
1003
- "columns": [
1004
- {
1005
- "expression": "user_id",
1006
- "isExpression": false,
1007
- "asc": true,
1008
- "nulls": "last"
1009
- },
1010
- {
1011
- "expression": "last_message_at",
1012
- "isExpression": false,
1013
- "asc": false,
1014
- "nulls": "last"
1015
- }
1016
- ],
1017
- "isUnique": false,
1018
- "concurrently": false,
1019
- "method": "btree",
1020
- "with": {}
1021
- },
1022
- "junior_conversation_participants_root_idx": {
1023
- "name": "junior_conversation_participants_root_idx",
1024
- "columns": [
1025
- {
1026
- "expression": "root_conversation_id",
1027
- "isExpression": false,
1028
- "asc": true,
1029
- "nulls": "last"
1030
- }
1031
- ],
1032
- "isUnique": false,
1033
- "concurrently": false,
1034
- "method": "btree",
1035
- "with": {}
1036
- }
1037
- },
1038
- "foreignKeys": {
1039
- "junior_conversation_participants_user_id_junior_users_id_fk": {
1040
- "name": "junior_conversation_participants_user_id_junior_users_id_fk",
1041
- "tableFrom": "junior_conversation_participants",
1042
- "tableTo": "junior_users",
1043
- "columnsFrom": ["user_id"],
1044
- "columnsTo": ["id"],
1045
- "onDelete": "no action",
1046
- "onUpdate": "no action"
1047
- },
1048
- "junior_conversation_participants_root_conversation_id_junior_conversations_conversation_id_fk": {
1049
- "name": "junior_conversation_participants_root_conversation_id_junior_conversations_conversation_id_fk",
1050
- "tableFrom": "junior_conversation_participants",
1051
- "tableTo": "junior_conversations",
1052
- "columnsFrom": ["root_conversation_id"],
1053
- "columnsTo": ["conversation_id"],
1054
- "onDelete": "no action",
1055
- "onUpdate": "no action"
1056
- }
1057
- },
1058
- "compositePrimaryKeys": {
1059
- "junior_conversation_participants_user_root_pk": {
1060
- "name": "junior_conversation_participants_user_root_pk",
1061
- "columns": ["user_id", "root_conversation_id"]
1062
- }
1063
- },
1064
- "uniqueConstraints": {},
1065
- "policies": {},
1066
- "checkConstraints": {},
1067
- "isRLSEnabled": false
1068
- },
1069
- "public.junior_conversations": {
1070
- "name": "junior_conversations",
1071
- "schema": "",
1072
- "columns": {
1073
- "conversation_id": {
1074
- "name": "conversation_id",
1075
- "type": "text",
1076
- "primaryKey": true,
1077
- "notNull": true
1078
- },
1079
- "schema_version": {
1080
- "name": "schema_version",
1081
- "type": "integer",
1082
- "primaryKey": false,
1083
- "notNull": true,
1084
- "default": 1
1085
- },
1086
- "source": {
1087
- "name": "source",
1088
- "type": "text",
1089
- "primaryKey": false,
1090
- "notNull": false
1091
- },
1092
- "source_json": {
1093
- "name": "source_json",
1094
- "type": "jsonb",
1095
- "primaryKey": false,
1096
- "notNull": false
1097
- },
1098
- "origin_type": {
1099
- "name": "origin_type",
1100
- "type": "text",
1101
- "primaryKey": false,
1102
- "notNull": false
1103
- },
1104
- "origin_id": {
1105
- "name": "origin_id",
1106
- "type": "text",
1107
- "primaryKey": false,
1108
- "notNull": false
1109
- },
1110
- "origin_run_id": {
1111
- "name": "origin_run_id",
1112
- "type": "text",
1113
- "primaryKey": false,
1114
- "notNull": false
1115
- },
1116
- "destination_id": {
1117
- "name": "destination_id",
1118
- "type": "text",
1119
- "primaryKey": false,
1120
- "notNull": false
1121
- },
1122
- "destination_json": {
1123
- "name": "destination_json",
1124
- "type": "jsonb",
1125
- "primaryKey": false,
1126
- "notNull": false
1127
- },
1128
- "actor_identity_id": {
1129
- "name": "actor_identity_id",
1130
- "type": "text",
1131
- "primaryKey": false,
1132
- "notNull": false
1133
- },
1134
- "creator_identity_id": {
1135
- "name": "creator_identity_id",
1136
- "type": "text",
1137
- "primaryKey": false,
1138
- "notNull": false
1139
- },
1140
- "credential_subject_identity_id": {
1141
- "name": "credential_subject_identity_id",
1142
- "type": "text",
1143
- "primaryKey": false,
1144
- "notNull": false
1145
- },
1146
- "actor_json": {
1147
- "name": "actor_json",
1148
- "type": "jsonb",
1149
- "primaryKey": false,
1150
- "notNull": false
1151
- },
1152
- "channel_name": {
1153
- "name": "channel_name",
1154
- "type": "text",
1155
- "primaryKey": false,
1156
- "notNull": false
1157
- },
1158
- "title": {
1159
- "name": "title",
1160
- "type": "text",
1161
- "primaryKey": false,
1162
- "notNull": false
1163
- },
1164
- "created_at": {
1165
- "name": "created_at",
1166
- "type": "timestamp with time zone",
1167
- "primaryKey": false,
1168
- "notNull": true
1169
- },
1170
- "last_activity_at": {
1171
- "name": "last_activity_at",
1172
- "type": "timestamp with time zone",
1173
- "primaryKey": false,
1174
- "notNull": true
1175
- },
1176
- "updated_at": {
1177
- "name": "updated_at",
1178
- "type": "timestamp with time zone",
1179
- "primaryKey": false,
1180
- "notNull": true
1181
- },
1182
- "execution_updated_at": {
1183
- "name": "execution_updated_at",
1184
- "type": "timestamp with time zone",
1185
- "primaryKey": false,
1186
- "notNull": false
1187
- },
1188
- "execution_status": {
1189
- "name": "execution_status",
1190
- "type": "text",
1191
- "primaryKey": false,
1192
- "notNull": true
1193
- },
1194
- "run_id": {
1195
- "name": "run_id",
1196
- "type": "text",
1197
- "primaryKey": false,
1198
- "notNull": false
1199
- },
1200
- "last_checkpoint_at": {
1201
- "name": "last_checkpoint_at",
1202
- "type": "timestamp with time zone",
1203
- "primaryKey": false,
1204
- "notNull": false
1205
- },
1206
- "last_enqueued_at": {
1207
- "name": "last_enqueued_at",
1208
- "type": "timestamp with time zone",
1209
- "primaryKey": false,
1210
- "notNull": false
1211
- },
1212
- "parent_conversation_id": {
1213
- "name": "parent_conversation_id",
1214
- "type": "text",
1215
- "primaryKey": false,
1216
- "notNull": false
1217
- },
1218
- "root_conversation_id": {
1219
- "name": "root_conversation_id",
1220
- "type": "text",
1221
- "primaryKey": false,
1222
- "notNull": false
1223
- },
1224
- "transcript_purged_at": {
1225
- "name": "transcript_purged_at",
1226
- "type": "timestamp with time zone",
1227
- "primaryKey": false,
1228
- "notNull": false
1229
- },
1230
- "duration_ms": {
1231
- "name": "duration_ms",
1232
- "type": "integer",
1233
- "primaryKey": false,
1234
- "notNull": true,
1235
- "default": 0
1236
- },
1237
- "usage_json": {
1238
- "name": "usage_json",
1239
- "type": "jsonb",
1240
- "primaryKey": false,
1241
- "notNull": false
1242
- },
1243
- "execution_duration_ms": {
1244
- "name": "execution_duration_ms",
1245
- "type": "integer",
1246
- "primaryKey": false,
1247
- "notNull": true,
1248
- "default": 0
1249
- },
1250
- "execution_usage_json": {
1251
- "name": "execution_usage_json",
1252
- "type": "jsonb",
1253
- "primaryKey": false,
1254
- "notNull": false
1255
- },
1256
- "metric_run_id": {
1257
- "name": "metric_run_id",
1258
- "type": "text",
1259
- "primaryKey": false,
1260
- "notNull": false
1261
- },
1262
- "archived_at": {
1263
- "name": "archived_at",
1264
- "type": "timestamp with time zone",
1265
- "primaryKey": false,
1266
- "notNull": false
1267
- }
1268
- },
1269
- "indexes": {
1270
- "junior_conversations_last_activity_idx": {
1271
- "name": "junior_conversations_last_activity_idx",
1272
- "columns": [
1273
- {
1274
- "expression": "last_activity_at",
1275
- "isExpression": false,
1276
- "asc": false,
1277
- "nulls": "last"
1278
- },
1279
- {
1280
- "expression": "conversation_id",
1281
- "isExpression": false,
1282
- "asc": true,
1283
- "nulls": "last"
1284
- }
1285
- ],
1286
- "isUnique": false,
1287
- "concurrently": false,
1288
- "method": "btree",
1289
- "with": {}
1290
- },
1291
- "junior_conversations_active_idx": {
1292
- "name": "junior_conversations_active_idx",
1293
- "columns": [
1294
- {
1295
- "expression": "coalesce(\"execution_updated_at\", \"updated_at\")",
1296
- "asc": true,
1297
- "isExpression": true,
1298
- "nulls": "last"
1299
- },
1300
- {
1301
- "expression": "conversation_id",
1302
- "isExpression": false,
1303
- "asc": true,
1304
- "nulls": "last"
1305
- }
1306
- ],
1307
- "isUnique": false,
1308
- "where": "\"junior_conversations\".\"execution_status\" <> 'idle'",
1309
- "concurrently": false,
1310
- "method": "btree",
1311
- "with": {}
1312
- },
1313
- "junior_conversations_destination_activity_idx": {
1314
- "name": "junior_conversations_destination_activity_idx",
1315
- "columns": [
1316
- {
1317
- "expression": "destination_id",
1318
- "isExpression": false,
1319
- "asc": true,
1320
- "nulls": "last"
1321
- },
1322
- {
1323
- "expression": "last_activity_at",
1324
- "isExpression": false,
1325
- "asc": false,
1326
- "nulls": "last"
1327
- }
1328
- ],
1329
- "isUnique": false,
1330
- "concurrently": false,
1331
- "method": "btree",
1332
- "with": {}
1333
- },
1334
- "junior_conversations_actor_activity_idx": {
1335
- "name": "junior_conversations_actor_activity_idx",
1336
- "columns": [
1337
- {
1338
- "expression": "actor_identity_id",
1339
- "isExpression": false,
1340
- "asc": true,
1341
- "nulls": "last"
1342
- },
1343
- {
1344
- "expression": "last_activity_at",
1345
- "isExpression": false,
1346
- "asc": false,
1347
- "nulls": "last"
1348
- }
1349
- ],
1350
- "isUnique": false,
1351
- "concurrently": false,
1352
- "method": "btree",
1353
- "with": {}
1354
- },
1355
- "junior_conversations_origin_idx": {
1356
- "name": "junior_conversations_origin_idx",
1357
- "columns": [
1358
- {
1359
- "expression": "origin_type",
1360
- "isExpression": false,
1361
- "asc": true,
1362
- "nulls": "last"
1363
- },
1364
- {
1365
- "expression": "origin_id",
1366
- "isExpression": false,
1367
- "asc": true,
1368
- "nulls": "last"
1369
- },
1370
- {
1371
- "expression": "last_activity_at",
1372
- "isExpression": false,
1373
- "asc": false,
1374
- "nulls": "last"
1375
- }
1376
- ],
1377
- "isUnique": false,
1378
- "concurrently": false,
1379
- "method": "btree",
1380
- "with": {}
1381
- },
1382
- "junior_conversations_parent_idx": {
1383
- "name": "junior_conversations_parent_idx",
1384
- "columns": [
1385
- {
1386
- "expression": "parent_conversation_id",
1387
- "isExpression": false,
1388
- "asc": true,
1389
- "nulls": "last"
1390
- }
1391
- ],
1392
- "isUnique": false,
1393
- "concurrently": false,
1394
- "method": "btree",
1395
- "with": {}
1396
- },
1397
- "junior_conversations_root_idx": {
1398
- "name": "junior_conversations_root_idx",
1399
- "columns": [
1400
- {
1401
- "expression": "root_conversation_id",
1402
- "isExpression": false,
1403
- "asc": true,
1404
- "nulls": "last"
1405
- }
1406
- ],
1407
- "isUnique": false,
1408
- "concurrently": false,
1409
- "method": "btree",
1410
- "with": {}
1411
- }
1412
- },
1413
- "foreignKeys": {
1414
- "junior_conversations_destination_id_junior_destinations_id_fk": {
1415
- "name": "junior_conversations_destination_id_junior_destinations_id_fk",
1416
- "tableFrom": "junior_conversations",
1417
- "tableTo": "junior_destinations",
1418
- "columnsFrom": ["destination_id"],
1419
- "columnsTo": ["id"],
1420
- "onDelete": "no action",
1421
- "onUpdate": "no action"
1422
- },
1423
- "junior_conversations_actor_identity_id_junior_identities_id_fk": {
1424
- "name": "junior_conversations_actor_identity_id_junior_identities_id_fk",
1425
- "tableFrom": "junior_conversations",
1426
- "tableTo": "junior_identities",
1427
- "columnsFrom": ["actor_identity_id"],
1428
- "columnsTo": ["id"],
1429
- "onDelete": "no action",
1430
- "onUpdate": "no action"
1431
- },
1432
- "junior_conversations_creator_identity_id_junior_identities_id_fk": {
1433
- "name": "junior_conversations_creator_identity_id_junior_identities_id_fk",
1434
- "tableFrom": "junior_conversations",
1435
- "tableTo": "junior_identities",
1436
- "columnsFrom": ["creator_identity_id"],
1437
- "columnsTo": ["id"],
1438
- "onDelete": "no action",
1439
- "onUpdate": "no action"
1440
- },
1441
- "junior_conversations_credential_subject_identity_id_junior_identities_id_fk": {
1442
- "name": "junior_conversations_credential_subject_identity_id_junior_identities_id_fk",
1443
- "tableFrom": "junior_conversations",
1444
- "tableTo": "junior_identities",
1445
- "columnsFrom": ["credential_subject_identity_id"],
1446
- "columnsTo": ["id"],
1447
- "onDelete": "no action",
1448
- "onUpdate": "no action"
1449
- },
1450
- "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk": {
1451
- "name": "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk",
1452
- "tableFrom": "junior_conversations",
1453
- "tableTo": "junior_conversations",
1454
- "columnsFrom": ["parent_conversation_id"],
1455
- "columnsTo": ["conversation_id"],
1456
- "onDelete": "no action",
1457
- "onUpdate": "no action"
1458
- },
1459
- "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk": {
1460
- "name": "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk",
1461
- "tableFrom": "junior_conversations",
1462
- "tableTo": "junior_conversations",
1463
- "columnsFrom": ["root_conversation_id"],
1464
- "columnsTo": ["conversation_id"],
1465
- "onDelete": "no action",
1466
- "onUpdate": "no action"
1467
- }
1468
- },
1469
- "compositePrimaryKeys": {},
1470
- "uniqueConstraints": {},
1471
- "policies": {},
1472
- "checkConstraints": {},
1473
- "isRLSEnabled": false
1474
- },
1475
- "public.junior_destinations": {
1476
- "name": "junior_destinations",
1477
- "schema": "",
1478
- "columns": {
1479
- "id": {
1480
- "name": "id",
1481
- "type": "text",
1482
- "primaryKey": true,
1483
- "notNull": true
1484
- },
1485
- "provider": {
1486
- "name": "provider",
1487
- "type": "text",
1488
- "primaryKey": false,
1489
- "notNull": true
1490
- },
1491
- "provider_tenant_id": {
1492
- "name": "provider_tenant_id",
1493
- "type": "text",
1494
- "primaryKey": false,
1495
- "notNull": true,
1496
- "default": "''"
1497
- },
1498
- "provider_destination_id": {
1499
- "name": "provider_destination_id",
1500
- "type": "text",
1501
- "primaryKey": false,
1502
- "notNull": true
1503
- },
1504
- "kind": {
1505
- "name": "kind",
1506
- "type": "text",
1507
- "primaryKey": false,
1508
- "notNull": true
1509
- },
1510
- "parent_destination_id": {
1511
- "name": "parent_destination_id",
1512
- "type": "text",
1513
- "primaryKey": false,
1514
- "notNull": false
1515
- },
1516
- "display_name": {
1517
- "name": "display_name",
1518
- "type": "text",
1519
- "primaryKey": false,
1520
- "notNull": false
1521
- },
1522
- "visibility": {
1523
- "name": "visibility",
1524
- "type": "text",
1525
- "primaryKey": false,
1526
- "notNull": true,
1527
- "default": "'unknown'"
1528
- },
1529
- "metadata_json": {
1530
- "name": "metadata_json",
1531
- "type": "jsonb",
1532
- "primaryKey": false,
1533
- "notNull": false
1534
- },
1535
- "created_at": {
1536
- "name": "created_at",
1537
- "type": "timestamp with time zone",
1538
- "primaryKey": false,
1539
- "notNull": true
1540
- },
1541
- "updated_at": {
1542
- "name": "updated_at",
1543
- "type": "timestamp with time zone",
1544
- "primaryKey": false,
1545
- "notNull": true
1546
- }
1547
- },
1548
- "indexes": {
1549
- "junior_destinations_provider_destination_uidx": {
1550
- "name": "junior_destinations_provider_destination_uidx",
1551
- "columns": [
1552
- {
1553
- "expression": "provider",
1554
- "isExpression": false,
1555
- "asc": true,
1556
- "nulls": "last"
1557
- },
1558
- {
1559
- "expression": "provider_tenant_id",
1560
- "isExpression": false,
1561
- "asc": true,
1562
- "nulls": "last"
1563
- },
1564
- {
1565
- "expression": "provider_destination_id",
1566
- "isExpression": false,
1567
- "asc": true,
1568
- "nulls": "last"
1569
- }
1570
- ],
1571
- "isUnique": true,
1572
- "concurrently": false,
1573
- "method": "btree",
1574
- "with": {}
1575
- },
1576
- "junior_destinations_provider_kind_idx": {
1577
- "name": "junior_destinations_provider_kind_idx",
1578
- "columns": [
1579
- {
1580
- "expression": "provider",
1581
- "isExpression": false,
1582
- "asc": true,
1583
- "nulls": "last"
1584
- },
1585
- {
1586
- "expression": "kind",
1587
- "isExpression": false,
1588
- "asc": true,
1589
- "nulls": "last"
1590
- }
1591
- ],
1592
- "isUnique": false,
1593
- "concurrently": false,
1594
- "method": "btree",
1595
- "with": {}
1596
- }
1597
- },
1598
- "foreignKeys": {},
1599
- "compositePrimaryKeys": {},
1600
- "uniqueConstraints": {},
1601
- "policies": {},
1602
- "checkConstraints": {},
1603
- "isRLSEnabled": false
1604
- },
1605
- "public.junior_event_tasks": {
1606
- "name": "junior_event_tasks",
1607
- "schema": "",
1608
- "columns": {
1609
- "id": {
1610
- "name": "id",
1611
- "type": "text",
1612
- "primaryKey": true,
1613
- "notNull": true
1614
- },
1615
- "team_id": {
1616
- "name": "team_id",
1617
- "type": "text",
1618
- "primaryKey": false,
1619
- "notNull": true
1620
- },
1621
- "namespace": {
1622
- "name": "namespace",
1623
- "type": "text",
1624
- "primaryKey": false,
1625
- "notNull": true
1626
- },
1627
- "identifier": {
1628
- "name": "identifier",
1629
- "type": "text",
1630
- "primaryKey": false,
1631
- "notNull": true
1632
- },
1633
- "created_at_ms": {
1634
- "name": "created_at_ms",
1635
- "type": "bigint",
1636
- "primaryKey": false,
1637
- "notNull": true
1638
- },
1639
- "title": {
1640
- "name": "title",
1641
- "type": "text",
1642
- "primaryKey": false,
1643
- "notNull": false
1644
- },
1645
- "task_json": {
1646
- "name": "task_json",
1647
- "type": "jsonb",
1648
- "primaryKey": false,
1649
- "notNull": true
1650
- }
1651
- },
1652
- "indexes": {
1653
- "junior_event_tasks_team_idx": {
1654
- "name": "junior_event_tasks_team_idx",
1655
- "columns": [
1656
- {
1657
- "expression": "team_id",
1658
- "isExpression": false,
1659
- "asc": true,
1660
- "nulls": "last"
1661
- },
1662
- {
1663
- "expression": "created_at_ms",
1664
- "isExpression": false,
1665
- "asc": true,
1666
- "nulls": "last"
1667
- },
1668
- {
1669
- "expression": "id",
1670
- "isExpression": false,
1671
- "asc": true,
1672
- "nulls": "last"
1673
- }
1674
- ],
1675
- "isUnique": false,
1676
- "concurrently": false,
1677
- "method": "btree",
1678
- "with": {}
1679
- },
1680
- "junior_event_tasks_match_idx": {
1681
- "name": "junior_event_tasks_match_idx",
1682
- "columns": [
1683
- {
1684
- "expression": "namespace",
1685
- "isExpression": false,
1686
- "asc": true,
1687
- "nulls": "last"
1688
- },
1689
- {
1690
- "expression": "identifier",
1691
- "isExpression": false,
1692
- "asc": true,
1693
- "nulls": "last"
1694
- },
1695
- {
1696
- "expression": "created_at_ms",
1697
- "isExpression": false,
1698
- "asc": true,
1699
- "nulls": "last"
1700
- },
1701
- {
1702
- "expression": "id",
1703
- "isExpression": false,
1704
- "asc": true,
1705
- "nulls": "last"
1706
- }
1707
- ],
1708
- "isUnique": false,
1709
- "concurrently": false,
1710
- "method": "btree",
1711
- "with": {}
1712
- }
1713
- },
1714
- "foreignKeys": {},
1715
- "compositePrimaryKeys": {},
1716
- "uniqueConstraints": {},
1717
- "policies": {},
1718
- "checkConstraints": {},
1719
- "isRLSEnabled": false
1720
- },
1721
- "public.junior_identities": {
1722
- "name": "junior_identities",
1723
- "schema": "",
1724
- "columns": {
1725
- "id": {
1726
- "name": "id",
1727
- "type": "text",
1728
- "primaryKey": true,
1729
- "notNull": true
1730
- },
1731
- "kind": {
1732
- "name": "kind",
1733
- "type": "text",
1734
- "primaryKey": false,
1735
- "notNull": true
1736
- },
1737
- "provider": {
1738
- "name": "provider",
1739
- "type": "text",
1740
- "primaryKey": false,
1741
- "notNull": true
1742
- },
1743
- "provider_tenant_id": {
1744
- "name": "provider_tenant_id",
1745
- "type": "text",
1746
- "primaryKey": false,
1747
- "notNull": true,
1748
- "default": "''"
1749
- },
1750
- "provider_subject_id": {
1751
- "name": "provider_subject_id",
1752
- "type": "text",
1753
- "primaryKey": false,
1754
- "notNull": true
1755
- },
1756
- "display_name": {
1757
- "name": "display_name",
1758
- "type": "text",
1759
- "primaryKey": false,
1760
- "notNull": false
1761
- },
1762
- "handle": {
1763
- "name": "handle",
1764
- "type": "text",
1765
- "primaryKey": false,
1766
- "notNull": false
1767
- },
1768
- "email": {
1769
- "name": "email",
1770
- "type": "text",
1771
- "primaryKey": false,
1772
- "notNull": false
1773
- },
1774
- "avatar_url": {
1775
- "name": "avatar_url",
1776
- "type": "text",
1777
- "primaryKey": false,
1778
- "notNull": false
1779
- },
1780
- "metadata_json": {
1781
- "name": "metadata_json",
1782
- "type": "jsonb",
1783
- "primaryKey": false,
1784
- "notNull": false
1785
- },
1786
- "created_at": {
1787
- "name": "created_at",
1788
- "type": "timestamp with time zone",
1789
- "primaryKey": false,
1790
- "notNull": true
1791
- },
1792
- "updated_at": {
1793
- "name": "updated_at",
1794
- "type": "timestamp with time zone",
1795
- "primaryKey": false,
1796
- "notNull": true
1797
- },
1798
- "user_id": {
1799
- "name": "user_id",
1800
- "type": "text",
1801
- "primaryKey": false,
1802
- "notNull": false
1803
- },
1804
- "email_normalized": {
1805
- "name": "email_normalized",
1806
- "type": "text",
1807
- "primaryKey": false,
1808
- "notNull": false
1809
- },
1810
- "email_verified": {
1811
- "name": "email_verified",
1812
- "type": "boolean",
1813
- "primaryKey": false,
1814
- "notNull": true,
1815
- "default": false
1816
- }
1817
- },
1818
- "indexes": {
1819
- "junior_identities_provider_subject_uidx": {
1820
- "name": "junior_identities_provider_subject_uidx",
1821
- "columns": [
1822
- {
1823
- "expression": "provider",
1824
- "isExpression": false,
1825
- "asc": true,
1826
- "nulls": "last"
1827
- },
1828
- {
1829
- "expression": "provider_tenant_id",
1830
- "isExpression": false,
1831
- "asc": true,
1832
- "nulls": "last"
1833
- },
1834
- {
1835
- "expression": "provider_subject_id",
1836
- "isExpression": false,
1837
- "asc": true,
1838
- "nulls": "last"
1839
- }
1840
- ],
1841
- "isUnique": true,
1842
- "concurrently": false,
1843
- "method": "btree",
1844
- "with": {}
1845
- },
1846
- "junior_identities_user_idx": {
1847
- "name": "junior_identities_user_idx",
1848
- "columns": [
1849
- {
1850
- "expression": "user_id",
1851
- "isExpression": false,
1852
- "asc": true,
1853
- "nulls": "last"
1854
- }
1855
- ],
1856
- "isUnique": false,
1857
- "concurrently": false,
1858
- "method": "btree",
1859
- "with": {}
1860
- },
1861
- "junior_identities_verified_email_idx": {
1862
- "name": "junior_identities_verified_email_idx",
1863
- "columns": [
1864
- {
1865
- "expression": "email_normalized",
1866
- "isExpression": false,
1867
- "asc": true,
1868
- "nulls": "last"
1869
- }
1870
- ],
1871
- "isUnique": false,
1872
- "where": "\"junior_identities\".\"email_verified\" = true AND \"junior_identities\".\"email_normalized\" IS NOT NULL",
1873
- "concurrently": false,
1874
- "method": "btree",
1875
- "with": {}
1876
- },
1877
- "junior_identities_kind_provider_idx": {
1878
- "name": "junior_identities_kind_provider_idx",
1879
- "columns": [
1880
- {
1881
- "expression": "kind",
1882
- "isExpression": false,
1883
- "asc": true,
1884
- "nulls": "last"
1885
- },
1886
- {
1887
- "expression": "provider",
1888
- "isExpression": false,
1889
- "asc": true,
1890
- "nulls": "last"
1891
- }
1892
- ],
1893
- "isUnique": false,
1894
- "concurrently": false,
1895
- "method": "btree",
1896
- "with": {}
1897
- }
1898
- },
1899
- "foreignKeys": {
1900
- "junior_identities_user_id_junior_users_id_fk": {
1901
- "name": "junior_identities_user_id_junior_users_id_fk",
1902
- "tableFrom": "junior_identities",
1903
- "tableTo": "junior_users",
1904
- "columnsFrom": ["user_id"],
1905
- "columnsTo": ["id"],
1906
- "onDelete": "no action",
1907
- "onUpdate": "no action"
1908
- }
1909
- },
1910
- "compositePrimaryKeys": {},
1911
- "uniqueConstraints": {},
1912
- "policies": {},
1913
- "checkConstraints": {},
1914
- "isRLSEnabled": false
1915
- },
1916
- "public.junior_location_configurations": {
1917
- "name": "junior_location_configurations",
1918
- "schema": "",
1919
- "columns": {
1920
- "location_id": {
1921
- "name": "location_id",
1922
- "type": "text",
1923
- "primaryKey": false,
1924
- "notNull": true
1925
- },
1926
- "key": {
1927
- "name": "key",
1928
- "type": "text",
1929
- "primaryKey": false,
1930
- "notNull": true
1931
- },
1932
- "value": {
1933
- "name": "value",
1934
- "type": "text",
1935
- "primaryKey": false,
1936
- "notNull": true
1937
- },
1938
- "updated_at": {
1939
- "name": "updated_at",
1940
- "type": "timestamp with time zone",
1941
- "primaryKey": false,
1942
- "notNull": true
1943
- },
1944
- "updated_by": {
1945
- "name": "updated_by",
1946
- "type": "text",
1947
- "primaryKey": false,
1948
- "notNull": false
1949
- },
1950
- "source": {
1951
- "name": "source",
1952
- "type": "text",
1953
- "primaryKey": false,
1954
- "notNull": false
1955
- },
1956
- "expires_at": {
1957
- "name": "expires_at",
1958
- "type": "text",
1959
- "primaryKey": false,
1960
- "notNull": false
1961
- }
1962
- },
1963
- "indexes": {},
1964
- "foreignKeys": {
1965
- "junior_location_configurations_location_id_junior_destinations_id_fk": {
1966
- "name": "junior_location_configurations_location_id_junior_destinations_id_fk",
1967
- "tableFrom": "junior_location_configurations",
1968
- "tableTo": "junior_destinations",
1969
- "columnsFrom": ["location_id"],
1970
- "columnsTo": ["id"],
1971
- "onDelete": "cascade",
1972
- "onUpdate": "no action"
1973
- }
1974
- },
1975
- "compositePrimaryKeys": {
1976
- "junior_location_configurations_location_id_key_pk": {
1977
- "name": "junior_location_configurations_location_id_key_pk",
1978
- "columns": ["location_id", "key"]
1979
- }
1980
- },
1981
- "uniqueConstraints": {},
1982
- "policies": {},
1983
- "checkConstraints": {},
1984
- "isRLSEnabled": false
1985
- },
1986
- "public.junior_scheduler_runs": {
1987
- "name": "junior_scheduler_runs",
1988
- "schema": "",
1989
- "columns": {
1990
- "id": {
1991
- "name": "id",
1992
- "type": "text",
1993
- "primaryKey": true,
1994
- "notNull": true
1995
- },
1996
- "task_id": {
1997
- "name": "task_id",
1998
- "type": "text",
1999
- "primaryKey": false,
2000
- "notNull": true
2001
- },
2002
- "status": {
2003
- "name": "status",
2004
- "type": "text",
2005
- "primaryKey": false,
2006
- "notNull": true
2007
- },
2008
- "scheduled_for_ms": {
2009
- "name": "scheduled_for_ms",
2010
- "type": "bigint",
2011
- "primaryKey": false,
2012
- "notNull": true
2013
- },
2014
- "record": {
2015
- "name": "record",
2016
- "type": "jsonb",
2017
- "primaryKey": false,
2018
- "notNull": true
2019
- }
2020
- },
2021
- "indexes": {
2022
- "junior_scheduler_runs_task_status_idx": {
2023
- "name": "junior_scheduler_runs_task_status_idx",
2024
- "columns": [
2025
- {
2026
- "expression": "task_id",
2027
- "isExpression": false,
2028
- "asc": true,
2029
- "nulls": "last"
2030
- },
2031
- {
2032
- "expression": "status",
2033
- "isExpression": false,
2034
- "asc": true,
2035
- "nulls": "last"
2036
- },
2037
- {
2038
- "expression": "scheduled_for_ms",
2039
- "isExpression": false,
2040
- "asc": true,
2041
- "nulls": "last"
2042
- }
2043
- ],
2044
- "isUnique": false,
2045
- "concurrently": false,
2046
- "method": "btree",
2047
- "with": {}
2048
- },
2049
- "junior_scheduler_runs_status_idx": {
2050
- "name": "junior_scheduler_runs_status_idx",
2051
- "columns": [
2052
- {
2053
- "expression": "status",
2054
- "isExpression": false,
2055
- "asc": true,
2056
- "nulls": "last"
2057
- },
2058
- {
2059
- "expression": "scheduled_for_ms",
2060
- "isExpression": false,
2061
- "asc": true,
2062
- "nulls": "last"
2063
- }
2064
- ],
2065
- "isUnique": false,
2066
- "concurrently": false,
2067
- "method": "btree",
2068
- "with": {}
2069
- }
2070
- },
2071
- "foreignKeys": {},
2072
- "compositePrimaryKeys": {},
2073
- "uniqueConstraints": {},
2074
- "policies": {},
2075
- "checkConstraints": {},
2076
- "isRLSEnabled": false
2077
- },
2078
- "public.junior_scheduler_tasks": {
2079
- "name": "junior_scheduler_tasks",
2080
- "schema": "",
2081
- "columns": {
2082
- "id": {
2083
- "name": "id",
2084
- "type": "text",
2085
- "primaryKey": true,
2086
- "notNull": true
2087
- },
2088
- "team_id": {
2089
- "name": "team_id",
2090
- "type": "text",
2091
- "primaryKey": false,
2092
- "notNull": true
2093
- },
2094
- "creator_slack_user_id": {
2095
- "name": "creator_slack_user_id",
2096
- "type": "text",
2097
- "primaryKey": false,
2098
- "notNull": false
2099
- },
2100
- "creator_identity_id": {
2101
- "name": "creator_identity_id",
2102
- "type": "text",
2103
- "primaryKey": false,
2104
- "notNull": false
2105
- },
2106
- "status": {
2107
- "name": "status",
2108
- "type": "text",
2109
- "primaryKey": false,
2110
- "notNull": true
2111
- },
2112
- "next_run_at_ms": {
2113
- "name": "next_run_at_ms",
2114
- "type": "bigint",
2115
- "primaryKey": false,
2116
- "notNull": false
2117
- },
2118
- "run_now_at_ms": {
2119
- "name": "run_now_at_ms",
2120
- "type": "bigint",
2121
- "primaryKey": false,
2122
- "notNull": false
2123
- },
2124
- "created_at_ms": {
2125
- "name": "created_at_ms",
2126
- "type": "bigint",
2127
- "primaryKey": false,
2128
- "notNull": true
2129
- },
2130
- "title": {
2131
- "name": "title",
2132
- "type": "text",
2133
- "primaryKey": false,
2134
- "notNull": false
2135
- },
2136
- "record": {
2137
- "name": "record",
2138
- "type": "jsonb",
2139
- "primaryKey": false,
2140
- "notNull": true
2141
- }
2142
- },
2143
- "indexes": {
2144
- "junior_scheduler_tasks_creator_idx": {
2145
- "name": "junior_scheduler_tasks_creator_idx",
2146
- "columns": [
2147
- {
2148
- "expression": "team_id",
2149
- "isExpression": false,
2150
- "asc": true,
2151
- "nulls": "last"
2152
- },
2153
- {
2154
- "expression": "creator_slack_user_id",
2155
- "isExpression": false,
2156
- "asc": true,
2157
- "nulls": "last"
2158
- },
2159
- {
2160
- "expression": "created_at_ms",
2161
- "isExpression": false,
2162
- "asc": true,
2163
- "nulls": "last"
2164
- },
2165
- {
2166
- "expression": "id",
2167
- "isExpression": false,
2168
- "asc": true,
2169
- "nulls": "last"
2170
- }
2171
- ],
2172
- "isUnique": false,
2173
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted'",
2174
- "concurrently": false,
2175
- "method": "btree",
2176
- "with": {}
2177
- },
2178
- "junior_scheduler_tasks_creator_identity_idx": {
2179
- "name": "junior_scheduler_tasks_creator_identity_idx",
2180
- "columns": [
2181
- {
2182
- "expression": "creator_identity_id",
2183
- "isExpression": false,
2184
- "asc": true,
2185
- "nulls": "last"
2186
- },
2187
- {
2188
- "expression": "created_at_ms",
2189
- "isExpression": false,
2190
- "asc": true,
2191
- "nulls": "last"
2192
- },
2193
- {
2194
- "expression": "id",
2195
- "isExpression": false,
2196
- "asc": true,
2197
- "nulls": "last"
2198
- }
2199
- ],
2200
- "isUnique": false,
2201
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted' AND \"junior_scheduler_tasks\".\"creator_identity_id\" IS NOT NULL",
2202
- "concurrently": false,
2203
- "method": "btree",
2204
- "with": {}
2205
- },
2206
- "junior_scheduler_tasks_team_status_idx": {
2207
- "name": "junior_scheduler_tasks_team_status_idx",
2208
- "columns": [
2209
- {
2210
- "expression": "team_id",
2211
- "isExpression": false,
2212
- "asc": true,
2213
- "nulls": "last"
2214
- },
2215
- {
2216
- "expression": "created_at_ms",
2217
- "isExpression": false,
2218
- "asc": true,
2219
- "nulls": "last"
2220
- },
2221
- {
2222
- "expression": "id",
2223
- "isExpression": false,
2224
- "asc": true,
2225
- "nulls": "last"
2226
- }
2227
- ],
2228
- "isUnique": false,
2229
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted'",
2230
- "concurrently": false,
2231
- "method": "btree",
2232
- "with": {}
2233
- },
2234
- "junior_scheduler_tasks_run_now_due_idx": {
2235
- "name": "junior_scheduler_tasks_run_now_due_idx",
2236
- "columns": [
2237
- {
2238
- "expression": "run_now_at_ms",
2239
- "isExpression": false,
2240
- "asc": true,
2241
- "nulls": "last"
2242
- },
2243
- {
2244
- "expression": "created_at_ms",
2245
- "isExpression": false,
2246
- "asc": true,
2247
- "nulls": "last"
2248
- },
2249
- {
2250
- "expression": "id",
2251
- "isExpression": false,
2252
- "asc": true,
2253
- "nulls": "last"
2254
- }
2255
- ],
2256
- "isUnique": false,
2257
- "where": "\"junior_scheduler_tasks\".\"status\" = 'active' AND \"junior_scheduler_tasks\".\"run_now_at_ms\" IS NOT NULL",
2258
- "concurrently": false,
2259
- "method": "btree",
2260
- "with": {}
2261
- },
2262
- "junior_scheduler_tasks_next_run_due_idx": {
2263
- "name": "junior_scheduler_tasks_next_run_due_idx",
2264
- "columns": [
2265
- {
2266
- "expression": "next_run_at_ms",
2267
- "isExpression": false,
2268
- "asc": true,
2269
- "nulls": "last"
2270
- },
2271
- {
2272
- "expression": "created_at_ms",
2273
- "isExpression": false,
2274
- "asc": true,
2275
- "nulls": "last"
2276
- },
2277
- {
2278
- "expression": "id",
2279
- "isExpression": false,
2280
- "asc": true,
2281
- "nulls": "last"
2282
- }
2283
- ],
2284
- "isUnique": false,
2285
- "where": "\"junior_scheduler_tasks\".\"status\" = 'active' AND \"junior_scheduler_tasks\".\"next_run_at_ms\" IS NOT NULL",
2286
- "concurrently": false,
2287
- "method": "btree",
2288
- "with": {}
2289
- }
2290
- },
2291
- "foreignKeys": {},
2292
- "compositePrimaryKeys": {},
2293
- "uniqueConstraints": {},
2294
- "policies": {},
2295
- "checkConstraints": {},
2296
- "isRLSEnabled": false
2297
- },
2298
- "public.junior_snapshots": {
2299
- "name": "junior_snapshots",
2300
- "schema": "",
2301
- "columns": {
2302
- "id": {
2303
- "name": "id",
2304
- "type": "text",
2305
- "primaryKey": true,
2306
- "notNull": true
2307
- },
2308
- "workspace_id": {
2309
- "name": "workspace_id",
2310
- "type": "text",
2311
- "primaryKey": false,
2312
- "notNull": true
2313
- },
2314
- "profile_hash": {
2315
- "name": "profile_hash",
2316
- "type": "text",
2317
- "primaryKey": false,
2318
- "notNull": true
2319
- },
2320
- "status": {
2321
- "name": "status",
2322
- "type": "text",
2323
- "primaryKey": false,
2324
- "notNull": true
2325
- },
2326
- "snapshot_id": {
2327
- "name": "snapshot_id",
2328
- "type": "text",
2329
- "primaryKey": false,
2330
- "notNull": false
2331
- },
2332
- "build_duration_ms": {
2333
- "name": "build_duration_ms",
2334
- "type": "integer",
2335
- "primaryKey": false,
2336
- "notNull": false
2337
- },
2338
- "generated_at": {
2339
- "name": "generated_at",
2340
- "type": "timestamp with time zone",
2341
- "primaryKey": false,
2342
- "notNull": false
2343
- },
2344
- "build_started_at": {
2345
- "name": "build_started_at",
2346
- "type": "timestamp with time zone",
2347
- "primaryKey": false,
2348
- "notNull": false
2349
- },
2350
- "build_phase": {
2351
- "name": "build_phase",
2352
- "type": "text",
2353
- "primaryKey": false,
2354
- "notNull": false
2355
- },
2356
- "build_sandbox_name": {
2357
- "name": "build_sandbox_name",
2358
- "type": "text",
2359
- "primaryKey": false,
2360
- "notNull": false
2361
- },
2362
- "build_command_id": {
2363
- "name": "build_command_id",
2364
- "type": "text",
2365
- "primaryKey": false,
2366
- "notNull": false
2367
- },
2368
- "build_error": {
2369
- "name": "build_error",
2370
- "type": "text",
2371
- "primaryKey": false,
2372
- "notNull": false
2373
- },
2374
- "created_at": {
2375
- "name": "created_at",
2376
- "type": "timestamp with time zone",
2377
- "primaryKey": false,
2378
- "notNull": true
2379
- },
2380
- "updated_at": {
2381
- "name": "updated_at",
2382
- "type": "timestamp with time zone",
2383
- "primaryKey": false,
2384
- "notNull": true
2385
- }
2386
- },
2387
- "indexes": {
2388
- "junior_snapshots_snapshot_id_uidx": {
2389
- "name": "junior_snapshots_snapshot_id_uidx",
2390
- "columns": [
2391
- {
2392
- "expression": "snapshot_id",
2393
- "isExpression": false,
2394
- "asc": true,
2395
- "nulls": "last"
2396
- }
2397
- ],
2398
- "isUnique": true,
2399
- "concurrently": false,
2400
- "method": "btree",
2401
- "with": {}
2402
- },
2403
- "junior_snapshots_workspace_idx": {
2404
- "name": "junior_snapshots_workspace_idx",
2405
- "columns": [
2406
- {
2407
- "expression": "workspace_id",
2408
- "isExpression": false,
2409
- "asc": true,
2410
- "nulls": "last"
2411
- }
2412
- ],
2413
- "isUnique": false,
2414
- "concurrently": false,
2415
- "method": "btree",
2416
- "with": {}
2417
- },
2418
- "junior_snapshots_workspace_profile_status_idx": {
2419
- "name": "junior_snapshots_workspace_profile_status_idx",
2420
- "columns": [
2421
- {
2422
- "expression": "workspace_id",
2423
- "isExpression": false,
2424
- "asc": true,
2425
- "nulls": "last"
2426
- },
2427
- {
2428
- "expression": "profile_hash",
2429
- "isExpression": false,
2430
- "asc": true,
2431
- "nulls": "last"
2432
- },
2433
- {
2434
- "expression": "status",
2435
- "isExpression": false,
2436
- "asc": true,
2437
- "nulls": "last"
2438
- }
2439
- ],
2440
- "isUnique": false,
2441
- "concurrently": false,
2442
- "method": "btree",
2443
- "with": {}
2444
- },
2445
- "junior_snapshots_active_build_uidx": {
2446
- "name": "junior_snapshots_active_build_uidx",
2447
- "columns": [
2448
- {
2449
- "expression": "workspace_id",
2450
- "isExpression": false,
2451
- "asc": true,
2452
- "nulls": "last"
2453
- },
2454
- {
2455
- "expression": "profile_hash",
2456
- "isExpression": false,
2457
- "asc": true,
2458
- "nulls": "last"
2459
- }
2460
- ],
2461
- "isUnique": true,
2462
- "where": "\"junior_snapshots\".\"status\" = 'building'",
2463
- "concurrently": false,
2464
- "method": "btree",
2465
- "with": {}
2466
- },
2467
- "junior_snapshots_workspace_status_idx": {
2468
- "name": "junior_snapshots_workspace_status_idx",
2469
- "columns": [
2470
- {
2471
- "expression": "workspace_id",
2472
- "isExpression": false,
2473
- "asc": true,
2474
- "nulls": "last"
2475
- },
2476
- {
2477
- "expression": "status",
2478
- "isExpression": false,
2479
- "asc": true,
2480
- "nulls": "last"
2481
- }
2482
- ],
2483
- "isUnique": false,
2484
- "concurrently": false,
2485
- "method": "btree",
2486
- "with": {}
2487
- }
2488
- },
2489
- "foreignKeys": {
2490
- "junior_snapshots_workspace_id_junior_workspaces_id_fk": {
2491
- "name": "junior_snapshots_workspace_id_junior_workspaces_id_fk",
2492
- "tableFrom": "junior_snapshots",
2493
- "tableTo": "junior_workspaces",
2494
- "columnsFrom": ["workspace_id"],
2495
- "columnsTo": ["id"],
2496
- "onDelete": "cascade",
2497
- "onUpdate": "no action"
2498
- }
2499
- },
2500
- "compositePrimaryKeys": {},
2501
- "uniqueConstraints": {},
2502
- "policies": {},
2503
- "checkConstraints": {
2504
- "junior_snapshots_status_check": {
2505
- "name": "junior_snapshots_status_check",
2506
- "value": "\"junior_snapshots\".\"status\" in ('building', 'failed', 'ready')"
2507
- },
2508
- "junior_snapshots_build_phase_check": {
2509
- "name": "junior_snapshots_build_phase_check",
2510
- "value": "\"junior_snapshots\".\"build_phase\" is null or \"junior_snapshots\".\"build_phase\" in ('created', 'dependencies_installed', 'repositories_prepared')"
2511
- },
2512
- "junior_snapshots_ready_fields_check": {
2513
- "name": "junior_snapshots_ready_fields_check",
2514
- "value": "\"junior_snapshots\".\"status\" <> 'ready' or (\"junior_snapshots\".\"snapshot_id\" is not null and \"junior_snapshots\".\"build_duration_ms\" is not null and \"junior_snapshots\".\"generated_at\" is not null)"
2515
- },
2516
- "junior_snapshots_build_fields_check": {
2517
- "name": "junior_snapshots_build_fields_check",
2518
- "value": "\"junior_snapshots\".\"status\" = 'ready' or (\"junior_snapshots\".\"build_started_at\" is not null and \"junior_snapshots\".\"build_phase\" is not null)"
2519
- },
2520
- "junior_snapshots_build_duration_check": {
2521
- "name": "junior_snapshots_build_duration_check",
2522
- "value": "\"junior_snapshots\".\"build_duration_ms\" is null or \"junior_snapshots\".\"build_duration_ms\" >= 0"
2523
- }
2524
- },
2525
- "isRLSEnabled": false
2526
- },
2527
- "public.junior_stats": {
2528
- "name": "junior_stats",
2529
- "schema": "",
2530
- "columns": {
2531
- "date": {
2532
- "name": "date",
2533
- "type": "date",
2534
- "primaryKey": false,
2535
- "notNull": true
2536
- },
2537
- "namespace": {
2538
- "name": "namespace",
2539
- "type": "text",
2540
- "primaryKey": false,
2541
- "notNull": true
2542
- },
2543
- "metric": {
2544
- "name": "metric",
2545
- "type": "text",
2546
- "primaryKey": false,
2547
- "notNull": true
2548
- },
2549
- "name": {
2550
- "name": "name",
2551
- "type": "text",
2552
- "primaryKey": false,
2553
- "notNull": true
2554
- },
2555
- "count": {
2556
- "name": "count",
2557
- "type": "integer",
2558
- "primaryKey": false,
2559
- "notNull": true,
2560
- "default": 0
2561
- }
2562
- },
2563
- "indexes": {},
2564
- "foreignKeys": {},
2565
- "compositePrimaryKeys": {
2566
- "junior_stats_date_namespace_metric_name_pk": {
2567
- "name": "junior_stats_date_namespace_metric_name_pk",
2568
- "columns": ["date", "namespace", "metric", "name"]
2569
- }
2570
- },
2571
- "uniqueConstraints": {},
2572
- "policies": {},
2573
- "checkConstraints": {},
2574
- "isRLSEnabled": false
2575
- },
2576
- "public.junior_task_executions": {
2577
- "name": "junior_task_executions",
2578
- "schema": "",
2579
- "columns": {
2580
- "execution_id": {
2581
- "name": "execution_id",
2582
- "type": "text",
2583
- "primaryKey": false,
2584
- "notNull": true
2585
- },
2586
- "kind": {
2587
- "name": "kind",
2588
- "type": "text",
2589
- "primaryKey": false,
2590
- "notNull": true
2591
- },
2592
- "namespace": {
2593
- "name": "namespace",
2594
- "type": "text",
2595
- "primaryKey": false,
2596
- "notNull": true
2597
- },
2598
- "task_id": {
2599
- "name": "task_id",
2600
- "type": "text",
2601
- "primaryKey": false,
2602
- "notNull": true
2603
- },
2604
- "conversation_id": {
2605
- "name": "conversation_id",
2606
- "type": "text",
2607
- "primaryKey": false,
2608
- "notNull": false
2609
- },
2610
- "executed_at_ms": {
2611
- "name": "executed_at_ms",
2612
- "type": "bigint",
2613
- "primaryKey": false,
2614
- "notNull": true
2615
- },
2616
- "status": {
2617
- "name": "status",
2618
- "type": "text",
2619
- "primaryKey": false,
2620
- "notNull": true
2621
- }
2622
- },
2623
- "indexes": {
2624
- "junior_task_executions_task_time_idx": {
2625
- "name": "junior_task_executions_task_time_idx",
2626
- "columns": [
2627
- {
2628
- "expression": "kind",
2629
- "isExpression": false,
2630
- "asc": true,
2631
- "nulls": "last"
2632
- },
2633
- {
2634
- "expression": "namespace",
2635
- "isExpression": false,
2636
- "asc": true,
2637
- "nulls": "last"
2638
- },
2639
- {
2640
- "expression": "task_id",
2641
- "isExpression": false,
2642
- "asc": true,
2643
- "nulls": "last"
2644
- },
2645
- {
2646
- "expression": "executed_at_ms",
2647
- "isExpression": false,
2648
- "asc": true,
2649
- "nulls": "last"
2650
- }
2651
- ],
2652
- "isUnique": false,
2653
- "concurrently": false,
2654
- "method": "btree",
2655
- "with": {}
2656
- },
2657
- "junior_task_executions_time_kind_idx": {
2658
- "name": "junior_task_executions_time_kind_idx",
2659
- "columns": [
2660
- {
2661
- "expression": "executed_at_ms",
2662
- "isExpression": false,
2663
- "asc": true,
2664
- "nulls": "last"
2665
- },
2666
- {
2667
- "expression": "kind",
2668
- "isExpression": false,
2669
- "asc": true,
2670
- "nulls": "last"
2671
- }
2672
- ],
2673
- "isUnique": false,
2674
- "concurrently": false,
2675
- "method": "btree",
2676
- "with": {}
2677
- },
2678
- "junior_task_executions_conversation_time_idx": {
2679
- "name": "junior_task_executions_conversation_time_idx",
2680
- "columns": [
2681
- {
2682
- "expression": "conversation_id",
2683
- "isExpression": false,
2684
- "asc": true,
2685
- "nulls": "last"
2686
- },
2687
- {
2688
- "expression": "executed_at_ms",
2689
- "isExpression": false,
2690
- "asc": true,
2691
- "nulls": "last"
2692
- }
2693
- ],
2694
- "isUnique": false,
2695
- "concurrently": false,
2696
- "method": "btree",
2697
- "with": {}
2698
- }
2699
- },
2700
- "foreignKeys": {
2701
- "junior_task_executions_conversation_id_junior_conversations_conversation_id_fk": {
2702
- "name": "junior_task_executions_conversation_id_junior_conversations_conversation_id_fk",
2703
- "tableFrom": "junior_task_executions",
2704
- "tableTo": "junior_conversations",
2705
- "columnsFrom": ["conversation_id"],
2706
- "columnsTo": ["conversation_id"],
2707
- "onDelete": "no action",
2708
- "onUpdate": "no action"
2709
- }
2710
- },
2711
- "compositePrimaryKeys": {
2712
- "junior_task_executions_kind_namespace_execution_id_pk": {
2713
- "name": "junior_task_executions_kind_namespace_execution_id_pk",
2714
- "columns": ["kind", "namespace", "execution_id"]
2715
- }
2716
- },
2717
- "uniqueConstraints": {},
2718
- "policies": {},
2719
- "checkConstraints": {
2720
- "junior_task_executions_kind_check": {
2721
- "name": "junior_task_executions_kind_check",
2722
- "value": "\"junior_task_executions\".\"kind\" in ('scheduled', 'event')"
2723
- },
2724
- "junior_task_executions_status_check": {
2725
- "name": "junior_task_executions_status_check",
2726
- "value": "\"junior_task_executions\".\"status\" in ('blocked', 'completed', 'failed')"
2727
- }
2728
- },
2729
- "isRLSEnabled": false
2730
- },
2731
- "public.junior_users": {
2732
- "name": "junior_users",
2733
- "schema": "",
2734
- "columns": {
2735
- "id": {
2736
- "name": "id",
2737
- "type": "text",
2738
- "primaryKey": true,
2739
- "notNull": true
2740
- },
2741
- "primary_email": {
2742
- "name": "primary_email",
2743
- "type": "text",
2744
- "primaryKey": false,
2745
- "notNull": true
2746
- },
2747
- "primary_email_normalized": {
2748
- "name": "primary_email_normalized",
2749
- "type": "text",
2750
- "primaryKey": false,
2751
- "notNull": true
2752
- },
2753
- "display_name": {
2754
- "name": "display_name",
2755
- "type": "text",
2756
- "primaryKey": false,
2757
- "notNull": false
2758
- },
2759
- "created_at": {
2760
- "name": "created_at",
2761
- "type": "timestamp with time zone",
2762
- "primaryKey": false,
2763
- "notNull": true
2764
- },
2765
- "updated_at": {
2766
- "name": "updated_at",
2767
- "type": "timestamp with time zone",
2768
- "primaryKey": false,
2769
- "notNull": true
2770
- }
2771
- },
2772
- "indexes": {
2773
- "junior_users_primary_email_normalized_uidx": {
2774
- "name": "junior_users_primary_email_normalized_uidx",
2775
- "columns": [
2776
- {
2777
- "expression": "primary_email_normalized",
2778
- "isExpression": false,
2779
- "asc": true,
2780
- "nulls": "last"
2781
- }
2782
- ],
2783
- "isUnique": true,
2784
- "concurrently": false,
2785
- "method": "btree",
2786
- "with": {}
2787
- }
2788
- },
2789
- "foreignKeys": {},
2790
- "compositePrimaryKeys": {},
2791
- "uniqueConstraints": {},
2792
- "policies": {},
2793
- "checkConstraints": {},
2794
- "isRLSEnabled": false
2795
- },
2796
- "public.junior_workspace_repos": {
2797
- "name": "junior_workspace_repos",
2798
- "schema": "",
2799
- "columns": {
2800
- "workspace_id": {
2801
- "name": "workspace_id",
2802
- "type": "text",
2803
- "primaryKey": false,
2804
- "notNull": true
2805
- },
2806
- "provider": {
2807
- "name": "provider",
2808
- "type": "text",
2809
- "primaryKey": false,
2810
- "notNull": true
2811
- },
2812
- "repo": {
2813
- "name": "repo",
2814
- "type": "text",
2815
- "primaryKey": false,
2816
- "notNull": true
2817
- }
2818
- },
2819
- "indexes": {},
2820
- "foreignKeys": {
2821
- "junior_workspace_repos_workspace_id_junior_workspaces_id_fk": {
2822
- "name": "junior_workspace_repos_workspace_id_junior_workspaces_id_fk",
2823
- "tableFrom": "junior_workspace_repos",
2824
- "tableTo": "junior_workspaces",
2825
- "columnsFrom": ["workspace_id"],
2826
- "columnsTo": ["id"],
2827
- "onDelete": "cascade",
2828
- "onUpdate": "no action"
2829
- }
2830
- },
2831
- "compositePrimaryKeys": {
2832
- "junior_workspace_repos_workspace_id_provider_repo_pk": {
2833
- "name": "junior_workspace_repos_workspace_id_provider_repo_pk",
2834
- "columns": ["workspace_id", "provider", "repo"]
2835
- }
2836
- },
2837
- "uniqueConstraints": {},
2838
- "policies": {},
2839
- "checkConstraints": {},
2840
- "isRLSEnabled": false
2841
- },
2842
- "public.junior_workspaces": {
2843
- "name": "junior_workspaces",
2844
- "schema": "",
2845
- "columns": {
2846
- "id": {
2847
- "name": "id",
2848
- "type": "text",
2849
- "primaryKey": true,
2850
- "notNull": true
2851
- },
2852
- "name": {
2853
- "name": "name",
2854
- "type": "text",
2855
- "primaryKey": false,
2856
- "notNull": true
2857
- },
2858
- "setup_script": {
2859
- "name": "setup_script",
2860
- "type": "text",
2861
- "primaryKey": false,
2862
- "notNull": true,
2863
- "default": "''"
2864
- },
2865
- "created_at": {
2866
- "name": "created_at",
2867
- "type": "timestamp with time zone",
2868
- "primaryKey": false,
2869
- "notNull": true
2870
- },
2871
- "updated_at": {
2872
- "name": "updated_at",
2873
- "type": "timestamp with time zone",
2874
- "primaryKey": false,
2875
- "notNull": true
2876
- }
2877
- },
2878
- "indexes": {
2879
- "junior_workspaces_name_idx": {
2880
- "name": "junior_workspaces_name_idx",
2881
- "columns": [
2882
- {
2883
- "expression": "name",
2884
- "isExpression": false,
2885
- "asc": true,
2886
- "nulls": "last"
2887
- }
2888
- ],
2889
- "isUnique": true,
2890
- "concurrently": false,
2891
- "method": "btree",
2892
- "with": {}
2893
- }
2894
- },
2895
- "foreignKeys": {},
2896
- "compositePrimaryKeys": {},
2897
- "uniqueConstraints": {},
2898
- "policies": {},
2899
- "checkConstraints": {},
2900
- "isRLSEnabled": false
2901
- }
2902
- },
2903
- "enums": {},
2904
- "schemas": {},
2905
- "sequences": {},
2906
- "roles": {},
2907
- "policies": {},
2908
- "views": {},
2909
- "_meta": {
2910
- "columns": {},
2911
- "schemas": {},
2912
- "tables": {}
2913
- }
2914
- }