@agent-native/core 0.76.3 → 0.76.5

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 (435) hide show
  1. package/corpus/core/CHANGELOG.md +25 -0
  2. package/corpus/core/package.json +1 -1
  3. package/corpus/core/src/agent/production-agent.ts +147 -56
  4. package/corpus/core/src/agent/run-store.ts +36 -0
  5. package/corpus/core/src/client/AgentPanel.tsx +3 -3
  6. package/corpus/core/src/client/AgentTaskCard.tsx +2 -1
  7. package/corpus/core/src/client/AppearancePicker.tsx +1 -1
  8. package/corpus/core/src/client/AssistantChat.tsx +3 -3
  9. package/corpus/core/src/client/CommandMenu.tsx +4 -4
  10. package/corpus/core/src/client/ErrorBoundary.tsx +1 -1
  11. package/corpus/core/src/client/MultiTabAssistantChat.tsx +11 -11
  12. package/corpus/core/src/client/NewWorkspaceAppFlow.tsx +5 -5
  13. package/corpus/core/src/client/components/ui/dropdown-menu.tsx +9 -9
  14. package/corpus/core/src/client/components/ui/sheet.tsx +1 -1
  15. package/corpus/core/src/client/composer/ComposerPlusMenu.tsx +6 -6
  16. package/corpus/core/src/client/composer/MentionPopover.tsx +4 -4
  17. package/corpus/core/src/client/composer/PastedTextChip.tsx +3 -3
  18. package/corpus/core/src/client/composer/PromptComposer.tsx +3 -3
  19. package/corpus/core/src/client/composer/TiptapComposer.tsx +16 -16
  20. package/corpus/core/src/client/guided-questions.tsx +6 -8
  21. package/corpus/core/src/client/i18n.tsx +2 -2
  22. package/corpus/core/src/client/integrations/IntegrationCard.tsx +2 -2
  23. package/corpus/core/src/client/integrations/IntegrationsPanel.tsx +4 -4
  24. package/corpus/core/src/client/notifications/NotificationsBell.tsx +3 -3
  25. package/corpus/core/src/client/onboarding/OnboardingBanner.tsx +3 -3
  26. package/corpus/core/src/client/onboarding/OnboardingPanel.tsx +17 -10
  27. package/corpus/core/src/client/org/OrgSwitcher.tsx +13 -11
  28. package/corpus/core/src/client/org/TeamPage.tsx +2 -2
  29. package/corpus/core/src/client/settings/AgentsSection.tsx +3 -3
  30. package/corpus/core/src/client/settings/AutomationsSection.tsx +3 -3
  31. package/corpus/core/src/client/settings/SecretsSection.tsx +2 -2
  32. package/corpus/core/src/client/settings/SettingsPanel.tsx +5 -7
  33. package/corpus/core/src/client/settings/SettingsSection.tsx +1 -1
  34. package/corpus/core/src/client/settings/UsageSection.tsx +3 -3
  35. package/corpus/core/src/client/settings/VoiceTranscriptionSection.tsx +3 -3
  36. package/corpus/core/src/client/sharing/ShareButton.tsx +7 -7
  37. package/corpus/core/src/client/sharing/ShareDialog.tsx +3 -3
  38. package/corpus/core/src/deploy/build.ts +31 -14
  39. package/corpus/core/src/styles/agent-conversation.css +10 -10
  40. package/corpus/core/src/styles/blocks.css +2 -2
  41. package/corpus/core/src/styles/rich-markdown-editor.css +2 -2
  42. package/corpus/templates/analytics/app/components/layout/MobileNav.tsx +1 -1
  43. package/corpus/templates/analytics/app/components/ui/alert-dialog.tsx +1 -1
  44. package/corpus/templates/analytics/app/components/ui/alert.tsx +1 -1
  45. package/corpus/templates/analytics/app/components/ui/breadcrumb.tsx +1 -1
  46. package/corpus/templates/analytics/app/components/ui/calendar.tsx +6 -6
  47. package/corpus/templates/analytics/app/components/ui/carousel.tsx +6 -6
  48. package/corpus/templates/analytics/app/components/ui/command.tsx +2 -2
  49. package/corpus/templates/analytics/app/components/ui/context-menu.tsx +9 -9
  50. package/corpus/templates/analytics/app/components/ui/date-picker.tsx +1 -1
  51. package/corpus/templates/analytics/app/components/ui/dialog.tsx +2 -2
  52. package/corpus/templates/analytics/app/components/ui/drawer.tsx +1 -1
  53. package/corpus/templates/analytics/app/components/ui/dropdown-menu.tsx +9 -9
  54. package/corpus/templates/analytics/app/components/ui/input-otp.tsx +1 -1
  55. package/corpus/templates/analytics/app/components/ui/menubar.tsx +9 -9
  56. package/corpus/templates/analytics/app/components/ui/navigation-menu.tsx +3 -3
  57. package/corpus/templates/analytics/app/components/ui/pagination.tsx +4 -4
  58. package/corpus/templates/analytics/app/components/ui/scroll-area.tsx +1 -1
  59. package/corpus/templates/analytics/app/components/ui/select.tsx +3 -3
  60. package/corpus/templates/analytics/app/components/ui/sheet.tsx +2 -2
  61. package/corpus/templates/analytics/app/components/ui/sidebar.tsx +6 -6
  62. package/corpus/templates/analytics/app/components/ui/table.tsx +2 -2
  63. package/corpus/templates/analytics/app/components/ui/toast.tsx +3 -3
  64. package/corpus/templates/assets/app/components/layout/Layout.tsx +2 -2
  65. package/corpus/templates/assets/app/components/layout/Sidebar.tsx +12 -12
  66. package/corpus/templates/assets/app/components/ui/alert-dialog.tsx +1 -1
  67. package/corpus/templates/assets/app/components/ui/alert.tsx +1 -1
  68. package/corpus/templates/assets/app/components/ui/breadcrumb.tsx +1 -1
  69. package/corpus/templates/assets/app/components/ui/dialog.tsx +2 -2
  70. package/corpus/templates/assets/app/components/ui/dropdown-menu.tsx +9 -9
  71. package/corpus/templates/assets/app/components/ui/pagination.tsx +4 -4
  72. package/corpus/templates/assets/app/components/ui/scroll-area.tsx +1 -1
  73. package/corpus/templates/assets/app/components/ui/select.tsx +3 -3
  74. package/corpus/templates/assets/app/components/ui/sheet.tsx +2 -2
  75. package/corpus/templates/assets/app/components/ui/table.tsx +2 -2
  76. package/corpus/templates/assets/app/routes/library.tsx +3 -3
  77. package/corpus/templates/assets/app/routes/settings.tsx +1 -1
  78. package/corpus/templates/brain/app/components/layout/Sidebar.tsx +5 -5
  79. package/corpus/templates/brain/app/components/ui/dropdown-menu.tsx +9 -9
  80. package/corpus/templates/brain/app/components/ui/select.tsx +3 -3
  81. package/corpus/templates/brain/app/components/ui/sheet.tsx +2 -2
  82. package/corpus/templates/brain/app/components/ui/table.tsx +2 -2
  83. package/corpus/templates/calendar/app/components/calendar/GoogleConnectBanner.tsx +6 -6
  84. package/corpus/templates/calendar/app/components/calendar/GoogleSetupWizard.tsx +3 -3
  85. package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +11 -9
  86. package/corpus/templates/calendar/app/components/ui/alert-dialog.tsx +1 -1
  87. package/corpus/templates/calendar/app/components/ui/alert.tsx +1 -1
  88. package/corpus/templates/calendar/app/components/ui/breadcrumb.tsx +1 -1
  89. package/corpus/templates/calendar/app/components/ui/calendar.tsx +5 -5
  90. package/corpus/templates/calendar/app/components/ui/carousel.tsx +6 -6
  91. package/corpus/templates/calendar/app/components/ui/command.tsx +2 -2
  92. package/corpus/templates/calendar/app/components/ui/context-menu.tsx +9 -9
  93. package/corpus/templates/calendar/app/components/ui/dialog.tsx +2 -2
  94. package/corpus/templates/calendar/app/components/ui/drawer.tsx +1 -1
  95. package/corpus/templates/calendar/app/components/ui/dropdown-menu.tsx +9 -9
  96. package/corpus/templates/calendar/app/components/ui/input-otp.tsx +1 -1
  97. package/corpus/templates/calendar/app/components/ui/menubar.tsx +9 -9
  98. package/corpus/templates/calendar/app/components/ui/navigation-menu.tsx +3 -3
  99. package/corpus/templates/calendar/app/components/ui/pagination.tsx +4 -4
  100. package/corpus/templates/calendar/app/components/ui/scroll-area.tsx +1 -1
  101. package/corpus/templates/calendar/app/components/ui/select.tsx +3 -3
  102. package/corpus/templates/calendar/app/components/ui/sheet.tsx +2 -2
  103. package/corpus/templates/calendar/app/components/ui/sidebar.tsx +6 -6
  104. package/corpus/templates/calendar/app/components/ui/sonner.tsx +1 -1
  105. package/corpus/templates/calendar/app/components/ui/table.tsx +2 -2
  106. package/corpus/templates/calendar/app/components/ui/toast.tsx +3 -3
  107. package/corpus/templates/calendar/app/pages/Settings.tsx +5 -5
  108. package/corpus/templates/chat/app/components/layout/Sidebar.tsx +9 -9
  109. package/corpus/templates/chat/app/components/ui/alert-dialog.tsx +1 -1
  110. package/corpus/templates/chat/app/components/ui/alert.tsx +1 -1
  111. package/corpus/templates/chat/app/components/ui/breadcrumb.tsx +1 -1
  112. package/corpus/templates/chat/app/components/ui/calendar.tsx +5 -5
  113. package/corpus/templates/chat/app/components/ui/carousel.tsx +6 -6
  114. package/corpus/templates/chat/app/components/ui/command.tsx +2 -2
  115. package/corpus/templates/chat/app/components/ui/context-menu.tsx +9 -9
  116. package/corpus/templates/chat/app/components/ui/dialog.tsx +2 -2
  117. package/corpus/templates/chat/app/components/ui/drawer.tsx +1 -1
  118. package/corpus/templates/chat/app/components/ui/dropdown-menu.tsx +9 -9
  119. package/corpus/templates/chat/app/components/ui/input-otp.tsx +1 -1
  120. package/corpus/templates/chat/app/components/ui/menubar.tsx +9 -9
  121. package/corpus/templates/chat/app/components/ui/navigation-menu.tsx +3 -3
  122. package/corpus/templates/chat/app/components/ui/pagination.tsx +4 -4
  123. package/corpus/templates/chat/app/components/ui/scroll-area.tsx +1 -1
  124. package/corpus/templates/chat/app/components/ui/select.tsx +3 -3
  125. package/corpus/templates/chat/app/components/ui/sheet.tsx +2 -2
  126. package/corpus/templates/chat/app/components/ui/sidebar.tsx +6 -6
  127. package/corpus/templates/chat/app/components/ui/table.tsx +2 -2
  128. package/corpus/templates/chat/app/components/ui/toast.tsx +3 -3
  129. package/corpus/templates/clips/app/components/capture-install-options.tsx +3 -3
  130. package/corpus/templates/clips/app/components/editable-recording-title.tsx +1 -1
  131. package/corpus/templates/clips/app/components/library/bulk-action-toolbar.tsx +3 -3
  132. package/corpus/templates/clips/app/components/library/folder-tree.tsx +5 -5
  133. package/corpus/templates/clips/app/components/library/library-layout.tsx +3 -3
  134. package/corpus/templates/clips/app/components/library/organization-switcher.tsx +4 -4
  135. package/corpus/templates/clips/app/components/library/recording-card.tsx +11 -11
  136. package/corpus/templates/clips/app/components/library/search-bar.tsx +4 -4
  137. package/corpus/templates/clips/app/components/library/space-card.tsx +1 -1
  138. package/corpus/templates/clips/app/components/library/tag-input.tsx +1 -1
  139. package/corpus/templates/clips/app/components/meetings/quick-ask-sidebar.tsx +2 -2
  140. package/corpus/templates/clips/app/components/recorder/camera-visualizer.tsx +2 -2
  141. package/corpus/templates/clips/app/components/recorder/microphone-visualizer.tsx +1 -1
  142. package/corpus/templates/clips/app/components/recorder/pre-record-panel.tsx +4 -4
  143. package/corpus/templates/clips/app/components/recorder/storage-setup-card.tsx +1 -1
  144. package/corpus/templates/clips/app/components/sharing/share-ui.tsx +2 -2
  145. package/corpus/templates/clips/app/components/ui/alert-dialog.tsx +1 -1
  146. package/corpus/templates/clips/app/components/ui/alert.tsx +1 -1
  147. package/corpus/templates/clips/app/components/ui/breadcrumb.tsx +1 -1
  148. package/corpus/templates/clips/app/components/ui/calendar.tsx +5 -5
  149. package/corpus/templates/clips/app/components/ui/carousel.tsx +6 -6
  150. package/corpus/templates/clips/app/components/ui/command.tsx +2 -2
  151. package/corpus/templates/clips/app/components/ui/context-menu.tsx +9 -9
  152. package/corpus/templates/clips/app/components/ui/dialog.tsx +2 -2
  153. package/corpus/templates/clips/app/components/ui/drawer.tsx +1 -1
  154. package/corpus/templates/clips/app/components/ui/dropdown-menu.tsx +9 -9
  155. package/corpus/templates/clips/app/components/ui/input-otp.tsx +1 -1
  156. package/corpus/templates/clips/app/components/ui/menubar.tsx +9 -9
  157. package/corpus/templates/clips/app/components/ui/navigation-menu.tsx +3 -3
  158. package/corpus/templates/clips/app/components/ui/pagination.tsx +4 -4
  159. package/corpus/templates/clips/app/components/ui/scroll-area.tsx +1 -1
  160. package/corpus/templates/clips/app/components/ui/select.tsx +3 -3
  161. package/corpus/templates/clips/app/components/ui/sheet.tsx +2 -2
  162. package/corpus/templates/clips/app/components/ui/sidebar.tsx +6 -6
  163. package/corpus/templates/clips/app/components/ui/table.tsx +2 -2
  164. package/corpus/templates/clips/app/components/ui/toast.tsx +3 -3
  165. package/corpus/templates/clips/app/components/workspace/branding-editor.tsx +1 -1
  166. package/corpus/templates/clips/app/components/workspace/insights-hub.tsx +2 -2
  167. package/corpus/templates/clips/app/components/workspace/invite-dialog.tsx +2 -2
  168. package/corpus/templates/clips/app/components/workspace/top-creators-table.tsx +6 -6
  169. package/corpus/templates/clips/app/components/workspace/top-videos-table.tsx +2 -2
  170. package/corpus/templates/clips/app/routes/_app.dictate.tsx +4 -4
  171. package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +7 -7
  172. package/corpus/templates/clips/app/routes/_app.settings._index.tsx +1 -1
  173. package/corpus/templates/clips/app/routes/download.tsx +2 -2
  174. package/corpus/templates/clips/app/routes/invite.$token.tsx +2 -2
  175. package/corpus/templates/clips/app/routes/r.$recordingId.tsx +3 -3
  176. package/corpus/templates/clips/app/routes/record.tsx +5 -5
  177. package/corpus/templates/clips/app/routes/share.$shareId.tsx +7 -7
  178. package/corpus/templates/content/app/components/EmptyState.tsx +1 -1
  179. package/corpus/templates/content/app/components/editor/DocumentToolbar.tsx +17 -17
  180. package/corpus/templates/content/app/components/layout/Layout.tsx +2 -2
  181. package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +10 -9
  182. package/corpus/templates/content/app/components/sidebar/DocumentTreeItem.tsx +10 -6
  183. package/corpus/templates/content/app/components/sidebar/NotionButton.tsx +3 -3
  184. package/corpus/templates/content/app/components/ui/alert-dialog.tsx +1 -1
  185. package/corpus/templates/content/app/components/ui/dialog.tsx +2 -2
  186. package/corpus/templates/content/app/components/ui/dropdown-menu.tsx +9 -9
  187. package/corpus/templates/content/app/components/ui/scroll-area.tsx +1 -1
  188. package/corpus/templates/content/app/components/ui/sheet.tsx +2 -2
  189. package/corpus/templates/content/app/components/ui/table.tsx +2 -2
  190. package/corpus/templates/content/app/components/ui/toast.tsx +3 -3
  191. package/corpus/templates/design/app/components/layout/Layout.tsx +3 -3
  192. package/corpus/templates/design/app/components/layout/Sidebar.tsx +3 -3
  193. package/corpus/templates/design/app/components/ui/alert-dialog.tsx +1 -1
  194. package/corpus/templates/design/app/components/ui/alert.tsx +1 -1
  195. package/corpus/templates/design/app/components/ui/breadcrumb.tsx +1 -1
  196. package/corpus/templates/design/app/components/ui/calendar.tsx +5 -5
  197. package/corpus/templates/design/app/components/ui/carousel.tsx +6 -6
  198. package/corpus/templates/design/app/components/ui/command.tsx +2 -2
  199. package/corpus/templates/design/app/components/ui/context-menu.tsx +9 -9
  200. package/corpus/templates/design/app/components/ui/dialog.tsx +2 -2
  201. package/corpus/templates/design/app/components/ui/drawer.tsx +1 -1
  202. package/corpus/templates/design/app/components/ui/dropdown-menu.tsx +9 -9
  203. package/corpus/templates/design/app/components/ui/input-otp.tsx +1 -1
  204. package/corpus/templates/design/app/components/ui/menubar.tsx +9 -9
  205. package/corpus/templates/design/app/components/ui/navigation-menu.tsx +3 -3
  206. package/corpus/templates/design/app/components/ui/pagination.tsx +4 -4
  207. package/corpus/templates/design/app/components/ui/scroll-area.tsx +1 -1
  208. package/corpus/templates/design/app/components/ui/select.tsx +3 -3
  209. package/corpus/templates/design/app/components/ui/sheet.tsx +2 -2
  210. package/corpus/templates/design/app/components/ui/sidebar.tsx +6 -6
  211. package/corpus/templates/design/app/components/ui/table.tsx +2 -2
  212. package/corpus/templates/design/app/components/ui/toast.tsx +3 -3
  213. package/corpus/templates/design/app/pages/DesignSystems.tsx +6 -8
  214. package/corpus/templates/design/app/pages/Index.tsx +8 -8
  215. package/corpus/templates/design/app/pages/NotFound.tsx +1 -1
  216. package/corpus/templates/design/app/pages/Templates.tsx +2 -2
  217. package/corpus/templates/forms/app/components/layout/Sidebar.tsx +3 -3
  218. package/corpus/templates/forms/app/components/ui/alert-dialog.tsx +1 -1
  219. package/corpus/templates/forms/app/components/ui/alert.tsx +1 -1
  220. package/corpus/templates/forms/app/components/ui/breadcrumb.tsx +1 -1
  221. package/corpus/templates/forms/app/components/ui/calendar.tsx +9 -6
  222. package/corpus/templates/forms/app/components/ui/carousel.tsx +6 -6
  223. package/corpus/templates/forms/app/components/ui/command.tsx +2 -2
  224. package/corpus/templates/forms/app/components/ui/context-menu.tsx +9 -9
  225. package/corpus/templates/forms/app/components/ui/dialog.tsx +2 -2
  226. package/corpus/templates/forms/app/components/ui/drawer.tsx +1 -1
  227. package/corpus/templates/forms/app/components/ui/dropdown-menu.tsx +9 -9
  228. package/corpus/templates/forms/app/components/ui/input-otp.tsx +1 -1
  229. package/corpus/templates/forms/app/components/ui/menubar.tsx +9 -9
  230. package/corpus/templates/forms/app/components/ui/navigation-menu.tsx +3 -3
  231. package/corpus/templates/forms/app/components/ui/pagination.tsx +4 -4
  232. package/corpus/templates/forms/app/components/ui/scroll-area.tsx +1 -1
  233. package/corpus/templates/forms/app/components/ui/select.tsx +3 -3
  234. package/corpus/templates/forms/app/components/ui/sheet.tsx +2 -2
  235. package/corpus/templates/forms/app/components/ui/sidebar.tsx +6 -6
  236. package/corpus/templates/forms/app/components/ui/table.tsx +2 -2
  237. package/corpus/templates/forms/app/components/ui/toast.tsx +3 -3
  238. package/corpus/templates/forms/app/pages/FormBuilderPage.tsx +18 -18
  239. package/corpus/templates/forms/app/pages/FormsListPage.tsx +9 -9
  240. package/corpus/templates/macros/app/components/layout/AppLayout.tsx +4 -4
  241. package/corpus/templates/macros/app/components/ui/alert-dialog.tsx +1 -1
  242. package/corpus/templates/macros/app/components/ui/alert.tsx +1 -1
  243. package/corpus/templates/macros/app/components/ui/breadcrumb.tsx +1 -1
  244. package/corpus/templates/macros/app/components/ui/command.tsx +2 -2
  245. package/corpus/templates/macros/app/components/ui/context-menu.tsx +9 -9
  246. package/corpus/templates/macros/app/components/ui/dialog.tsx +2 -2
  247. package/corpus/templates/macros/app/components/ui/drawer.tsx +1 -1
  248. package/corpus/templates/macros/app/components/ui/dropdown-menu.tsx +9 -9
  249. package/corpus/templates/macros/app/components/ui/menubar.tsx +9 -9
  250. package/corpus/templates/macros/app/components/ui/navigation-menu.tsx +3 -3
  251. package/corpus/templates/macros/app/components/ui/pagination.tsx +4 -4
  252. package/corpus/templates/macros/app/components/ui/scroll-area.tsx +1 -1
  253. package/corpus/templates/macros/app/components/ui/select.tsx +3 -3
  254. package/corpus/templates/macros/app/components/ui/sheet.tsx +2 -2
  255. package/corpus/templates/macros/app/components/ui/table.tsx +2 -2
  256. package/corpus/templates/macros/app/components/ui/toast.tsx +3 -3
  257. package/corpus/templates/macros/app/routes/_index.tsx +2 -2
  258. package/corpus/templates/macros/app/routes/analytics.tsx +1 -1
  259. package/corpus/templates/mail/app/components/GoogleConnectBanner.tsx +6 -6
  260. package/corpus/templates/mail/app/components/email/AttachmentStrip.tsx +2 -2
  261. package/corpus/templates/mail/app/components/email/EmailListItem.tsx +5 -5
  262. package/corpus/templates/mail/app/components/email/IntegrationsSidebar.tsx +5 -5
  263. package/corpus/templates/mail/app/components/email/MobileActionBar.tsx +3 -3
  264. package/corpus/templates/mail/app/components/layout/AppLayout.tsx +10 -10
  265. package/corpus/templates/mail/app/components/layout/CommandPalette.tsx +1 -1
  266. package/corpus/templates/mail/app/components/layout/SearchBar.tsx +3 -3
  267. package/corpus/templates/mail/app/components/ui/alert-dialog.tsx +1 -1
  268. package/corpus/templates/mail/app/components/ui/alert.tsx +1 -1
  269. package/corpus/templates/mail/app/components/ui/breadcrumb.tsx +1 -1
  270. package/corpus/templates/mail/app/components/ui/calendar.tsx +4 -4
  271. package/corpus/templates/mail/app/components/ui/carousel.tsx +6 -6
  272. package/corpus/templates/mail/app/components/ui/command.tsx +2 -2
  273. package/corpus/templates/mail/app/components/ui/context-menu.tsx +9 -9
  274. package/corpus/templates/mail/app/components/ui/dialog.tsx +2 -2
  275. package/corpus/templates/mail/app/components/ui/drawer.tsx +1 -1
  276. package/corpus/templates/mail/app/components/ui/dropdown-menu.tsx +9 -9
  277. package/corpus/templates/mail/app/components/ui/input-otp.tsx +1 -1
  278. package/corpus/templates/mail/app/components/ui/menubar.tsx +9 -9
  279. package/corpus/templates/mail/app/components/ui/navigation-menu.tsx +3 -3
  280. package/corpus/templates/mail/app/components/ui/pagination.tsx +4 -4
  281. package/corpus/templates/mail/app/components/ui/scroll-area.tsx +1 -1
  282. package/corpus/templates/mail/app/components/ui/select.tsx +3 -3
  283. package/corpus/templates/mail/app/components/ui/sheet.tsx +2 -2
  284. package/corpus/templates/mail/app/components/ui/sidebar.tsx +6 -6
  285. package/corpus/templates/mail/app/components/ui/sonner.tsx +2 -2
  286. package/corpus/templates/mail/app/components/ui/table.tsx +2 -2
  287. package/corpus/templates/mail/app/components/ui/toast.tsx +3 -3
  288. package/corpus/templates/plan/app/components/layout/Sidebar.tsx +10 -10
  289. package/corpus/templates/plan/app/components/ui/alert-dialog.tsx +1 -1
  290. package/corpus/templates/plan/app/components/ui/alert.tsx +1 -1
  291. package/corpus/templates/plan/app/components/ui/breadcrumb.tsx +1 -1
  292. package/corpus/templates/plan/app/components/ui/calendar.tsx +5 -5
  293. package/corpus/templates/plan/app/components/ui/carousel.tsx +6 -6
  294. package/corpus/templates/plan/app/components/ui/command.tsx +2 -2
  295. package/corpus/templates/plan/app/components/ui/context-menu.tsx +9 -9
  296. package/corpus/templates/plan/app/components/ui/dialog.tsx +2 -2
  297. package/corpus/templates/plan/app/components/ui/drawer.tsx +1 -1
  298. package/corpus/templates/plan/app/components/ui/dropdown-menu.tsx +9 -9
  299. package/corpus/templates/plan/app/components/ui/input-otp.tsx +1 -1
  300. package/corpus/templates/plan/app/components/ui/menubar.tsx +9 -9
  301. package/corpus/templates/plan/app/components/ui/navigation-menu.tsx +3 -3
  302. package/corpus/templates/plan/app/components/ui/pagination.tsx +4 -4
  303. package/corpus/templates/plan/app/components/ui/scroll-area.tsx +1 -1
  304. package/corpus/templates/plan/app/components/ui/select.tsx +3 -3
  305. package/corpus/templates/plan/app/components/ui/sheet.tsx +2 -2
  306. package/corpus/templates/plan/app/components/ui/sidebar.tsx +6 -6
  307. package/corpus/templates/plan/app/components/ui/table.tsx +2 -2
  308. package/corpus/templates/plan/app/components/ui/toast.tsx +3 -3
  309. package/corpus/templates/slides/app/components/layout/Layout.tsx +1 -1
  310. package/corpus/templates/slides/app/components/ui/alert-dialog.tsx +1 -1
  311. package/corpus/templates/slides/app/components/ui/alert.tsx +1 -1
  312. package/corpus/templates/slides/app/components/ui/breadcrumb.tsx +1 -1
  313. package/corpus/templates/slides/app/components/ui/calendar.tsx +5 -5
  314. package/corpus/templates/slides/app/components/ui/carousel.tsx +6 -6
  315. package/corpus/templates/slides/app/components/ui/command.tsx +2 -2
  316. package/corpus/templates/slides/app/components/ui/context-menu.tsx +9 -9
  317. package/corpus/templates/slides/app/components/ui/dialog.tsx +2 -2
  318. package/corpus/templates/slides/app/components/ui/drawer.tsx +1 -1
  319. package/corpus/templates/slides/app/components/ui/dropdown-menu.tsx +9 -9
  320. package/corpus/templates/slides/app/components/ui/input-otp.tsx +1 -1
  321. package/corpus/templates/slides/app/components/ui/menubar.tsx +9 -9
  322. package/corpus/templates/slides/app/components/ui/navigation-menu.tsx +3 -3
  323. package/corpus/templates/slides/app/components/ui/pagination.tsx +4 -4
  324. package/corpus/templates/slides/app/components/ui/scroll-area.tsx +1 -1
  325. package/corpus/templates/slides/app/components/ui/select.tsx +3 -3
  326. package/corpus/templates/slides/app/components/ui/sheet.tsx +2 -2
  327. package/corpus/templates/slides/app/components/ui/sidebar.tsx +6 -6
  328. package/corpus/templates/slides/app/components/ui/table.tsx +2 -2
  329. package/corpus/templates/slides/app/components/ui/toast.tsx +3 -3
  330. package/corpus/templates/videos/app/components/ui/alert-dialog.tsx +1 -1
  331. package/corpus/templates/videos/app/components/ui/alert.tsx +1 -1
  332. package/corpus/templates/videos/app/components/ui/breadcrumb.tsx +1 -1
  333. package/corpus/templates/videos/app/components/ui/calendar.tsx +5 -5
  334. package/corpus/templates/videos/app/components/ui/carousel.tsx +6 -6
  335. package/corpus/templates/videos/app/components/ui/command.tsx +2 -2
  336. package/corpus/templates/videos/app/components/ui/context-menu.tsx +9 -9
  337. package/corpus/templates/videos/app/components/ui/dialog.tsx +2 -2
  338. package/corpus/templates/videos/app/components/ui/drawer.tsx +1 -1
  339. package/corpus/templates/videos/app/components/ui/dropdown-menu.tsx +9 -9
  340. package/corpus/templates/videos/app/components/ui/input-otp.tsx +1 -1
  341. package/corpus/templates/videos/app/components/ui/menubar.tsx +9 -9
  342. package/corpus/templates/videos/app/components/ui/navigation-menu.tsx +3 -3
  343. package/corpus/templates/videos/app/components/ui/pagination.tsx +4 -4
  344. package/corpus/templates/videos/app/components/ui/scroll-area.tsx +1 -1
  345. package/corpus/templates/videos/app/components/ui/select.tsx +3 -3
  346. package/corpus/templates/videos/app/components/ui/sheet.tsx +2 -2
  347. package/corpus/templates/videos/app/components/ui/sidebar.tsx +6 -6
  348. package/corpus/templates/videos/app/components/ui/table.tsx +2 -2
  349. package/corpus/templates/videos/app/components/ui/toast.tsx +3 -3
  350. package/dist/agent/production-agent.d.ts +47 -0
  351. package/dist/agent/production-agent.d.ts.map +1 -1
  352. package/dist/agent/production-agent.js +112 -56
  353. package/dist/agent/production-agent.js.map +1 -1
  354. package/dist/agent/run-store.d.ts +21 -0
  355. package/dist/agent/run-store.d.ts.map +1 -1
  356. package/dist/agent/run-store.js +32 -0
  357. package/dist/agent/run-store.js.map +1 -1
  358. package/dist/client/AgentPanel.js +3 -3
  359. package/dist/client/AgentPanel.js.map +1 -1
  360. package/dist/client/AgentTaskCard.d.ts.map +1 -1
  361. package/dist/client/AgentTaskCard.js +1 -1
  362. package/dist/client/AgentTaskCard.js.map +1 -1
  363. package/dist/client/AppearancePicker.js +1 -1
  364. package/dist/client/AppearancePicker.js.map +1 -1
  365. package/dist/client/AssistantChat.js +3 -3
  366. package/dist/client/AssistantChat.js.map +1 -1
  367. package/dist/client/CommandMenu.js +4 -4
  368. package/dist/client/CommandMenu.js.map +1 -1
  369. package/dist/client/ErrorBoundary.js +1 -1
  370. package/dist/client/ErrorBoundary.js.map +1 -1
  371. package/dist/client/MultiTabAssistantChat.js +9 -9
  372. package/dist/client/MultiTabAssistantChat.js.map +1 -1
  373. package/dist/client/NewWorkspaceAppFlow.js +5 -5
  374. package/dist/client/NewWorkspaceAppFlow.js.map +1 -1
  375. package/dist/client/components/ui/dropdown-menu.js +6 -6
  376. package/dist/client/components/ui/dropdown-menu.js.map +1 -1
  377. package/dist/client/components/ui/sheet.js +1 -1
  378. package/dist/client/components/ui/sheet.js.map +1 -1
  379. package/dist/client/composer/ComposerPlusMenu.js +5 -5
  380. package/dist/client/composer/ComposerPlusMenu.js.map +1 -1
  381. package/dist/client/composer/MentionPopover.js +4 -4
  382. package/dist/client/composer/MentionPopover.js.map +1 -1
  383. package/dist/client/composer/PastedTextChip.js +2 -2
  384. package/dist/client/composer/PastedTextChip.js.map +1 -1
  385. package/dist/client/composer/PromptComposer.js +3 -3
  386. package/dist/client/composer/PromptComposer.js.map +1 -1
  387. package/dist/client/composer/TiptapComposer.js +12 -12
  388. package/dist/client/composer/TiptapComposer.js.map +1 -1
  389. package/dist/client/guided-questions.d.ts.map +1 -1
  390. package/dist/client/guided-questions.js +5 -5
  391. package/dist/client/guided-questions.js.map +1 -1
  392. package/dist/client/i18n.js +2 -2
  393. package/dist/client/i18n.js.map +1 -1
  394. package/dist/client/integrations/IntegrationCard.js +1 -1
  395. package/dist/client/integrations/IntegrationCard.js.map +1 -1
  396. package/dist/client/integrations/IntegrationsPanel.js +4 -4
  397. package/dist/client/integrations/IntegrationsPanel.js.map +1 -1
  398. package/dist/client/notifications/NotificationsBell.js +3 -3
  399. package/dist/client/notifications/NotificationsBell.js.map +1 -1
  400. package/dist/client/onboarding/OnboardingBanner.js +3 -3
  401. package/dist/client/onboarding/OnboardingBanner.js.map +1 -1
  402. package/dist/client/onboarding/OnboardingPanel.d.ts.map +1 -1
  403. package/dist/client/onboarding/OnboardingPanel.js +15 -10
  404. package/dist/client/onboarding/OnboardingPanel.js.map +1 -1
  405. package/dist/client/org/OrgSwitcher.d.ts.map +1 -1
  406. package/dist/client/org/OrgSwitcher.js +7 -7
  407. package/dist/client/org/OrgSwitcher.js.map +1 -1
  408. package/dist/client/org/TeamPage.js +2 -2
  409. package/dist/client/org/TeamPage.js.map +1 -1
  410. package/dist/client/settings/AgentsSection.js +3 -3
  411. package/dist/client/settings/AgentsSection.js.map +1 -1
  412. package/dist/client/settings/AutomationsSection.js +2 -2
  413. package/dist/client/settings/AutomationsSection.js.map +1 -1
  414. package/dist/client/settings/SecretsSection.js +2 -2
  415. package/dist/client/settings/SecretsSection.js.map +1 -1
  416. package/dist/client/settings/SettingsPanel.d.ts.map +1 -1
  417. package/dist/client/settings/SettingsPanel.js +4 -4
  418. package/dist/client/settings/SettingsPanel.js.map +1 -1
  419. package/dist/client/settings/SettingsSection.js +1 -1
  420. package/dist/client/settings/SettingsSection.js.map +1 -1
  421. package/dist/client/settings/UsageSection.js +2 -2
  422. package/dist/client/settings/UsageSection.js.map +1 -1
  423. package/dist/client/settings/VoiceTranscriptionSection.js +3 -3
  424. package/dist/client/settings/VoiceTranscriptionSection.js.map +1 -1
  425. package/dist/client/sharing/ShareButton.js +6 -6
  426. package/dist/client/sharing/ShareButton.js.map +1 -1
  427. package/dist/client/sharing/ShareDialog.js +3 -3
  428. package/dist/client/sharing/ShareDialog.js.map +1 -1
  429. package/dist/deploy/build.d.ts.map +1 -1
  430. package/dist/deploy/build.js +31 -14
  431. package/dist/deploy/build.js.map +1 -1
  432. package/dist/styles/agent-conversation.css +10 -10
  433. package/dist/styles/blocks.css +2 -2
  434. package/dist/styles/rich-markdown-editor.css +2 -2
  435. package/package.json +1 -1
@@ -1222,7 +1222,7 @@ function AppLayoutInner({ children }: AppLayoutProps) {
1222
1222
 
1223
1223
  {/* Account avatars — overlapping stack like Figma */}
1224
1224
  {googleStatus.isLoading && (
1225
- <div className="flex items-center ml-1">
1225
+ <div className="flex items-center ms-1">
1226
1226
  <Skeleton className="h-7 w-7 rounded-full ring-2 ring-card" />
1227
1227
  </div>
1228
1228
  )}
@@ -1234,7 +1234,7 @@ function AppLayoutInner({ children }: AppLayoutProps) {
1234
1234
  <Tooltip>
1235
1235
  <TooltipTrigger asChild>
1236
1236
  <PopoverTrigger asChild>
1237
- <button className="flex items-center hover:opacity-90 transition-opacity ml-1">
1237
+ <button className="flex items-center hover:opacity-90 transition-opacity ms-1">
1238
1238
  <div
1239
1239
  className="flex items-center"
1240
1240
  style={{
@@ -1325,10 +1325,10 @@ function AppLayoutInner({ children }: AppLayoutProps) {
1325
1325
  )}
1326
1326
  <div
1327
1327
  className={cn(
1328
- "flex w-64 flex-col overflow-hidden bg-background/85 backdrop-blur-2xl border-r border-border/30 shadow-2xl",
1328
+ "flex w-64 flex-col overflow-hidden bg-background/85 backdrop-blur-2xl border-e border-border/30 shadow-2xl",
1329
1329
  sidebarPinned && !isMobile
1330
- ? "absolute left-0 top-12 bottom-0 z-10"
1331
- : "fixed left-0 top-0 bottom-0 z-40",
1330
+ ? "absolute start-0 top-12 bottom-0 z-10"
1331
+ : "fixed start-0 top-0 bottom-0 z-40",
1332
1332
  )}
1333
1333
  >
1334
1334
  <div className="flex h-12 shrink-0 items-center justify-between border-b border-border/20 px-4">
@@ -1395,7 +1395,7 @@ function AppLayoutInner({ children }: AppLayoutProps) {
1395
1395
  });
1396
1396
  }}
1397
1397
  className={cn(
1398
- "flex w-full items-center gap-3 rounded-lg px-2 py-1.5 text-left transition-all",
1398
+ "flex w-full items-center gap-3 rounded-lg px-2 py-1.5 text-start transition-all",
1399
1399
  isActive ? "opacity-100" : "opacity-30",
1400
1400
  )}
1401
1401
  >
@@ -1562,7 +1562,7 @@ function AppLayoutInner({ children }: AppLayoutProps) {
1562
1562
  <div
1563
1563
  className={cn(
1564
1564
  "flex min-h-0 flex-1 flex-col",
1565
- sidebarPinned && !isMobile && "pl-64",
1565
+ sidebarPinned && !isMobile && "ps-64",
1566
1566
  )}
1567
1567
  >
1568
1568
  <InvitationBanner />
@@ -1789,7 +1789,7 @@ function StandardLayout({ children }: AppLayoutProps) {
1789
1789
  className="fixed inset-0 z-30 bg-black/20"
1790
1790
  onClick={() => setSidebarOpen(false)}
1791
1791
  />
1792
- <div className="fixed left-0 top-0 bottom-0 z-40 flex w-64 flex-col overflow-hidden bg-background/70 backdrop-blur-2xl border-r border-border/30 shadow-2xl">
1792
+ <div className="fixed start-0 top-0 bottom-0 z-40 flex w-64 flex-col overflow-hidden bg-background/70 backdrop-blur-2xl border-e border-border/30 shadow-2xl">
1793
1793
  <div className="min-h-0 flex-1 overflow-y-auto p-4">
1794
1794
  <div className="space-y-0.5">
1795
1795
  {[
@@ -1895,7 +1895,7 @@ function CheckboxRow({
1895
1895
  return (
1896
1896
  <button
1897
1897
  onClick={onToggle}
1898
- className="flex items-center gap-2.5 w-full px-3 py-1.5 text-left hover:bg-accent/50 transition-colors"
1898
+ className="flex items-center gap-2.5 w-full px-3 py-1.5 text-start hover:bg-accent/50 transition-colors"
1899
1899
  >
1900
1900
  <span
1901
1901
  className={cn(
@@ -2114,7 +2114,7 @@ function TabSettingsPopover({
2114
2114
  setEditingId(label.id);
2115
2115
  setEditValue(alias || "");
2116
2116
  }}
2117
- className="shrink-0 mr-2 px-1 py-0.5 text-[10px] text-muted-foreground/40 hover:text-foreground opacity-0 group-hover:opacity-100 rounded hover:bg-accent/50"
2117
+ className="shrink-0 me-2 px-1 py-0.5 text-[10px] text-muted-foreground/40 hover:text-foreground opacity-0 group-hover:opacity-100 rounded hover:bg-accent/50"
2118
2118
  >
2119
2119
  Rename
2120
2120
  </button>
@@ -106,7 +106,7 @@ export function CommandPalette({
106
106
  </CommandMenu.Item>
107
107
  {onReply && (
108
108
  <CommandMenu.Item onSelect={onReply} keywords={["reply", "respond"]}>
109
- <IconCornerUpLeft className="h-4 w-4" />
109
+ <IconCornerUpLeft className="h-4 w-4 rtl:-scale-x-100" />
110
110
  Reply to thread
111
111
  <CommandMenu.Shortcut>R</CommandMenu.Shortcut>
112
112
  </CommandMenu.Item>
@@ -207,7 +207,7 @@ export function SearchBar({
207
207
  e.preventDefault();
208
208
  handleClear();
209
209
  }}
210
- className="flex h-5 w-5 mr-1 items-center justify-center rounded text-muted-foreground hover:text-foreground hover:bg-accent"
210
+ className="flex h-5 w-5 me-1 items-center justify-center rounded text-muted-foreground hover:text-foreground hover:bg-accent"
211
211
  >
212
212
  <IconX className="h-3.5 w-3.5" />
213
213
  </button>
@@ -222,7 +222,7 @@ export function SearchBar({
222
222
  <div
223
223
  data-search-dropdown
224
224
  ref={listRef}
225
- className="absolute right-0 top-full mt-1 w-72 rounded-lg border border-border bg-popover shadow-lg z-50 py-1 overflow-hidden"
225
+ className="absolute end-0 top-full mt-1 w-72 rounded-lg border border-border bg-popover shadow-lg z-50 py-1 overflow-hidden"
226
226
  >
227
227
  {matchedContacts.map((contact, i) => (
228
228
  <button
@@ -236,7 +236,7 @@ export function SearchBar({
236
236
  }}
237
237
  onMouseEnter={() => setSelectedIndex(i)}
238
238
  className={cn(
239
- "flex w-full items-center gap-3 px-3 py-2 text-left text-[13px]",
239
+ "flex w-full items-center gap-3 px-3 py-2 text-start text-[13px]",
240
240
  i === selectedIndex && "bg-accent",
241
241
  )}
242
242
  >
@@ -49,7 +49,7 @@ const AlertDialogHeader = ({
49
49
  }: React.HTMLAttributes<HTMLDivElement>) => (
50
50
  <div
51
51
  className={cn(
52
- "flex flex-col space-y-2 text-center sm:text-left",
52
+ "flex flex-col space-y-2 text-center sm:text-start",
53
53
  className,
54
54
  )}
55
55
  {...props}
@@ -4,7 +4,7 @@ import { cva, type VariantProps } from "class-variance-authority";
4
4
  import { cn } from "@/lib/utils";
5
5
 
6
6
  const alertVariants = cva(
7
- "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
7
+ "relative w-full rounded-lg border p-4 [&>svg~*]:ps-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:start-4 [&>svg]:top-4 [&>svg]:text-foreground",
8
8
  {
9
9
  variants: {
10
10
  variant: {
@@ -83,7 +83,7 @@ const BreadcrumbSeparator = ({
83
83
  className={cn("[&>svg]:size-3.5", className)}
84
84
  {...props}
85
85
  >
86
- {children ?? <IconChevronRight />}
86
+ {children ?? <IconChevronRight className="rtl:-scale-x-100" />}
87
87
  </li>
88
88
  );
89
89
  BreadcrumbSeparator.displayName = "BreadcrumbSeparator";
@@ -79,7 +79,7 @@ function Calendar({
79
79
  "select-none font-medium",
80
80
  captionLayout === "label"
81
81
  ? "text-sm"
82
- : "[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md pl-2 pr-1 text-sm [&>svg]:size-3.5",
82
+ : "[&>svg]:text-muted-foreground flex h-8 items-center gap-1 rounded-md ps-2 pe-1 text-sm [&>svg]:size-3.5",
83
83
  defaultClassNames.caption_label,
84
84
  ),
85
85
  table: "w-full border-collapse",
@@ -98,15 +98,15 @@ function Calendar({
98
98
  defaultClassNames.week_number,
99
99
  ),
100
100
  day: cn(
101
- "group/day relative aspect-square h-full w-full select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md",
101
+ "group/day relative aspect-square h-full w-full select-none p-0 text-center [&:first-child[data-selected=true]_button]:rounded-s-md [&:last-child[data-selected=true]_button]:rounded-e-md",
102
102
  defaultClassNames.day,
103
103
  ),
104
104
  range_start: cn(
105
- "bg-accent rounded-l-md",
105
+ "bg-accent rounded-s-md",
106
106
  defaultClassNames.range_start,
107
107
  ),
108
108
  range_middle: cn("rounded-none", defaultClassNames.range_middle),
109
- range_end: cn("bg-accent rounded-r-md", defaultClassNames.range_end),
109
+ range_end: cn("bg-accent rounded-e-md", defaultClassNames.range_end),
110
110
  today: cn(
111
111
  "bg-accent text-accent-foreground rounded-md data-[selected=true]:rounded-none",
112
112
  defaultClassNames.today,
@@ -160,7 +160,7 @@ const CarouselContent = React.forwardRef<
160
160
  ref={ref}
161
161
  className={cn(
162
162
  "flex",
163
- orientation === "horizontal" ? "-ml-4" : "-mt-4 flex-col",
163
+ orientation === "horizontal" ? "-ms-4" : "-mt-4 flex-col",
164
164
  className,
165
165
  )}
166
166
  {...props}
@@ -183,7 +183,7 @@ const CarouselItem = React.forwardRef<
183
183
  aria-roledescription="slide"
184
184
  className={cn(
185
185
  "min-w-0 shrink-0 grow-0 basis-full",
186
- orientation === "horizontal" ? "pl-4" : "pt-4",
186
+ orientation === "horizontal" ? "ps-4" : "pt-4",
187
187
  className,
188
188
  )}
189
189
  {...props}
@@ -206,7 +206,7 @@ const CarouselPrevious = React.forwardRef<
206
206
  className={cn(
207
207
  "absolute h-8 w-8 rounded-full",
208
208
  orientation === "horizontal"
209
- ? "-left-12 top-1/2 -translate-y-1/2"
209
+ ? "-start-12 top-1/2 -translate-y-1/2"
210
210
  : "-top-12 left-1/2 -translate-x-1/2 rotate-90",
211
211
  className,
212
212
  )}
@@ -214,7 +214,7 @@ const CarouselPrevious = React.forwardRef<
214
214
  onClick={scrollPrev}
215
215
  {...props}
216
216
  >
217
- <IconArrowLeft className="h-4 w-4" />
217
+ <IconArrowLeft className="h-4 w-4 rtl:-scale-x-100" />
218
218
  <span className="sr-only">Previous slide</span>
219
219
  </Button>
220
220
  );
@@ -235,7 +235,7 @@ const CarouselNext = React.forwardRef<
235
235
  className={cn(
236
236
  "absolute h-8 w-8 rounded-full",
237
237
  orientation === "horizontal"
238
- ? "-right-12 top-1/2 -translate-y-1/2"
238
+ ? "-end-12 top-1/2 -translate-y-1/2"
239
239
  : "-bottom-12 left-1/2 -translate-x-1/2 rotate-90",
240
240
  className,
241
241
  )}
@@ -243,7 +243,7 @@ const CarouselNext = React.forwardRef<
243
243
  onClick={scrollNext}
244
244
  {...props}
245
245
  >
246
- <IconArrowRight className="h-4 w-4" />
246
+ <IconArrowRight className="h-4 w-4 rtl:-scale-x-100" />
247
247
  <span className="sr-only">Next slide</span>
248
248
  </Button>
249
249
  );
@@ -40,7 +40,7 @@ const CommandInput = React.forwardRef<
40
40
  React.ComponentPropsWithoutRef<typeof CommandPrimitive.Input>
41
41
  >(({ className, ...props }, ref) => (
42
42
  <div className="flex items-center border-b px-3" cmdk-input-wrapper="">
43
- <IconSearch className="mr-2 h-4 w-4 shrink-0 opacity-50" />
43
+ <IconSearch className="me-2 h-4 w-4 shrink-0 opacity-50" />
44
44
  <CommandPrimitive.Input
45
45
  ref={ref}
46
46
  className={cn(
@@ -131,7 +131,7 @@ const CommandShortcut = ({
131
131
  return (
132
132
  <span
133
133
  className={cn(
134
- "ml-auto text-xs tracking-widest text-muted-foreground",
134
+ "ms-auto text-xs tracking-widest text-muted-foreground",
135
135
  className,
136
136
  )}
137
137
  {...props}
@@ -26,13 +26,13 @@ const ContextMenuSubTrigger = React.forwardRef<
26
26
  ref={ref}
27
27
  className={cn(
28
28
  "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
29
- inset && "pl-8",
29
+ inset && "ps-8",
30
30
  className,
31
31
  )}
32
32
  {...props}
33
33
  >
34
34
  {children}
35
- <IconChevronRight className="ml-auto h-4 w-4" />
35
+ <IconChevronRight className="ms-auto h-4 w-4 rtl:-scale-x-100" />
36
36
  </ContextMenuPrimitive.SubTrigger>
37
37
  ));
38
38
  ContextMenuSubTrigger.displayName = ContextMenuPrimitive.SubTrigger.displayName;
@@ -79,7 +79,7 @@ const ContextMenuItem = React.forwardRef<
79
79
  ref={ref}
80
80
  className={cn(
81
81
  "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
82
- inset && "pl-8",
82
+ inset && "ps-8",
83
83
  className,
84
84
  )}
85
85
  {...props}
@@ -94,13 +94,13 @@ const ContextMenuCheckboxItem = React.forwardRef<
94
94
  <ContextMenuPrimitive.CheckboxItem
95
95
  ref={ref}
96
96
  className={cn(
97
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
97
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
98
98
  className,
99
99
  )}
100
100
  checked={checked}
101
101
  {...props}
102
102
  >
103
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
103
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
104
104
  <ContextMenuPrimitive.ItemIndicator>
105
105
  <IconCheck className="h-4 w-4" />
106
106
  </ContextMenuPrimitive.ItemIndicator>
@@ -118,12 +118,12 @@ const ContextMenuRadioItem = React.forwardRef<
118
118
  <ContextMenuPrimitive.RadioItem
119
119
  ref={ref}
120
120
  className={cn(
121
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
121
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
122
122
  className,
123
123
  )}
124
124
  {...props}
125
125
  >
126
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
126
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
127
127
  <ContextMenuPrimitive.ItemIndicator>
128
128
  <IconCircle className="h-2 w-2 fill-current" />
129
129
  </ContextMenuPrimitive.ItemIndicator>
@@ -143,7 +143,7 @@ const ContextMenuLabel = React.forwardRef<
143
143
  ref={ref}
144
144
  className={cn(
145
145
  "px-2 py-1.5 text-sm font-semibold text-foreground",
146
- inset && "pl-8",
146
+ inset && "ps-8",
147
147
  className,
148
148
  )}
149
149
  {...props}
@@ -170,7 +170,7 @@ const ContextMenuShortcut = ({
170
170
  return (
171
171
  <span
172
172
  className={cn(
173
- "ml-auto text-xs tracking-widest text-muted-foreground",
173
+ "ms-auto text-xs tracking-widest text-muted-foreground",
174
174
  className,
175
175
  )}
176
176
  {...props}
@@ -51,7 +51,7 @@ const DialogContent = React.forwardRef<
51
51
  >
52
52
  {children}
53
53
  {!hideClose && (
54
- <DialogPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
54
+ <DialogPrimitive.Close className="absolute end-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground">
55
55
  <IconX className="h-4 w-4" />
56
56
  <span className="sr-only">Close</span>
57
57
  </DialogPrimitive.Close>
@@ -67,7 +67,7 @@ const DialogHeader = ({
67
67
  }: React.HTMLAttributes<HTMLDivElement>) => (
68
68
  <div
69
69
  className={cn(
70
- "flex flex-col space-y-1.5 text-center sm:text-left",
70
+ "flex flex-col space-y-1.5 text-center sm:text-start",
71
71
  className,
72
72
  )}
73
73
  {...props}
@@ -58,7 +58,7 @@ const DrawerHeader = ({
58
58
  ...props
59
59
  }: React.HTMLAttributes<HTMLDivElement>) => (
60
60
  <div
61
- className={cn("grid gap-1.5 p-4 text-center sm:text-left", className)}
61
+ className={cn("grid gap-1.5 p-4 text-center sm:text-start", className)}
62
62
  {...props}
63
63
  />
64
64
  );
@@ -30,13 +30,13 @@ const DropdownMenuSubTrigger = React.forwardRef<
30
30
  ref={ref}
31
31
  className={cn(
32
32
  "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent data-[state=open]:bg-accent",
33
- inset && "pl-8",
33
+ inset && "ps-8",
34
34
  className,
35
35
  )}
36
36
  {...props}
37
37
  >
38
38
  {children}
39
- <IconChevronRight className="ml-auto h-4 w-4" />
39
+ <IconChevronRight className="ms-auto h-4 w-4 rtl:-scale-x-100" />
40
40
  </DropdownMenuPrimitive.SubTrigger>
41
41
  ));
42
42
  DropdownMenuSubTrigger.displayName =
@@ -96,7 +96,7 @@ const DropdownMenuItem = React.forwardRef<
96
96
  ref={ref}
97
97
  className={cn(
98
98
  "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
99
- inset && "pl-8",
99
+ inset && "ps-8",
100
100
  className,
101
101
  )}
102
102
  {...props}
@@ -111,13 +111,13 @@ const DropdownMenuCheckboxItem = React.forwardRef<
111
111
  <DropdownMenuPrimitive.CheckboxItem
112
112
  ref={ref}
113
113
  className={cn(
114
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
114
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
115
115
  className,
116
116
  )}
117
117
  checked={checked}
118
118
  {...props}
119
119
  >
120
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
120
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
121
121
  <DropdownMenuPrimitive.ItemIndicator>
122
122
  <IconCheck className="h-4 w-4" />
123
123
  </DropdownMenuPrimitive.ItemIndicator>
@@ -135,12 +135,12 @@ const DropdownMenuRadioItem = React.forwardRef<
135
135
  <DropdownMenuPrimitive.RadioItem
136
136
  ref={ref}
137
137
  className={cn(
138
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
138
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
139
139
  className,
140
140
  )}
141
141
  {...props}
142
142
  >
143
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
143
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
144
144
  <DropdownMenuPrimitive.ItemIndicator>
145
145
  <IconCircleFilled className="h-2 w-2" />
146
146
  </DropdownMenuPrimitive.ItemIndicator>
@@ -160,7 +160,7 @@ const DropdownMenuLabel = React.forwardRef<
160
160
  ref={ref}
161
161
  className={cn(
162
162
  "px-2 py-1.5 text-sm font-semibold",
163
- inset && "pl-8",
163
+ inset && "ps-8",
164
164
  className,
165
165
  )}
166
166
  {...props}
@@ -186,7 +186,7 @@ const DropdownMenuShortcut = ({
186
186
  }: React.HTMLAttributes<HTMLSpanElement>) => {
187
187
  return (
188
188
  <span
189
- className={cn("ml-auto text-xs tracking-widest opacity-60", className)}
189
+ className={cn("ms-auto text-xs tracking-widest opacity-60", className)}
190
190
  {...props}
191
191
  />
192
192
  );
@@ -39,7 +39,7 @@ const InputOTPSlot = React.forwardRef<
39
39
  <div
40
40
  ref={ref}
41
41
  className={cn(
42
- "relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
42
+ "relative flex h-10 w-10 items-center justify-center border-y border-e border-input text-sm transition-all first:rounded-s-md first:border-s last:rounded-e-md",
43
43
  isActive && "z-10 ring-2 ring-ring ring-offset-background",
44
44
  className,
45
45
  )}
@@ -74,13 +74,13 @@ const MenubarSubTrigger = React.forwardRef<
74
74
  ref={ref}
75
75
  className={cn(
76
76
  "flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",
77
- inset && "pl-8",
77
+ inset && "ps-8",
78
78
  className,
79
79
  )}
80
80
  {...props}
81
81
  >
82
82
  {children}
83
- <IconChevronRight className="ml-auto h-4 w-4" />
83
+ <IconChevronRight className="ms-auto h-4 w-4 rtl:-scale-x-100" />
84
84
  </MenubarPrimitive.SubTrigger>
85
85
  ));
86
86
  MenubarSubTrigger.displayName = MenubarPrimitive.SubTrigger.displayName;
@@ -135,7 +135,7 @@ const MenubarItem = React.forwardRef<
135
135
  ref={ref}
136
136
  className={cn(
137
137
  "relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
138
- inset && "pl-8",
138
+ inset && "ps-8",
139
139
  className,
140
140
  )}
141
141
  {...props}
@@ -150,13 +150,13 @@ const MenubarCheckboxItem = React.forwardRef<
150
150
  <MenubarPrimitive.CheckboxItem
151
151
  ref={ref}
152
152
  className={cn(
153
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
153
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
154
154
  className,
155
155
  )}
156
156
  checked={checked}
157
157
  {...props}
158
158
  >
159
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
159
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
160
160
  <MenubarPrimitive.ItemIndicator>
161
161
  <IconCheck className="h-4 w-4" />
162
162
  </MenubarPrimitive.ItemIndicator>
@@ -173,12 +173,12 @@ const MenubarRadioItem = React.forwardRef<
173
173
  <MenubarPrimitive.RadioItem
174
174
  ref={ref}
175
175
  className={cn(
176
- "relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
176
+ "relative flex cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
177
177
  className,
178
178
  )}
179
179
  {...props}
180
180
  >
181
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
181
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
182
182
  <MenubarPrimitive.ItemIndicator>
183
183
  <IconCircle className="h-2 w-2 fill-current" />
184
184
  </MenubarPrimitive.ItemIndicator>
@@ -198,7 +198,7 @@ const MenubarLabel = React.forwardRef<
198
198
  ref={ref}
199
199
  className={cn(
200
200
  "px-2 py-1.5 text-sm font-semibold",
201
- inset && "pl-8",
201
+ inset && "ps-8",
202
202
  className,
203
203
  )}
204
204
  {...props}
@@ -225,7 +225,7 @@ const MenubarShortcut = ({
225
225
  return (
226
226
  <span
227
227
  className={cn(
228
- "ml-auto text-xs tracking-widest text-muted-foreground",
228
+ "ms-auto text-xs tracking-widest text-muted-foreground",
229
229
  className,
230
230
  )}
231
231
  {...props}
@@ -55,7 +55,7 @@ const NavigationMenuTrigger = React.forwardRef<
55
55
  >
56
56
  {children}{" "}
57
57
  <IconChevronDown
58
- className="relative top-[1px] ml-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180"
58
+ className="relative top-[1px] ms-1 h-3 w-3 transition duration-200 group-data-[state=open]:rotate-180"
59
59
  aria-hidden="true"
60
60
  />
61
61
  </NavigationMenuPrimitive.Trigger>
@@ -69,7 +69,7 @@ const NavigationMenuContent = React.forwardRef<
69
69
  <NavigationMenuPrimitive.Content
70
70
  ref={ref}
71
71
  className={cn(
72
- "left-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
72
+ "start-0 top-0 w-full data-[motion^=from-]:animate-in data-[motion^=to-]:animate-out data-[motion^=from-]:fade-in data-[motion^=to-]:fade-out data-[motion=from-end]:slide-in-from-right-52 data-[motion=from-start]:slide-in-from-left-52 data-[motion=to-end]:slide-out-to-right-52 data-[motion=to-start]:slide-out-to-left-52 md:absolute md:w-auto ",
73
73
  className,
74
74
  )}
75
75
  {...props}
@@ -83,7 +83,7 @@ const NavigationMenuViewport = React.forwardRef<
83
83
  React.ElementRef<typeof NavigationMenuPrimitive.Viewport>,
84
84
  React.ComponentPropsWithoutRef<typeof NavigationMenuPrimitive.Viewport>
85
85
  >(({ className, ...props }, ref) => (
86
- <div className={cn("absolute left-0 top-full flex justify-center")}>
86
+ <div className={cn("absolute start-0 top-full flex justify-center")}>
87
87
  <NavigationMenuPrimitive.Viewport
88
88
  className={cn(
89
89
  "origin-top-center relative mt-1.5 h-[var(--radix-navigation-menu-viewport-height)] w-full overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-90 md:w-[var(--radix-navigation-menu-viewport-width)]",
@@ -70,10 +70,10 @@ const PaginationPrevious = ({
70
70
  <PaginationLink
71
71
  aria-label="Go to previous page"
72
72
  size="default"
73
- className={cn("gap-1 pl-2.5", className)}
73
+ className={cn("gap-1 ps-2.5", className)}
74
74
  {...props}
75
75
  >
76
- <IconChevronLeft className="h-4 w-4" />
76
+ <IconChevronLeft className="h-4 w-4 rtl:-scale-x-100" />
77
77
  <span>Previous</span>
78
78
  </PaginationLink>
79
79
  );
@@ -86,11 +86,11 @@ const PaginationNext = ({
86
86
  <PaginationLink
87
87
  aria-label="Go to next page"
88
88
  size="default"
89
- className={cn("gap-1 pr-2.5", className)}
89
+ className={cn("gap-1 pe-2.5", className)}
90
90
  {...props}
91
91
  >
92
92
  <span>Next</span>
93
- <IconChevronRight className="h-4 w-4" />
93
+ <IconChevronRight className="h-4 w-4 rtl:-scale-x-100" />
94
94
  </PaginationLink>
95
95
  );
96
96
  PaginationNext.displayName = "PaginationNext";
@@ -31,7 +31,7 @@ const ScrollBar = React.forwardRef<
31
31
  className={cn(
32
32
  "flex touch-none select-none transition-colors",
33
33
  orientation === "vertical" &&
34
- "h-full w-2.5 border-l border-l-transparent p-[1px]",
34
+ "h-full w-2.5 border-s border-s-transparent p-[1px]",
35
35
  orientation === "horizontal" &&
36
36
  "h-2.5 flex-col border-t border-t-transparent p-[1px]",
37
37
  className,
@@ -103,7 +103,7 @@ const SelectLabel = React.forwardRef<
103
103
  >(({ className, ...props }, ref) => (
104
104
  <SelectPrimitive.Label
105
105
  ref={ref}
106
- className={cn("py-1.5 pl-8 pr-2 text-sm font-semibold", className)}
106
+ className={cn("py-1.5 ps-8 pe-2 text-sm font-semibold", className)}
107
107
  {...props}
108
108
  />
109
109
  ));
@@ -116,12 +116,12 @@ const SelectItem = React.forwardRef<
116
116
  <SelectPrimitive.Item
117
117
  ref={ref}
118
118
  className={cn(
119
- "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
119
+ "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 ps-8 pe-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
120
120
  className,
121
121
  )}
122
122
  {...props}
123
123
  >
124
- <span className="absolute left-2 flex h-3.5 w-3.5 items-center justify-center">
124
+ <span className="absolute start-2 flex h-3.5 w-3.5 items-center justify-center">
125
125
  <SelectPrimitive.ItemIndicator>
126
126
  <IconCheck className="h-4 w-4" />
127
127
  </SelectPrimitive.ItemIndicator>
@@ -83,7 +83,7 @@ const SheetContent = React.forwardRef<
83
83
  >
84
84
  {children}
85
85
  {showClose ? (
86
- <SheetPrimitive.Close className="absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">
86
+ <SheetPrimitive.Close className="absolute end-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary">
87
87
  <IconX className="h-4 w-4" />
88
88
  <span className="sr-only">Close</span>
89
89
  </SheetPrimitive.Close>
@@ -100,7 +100,7 @@ const SheetHeader = ({
100
100
  }: React.HTMLAttributes<HTMLDivElement>) => (
101
101
  <div
102
102
  className={cn(
103
- "flex flex-col space-y-2 text-center sm:text-left",
103
+ "flex flex-col space-y-2 text-center sm:text-start",
104
104
  className,
105
105
  )}
106
106
  {...props}