@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,3777 +0,0 @@
1
- {
2
- "id": "038a9228-d00e-4ad2-8253-91d80403c025",
3
- "prevId": "3d6877e2-1f0c-4895-895b-c91bc542ac11",
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": [
53
- "parent_conversation_id"
54
- ],
55
- "columnsTo": [
56
- "conversation_id"
57
- ],
58
- "onDelete": "no action",
59
- "onUpdate": "no action"
60
- },
61
- "junior_agent_bindings_child_conversation_id_junior_conversations_conversation_id_fk": {
62
- "name": "junior_agent_bindings_child_conversation_id_junior_conversations_conversation_id_fk",
63
- "tableFrom": "junior_agent_bindings",
64
- "tableTo": "junior_conversations",
65
- "columnsFrom": [
66
- "child_conversation_id"
67
- ],
68
- "columnsTo": [
69
- "conversation_id"
70
- ],
71
- "onDelete": "no action",
72
- "onUpdate": "no action"
73
- }
74
- },
75
- "compositePrimaryKeys": {
76
- "junior_agent_bindings_parent_conversation_id_name_pk": {
77
- "name": "junior_agent_bindings_parent_conversation_id_name_pk",
78
- "columns": [
79
- "parent_conversation_id",
80
- "name"
81
- ]
82
- }
83
- },
84
- "uniqueConstraints": {},
85
- "policies": {},
86
- "checkConstraints": {},
87
- "isRLSEnabled": false
88
- },
89
- "public.junior_agent_invocations": {
90
- "name": "junior_agent_invocations",
91
- "schema": "",
92
- "columns": {
93
- "invocation_id": {
94
- "name": "invocation_id",
95
- "type": "text",
96
- "primaryKey": true,
97
- "notNull": true
98
- },
99
- "parent_conversation_id": {
100
- "name": "parent_conversation_id",
101
- "type": "text",
102
- "primaryKey": false,
103
- "notNull": true
104
- },
105
- "child_conversation_id": {
106
- "name": "child_conversation_id",
107
- "type": "text",
108
- "primaryKey": false,
109
- "notNull": true
110
- },
111
- "agent_name": {
112
- "name": "agent_name",
113
- "type": "text",
114
- "primaryKey": false,
115
- "notNull": false
116
- },
117
- "input": {
118
- "name": "input",
119
- "type": "text",
120
- "primaryKey": false,
121
- "notNull": true
122
- },
123
- "title": {
124
- "name": "title",
125
- "type": "text",
126
- "primaryKey": false,
127
- "notNull": false
128
- },
129
- "actor_json": {
130
- "name": "actor_json",
131
- "type": "jsonb",
132
- "primaryKey": false,
133
- "notNull": true
134
- },
135
- "credential_context_json": {
136
- "name": "credential_context_json",
137
- "type": "jsonb",
138
- "primaryKey": false,
139
- "notNull": false
140
- },
141
- "source_json": {
142
- "name": "source_json",
143
- "type": "jsonb",
144
- "primaryKey": false,
145
- "notNull": true
146
- },
147
- "destination_json": {
148
- "name": "destination_json",
149
- "type": "jsonb",
150
- "primaryKey": false,
151
- "notNull": true
152
- },
153
- "destination_visibility": {
154
- "name": "destination_visibility",
155
- "type": "text",
156
- "primaryKey": false,
157
- "notNull": false
158
- },
159
- "model_profile": {
160
- "name": "model_profile",
161
- "type": "text",
162
- "primaryKey": false,
163
- "notNull": false
164
- },
165
- "reasoning_level": {
166
- "name": "reasoning_level",
167
- "type": "text",
168
- "primaryKey": false,
169
- "notNull": false
170
- },
171
- "parent_tool_call_id": {
172
- "name": "parent_tool_call_id",
173
- "type": "text",
174
- "primaryKey": false,
175
- "notNull": false
176
- },
177
- "status": {
178
- "name": "status",
179
- "type": "text",
180
- "primaryKey": false,
181
- "notNull": true
182
- },
183
- "mailbox_status": {
184
- "name": "mailbox_status",
185
- "type": "text",
186
- "primaryKey": false,
187
- "notNull": true
188
- },
189
- "parent_mailbox_status": {
190
- "name": "parent_mailbox_status",
191
- "type": "text",
192
- "primaryKey": false,
193
- "notNull": false
194
- },
195
- "result": {
196
- "name": "result",
197
- "type": "text",
198
- "primaryKey": false,
199
- "notNull": false
200
- },
201
- "error_message": {
202
- "name": "error_message",
203
- "type": "text",
204
- "primaryKey": false,
205
- "notNull": false
206
- },
207
- "created_at": {
208
- "name": "created_at",
209
- "type": "timestamp with time zone",
210
- "primaryKey": false,
211
- "notNull": true
212
- },
213
- "updated_at": {
214
- "name": "updated_at",
215
- "type": "timestamp with time zone",
216
- "primaryKey": false,
217
- "notNull": true
218
- },
219
- "terminal_at": {
220
- "name": "terminal_at",
221
- "type": "timestamp with time zone",
222
- "primaryKey": false,
223
- "notNull": false
224
- }
225
- },
226
- "indexes": {
227
- "junior_agent_invocations_child_idx": {
228
- "name": "junior_agent_invocations_child_idx",
229
- "columns": [
230
- {
231
- "expression": "child_conversation_id",
232
- "isExpression": false,
233
- "asc": true,
234
- "nulls": "last"
235
- }
236
- ],
237
- "isUnique": false,
238
- "concurrently": false,
239
- "method": "btree",
240
- "with": {}
241
- },
242
- "junior_agent_invocations_mailbox_idx": {
243
- "name": "junior_agent_invocations_mailbox_idx",
244
- "columns": [
245
- {
246
- "expression": "mailbox_status",
247
- "isExpression": false,
248
- "asc": true,
249
- "nulls": "last"
250
- },
251
- {
252
- "expression": "created_at",
253
- "isExpression": false,
254
- "asc": true,
255
- "nulls": "last"
256
- }
257
- ],
258
- "isUnique": false,
259
- "concurrently": false,
260
- "method": "btree",
261
- "with": {}
262
- },
263
- "junior_agent_invocations_parent_mailbox_idx": {
264
- "name": "junior_agent_invocations_parent_mailbox_idx",
265
- "columns": [
266
- {
267
- "expression": "parent_mailbox_status",
268
- "isExpression": false,
269
- "asc": true,
270
- "nulls": "last"
271
- },
272
- {
273
- "expression": "terminal_at",
274
- "isExpression": false,
275
- "asc": true,
276
- "nulls": "last"
277
- }
278
- ],
279
- "isUnique": false,
280
- "concurrently": false,
281
- "method": "btree",
282
- "with": {}
283
- }
284
- },
285
- "foreignKeys": {
286
- "junior_agent_invocations_parent_conversation_id_junior_conversations_conversation_id_fk": {
287
- "name": "junior_agent_invocations_parent_conversation_id_junior_conversations_conversation_id_fk",
288
- "tableFrom": "junior_agent_invocations",
289
- "tableTo": "junior_conversations",
290
- "columnsFrom": [
291
- "parent_conversation_id"
292
- ],
293
- "columnsTo": [
294
- "conversation_id"
295
- ],
296
- "onDelete": "no action",
297
- "onUpdate": "no action"
298
- },
299
- "junior_agent_invocations_child_conversation_id_junior_conversations_conversation_id_fk": {
300
- "name": "junior_agent_invocations_child_conversation_id_junior_conversations_conversation_id_fk",
301
- "tableFrom": "junior_agent_invocations",
302
- "tableTo": "junior_conversations",
303
- "columnsFrom": [
304
- "child_conversation_id"
305
- ],
306
- "columnsTo": [
307
- "conversation_id"
308
- ],
309
- "onDelete": "no action",
310
- "onUpdate": "no action"
311
- }
312
- },
313
- "compositePrimaryKeys": {},
314
- "uniqueConstraints": {},
315
- "policies": {},
316
- "checkConstraints": {},
317
- "isRLSEnabled": false
318
- },
319
- "public.junior_api_tokens": {
320
- "name": "junior_api_tokens",
321
- "schema": "",
322
- "columns": {
323
- "id": {
324
- "name": "id",
325
- "type": "text",
326
- "primaryKey": true,
327
- "notNull": true
328
- },
329
- "owner_email_normalized": {
330
- "name": "owner_email_normalized",
331
- "type": "text",
332
- "primaryKey": false,
333
- "notNull": true
334
- },
335
- "name": {
336
- "name": "name",
337
- "type": "text",
338
- "primaryKey": false,
339
- "notNull": true
340
- },
341
- "token_hash": {
342
- "name": "token_hash",
343
- "type": "text",
344
- "primaryKey": false,
345
- "notNull": true
346
- },
347
- "token_suffix": {
348
- "name": "token_suffix",
349
- "type": "text",
350
- "primaryKey": false,
351
- "notNull": true
352
- },
353
- "created_at": {
354
- "name": "created_at",
355
- "type": "timestamp with time zone",
356
- "primaryKey": false,
357
- "notNull": true
358
- },
359
- "expires_at": {
360
- "name": "expires_at",
361
- "type": "timestamp with time zone",
362
- "primaryKey": false,
363
- "notNull": true
364
- },
365
- "last_used_at": {
366
- "name": "last_used_at",
367
- "type": "timestamp with time zone",
368
- "primaryKey": false,
369
- "notNull": false
370
- },
371
- "revoked_at": {
372
- "name": "revoked_at",
373
- "type": "timestamp with time zone",
374
- "primaryKey": false,
375
- "notNull": false
376
- }
377
- },
378
- "indexes": {
379
- "junior_api_tokens_token_hash_uidx": {
380
- "name": "junior_api_tokens_token_hash_uidx",
381
- "columns": [
382
- {
383
- "expression": "token_hash",
384
- "isExpression": false,
385
- "asc": true,
386
- "nulls": "last"
387
- }
388
- ],
389
- "isUnique": true,
390
- "concurrently": false,
391
- "method": "btree",
392
- "with": {}
393
- },
394
- "junior_api_tokens_owner_email_idx": {
395
- "name": "junior_api_tokens_owner_email_idx",
396
- "columns": [
397
- {
398
- "expression": "owner_email_normalized",
399
- "isExpression": false,
400
- "asc": true,
401
- "nulls": "last"
402
- }
403
- ],
404
- "isUnique": false,
405
- "concurrently": false,
406
- "method": "btree",
407
- "with": {}
408
- }
409
- },
410
- "foreignKeys": {},
411
- "compositePrimaryKeys": {},
412
- "uniqueConstraints": {},
413
- "policies": {},
414
- "checkConstraints": {},
415
- "isRLSEnabled": false
416
- },
417
- "public.junior_artifacts": {
418
- "name": "junior_artifacts",
419
- "schema": "",
420
- "columns": {
421
- "id": {
422
- "name": "id",
423
- "type": "text",
424
- "primaryKey": true,
425
- "notNull": true
426
- },
427
- "conversation_id": {
428
- "name": "conversation_id",
429
- "type": "text",
430
- "primaryKey": false,
431
- "notNull": true
432
- },
433
- "sha256": {
434
- "name": "sha256",
435
- "type": "text",
436
- "primaryKey": false,
437
- "notNull": true
438
- },
439
- "ext": {
440
- "name": "ext",
441
- "type": "text",
442
- "primaryKey": false,
443
- "notNull": true
444
- },
445
- "storage_key": {
446
- "name": "storage_key",
447
- "type": "text",
448
- "primaryKey": false,
449
- "notNull": true
450
- },
451
- "content_type": {
452
- "name": "content_type",
453
- "type": "text",
454
- "primaryKey": false,
455
- "notNull": true
456
- },
457
- "bytes": {
458
- "name": "bytes",
459
- "type": "integer",
460
- "primaryKey": false,
461
- "notNull": true
462
- },
463
- "public": {
464
- "name": "public",
465
- "type": "boolean",
466
- "primaryKey": false,
467
- "notNull": true
468
- },
469
- "created_at": {
470
- "name": "created_at",
471
- "type": "timestamp with time zone",
472
- "primaryKey": false,
473
- "notNull": true
474
- },
475
- "delete_requested_at": {
476
- "name": "delete_requested_at",
477
- "type": "timestamp with time zone",
478
- "primaryKey": false,
479
- "notNull": false
480
- }
481
- },
482
- "indexes": {
483
- "junior_artifacts_conversation_sha_uidx": {
484
- "name": "junior_artifacts_conversation_sha_uidx",
485
- "columns": [
486
- {
487
- "expression": "conversation_id",
488
- "isExpression": false,
489
- "asc": true,
490
- "nulls": "last"
491
- },
492
- {
493
- "expression": "sha256",
494
- "isExpression": false,
495
- "asc": true,
496
- "nulls": "last"
497
- }
498
- ],
499
- "isUnique": true,
500
- "concurrently": false,
501
- "method": "btree",
502
- "with": {}
503
- },
504
- "junior_artifacts_gc_idx": {
505
- "name": "junior_artifacts_gc_idx",
506
- "columns": [
507
- {
508
- "expression": "delete_requested_at",
509
- "isExpression": false,
510
- "asc": true,
511
- "nulls": "last"
512
- },
513
- {
514
- "expression": "created_at",
515
- "isExpression": false,
516
- "asc": true,
517
- "nulls": "last"
518
- }
519
- ],
520
- "isUnique": false,
521
- "concurrently": false,
522
- "method": "btree",
523
- "with": {}
524
- },
525
- "junior_artifacts_conversation_idx": {
526
- "name": "junior_artifacts_conversation_idx",
527
- "columns": [
528
- {
529
- "expression": "conversation_id",
530
- "isExpression": false,
531
- "asc": true,
532
- "nulls": "last"
533
- }
534
- ],
535
- "isUnique": false,
536
- "concurrently": false,
537
- "method": "btree",
538
- "with": {}
539
- }
540
- },
541
- "foreignKeys": {},
542
- "compositePrimaryKeys": {},
543
- "uniqueConstraints": {},
544
- "policies": {},
545
- "checkConstraints": {},
546
- "isRLSEnabled": false
547
- },
548
- "public.junior_attachments": {
549
- "name": "junior_attachments",
550
- "schema": "",
551
- "columns": {
552
- "id": {
553
- "name": "id",
554
- "type": "text",
555
- "primaryKey": true,
556
- "notNull": true
557
- },
558
- "conversation_id": {
559
- "name": "conversation_id",
560
- "type": "text",
561
- "primaryKey": false,
562
- "notNull": true
563
- },
564
- "storage_provider": {
565
- "name": "storage_provider",
566
- "type": "text",
567
- "primaryKey": false,
568
- "notNull": true
569
- },
570
- "storage_key": {
571
- "name": "storage_key",
572
- "type": "text",
573
- "primaryKey": false,
574
- "notNull": true
575
- },
576
- "provider": {
577
- "name": "provider",
578
- "type": "text",
579
- "primaryKey": false,
580
- "notNull": false
581
- },
582
- "provider_id": {
583
- "name": "provider_id",
584
- "type": "text",
585
- "primaryKey": false,
586
- "notNull": false
587
- },
588
- "filename": {
589
- "name": "filename",
590
- "type": "text",
591
- "primaryKey": false,
592
- "notNull": true
593
- },
594
- "content_type": {
595
- "name": "content_type",
596
- "type": "text",
597
- "primaryKey": false,
598
- "notNull": true
599
- },
600
- "bytes": {
601
- "name": "bytes",
602
- "type": "integer",
603
- "primaryKey": false,
604
- "notNull": true
605
- },
606
- "sha256": {
607
- "name": "sha256",
608
- "type": "text",
609
- "primaryKey": false,
610
- "notNull": true
611
- },
612
- "vision_summary": {
613
- "name": "vision_summary",
614
- "type": "text",
615
- "primaryKey": false,
616
- "notNull": false
617
- },
618
- "created_at": {
619
- "name": "created_at",
620
- "type": "timestamp with time zone",
621
- "primaryKey": false,
622
- "notNull": true
623
- },
624
- "delete_requested_at": {
625
- "name": "delete_requested_at",
626
- "type": "timestamp with time zone",
627
- "primaryKey": false,
628
- "notNull": false
629
- }
630
- },
631
- "indexes": {
632
- "junior_attachments_conversation_idx": {
633
- "name": "junior_attachments_conversation_idx",
634
- "columns": [
635
- {
636
- "expression": "conversation_id",
637
- "isExpression": false,
638
- "asc": true,
639
- "nulls": "last"
640
- }
641
- ],
642
- "isUnique": false,
643
- "concurrently": false,
644
- "method": "btree",
645
- "with": {}
646
- },
647
- "junior_attachments_provider_idx": {
648
- "name": "junior_attachments_provider_idx",
649
- "columns": [
650
- {
651
- "expression": "conversation_id",
652
- "isExpression": false,
653
- "asc": true,
654
- "nulls": "last"
655
- },
656
- {
657
- "expression": "provider",
658
- "isExpression": false,
659
- "asc": true,
660
- "nulls": "last"
661
- },
662
- {
663
- "expression": "provider_id",
664
- "isExpression": false,
665
- "asc": true,
666
- "nulls": "last"
667
- }
668
- ],
669
- "isUnique": false,
670
- "concurrently": false,
671
- "method": "btree",
672
- "with": {}
673
- },
674
- "junior_attachments_gc_idx": {
675
- "name": "junior_attachments_gc_idx",
676
- "columns": [
677
- {
678
- "expression": "storage_provider",
679
- "isExpression": false,
680
- "asc": true,
681
- "nulls": "last"
682
- },
683
- {
684
- "expression": "delete_requested_at",
685
- "isExpression": false,
686
- "asc": true,
687
- "nulls": "last"
688
- },
689
- {
690
- "expression": "created_at",
691
- "isExpression": false,
692
- "asc": true,
693
- "nulls": "last"
694
- }
695
- ],
696
- "isUnique": false,
697
- "concurrently": false,
698
- "method": "btree",
699
- "with": {}
700
- }
701
- },
702
- "foreignKeys": {
703
- "junior_attachments_conversation_id_junior_conversations_conversation_id_fk": {
704
- "name": "junior_attachments_conversation_id_junior_conversations_conversation_id_fk",
705
- "tableFrom": "junior_attachments",
706
- "tableTo": "junior_conversations",
707
- "columnsFrom": [
708
- "conversation_id"
709
- ],
710
- "columnsTo": [
711
- "conversation_id"
712
- ],
713
- "onDelete": "cascade",
714
- "onUpdate": "no action"
715
- }
716
- },
717
- "compositePrimaryKeys": {},
718
- "uniqueConstraints": {},
719
- "policies": {},
720
- "checkConstraints": {},
721
- "isRLSEnabled": false
722
- },
723
- "public.junior_task_executions": {
724
- "name": "junior_task_executions",
725
- "schema": "",
726
- "columns": {
727
- "execution_id": {
728
- "name": "execution_id",
729
- "type": "text",
730
- "primaryKey": false,
731
- "notNull": true
732
- },
733
- "kind": {
734
- "name": "kind",
735
- "type": "text",
736
- "primaryKey": false,
737
- "notNull": true
738
- },
739
- "namespace": {
740
- "name": "namespace",
741
- "type": "text",
742
- "primaryKey": false,
743
- "notNull": true
744
- },
745
- "task_id": {
746
- "name": "task_id",
747
- "type": "text",
748
- "primaryKey": false,
749
- "notNull": true
750
- },
751
- "conversation_id": {
752
- "name": "conversation_id",
753
- "type": "text",
754
- "primaryKey": false,
755
- "notNull": false
756
- },
757
- "executed_at_ms": {
758
- "name": "executed_at_ms",
759
- "type": "bigint",
760
- "primaryKey": false,
761
- "notNull": true
762
- },
763
- "status": {
764
- "name": "status",
765
- "type": "text",
766
- "primaryKey": false,
767
- "notNull": true
768
- }
769
- },
770
- "indexes": {
771
- "junior_task_executions_task_time_idx": {
772
- "name": "junior_task_executions_task_time_idx",
773
- "columns": [
774
- {
775
- "expression": "kind",
776
- "isExpression": false,
777
- "asc": true,
778
- "nulls": "last"
779
- },
780
- {
781
- "expression": "namespace",
782
- "isExpression": false,
783
- "asc": true,
784
- "nulls": "last"
785
- },
786
- {
787
- "expression": "task_id",
788
- "isExpression": false,
789
- "asc": true,
790
- "nulls": "last"
791
- },
792
- {
793
- "expression": "executed_at_ms",
794
- "isExpression": false,
795
- "asc": true,
796
- "nulls": "last"
797
- }
798
- ],
799
- "isUnique": false,
800
- "concurrently": false,
801
- "method": "btree",
802
- "with": {}
803
- },
804
- "junior_task_executions_time_kind_idx": {
805
- "name": "junior_task_executions_time_kind_idx",
806
- "columns": [
807
- {
808
- "expression": "executed_at_ms",
809
- "isExpression": false,
810
- "asc": true,
811
- "nulls": "last"
812
- },
813
- {
814
- "expression": "kind",
815
- "isExpression": false,
816
- "asc": true,
817
- "nulls": "last"
818
- }
819
- ],
820
- "isUnique": false,
821
- "concurrently": false,
822
- "method": "btree",
823
- "with": {}
824
- },
825
- "junior_task_executions_conversation_time_idx": {
826
- "name": "junior_task_executions_conversation_time_idx",
827
- "columns": [
828
- {
829
- "expression": "conversation_id",
830
- "isExpression": false,
831
- "asc": true,
832
- "nulls": "last"
833
- },
834
- {
835
- "expression": "executed_at_ms",
836
- "isExpression": false,
837
- "asc": true,
838
- "nulls": "last"
839
- }
840
- ],
841
- "isUnique": false,
842
- "concurrently": false,
843
- "method": "btree",
844
- "with": {}
845
- }
846
- },
847
- "foreignKeys": {
848
- "junior_task_executions_conversation_id_junior_conversations_conversation_id_fk": {
849
- "name": "junior_task_executions_conversation_id_junior_conversations_conversation_id_fk",
850
- "tableFrom": "junior_task_executions",
851
- "tableTo": "junior_conversations",
852
- "columnsFrom": [
853
- "conversation_id"
854
- ],
855
- "columnsTo": [
856
- "conversation_id"
857
- ],
858
- "onDelete": "no action",
859
- "onUpdate": "no action"
860
- }
861
- },
862
- "compositePrimaryKeys": {
863
- "junior_task_executions_kind_namespace_execution_id_pk": {
864
- "name": "junior_task_executions_kind_namespace_execution_id_pk",
865
- "columns": [
866
- "kind",
867
- "namespace",
868
- "execution_id"
869
- ]
870
- }
871
- },
872
- "uniqueConstraints": {},
873
- "policies": {},
874
- "checkConstraints": {
875
- "junior_task_executions_kind_check": {
876
- "name": "junior_task_executions_kind_check",
877
- "value": "\"junior_task_executions\".\"kind\" in ('scheduled', 'event')"
878
- },
879
- "junior_task_executions_status_check": {
880
- "name": "junior_task_executions_status_check",
881
- "value": "\"junior_task_executions\".\"status\" in ('blocked', 'completed', 'failed')"
882
- }
883
- },
884
- "isRLSEnabled": false
885
- },
886
- "public.junior_automation_versions": {
887
- "name": "junior_automation_versions",
888
- "schema": "",
889
- "columns": {
890
- "kind": {
891
- "name": "kind",
892
- "type": "text",
893
- "primaryKey": false,
894
- "notNull": true
895
- },
896
- "automation_id": {
897
- "name": "automation_id",
898
- "type": "text",
899
- "primaryKey": false,
900
- "notNull": true
901
- },
902
- "version": {
903
- "name": "version",
904
- "type": "integer",
905
- "primaryKey": false,
906
- "notNull": true
907
- },
908
- "created_at_ms": {
909
- "name": "created_at_ms",
910
- "type": "bigint",
911
- "primaryKey": false,
912
- "notNull": true
913
- },
914
- "edited_by": {
915
- "name": "edited_by",
916
- "type": "jsonb",
917
- "primaryKey": false,
918
- "notNull": false
919
- },
920
- "definition": {
921
- "name": "definition",
922
- "type": "jsonb",
923
- "primaryKey": false,
924
- "notNull": true
925
- }
926
- },
927
- "indexes": {},
928
- "foreignKeys": {},
929
- "compositePrimaryKeys": {
930
- "junior_automation_versions_pk": {
931
- "name": "junior_automation_versions_pk",
932
- "columns": [
933
- "kind",
934
- "automation_id",
935
- "version"
936
- ]
937
- }
938
- },
939
- "uniqueConstraints": {},
940
- "policies": {},
941
- "checkConstraints": {
942
- "junior_automation_versions_kind_check": {
943
- "name": "junior_automation_versions_kind_check",
944
- "value": "\"junior_automation_versions\".\"kind\" in ('scheduled', 'event')"
945
- }
946
- },
947
- "isRLSEnabled": false
948
- },
949
- "public.junior_code_changes": {
950
- "name": "junior_code_changes",
951
- "schema": "",
952
- "columns": {
953
- "id": {
954
- "name": "id",
955
- "type": "uuid",
956
- "primaryKey": true,
957
- "notNull": true
958
- },
959
- "closed_at": {
960
- "name": "closed_at",
961
- "type": "timestamp with time zone",
962
- "primaryKey": false,
963
- "notNull": false
964
- },
965
- "conversation_ids": {
966
- "name": "conversation_ids",
967
- "type": "text[]",
968
- "primaryKey": false,
969
- "notNull": true,
970
- "default": "ARRAY[]::text[]"
971
- },
972
- "merged_at": {
973
- "name": "merged_at",
974
- "type": "timestamp with time zone",
975
- "primaryKey": false,
976
- "notNull": false
977
- },
978
- "number": {
979
- "name": "number",
980
- "type": "integer",
981
- "primaryKey": false,
982
- "notNull": true
983
- },
984
- "opened_at": {
985
- "name": "opened_at",
986
- "type": "timestamp with time zone",
987
- "primaryKey": false,
988
- "notNull": true
989
- },
990
- "provider": {
991
- "name": "provider",
992
- "type": "text",
993
- "primaryKey": false,
994
- "notNull": true
995
- },
996
- "provider_id": {
997
- "name": "provider_id",
998
- "type": "text",
999
- "primaryKey": false,
1000
- "notNull": true
1001
- },
1002
- "repository_id": {
1003
- "name": "repository_id",
1004
- "type": "uuid",
1005
- "primaryKey": false,
1006
- "notNull": true
1007
- },
1008
- "state": {
1009
- "name": "state",
1010
- "type": "text",
1011
- "primaryKey": false,
1012
- "notNull": true
1013
- },
1014
- "title": {
1015
- "name": "title",
1016
- "type": "text",
1017
- "primaryKey": false,
1018
- "notNull": false
1019
- },
1020
- "updated_at": {
1021
- "name": "updated_at",
1022
- "type": "timestamp with time zone",
1023
- "primaryKey": false,
1024
- "notNull": true
1025
- },
1026
- "url": {
1027
- "name": "url",
1028
- "type": "text",
1029
- "primaryKey": false,
1030
- "notNull": false
1031
- }
1032
- },
1033
- "indexes": {
1034
- "junior_code_changes_provider_id_idx": {
1035
- "name": "junior_code_changes_provider_id_idx",
1036
- "columns": [
1037
- {
1038
- "expression": "provider",
1039
- "isExpression": false,
1040
- "asc": true,
1041
- "nulls": "last"
1042
- },
1043
- {
1044
- "expression": "provider_id",
1045
- "isExpression": false,
1046
- "asc": true,
1047
- "nulls": "last"
1048
- }
1049
- ],
1050
- "isUnique": true,
1051
- "concurrently": false,
1052
- "method": "btree",
1053
- "with": {}
1054
- },
1055
- "junior_code_changes_opened_at_idx": {
1056
- "name": "junior_code_changes_opened_at_idx",
1057
- "columns": [
1058
- {
1059
- "expression": "opened_at",
1060
- "isExpression": false,
1061
- "asc": true,
1062
- "nulls": "last"
1063
- }
1064
- ],
1065
- "isUnique": false,
1066
- "concurrently": false,
1067
- "method": "btree",
1068
- "with": {}
1069
- },
1070
- "junior_code_changes_merged_at_idx": {
1071
- "name": "junior_code_changes_merged_at_idx",
1072
- "columns": [
1073
- {
1074
- "expression": "merged_at",
1075
- "isExpression": false,
1076
- "asc": true,
1077
- "nulls": "last"
1078
- }
1079
- ],
1080
- "isUnique": false,
1081
- "concurrently": false,
1082
- "method": "btree",
1083
- "with": {}
1084
- },
1085
- "junior_code_changes_closed_at_idx": {
1086
- "name": "junior_code_changes_closed_at_idx",
1087
- "columns": [
1088
- {
1089
- "expression": "closed_at",
1090
- "isExpression": false,
1091
- "asc": true,
1092
- "nulls": "last"
1093
- }
1094
- ],
1095
- "isUnique": false,
1096
- "concurrently": false,
1097
- "method": "btree",
1098
- "with": {}
1099
- },
1100
- "junior_code_changes_open_idx": {
1101
- "name": "junior_code_changes_open_idx",
1102
- "columns": [
1103
- {
1104
- "expression": "id",
1105
- "isExpression": false,
1106
- "asc": true,
1107
- "nulls": "last"
1108
- }
1109
- ],
1110
- "isUnique": false,
1111
- "where": "\"junior_code_changes\".\"state\" = 'open'",
1112
- "concurrently": false,
1113
- "method": "btree",
1114
- "with": {}
1115
- }
1116
- },
1117
- "foreignKeys": {
1118
- "junior_code_changes_repository_id_junior_code_repositories_id_fk": {
1119
- "name": "junior_code_changes_repository_id_junior_code_repositories_id_fk",
1120
- "tableFrom": "junior_code_changes",
1121
- "tableTo": "junior_code_repositories",
1122
- "columnsFrom": [
1123
- "repository_id"
1124
- ],
1125
- "columnsTo": [
1126
- "id"
1127
- ],
1128
- "onDelete": "cascade",
1129
- "onUpdate": "no action"
1130
- }
1131
- },
1132
- "compositePrimaryKeys": {},
1133
- "uniqueConstraints": {},
1134
- "policies": {},
1135
- "checkConstraints": {},
1136
- "isRLSEnabled": false
1137
- },
1138
- "public.junior_code_repositories": {
1139
- "name": "junior_code_repositories",
1140
- "schema": "",
1141
- "columns": {
1142
- "id": {
1143
- "name": "id",
1144
- "type": "uuid",
1145
- "primaryKey": true,
1146
- "notNull": true
1147
- },
1148
- "name": {
1149
- "name": "name",
1150
- "type": "text",
1151
- "primaryKey": false,
1152
- "notNull": true
1153
- },
1154
- "provider": {
1155
- "name": "provider",
1156
- "type": "text",
1157
- "primaryKey": false,
1158
- "notNull": true
1159
- },
1160
- "provider_id": {
1161
- "name": "provider_id",
1162
- "type": "text",
1163
- "primaryKey": false,
1164
- "notNull": true
1165
- },
1166
- "url": {
1167
- "name": "url",
1168
- "type": "text",
1169
- "primaryKey": false,
1170
- "notNull": false
1171
- },
1172
- "updated_at": {
1173
- "name": "updated_at",
1174
- "type": "timestamp with time zone",
1175
- "primaryKey": false,
1176
- "notNull": true
1177
- }
1178
- },
1179
- "indexes": {
1180
- "junior_code_repositories_provider_id_idx": {
1181
- "name": "junior_code_repositories_provider_id_idx",
1182
- "columns": [
1183
- {
1184
- "expression": "provider",
1185
- "isExpression": false,
1186
- "asc": true,
1187
- "nulls": "last"
1188
- },
1189
- {
1190
- "expression": "provider_id",
1191
- "isExpression": false,
1192
- "asc": true,
1193
- "nulls": "last"
1194
- }
1195
- ],
1196
- "isUnique": true,
1197
- "concurrently": false,
1198
- "method": "btree",
1199
- "with": {}
1200
- }
1201
- },
1202
- "foreignKeys": {},
1203
- "compositePrimaryKeys": {},
1204
- "uniqueConstraints": {},
1205
- "policies": {},
1206
- "checkConstraints": {},
1207
- "isRLSEnabled": false
1208
- },
1209
- "public.junior_conversation_annotations": {
1210
- "name": "junior_conversation_annotations",
1211
- "schema": "",
1212
- "columns": {
1213
- "conversation_id": {
1214
- "name": "conversation_id",
1215
- "type": "text",
1216
- "primaryKey": false,
1217
- "notNull": true
1218
- },
1219
- "plugin": {
1220
- "name": "plugin",
1221
- "type": "text",
1222
- "primaryKey": false,
1223
- "notNull": true
1224
- },
1225
- "kind": {
1226
- "name": "kind",
1227
- "type": "text",
1228
- "primaryKey": false,
1229
- "notNull": true
1230
- },
1231
- "key": {
1232
- "name": "key",
1233
- "type": "text",
1234
- "primaryKey": false,
1235
- "notNull": true
1236
- },
1237
- "annotation_json": {
1238
- "name": "annotation_json",
1239
- "type": "jsonb",
1240
- "primaryKey": false,
1241
- "notNull": true
1242
- },
1243
- "created_at": {
1244
- "name": "created_at",
1245
- "type": "timestamp with time zone",
1246
- "primaryKey": false,
1247
- "notNull": true
1248
- },
1249
- "updated_at": {
1250
- "name": "updated_at",
1251
- "type": "timestamp with time zone",
1252
- "primaryKey": false,
1253
- "notNull": true
1254
- }
1255
- },
1256
- "indexes": {},
1257
- "foreignKeys": {
1258
- "junior_conversation_annotations_conversation_id_fk": {
1259
- "name": "junior_conversation_annotations_conversation_id_fk",
1260
- "tableFrom": "junior_conversation_annotations",
1261
- "tableTo": "junior_conversations",
1262
- "columnsFrom": [
1263
- "conversation_id"
1264
- ],
1265
- "columnsTo": [
1266
- "conversation_id"
1267
- ],
1268
- "onDelete": "cascade",
1269
- "onUpdate": "no action"
1270
- }
1271
- },
1272
- "compositePrimaryKeys": {
1273
- "junior_conversation_annotations_pk": {
1274
- "name": "junior_conversation_annotations_pk",
1275
- "columns": [
1276
- "conversation_id",
1277
- "plugin",
1278
- "kind",
1279
- "key"
1280
- ]
1281
- }
1282
- },
1283
- "uniqueConstraints": {},
1284
- "policies": {},
1285
- "checkConstraints": {},
1286
- "isRLSEnabled": false
1287
- },
1288
- "public.junior_conversation_bindings": {
1289
- "name": "junior_conversation_bindings",
1290
- "schema": "",
1291
- "columns": {
1292
- "conversation_id": {
1293
- "name": "conversation_id",
1294
- "type": "text",
1295
- "primaryKey": false,
1296
- "notNull": true
1297
- },
1298
- "provider": {
1299
- "name": "provider",
1300
- "type": "text",
1301
- "primaryKey": false,
1302
- "notNull": true
1303
- },
1304
- "provider_tenant_id": {
1305
- "name": "provider_tenant_id",
1306
- "type": "text",
1307
- "primaryKey": false,
1308
- "notNull": true,
1309
- "default": "''"
1310
- },
1311
- "provider_destination_id": {
1312
- "name": "provider_destination_id",
1313
- "type": "text",
1314
- "primaryKey": false,
1315
- "notNull": true
1316
- },
1317
- "provider_conversation_id": {
1318
- "name": "provider_conversation_id",
1319
- "type": "text",
1320
- "primaryKey": false,
1321
- "notNull": true
1322
- },
1323
- "created_at": {
1324
- "name": "created_at",
1325
- "type": "timestamp with time zone",
1326
- "primaryKey": false,
1327
- "notNull": true
1328
- }
1329
- },
1330
- "indexes": {
1331
- "junior_conversation_bindings_conversation_idx": {
1332
- "name": "junior_conversation_bindings_conversation_idx",
1333
- "columns": [
1334
- {
1335
- "expression": "conversation_id",
1336
- "isExpression": false,
1337
- "asc": true,
1338
- "nulls": "last"
1339
- }
1340
- ],
1341
- "isUnique": false,
1342
- "concurrently": false,
1343
- "method": "btree",
1344
- "with": {}
1345
- }
1346
- },
1347
- "foreignKeys": {
1348
- "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk": {
1349
- "name": "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk",
1350
- "tableFrom": "junior_conversation_bindings",
1351
- "tableTo": "junior_conversations",
1352
- "columnsFrom": [
1353
- "conversation_id"
1354
- ],
1355
- "columnsTo": [
1356
- "conversation_id"
1357
- ],
1358
- "onDelete": "no action",
1359
- "onUpdate": "no action"
1360
- }
1361
- },
1362
- "compositePrimaryKeys": {
1363
- "junior_conversation_bindings_provider_conversation_pk": {
1364
- "name": "junior_conversation_bindings_provider_conversation_pk",
1365
- "columns": [
1366
- "provider",
1367
- "provider_tenant_id",
1368
- "provider_destination_id",
1369
- "provider_conversation_id"
1370
- ]
1371
- }
1372
- },
1373
- "uniqueConstraints": {},
1374
- "policies": {},
1375
- "checkConstraints": {},
1376
- "isRLSEnabled": false
1377
- },
1378
- "public.junior_conversation_briefs": {
1379
- "name": "junior_conversation_briefs",
1380
- "schema": "",
1381
- "columns": {
1382
- "conversation_id": {
1383
- "name": "conversation_id",
1384
- "type": "text",
1385
- "primaryKey": false,
1386
- "notNull": true
1387
- },
1388
- "version": {
1389
- "name": "version",
1390
- "type": "integer",
1391
- "primaryKey": false,
1392
- "notNull": true
1393
- },
1394
- "turn_id": {
1395
- "name": "turn_id",
1396
- "type": "text",
1397
- "primaryKey": false,
1398
- "notNull": true
1399
- },
1400
- "through_seq": {
1401
- "name": "through_seq",
1402
- "type": "integer",
1403
- "primaryKey": false,
1404
- "notNull": true
1405
- },
1406
- "content": {
1407
- "name": "content",
1408
- "type": "jsonb",
1409
- "primaryKey": false,
1410
- "notNull": true
1411
- },
1412
- "search_text": {
1413
- "name": "search_text",
1414
- "type": "text",
1415
- "primaryKey": false,
1416
- "notNull": true
1417
- },
1418
- "model_id": {
1419
- "name": "model_id",
1420
- "type": "text",
1421
- "primaryKey": false,
1422
- "notNull": true
1423
- },
1424
- "cost_usd": {
1425
- "name": "cost_usd",
1426
- "type": "double precision",
1427
- "primaryKey": false,
1428
- "notNull": false
1429
- },
1430
- "created_at": {
1431
- "name": "created_at",
1432
- "type": "timestamp with time zone",
1433
- "primaryKey": false,
1434
- "notNull": true,
1435
- "default": "now()"
1436
- }
1437
- },
1438
- "indexes": {
1439
- "junior_conversation_briefs_conversation_turn_idx": {
1440
- "name": "junior_conversation_briefs_conversation_turn_idx",
1441
- "columns": [
1442
- {
1443
- "expression": "conversation_id",
1444
- "isExpression": false,
1445
- "asc": true,
1446
- "nulls": "last"
1447
- },
1448
- {
1449
- "expression": "turn_id",
1450
- "isExpression": false,
1451
- "asc": true,
1452
- "nulls": "last"
1453
- }
1454
- ],
1455
- "isUnique": true,
1456
- "concurrently": false,
1457
- "method": "btree",
1458
- "with": {}
1459
- },
1460
- "junior_conversation_briefs_conversation_version_idx": {
1461
- "name": "junior_conversation_briefs_conversation_version_idx",
1462
- "columns": [
1463
- {
1464
- "expression": "conversation_id",
1465
- "isExpression": false,
1466
- "asc": true,
1467
- "nulls": "last"
1468
- },
1469
- {
1470
- "expression": "version",
1471
- "isExpression": false,
1472
- "asc": false,
1473
- "nulls": "last"
1474
- }
1475
- ],
1476
- "isUnique": false,
1477
- "concurrently": false,
1478
- "method": "btree",
1479
- "with": {}
1480
- },
1481
- "junior_conversation_briefs_search_idx": {
1482
- "name": "junior_conversation_briefs_search_idx",
1483
- "columns": [
1484
- {
1485
- "expression": "to_tsvector('english', \"search_text\")",
1486
- "asc": true,
1487
- "isExpression": true,
1488
- "nulls": "last"
1489
- }
1490
- ],
1491
- "isUnique": false,
1492
- "concurrently": false,
1493
- "method": "gin",
1494
- "with": {}
1495
- }
1496
- },
1497
- "foreignKeys": {
1498
- "junior_conversation_briefs_conversation_id_junior_conversations_conversation_id_fk": {
1499
- "name": "junior_conversation_briefs_conversation_id_junior_conversations_conversation_id_fk",
1500
- "tableFrom": "junior_conversation_briefs",
1501
- "tableTo": "junior_conversations",
1502
- "columnsFrom": [
1503
- "conversation_id"
1504
- ],
1505
- "columnsTo": [
1506
- "conversation_id"
1507
- ],
1508
- "onDelete": "cascade",
1509
- "onUpdate": "no action"
1510
- }
1511
- },
1512
- "compositePrimaryKeys": {
1513
- "junior_conversation_briefs_conversation_id_version_pk": {
1514
- "name": "junior_conversation_briefs_conversation_id_version_pk",
1515
- "columns": [
1516
- "conversation_id",
1517
- "version"
1518
- ]
1519
- }
1520
- },
1521
- "uniqueConstraints": {},
1522
- "policies": {},
1523
- "checkConstraints": {},
1524
- "isRLSEnabled": false
1525
- },
1526
- "public.junior_conversation_events": {
1527
- "name": "junior_conversation_events",
1528
- "schema": "",
1529
- "columns": {
1530
- "conversation_id": {
1531
- "name": "conversation_id",
1532
- "type": "text",
1533
- "primaryKey": false,
1534
- "notNull": true
1535
- },
1536
- "seq": {
1537
- "name": "seq",
1538
- "type": "integer",
1539
- "primaryKey": false,
1540
- "notNull": true
1541
- },
1542
- "history_version": {
1543
- "name": "history_version",
1544
- "type": "integer",
1545
- "primaryKey": false,
1546
- "notNull": true
1547
- },
1548
- "schema_version": {
1549
- "name": "schema_version",
1550
- "type": "integer",
1551
- "primaryKey": false,
1552
- "notNull": true,
1553
- "default": 1
1554
- },
1555
- "idempotency_key": {
1556
- "name": "idempotency_key",
1557
- "type": "text",
1558
- "primaryKey": false,
1559
- "notNull": false
1560
- },
1561
- "type": {
1562
- "name": "type",
1563
- "type": "text",
1564
- "primaryKey": false,
1565
- "notNull": true
1566
- },
1567
- "payload": {
1568
- "name": "payload",
1569
- "type": "jsonb",
1570
- "primaryKey": false,
1571
- "notNull": true
1572
- },
1573
- "actor_identity_id": {
1574
- "name": "actor_identity_id",
1575
- "type": "text",
1576
- "primaryKey": false,
1577
- "notNull": false
1578
- },
1579
- "created_at": {
1580
- "name": "created_at",
1581
- "type": "timestamp with time zone",
1582
- "primaryKey": false,
1583
- "notNull": true
1584
- }
1585
- },
1586
- "indexes": {
1587
- "junior_conversation_events_history_version_idx": {
1588
- "name": "junior_conversation_events_history_version_idx",
1589
- "columns": [
1590
- {
1591
- "expression": "conversation_id",
1592
- "isExpression": false,
1593
- "asc": true,
1594
- "nulls": "last"
1595
- },
1596
- {
1597
- "expression": "history_version",
1598
- "isExpression": false,
1599
- "asc": true,
1600
- "nulls": "last"
1601
- },
1602
- {
1603
- "expression": "seq",
1604
- "isExpression": false,
1605
- "asc": true,
1606
- "nulls": "last"
1607
- }
1608
- ],
1609
- "isUnique": false,
1610
- "concurrently": false,
1611
- "method": "btree",
1612
- "with": {}
1613
- },
1614
- "junior_conversation_events_type_idx": {
1615
- "name": "junior_conversation_events_type_idx",
1616
- "columns": [
1617
- {
1618
- "expression": "conversation_id",
1619
- "isExpression": false,
1620
- "asc": true,
1621
- "nulls": "last"
1622
- },
1623
- {
1624
- "expression": "type",
1625
- "isExpression": false,
1626
- "asc": true,
1627
- "nulls": "last"
1628
- },
1629
- {
1630
- "expression": "seq",
1631
- "isExpression": false,
1632
- "asc": true,
1633
- "nulls": "last"
1634
- }
1635
- ],
1636
- "isUnique": false,
1637
- "concurrently": false,
1638
- "method": "btree",
1639
- "with": {}
1640
- },
1641
- "junior_conversation_events_actor_identity_idx": {
1642
- "name": "junior_conversation_events_actor_identity_idx",
1643
- "columns": [
1644
- {
1645
- "expression": "actor_identity_id",
1646
- "isExpression": false,
1647
- "asc": true,
1648
- "nulls": "last"
1649
- },
1650
- {
1651
- "expression": "conversation_id",
1652
- "isExpression": false,
1653
- "asc": true,
1654
- "nulls": "last"
1655
- },
1656
- {
1657
- "expression": "seq",
1658
- "isExpression": false,
1659
- "asc": true,
1660
- "nulls": "last"
1661
- }
1662
- ],
1663
- "isUnique": false,
1664
- "concurrently": false,
1665
- "method": "btree",
1666
- "with": {}
1667
- },
1668
- "junior_conversation_events_message_search_idx": {
1669
- "name": "junior_conversation_events_message_search_idx",
1670
- "columns": [
1671
- {
1672
- "expression": "to_tsvector('english', \"payload\"->>'text')",
1673
- "asc": true,
1674
- "isExpression": true,
1675
- "nulls": "last"
1676
- }
1677
- ],
1678
- "isUnique": false,
1679
- "where": "\"junior_conversation_events\".\"type\" = 'message'",
1680
- "concurrently": false,
1681
- "method": "gin",
1682
- "with": {}
1683
- },
1684
- "junior_conversation_events_idempotency_idx": {
1685
- "name": "junior_conversation_events_idempotency_idx",
1686
- "columns": [
1687
- {
1688
- "expression": "conversation_id",
1689
- "isExpression": false,
1690
- "asc": true,
1691
- "nulls": "last"
1692
- },
1693
- {
1694
- "expression": "idempotency_key",
1695
- "isExpression": false,
1696
- "asc": true,
1697
- "nulls": "last"
1698
- }
1699
- ],
1700
- "isUnique": true,
1701
- "concurrently": false,
1702
- "method": "btree",
1703
- "with": {}
1704
- }
1705
- },
1706
- "foreignKeys": {
1707
- "junior_conversation_events_actor_identity_id_junior_identities_id_fk": {
1708
- "name": "junior_conversation_events_actor_identity_id_junior_identities_id_fk",
1709
- "tableFrom": "junior_conversation_events",
1710
- "tableTo": "junior_identities",
1711
- "columnsFrom": [
1712
- "actor_identity_id"
1713
- ],
1714
- "columnsTo": [
1715
- "id"
1716
- ],
1717
- "onDelete": "no action",
1718
- "onUpdate": "no action"
1719
- },
1720
- "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk": {
1721
- "name": "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk",
1722
- "tableFrom": "junior_conversation_events",
1723
- "tableTo": "junior_conversations",
1724
- "columnsFrom": [
1725
- "conversation_id"
1726
- ],
1727
- "columnsTo": [
1728
- "conversation_id"
1729
- ],
1730
- "onDelete": "no action",
1731
- "onUpdate": "no action"
1732
- }
1733
- },
1734
- "compositePrimaryKeys": {
1735
- "junior_conversation_events_conversation_id_seq_pk": {
1736
- "name": "junior_conversation_events_conversation_id_seq_pk",
1737
- "columns": [
1738
- "conversation_id",
1739
- "seq"
1740
- ]
1741
- }
1742
- },
1743
- "uniqueConstraints": {},
1744
- "policies": {},
1745
- "checkConstraints": {},
1746
- "isRLSEnabled": false
1747
- },
1748
- "public.junior_conversation_metrics": {
1749
- "name": "junior_conversation_metrics",
1750
- "schema": "",
1751
- "columns": {
1752
- "conversation_id": {
1753
- "name": "conversation_id",
1754
- "type": "text",
1755
- "primaryKey": false,
1756
- "notNull": true
1757
- },
1758
- "run_id": {
1759
- "name": "run_id",
1760
- "type": "text",
1761
- "primaryKey": false,
1762
- "notNull": true
1763
- },
1764
- "metric": {
1765
- "name": "metric",
1766
- "type": "text",
1767
- "primaryKey": false,
1768
- "notNull": true
1769
- },
1770
- "value": {
1771
- "name": "value",
1772
- "type": "double precision",
1773
- "primaryKey": false,
1774
- "notNull": true
1775
- },
1776
- "occurred_at": {
1777
- "name": "occurred_at",
1778
- "type": "timestamp with time zone",
1779
- "primaryKey": false,
1780
- "notNull": true
1781
- },
1782
- "updated_at": {
1783
- "name": "updated_at",
1784
- "type": "timestamp with time zone",
1785
- "primaryKey": false,
1786
- "notNull": true
1787
- }
1788
- },
1789
- "indexes": {
1790
- "junior_conversation_metrics_occurred_at_metric_idx": {
1791
- "name": "junior_conversation_metrics_occurred_at_metric_idx",
1792
- "columns": [
1793
- {
1794
- "expression": "occurred_at",
1795
- "isExpression": false,
1796
- "asc": true,
1797
- "nulls": "last"
1798
- },
1799
- {
1800
- "expression": "metric",
1801
- "isExpression": false,
1802
- "asc": true,
1803
- "nulls": "last"
1804
- }
1805
- ],
1806
- "isUnique": false,
1807
- "concurrently": false,
1808
- "method": "btree",
1809
- "with": {}
1810
- }
1811
- },
1812
- "foreignKeys": {
1813
- "junior_conversation_metrics_conversation_id_junior_conversations_conversation_id_fk": {
1814
- "name": "junior_conversation_metrics_conversation_id_junior_conversations_conversation_id_fk",
1815
- "tableFrom": "junior_conversation_metrics",
1816
- "tableTo": "junior_conversations",
1817
- "columnsFrom": [
1818
- "conversation_id"
1819
- ],
1820
- "columnsTo": [
1821
- "conversation_id"
1822
- ],
1823
- "onDelete": "no action",
1824
- "onUpdate": "no action"
1825
- }
1826
- },
1827
- "compositePrimaryKeys": {
1828
- "junior_conversation_metrics_conversation_id_run_id_metric_pk": {
1829
- "name": "junior_conversation_metrics_conversation_id_run_id_metric_pk",
1830
- "columns": [
1831
- "conversation_id",
1832
- "run_id",
1833
- "metric"
1834
- ]
1835
- }
1836
- },
1837
- "uniqueConstraints": {},
1838
- "policies": {},
1839
- "checkConstraints": {},
1840
- "isRLSEnabled": false
1841
- },
1842
- "public.junior_conversation_participants": {
1843
- "name": "junior_conversation_participants",
1844
- "schema": "",
1845
- "columns": {
1846
- "user_id": {
1847
- "name": "user_id",
1848
- "type": "text",
1849
- "primaryKey": false,
1850
- "notNull": true
1851
- },
1852
- "root_conversation_id": {
1853
- "name": "root_conversation_id",
1854
- "type": "text",
1855
- "primaryKey": false,
1856
- "notNull": true
1857
- },
1858
- "last_message_at": {
1859
- "name": "last_message_at",
1860
- "type": "timestamp with time zone",
1861
- "primaryKey": false,
1862
- "notNull": true
1863
- },
1864
- "archived_at": {
1865
- "name": "archived_at",
1866
- "type": "timestamp with time zone",
1867
- "primaryKey": false,
1868
- "notNull": false
1869
- }
1870
- },
1871
- "indexes": {
1872
- "junior_conversation_participants_user_activity_idx": {
1873
- "name": "junior_conversation_participants_user_activity_idx",
1874
- "columns": [
1875
- {
1876
- "expression": "user_id",
1877
- "isExpression": false,
1878
- "asc": true,
1879
- "nulls": "last"
1880
- },
1881
- {
1882
- "expression": "last_message_at",
1883
- "isExpression": false,
1884
- "asc": false,
1885
- "nulls": "last"
1886
- }
1887
- ],
1888
- "isUnique": false,
1889
- "concurrently": false,
1890
- "method": "btree",
1891
- "with": {}
1892
- },
1893
- "junior_conversation_participants_root_idx": {
1894
- "name": "junior_conversation_participants_root_idx",
1895
- "columns": [
1896
- {
1897
- "expression": "root_conversation_id",
1898
- "isExpression": false,
1899
- "asc": true,
1900
- "nulls": "last"
1901
- }
1902
- ],
1903
- "isUnique": false,
1904
- "concurrently": false,
1905
- "method": "btree",
1906
- "with": {}
1907
- }
1908
- },
1909
- "foreignKeys": {
1910
- "junior_conversation_participants_user_id_junior_users_id_fk": {
1911
- "name": "junior_conversation_participants_user_id_junior_users_id_fk",
1912
- "tableFrom": "junior_conversation_participants",
1913
- "tableTo": "junior_users",
1914
- "columnsFrom": [
1915
- "user_id"
1916
- ],
1917
- "columnsTo": [
1918
- "id"
1919
- ],
1920
- "onDelete": "no action",
1921
- "onUpdate": "no action"
1922
- },
1923
- "junior_conversation_participants_root_conversation_id_junior_conversations_conversation_id_fk": {
1924
- "name": "junior_conversation_participants_root_conversation_id_junior_conversations_conversation_id_fk",
1925
- "tableFrom": "junior_conversation_participants",
1926
- "tableTo": "junior_conversations",
1927
- "columnsFrom": [
1928
- "root_conversation_id"
1929
- ],
1930
- "columnsTo": [
1931
- "conversation_id"
1932
- ],
1933
- "onDelete": "no action",
1934
- "onUpdate": "no action"
1935
- }
1936
- },
1937
- "compositePrimaryKeys": {
1938
- "junior_conversation_participants_user_root_pk": {
1939
- "name": "junior_conversation_participants_user_root_pk",
1940
- "columns": [
1941
- "user_id",
1942
- "root_conversation_id"
1943
- ]
1944
- }
1945
- },
1946
- "uniqueConstraints": {},
1947
- "policies": {},
1948
- "checkConstraints": {},
1949
- "isRLSEnabled": false
1950
- },
1951
- "public.junior_conversations": {
1952
- "name": "junior_conversations",
1953
- "schema": "",
1954
- "columns": {
1955
- "conversation_id": {
1956
- "name": "conversation_id",
1957
- "type": "text",
1958
- "primaryKey": true,
1959
- "notNull": true
1960
- },
1961
- "schema_version": {
1962
- "name": "schema_version",
1963
- "type": "integer",
1964
- "primaryKey": false,
1965
- "notNull": true,
1966
- "default": 1
1967
- },
1968
- "source": {
1969
- "name": "source",
1970
- "type": "text",
1971
- "primaryKey": false,
1972
- "notNull": false
1973
- },
1974
- "source_json": {
1975
- "name": "source_json",
1976
- "type": "jsonb",
1977
- "primaryKey": false,
1978
- "notNull": false
1979
- },
1980
- "origin_type": {
1981
- "name": "origin_type",
1982
- "type": "text",
1983
- "primaryKey": false,
1984
- "notNull": false
1985
- },
1986
- "origin_id": {
1987
- "name": "origin_id",
1988
- "type": "text",
1989
- "primaryKey": false,
1990
- "notNull": false
1991
- },
1992
- "origin_run_id": {
1993
- "name": "origin_run_id",
1994
- "type": "text",
1995
- "primaryKey": false,
1996
- "notNull": false
1997
- },
1998
- "location_json": {
1999
- "name": "location_json",
2000
- "type": "jsonb",
2001
- "primaryKey": false,
2002
- "notNull": false
2003
- },
2004
- "destination_id": {
2005
- "name": "destination_id",
2006
- "type": "text",
2007
- "primaryKey": false,
2008
- "notNull": false
2009
- },
2010
- "destination_json": {
2011
- "name": "destination_json",
2012
- "type": "jsonb",
2013
- "primaryKey": false,
2014
- "notNull": false
2015
- },
2016
- "actor_identity_id": {
2017
- "name": "actor_identity_id",
2018
- "type": "text",
2019
- "primaryKey": false,
2020
- "notNull": false
2021
- },
2022
- "creator_identity_id": {
2023
- "name": "creator_identity_id",
2024
- "type": "text",
2025
- "primaryKey": false,
2026
- "notNull": false
2027
- },
2028
- "credential_subject_identity_id": {
2029
- "name": "credential_subject_identity_id",
2030
- "type": "text",
2031
- "primaryKey": false,
2032
- "notNull": false
2033
- },
2034
- "actor_json": {
2035
- "name": "actor_json",
2036
- "type": "jsonb",
2037
- "primaryKey": false,
2038
- "notNull": false
2039
- },
2040
- "channel_name": {
2041
- "name": "channel_name",
2042
- "type": "text",
2043
- "primaryKey": false,
2044
- "notNull": false
2045
- },
2046
- "title": {
2047
- "name": "title",
2048
- "type": "text",
2049
- "primaryKey": false,
2050
- "notNull": false
2051
- },
2052
- "created_at": {
2053
- "name": "created_at",
2054
- "type": "timestamp with time zone",
2055
- "primaryKey": false,
2056
- "notNull": true
2057
- },
2058
- "last_activity_at": {
2059
- "name": "last_activity_at",
2060
- "type": "timestamp with time zone",
2061
- "primaryKey": false,
2062
- "notNull": true
2063
- },
2064
- "updated_at": {
2065
- "name": "updated_at",
2066
- "type": "timestamp with time zone",
2067
- "primaryKey": false,
2068
- "notNull": true
2069
- },
2070
- "execution_updated_at": {
2071
- "name": "execution_updated_at",
2072
- "type": "timestamp with time zone",
2073
- "primaryKey": false,
2074
- "notNull": false
2075
- },
2076
- "execution_status": {
2077
- "name": "execution_status",
2078
- "type": "text",
2079
- "primaryKey": false,
2080
- "notNull": true
2081
- },
2082
- "run_id": {
2083
- "name": "run_id",
2084
- "type": "text",
2085
- "primaryKey": false,
2086
- "notNull": false
2087
- },
2088
- "last_checkpoint_at": {
2089
- "name": "last_checkpoint_at",
2090
- "type": "timestamp with time zone",
2091
- "primaryKey": false,
2092
- "notNull": false
2093
- },
2094
- "last_enqueued_at": {
2095
- "name": "last_enqueued_at",
2096
- "type": "timestamp with time zone",
2097
- "primaryKey": false,
2098
- "notNull": false
2099
- },
2100
- "parent_conversation_id": {
2101
- "name": "parent_conversation_id",
2102
- "type": "text",
2103
- "primaryKey": false,
2104
- "notNull": false
2105
- },
2106
- "forked_from_conversation_id": {
2107
- "name": "forked_from_conversation_id",
2108
- "type": "text",
2109
- "primaryKey": false,
2110
- "notNull": false
2111
- },
2112
- "root_conversation_id": {
2113
- "name": "root_conversation_id",
2114
- "type": "text",
2115
- "primaryKey": false,
2116
- "notNull": false
2117
- },
2118
- "transcript_purged_at": {
2119
- "name": "transcript_purged_at",
2120
- "type": "timestamp with time zone",
2121
- "primaryKey": false,
2122
- "notNull": false
2123
- },
2124
- "stopped_at": {
2125
- "name": "stopped_at",
2126
- "type": "timestamp with time zone",
2127
- "primaryKey": false,
2128
- "notNull": false
2129
- },
2130
- "duration_ms": {
2131
- "name": "duration_ms",
2132
- "type": "integer",
2133
- "primaryKey": false,
2134
- "notNull": true,
2135
- "default": 0
2136
- },
2137
- "usage_json": {
2138
- "name": "usage_json",
2139
- "type": "jsonb",
2140
- "primaryKey": false,
2141
- "notNull": false
2142
- },
2143
- "execution_duration_ms": {
2144
- "name": "execution_duration_ms",
2145
- "type": "integer",
2146
- "primaryKey": false,
2147
- "notNull": true,
2148
- "default": 0
2149
- },
2150
- "execution_usage_json": {
2151
- "name": "execution_usage_json",
2152
- "type": "jsonb",
2153
- "primaryKey": false,
2154
- "notNull": false
2155
- },
2156
- "metric_run_id": {
2157
- "name": "metric_run_id",
2158
- "type": "text",
2159
- "primaryKey": false,
2160
- "notNull": false
2161
- },
2162
- "archived_at": {
2163
- "name": "archived_at",
2164
- "type": "timestamp with time zone",
2165
- "primaryKey": false,
2166
- "notNull": false
2167
- }
2168
- },
2169
- "indexes": {
2170
- "junior_conversations_last_activity_idx": {
2171
- "name": "junior_conversations_last_activity_idx",
2172
- "columns": [
2173
- {
2174
- "expression": "last_activity_at",
2175
- "isExpression": false,
2176
- "asc": false,
2177
- "nulls": "last"
2178
- },
2179
- {
2180
- "expression": "conversation_id",
2181
- "isExpression": false,
2182
- "asc": true,
2183
- "nulls": "last"
2184
- }
2185
- ],
2186
- "isUnique": false,
2187
- "concurrently": false,
2188
- "method": "btree",
2189
- "with": {}
2190
- },
2191
- "junior_conversations_active_idx": {
2192
- "name": "junior_conversations_active_idx",
2193
- "columns": [
2194
- {
2195
- "expression": "coalesce(\"execution_updated_at\", \"updated_at\")",
2196
- "asc": true,
2197
- "isExpression": true,
2198
- "nulls": "last"
2199
- },
2200
- {
2201
- "expression": "conversation_id",
2202
- "isExpression": false,
2203
- "asc": true,
2204
- "nulls": "last"
2205
- }
2206
- ],
2207
- "isUnique": false,
2208
- "where": "\"junior_conversations\".\"execution_status\" <> 'idle'",
2209
- "concurrently": false,
2210
- "method": "btree",
2211
- "with": {}
2212
- },
2213
- "junior_conversations_destination_activity_idx": {
2214
- "name": "junior_conversations_destination_activity_idx",
2215
- "columns": [
2216
- {
2217
- "expression": "destination_id",
2218
- "isExpression": false,
2219
- "asc": true,
2220
- "nulls": "last"
2221
- },
2222
- {
2223
- "expression": "last_activity_at",
2224
- "isExpression": false,
2225
- "asc": false,
2226
- "nulls": "last"
2227
- }
2228
- ],
2229
- "isUnique": false,
2230
- "concurrently": false,
2231
- "method": "btree",
2232
- "with": {}
2233
- },
2234
- "junior_conversations_actor_activity_idx": {
2235
- "name": "junior_conversations_actor_activity_idx",
2236
- "columns": [
2237
- {
2238
- "expression": "actor_identity_id",
2239
- "isExpression": false,
2240
- "asc": true,
2241
- "nulls": "last"
2242
- },
2243
- {
2244
- "expression": "last_activity_at",
2245
- "isExpression": false,
2246
- "asc": false,
2247
- "nulls": "last"
2248
- }
2249
- ],
2250
- "isUnique": false,
2251
- "concurrently": false,
2252
- "method": "btree",
2253
- "with": {}
2254
- },
2255
- "junior_conversations_origin_idx": {
2256
- "name": "junior_conversations_origin_idx",
2257
- "columns": [
2258
- {
2259
- "expression": "origin_type",
2260
- "isExpression": false,
2261
- "asc": true,
2262
- "nulls": "last"
2263
- },
2264
- {
2265
- "expression": "origin_id",
2266
- "isExpression": false,
2267
- "asc": true,
2268
- "nulls": "last"
2269
- },
2270
- {
2271
- "expression": "last_activity_at",
2272
- "isExpression": false,
2273
- "asc": false,
2274
- "nulls": "last"
2275
- }
2276
- ],
2277
- "isUnique": false,
2278
- "concurrently": false,
2279
- "method": "btree",
2280
- "with": {}
2281
- },
2282
- "junior_conversations_parent_idx": {
2283
- "name": "junior_conversations_parent_idx",
2284
- "columns": [
2285
- {
2286
- "expression": "parent_conversation_id",
2287
- "isExpression": false,
2288
- "asc": true,
2289
- "nulls": "last"
2290
- }
2291
- ],
2292
- "isUnique": false,
2293
- "concurrently": false,
2294
- "method": "btree",
2295
- "with": {}
2296
- },
2297
- "junior_conversations_forked_from_idx": {
2298
- "name": "junior_conversations_forked_from_idx",
2299
- "columns": [
2300
- {
2301
- "expression": "forked_from_conversation_id",
2302
- "isExpression": false,
2303
- "asc": true,
2304
- "nulls": "last"
2305
- }
2306
- ],
2307
- "isUnique": false,
2308
- "concurrently": false,
2309
- "method": "btree",
2310
- "with": {}
2311
- },
2312
- "junior_conversations_root_idx": {
2313
- "name": "junior_conversations_root_idx",
2314
- "columns": [
2315
- {
2316
- "expression": "root_conversation_id",
2317
- "isExpression": false,
2318
- "asc": true,
2319
- "nulls": "last"
2320
- }
2321
- ],
2322
- "isUnique": false,
2323
- "concurrently": false,
2324
- "method": "btree",
2325
- "with": {}
2326
- }
2327
- },
2328
- "foreignKeys": {
2329
- "junior_conversations_destination_id_junior_destinations_id_fk": {
2330
- "name": "junior_conversations_destination_id_junior_destinations_id_fk",
2331
- "tableFrom": "junior_conversations",
2332
- "tableTo": "junior_destinations",
2333
- "columnsFrom": [
2334
- "destination_id"
2335
- ],
2336
- "columnsTo": [
2337
- "id"
2338
- ],
2339
- "onDelete": "no action",
2340
- "onUpdate": "no action"
2341
- },
2342
- "junior_conversations_actor_identity_id_junior_identities_id_fk": {
2343
- "name": "junior_conversations_actor_identity_id_junior_identities_id_fk",
2344
- "tableFrom": "junior_conversations",
2345
- "tableTo": "junior_identities",
2346
- "columnsFrom": [
2347
- "actor_identity_id"
2348
- ],
2349
- "columnsTo": [
2350
- "id"
2351
- ],
2352
- "onDelete": "no action",
2353
- "onUpdate": "no action"
2354
- },
2355
- "junior_conversations_creator_identity_id_junior_identities_id_fk": {
2356
- "name": "junior_conversations_creator_identity_id_junior_identities_id_fk",
2357
- "tableFrom": "junior_conversations",
2358
- "tableTo": "junior_identities",
2359
- "columnsFrom": [
2360
- "creator_identity_id"
2361
- ],
2362
- "columnsTo": [
2363
- "id"
2364
- ],
2365
- "onDelete": "no action",
2366
- "onUpdate": "no action"
2367
- },
2368
- "junior_conversations_credential_subject_identity_id_junior_identities_id_fk": {
2369
- "name": "junior_conversations_credential_subject_identity_id_junior_identities_id_fk",
2370
- "tableFrom": "junior_conversations",
2371
- "tableTo": "junior_identities",
2372
- "columnsFrom": [
2373
- "credential_subject_identity_id"
2374
- ],
2375
- "columnsTo": [
2376
- "id"
2377
- ],
2378
- "onDelete": "no action",
2379
- "onUpdate": "no action"
2380
- },
2381
- "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk": {
2382
- "name": "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk",
2383
- "tableFrom": "junior_conversations",
2384
- "tableTo": "junior_conversations",
2385
- "columnsFrom": [
2386
- "parent_conversation_id"
2387
- ],
2388
- "columnsTo": [
2389
- "conversation_id"
2390
- ],
2391
- "onDelete": "no action",
2392
- "onUpdate": "no action"
2393
- },
2394
- "junior_conversations_forked_from_conversation_id_junior_conversations_conversation_id_fk": {
2395
- "name": "junior_conversations_forked_from_conversation_id_junior_conversations_conversation_id_fk",
2396
- "tableFrom": "junior_conversations",
2397
- "tableTo": "junior_conversations",
2398
- "columnsFrom": [
2399
- "forked_from_conversation_id"
2400
- ],
2401
- "columnsTo": [
2402
- "conversation_id"
2403
- ],
2404
- "onDelete": "set null",
2405
- "onUpdate": "no action"
2406
- },
2407
- "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk": {
2408
- "name": "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk",
2409
- "tableFrom": "junior_conversations",
2410
- "tableTo": "junior_conversations",
2411
- "columnsFrom": [
2412
- "root_conversation_id"
2413
- ],
2414
- "columnsTo": [
2415
- "conversation_id"
2416
- ],
2417
- "onDelete": "no action",
2418
- "onUpdate": "no action"
2419
- }
2420
- },
2421
- "compositePrimaryKeys": {},
2422
- "uniqueConstraints": {},
2423
- "policies": {},
2424
- "checkConstraints": {},
2425
- "isRLSEnabled": false
2426
- },
2427
- "public.junior_destinations": {
2428
- "name": "junior_destinations",
2429
- "schema": "",
2430
- "columns": {
2431
- "id": {
2432
- "name": "id",
2433
- "type": "text",
2434
- "primaryKey": true,
2435
- "notNull": true
2436
- },
2437
- "provider": {
2438
- "name": "provider",
2439
- "type": "text",
2440
- "primaryKey": false,
2441
- "notNull": true
2442
- },
2443
- "provider_tenant_id": {
2444
- "name": "provider_tenant_id",
2445
- "type": "text",
2446
- "primaryKey": false,
2447
- "notNull": true,
2448
- "default": "''"
2449
- },
2450
- "provider_destination_id": {
2451
- "name": "provider_destination_id",
2452
- "type": "text",
2453
- "primaryKey": false,
2454
- "notNull": true
2455
- },
2456
- "kind": {
2457
- "name": "kind",
2458
- "type": "text",
2459
- "primaryKey": false,
2460
- "notNull": true
2461
- },
2462
- "parent_destination_id": {
2463
- "name": "parent_destination_id",
2464
- "type": "text",
2465
- "primaryKey": false,
2466
- "notNull": false
2467
- },
2468
- "display_name": {
2469
- "name": "display_name",
2470
- "type": "text",
2471
- "primaryKey": false,
2472
- "notNull": false
2473
- },
2474
- "visibility": {
2475
- "name": "visibility",
2476
- "type": "text",
2477
- "primaryKey": false,
2478
- "notNull": true,
2479
- "default": "'unknown'"
2480
- },
2481
- "metadata_json": {
2482
- "name": "metadata_json",
2483
- "type": "jsonb",
2484
- "primaryKey": false,
2485
- "notNull": false
2486
- },
2487
- "created_at": {
2488
- "name": "created_at",
2489
- "type": "timestamp with time zone",
2490
- "primaryKey": false,
2491
- "notNull": true
2492
- },
2493
- "updated_at": {
2494
- "name": "updated_at",
2495
- "type": "timestamp with time zone",
2496
- "primaryKey": false,
2497
- "notNull": true
2498
- }
2499
- },
2500
- "indexes": {
2501
- "junior_destinations_provider_destination_uidx": {
2502
- "name": "junior_destinations_provider_destination_uidx",
2503
- "columns": [
2504
- {
2505
- "expression": "provider",
2506
- "isExpression": false,
2507
- "asc": true,
2508
- "nulls": "last"
2509
- },
2510
- {
2511
- "expression": "provider_tenant_id",
2512
- "isExpression": false,
2513
- "asc": true,
2514
- "nulls": "last"
2515
- },
2516
- {
2517
- "expression": "provider_destination_id",
2518
- "isExpression": false,
2519
- "asc": true,
2520
- "nulls": "last"
2521
- }
2522
- ],
2523
- "isUnique": true,
2524
- "concurrently": false,
2525
- "method": "btree",
2526
- "with": {}
2527
- },
2528
- "junior_destinations_provider_kind_idx": {
2529
- "name": "junior_destinations_provider_kind_idx",
2530
- "columns": [
2531
- {
2532
- "expression": "provider",
2533
- "isExpression": false,
2534
- "asc": true,
2535
- "nulls": "last"
2536
- },
2537
- {
2538
- "expression": "kind",
2539
- "isExpression": false,
2540
- "asc": true,
2541
- "nulls": "last"
2542
- }
2543
- ],
2544
- "isUnique": false,
2545
- "concurrently": false,
2546
- "method": "btree",
2547
- "with": {}
2548
- }
2549
- },
2550
- "foreignKeys": {},
2551
- "compositePrimaryKeys": {},
2552
- "uniqueConstraints": {},
2553
- "policies": {},
2554
- "checkConstraints": {},
2555
- "isRLSEnabled": false
2556
- },
2557
- "public.junior_event_tasks": {
2558
- "name": "junior_event_tasks",
2559
- "schema": "",
2560
- "columns": {
2561
- "id": {
2562
- "name": "id",
2563
- "type": "text",
2564
- "primaryKey": true,
2565
- "notNull": true
2566
- },
2567
- "team_id": {
2568
- "name": "team_id",
2569
- "type": "text",
2570
- "primaryKey": false,
2571
- "notNull": true
2572
- },
2573
- "namespace": {
2574
- "name": "namespace",
2575
- "type": "text",
2576
- "primaryKey": false,
2577
- "notNull": true
2578
- },
2579
- "identifier": {
2580
- "name": "identifier",
2581
- "type": "text",
2582
- "primaryKey": false,
2583
- "notNull": true
2584
- },
2585
- "created_at_ms": {
2586
- "name": "created_at_ms",
2587
- "type": "bigint",
2588
- "primaryKey": false,
2589
- "notNull": true
2590
- },
2591
- "status": {
2592
- "name": "status",
2593
- "type": "text",
2594
- "primaryKey": false,
2595
- "notNull": true,
2596
- "default": "'active'"
2597
- },
2598
- "status_reason": {
2599
- "name": "status_reason",
2600
- "type": "text",
2601
- "primaryKey": false,
2602
- "notNull": false
2603
- },
2604
- "title": {
2605
- "name": "title",
2606
- "type": "text",
2607
- "primaryKey": false,
2608
- "notNull": false
2609
- },
2610
- "task_json": {
2611
- "name": "task_json",
2612
- "type": "jsonb",
2613
- "primaryKey": false,
2614
- "notNull": true
2615
- }
2616
- },
2617
- "indexes": {
2618
- "junior_event_tasks_team_idx": {
2619
- "name": "junior_event_tasks_team_idx",
2620
- "columns": [
2621
- {
2622
- "expression": "team_id",
2623
- "isExpression": false,
2624
- "asc": true,
2625
- "nulls": "last"
2626
- },
2627
- {
2628
- "expression": "created_at_ms",
2629
- "isExpression": false,
2630
- "asc": true,
2631
- "nulls": "last"
2632
- },
2633
- {
2634
- "expression": "id",
2635
- "isExpression": false,
2636
- "asc": true,
2637
- "nulls": "last"
2638
- }
2639
- ],
2640
- "isUnique": false,
2641
- "where": "\"junior_event_tasks\".\"status\" <> 'deleted'",
2642
- "concurrently": false,
2643
- "method": "btree",
2644
- "with": {}
2645
- },
2646
- "junior_event_tasks_match_idx": {
2647
- "name": "junior_event_tasks_match_idx",
2648
- "columns": [
2649
- {
2650
- "expression": "namespace",
2651
- "isExpression": false,
2652
- "asc": true,
2653
- "nulls": "last"
2654
- },
2655
- {
2656
- "expression": "identifier",
2657
- "isExpression": false,
2658
- "asc": true,
2659
- "nulls": "last"
2660
- },
2661
- {
2662
- "expression": "created_at_ms",
2663
- "isExpression": false,
2664
- "asc": true,
2665
- "nulls": "last"
2666
- },
2667
- {
2668
- "expression": "id",
2669
- "isExpression": false,
2670
- "asc": true,
2671
- "nulls": "last"
2672
- }
2673
- ],
2674
- "isUnique": false,
2675
- "where": "\"junior_event_tasks\".\"status\" <> 'deleted'",
2676
- "concurrently": false,
2677
- "method": "btree",
2678
- "with": {}
2679
- }
2680
- },
2681
- "foreignKeys": {},
2682
- "compositePrimaryKeys": {},
2683
- "uniqueConstraints": {},
2684
- "policies": {},
2685
- "checkConstraints": {},
2686
- "isRLSEnabled": false
2687
- },
2688
- "public.junior_identities": {
2689
- "name": "junior_identities",
2690
- "schema": "",
2691
- "columns": {
2692
- "id": {
2693
- "name": "id",
2694
- "type": "text",
2695
- "primaryKey": true,
2696
- "notNull": true
2697
- },
2698
- "kind": {
2699
- "name": "kind",
2700
- "type": "text",
2701
- "primaryKey": false,
2702
- "notNull": true
2703
- },
2704
- "provider": {
2705
- "name": "provider",
2706
- "type": "text",
2707
- "primaryKey": false,
2708
- "notNull": true
2709
- },
2710
- "provider_tenant_id": {
2711
- "name": "provider_tenant_id",
2712
- "type": "text",
2713
- "primaryKey": false,
2714
- "notNull": true,
2715
- "default": "''"
2716
- },
2717
- "provider_subject_id": {
2718
- "name": "provider_subject_id",
2719
- "type": "text",
2720
- "primaryKey": false,
2721
- "notNull": true
2722
- },
2723
- "display_name": {
2724
- "name": "display_name",
2725
- "type": "text",
2726
- "primaryKey": false,
2727
- "notNull": false
2728
- },
2729
- "handle": {
2730
- "name": "handle",
2731
- "type": "text",
2732
- "primaryKey": false,
2733
- "notNull": false
2734
- },
2735
- "email": {
2736
- "name": "email",
2737
- "type": "text",
2738
- "primaryKey": false,
2739
- "notNull": false
2740
- },
2741
- "avatar_url": {
2742
- "name": "avatar_url",
2743
- "type": "text",
2744
- "primaryKey": false,
2745
- "notNull": false
2746
- },
2747
- "metadata_json": {
2748
- "name": "metadata_json",
2749
- "type": "jsonb",
2750
- "primaryKey": false,
2751
- "notNull": false
2752
- },
2753
- "created_at": {
2754
- "name": "created_at",
2755
- "type": "timestamp with time zone",
2756
- "primaryKey": false,
2757
- "notNull": true
2758
- },
2759
- "updated_at": {
2760
- "name": "updated_at",
2761
- "type": "timestamp with time zone",
2762
- "primaryKey": false,
2763
- "notNull": true
2764
- },
2765
- "user_id": {
2766
- "name": "user_id",
2767
- "type": "text",
2768
- "primaryKey": false,
2769
- "notNull": false
2770
- },
2771
- "email_normalized": {
2772
- "name": "email_normalized",
2773
- "type": "text",
2774
- "primaryKey": false,
2775
- "notNull": false
2776
- },
2777
- "email_verified": {
2778
- "name": "email_verified",
2779
- "type": "boolean",
2780
- "primaryKey": false,
2781
- "notNull": true,
2782
- "default": false
2783
- }
2784
- },
2785
- "indexes": {
2786
- "junior_identities_provider_subject_uidx": {
2787
- "name": "junior_identities_provider_subject_uidx",
2788
- "columns": [
2789
- {
2790
- "expression": "provider",
2791
- "isExpression": false,
2792
- "asc": true,
2793
- "nulls": "last"
2794
- },
2795
- {
2796
- "expression": "provider_tenant_id",
2797
- "isExpression": false,
2798
- "asc": true,
2799
- "nulls": "last"
2800
- },
2801
- {
2802
- "expression": "provider_subject_id",
2803
- "isExpression": false,
2804
- "asc": true,
2805
- "nulls": "last"
2806
- }
2807
- ],
2808
- "isUnique": true,
2809
- "concurrently": false,
2810
- "method": "btree",
2811
- "with": {}
2812
- },
2813
- "junior_identities_user_idx": {
2814
- "name": "junior_identities_user_idx",
2815
- "columns": [
2816
- {
2817
- "expression": "user_id",
2818
- "isExpression": false,
2819
- "asc": true,
2820
- "nulls": "last"
2821
- }
2822
- ],
2823
- "isUnique": false,
2824
- "concurrently": false,
2825
- "method": "btree",
2826
- "with": {}
2827
- },
2828
- "junior_identities_verified_email_idx": {
2829
- "name": "junior_identities_verified_email_idx",
2830
- "columns": [
2831
- {
2832
- "expression": "email_normalized",
2833
- "isExpression": false,
2834
- "asc": true,
2835
- "nulls": "last"
2836
- }
2837
- ],
2838
- "isUnique": false,
2839
- "where": "\"junior_identities\".\"email_verified\" = true AND \"junior_identities\".\"email_normalized\" IS NOT NULL",
2840
- "concurrently": false,
2841
- "method": "btree",
2842
- "with": {}
2843
- },
2844
- "junior_identities_kind_provider_idx": {
2845
- "name": "junior_identities_kind_provider_idx",
2846
- "columns": [
2847
- {
2848
- "expression": "kind",
2849
- "isExpression": false,
2850
- "asc": true,
2851
- "nulls": "last"
2852
- },
2853
- {
2854
- "expression": "provider",
2855
- "isExpression": false,
2856
- "asc": true,
2857
- "nulls": "last"
2858
- }
2859
- ],
2860
- "isUnique": false,
2861
- "concurrently": false,
2862
- "method": "btree",
2863
- "with": {}
2864
- }
2865
- },
2866
- "foreignKeys": {
2867
- "junior_identities_user_id_junior_users_id_fk": {
2868
- "name": "junior_identities_user_id_junior_users_id_fk",
2869
- "tableFrom": "junior_identities",
2870
- "tableTo": "junior_users",
2871
- "columnsFrom": [
2872
- "user_id"
2873
- ],
2874
- "columnsTo": [
2875
- "id"
2876
- ],
2877
- "onDelete": "no action",
2878
- "onUpdate": "no action"
2879
- }
2880
- },
2881
- "compositePrimaryKeys": {},
2882
- "uniqueConstraints": {},
2883
- "policies": {},
2884
- "checkConstraints": {},
2885
- "isRLSEnabled": false
2886
- },
2887
- "public.junior_location_configurations": {
2888
- "name": "junior_location_configurations",
2889
- "schema": "",
2890
- "columns": {
2891
- "location_id": {
2892
- "name": "location_id",
2893
- "type": "text",
2894
- "primaryKey": false,
2895
- "notNull": true
2896
- },
2897
- "key": {
2898
- "name": "key",
2899
- "type": "text",
2900
- "primaryKey": false,
2901
- "notNull": true
2902
- },
2903
- "value": {
2904
- "name": "value",
2905
- "type": "text",
2906
- "primaryKey": false,
2907
- "notNull": true
2908
- },
2909
- "updated_at": {
2910
- "name": "updated_at",
2911
- "type": "timestamp with time zone",
2912
- "primaryKey": false,
2913
- "notNull": true
2914
- },
2915
- "updated_by": {
2916
- "name": "updated_by",
2917
- "type": "text",
2918
- "primaryKey": false,
2919
- "notNull": false
2920
- },
2921
- "source": {
2922
- "name": "source",
2923
- "type": "text",
2924
- "primaryKey": false,
2925
- "notNull": false
2926
- },
2927
- "expires_at": {
2928
- "name": "expires_at",
2929
- "type": "text",
2930
- "primaryKey": false,
2931
- "notNull": false
2932
- }
2933
- },
2934
- "indexes": {},
2935
- "foreignKeys": {
2936
- "junior_location_configurations_location_id_junior_destinations_id_fk": {
2937
- "name": "junior_location_configurations_location_id_junior_destinations_id_fk",
2938
- "tableFrom": "junior_location_configurations",
2939
- "tableTo": "junior_destinations",
2940
- "columnsFrom": [
2941
- "location_id"
2942
- ],
2943
- "columnsTo": [
2944
- "id"
2945
- ],
2946
- "onDelete": "cascade",
2947
- "onUpdate": "no action"
2948
- }
2949
- },
2950
- "compositePrimaryKeys": {
2951
- "junior_location_configurations_location_id_key_pk": {
2952
- "name": "junior_location_configurations_location_id_key_pk",
2953
- "columns": [
2954
- "location_id",
2955
- "key"
2956
- ]
2957
- }
2958
- },
2959
- "uniqueConstraints": {},
2960
- "policies": {},
2961
- "checkConstraints": {},
2962
- "isRLSEnabled": false
2963
- },
2964
- "public.junior_scheduler_runs": {
2965
- "name": "junior_scheduler_runs",
2966
- "schema": "",
2967
- "columns": {
2968
- "id": {
2969
- "name": "id",
2970
- "type": "text",
2971
- "primaryKey": true,
2972
- "notNull": true
2973
- },
2974
- "task_id": {
2975
- "name": "task_id",
2976
- "type": "text",
2977
- "primaryKey": false,
2978
- "notNull": true
2979
- },
2980
- "status": {
2981
- "name": "status",
2982
- "type": "text",
2983
- "primaryKey": false,
2984
- "notNull": true
2985
- },
2986
- "scheduled_for_ms": {
2987
- "name": "scheduled_for_ms",
2988
- "type": "bigint",
2989
- "primaryKey": false,
2990
- "notNull": true
2991
- },
2992
- "record": {
2993
- "name": "record",
2994
- "type": "jsonb",
2995
- "primaryKey": false,
2996
- "notNull": true
2997
- }
2998
- },
2999
- "indexes": {
3000
- "junior_scheduler_runs_task_status_idx": {
3001
- "name": "junior_scheduler_runs_task_status_idx",
3002
- "columns": [
3003
- {
3004
- "expression": "task_id",
3005
- "isExpression": false,
3006
- "asc": true,
3007
- "nulls": "last"
3008
- },
3009
- {
3010
- "expression": "status",
3011
- "isExpression": false,
3012
- "asc": true,
3013
- "nulls": "last"
3014
- },
3015
- {
3016
- "expression": "scheduled_for_ms",
3017
- "isExpression": false,
3018
- "asc": true,
3019
- "nulls": "last"
3020
- }
3021
- ],
3022
- "isUnique": false,
3023
- "concurrently": false,
3024
- "method": "btree",
3025
- "with": {}
3026
- },
3027
- "junior_scheduler_runs_status_idx": {
3028
- "name": "junior_scheduler_runs_status_idx",
3029
- "columns": [
3030
- {
3031
- "expression": "status",
3032
- "isExpression": false,
3033
- "asc": true,
3034
- "nulls": "last"
3035
- },
3036
- {
3037
- "expression": "scheduled_for_ms",
3038
- "isExpression": false,
3039
- "asc": true,
3040
- "nulls": "last"
3041
- }
3042
- ],
3043
- "isUnique": false,
3044
- "concurrently": false,
3045
- "method": "btree",
3046
- "with": {}
3047
- }
3048
- },
3049
- "foreignKeys": {},
3050
- "compositePrimaryKeys": {},
3051
- "uniqueConstraints": {},
3052
- "policies": {},
3053
- "checkConstraints": {},
3054
- "isRLSEnabled": false
3055
- },
3056
- "public.junior_scheduler_tasks": {
3057
- "name": "junior_scheduler_tasks",
3058
- "schema": "",
3059
- "columns": {
3060
- "id": {
3061
- "name": "id",
3062
- "type": "text",
3063
- "primaryKey": true,
3064
- "notNull": true
3065
- },
3066
- "team_id": {
3067
- "name": "team_id",
3068
- "type": "text",
3069
- "primaryKey": false,
3070
- "notNull": true
3071
- },
3072
- "creator_slack_user_id": {
3073
- "name": "creator_slack_user_id",
3074
- "type": "text",
3075
- "primaryKey": false,
3076
- "notNull": false
3077
- },
3078
- "creator_identity_id": {
3079
- "name": "creator_identity_id",
3080
- "type": "text",
3081
- "primaryKey": false,
3082
- "notNull": false
3083
- },
3084
- "status": {
3085
- "name": "status",
3086
- "type": "text",
3087
- "primaryKey": false,
3088
- "notNull": true
3089
- },
3090
- "next_run_at_ms": {
3091
- "name": "next_run_at_ms",
3092
- "type": "bigint",
3093
- "primaryKey": false,
3094
- "notNull": false
3095
- },
3096
- "run_now_at_ms": {
3097
- "name": "run_now_at_ms",
3098
- "type": "bigint",
3099
- "primaryKey": false,
3100
- "notNull": false
3101
- },
3102
- "created_at_ms": {
3103
- "name": "created_at_ms",
3104
- "type": "bigint",
3105
- "primaryKey": false,
3106
- "notNull": true
3107
- },
3108
- "title": {
3109
- "name": "title",
3110
- "type": "text",
3111
- "primaryKey": false,
3112
- "notNull": false
3113
- },
3114
- "record": {
3115
- "name": "record",
3116
- "type": "jsonb",
3117
- "primaryKey": false,
3118
- "notNull": true
3119
- }
3120
- },
3121
- "indexes": {
3122
- "junior_scheduler_tasks_creator_idx": {
3123
- "name": "junior_scheduler_tasks_creator_idx",
3124
- "columns": [
3125
- {
3126
- "expression": "team_id",
3127
- "isExpression": false,
3128
- "asc": true,
3129
- "nulls": "last"
3130
- },
3131
- {
3132
- "expression": "creator_slack_user_id",
3133
- "isExpression": false,
3134
- "asc": true,
3135
- "nulls": "last"
3136
- },
3137
- {
3138
- "expression": "created_at_ms",
3139
- "isExpression": false,
3140
- "asc": true,
3141
- "nulls": "last"
3142
- },
3143
- {
3144
- "expression": "id",
3145
- "isExpression": false,
3146
- "asc": true,
3147
- "nulls": "last"
3148
- }
3149
- ],
3150
- "isUnique": false,
3151
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted'",
3152
- "concurrently": false,
3153
- "method": "btree",
3154
- "with": {}
3155
- },
3156
- "junior_scheduler_tasks_creator_identity_idx": {
3157
- "name": "junior_scheduler_tasks_creator_identity_idx",
3158
- "columns": [
3159
- {
3160
- "expression": "creator_identity_id",
3161
- "isExpression": false,
3162
- "asc": true,
3163
- "nulls": "last"
3164
- },
3165
- {
3166
- "expression": "created_at_ms",
3167
- "isExpression": false,
3168
- "asc": true,
3169
- "nulls": "last"
3170
- },
3171
- {
3172
- "expression": "id",
3173
- "isExpression": false,
3174
- "asc": true,
3175
- "nulls": "last"
3176
- }
3177
- ],
3178
- "isUnique": false,
3179
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted' AND \"junior_scheduler_tasks\".\"creator_identity_id\" IS NOT NULL",
3180
- "concurrently": false,
3181
- "method": "btree",
3182
- "with": {}
3183
- },
3184
- "junior_scheduler_tasks_team_status_idx": {
3185
- "name": "junior_scheduler_tasks_team_status_idx",
3186
- "columns": [
3187
- {
3188
- "expression": "team_id",
3189
- "isExpression": false,
3190
- "asc": true,
3191
- "nulls": "last"
3192
- },
3193
- {
3194
- "expression": "created_at_ms",
3195
- "isExpression": false,
3196
- "asc": true,
3197
- "nulls": "last"
3198
- },
3199
- {
3200
- "expression": "id",
3201
- "isExpression": false,
3202
- "asc": true,
3203
- "nulls": "last"
3204
- }
3205
- ],
3206
- "isUnique": false,
3207
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted'",
3208
- "concurrently": false,
3209
- "method": "btree",
3210
- "with": {}
3211
- },
3212
- "junior_scheduler_tasks_run_now_due_idx": {
3213
- "name": "junior_scheduler_tasks_run_now_due_idx",
3214
- "columns": [
3215
- {
3216
- "expression": "run_now_at_ms",
3217
- "isExpression": false,
3218
- "asc": true,
3219
- "nulls": "last"
3220
- },
3221
- {
3222
- "expression": "created_at_ms",
3223
- "isExpression": false,
3224
- "asc": true,
3225
- "nulls": "last"
3226
- },
3227
- {
3228
- "expression": "id",
3229
- "isExpression": false,
3230
- "asc": true,
3231
- "nulls": "last"
3232
- }
3233
- ],
3234
- "isUnique": false,
3235
- "where": "\"junior_scheduler_tasks\".\"status\" = 'active' AND \"junior_scheduler_tasks\".\"run_now_at_ms\" IS NOT NULL",
3236
- "concurrently": false,
3237
- "method": "btree",
3238
- "with": {}
3239
- },
3240
- "junior_scheduler_tasks_next_run_due_idx": {
3241
- "name": "junior_scheduler_tasks_next_run_due_idx",
3242
- "columns": [
3243
- {
3244
- "expression": "next_run_at_ms",
3245
- "isExpression": false,
3246
- "asc": true,
3247
- "nulls": "last"
3248
- },
3249
- {
3250
- "expression": "created_at_ms",
3251
- "isExpression": false,
3252
- "asc": true,
3253
- "nulls": "last"
3254
- },
3255
- {
3256
- "expression": "id",
3257
- "isExpression": false,
3258
- "asc": true,
3259
- "nulls": "last"
3260
- }
3261
- ],
3262
- "isUnique": false,
3263
- "where": "\"junior_scheduler_tasks\".\"status\" = 'active' AND \"junior_scheduler_tasks\".\"next_run_at_ms\" IS NOT NULL",
3264
- "concurrently": false,
3265
- "method": "btree",
3266
- "with": {}
3267
- }
3268
- },
3269
- "foreignKeys": {},
3270
- "compositePrimaryKeys": {},
3271
- "uniqueConstraints": {},
3272
- "policies": {},
3273
- "checkConstraints": {},
3274
- "isRLSEnabled": false
3275
- },
3276
- "public.junior_snapshots": {
3277
- "name": "junior_snapshots",
3278
- "schema": "",
3279
- "columns": {
3280
- "id": {
3281
- "name": "id",
3282
- "type": "text",
3283
- "primaryKey": true,
3284
- "notNull": true
3285
- },
3286
- "workspace_id": {
3287
- "name": "workspace_id",
3288
- "type": "text",
3289
- "primaryKey": false,
3290
- "notNull": true
3291
- },
3292
- "profile_hash": {
3293
- "name": "profile_hash",
3294
- "type": "text",
3295
- "primaryKey": false,
3296
- "notNull": true
3297
- },
3298
- "status": {
3299
- "name": "status",
3300
- "type": "text",
3301
- "primaryKey": false,
3302
- "notNull": true
3303
- },
3304
- "snapshot_id": {
3305
- "name": "snapshot_id",
3306
- "type": "text",
3307
- "primaryKey": false,
3308
- "notNull": false
3309
- },
3310
- "build_duration_ms": {
3311
- "name": "build_duration_ms",
3312
- "type": "integer",
3313
- "primaryKey": false,
3314
- "notNull": false
3315
- },
3316
- "size_bytes": {
3317
- "name": "size_bytes",
3318
- "type": "bigint",
3319
- "primaryKey": false,
3320
- "notNull": false
3321
- },
3322
- "generated_at": {
3323
- "name": "generated_at",
3324
- "type": "timestamp with time zone",
3325
- "primaryKey": false,
3326
- "notNull": false
3327
- },
3328
- "build_started_at": {
3329
- "name": "build_started_at",
3330
- "type": "timestamp with time zone",
3331
- "primaryKey": false,
3332
- "notNull": false
3333
- },
3334
- "build_phase": {
3335
- "name": "build_phase",
3336
- "type": "text",
3337
- "primaryKey": false,
3338
- "notNull": false
3339
- },
3340
- "build_sandbox_name": {
3341
- "name": "build_sandbox_name",
3342
- "type": "text",
3343
- "primaryKey": false,
3344
- "notNull": false
3345
- },
3346
- "build_command_id": {
3347
- "name": "build_command_id",
3348
- "type": "text",
3349
- "primaryKey": false,
3350
- "notNull": false
3351
- },
3352
- "build_error": {
3353
- "name": "build_error",
3354
- "type": "text",
3355
- "primaryKey": false,
3356
- "notNull": false
3357
- },
3358
- "created_at": {
3359
- "name": "created_at",
3360
- "type": "timestamp with time zone",
3361
- "primaryKey": false,
3362
- "notNull": true
3363
- },
3364
- "updated_at": {
3365
- "name": "updated_at",
3366
- "type": "timestamp with time zone",
3367
- "primaryKey": false,
3368
- "notNull": true
3369
- }
3370
- },
3371
- "indexes": {
3372
- "junior_snapshots_snapshot_id_uidx": {
3373
- "name": "junior_snapshots_snapshot_id_uidx",
3374
- "columns": [
3375
- {
3376
- "expression": "snapshot_id",
3377
- "isExpression": false,
3378
- "asc": true,
3379
- "nulls": "last"
3380
- }
3381
- ],
3382
- "isUnique": true,
3383
- "concurrently": false,
3384
- "method": "btree",
3385
- "with": {}
3386
- },
3387
- "junior_snapshots_workspace_idx": {
3388
- "name": "junior_snapshots_workspace_idx",
3389
- "columns": [
3390
- {
3391
- "expression": "workspace_id",
3392
- "isExpression": false,
3393
- "asc": true,
3394
- "nulls": "last"
3395
- }
3396
- ],
3397
- "isUnique": false,
3398
- "concurrently": false,
3399
- "method": "btree",
3400
- "with": {}
3401
- },
3402
- "junior_snapshots_workspace_profile_status_idx": {
3403
- "name": "junior_snapshots_workspace_profile_status_idx",
3404
- "columns": [
3405
- {
3406
- "expression": "workspace_id",
3407
- "isExpression": false,
3408
- "asc": true,
3409
- "nulls": "last"
3410
- },
3411
- {
3412
- "expression": "profile_hash",
3413
- "isExpression": false,
3414
- "asc": true,
3415
- "nulls": "last"
3416
- },
3417
- {
3418
- "expression": "status",
3419
- "isExpression": false,
3420
- "asc": true,
3421
- "nulls": "last"
3422
- }
3423
- ],
3424
- "isUnique": false,
3425
- "concurrently": false,
3426
- "method": "btree",
3427
- "with": {}
3428
- },
3429
- "junior_snapshots_active_build_uidx": {
3430
- "name": "junior_snapshots_active_build_uidx",
3431
- "columns": [
3432
- {
3433
- "expression": "workspace_id",
3434
- "isExpression": false,
3435
- "asc": true,
3436
- "nulls": "last"
3437
- },
3438
- {
3439
- "expression": "profile_hash",
3440
- "isExpression": false,
3441
- "asc": true,
3442
- "nulls": "last"
3443
- }
3444
- ],
3445
- "isUnique": true,
3446
- "where": "\"junior_snapshots\".\"status\" = 'building'",
3447
- "concurrently": false,
3448
- "method": "btree",
3449
- "with": {}
3450
- },
3451
- "junior_snapshots_workspace_status_idx": {
3452
- "name": "junior_snapshots_workspace_status_idx",
3453
- "columns": [
3454
- {
3455
- "expression": "workspace_id",
3456
- "isExpression": false,
3457
- "asc": true,
3458
- "nulls": "last"
3459
- },
3460
- {
3461
- "expression": "status",
3462
- "isExpression": false,
3463
- "asc": true,
3464
- "nulls": "last"
3465
- }
3466
- ],
3467
- "isUnique": false,
3468
- "concurrently": false,
3469
- "method": "btree",
3470
- "with": {}
3471
- }
3472
- },
3473
- "foreignKeys": {
3474
- "junior_snapshots_workspace_id_junior_workspaces_id_fk": {
3475
- "name": "junior_snapshots_workspace_id_junior_workspaces_id_fk",
3476
- "tableFrom": "junior_snapshots",
3477
- "tableTo": "junior_workspaces",
3478
- "columnsFrom": [
3479
- "workspace_id"
3480
- ],
3481
- "columnsTo": [
3482
- "id"
3483
- ],
3484
- "onDelete": "cascade",
3485
- "onUpdate": "no action"
3486
- }
3487
- },
3488
- "compositePrimaryKeys": {},
3489
- "uniqueConstraints": {},
3490
- "policies": {},
3491
- "checkConstraints": {
3492
- "junior_snapshots_status_check": {
3493
- "name": "junior_snapshots_status_check",
3494
- "value": "\"junior_snapshots\".\"status\" in ('building', 'failed', 'ready')"
3495
- },
3496
- "junior_snapshots_build_phase_check": {
3497
- "name": "junior_snapshots_build_phase_check",
3498
- "value": "\"junior_snapshots\".\"build_phase\" is null or \"junior_snapshots\".\"build_phase\" in ('created', 'dependencies_installed', 'repositories_prepared')"
3499
- },
3500
- "junior_snapshots_ready_fields_check": {
3501
- "name": "junior_snapshots_ready_fields_check",
3502
- "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)"
3503
- },
3504
- "junior_snapshots_build_fields_check": {
3505
- "name": "junior_snapshots_build_fields_check",
3506
- "value": "\"junior_snapshots\".\"status\" = 'ready' or (\"junior_snapshots\".\"build_started_at\" is not null and \"junior_snapshots\".\"build_phase\" is not null)"
3507
- },
3508
- "junior_snapshots_build_duration_check": {
3509
- "name": "junior_snapshots_build_duration_check",
3510
- "value": "\"junior_snapshots\".\"build_duration_ms\" is null or \"junior_snapshots\".\"build_duration_ms\" >= 0"
3511
- },
3512
- "junior_snapshots_size_bytes_check": {
3513
- "name": "junior_snapshots_size_bytes_check",
3514
- "value": "\"junior_snapshots\".\"size_bytes\" is null or \"junior_snapshots\".\"size_bytes\" >= 0"
3515
- }
3516
- },
3517
- "isRLSEnabled": false
3518
- },
3519
- "public.junior_stats": {
3520
- "name": "junior_stats",
3521
- "schema": "",
3522
- "columns": {
3523
- "date": {
3524
- "name": "date",
3525
- "type": "date",
3526
- "primaryKey": false,
3527
- "notNull": true
3528
- },
3529
- "namespace": {
3530
- "name": "namespace",
3531
- "type": "text",
3532
- "primaryKey": false,
3533
- "notNull": true
3534
- },
3535
- "metric": {
3536
- "name": "metric",
3537
- "type": "text",
3538
- "primaryKey": false,
3539
- "notNull": true
3540
- },
3541
- "name": {
3542
- "name": "name",
3543
- "type": "text",
3544
- "primaryKey": false,
3545
- "notNull": true
3546
- },
3547
- "count": {
3548
- "name": "count",
3549
- "type": "integer",
3550
- "primaryKey": false,
3551
- "notNull": true,
3552
- "default": 0
3553
- }
3554
- },
3555
- "indexes": {},
3556
- "foreignKeys": {},
3557
- "compositePrimaryKeys": {
3558
- "junior_stats_date_namespace_metric_name_pk": {
3559
- "name": "junior_stats_date_namespace_metric_name_pk",
3560
- "columns": [
3561
- "date",
3562
- "namespace",
3563
- "metric",
3564
- "name"
3565
- ]
3566
- }
3567
- },
3568
- "uniqueConstraints": {},
3569
- "policies": {},
3570
- "checkConstraints": {},
3571
- "isRLSEnabled": false
3572
- },
3573
- "public.junior_users": {
3574
- "name": "junior_users",
3575
- "schema": "",
3576
- "columns": {
3577
- "id": {
3578
- "name": "id",
3579
- "type": "text",
3580
- "primaryKey": true,
3581
- "notNull": true
3582
- },
3583
- "primary_email": {
3584
- "name": "primary_email",
3585
- "type": "text",
3586
- "primaryKey": false,
3587
- "notNull": true
3588
- },
3589
- "primary_email_normalized": {
3590
- "name": "primary_email_normalized",
3591
- "type": "text",
3592
- "primaryKey": false,
3593
- "notNull": true
3594
- },
3595
- "display_name": {
3596
- "name": "display_name",
3597
- "type": "text",
3598
- "primaryKey": false,
3599
- "notNull": false
3600
- },
3601
- "timezone": {
3602
- "name": "timezone",
3603
- "type": "text",
3604
- "primaryKey": false,
3605
- "notNull": false
3606
- },
3607
- "is_admin": {
3608
- "name": "is_admin",
3609
- "type": "boolean",
3610
- "primaryKey": false,
3611
- "notNull": true,
3612
- "default": false
3613
- },
3614
- "created_at": {
3615
- "name": "created_at",
3616
- "type": "timestamp with time zone",
3617
- "primaryKey": false,
3618
- "notNull": true
3619
- },
3620
- "updated_at": {
3621
- "name": "updated_at",
3622
- "type": "timestamp with time zone",
3623
- "primaryKey": false,
3624
- "notNull": true
3625
- }
3626
- },
3627
- "indexes": {
3628
- "junior_users_primary_email_normalized_uidx": {
3629
- "name": "junior_users_primary_email_normalized_uidx",
3630
- "columns": [
3631
- {
3632
- "expression": "primary_email_normalized",
3633
- "isExpression": false,
3634
- "asc": true,
3635
- "nulls": "last"
3636
- }
3637
- ],
3638
- "isUnique": true,
3639
- "concurrently": false,
3640
- "method": "btree",
3641
- "with": {}
3642
- }
3643
- },
3644
- "foreignKeys": {},
3645
- "compositePrimaryKeys": {},
3646
- "uniqueConstraints": {},
3647
- "policies": {},
3648
- "checkConstraints": {},
3649
- "isRLSEnabled": false
3650
- },
3651
- "public.junior_workspace_repos": {
3652
- "name": "junior_workspace_repos",
3653
- "schema": "",
3654
- "columns": {
3655
- "workspace_id": {
3656
- "name": "workspace_id",
3657
- "type": "text",
3658
- "primaryKey": false,
3659
- "notNull": true
3660
- },
3661
- "provider": {
3662
- "name": "provider",
3663
- "type": "text",
3664
- "primaryKey": false,
3665
- "notNull": true
3666
- },
3667
- "repo": {
3668
- "name": "repo",
3669
- "type": "text",
3670
- "primaryKey": false,
3671
- "notNull": true
3672
- }
3673
- },
3674
- "indexes": {},
3675
- "foreignKeys": {
3676
- "junior_workspace_repos_workspace_id_junior_workspaces_id_fk": {
3677
- "name": "junior_workspace_repos_workspace_id_junior_workspaces_id_fk",
3678
- "tableFrom": "junior_workspace_repos",
3679
- "tableTo": "junior_workspaces",
3680
- "columnsFrom": [
3681
- "workspace_id"
3682
- ],
3683
- "columnsTo": [
3684
- "id"
3685
- ],
3686
- "onDelete": "cascade",
3687
- "onUpdate": "no action"
3688
- }
3689
- },
3690
- "compositePrimaryKeys": {
3691
- "junior_workspace_repos_workspace_id_provider_repo_pk": {
3692
- "name": "junior_workspace_repos_workspace_id_provider_repo_pk",
3693
- "columns": [
3694
- "workspace_id",
3695
- "provider",
3696
- "repo"
3697
- ]
3698
- }
3699
- },
3700
- "uniqueConstraints": {},
3701
- "policies": {},
3702
- "checkConstraints": {},
3703
- "isRLSEnabled": false
3704
- },
3705
- "public.junior_workspaces": {
3706
- "name": "junior_workspaces",
3707
- "schema": "",
3708
- "columns": {
3709
- "id": {
3710
- "name": "id",
3711
- "type": "text",
3712
- "primaryKey": true,
3713
- "notNull": true
3714
- },
3715
- "name": {
3716
- "name": "name",
3717
- "type": "text",
3718
- "primaryKey": false,
3719
- "notNull": true
3720
- },
3721
- "setup_script": {
3722
- "name": "setup_script",
3723
- "type": "text",
3724
- "primaryKey": false,
3725
- "notNull": true,
3726
- "default": "''"
3727
- },
3728
- "created_at": {
3729
- "name": "created_at",
3730
- "type": "timestamp with time zone",
3731
- "primaryKey": false,
3732
- "notNull": true
3733
- },
3734
- "updated_at": {
3735
- "name": "updated_at",
3736
- "type": "timestamp with time zone",
3737
- "primaryKey": false,
3738
- "notNull": true
3739
- }
3740
- },
3741
- "indexes": {
3742
- "junior_workspaces_name_idx": {
3743
- "name": "junior_workspaces_name_idx",
3744
- "columns": [
3745
- {
3746
- "expression": "name",
3747
- "isExpression": false,
3748
- "asc": true,
3749
- "nulls": "last"
3750
- }
3751
- ],
3752
- "isUnique": true,
3753
- "concurrently": false,
3754
- "method": "btree",
3755
- "with": {}
3756
- }
3757
- },
3758
- "foreignKeys": {},
3759
- "compositePrimaryKeys": {},
3760
- "uniqueConstraints": {},
3761
- "policies": {},
3762
- "checkConstraints": {},
3763
- "isRLSEnabled": false
3764
- }
3765
- },
3766
- "enums": {},
3767
- "schemas": {},
3768
- "sequences": {},
3769
- "roles": {},
3770
- "policies": {},
3771
- "views": {},
3772
- "_meta": {
3773
- "columns": {},
3774
- "schemas": {},
3775
- "tables": {}
3776
- }
3777
- }