@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,1904 +0,0 @@
1
- {
2
- "id": "80dc4db3-8037-4fb0-a375-a2b4d217feb5",
3
- "prevId": "dd0b031f-d92a-4db5-96dd-7f6b77042d4a",
4
- "version": "7",
5
- "dialect": "postgresql",
6
- "tables": {
7
- "public.junior_api_tokens": {
8
- "name": "junior_api_tokens",
9
- "schema": "",
10
- "columns": {
11
- "id": {
12
- "name": "id",
13
- "type": "text",
14
- "primaryKey": true,
15
- "notNull": true
16
- },
17
- "owner_email_normalized": {
18
- "name": "owner_email_normalized",
19
- "type": "text",
20
- "primaryKey": false,
21
- "notNull": true
22
- },
23
- "name": {
24
- "name": "name",
25
- "type": "text",
26
- "primaryKey": false,
27
- "notNull": true
28
- },
29
- "token_hash": {
30
- "name": "token_hash",
31
- "type": "text",
32
- "primaryKey": false,
33
- "notNull": true
34
- },
35
- "token_suffix": {
36
- "name": "token_suffix",
37
- "type": "text",
38
- "primaryKey": false,
39
- "notNull": true
40
- },
41
- "created_at": {
42
- "name": "created_at",
43
- "type": "timestamp with time zone",
44
- "primaryKey": false,
45
- "notNull": true
46
- },
47
- "expires_at": {
48
- "name": "expires_at",
49
- "type": "timestamp with time zone",
50
- "primaryKey": false,
51
- "notNull": true
52
- },
53
- "last_used_at": {
54
- "name": "last_used_at",
55
- "type": "timestamp with time zone",
56
- "primaryKey": false,
57
- "notNull": false
58
- },
59
- "revoked_at": {
60
- "name": "revoked_at",
61
- "type": "timestamp with time zone",
62
- "primaryKey": false,
63
- "notNull": false
64
- }
65
- },
66
- "indexes": {
67
- "junior_api_tokens_token_hash_uidx": {
68
- "name": "junior_api_tokens_token_hash_uidx",
69
- "columns": [
70
- {
71
- "expression": "token_hash",
72
- "isExpression": false,
73
- "asc": true,
74
- "nulls": "last"
75
- }
76
- ],
77
- "isUnique": true,
78
- "concurrently": false,
79
- "method": "btree",
80
- "with": {}
81
- },
82
- "junior_api_tokens_owner_email_idx": {
83
- "name": "junior_api_tokens_owner_email_idx",
84
- "columns": [
85
- {
86
- "expression": "owner_email_normalized",
87
- "isExpression": false,
88
- "asc": true,
89
- "nulls": "last"
90
- }
91
- ],
92
- "isUnique": false,
93
- "concurrently": false,
94
- "method": "btree",
95
- "with": {}
96
- }
97
- },
98
- "foreignKeys": {},
99
- "compositePrimaryKeys": {},
100
- "uniqueConstraints": {},
101
- "policies": {},
102
- "checkConstraints": {},
103
- "isRLSEnabled": false
104
- },
105
- "public.junior_conversation_annotations": {
106
- "name": "junior_conversation_annotations",
107
- "schema": "",
108
- "columns": {
109
- "conversation_id": {
110
- "name": "conversation_id",
111
- "type": "text",
112
- "primaryKey": false,
113
- "notNull": true
114
- },
115
- "plugin": {
116
- "name": "plugin",
117
- "type": "text",
118
- "primaryKey": false,
119
- "notNull": true
120
- },
121
- "kind": {
122
- "name": "kind",
123
- "type": "text",
124
- "primaryKey": false,
125
- "notNull": true
126
- },
127
- "key": {
128
- "name": "key",
129
- "type": "text",
130
- "primaryKey": false,
131
- "notNull": true
132
- },
133
- "annotation_json": {
134
- "name": "annotation_json",
135
- "type": "jsonb",
136
- "primaryKey": false,
137
- "notNull": true
138
- },
139
- "created_at": {
140
- "name": "created_at",
141
- "type": "timestamp with time zone",
142
- "primaryKey": false,
143
- "notNull": true
144
- },
145
- "updated_at": {
146
- "name": "updated_at",
147
- "type": "timestamp with time zone",
148
- "primaryKey": false,
149
- "notNull": true
150
- }
151
- },
152
- "indexes": {},
153
- "foreignKeys": {
154
- "junior_conversation_annotations_conversation_id_fk": {
155
- "name": "junior_conversation_annotations_conversation_id_fk",
156
- "tableFrom": "junior_conversation_annotations",
157
- "tableTo": "junior_conversations",
158
- "columnsFrom": [
159
- "conversation_id"
160
- ],
161
- "columnsTo": [
162
- "conversation_id"
163
- ],
164
- "onDelete": "cascade",
165
- "onUpdate": "no action"
166
- }
167
- },
168
- "compositePrimaryKeys": {
169
- "junior_conversation_annotations_pk": {
170
- "name": "junior_conversation_annotations_pk",
171
- "columns": [
172
- "conversation_id",
173
- "plugin",
174
- "kind",
175
- "key"
176
- ]
177
- }
178
- },
179
- "uniqueConstraints": {},
180
- "policies": {},
181
- "checkConstraints": {},
182
- "isRLSEnabled": false
183
- },
184
- "public.junior_conversation_bindings": {
185
- "name": "junior_conversation_bindings",
186
- "schema": "",
187
- "columns": {
188
- "conversation_id": {
189
- "name": "conversation_id",
190
- "type": "text",
191
- "primaryKey": false,
192
- "notNull": true
193
- },
194
- "provider": {
195
- "name": "provider",
196
- "type": "text",
197
- "primaryKey": false,
198
- "notNull": true
199
- },
200
- "provider_tenant_id": {
201
- "name": "provider_tenant_id",
202
- "type": "text",
203
- "primaryKey": false,
204
- "notNull": true,
205
- "default": "''"
206
- },
207
- "provider_destination_id": {
208
- "name": "provider_destination_id",
209
- "type": "text",
210
- "primaryKey": false,
211
- "notNull": true
212
- },
213
- "provider_conversation_id": {
214
- "name": "provider_conversation_id",
215
- "type": "text",
216
- "primaryKey": false,
217
- "notNull": true
218
- },
219
- "created_at": {
220
- "name": "created_at",
221
- "type": "timestamp with time zone",
222
- "primaryKey": false,
223
- "notNull": true
224
- }
225
- },
226
- "indexes": {
227
- "junior_conversation_bindings_conversation_idx": {
228
- "name": "junior_conversation_bindings_conversation_idx",
229
- "columns": [
230
- {
231
- "expression": "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
- },
243
- "foreignKeys": {
244
- "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk": {
245
- "name": "junior_conversation_bindings_conversation_id_junior_conversations_conversation_id_fk",
246
- "tableFrom": "junior_conversation_bindings",
247
- "tableTo": "junior_conversations",
248
- "columnsFrom": [
249
- "conversation_id"
250
- ],
251
- "columnsTo": [
252
- "conversation_id"
253
- ],
254
- "onDelete": "no action",
255
- "onUpdate": "no action"
256
- }
257
- },
258
- "compositePrimaryKeys": {
259
- "junior_conversation_bindings_provider_conversation_pk": {
260
- "name": "junior_conversation_bindings_provider_conversation_pk",
261
- "columns": [
262
- "provider",
263
- "provider_tenant_id",
264
- "provider_destination_id",
265
- "provider_conversation_id"
266
- ]
267
- }
268
- },
269
- "uniqueConstraints": {},
270
- "policies": {},
271
- "checkConstraints": {},
272
- "isRLSEnabled": false
273
- },
274
- "public.junior_conversation_events": {
275
- "name": "junior_conversation_events",
276
- "schema": "",
277
- "columns": {
278
- "conversation_id": {
279
- "name": "conversation_id",
280
- "type": "text",
281
- "primaryKey": false,
282
- "notNull": true
283
- },
284
- "seq": {
285
- "name": "seq",
286
- "type": "integer",
287
- "primaryKey": false,
288
- "notNull": true
289
- },
290
- "history_version": {
291
- "name": "history_version",
292
- "type": "integer",
293
- "primaryKey": false,
294
- "notNull": true
295
- },
296
- "schema_version": {
297
- "name": "schema_version",
298
- "type": "integer",
299
- "primaryKey": false,
300
- "notNull": true,
301
- "default": 1
302
- },
303
- "idempotency_key": {
304
- "name": "idempotency_key",
305
- "type": "text",
306
- "primaryKey": false,
307
- "notNull": false
308
- },
309
- "type": {
310
- "name": "type",
311
- "type": "text",
312
- "primaryKey": false,
313
- "notNull": true
314
- },
315
- "payload": {
316
- "name": "payload",
317
- "type": "jsonb",
318
- "primaryKey": false,
319
- "notNull": true
320
- },
321
- "created_at": {
322
- "name": "created_at",
323
- "type": "timestamp with time zone",
324
- "primaryKey": false,
325
- "notNull": true
326
- }
327
- },
328
- "indexes": {
329
- "junior_conversation_events_history_version_idx": {
330
- "name": "junior_conversation_events_history_version_idx",
331
- "columns": [
332
- {
333
- "expression": "conversation_id",
334
- "isExpression": false,
335
- "asc": true,
336
- "nulls": "last"
337
- },
338
- {
339
- "expression": "history_version",
340
- "isExpression": false,
341
- "asc": true,
342
- "nulls": "last"
343
- },
344
- {
345
- "expression": "seq",
346
- "isExpression": false,
347
- "asc": true,
348
- "nulls": "last"
349
- }
350
- ],
351
- "isUnique": false,
352
- "concurrently": false,
353
- "method": "btree",
354
- "with": {}
355
- },
356
- "junior_conversation_events_type_idx": {
357
- "name": "junior_conversation_events_type_idx",
358
- "columns": [
359
- {
360
- "expression": "conversation_id",
361
- "isExpression": false,
362
- "asc": true,
363
- "nulls": "last"
364
- },
365
- {
366
- "expression": "type",
367
- "isExpression": false,
368
- "asc": true,
369
- "nulls": "last"
370
- },
371
- {
372
- "expression": "seq",
373
- "isExpression": false,
374
- "asc": true,
375
- "nulls": "last"
376
- }
377
- ],
378
- "isUnique": false,
379
- "concurrently": false,
380
- "method": "btree",
381
- "with": {}
382
- },
383
- "junior_conversation_events_message_search_idx": {
384
- "name": "junior_conversation_events_message_search_idx",
385
- "columns": [
386
- {
387
- "expression": "to_tsvector('english', \"payload\"->>'text')",
388
- "asc": true,
389
- "isExpression": true,
390
- "nulls": "last"
391
- }
392
- ],
393
- "isUnique": false,
394
- "where": "\"junior_conversation_events\".\"type\" = 'message'",
395
- "concurrently": false,
396
- "method": "gin",
397
- "with": {}
398
- },
399
- "junior_conversation_events_idempotency_idx": {
400
- "name": "junior_conversation_events_idempotency_idx",
401
- "columns": [
402
- {
403
- "expression": "conversation_id",
404
- "isExpression": false,
405
- "asc": true,
406
- "nulls": "last"
407
- },
408
- {
409
- "expression": "idempotency_key",
410
- "isExpression": false,
411
- "asc": true,
412
- "nulls": "last"
413
- }
414
- ],
415
- "isUnique": true,
416
- "concurrently": false,
417
- "method": "btree",
418
- "with": {}
419
- }
420
- },
421
- "foreignKeys": {
422
- "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk": {
423
- "name": "junior_conversation_events_conversation_id_junior_conversations_conversation_id_fk",
424
- "tableFrom": "junior_conversation_events",
425
- "tableTo": "junior_conversations",
426
- "columnsFrom": [
427
- "conversation_id"
428
- ],
429
- "columnsTo": [
430
- "conversation_id"
431
- ],
432
- "onDelete": "no action",
433
- "onUpdate": "no action"
434
- }
435
- },
436
- "compositePrimaryKeys": {
437
- "junior_conversation_events_conversation_id_seq_pk": {
438
- "name": "junior_conversation_events_conversation_id_seq_pk",
439
- "columns": [
440
- "conversation_id",
441
- "seq"
442
- ]
443
- }
444
- },
445
- "uniqueConstraints": {},
446
- "policies": {},
447
- "checkConstraints": {},
448
- "isRLSEnabled": false
449
- },
450
- "public.junior_conversations": {
451
- "name": "junior_conversations",
452
- "schema": "",
453
- "columns": {
454
- "conversation_id": {
455
- "name": "conversation_id",
456
- "type": "text",
457
- "primaryKey": true,
458
- "notNull": true
459
- },
460
- "schema_version": {
461
- "name": "schema_version",
462
- "type": "integer",
463
- "primaryKey": false,
464
- "notNull": true,
465
- "default": 1
466
- },
467
- "source": {
468
- "name": "source",
469
- "type": "text",
470
- "primaryKey": false,
471
- "notNull": false
472
- },
473
- "source_json": {
474
- "name": "source_json",
475
- "type": "jsonb",
476
- "primaryKey": false,
477
- "notNull": false
478
- },
479
- "origin_type": {
480
- "name": "origin_type",
481
- "type": "text",
482
- "primaryKey": false,
483
- "notNull": false
484
- },
485
- "origin_id": {
486
- "name": "origin_id",
487
- "type": "text",
488
- "primaryKey": false,
489
- "notNull": false
490
- },
491
- "origin_run_id": {
492
- "name": "origin_run_id",
493
- "type": "text",
494
- "primaryKey": false,
495
- "notNull": false
496
- },
497
- "destination_id": {
498
- "name": "destination_id",
499
- "type": "text",
500
- "primaryKey": false,
501
- "notNull": false
502
- },
503
- "destination_json": {
504
- "name": "destination_json",
505
- "type": "jsonb",
506
- "primaryKey": false,
507
- "notNull": false
508
- },
509
- "actor_identity_id": {
510
- "name": "actor_identity_id",
511
- "type": "text",
512
- "primaryKey": false,
513
- "notNull": false
514
- },
515
- "creator_identity_id": {
516
- "name": "creator_identity_id",
517
- "type": "text",
518
- "primaryKey": false,
519
- "notNull": false
520
- },
521
- "credential_subject_identity_id": {
522
- "name": "credential_subject_identity_id",
523
- "type": "text",
524
- "primaryKey": false,
525
- "notNull": false
526
- },
527
- "actor_json": {
528
- "name": "actor_json",
529
- "type": "jsonb",
530
- "primaryKey": false,
531
- "notNull": false
532
- },
533
- "channel_name": {
534
- "name": "channel_name",
535
- "type": "text",
536
- "primaryKey": false,
537
- "notNull": false
538
- },
539
- "title": {
540
- "name": "title",
541
- "type": "text",
542
- "primaryKey": false,
543
- "notNull": false
544
- },
545
- "created_at": {
546
- "name": "created_at",
547
- "type": "timestamp with time zone",
548
- "primaryKey": false,
549
- "notNull": true
550
- },
551
- "last_activity_at": {
552
- "name": "last_activity_at",
553
- "type": "timestamp with time zone",
554
- "primaryKey": false,
555
- "notNull": true
556
- },
557
- "updated_at": {
558
- "name": "updated_at",
559
- "type": "timestamp with time zone",
560
- "primaryKey": false,
561
- "notNull": true
562
- },
563
- "execution_updated_at": {
564
- "name": "execution_updated_at",
565
- "type": "timestamp with time zone",
566
- "primaryKey": false,
567
- "notNull": false
568
- },
569
- "execution_status": {
570
- "name": "execution_status",
571
- "type": "text",
572
- "primaryKey": false,
573
- "notNull": true
574
- },
575
- "run_id": {
576
- "name": "run_id",
577
- "type": "text",
578
- "primaryKey": false,
579
- "notNull": false
580
- },
581
- "last_checkpoint_at": {
582
- "name": "last_checkpoint_at",
583
- "type": "timestamp with time zone",
584
- "primaryKey": false,
585
- "notNull": false
586
- },
587
- "last_enqueued_at": {
588
- "name": "last_enqueued_at",
589
- "type": "timestamp with time zone",
590
- "primaryKey": false,
591
- "notNull": false
592
- },
593
- "parent_conversation_id": {
594
- "name": "parent_conversation_id",
595
- "type": "text",
596
- "primaryKey": false,
597
- "notNull": false
598
- },
599
- "root_conversation_id": {
600
- "name": "root_conversation_id",
601
- "type": "text",
602
- "primaryKey": false,
603
- "notNull": false
604
- },
605
- "transcript_purged_at": {
606
- "name": "transcript_purged_at",
607
- "type": "timestamp with time zone",
608
- "primaryKey": false,
609
- "notNull": false
610
- },
611
- "duration_ms": {
612
- "name": "duration_ms",
613
- "type": "integer",
614
- "primaryKey": false,
615
- "notNull": true,
616
- "default": 0
617
- },
618
- "usage_json": {
619
- "name": "usage_json",
620
- "type": "jsonb",
621
- "primaryKey": false,
622
- "notNull": false
623
- },
624
- "execution_duration_ms": {
625
- "name": "execution_duration_ms",
626
- "type": "integer",
627
- "primaryKey": false,
628
- "notNull": true,
629
- "default": 0
630
- },
631
- "execution_usage_json": {
632
- "name": "execution_usage_json",
633
- "type": "jsonb",
634
- "primaryKey": false,
635
- "notNull": false
636
- },
637
- "metric_run_id": {
638
- "name": "metric_run_id",
639
- "type": "text",
640
- "primaryKey": false,
641
- "notNull": false
642
- },
643
- "archived_at": {
644
- "name": "archived_at",
645
- "type": "timestamp with time zone",
646
- "primaryKey": false,
647
- "notNull": false
648
- }
649
- },
650
- "indexes": {
651
- "junior_conversations_last_activity_idx": {
652
- "name": "junior_conversations_last_activity_idx",
653
- "columns": [
654
- {
655
- "expression": "last_activity_at",
656
- "isExpression": false,
657
- "asc": false,
658
- "nulls": "last"
659
- },
660
- {
661
- "expression": "conversation_id",
662
- "isExpression": false,
663
- "asc": true,
664
- "nulls": "last"
665
- }
666
- ],
667
- "isUnique": false,
668
- "concurrently": false,
669
- "method": "btree",
670
- "with": {}
671
- },
672
- "junior_conversations_active_idx": {
673
- "name": "junior_conversations_active_idx",
674
- "columns": [
675
- {
676
- "expression": "coalesce(\"execution_updated_at\", \"updated_at\")",
677
- "asc": true,
678
- "isExpression": true,
679
- "nulls": "last"
680
- },
681
- {
682
- "expression": "conversation_id",
683
- "isExpression": false,
684
- "asc": true,
685
- "nulls": "last"
686
- }
687
- ],
688
- "isUnique": false,
689
- "where": "\"junior_conversations\".\"execution_status\" <> 'idle'",
690
- "concurrently": false,
691
- "method": "btree",
692
- "with": {}
693
- },
694
- "junior_conversations_destination_activity_idx": {
695
- "name": "junior_conversations_destination_activity_idx",
696
- "columns": [
697
- {
698
- "expression": "destination_id",
699
- "isExpression": false,
700
- "asc": true,
701
- "nulls": "last"
702
- },
703
- {
704
- "expression": "last_activity_at",
705
- "isExpression": false,
706
- "asc": false,
707
- "nulls": "last"
708
- }
709
- ],
710
- "isUnique": false,
711
- "concurrently": false,
712
- "method": "btree",
713
- "with": {}
714
- },
715
- "junior_conversations_actor_activity_idx": {
716
- "name": "junior_conversations_actor_activity_idx",
717
- "columns": [
718
- {
719
- "expression": "actor_identity_id",
720
- "isExpression": false,
721
- "asc": true,
722
- "nulls": "last"
723
- },
724
- {
725
- "expression": "last_activity_at",
726
- "isExpression": false,
727
- "asc": false,
728
- "nulls": "last"
729
- }
730
- ],
731
- "isUnique": false,
732
- "concurrently": false,
733
- "method": "btree",
734
- "with": {}
735
- },
736
- "junior_conversations_origin_idx": {
737
- "name": "junior_conversations_origin_idx",
738
- "columns": [
739
- {
740
- "expression": "origin_type",
741
- "isExpression": false,
742
- "asc": true,
743
- "nulls": "last"
744
- },
745
- {
746
- "expression": "origin_id",
747
- "isExpression": false,
748
- "asc": true,
749
- "nulls": "last"
750
- },
751
- {
752
- "expression": "last_activity_at",
753
- "isExpression": false,
754
- "asc": false,
755
- "nulls": "last"
756
- }
757
- ],
758
- "isUnique": false,
759
- "concurrently": false,
760
- "method": "btree",
761
- "with": {}
762
- },
763
- "junior_conversations_parent_idx": {
764
- "name": "junior_conversations_parent_idx",
765
- "columns": [
766
- {
767
- "expression": "parent_conversation_id",
768
- "isExpression": false,
769
- "asc": true,
770
- "nulls": "last"
771
- }
772
- ],
773
- "isUnique": false,
774
- "concurrently": false,
775
- "method": "btree",
776
- "with": {}
777
- },
778
- "junior_conversations_root_idx": {
779
- "name": "junior_conversations_root_idx",
780
- "columns": [
781
- {
782
- "expression": "root_conversation_id",
783
- "isExpression": false,
784
- "asc": true,
785
- "nulls": "last"
786
- }
787
- ],
788
- "isUnique": false,
789
- "concurrently": false,
790
- "method": "btree",
791
- "with": {}
792
- }
793
- },
794
- "foreignKeys": {
795
- "junior_conversations_destination_id_junior_destinations_id_fk": {
796
- "name": "junior_conversations_destination_id_junior_destinations_id_fk",
797
- "tableFrom": "junior_conversations",
798
- "tableTo": "junior_destinations",
799
- "columnsFrom": [
800
- "destination_id"
801
- ],
802
- "columnsTo": [
803
- "id"
804
- ],
805
- "onDelete": "no action",
806
- "onUpdate": "no action"
807
- },
808
- "junior_conversations_actor_identity_id_junior_identities_id_fk": {
809
- "name": "junior_conversations_actor_identity_id_junior_identities_id_fk",
810
- "tableFrom": "junior_conversations",
811
- "tableTo": "junior_identities",
812
- "columnsFrom": [
813
- "actor_identity_id"
814
- ],
815
- "columnsTo": [
816
- "id"
817
- ],
818
- "onDelete": "no action",
819
- "onUpdate": "no action"
820
- },
821
- "junior_conversations_creator_identity_id_junior_identities_id_fk": {
822
- "name": "junior_conversations_creator_identity_id_junior_identities_id_fk",
823
- "tableFrom": "junior_conversations",
824
- "tableTo": "junior_identities",
825
- "columnsFrom": [
826
- "creator_identity_id"
827
- ],
828
- "columnsTo": [
829
- "id"
830
- ],
831
- "onDelete": "no action",
832
- "onUpdate": "no action"
833
- },
834
- "junior_conversations_credential_subject_identity_id_junior_identities_id_fk": {
835
- "name": "junior_conversations_credential_subject_identity_id_junior_identities_id_fk",
836
- "tableFrom": "junior_conversations",
837
- "tableTo": "junior_identities",
838
- "columnsFrom": [
839
- "credential_subject_identity_id"
840
- ],
841
- "columnsTo": [
842
- "id"
843
- ],
844
- "onDelete": "no action",
845
- "onUpdate": "no action"
846
- },
847
- "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk": {
848
- "name": "junior_conversations_parent_conversation_id_junior_conversations_conversation_id_fk",
849
- "tableFrom": "junior_conversations",
850
- "tableTo": "junior_conversations",
851
- "columnsFrom": [
852
- "parent_conversation_id"
853
- ],
854
- "columnsTo": [
855
- "conversation_id"
856
- ],
857
- "onDelete": "no action",
858
- "onUpdate": "no action"
859
- },
860
- "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk": {
861
- "name": "junior_conversations_root_conversation_id_junior_conversations_conversation_id_fk",
862
- "tableFrom": "junior_conversations",
863
- "tableTo": "junior_conversations",
864
- "columnsFrom": [
865
- "root_conversation_id"
866
- ],
867
- "columnsTo": [
868
- "conversation_id"
869
- ],
870
- "onDelete": "no action",
871
- "onUpdate": "no action"
872
- }
873
- },
874
- "compositePrimaryKeys": {},
875
- "uniqueConstraints": {},
876
- "policies": {},
877
- "checkConstraints": {},
878
- "isRLSEnabled": false
879
- },
880
- "public.junior_destinations": {
881
- "name": "junior_destinations",
882
- "schema": "",
883
- "columns": {
884
- "id": {
885
- "name": "id",
886
- "type": "text",
887
- "primaryKey": true,
888
- "notNull": true
889
- },
890
- "provider": {
891
- "name": "provider",
892
- "type": "text",
893
- "primaryKey": false,
894
- "notNull": true
895
- },
896
- "provider_tenant_id": {
897
- "name": "provider_tenant_id",
898
- "type": "text",
899
- "primaryKey": false,
900
- "notNull": true,
901
- "default": "''"
902
- },
903
- "provider_destination_id": {
904
- "name": "provider_destination_id",
905
- "type": "text",
906
- "primaryKey": false,
907
- "notNull": true
908
- },
909
- "kind": {
910
- "name": "kind",
911
- "type": "text",
912
- "primaryKey": false,
913
- "notNull": true
914
- },
915
- "parent_destination_id": {
916
- "name": "parent_destination_id",
917
- "type": "text",
918
- "primaryKey": false,
919
- "notNull": false
920
- },
921
- "display_name": {
922
- "name": "display_name",
923
- "type": "text",
924
- "primaryKey": false,
925
- "notNull": false
926
- },
927
- "visibility": {
928
- "name": "visibility",
929
- "type": "text",
930
- "primaryKey": false,
931
- "notNull": true,
932
- "default": "'unknown'"
933
- },
934
- "metadata_json": {
935
- "name": "metadata_json",
936
- "type": "jsonb",
937
- "primaryKey": false,
938
- "notNull": false
939
- },
940
- "created_at": {
941
- "name": "created_at",
942
- "type": "timestamp with time zone",
943
- "primaryKey": false,
944
- "notNull": true
945
- },
946
- "updated_at": {
947
- "name": "updated_at",
948
- "type": "timestamp with time zone",
949
- "primaryKey": false,
950
- "notNull": true
951
- }
952
- },
953
- "indexes": {
954
- "junior_destinations_provider_destination_uidx": {
955
- "name": "junior_destinations_provider_destination_uidx",
956
- "columns": [
957
- {
958
- "expression": "provider",
959
- "isExpression": false,
960
- "asc": true,
961
- "nulls": "last"
962
- },
963
- {
964
- "expression": "provider_tenant_id",
965
- "isExpression": false,
966
- "asc": true,
967
- "nulls": "last"
968
- },
969
- {
970
- "expression": "provider_destination_id",
971
- "isExpression": false,
972
- "asc": true,
973
- "nulls": "last"
974
- }
975
- ],
976
- "isUnique": true,
977
- "concurrently": false,
978
- "method": "btree",
979
- "with": {}
980
- },
981
- "junior_destinations_provider_kind_idx": {
982
- "name": "junior_destinations_provider_kind_idx",
983
- "columns": [
984
- {
985
- "expression": "provider",
986
- "isExpression": false,
987
- "asc": true,
988
- "nulls": "last"
989
- },
990
- {
991
- "expression": "kind",
992
- "isExpression": false,
993
- "asc": true,
994
- "nulls": "last"
995
- }
996
- ],
997
- "isUnique": false,
998
- "concurrently": false,
999
- "method": "btree",
1000
- "with": {}
1001
- }
1002
- },
1003
- "foreignKeys": {},
1004
- "compositePrimaryKeys": {},
1005
- "uniqueConstraints": {},
1006
- "policies": {},
1007
- "checkConstraints": {},
1008
- "isRLSEnabled": false
1009
- },
1010
- "public.junior_event_tasks": {
1011
- "name": "junior_event_tasks",
1012
- "schema": "",
1013
- "columns": {
1014
- "id": {
1015
- "name": "id",
1016
- "type": "text",
1017
- "primaryKey": true,
1018
- "notNull": true
1019
- },
1020
- "team_id": {
1021
- "name": "team_id",
1022
- "type": "text",
1023
- "primaryKey": false,
1024
- "notNull": true
1025
- },
1026
- "namespace": {
1027
- "name": "namespace",
1028
- "type": "text",
1029
- "primaryKey": false,
1030
- "notNull": true
1031
- },
1032
- "identifier": {
1033
- "name": "identifier",
1034
- "type": "text",
1035
- "primaryKey": false,
1036
- "notNull": true
1037
- },
1038
- "created_at_ms": {
1039
- "name": "created_at_ms",
1040
- "type": "bigint",
1041
- "primaryKey": false,
1042
- "notNull": true
1043
- },
1044
- "task_json": {
1045
- "name": "task_json",
1046
- "type": "jsonb",
1047
- "primaryKey": false,
1048
- "notNull": true
1049
- }
1050
- },
1051
- "indexes": {
1052
- "junior_event_tasks_team_idx": {
1053
- "name": "junior_event_tasks_team_idx",
1054
- "columns": [
1055
- {
1056
- "expression": "team_id",
1057
- "isExpression": false,
1058
- "asc": true,
1059
- "nulls": "last"
1060
- },
1061
- {
1062
- "expression": "created_at_ms",
1063
- "isExpression": false,
1064
- "asc": true,
1065
- "nulls": "last"
1066
- },
1067
- {
1068
- "expression": "id",
1069
- "isExpression": false,
1070
- "asc": true,
1071
- "nulls": "last"
1072
- }
1073
- ],
1074
- "isUnique": false,
1075
- "concurrently": false,
1076
- "method": "btree",
1077
- "with": {}
1078
- },
1079
- "junior_event_tasks_match_idx": {
1080
- "name": "junior_event_tasks_match_idx",
1081
- "columns": [
1082
- {
1083
- "expression": "namespace",
1084
- "isExpression": false,
1085
- "asc": true,
1086
- "nulls": "last"
1087
- },
1088
- {
1089
- "expression": "identifier",
1090
- "isExpression": false,
1091
- "asc": true,
1092
- "nulls": "last"
1093
- },
1094
- {
1095
- "expression": "created_at_ms",
1096
- "isExpression": false,
1097
- "asc": true,
1098
- "nulls": "last"
1099
- },
1100
- {
1101
- "expression": "id",
1102
- "isExpression": false,
1103
- "asc": true,
1104
- "nulls": "last"
1105
- }
1106
- ],
1107
- "isUnique": false,
1108
- "concurrently": false,
1109
- "method": "btree",
1110
- "with": {}
1111
- }
1112
- },
1113
- "foreignKeys": {},
1114
- "compositePrimaryKeys": {},
1115
- "uniqueConstraints": {},
1116
- "policies": {},
1117
- "checkConstraints": {},
1118
- "isRLSEnabled": false
1119
- },
1120
- "public.junior_identities": {
1121
- "name": "junior_identities",
1122
- "schema": "",
1123
- "columns": {
1124
- "id": {
1125
- "name": "id",
1126
- "type": "text",
1127
- "primaryKey": true,
1128
- "notNull": true
1129
- },
1130
- "kind": {
1131
- "name": "kind",
1132
- "type": "text",
1133
- "primaryKey": false,
1134
- "notNull": true
1135
- },
1136
- "provider": {
1137
- "name": "provider",
1138
- "type": "text",
1139
- "primaryKey": false,
1140
- "notNull": true
1141
- },
1142
- "provider_tenant_id": {
1143
- "name": "provider_tenant_id",
1144
- "type": "text",
1145
- "primaryKey": false,
1146
- "notNull": true,
1147
- "default": "''"
1148
- },
1149
- "provider_subject_id": {
1150
- "name": "provider_subject_id",
1151
- "type": "text",
1152
- "primaryKey": false,
1153
- "notNull": true
1154
- },
1155
- "display_name": {
1156
- "name": "display_name",
1157
- "type": "text",
1158
- "primaryKey": false,
1159
- "notNull": false
1160
- },
1161
- "handle": {
1162
- "name": "handle",
1163
- "type": "text",
1164
- "primaryKey": false,
1165
- "notNull": false
1166
- },
1167
- "email": {
1168
- "name": "email",
1169
- "type": "text",
1170
- "primaryKey": false,
1171
- "notNull": false
1172
- },
1173
- "avatar_url": {
1174
- "name": "avatar_url",
1175
- "type": "text",
1176
- "primaryKey": false,
1177
- "notNull": false
1178
- },
1179
- "metadata_json": {
1180
- "name": "metadata_json",
1181
- "type": "jsonb",
1182
- "primaryKey": false,
1183
- "notNull": false
1184
- },
1185
- "created_at": {
1186
- "name": "created_at",
1187
- "type": "timestamp with time zone",
1188
- "primaryKey": false,
1189
- "notNull": true
1190
- },
1191
- "updated_at": {
1192
- "name": "updated_at",
1193
- "type": "timestamp with time zone",
1194
- "primaryKey": false,
1195
- "notNull": true
1196
- },
1197
- "user_id": {
1198
- "name": "user_id",
1199
- "type": "text",
1200
- "primaryKey": false,
1201
- "notNull": false
1202
- },
1203
- "email_normalized": {
1204
- "name": "email_normalized",
1205
- "type": "text",
1206
- "primaryKey": false,
1207
- "notNull": false
1208
- },
1209
- "email_verified": {
1210
- "name": "email_verified",
1211
- "type": "boolean",
1212
- "primaryKey": false,
1213
- "notNull": true,
1214
- "default": false
1215
- }
1216
- },
1217
- "indexes": {
1218
- "junior_identities_provider_subject_uidx": {
1219
- "name": "junior_identities_provider_subject_uidx",
1220
- "columns": [
1221
- {
1222
- "expression": "provider",
1223
- "isExpression": false,
1224
- "asc": true,
1225
- "nulls": "last"
1226
- },
1227
- {
1228
- "expression": "provider_tenant_id",
1229
- "isExpression": false,
1230
- "asc": true,
1231
- "nulls": "last"
1232
- },
1233
- {
1234
- "expression": "provider_subject_id",
1235
- "isExpression": false,
1236
- "asc": true,
1237
- "nulls": "last"
1238
- }
1239
- ],
1240
- "isUnique": true,
1241
- "concurrently": false,
1242
- "method": "btree",
1243
- "with": {}
1244
- },
1245
- "junior_identities_user_idx": {
1246
- "name": "junior_identities_user_idx",
1247
- "columns": [
1248
- {
1249
- "expression": "user_id",
1250
- "isExpression": false,
1251
- "asc": true,
1252
- "nulls": "last"
1253
- }
1254
- ],
1255
- "isUnique": false,
1256
- "concurrently": false,
1257
- "method": "btree",
1258
- "with": {}
1259
- },
1260
- "junior_identities_verified_email_idx": {
1261
- "name": "junior_identities_verified_email_idx",
1262
- "columns": [
1263
- {
1264
- "expression": "email_normalized",
1265
- "isExpression": false,
1266
- "asc": true,
1267
- "nulls": "last"
1268
- }
1269
- ],
1270
- "isUnique": false,
1271
- "where": "\"junior_identities\".\"email_verified\" = true AND \"junior_identities\".\"email_normalized\" IS NOT NULL",
1272
- "concurrently": false,
1273
- "method": "btree",
1274
- "with": {}
1275
- },
1276
- "junior_identities_kind_provider_idx": {
1277
- "name": "junior_identities_kind_provider_idx",
1278
- "columns": [
1279
- {
1280
- "expression": "kind",
1281
- "isExpression": false,
1282
- "asc": true,
1283
- "nulls": "last"
1284
- },
1285
- {
1286
- "expression": "provider",
1287
- "isExpression": false,
1288
- "asc": true,
1289
- "nulls": "last"
1290
- }
1291
- ],
1292
- "isUnique": false,
1293
- "concurrently": false,
1294
- "method": "btree",
1295
- "with": {}
1296
- }
1297
- },
1298
- "foreignKeys": {
1299
- "junior_identities_user_id_junior_users_id_fk": {
1300
- "name": "junior_identities_user_id_junior_users_id_fk",
1301
- "tableFrom": "junior_identities",
1302
- "tableTo": "junior_users",
1303
- "columnsFrom": [
1304
- "user_id"
1305
- ],
1306
- "columnsTo": [
1307
- "id"
1308
- ],
1309
- "onDelete": "no action",
1310
- "onUpdate": "no action"
1311
- }
1312
- },
1313
- "compositePrimaryKeys": {},
1314
- "uniqueConstraints": {},
1315
- "policies": {},
1316
- "checkConstraints": {},
1317
- "isRLSEnabled": false
1318
- },
1319
- "public.junior_scheduler_runs": {
1320
- "name": "junior_scheduler_runs",
1321
- "schema": "",
1322
- "columns": {
1323
- "id": {
1324
- "name": "id",
1325
- "type": "text",
1326
- "primaryKey": true,
1327
- "notNull": true
1328
- },
1329
- "task_id": {
1330
- "name": "task_id",
1331
- "type": "text",
1332
- "primaryKey": false,
1333
- "notNull": true
1334
- },
1335
- "status": {
1336
- "name": "status",
1337
- "type": "text",
1338
- "primaryKey": false,
1339
- "notNull": true
1340
- },
1341
- "scheduled_for_ms": {
1342
- "name": "scheduled_for_ms",
1343
- "type": "bigint",
1344
- "primaryKey": false,
1345
- "notNull": true
1346
- },
1347
- "record": {
1348
- "name": "record",
1349
- "type": "jsonb",
1350
- "primaryKey": false,
1351
- "notNull": true
1352
- }
1353
- },
1354
- "indexes": {
1355
- "junior_scheduler_runs_task_status_idx": {
1356
- "name": "junior_scheduler_runs_task_status_idx",
1357
- "columns": [
1358
- {
1359
- "expression": "task_id",
1360
- "isExpression": false,
1361
- "asc": true,
1362
- "nulls": "last"
1363
- },
1364
- {
1365
- "expression": "status",
1366
- "isExpression": false,
1367
- "asc": true,
1368
- "nulls": "last"
1369
- },
1370
- {
1371
- "expression": "scheduled_for_ms",
1372
- "isExpression": false,
1373
- "asc": true,
1374
- "nulls": "last"
1375
- }
1376
- ],
1377
- "isUnique": false,
1378
- "concurrently": false,
1379
- "method": "btree",
1380
- "with": {}
1381
- },
1382
- "junior_scheduler_runs_status_idx": {
1383
- "name": "junior_scheduler_runs_status_idx",
1384
- "columns": [
1385
- {
1386
- "expression": "status",
1387
- "isExpression": false,
1388
- "asc": true,
1389
- "nulls": "last"
1390
- },
1391
- {
1392
- "expression": "scheduled_for_ms",
1393
- "isExpression": false,
1394
- "asc": true,
1395
- "nulls": "last"
1396
- }
1397
- ],
1398
- "isUnique": false,
1399
- "concurrently": false,
1400
- "method": "btree",
1401
- "with": {}
1402
- }
1403
- },
1404
- "foreignKeys": {},
1405
- "compositePrimaryKeys": {},
1406
- "uniqueConstraints": {},
1407
- "policies": {},
1408
- "checkConstraints": {},
1409
- "isRLSEnabled": false
1410
- },
1411
- "public.junior_scheduler_tasks": {
1412
- "name": "junior_scheduler_tasks",
1413
- "schema": "",
1414
- "columns": {
1415
- "id": {
1416
- "name": "id",
1417
- "type": "text",
1418
- "primaryKey": true,
1419
- "notNull": true
1420
- },
1421
- "team_id": {
1422
- "name": "team_id",
1423
- "type": "text",
1424
- "primaryKey": false,
1425
- "notNull": true
1426
- },
1427
- "creator_slack_user_id": {
1428
- "name": "creator_slack_user_id",
1429
- "type": "text",
1430
- "primaryKey": false,
1431
- "notNull": false
1432
- },
1433
- "creator_identity_id": {
1434
- "name": "creator_identity_id",
1435
- "type": "text",
1436
- "primaryKey": false,
1437
- "notNull": false
1438
- },
1439
- "status": {
1440
- "name": "status",
1441
- "type": "text",
1442
- "primaryKey": false,
1443
- "notNull": true
1444
- },
1445
- "next_run_at_ms": {
1446
- "name": "next_run_at_ms",
1447
- "type": "bigint",
1448
- "primaryKey": false,
1449
- "notNull": false
1450
- },
1451
- "run_now_at_ms": {
1452
- "name": "run_now_at_ms",
1453
- "type": "bigint",
1454
- "primaryKey": false,
1455
- "notNull": false
1456
- },
1457
- "created_at_ms": {
1458
- "name": "created_at_ms",
1459
- "type": "bigint",
1460
- "primaryKey": false,
1461
- "notNull": true
1462
- },
1463
- "record": {
1464
- "name": "record",
1465
- "type": "jsonb",
1466
- "primaryKey": false,
1467
- "notNull": true
1468
- }
1469
- },
1470
- "indexes": {
1471
- "junior_scheduler_tasks_creator_idx": {
1472
- "name": "junior_scheduler_tasks_creator_idx",
1473
- "columns": [
1474
- {
1475
- "expression": "team_id",
1476
- "isExpression": false,
1477
- "asc": true,
1478
- "nulls": "last"
1479
- },
1480
- {
1481
- "expression": "creator_slack_user_id",
1482
- "isExpression": false,
1483
- "asc": true,
1484
- "nulls": "last"
1485
- },
1486
- {
1487
- "expression": "created_at_ms",
1488
- "isExpression": false,
1489
- "asc": true,
1490
- "nulls": "last"
1491
- },
1492
- {
1493
- "expression": "id",
1494
- "isExpression": false,
1495
- "asc": true,
1496
- "nulls": "last"
1497
- }
1498
- ],
1499
- "isUnique": false,
1500
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted'",
1501
- "concurrently": false,
1502
- "method": "btree",
1503
- "with": {}
1504
- },
1505
- "junior_scheduler_tasks_creator_identity_idx": {
1506
- "name": "junior_scheduler_tasks_creator_identity_idx",
1507
- "columns": [
1508
- {
1509
- "expression": "creator_identity_id",
1510
- "isExpression": false,
1511
- "asc": true,
1512
- "nulls": "last"
1513
- },
1514
- {
1515
- "expression": "created_at_ms",
1516
- "isExpression": false,
1517
- "asc": true,
1518
- "nulls": "last"
1519
- },
1520
- {
1521
- "expression": "id",
1522
- "isExpression": false,
1523
- "asc": true,
1524
- "nulls": "last"
1525
- }
1526
- ],
1527
- "isUnique": false,
1528
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted' AND \"junior_scheduler_tasks\".\"creator_identity_id\" IS NOT NULL",
1529
- "concurrently": false,
1530
- "method": "btree",
1531
- "with": {}
1532
- },
1533
- "junior_scheduler_tasks_team_status_idx": {
1534
- "name": "junior_scheduler_tasks_team_status_idx",
1535
- "columns": [
1536
- {
1537
- "expression": "team_id",
1538
- "isExpression": false,
1539
- "asc": true,
1540
- "nulls": "last"
1541
- },
1542
- {
1543
- "expression": "created_at_ms",
1544
- "isExpression": false,
1545
- "asc": true,
1546
- "nulls": "last"
1547
- },
1548
- {
1549
- "expression": "id",
1550
- "isExpression": false,
1551
- "asc": true,
1552
- "nulls": "last"
1553
- }
1554
- ],
1555
- "isUnique": false,
1556
- "where": "\"junior_scheduler_tasks\".\"status\" <> 'deleted'",
1557
- "concurrently": false,
1558
- "method": "btree",
1559
- "with": {}
1560
- },
1561
- "junior_scheduler_tasks_run_now_due_idx": {
1562
- "name": "junior_scheduler_tasks_run_now_due_idx",
1563
- "columns": [
1564
- {
1565
- "expression": "run_now_at_ms",
1566
- "isExpression": false,
1567
- "asc": true,
1568
- "nulls": "last"
1569
- },
1570
- {
1571
- "expression": "created_at_ms",
1572
- "isExpression": false,
1573
- "asc": true,
1574
- "nulls": "last"
1575
- },
1576
- {
1577
- "expression": "id",
1578
- "isExpression": false,
1579
- "asc": true,
1580
- "nulls": "last"
1581
- }
1582
- ],
1583
- "isUnique": false,
1584
- "where": "\"junior_scheduler_tasks\".\"status\" = 'active' AND \"junior_scheduler_tasks\".\"run_now_at_ms\" IS NOT NULL",
1585
- "concurrently": false,
1586
- "method": "btree",
1587
- "with": {}
1588
- },
1589
- "junior_scheduler_tasks_next_run_due_idx": {
1590
- "name": "junior_scheduler_tasks_next_run_due_idx",
1591
- "columns": [
1592
- {
1593
- "expression": "next_run_at_ms",
1594
- "isExpression": false,
1595
- "asc": true,
1596
- "nulls": "last"
1597
- },
1598
- {
1599
- "expression": "created_at_ms",
1600
- "isExpression": false,
1601
- "asc": true,
1602
- "nulls": "last"
1603
- },
1604
- {
1605
- "expression": "id",
1606
- "isExpression": false,
1607
- "asc": true,
1608
- "nulls": "last"
1609
- }
1610
- ],
1611
- "isUnique": false,
1612
- "where": "\"junior_scheduler_tasks\".\"status\" = 'active' AND \"junior_scheduler_tasks\".\"next_run_at_ms\" IS NOT NULL",
1613
- "concurrently": false,
1614
- "method": "btree",
1615
- "with": {}
1616
- }
1617
- },
1618
- "foreignKeys": {},
1619
- "compositePrimaryKeys": {},
1620
- "uniqueConstraints": {},
1621
- "policies": {},
1622
- "checkConstraints": {},
1623
- "isRLSEnabled": false
1624
- },
1625
- "public.junior_stats": {
1626
- "name": "junior_stats",
1627
- "schema": "",
1628
- "columns": {
1629
- "date": {
1630
- "name": "date",
1631
- "type": "date",
1632
- "primaryKey": false,
1633
- "notNull": true
1634
- },
1635
- "namespace": {
1636
- "name": "namespace",
1637
- "type": "text",
1638
- "primaryKey": false,
1639
- "notNull": true
1640
- },
1641
- "metric": {
1642
- "name": "metric",
1643
- "type": "text",
1644
- "primaryKey": false,
1645
- "notNull": true
1646
- },
1647
- "name": {
1648
- "name": "name",
1649
- "type": "text",
1650
- "primaryKey": false,
1651
- "notNull": true
1652
- },
1653
- "count": {
1654
- "name": "count",
1655
- "type": "integer",
1656
- "primaryKey": false,
1657
- "notNull": true,
1658
- "default": 0
1659
- }
1660
- },
1661
- "indexes": {},
1662
- "foreignKeys": {},
1663
- "compositePrimaryKeys": {
1664
- "junior_stats_date_namespace_metric_name_pk": {
1665
- "name": "junior_stats_date_namespace_metric_name_pk",
1666
- "columns": [
1667
- "date",
1668
- "namespace",
1669
- "metric",
1670
- "name"
1671
- ]
1672
- }
1673
- },
1674
- "uniqueConstraints": {},
1675
- "policies": {},
1676
- "checkConstraints": {},
1677
- "isRLSEnabled": false
1678
- },
1679
- "public.junior_task_executions": {
1680
- "name": "junior_task_executions",
1681
- "schema": "",
1682
- "columns": {
1683
- "execution_id": {
1684
- "name": "execution_id",
1685
- "type": "text",
1686
- "primaryKey": false,
1687
- "notNull": true
1688
- },
1689
- "kind": {
1690
- "name": "kind",
1691
- "type": "text",
1692
- "primaryKey": false,
1693
- "notNull": true
1694
- },
1695
- "namespace": {
1696
- "name": "namespace",
1697
- "type": "text",
1698
- "primaryKey": false,
1699
- "notNull": true
1700
- },
1701
- "task_id": {
1702
- "name": "task_id",
1703
- "type": "text",
1704
- "primaryKey": false,
1705
- "notNull": true
1706
- },
1707
- "conversation_id": {
1708
- "name": "conversation_id",
1709
- "type": "text",
1710
- "primaryKey": false,
1711
- "notNull": true
1712
- },
1713
- "executed_at_ms": {
1714
- "name": "executed_at_ms",
1715
- "type": "bigint",
1716
- "primaryKey": false,
1717
- "notNull": true
1718
- }
1719
- },
1720
- "indexes": {
1721
- "junior_task_executions_task_time_idx": {
1722
- "name": "junior_task_executions_task_time_idx",
1723
- "columns": [
1724
- {
1725
- "expression": "kind",
1726
- "isExpression": false,
1727
- "asc": true,
1728
- "nulls": "last"
1729
- },
1730
- {
1731
- "expression": "namespace",
1732
- "isExpression": false,
1733
- "asc": true,
1734
- "nulls": "last"
1735
- },
1736
- {
1737
- "expression": "task_id",
1738
- "isExpression": false,
1739
- "asc": true,
1740
- "nulls": "last"
1741
- },
1742
- {
1743
- "expression": "executed_at_ms",
1744
- "isExpression": false,
1745
- "asc": true,
1746
- "nulls": "last"
1747
- }
1748
- ],
1749
- "isUnique": false,
1750
- "concurrently": false,
1751
- "method": "btree",
1752
- "with": {}
1753
- },
1754
- "junior_task_executions_time_kind_idx": {
1755
- "name": "junior_task_executions_time_kind_idx",
1756
- "columns": [
1757
- {
1758
- "expression": "executed_at_ms",
1759
- "isExpression": false,
1760
- "asc": true,
1761
- "nulls": "last"
1762
- },
1763
- {
1764
- "expression": "kind",
1765
- "isExpression": false,
1766
- "asc": true,
1767
- "nulls": "last"
1768
- }
1769
- ],
1770
- "isUnique": false,
1771
- "concurrently": false,
1772
- "method": "btree",
1773
- "with": {}
1774
- },
1775
- "junior_task_executions_conversation_time_idx": {
1776
- "name": "junior_task_executions_conversation_time_idx",
1777
- "columns": [
1778
- {
1779
- "expression": "conversation_id",
1780
- "isExpression": false,
1781
- "asc": true,
1782
- "nulls": "last"
1783
- },
1784
- {
1785
- "expression": "executed_at_ms",
1786
- "isExpression": false,
1787
- "asc": true,
1788
- "nulls": "last"
1789
- }
1790
- ],
1791
- "isUnique": false,
1792
- "concurrently": false,
1793
- "method": "btree",
1794
- "with": {}
1795
- }
1796
- },
1797
- "foreignKeys": {
1798
- "junior_task_executions_conversation_id_junior_conversations_conversation_id_fk": {
1799
- "name": "junior_task_executions_conversation_id_junior_conversations_conversation_id_fk",
1800
- "tableFrom": "junior_task_executions",
1801
- "tableTo": "junior_conversations",
1802
- "columnsFrom": [
1803
- "conversation_id"
1804
- ],
1805
- "columnsTo": [
1806
- "conversation_id"
1807
- ],
1808
- "onDelete": "no action",
1809
- "onUpdate": "no action"
1810
- }
1811
- },
1812
- "compositePrimaryKeys": {
1813
- "junior_task_executions_kind_namespace_execution_id_pk": {
1814
- "name": "junior_task_executions_kind_namespace_execution_id_pk",
1815
- "columns": [
1816
- "kind",
1817
- "namespace",
1818
- "execution_id"
1819
- ]
1820
- }
1821
- },
1822
- "uniqueConstraints": {},
1823
- "policies": {},
1824
- "checkConstraints": {},
1825
- "isRLSEnabled": false
1826
- },
1827
- "public.junior_users": {
1828
- "name": "junior_users",
1829
- "schema": "",
1830
- "columns": {
1831
- "id": {
1832
- "name": "id",
1833
- "type": "text",
1834
- "primaryKey": true,
1835
- "notNull": true
1836
- },
1837
- "primary_email": {
1838
- "name": "primary_email",
1839
- "type": "text",
1840
- "primaryKey": false,
1841
- "notNull": true
1842
- },
1843
- "primary_email_normalized": {
1844
- "name": "primary_email_normalized",
1845
- "type": "text",
1846
- "primaryKey": false,
1847
- "notNull": true
1848
- },
1849
- "display_name": {
1850
- "name": "display_name",
1851
- "type": "text",
1852
- "primaryKey": false,
1853
- "notNull": false
1854
- },
1855
- "created_at": {
1856
- "name": "created_at",
1857
- "type": "timestamp with time zone",
1858
- "primaryKey": false,
1859
- "notNull": true
1860
- },
1861
- "updated_at": {
1862
- "name": "updated_at",
1863
- "type": "timestamp with time zone",
1864
- "primaryKey": false,
1865
- "notNull": true
1866
- }
1867
- },
1868
- "indexes": {
1869
- "junior_users_primary_email_normalized_uidx": {
1870
- "name": "junior_users_primary_email_normalized_uidx",
1871
- "columns": [
1872
- {
1873
- "expression": "primary_email_normalized",
1874
- "isExpression": false,
1875
- "asc": true,
1876
- "nulls": "last"
1877
- }
1878
- ],
1879
- "isUnique": true,
1880
- "concurrently": false,
1881
- "method": "btree",
1882
- "with": {}
1883
- }
1884
- },
1885
- "foreignKeys": {},
1886
- "compositePrimaryKeys": {},
1887
- "uniqueConstraints": {},
1888
- "policies": {},
1889
- "checkConstraints": {},
1890
- "isRLSEnabled": false
1891
- }
1892
- },
1893
- "enums": {},
1894
- "schemas": {},
1895
- "sequences": {},
1896
- "roles": {},
1897
- "policies": {},
1898
- "views": {},
1899
- "_meta": {
1900
- "columns": {},
1901
- "schemas": {},
1902
- "tables": {}
1903
- }
1904
- }