@agent-native/core 0.76.7 → 0.76.8

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 (1613) hide show
  1. package/corpus/core/CHANGELOG.md +29 -0
  2. package/corpus/core/docs/content/deployment.md +8 -9
  3. package/corpus/core/docs/content/internationalization.md +6 -0
  4. package/corpus/core/docs/content/locales/ar-SA/a2a-protocol.md +20 -8
  5. package/corpus/core/docs/content/locales/ar-SA/actions.md +18 -6
  6. package/corpus/core/docs/content/locales/ar-SA/agent-mentions.md +18 -6
  7. package/corpus/core/docs/content/locales/ar-SA/agent-surfaces.md +4 -4
  8. package/corpus/core/docs/content/locales/ar-SA/agent-teams.md +6 -6
  9. package/corpus/core/docs/content/locales/ar-SA/agent-web-surfaces.md +13 -5
  10. package/corpus/core/docs/content/locales/ar-SA/authentication.md +4 -4
  11. package/corpus/core/docs/content/locales/ar-SA/automations.md +25 -9
  12. package/corpus/core/docs/content/locales/ar-SA/blueprint-installer.md +2 -2
  13. package/corpus/core/docs/content/locales/ar-SA/cli-adapters.md +2 -2
  14. package/corpus/core/docs/content/locales/ar-SA/client.md +4 -4
  15. package/corpus/core/docs/content/locales/ar-SA/cloneable-saas.md +4 -4
  16. package/corpus/core/docs/content/locales/ar-SA/code-agents-ui.md +4 -4
  17. package/corpus/core/docs/content/locales/ar-SA/components.md +4 -4
  18. package/corpus/core/docs/content/locales/ar-SA/context-awareness.md +25 -9
  19. package/corpus/core/docs/content/locales/ar-SA/creating-templates.md +16 -16
  20. package/corpus/core/docs/content/locales/ar-SA/cross-app-sso.md +2 -2
  21. package/corpus/core/docs/content/locales/ar-SA/database.md +2 -2
  22. package/corpus/core/docs/content/locales/ar-SA/deployment.md +15 -16
  23. package/corpus/core/docs/content/locales/ar-SA/dispatch.md +2 -2
  24. package/corpus/core/docs/content/locales/ar-SA/drop-in-agent.md +2 -2
  25. package/corpus/core/docs/content/locales/ar-SA/durable-resume.md +1 -1
  26. package/corpus/core/docs/content/locales/ar-SA/embedding-sdk.md +2 -2
  27. package/corpus/core/docs/content/locales/ar-SA/evals.md +2 -2
  28. package/corpus/core/docs/content/locales/ar-SA/extensions.md +2 -2
  29. package/corpus/core/docs/content/locales/ar-SA/external-agents.md +2 -2
  30. package/corpus/core/docs/content/locales/ar-SA/faq.md +2 -2
  31. package/corpus/core/docs/content/locales/ar-SA/file-uploads.md +1 -1
  32. package/corpus/core/docs/content/locales/ar-SA/frames.md +2 -2
  33. package/corpus/core/docs/content/locales/ar-SA/getting-started.md +5 -5
  34. package/corpus/core/docs/content/locales/ar-SA/harness-agents.md +2 -2
  35. package/corpus/core/docs/content/locales/ar-SA/human-approval.md +2 -2
  36. package/corpus/core/docs/content/locales/ar-SA/internationalization.md +2 -0
  37. package/corpus/core/docs/content/locales/ar-SA/key-concepts.md +7 -7
  38. package/corpus/core/docs/content/locales/ar-SA/local-file-mode.md +8 -8
  39. package/corpus/core/docs/content/locales/ar-SA/mcp-apps.md +3 -3
  40. package/corpus/core/docs/content/locales/ar-SA/mcp-clients.md +3 -3
  41. package/corpus/core/docs/content/locales/ar-SA/mcp-protocol.md +2 -2
  42. package/corpus/core/docs/content/locales/ar-SA/messaging.md +2 -2
  43. package/corpus/core/docs/content/locales/ar-SA/migration-workbench.md +1 -1
  44. package/corpus/core/docs/content/locales/ar-SA/multi-app-workspace.md +8 -8
  45. package/corpus/core/docs/content/locales/ar-SA/multi-tenancy.md +2 -2
  46. package/corpus/core/docs/content/locales/ar-SA/native-chat-ui.md +2 -2
  47. package/corpus/core/docs/content/locales/ar-SA/notifications.md +2 -2
  48. package/corpus/core/docs/content/locales/ar-SA/observability.md +3 -3
  49. package/corpus/core/docs/content/locales/ar-SA/observational-memory.md +2 -2
  50. package/corpus/core/docs/content/locales/ar-SA/onboarding.md +2 -2
  51. package/corpus/core/docs/content/locales/ar-SA/plan-plugin.md +2 -2
  52. package/corpus/core/docs/content/locales/ar-SA/pr-visual-recap.md +2 -2
  53. package/corpus/core/docs/content/locales/ar-SA/processors.md +1 -1
  54. package/corpus/core/docs/content/locales/ar-SA/progress.md +1 -1
  55. package/corpus/core/docs/content/locales/ar-SA/pure-agent-apps.md +1 -1
  56. package/corpus/core/docs/content/locales/ar-SA/real-time-collaboration.md +7 -3
  57. package/corpus/core/docs/content/locales/ar-SA/recurring-jobs.md +1 -1
  58. package/corpus/core/docs/content/locales/ar-SA/routing.md +1 -1
  59. package/corpus/core/docs/content/locales/ar-SA/sandbox-adapters.md +6 -6
  60. package/corpus/core/docs/content/locales/ar-SA/security.md +2 -2
  61. package/corpus/core/docs/content/locales/ar-SA/server.md +22 -10
  62. package/corpus/core/docs/content/locales/ar-SA/sharing.md +1 -1
  63. package/corpus/core/docs/content/locales/ar-SA/skills-guide.md +3 -3
  64. package/corpus/core/docs/content/locales/ar-SA/template-analytics.md +1 -1
  65. package/corpus/core/docs/content/locales/ar-SA/template-assets.md +2 -2
  66. package/corpus/core/docs/content/locales/ar-SA/template-brain.md +1 -1
  67. package/corpus/core/docs/content/locales/ar-SA/template-calendar.md +2 -2
  68. package/corpus/core/docs/content/locales/ar-SA/template-chat.md +7 -7
  69. package/corpus/core/docs/content/locales/ar-SA/template-clips.md +3 -3
  70. package/corpus/core/docs/content/locales/ar-SA/template-content.md +2 -2
  71. package/corpus/core/docs/content/locales/ar-SA/template-design.md +3 -3
  72. package/corpus/core/docs/content/locales/ar-SA/template-dispatch.md +1 -1
  73. package/corpus/core/docs/content/locales/ar-SA/template-forms.md +2 -2
  74. package/corpus/core/docs/content/locales/ar-SA/template-mail.md +2 -2
  75. package/corpus/core/docs/content/locales/ar-SA/template-plan.md +2 -2
  76. package/corpus/core/docs/content/locales/ar-SA/template-slides.md +3 -3
  77. package/corpus/core/docs/content/locales/ar-SA/template-videos.md +1 -1
  78. package/corpus/core/docs/content/locales/ar-SA/tracking.md +1 -1
  79. package/corpus/core/docs/content/locales/ar-SA/using-your-agent.md +1 -1
  80. package/corpus/core/docs/content/locales/ar-SA/voice-input.md +1 -1
  81. package/corpus/core/docs/content/locales/ar-SA/what-is-agent-native.md +5 -5
  82. package/corpus/core/docs/content/locales/ar-SA/workspace-connections.md +2 -2
  83. package/corpus/core/docs/content/locales/ar-SA/workspace-management.md +6 -6
  84. package/corpus/core/docs/content/locales/ar-SA/workspace.md +4 -4
  85. package/corpus/core/docs/content/locales/ar-SA/writing-agent-instructions.md +1 -1
  86. package/corpus/core/docs/content/locales/de-DE/a2a-protocol.md +3 -3
  87. package/corpus/core/docs/content/locales/de-DE/actions.md +3 -3
  88. package/corpus/core/docs/content/locales/de-DE/agent-mentions.md +2 -2
  89. package/corpus/core/docs/content/locales/de-DE/agent-surfaces.md +2 -2
  90. package/corpus/core/docs/content/locales/de-DE/agent-teams.md +3 -3
  91. package/corpus/core/docs/content/locales/de-DE/agent-web-surfaces.md +2 -2
  92. package/corpus/core/docs/content/locales/de-DE/authentication.md +2 -2
  93. package/corpus/core/docs/content/locales/de-DE/automations.md +3 -3
  94. package/corpus/core/docs/content/locales/de-DE/blueprint-installer.md +1 -1
  95. package/corpus/core/docs/content/locales/de-DE/cli-adapters.md +1 -1
  96. package/corpus/core/docs/content/locales/de-DE/client.md +3 -3
  97. package/corpus/core/docs/content/locales/de-DE/cloneable-saas.md +3 -3
  98. package/corpus/core/docs/content/locales/de-DE/code-agents-ui.md +3 -3
  99. package/corpus/core/docs/content/locales/de-DE/components.md +2 -2
  100. package/corpus/core/docs/content/locales/de-DE/context-awareness.md +3 -3
  101. package/corpus/core/docs/content/locales/de-DE/creating-templates.md +16 -16
  102. package/corpus/core/docs/content/locales/de-DE/cross-app-sso.md +2 -2
  103. package/corpus/core/docs/content/locales/de-DE/database.md +2 -2
  104. package/corpus/core/docs/content/locales/de-DE/deployment.md +15 -16
  105. package/corpus/core/docs/content/locales/de-DE/dispatch.md +2 -2
  106. package/corpus/core/docs/content/locales/de-DE/drop-in-agent.md +2 -2
  107. package/corpus/core/docs/content/locales/de-DE/durable-resume.md +1 -1
  108. package/corpus/core/docs/content/locales/de-DE/embedding-sdk.md +2 -2
  109. package/corpus/core/docs/content/locales/de-DE/evals.md +2 -2
  110. package/corpus/core/docs/content/locales/de-DE/extensions.md +2 -2
  111. package/corpus/core/docs/content/locales/de-DE/external-agents.md +2 -2
  112. package/corpus/core/docs/content/locales/de-DE/faq.md +2 -2
  113. package/corpus/core/docs/content/locales/de-DE/file-uploads.md +1 -1
  114. package/corpus/core/docs/content/locales/de-DE/frames.md +2 -2
  115. package/corpus/core/docs/content/locales/de-DE/getting-started.md +5 -5
  116. package/corpus/core/docs/content/locales/de-DE/harness-agents.md +2 -2
  117. package/corpus/core/docs/content/locales/de-DE/human-approval.md +2 -2
  118. package/corpus/core/docs/content/locales/de-DE/internationalization.md +2 -0
  119. package/corpus/core/docs/content/locales/de-DE/key-concepts.md +7 -7
  120. package/corpus/core/docs/content/locales/de-DE/local-file-mode.md +8 -8
  121. package/corpus/core/docs/content/locales/de-DE/mcp-apps.md +3 -3
  122. package/corpus/core/docs/content/locales/de-DE/mcp-clients.md +3 -3
  123. package/corpus/core/docs/content/locales/de-DE/mcp-protocol.md +2 -2
  124. package/corpus/core/docs/content/locales/de-DE/messaging.md +2 -2
  125. package/corpus/core/docs/content/locales/de-DE/migration-workbench.md +1 -1
  126. package/corpus/core/docs/content/locales/de-DE/multi-app-workspace.md +8 -8
  127. package/corpus/core/docs/content/locales/de-DE/multi-tenancy.md +2 -2
  128. package/corpus/core/docs/content/locales/de-DE/native-chat-ui.md +2 -2
  129. package/corpus/core/docs/content/locales/de-DE/notifications.md +2 -2
  130. package/corpus/core/docs/content/locales/de-DE/observability.md +3 -3
  131. package/corpus/core/docs/content/locales/de-DE/observational-memory.md +2 -2
  132. package/corpus/core/docs/content/locales/de-DE/onboarding.md +2 -2
  133. package/corpus/core/docs/content/locales/de-DE/plan-plugin.md +2 -2
  134. package/corpus/core/docs/content/locales/de-DE/pr-visual-recap.md +2 -2
  135. package/corpus/core/docs/content/locales/de-DE/processors.md +1 -1
  136. package/corpus/core/docs/content/locales/de-DE/progress.md +1 -1
  137. package/corpus/core/docs/content/locales/de-DE/pure-agent-apps.md +1 -1
  138. package/corpus/core/docs/content/locales/de-DE/real-time-collaboration.md +7 -3
  139. package/corpus/core/docs/content/locales/de-DE/recurring-jobs.md +1 -1
  140. package/corpus/core/docs/content/locales/de-DE/routing.md +1 -1
  141. package/corpus/core/docs/content/locales/de-DE/sandbox-adapters.md +6 -6
  142. package/corpus/core/docs/content/locales/de-DE/security.md +2 -2
  143. package/corpus/core/docs/content/locales/de-DE/server.md +22 -10
  144. package/corpus/core/docs/content/locales/de-DE/sharing.md +1 -1
  145. package/corpus/core/docs/content/locales/de-DE/skills-guide.md +3 -3
  146. package/corpus/core/docs/content/locales/de-DE/template-analytics.md +1 -1
  147. package/corpus/core/docs/content/locales/de-DE/template-assets.md +1 -1
  148. package/corpus/core/docs/content/locales/de-DE/template-brain.md +1 -1
  149. package/corpus/core/docs/content/locales/de-DE/template-calendar.md +2 -2
  150. package/corpus/core/docs/content/locales/de-DE/template-chat.md +7 -7
  151. package/corpus/core/docs/content/locales/de-DE/template-clips.md +3 -3
  152. package/corpus/core/docs/content/locales/de-DE/template-content.md +2 -2
  153. package/corpus/core/docs/content/locales/de-DE/template-design.md +1 -1
  154. package/corpus/core/docs/content/locales/de-DE/template-dispatch.md +1 -1
  155. package/corpus/core/docs/content/locales/de-DE/template-forms.md +2 -2
  156. package/corpus/core/docs/content/locales/de-DE/template-mail.md +2 -2
  157. package/corpus/core/docs/content/locales/de-DE/template-plan.md +2 -2
  158. package/corpus/core/docs/content/locales/de-DE/template-slides.md +3 -3
  159. package/corpus/core/docs/content/locales/de-DE/template-videos.md +1 -1
  160. package/corpus/core/docs/content/locales/de-DE/tracking.md +1 -1
  161. package/corpus/core/docs/content/locales/de-DE/using-your-agent.md +1 -1
  162. package/corpus/core/docs/content/locales/de-DE/voice-input.md +1 -1
  163. package/corpus/core/docs/content/locales/de-DE/what-is-agent-native.md +5 -5
  164. package/corpus/core/docs/content/locales/de-DE/workspace-connections.md +2 -2
  165. package/corpus/core/docs/content/locales/de-DE/workspace-management.md +6 -6
  166. package/corpus/core/docs/content/locales/de-DE/workspace.md +4 -4
  167. package/corpus/core/docs/content/locales/de-DE/writing-agent-instructions.md +1 -1
  168. package/corpus/core/docs/content/locales/es-ES/a2a-protocol.md +3 -3
  169. package/corpus/core/docs/content/locales/es-ES/actions.md +3 -3
  170. package/corpus/core/docs/content/locales/es-ES/agent-mentions.md +2 -2
  171. package/corpus/core/docs/content/locales/es-ES/agent-surfaces.md +2 -2
  172. package/corpus/core/docs/content/locales/es-ES/agent-teams.md +3 -3
  173. package/corpus/core/docs/content/locales/es-ES/agent-web-surfaces.md +2 -2
  174. package/corpus/core/docs/content/locales/es-ES/authentication.md +2 -2
  175. package/corpus/core/docs/content/locales/es-ES/automations.md +3 -3
  176. package/corpus/core/docs/content/locales/es-ES/blueprint-installer.md +1 -1
  177. package/corpus/core/docs/content/locales/es-ES/cli-adapters.md +1 -1
  178. package/corpus/core/docs/content/locales/es-ES/client.md +3 -3
  179. package/corpus/core/docs/content/locales/es-ES/cloneable-saas.md +3 -3
  180. package/corpus/core/docs/content/locales/es-ES/code-agents-ui.md +3 -3
  181. package/corpus/core/docs/content/locales/es-ES/components.md +2 -2
  182. package/corpus/core/docs/content/locales/es-ES/context-awareness.md +3 -3
  183. package/corpus/core/docs/content/locales/es-ES/creating-templates.md +16 -16
  184. package/corpus/core/docs/content/locales/es-ES/cross-app-sso.md +2 -2
  185. package/corpus/core/docs/content/locales/es-ES/database.md +2 -2
  186. package/corpus/core/docs/content/locales/es-ES/deployment.md +15 -16
  187. package/corpus/core/docs/content/locales/es-ES/dispatch.md +2 -2
  188. package/corpus/core/docs/content/locales/es-ES/drop-in-agent.md +2 -2
  189. package/corpus/core/docs/content/locales/es-ES/durable-resume.md +1 -1
  190. package/corpus/core/docs/content/locales/es-ES/embedding-sdk.md +2 -2
  191. package/corpus/core/docs/content/locales/es-ES/evals.md +2 -2
  192. package/corpus/core/docs/content/locales/es-ES/extensions.md +2 -2
  193. package/corpus/core/docs/content/locales/es-ES/external-agents.md +2 -2
  194. package/corpus/core/docs/content/locales/es-ES/faq.md +2 -2
  195. package/corpus/core/docs/content/locales/es-ES/file-uploads.md +1 -1
  196. package/corpus/core/docs/content/locales/es-ES/frames.md +2 -2
  197. package/corpus/core/docs/content/locales/es-ES/getting-started.md +5 -5
  198. package/corpus/core/docs/content/locales/es-ES/harness-agents.md +2 -2
  199. package/corpus/core/docs/content/locales/es-ES/human-approval.md +2 -2
  200. package/corpus/core/docs/content/locales/es-ES/internationalization.md +2 -0
  201. package/corpus/core/docs/content/locales/es-ES/key-concepts.md +7 -7
  202. package/corpus/core/docs/content/locales/es-ES/local-file-mode.md +8 -8
  203. package/corpus/core/docs/content/locales/es-ES/mcp-apps.md +3 -3
  204. package/corpus/core/docs/content/locales/es-ES/mcp-clients.md +3 -3
  205. package/corpus/core/docs/content/locales/es-ES/mcp-protocol.md +2 -2
  206. package/corpus/core/docs/content/locales/es-ES/messaging.md +2 -2
  207. package/corpus/core/docs/content/locales/es-ES/migration-workbench.md +1 -1
  208. package/corpus/core/docs/content/locales/es-ES/multi-app-workspace.md +8 -8
  209. package/corpus/core/docs/content/locales/es-ES/multi-tenancy.md +2 -2
  210. package/corpus/core/docs/content/locales/es-ES/native-chat-ui.md +2 -2
  211. package/corpus/core/docs/content/locales/es-ES/notifications.md +2 -2
  212. package/corpus/core/docs/content/locales/es-ES/observability.md +3 -3
  213. package/corpus/core/docs/content/locales/es-ES/observational-memory.md +2 -2
  214. package/corpus/core/docs/content/locales/es-ES/onboarding.md +2 -2
  215. package/corpus/core/docs/content/locales/es-ES/plan-plugin.md +2 -2
  216. package/corpus/core/docs/content/locales/es-ES/pr-visual-recap.md +2 -2
  217. package/corpus/core/docs/content/locales/es-ES/processors.md +1 -1
  218. package/corpus/core/docs/content/locales/es-ES/progress.md +1 -1
  219. package/corpus/core/docs/content/locales/es-ES/pure-agent-apps.md +1 -1
  220. package/corpus/core/docs/content/locales/es-ES/real-time-collaboration.md +7 -3
  221. package/corpus/core/docs/content/locales/es-ES/recurring-jobs.md +1 -1
  222. package/corpus/core/docs/content/locales/es-ES/routing.md +1 -1
  223. package/corpus/core/docs/content/locales/es-ES/sandbox-adapters.md +6 -6
  224. package/corpus/core/docs/content/locales/es-ES/security.md +2 -2
  225. package/corpus/core/docs/content/locales/es-ES/server.md +22 -10
  226. package/corpus/core/docs/content/locales/es-ES/sharing.md +1 -1
  227. package/corpus/core/docs/content/locales/es-ES/skills-guide.md +3 -3
  228. package/corpus/core/docs/content/locales/es-ES/template-analytics.md +1 -1
  229. package/corpus/core/docs/content/locales/es-ES/template-assets.md +1 -1
  230. package/corpus/core/docs/content/locales/es-ES/template-brain.md +1 -1
  231. package/corpus/core/docs/content/locales/es-ES/template-calendar.md +2 -2
  232. package/corpus/core/docs/content/locales/es-ES/template-chat.md +7 -7
  233. package/corpus/core/docs/content/locales/es-ES/template-clips.md +3 -3
  234. package/corpus/core/docs/content/locales/es-ES/template-content.md +2 -2
  235. package/corpus/core/docs/content/locales/es-ES/template-design.md +1 -1
  236. package/corpus/core/docs/content/locales/es-ES/template-dispatch.md +1 -1
  237. package/corpus/core/docs/content/locales/es-ES/template-forms.md +2 -2
  238. package/corpus/core/docs/content/locales/es-ES/template-mail.md +2 -2
  239. package/corpus/core/docs/content/locales/es-ES/template-plan.md +2 -2
  240. package/corpus/core/docs/content/locales/es-ES/template-slides.md +3 -3
  241. package/corpus/core/docs/content/locales/es-ES/template-videos.md +1 -1
  242. package/corpus/core/docs/content/locales/es-ES/tracking.md +1 -1
  243. package/corpus/core/docs/content/locales/es-ES/using-your-agent.md +1 -1
  244. package/corpus/core/docs/content/locales/es-ES/voice-input.md +1 -1
  245. package/corpus/core/docs/content/locales/es-ES/what-is-agent-native.md +5 -5
  246. package/corpus/core/docs/content/locales/es-ES/workspace-connections.md +2 -2
  247. package/corpus/core/docs/content/locales/es-ES/workspace-management.md +6 -6
  248. package/corpus/core/docs/content/locales/es-ES/workspace.md +4 -4
  249. package/corpus/core/docs/content/locales/es-ES/writing-agent-instructions.md +1 -1
  250. package/corpus/core/docs/content/locales/fr-FR/a2a-protocol.md +3 -3
  251. package/corpus/core/docs/content/locales/fr-FR/actions.md +3 -3
  252. package/corpus/core/docs/content/locales/fr-FR/agent-mentions.md +2 -2
  253. package/corpus/core/docs/content/locales/fr-FR/agent-surfaces.md +2 -2
  254. package/corpus/core/docs/content/locales/fr-FR/agent-teams.md +3 -3
  255. package/corpus/core/docs/content/locales/fr-FR/agent-web-surfaces.md +2 -2
  256. package/corpus/core/docs/content/locales/fr-FR/authentication.md +2 -2
  257. package/corpus/core/docs/content/locales/fr-FR/automations.md +3 -3
  258. package/corpus/core/docs/content/locales/fr-FR/blueprint-installer.md +1 -1
  259. package/corpus/core/docs/content/locales/fr-FR/cli-adapters.md +1 -1
  260. package/corpus/core/docs/content/locales/fr-FR/client.md +3 -3
  261. package/corpus/core/docs/content/locales/fr-FR/cloneable-saas.md +3 -3
  262. package/corpus/core/docs/content/locales/fr-FR/code-agents-ui.md +3 -3
  263. package/corpus/core/docs/content/locales/fr-FR/components.md +2 -2
  264. package/corpus/core/docs/content/locales/fr-FR/context-awareness.md +3 -3
  265. package/corpus/core/docs/content/locales/fr-FR/creating-templates.md +16 -16
  266. package/corpus/core/docs/content/locales/fr-FR/cross-app-sso.md +2 -2
  267. package/corpus/core/docs/content/locales/fr-FR/database.md +2 -2
  268. package/corpus/core/docs/content/locales/fr-FR/deployment.md +15 -16
  269. package/corpus/core/docs/content/locales/fr-FR/dispatch.md +2 -2
  270. package/corpus/core/docs/content/locales/fr-FR/drop-in-agent.md +2 -2
  271. package/corpus/core/docs/content/locales/fr-FR/durable-resume.md +1 -1
  272. package/corpus/core/docs/content/locales/fr-FR/embedding-sdk.md +2 -2
  273. package/corpus/core/docs/content/locales/fr-FR/evals.md +2 -2
  274. package/corpus/core/docs/content/locales/fr-FR/extensions.md +2 -2
  275. package/corpus/core/docs/content/locales/fr-FR/external-agents.md +2 -2
  276. package/corpus/core/docs/content/locales/fr-FR/faq.md +2 -2
  277. package/corpus/core/docs/content/locales/fr-FR/file-uploads.md +1 -1
  278. package/corpus/core/docs/content/locales/fr-FR/frames.md +2 -2
  279. package/corpus/core/docs/content/locales/fr-FR/getting-started.md +5 -5
  280. package/corpus/core/docs/content/locales/fr-FR/harness-agents.md +2 -2
  281. package/corpus/core/docs/content/locales/fr-FR/human-approval.md +2 -2
  282. package/corpus/core/docs/content/locales/fr-FR/internationalization.md +2 -0
  283. package/corpus/core/docs/content/locales/fr-FR/key-concepts.md +7 -7
  284. package/corpus/core/docs/content/locales/fr-FR/local-file-mode.md +8 -8
  285. package/corpus/core/docs/content/locales/fr-FR/mcp-apps.md +3 -3
  286. package/corpus/core/docs/content/locales/fr-FR/mcp-clients.md +3 -3
  287. package/corpus/core/docs/content/locales/fr-FR/mcp-protocol.md +2 -2
  288. package/corpus/core/docs/content/locales/fr-FR/messaging.md +2 -2
  289. package/corpus/core/docs/content/locales/fr-FR/migration-workbench.md +1 -1
  290. package/corpus/core/docs/content/locales/fr-FR/multi-app-workspace.md +8 -8
  291. package/corpus/core/docs/content/locales/fr-FR/multi-tenancy.md +2 -2
  292. package/corpus/core/docs/content/locales/fr-FR/native-chat-ui.md +2 -2
  293. package/corpus/core/docs/content/locales/fr-FR/notifications.md +2 -2
  294. package/corpus/core/docs/content/locales/fr-FR/observability.md +3 -3
  295. package/corpus/core/docs/content/locales/fr-FR/observational-memory.md +2 -2
  296. package/corpus/core/docs/content/locales/fr-FR/onboarding.md +2 -2
  297. package/corpus/core/docs/content/locales/fr-FR/plan-plugin.md +2 -2
  298. package/corpus/core/docs/content/locales/fr-FR/pr-visual-recap.md +2 -2
  299. package/corpus/core/docs/content/locales/fr-FR/processors.md +1 -1
  300. package/corpus/core/docs/content/locales/fr-FR/progress.md +1 -1
  301. package/corpus/core/docs/content/locales/fr-FR/pure-agent-apps.md +1 -1
  302. package/corpus/core/docs/content/locales/fr-FR/real-time-collaboration.md +7 -3
  303. package/corpus/core/docs/content/locales/fr-FR/recurring-jobs.md +1 -1
  304. package/corpus/core/docs/content/locales/fr-FR/routing.md +1 -1
  305. package/corpus/core/docs/content/locales/fr-FR/sandbox-adapters.md +6 -6
  306. package/corpus/core/docs/content/locales/fr-FR/security.md +2 -2
  307. package/corpus/core/docs/content/locales/fr-FR/server.md +22 -10
  308. package/corpus/core/docs/content/locales/fr-FR/sharing.md +1 -1
  309. package/corpus/core/docs/content/locales/fr-FR/skills-guide.md +3 -3
  310. package/corpus/core/docs/content/locales/fr-FR/template-analytics.md +1 -1
  311. package/corpus/core/docs/content/locales/fr-FR/template-assets.md +2 -2
  312. package/corpus/core/docs/content/locales/fr-FR/template-brain.md +1 -1
  313. package/corpus/core/docs/content/locales/fr-FR/template-calendar.md +2 -2
  314. package/corpus/core/docs/content/locales/fr-FR/template-chat.md +7 -7
  315. package/corpus/core/docs/content/locales/fr-FR/template-clips.md +3 -3
  316. package/corpus/core/docs/content/locales/fr-FR/template-content.md +2 -2
  317. package/corpus/core/docs/content/locales/fr-FR/template-design.md +2 -2
  318. package/corpus/core/docs/content/locales/fr-FR/template-dispatch.md +1 -1
  319. package/corpus/core/docs/content/locales/fr-FR/template-forms.md +2 -2
  320. package/corpus/core/docs/content/locales/fr-FR/template-mail.md +2 -2
  321. package/corpus/core/docs/content/locales/fr-FR/template-plan.md +2 -2
  322. package/corpus/core/docs/content/locales/fr-FR/template-slides.md +3 -3
  323. package/corpus/core/docs/content/locales/fr-FR/template-videos.md +1 -1
  324. package/corpus/core/docs/content/locales/fr-FR/tracking.md +1 -1
  325. package/corpus/core/docs/content/locales/fr-FR/using-your-agent.md +1 -1
  326. package/corpus/core/docs/content/locales/fr-FR/voice-input.md +1 -1
  327. package/corpus/core/docs/content/locales/fr-FR/what-is-agent-native.md +5 -5
  328. package/corpus/core/docs/content/locales/fr-FR/workspace-connections.md +2 -2
  329. package/corpus/core/docs/content/locales/fr-FR/workspace-management.md +6 -6
  330. package/corpus/core/docs/content/locales/fr-FR/workspace.md +4 -4
  331. package/corpus/core/docs/content/locales/fr-FR/writing-agent-instructions.md +1 -1
  332. package/corpus/core/docs/content/locales/hi-IN/a2a-protocol.md +3 -3
  333. package/corpus/core/docs/content/locales/hi-IN/actions.md +3 -3
  334. package/corpus/core/docs/content/locales/hi-IN/agent-mentions.md +2 -2
  335. package/corpus/core/docs/content/locales/hi-IN/agent-surfaces.md +2 -2
  336. package/corpus/core/docs/content/locales/hi-IN/agent-teams.md +3 -3
  337. package/corpus/core/docs/content/locales/hi-IN/agent-web-surfaces.md +2 -2
  338. package/corpus/core/docs/content/locales/hi-IN/authentication.md +2 -2
  339. package/corpus/core/docs/content/locales/hi-IN/automations.md +3 -3
  340. package/corpus/core/docs/content/locales/hi-IN/blueprint-installer.md +1 -1
  341. package/corpus/core/docs/content/locales/hi-IN/cli-adapters.md +1 -1
  342. package/corpus/core/docs/content/locales/hi-IN/client.md +3 -3
  343. package/corpus/core/docs/content/locales/hi-IN/cloneable-saas.md +3 -3
  344. package/corpus/core/docs/content/locales/hi-IN/code-agents-ui.md +3 -3
  345. package/corpus/core/docs/content/locales/hi-IN/components.md +2 -2
  346. package/corpus/core/docs/content/locales/hi-IN/context-awareness.md +3 -3
  347. package/corpus/core/docs/content/locales/hi-IN/creating-templates.md +16 -16
  348. package/corpus/core/docs/content/locales/hi-IN/cross-app-sso.md +2 -2
  349. package/corpus/core/docs/content/locales/hi-IN/database.md +2 -2
  350. package/corpus/core/docs/content/locales/hi-IN/deployment.md +15 -16
  351. package/corpus/core/docs/content/locales/hi-IN/dispatch.md +2 -2
  352. package/corpus/core/docs/content/locales/hi-IN/drop-in-agent.md +2 -2
  353. package/corpus/core/docs/content/locales/hi-IN/durable-resume.md +1 -1
  354. package/corpus/core/docs/content/locales/hi-IN/embedding-sdk.md +2 -2
  355. package/corpus/core/docs/content/locales/hi-IN/evals.md +2 -2
  356. package/corpus/core/docs/content/locales/hi-IN/extensions.md +2 -2
  357. package/corpus/core/docs/content/locales/hi-IN/external-agents.md +2 -2
  358. package/corpus/core/docs/content/locales/hi-IN/faq.md +2 -2
  359. package/corpus/core/docs/content/locales/hi-IN/file-uploads.md +1 -1
  360. package/corpus/core/docs/content/locales/hi-IN/frames.md +2 -2
  361. package/corpus/core/docs/content/locales/hi-IN/getting-started.md +6 -6
  362. package/corpus/core/docs/content/locales/hi-IN/harness-agents.md +2 -2
  363. package/corpus/core/docs/content/locales/hi-IN/human-approval.md +2 -2
  364. package/corpus/core/docs/content/locales/hi-IN/internationalization.md +2 -0
  365. package/corpus/core/docs/content/locales/hi-IN/key-concepts.md +7 -7
  366. package/corpus/core/docs/content/locales/hi-IN/local-file-mode.md +8 -8
  367. package/corpus/core/docs/content/locales/hi-IN/mcp-apps.md +3 -3
  368. package/corpus/core/docs/content/locales/hi-IN/mcp-clients.md +3 -3
  369. package/corpus/core/docs/content/locales/hi-IN/mcp-protocol.md +2 -2
  370. package/corpus/core/docs/content/locales/hi-IN/messaging.md +2 -2
  371. package/corpus/core/docs/content/locales/hi-IN/migration-workbench.md +1 -1
  372. package/corpus/core/docs/content/locales/hi-IN/multi-app-workspace.md +8 -8
  373. package/corpus/core/docs/content/locales/hi-IN/multi-tenancy.md +2 -2
  374. package/corpus/core/docs/content/locales/hi-IN/native-chat-ui.md +2 -2
  375. package/corpus/core/docs/content/locales/hi-IN/notifications.md +2 -2
  376. package/corpus/core/docs/content/locales/hi-IN/observability.md +3 -3
  377. package/corpus/core/docs/content/locales/hi-IN/observational-memory.md +2 -2
  378. package/corpus/core/docs/content/locales/hi-IN/onboarding.md +2 -2
  379. package/corpus/core/docs/content/locales/hi-IN/plan-plugin.md +2 -2
  380. package/corpus/core/docs/content/locales/hi-IN/pr-visual-recap.md +2 -2
  381. package/corpus/core/docs/content/locales/hi-IN/processors.md +1 -1
  382. package/corpus/core/docs/content/locales/hi-IN/progress.md +1 -1
  383. package/corpus/core/docs/content/locales/hi-IN/pure-agent-apps.md +1 -1
  384. package/corpus/core/docs/content/locales/hi-IN/real-time-collaboration.md +7 -3
  385. package/corpus/core/docs/content/locales/hi-IN/recurring-jobs.md +1 -1
  386. package/corpus/core/docs/content/locales/hi-IN/routing.md +1 -1
  387. package/corpus/core/docs/content/locales/hi-IN/sandbox-adapters.md +6 -6
  388. package/corpus/core/docs/content/locales/hi-IN/security.md +2 -2
  389. package/corpus/core/docs/content/locales/hi-IN/server.md +22 -10
  390. package/corpus/core/docs/content/locales/hi-IN/sharing.md +1 -1
  391. package/corpus/core/docs/content/locales/hi-IN/skills-guide.md +3 -3
  392. package/corpus/core/docs/content/locales/hi-IN/template-analytics.md +1 -1
  393. package/corpus/core/docs/content/locales/hi-IN/template-assets.md +2 -2
  394. package/corpus/core/docs/content/locales/hi-IN/template-brain.md +1 -1
  395. package/corpus/core/docs/content/locales/hi-IN/template-calendar.md +2 -2
  396. package/corpus/core/docs/content/locales/hi-IN/template-chat.md +7 -7
  397. package/corpus/core/docs/content/locales/hi-IN/template-clips.md +3 -3
  398. package/corpus/core/docs/content/locales/hi-IN/template-content.md +2 -2
  399. package/corpus/core/docs/content/locales/hi-IN/template-design.md +2 -2
  400. package/corpus/core/docs/content/locales/hi-IN/template-dispatch.md +1 -1
  401. package/corpus/core/docs/content/locales/hi-IN/template-forms.md +2 -2
  402. package/corpus/core/docs/content/locales/hi-IN/template-mail.md +2 -2
  403. package/corpus/core/docs/content/locales/hi-IN/template-plan.md +2 -2
  404. package/corpus/core/docs/content/locales/hi-IN/template-slides.md +3 -3
  405. package/corpus/core/docs/content/locales/hi-IN/template-videos.md +1 -1
  406. package/corpus/core/docs/content/locales/hi-IN/tracking.md +1 -1
  407. package/corpus/core/docs/content/locales/hi-IN/using-your-agent.md +1 -1
  408. package/corpus/core/docs/content/locales/hi-IN/voice-input.md +1 -1
  409. package/corpus/core/docs/content/locales/hi-IN/what-is-agent-native.md +5 -5
  410. package/corpus/core/docs/content/locales/hi-IN/workspace-connections.md +2 -2
  411. package/corpus/core/docs/content/locales/hi-IN/workspace-management.md +6 -6
  412. package/corpus/core/docs/content/locales/hi-IN/workspace.md +4 -4
  413. package/corpus/core/docs/content/locales/hi-IN/writing-agent-instructions.md +1 -1
  414. package/corpus/core/docs/content/locales/ja-JP/a2a-protocol.md +3 -3
  415. package/corpus/core/docs/content/locales/ja-JP/actions.md +3 -3
  416. package/corpus/core/docs/content/locales/ja-JP/agent-mentions.md +2 -2
  417. package/corpus/core/docs/content/locales/ja-JP/agent-surfaces.md +2 -2
  418. package/corpus/core/docs/content/locales/ja-JP/agent-teams.md +3 -3
  419. package/corpus/core/docs/content/locales/ja-JP/agent-web-surfaces.md +2 -2
  420. package/corpus/core/docs/content/locales/ja-JP/authentication.md +2 -2
  421. package/corpus/core/docs/content/locales/ja-JP/automations.md +3 -3
  422. package/corpus/core/docs/content/locales/ja-JP/blueprint-installer.md +1 -1
  423. package/corpus/core/docs/content/locales/ja-JP/cli-adapters.md +1 -1
  424. package/corpus/core/docs/content/locales/ja-JP/client.md +3 -3
  425. package/corpus/core/docs/content/locales/ja-JP/cloneable-saas.md +3 -3
  426. package/corpus/core/docs/content/locales/ja-JP/code-agents-ui.md +3 -3
  427. package/corpus/core/docs/content/locales/ja-JP/components.md +2 -2
  428. package/corpus/core/docs/content/locales/ja-JP/context-awareness.md +3 -3
  429. package/corpus/core/docs/content/locales/ja-JP/creating-templates.md +16 -16
  430. package/corpus/core/docs/content/locales/ja-JP/cross-app-sso.md +2 -2
  431. package/corpus/core/docs/content/locales/ja-JP/database.md +2 -2
  432. package/corpus/core/docs/content/locales/ja-JP/deployment.md +15 -16
  433. package/corpus/core/docs/content/locales/ja-JP/dispatch.md +2 -2
  434. package/corpus/core/docs/content/locales/ja-JP/drop-in-agent.md +2 -2
  435. package/corpus/core/docs/content/locales/ja-JP/durable-resume.md +1 -1
  436. package/corpus/core/docs/content/locales/ja-JP/embedding-sdk.md +2 -2
  437. package/corpus/core/docs/content/locales/ja-JP/evals.md +2 -2
  438. package/corpus/core/docs/content/locales/ja-JP/extensions.md +2 -2
  439. package/corpus/core/docs/content/locales/ja-JP/external-agents.md +2 -2
  440. package/corpus/core/docs/content/locales/ja-JP/faq.md +2 -2
  441. package/corpus/core/docs/content/locales/ja-JP/file-uploads.md +1 -1
  442. package/corpus/core/docs/content/locales/ja-JP/frames.md +2 -2
  443. package/corpus/core/docs/content/locales/ja-JP/getting-started.md +5 -5
  444. package/corpus/core/docs/content/locales/ja-JP/harness-agents.md +2 -2
  445. package/corpus/core/docs/content/locales/ja-JP/human-approval.md +2 -2
  446. package/corpus/core/docs/content/locales/ja-JP/internationalization.md +2 -0
  447. package/corpus/core/docs/content/locales/ja-JP/key-concepts.md +7 -7
  448. package/corpus/core/docs/content/locales/ja-JP/local-file-mode.md +8 -8
  449. package/corpus/core/docs/content/locales/ja-JP/mcp-apps.md +3 -3
  450. package/corpus/core/docs/content/locales/ja-JP/mcp-clients.md +3 -3
  451. package/corpus/core/docs/content/locales/ja-JP/mcp-protocol.md +2 -2
  452. package/corpus/core/docs/content/locales/ja-JP/messaging.md +2 -2
  453. package/corpus/core/docs/content/locales/ja-JP/migration-workbench.md +1 -1
  454. package/corpus/core/docs/content/locales/ja-JP/multi-app-workspace.md +8 -8
  455. package/corpus/core/docs/content/locales/ja-JP/multi-tenancy.md +2 -2
  456. package/corpus/core/docs/content/locales/ja-JP/native-chat-ui.md +2 -2
  457. package/corpus/core/docs/content/locales/ja-JP/notifications.md +2 -2
  458. package/corpus/core/docs/content/locales/ja-JP/observability.md +3 -3
  459. package/corpus/core/docs/content/locales/ja-JP/observational-memory.md +2 -2
  460. package/corpus/core/docs/content/locales/ja-JP/onboarding.md +2 -2
  461. package/corpus/core/docs/content/locales/ja-JP/plan-plugin.md +2 -2
  462. package/corpus/core/docs/content/locales/ja-JP/pr-visual-recap.md +2 -2
  463. package/corpus/core/docs/content/locales/ja-JP/processors.md +1 -1
  464. package/corpus/core/docs/content/locales/ja-JP/progress.md +1 -1
  465. package/corpus/core/docs/content/locales/ja-JP/pure-agent-apps.md +1 -1
  466. package/corpus/core/docs/content/locales/ja-JP/real-time-collaboration.md +7 -3
  467. package/corpus/core/docs/content/locales/ja-JP/recurring-jobs.md +1 -1
  468. package/corpus/core/docs/content/locales/ja-JP/routing.md +1 -1
  469. package/corpus/core/docs/content/locales/ja-JP/sandbox-adapters.md +6 -6
  470. package/corpus/core/docs/content/locales/ja-JP/security.md +2 -2
  471. package/corpus/core/docs/content/locales/ja-JP/server.md +22 -10
  472. package/corpus/core/docs/content/locales/ja-JP/sharing.md +1 -1
  473. package/corpus/core/docs/content/locales/ja-JP/skills-guide.md +3 -3
  474. package/corpus/core/docs/content/locales/ja-JP/template-analytics.md +1 -1
  475. package/corpus/core/docs/content/locales/ja-JP/template-assets.md +2 -2
  476. package/corpus/core/docs/content/locales/ja-JP/template-brain.md +1 -1
  477. package/corpus/core/docs/content/locales/ja-JP/template-calendar.md +2 -2
  478. package/corpus/core/docs/content/locales/ja-JP/template-chat.md +7 -7
  479. package/corpus/core/docs/content/locales/ja-JP/template-clips.md +3 -3
  480. package/corpus/core/docs/content/locales/ja-JP/template-content.md +2 -2
  481. package/corpus/core/docs/content/locales/ja-JP/template-design.md +2 -2
  482. package/corpus/core/docs/content/locales/ja-JP/template-dispatch.md +1 -1
  483. package/corpus/core/docs/content/locales/ja-JP/template-forms.md +2 -2
  484. package/corpus/core/docs/content/locales/ja-JP/template-mail.md +2 -2
  485. package/corpus/core/docs/content/locales/ja-JP/template-plan.md +2 -2
  486. package/corpus/core/docs/content/locales/ja-JP/template-slides.md +3 -3
  487. package/corpus/core/docs/content/locales/ja-JP/template-videos.md +1 -1
  488. package/corpus/core/docs/content/locales/ja-JP/tracking.md +1 -1
  489. package/corpus/core/docs/content/locales/ja-JP/using-your-agent.md +1 -1
  490. package/corpus/core/docs/content/locales/ja-JP/voice-input.md +1 -1
  491. package/corpus/core/docs/content/locales/ja-JP/what-is-agent-native.md +5 -5
  492. package/corpus/core/docs/content/locales/ja-JP/workspace-connections.md +2 -2
  493. package/corpus/core/docs/content/locales/ja-JP/workspace-management.md +6 -6
  494. package/corpus/core/docs/content/locales/ja-JP/workspace.md +4 -4
  495. package/corpus/core/docs/content/locales/ja-JP/writing-agent-instructions.md +1 -1
  496. package/corpus/core/docs/content/locales/ko-KR/a2a-protocol.md +3 -3
  497. package/corpus/core/docs/content/locales/ko-KR/actions.md +3 -3
  498. package/corpus/core/docs/content/locales/ko-KR/agent-mentions.md +2 -2
  499. package/corpus/core/docs/content/locales/ko-KR/agent-surfaces.md +2 -2
  500. package/corpus/core/docs/content/locales/ko-KR/agent-teams.md +3 -3
  501. package/corpus/core/docs/content/locales/ko-KR/agent-web-surfaces.md +2 -2
  502. package/corpus/core/docs/content/locales/ko-KR/authentication.md +2 -2
  503. package/corpus/core/docs/content/locales/ko-KR/automations.md +3 -3
  504. package/corpus/core/docs/content/locales/ko-KR/blueprint-installer.md +1 -1
  505. package/corpus/core/docs/content/locales/ko-KR/cli-adapters.md +1 -1
  506. package/corpus/core/docs/content/locales/ko-KR/client.md +3 -3
  507. package/corpus/core/docs/content/locales/ko-KR/cloneable-saas.md +3 -3
  508. package/corpus/core/docs/content/locales/ko-KR/code-agents-ui.md +3 -3
  509. package/corpus/core/docs/content/locales/ko-KR/components.md +2 -2
  510. package/corpus/core/docs/content/locales/ko-KR/context-awareness.md +3 -3
  511. package/corpus/core/docs/content/locales/ko-KR/creating-templates.md +16 -16
  512. package/corpus/core/docs/content/locales/ko-KR/cross-app-sso.md +2 -2
  513. package/corpus/core/docs/content/locales/ko-KR/database.md +2 -2
  514. package/corpus/core/docs/content/locales/ko-KR/deployment.md +15 -16
  515. package/corpus/core/docs/content/locales/ko-KR/dispatch.md +2 -2
  516. package/corpus/core/docs/content/locales/ko-KR/drop-in-agent.md +2 -2
  517. package/corpus/core/docs/content/locales/ko-KR/durable-resume.md +1 -1
  518. package/corpus/core/docs/content/locales/ko-KR/embedding-sdk.md +2 -2
  519. package/corpus/core/docs/content/locales/ko-KR/evals.md +2 -2
  520. package/corpus/core/docs/content/locales/ko-KR/extensions.md +2 -2
  521. package/corpus/core/docs/content/locales/ko-KR/external-agents.md +2 -2
  522. package/corpus/core/docs/content/locales/ko-KR/faq.md +2 -2
  523. package/corpus/core/docs/content/locales/ko-KR/file-uploads.md +1 -1
  524. package/corpus/core/docs/content/locales/ko-KR/frames.md +2 -2
  525. package/corpus/core/docs/content/locales/ko-KR/getting-started.md +5 -5
  526. package/corpus/core/docs/content/locales/ko-KR/harness-agents.md +2 -2
  527. package/corpus/core/docs/content/locales/ko-KR/human-approval.md +2 -2
  528. package/corpus/core/docs/content/locales/ko-KR/internationalization.md +2 -0
  529. package/corpus/core/docs/content/locales/ko-KR/key-concepts.md +7 -7
  530. package/corpus/core/docs/content/locales/ko-KR/local-file-mode.md +8 -8
  531. package/corpus/core/docs/content/locales/ko-KR/mcp-apps.md +3 -3
  532. package/corpus/core/docs/content/locales/ko-KR/mcp-clients.md +3 -3
  533. package/corpus/core/docs/content/locales/ko-KR/mcp-protocol.md +2 -2
  534. package/corpus/core/docs/content/locales/ko-KR/messaging.md +2 -2
  535. package/corpus/core/docs/content/locales/ko-KR/migration-workbench.md +1 -1
  536. package/corpus/core/docs/content/locales/ko-KR/multi-app-workspace.md +8 -8
  537. package/corpus/core/docs/content/locales/ko-KR/multi-tenancy.md +2 -2
  538. package/corpus/core/docs/content/locales/ko-KR/native-chat-ui.md +2 -2
  539. package/corpus/core/docs/content/locales/ko-KR/notifications.md +2 -2
  540. package/corpus/core/docs/content/locales/ko-KR/observability.md +3 -3
  541. package/corpus/core/docs/content/locales/ko-KR/observational-memory.md +2 -2
  542. package/corpus/core/docs/content/locales/ko-KR/onboarding.md +2 -2
  543. package/corpus/core/docs/content/locales/ko-KR/plan-plugin.md +2 -2
  544. package/corpus/core/docs/content/locales/ko-KR/pr-visual-recap.md +2 -2
  545. package/corpus/core/docs/content/locales/ko-KR/processors.md +1 -1
  546. package/corpus/core/docs/content/locales/ko-KR/progress.md +1 -1
  547. package/corpus/core/docs/content/locales/ko-KR/pure-agent-apps.md +1 -1
  548. package/corpus/core/docs/content/locales/ko-KR/real-time-collaboration.md +7 -3
  549. package/corpus/core/docs/content/locales/ko-KR/recurring-jobs.md +1 -1
  550. package/corpus/core/docs/content/locales/ko-KR/routing.md +1 -1
  551. package/corpus/core/docs/content/locales/ko-KR/sandbox-adapters.md +6 -6
  552. package/corpus/core/docs/content/locales/ko-KR/security.md +2 -2
  553. package/corpus/core/docs/content/locales/ko-KR/server.md +22 -10
  554. package/corpus/core/docs/content/locales/ko-KR/sharing.md +1 -1
  555. package/corpus/core/docs/content/locales/ko-KR/skills-guide.md +3 -3
  556. package/corpus/core/docs/content/locales/ko-KR/template-analytics.md +1 -1
  557. package/corpus/core/docs/content/locales/ko-KR/template-assets.md +2 -2
  558. package/corpus/core/docs/content/locales/ko-KR/template-brain.md +1 -1
  559. package/corpus/core/docs/content/locales/ko-KR/template-calendar.md +2 -2
  560. package/corpus/core/docs/content/locales/ko-KR/template-chat.md +7 -7
  561. package/corpus/core/docs/content/locales/ko-KR/template-clips.md +3 -3
  562. package/corpus/core/docs/content/locales/ko-KR/template-content.md +2 -2
  563. package/corpus/core/docs/content/locales/ko-KR/template-design.md +2 -2
  564. package/corpus/core/docs/content/locales/ko-KR/template-dispatch.md +1 -1
  565. package/corpus/core/docs/content/locales/ko-KR/template-forms.md +2 -2
  566. package/corpus/core/docs/content/locales/ko-KR/template-mail.md +2 -2
  567. package/corpus/core/docs/content/locales/ko-KR/template-plan.md +2 -2
  568. package/corpus/core/docs/content/locales/ko-KR/template-slides.md +3 -3
  569. package/corpus/core/docs/content/locales/ko-KR/template-videos.md +1 -1
  570. package/corpus/core/docs/content/locales/ko-KR/tracking.md +1 -1
  571. package/corpus/core/docs/content/locales/ko-KR/using-your-agent.md +1 -1
  572. package/corpus/core/docs/content/locales/ko-KR/voice-input.md +1 -1
  573. package/corpus/core/docs/content/locales/ko-KR/what-is-agent-native.md +5 -5
  574. package/corpus/core/docs/content/locales/ko-KR/workspace-connections.md +2 -2
  575. package/corpus/core/docs/content/locales/ko-KR/workspace-management.md +6 -6
  576. package/corpus/core/docs/content/locales/ko-KR/workspace.md +4 -4
  577. package/corpus/core/docs/content/locales/ko-KR/writing-agent-instructions.md +1 -1
  578. package/corpus/core/docs/content/locales/pt-BR/a2a-protocol.md +3 -3
  579. package/corpus/core/docs/content/locales/pt-BR/actions.md +3 -3
  580. package/corpus/core/docs/content/locales/pt-BR/agent-mentions.md +2 -2
  581. package/corpus/core/docs/content/locales/pt-BR/agent-surfaces.md +2 -2
  582. package/corpus/core/docs/content/locales/pt-BR/agent-teams.md +3 -3
  583. package/corpus/core/docs/content/locales/pt-BR/agent-web-surfaces.md +2 -2
  584. package/corpus/core/docs/content/locales/pt-BR/authentication.md +2 -2
  585. package/corpus/core/docs/content/locales/pt-BR/automations.md +3 -3
  586. package/corpus/core/docs/content/locales/pt-BR/blueprint-installer.md +1 -1
  587. package/corpus/core/docs/content/locales/pt-BR/cli-adapters.md +1 -1
  588. package/corpus/core/docs/content/locales/pt-BR/client.md +3 -3
  589. package/corpus/core/docs/content/locales/pt-BR/cloneable-saas.md +3 -3
  590. package/corpus/core/docs/content/locales/pt-BR/code-agents-ui.md +3 -3
  591. package/corpus/core/docs/content/locales/pt-BR/components.md +2 -2
  592. package/corpus/core/docs/content/locales/pt-BR/context-awareness.md +3 -3
  593. package/corpus/core/docs/content/locales/pt-BR/creating-templates.md +16 -16
  594. package/corpus/core/docs/content/locales/pt-BR/cross-app-sso.md +2 -2
  595. package/corpus/core/docs/content/locales/pt-BR/database.md +2 -2
  596. package/corpus/core/docs/content/locales/pt-BR/deployment.md +15 -16
  597. package/corpus/core/docs/content/locales/pt-BR/dispatch.md +2 -2
  598. package/corpus/core/docs/content/locales/pt-BR/drop-in-agent.md +2 -2
  599. package/corpus/core/docs/content/locales/pt-BR/durable-resume.md +1 -1
  600. package/corpus/core/docs/content/locales/pt-BR/embedding-sdk.md +2 -2
  601. package/corpus/core/docs/content/locales/pt-BR/evals.md +2 -2
  602. package/corpus/core/docs/content/locales/pt-BR/extensions.md +2 -2
  603. package/corpus/core/docs/content/locales/pt-BR/external-agents.md +2 -2
  604. package/corpus/core/docs/content/locales/pt-BR/faq.md +2 -2
  605. package/corpus/core/docs/content/locales/pt-BR/file-uploads.md +1 -1
  606. package/corpus/core/docs/content/locales/pt-BR/frames.md +2 -2
  607. package/corpus/core/docs/content/locales/pt-BR/getting-started.md +5 -5
  608. package/corpus/core/docs/content/locales/pt-BR/harness-agents.md +2 -2
  609. package/corpus/core/docs/content/locales/pt-BR/human-approval.md +2 -2
  610. package/corpus/core/docs/content/locales/pt-BR/internationalization.md +2 -0
  611. package/corpus/core/docs/content/locales/pt-BR/key-concepts.md +7 -7
  612. package/corpus/core/docs/content/locales/pt-BR/local-file-mode.md +8 -8
  613. package/corpus/core/docs/content/locales/pt-BR/mcp-apps.md +3 -3
  614. package/corpus/core/docs/content/locales/pt-BR/mcp-clients.md +3 -3
  615. package/corpus/core/docs/content/locales/pt-BR/mcp-protocol.md +2 -2
  616. package/corpus/core/docs/content/locales/pt-BR/messaging.md +2 -2
  617. package/corpus/core/docs/content/locales/pt-BR/migration-workbench.md +1 -1
  618. package/corpus/core/docs/content/locales/pt-BR/multi-app-workspace.md +8 -8
  619. package/corpus/core/docs/content/locales/pt-BR/multi-tenancy.md +2 -2
  620. package/corpus/core/docs/content/locales/pt-BR/native-chat-ui.md +2 -2
  621. package/corpus/core/docs/content/locales/pt-BR/notifications.md +2 -2
  622. package/corpus/core/docs/content/locales/pt-BR/observability.md +3 -3
  623. package/corpus/core/docs/content/locales/pt-BR/observational-memory.md +2 -2
  624. package/corpus/core/docs/content/locales/pt-BR/onboarding.md +2 -2
  625. package/corpus/core/docs/content/locales/pt-BR/plan-plugin.md +2 -2
  626. package/corpus/core/docs/content/locales/pt-BR/pr-visual-recap.md +2 -2
  627. package/corpus/core/docs/content/locales/pt-BR/processors.md +1 -1
  628. package/corpus/core/docs/content/locales/pt-BR/progress.md +1 -1
  629. package/corpus/core/docs/content/locales/pt-BR/pure-agent-apps.md +1 -1
  630. package/corpus/core/docs/content/locales/pt-BR/real-time-collaboration.md +7 -3
  631. package/corpus/core/docs/content/locales/pt-BR/recurring-jobs.md +1 -1
  632. package/corpus/core/docs/content/locales/pt-BR/routing.md +1 -1
  633. package/corpus/core/docs/content/locales/pt-BR/sandbox-adapters.md +6 -6
  634. package/corpus/core/docs/content/locales/pt-BR/security.md +2 -2
  635. package/corpus/core/docs/content/locales/pt-BR/server.md +22 -10
  636. package/corpus/core/docs/content/locales/pt-BR/sharing.md +1 -1
  637. package/corpus/core/docs/content/locales/pt-BR/skills-guide.md +3 -3
  638. package/corpus/core/docs/content/locales/pt-BR/template-analytics.md +1 -1
  639. package/corpus/core/docs/content/locales/pt-BR/template-assets.md +1 -1
  640. package/corpus/core/docs/content/locales/pt-BR/template-brain.md +1 -1
  641. package/corpus/core/docs/content/locales/pt-BR/template-calendar.md +2 -2
  642. package/corpus/core/docs/content/locales/pt-BR/template-chat.md +7 -7
  643. package/corpus/core/docs/content/locales/pt-BR/template-clips.md +3 -3
  644. package/corpus/core/docs/content/locales/pt-BR/template-content.md +2 -2
  645. package/corpus/core/docs/content/locales/pt-BR/template-design.md +1 -1
  646. package/corpus/core/docs/content/locales/pt-BR/template-dispatch.md +1 -1
  647. package/corpus/core/docs/content/locales/pt-BR/template-forms.md +2 -2
  648. package/corpus/core/docs/content/locales/pt-BR/template-mail.md +2 -2
  649. package/corpus/core/docs/content/locales/pt-BR/template-plan.md +2 -2
  650. package/corpus/core/docs/content/locales/pt-BR/template-slides.md +3 -3
  651. package/corpus/core/docs/content/locales/pt-BR/template-videos.md +1 -1
  652. package/corpus/core/docs/content/locales/pt-BR/tracking.md +1 -1
  653. package/corpus/core/docs/content/locales/pt-BR/using-your-agent.md +1 -1
  654. package/corpus/core/docs/content/locales/pt-BR/voice-input.md +1 -1
  655. package/corpus/core/docs/content/locales/pt-BR/what-is-agent-native.md +5 -5
  656. package/corpus/core/docs/content/locales/pt-BR/workspace-connections.md +2 -2
  657. package/corpus/core/docs/content/locales/pt-BR/workspace-management.md +6 -6
  658. package/corpus/core/docs/content/locales/pt-BR/workspace.md +4 -4
  659. package/corpus/core/docs/content/locales/pt-BR/writing-agent-instructions.md +1 -1
  660. package/corpus/core/docs/content/locales/zh-CN/a2a-protocol.md +3 -3
  661. package/corpus/core/docs/content/locales/zh-CN/actions.md +3 -3
  662. package/corpus/core/docs/content/locales/zh-CN/agent-mentions.md +2 -2
  663. package/corpus/core/docs/content/locales/zh-CN/agent-surfaces.md +2 -2
  664. package/corpus/core/docs/content/locales/zh-CN/agent-teams.md +3 -3
  665. package/corpus/core/docs/content/locales/zh-CN/agent-web-surfaces.md +2 -2
  666. package/corpus/core/docs/content/locales/zh-CN/authentication.md +2 -2
  667. package/corpus/core/docs/content/locales/zh-CN/automations.md +3 -3
  668. package/corpus/core/docs/content/locales/zh-CN/blueprint-installer.md +1 -1
  669. package/corpus/core/docs/content/locales/zh-CN/cli-adapters.md +1 -1
  670. package/corpus/core/docs/content/locales/zh-CN/client.md +3 -3
  671. package/corpus/core/docs/content/locales/zh-CN/cloneable-saas.md +3 -3
  672. package/corpus/core/docs/content/locales/zh-CN/code-agents-ui.md +3 -3
  673. package/corpus/core/docs/content/locales/zh-CN/components.md +2 -2
  674. package/corpus/core/docs/content/locales/zh-CN/context-awareness.md +3 -3
  675. package/corpus/core/docs/content/locales/zh-CN/creating-templates.md +16 -16
  676. package/corpus/core/docs/content/locales/zh-CN/cross-app-sso.md +2 -2
  677. package/corpus/core/docs/content/locales/zh-CN/database.md +2 -2
  678. package/corpus/core/docs/content/locales/zh-CN/deployment.md +15 -16
  679. package/corpus/core/docs/content/locales/zh-CN/dispatch.md +2 -2
  680. package/corpus/core/docs/content/locales/zh-CN/drop-in-agent.md +2 -2
  681. package/corpus/core/docs/content/locales/zh-CN/durable-resume.md +1 -1
  682. package/corpus/core/docs/content/locales/zh-CN/embedding-sdk.md +2 -2
  683. package/corpus/core/docs/content/locales/zh-CN/evals.md +2 -2
  684. package/corpus/core/docs/content/locales/zh-CN/extensions.md +2 -2
  685. package/corpus/core/docs/content/locales/zh-CN/external-agents.md +2 -2
  686. package/corpus/core/docs/content/locales/zh-CN/faq.md +2 -2
  687. package/corpus/core/docs/content/locales/zh-CN/file-uploads.md +1 -1
  688. package/corpus/core/docs/content/locales/zh-CN/frames.md +2 -2
  689. package/corpus/core/docs/content/locales/zh-CN/getting-started.md +5 -5
  690. package/corpus/core/docs/content/locales/zh-CN/harness-agents.md +2 -2
  691. package/corpus/core/docs/content/locales/zh-CN/human-approval.md +2 -2
  692. package/corpus/core/docs/content/locales/zh-CN/internationalization.md +2 -0
  693. package/corpus/core/docs/content/locales/zh-CN/key-concepts.md +7 -7
  694. package/corpus/core/docs/content/locales/zh-CN/local-file-mode.md +8 -8
  695. package/corpus/core/docs/content/locales/zh-CN/mcp-apps.md +3 -3
  696. package/corpus/core/docs/content/locales/zh-CN/mcp-clients.md +3 -3
  697. package/corpus/core/docs/content/locales/zh-CN/mcp-protocol.md +2 -2
  698. package/corpus/core/docs/content/locales/zh-CN/messaging.md +2 -2
  699. package/corpus/core/docs/content/locales/zh-CN/migration-workbench.md +1 -1
  700. package/corpus/core/docs/content/locales/zh-CN/multi-app-workspace.md +8 -8
  701. package/corpus/core/docs/content/locales/zh-CN/multi-tenancy.md +2 -2
  702. package/corpus/core/docs/content/locales/zh-CN/native-chat-ui.md +2 -2
  703. package/corpus/core/docs/content/locales/zh-CN/notifications.md +2 -2
  704. package/corpus/core/docs/content/locales/zh-CN/observability.md +3 -3
  705. package/corpus/core/docs/content/locales/zh-CN/observational-memory.md +2 -2
  706. package/corpus/core/docs/content/locales/zh-CN/onboarding.md +2 -2
  707. package/corpus/core/docs/content/locales/zh-CN/plan-plugin.md +2 -2
  708. package/corpus/core/docs/content/locales/zh-CN/pr-visual-recap.md +2 -2
  709. package/corpus/core/docs/content/locales/zh-CN/processors.md +1 -1
  710. package/corpus/core/docs/content/locales/zh-CN/progress.md +1 -1
  711. package/corpus/core/docs/content/locales/zh-CN/pure-agent-apps.md +1 -1
  712. package/corpus/core/docs/content/locales/zh-CN/real-time-collaboration.md +7 -3
  713. package/corpus/core/docs/content/locales/zh-CN/recurring-jobs.md +1 -1
  714. package/corpus/core/docs/content/locales/zh-CN/routing.md +1 -1
  715. package/corpus/core/docs/content/locales/zh-CN/sandbox-adapters.md +6 -6
  716. package/corpus/core/docs/content/locales/zh-CN/security.md +2 -2
  717. package/corpus/core/docs/content/locales/zh-CN/server.md +22 -10
  718. package/corpus/core/docs/content/locales/zh-CN/sharing.md +1 -1
  719. package/corpus/core/docs/content/locales/zh-CN/skills-guide.md +3 -3
  720. package/corpus/core/docs/content/locales/zh-CN/template-analytics.md +1 -1
  721. package/corpus/core/docs/content/locales/zh-CN/template-assets.md +2 -2
  722. package/corpus/core/docs/content/locales/zh-CN/template-brain.md +1 -1
  723. package/corpus/core/docs/content/locales/zh-CN/template-calendar.md +2 -2
  724. package/corpus/core/docs/content/locales/zh-CN/template-chat.md +7 -7
  725. package/corpus/core/docs/content/locales/zh-CN/template-clips.md +3 -3
  726. package/corpus/core/docs/content/locales/zh-CN/template-content.md +2 -2
  727. package/corpus/core/docs/content/locales/zh-CN/template-design.md +2 -2
  728. package/corpus/core/docs/content/locales/zh-CN/template-dispatch.md +1 -1
  729. package/corpus/core/docs/content/locales/zh-CN/template-forms.md +2 -2
  730. package/corpus/core/docs/content/locales/zh-CN/template-mail.md +2 -2
  731. package/corpus/core/docs/content/locales/zh-CN/template-plan.md +2 -2
  732. package/corpus/core/docs/content/locales/zh-CN/template-slides.md +3 -3
  733. package/corpus/core/docs/content/locales/zh-CN/template-videos.md +1 -1
  734. package/corpus/core/docs/content/locales/zh-CN/tracking.md +1 -1
  735. package/corpus/core/docs/content/locales/zh-CN/using-your-agent.md +1 -1
  736. package/corpus/core/docs/content/locales/zh-CN/voice-input.md +1 -1
  737. package/corpus/core/docs/content/locales/zh-CN/what-is-agent-native.md +5 -5
  738. package/corpus/core/docs/content/locales/zh-CN/workspace-connections.md +2 -2
  739. package/corpus/core/docs/content/locales/zh-CN/workspace-management.md +6 -6
  740. package/corpus/core/docs/content/locales/zh-CN/workspace.md +4 -4
  741. package/corpus/core/docs/content/locales/zh-CN/writing-agent-instructions.md +1 -1
  742. package/corpus/core/docs/content/real-time-collaboration.md +5 -1
  743. package/corpus/core/package.json +1 -1
  744. package/corpus/core/src/client/AgentPanel.tsx +130 -70
  745. package/corpus/core/src/client/i18n.tsx +67 -5
  746. package/corpus/core/src/client/sharing/ShareDialog.tsx +98 -57
  747. package/corpus/core/src/styles/agent-native.css +59 -0
  748. package/corpus/core/src/templates/default/app/i18n/ar-SA.ts +155 -0
  749. package/corpus/core/src/templates/default/app/i18n/de-DE.ts +155 -0
  750. package/corpus/core/src/templates/default/app/i18n/en-US.ts +155 -0
  751. package/corpus/core/src/templates/default/app/i18n/es-ES.ts +155 -0
  752. package/corpus/core/src/templates/default/app/i18n/fr-FR.ts +155 -0
  753. package/corpus/core/src/templates/default/app/i18n/hi-IN.ts +155 -0
  754. package/corpus/core/src/templates/default/app/i18n/ja-JP.ts +155 -0
  755. package/corpus/core/src/templates/default/app/i18n/ko-KR.ts +155 -0
  756. package/corpus/core/src/templates/default/app/i18n/pt-BR.ts +155 -0
  757. package/corpus/core/src/templates/default/app/i18n/zh-CN.ts +155 -0
  758. package/corpus/core/src/templates/default/vite.config.ts +10 -5
  759. package/corpus/core/src/vite/client.ts +259 -114
  760. package/corpus/core/src/vite/index.ts +2 -0
  761. package/corpus/templates/analytics/vite.config.ts +10 -5
  762. package/corpus/templates/assets/vite.config.ts +11 -6
  763. package/corpus/templates/brain/vite.config.ts +3 -2
  764. package/corpus/templates/calendar/vite.config.ts +10 -5
  765. package/corpus/templates/chat/vite.config.ts +10 -5
  766. package/corpus/templates/clips/app/components/library/library-layout.tsx +2 -0
  767. package/corpus/templates/clips/vite.config.ts +11 -6
  768. package/corpus/templates/content/vite.config.ts +14 -9
  769. package/corpus/templates/design/vite.config.ts +10 -5
  770. package/corpus/templates/dispatch/vite.config.ts +10 -5
  771. package/corpus/templates/forms/app/i18n/ar-SA.ts +2 -2
  772. package/corpus/templates/forms/app/i18n/de-DE.ts +2 -2
  773. package/corpus/templates/forms/app/i18n/fr-FR.ts +2 -2
  774. package/corpus/templates/forms/app/i18n/hi-IN.ts +2 -2
  775. package/corpus/templates/forms/app/i18n/ja-JP.ts +2 -2
  776. package/corpus/templates/forms/app/i18n/ko-KR.ts +2 -2
  777. package/corpus/templates/forms/app/i18n/pt-BR.ts +2 -2
  778. package/corpus/templates/forms/app/i18n/zh-CN.ts +2 -2
  779. package/corpus/templates/forms/vite.config.ts +10 -5
  780. package/corpus/templates/macros/app/i18n/ar-SA.ts +19 -19
  781. package/corpus/templates/macros/app/i18n/de-DE.ts +19 -19
  782. package/corpus/templates/macros/app/i18n/es-ES.ts +19 -19
  783. package/corpus/templates/macros/app/i18n/fr-FR.ts +20 -19
  784. package/corpus/templates/macros/app/i18n/hi-IN.ts +19 -19
  785. package/corpus/templates/macros/app/i18n/ja-JP.ts +19 -19
  786. package/corpus/templates/macros/app/i18n/ko-KR.ts +19 -19
  787. package/corpus/templates/macros/app/i18n/pt-BR.ts +19 -19
  788. package/corpus/templates/macros/app/i18n/zh-CN.ts +19 -20
  789. package/corpus/templates/macros/vite.config.ts +10 -5
  790. package/corpus/templates/mail/app/i18n/ar-SA.ts +26 -26
  791. package/corpus/templates/mail/app/i18n/de-DE.ts +26 -26
  792. package/corpus/templates/mail/app/i18n/es-ES.ts +26 -26
  793. package/corpus/templates/mail/app/i18n/fr-FR.ts +25 -25
  794. package/corpus/templates/mail/app/i18n/hi-IN.ts +26 -26
  795. package/corpus/templates/mail/app/i18n/ja-JP.ts +26 -26
  796. package/corpus/templates/mail/app/i18n/ko-KR.ts +26 -26
  797. package/corpus/templates/mail/app/i18n/pt-BR.ts +26 -26
  798. package/corpus/templates/mail/app/i18n/zh-CN.ts +26 -26
  799. package/corpus/templates/mail/vite.config.ts +10 -5
  800. package/corpus/templates/plan/app/i18n/ar-SA.ts +10 -11
  801. package/corpus/templates/plan/app/i18n/de-DE.ts +10 -10
  802. package/corpus/templates/plan/app/i18n/es-ES.ts +10 -10
  803. package/corpus/templates/plan/app/i18n/fr-FR.ts +10 -10
  804. package/corpus/templates/plan/app/i18n/hi-IN.ts +10 -10
  805. package/corpus/templates/plan/app/i18n/ja-JP.ts +10 -11
  806. package/corpus/templates/plan/app/i18n/ko-KR.ts +10 -10
  807. package/corpus/templates/plan/app/i18n/pt-BR.ts +10 -10
  808. package/corpus/templates/plan/app/i18n/zh-CN.ts +10 -12
  809. package/corpus/templates/plan/vite.config.ts +14 -9
  810. package/corpus/templates/slides/app/i18n/ar-SA.ts +6 -6
  811. package/corpus/templates/slides/app/i18n/de-DE.ts +6 -6
  812. package/corpus/templates/slides/app/i18n/es-ES.ts +6 -6
  813. package/corpus/templates/slides/app/i18n/fr-FR.ts +6 -6
  814. package/corpus/templates/slides/app/i18n/hi-IN.ts +6 -6
  815. package/corpus/templates/slides/app/i18n/ja-JP.ts +6 -6
  816. package/corpus/templates/slides/app/i18n/ko-KR.ts +6 -6
  817. package/corpus/templates/slides/app/i18n/pt-BR.ts +6 -6
  818. package/corpus/templates/slides/app/i18n/zh-CN.ts +6 -6
  819. package/corpus/templates/slides/vite.config.ts +17 -12
  820. package/corpus/templates/videos/app/i18n/ar-SA.ts +8 -8
  821. package/corpus/templates/videos/app/i18n/de-DE.ts +9 -8
  822. package/corpus/templates/videos/app/i18n/es-ES.ts +9 -8
  823. package/corpus/templates/videos/app/i18n/fr-FR.ts +9 -8
  824. package/corpus/templates/videos/app/i18n/hi-IN.ts +8 -9
  825. package/corpus/templates/videos/app/i18n/ja-JP.ts +8 -8
  826. package/corpus/templates/videos/app/i18n/ko-KR.ts +8 -8
  827. package/corpus/templates/videos/app/i18n/pt-BR.ts +8 -8
  828. package/corpus/templates/videos/app/i18n/zh-CN.ts +8 -9
  829. package/corpus/templates/videos/vite.config.ts +10 -5
  830. package/dist/client/AgentPanel.d.ts +4 -2
  831. package/dist/client/AgentPanel.d.ts.map +1 -1
  832. package/dist/client/AgentPanel.js +77 -36
  833. package/dist/client/AgentPanel.js.map +1 -1
  834. package/dist/client/i18n.d.ts +1 -0
  835. package/dist/client/i18n.d.ts.map +1 -1
  836. package/dist/client/i18n.js +60 -5
  837. package/dist/client/i18n.js.map +1 -1
  838. package/dist/client/sharing/ShareDialog.d.ts.map +1 -1
  839. package/dist/client/sharing/ShareDialog.js +76 -43
  840. package/dist/client/sharing/ShareDialog.js.map +1 -1
  841. package/dist/styles/agent-native.css +59 -0
  842. package/dist/templates/default/app/i18n/ar-SA.ts +155 -0
  843. package/dist/templates/default/app/i18n/de-DE.ts +155 -0
  844. package/dist/templates/default/app/i18n/en-US.ts +155 -0
  845. package/dist/templates/default/app/i18n/es-ES.ts +155 -0
  846. package/dist/templates/default/app/i18n/fr-FR.ts +155 -0
  847. package/dist/templates/default/app/i18n/hi-IN.ts +155 -0
  848. package/dist/templates/default/app/i18n/ja-JP.ts +155 -0
  849. package/dist/templates/default/app/i18n/ko-KR.ts +155 -0
  850. package/dist/templates/default/app/i18n/pt-BR.ts +155 -0
  851. package/dist/templates/default/app/i18n/zh-CN.ts +155 -0
  852. package/dist/templates/default/vite.config.ts +10 -5
  853. package/dist/vite/client.d.ts +29 -5
  854. package/dist/vite/client.d.ts.map +1 -1
  855. package/dist/vite/client.js +201 -106
  856. package/dist/vite/client.js.map +1 -1
  857. package/dist/vite/index.d.ts +1 -1
  858. package/dist/vite/index.d.ts.map +1 -1
  859. package/dist/vite/index.js +1 -1
  860. package/dist/vite/index.js.map +1 -1
  861. package/docs/content/deployment.md +8 -9
  862. package/docs/content/internationalization.md +6 -0
  863. package/docs/content/locales/ar-SA/a2a-protocol.md +20 -8
  864. package/docs/content/locales/ar-SA/actions.md +18 -6
  865. package/docs/content/locales/ar-SA/agent-mentions.md +18 -6
  866. package/docs/content/locales/ar-SA/agent-surfaces.md +4 -4
  867. package/docs/content/locales/ar-SA/agent-teams.md +6 -6
  868. package/docs/content/locales/ar-SA/agent-web-surfaces.md +13 -5
  869. package/docs/content/locales/ar-SA/authentication.md +4 -4
  870. package/docs/content/locales/ar-SA/automations.md +25 -9
  871. package/docs/content/locales/ar-SA/blueprint-installer.md +2 -2
  872. package/docs/content/locales/ar-SA/cli-adapters.md +2 -2
  873. package/docs/content/locales/ar-SA/client.md +4 -4
  874. package/docs/content/locales/ar-SA/cloneable-saas.md +4 -4
  875. package/docs/content/locales/ar-SA/code-agents-ui.md +4 -4
  876. package/docs/content/locales/ar-SA/components.md +4 -4
  877. package/docs/content/locales/ar-SA/context-awareness.md +25 -9
  878. package/docs/content/locales/ar-SA/creating-templates.md +16 -16
  879. package/docs/content/locales/ar-SA/cross-app-sso.md +2 -2
  880. package/docs/content/locales/ar-SA/database.md +2 -2
  881. package/docs/content/locales/ar-SA/deployment.md +15 -16
  882. package/docs/content/locales/ar-SA/dispatch.md +2 -2
  883. package/docs/content/locales/ar-SA/drop-in-agent.md +2 -2
  884. package/docs/content/locales/ar-SA/durable-resume.md +1 -1
  885. package/docs/content/locales/ar-SA/embedding-sdk.md +2 -2
  886. package/docs/content/locales/ar-SA/evals.md +2 -2
  887. package/docs/content/locales/ar-SA/extensions.md +2 -2
  888. package/docs/content/locales/ar-SA/external-agents.md +2 -2
  889. package/docs/content/locales/ar-SA/faq.md +2 -2
  890. package/docs/content/locales/ar-SA/file-uploads.md +1 -1
  891. package/docs/content/locales/ar-SA/frames.md +2 -2
  892. package/docs/content/locales/ar-SA/getting-started.md +5 -5
  893. package/docs/content/locales/ar-SA/harness-agents.md +2 -2
  894. package/docs/content/locales/ar-SA/human-approval.md +2 -2
  895. package/docs/content/locales/ar-SA/internationalization.md +2 -0
  896. package/docs/content/locales/ar-SA/key-concepts.md +7 -7
  897. package/docs/content/locales/ar-SA/local-file-mode.md +8 -8
  898. package/docs/content/locales/ar-SA/mcp-apps.md +3 -3
  899. package/docs/content/locales/ar-SA/mcp-clients.md +3 -3
  900. package/docs/content/locales/ar-SA/mcp-protocol.md +2 -2
  901. package/docs/content/locales/ar-SA/messaging.md +2 -2
  902. package/docs/content/locales/ar-SA/migration-workbench.md +1 -1
  903. package/docs/content/locales/ar-SA/multi-app-workspace.md +8 -8
  904. package/docs/content/locales/ar-SA/multi-tenancy.md +2 -2
  905. package/docs/content/locales/ar-SA/native-chat-ui.md +2 -2
  906. package/docs/content/locales/ar-SA/notifications.md +2 -2
  907. package/docs/content/locales/ar-SA/observability.md +3 -3
  908. package/docs/content/locales/ar-SA/observational-memory.md +2 -2
  909. package/docs/content/locales/ar-SA/onboarding.md +2 -2
  910. package/docs/content/locales/ar-SA/plan-plugin.md +2 -2
  911. package/docs/content/locales/ar-SA/pr-visual-recap.md +2 -2
  912. package/docs/content/locales/ar-SA/processors.md +1 -1
  913. package/docs/content/locales/ar-SA/progress.md +1 -1
  914. package/docs/content/locales/ar-SA/pure-agent-apps.md +1 -1
  915. package/docs/content/locales/ar-SA/real-time-collaboration.md +7 -3
  916. package/docs/content/locales/ar-SA/recurring-jobs.md +1 -1
  917. package/docs/content/locales/ar-SA/routing.md +1 -1
  918. package/docs/content/locales/ar-SA/sandbox-adapters.md +6 -6
  919. package/docs/content/locales/ar-SA/security.md +2 -2
  920. package/docs/content/locales/ar-SA/server.md +22 -10
  921. package/docs/content/locales/ar-SA/sharing.md +1 -1
  922. package/docs/content/locales/ar-SA/skills-guide.md +3 -3
  923. package/docs/content/locales/ar-SA/template-analytics.md +1 -1
  924. package/docs/content/locales/ar-SA/template-assets.md +2 -2
  925. package/docs/content/locales/ar-SA/template-brain.md +1 -1
  926. package/docs/content/locales/ar-SA/template-calendar.md +2 -2
  927. package/docs/content/locales/ar-SA/template-chat.md +7 -7
  928. package/docs/content/locales/ar-SA/template-clips.md +3 -3
  929. package/docs/content/locales/ar-SA/template-content.md +2 -2
  930. package/docs/content/locales/ar-SA/template-design.md +3 -3
  931. package/docs/content/locales/ar-SA/template-dispatch.md +1 -1
  932. package/docs/content/locales/ar-SA/template-forms.md +2 -2
  933. package/docs/content/locales/ar-SA/template-mail.md +2 -2
  934. package/docs/content/locales/ar-SA/template-plan.md +2 -2
  935. package/docs/content/locales/ar-SA/template-slides.md +3 -3
  936. package/docs/content/locales/ar-SA/template-videos.md +1 -1
  937. package/docs/content/locales/ar-SA/tracking.md +1 -1
  938. package/docs/content/locales/ar-SA/using-your-agent.md +1 -1
  939. package/docs/content/locales/ar-SA/voice-input.md +1 -1
  940. package/docs/content/locales/ar-SA/what-is-agent-native.md +5 -5
  941. package/docs/content/locales/ar-SA/workspace-connections.md +2 -2
  942. package/docs/content/locales/ar-SA/workspace-management.md +6 -6
  943. package/docs/content/locales/ar-SA/workspace.md +4 -4
  944. package/docs/content/locales/ar-SA/writing-agent-instructions.md +1 -1
  945. package/docs/content/locales/de-DE/a2a-protocol.md +3 -3
  946. package/docs/content/locales/de-DE/actions.md +3 -3
  947. package/docs/content/locales/de-DE/agent-mentions.md +2 -2
  948. package/docs/content/locales/de-DE/agent-surfaces.md +2 -2
  949. package/docs/content/locales/de-DE/agent-teams.md +3 -3
  950. package/docs/content/locales/de-DE/agent-web-surfaces.md +2 -2
  951. package/docs/content/locales/de-DE/authentication.md +2 -2
  952. package/docs/content/locales/de-DE/automations.md +3 -3
  953. package/docs/content/locales/de-DE/blueprint-installer.md +1 -1
  954. package/docs/content/locales/de-DE/cli-adapters.md +1 -1
  955. package/docs/content/locales/de-DE/client.md +3 -3
  956. package/docs/content/locales/de-DE/cloneable-saas.md +3 -3
  957. package/docs/content/locales/de-DE/code-agents-ui.md +3 -3
  958. package/docs/content/locales/de-DE/components.md +2 -2
  959. package/docs/content/locales/de-DE/context-awareness.md +3 -3
  960. package/docs/content/locales/de-DE/creating-templates.md +16 -16
  961. package/docs/content/locales/de-DE/cross-app-sso.md +2 -2
  962. package/docs/content/locales/de-DE/database.md +2 -2
  963. package/docs/content/locales/de-DE/deployment.md +15 -16
  964. package/docs/content/locales/de-DE/dispatch.md +2 -2
  965. package/docs/content/locales/de-DE/drop-in-agent.md +2 -2
  966. package/docs/content/locales/de-DE/durable-resume.md +1 -1
  967. package/docs/content/locales/de-DE/embedding-sdk.md +2 -2
  968. package/docs/content/locales/de-DE/evals.md +2 -2
  969. package/docs/content/locales/de-DE/extensions.md +2 -2
  970. package/docs/content/locales/de-DE/external-agents.md +2 -2
  971. package/docs/content/locales/de-DE/faq.md +2 -2
  972. package/docs/content/locales/de-DE/file-uploads.md +1 -1
  973. package/docs/content/locales/de-DE/frames.md +2 -2
  974. package/docs/content/locales/de-DE/getting-started.md +5 -5
  975. package/docs/content/locales/de-DE/harness-agents.md +2 -2
  976. package/docs/content/locales/de-DE/human-approval.md +2 -2
  977. package/docs/content/locales/de-DE/internationalization.md +2 -0
  978. package/docs/content/locales/de-DE/key-concepts.md +7 -7
  979. package/docs/content/locales/de-DE/local-file-mode.md +8 -8
  980. package/docs/content/locales/de-DE/mcp-apps.md +3 -3
  981. package/docs/content/locales/de-DE/mcp-clients.md +3 -3
  982. package/docs/content/locales/de-DE/mcp-protocol.md +2 -2
  983. package/docs/content/locales/de-DE/messaging.md +2 -2
  984. package/docs/content/locales/de-DE/migration-workbench.md +1 -1
  985. package/docs/content/locales/de-DE/multi-app-workspace.md +8 -8
  986. package/docs/content/locales/de-DE/multi-tenancy.md +2 -2
  987. package/docs/content/locales/de-DE/native-chat-ui.md +2 -2
  988. package/docs/content/locales/de-DE/notifications.md +2 -2
  989. package/docs/content/locales/de-DE/observability.md +3 -3
  990. package/docs/content/locales/de-DE/observational-memory.md +2 -2
  991. package/docs/content/locales/de-DE/onboarding.md +2 -2
  992. package/docs/content/locales/de-DE/plan-plugin.md +2 -2
  993. package/docs/content/locales/de-DE/pr-visual-recap.md +2 -2
  994. package/docs/content/locales/de-DE/processors.md +1 -1
  995. package/docs/content/locales/de-DE/progress.md +1 -1
  996. package/docs/content/locales/de-DE/pure-agent-apps.md +1 -1
  997. package/docs/content/locales/de-DE/real-time-collaboration.md +7 -3
  998. package/docs/content/locales/de-DE/recurring-jobs.md +1 -1
  999. package/docs/content/locales/de-DE/routing.md +1 -1
  1000. package/docs/content/locales/de-DE/sandbox-adapters.md +6 -6
  1001. package/docs/content/locales/de-DE/security.md +2 -2
  1002. package/docs/content/locales/de-DE/server.md +22 -10
  1003. package/docs/content/locales/de-DE/sharing.md +1 -1
  1004. package/docs/content/locales/de-DE/skills-guide.md +3 -3
  1005. package/docs/content/locales/de-DE/template-analytics.md +1 -1
  1006. package/docs/content/locales/de-DE/template-assets.md +1 -1
  1007. package/docs/content/locales/de-DE/template-brain.md +1 -1
  1008. package/docs/content/locales/de-DE/template-calendar.md +2 -2
  1009. package/docs/content/locales/de-DE/template-chat.md +7 -7
  1010. package/docs/content/locales/de-DE/template-clips.md +3 -3
  1011. package/docs/content/locales/de-DE/template-content.md +2 -2
  1012. package/docs/content/locales/de-DE/template-design.md +1 -1
  1013. package/docs/content/locales/de-DE/template-dispatch.md +1 -1
  1014. package/docs/content/locales/de-DE/template-forms.md +2 -2
  1015. package/docs/content/locales/de-DE/template-mail.md +2 -2
  1016. package/docs/content/locales/de-DE/template-plan.md +2 -2
  1017. package/docs/content/locales/de-DE/template-slides.md +3 -3
  1018. package/docs/content/locales/de-DE/template-videos.md +1 -1
  1019. package/docs/content/locales/de-DE/tracking.md +1 -1
  1020. package/docs/content/locales/de-DE/using-your-agent.md +1 -1
  1021. package/docs/content/locales/de-DE/voice-input.md +1 -1
  1022. package/docs/content/locales/de-DE/what-is-agent-native.md +5 -5
  1023. package/docs/content/locales/de-DE/workspace-connections.md +2 -2
  1024. package/docs/content/locales/de-DE/workspace-management.md +6 -6
  1025. package/docs/content/locales/de-DE/workspace.md +4 -4
  1026. package/docs/content/locales/de-DE/writing-agent-instructions.md +1 -1
  1027. package/docs/content/locales/es-ES/a2a-protocol.md +3 -3
  1028. package/docs/content/locales/es-ES/actions.md +3 -3
  1029. package/docs/content/locales/es-ES/agent-mentions.md +2 -2
  1030. package/docs/content/locales/es-ES/agent-surfaces.md +2 -2
  1031. package/docs/content/locales/es-ES/agent-teams.md +3 -3
  1032. package/docs/content/locales/es-ES/agent-web-surfaces.md +2 -2
  1033. package/docs/content/locales/es-ES/authentication.md +2 -2
  1034. package/docs/content/locales/es-ES/automations.md +3 -3
  1035. package/docs/content/locales/es-ES/blueprint-installer.md +1 -1
  1036. package/docs/content/locales/es-ES/cli-adapters.md +1 -1
  1037. package/docs/content/locales/es-ES/client.md +3 -3
  1038. package/docs/content/locales/es-ES/cloneable-saas.md +3 -3
  1039. package/docs/content/locales/es-ES/code-agents-ui.md +3 -3
  1040. package/docs/content/locales/es-ES/components.md +2 -2
  1041. package/docs/content/locales/es-ES/context-awareness.md +3 -3
  1042. package/docs/content/locales/es-ES/creating-templates.md +16 -16
  1043. package/docs/content/locales/es-ES/cross-app-sso.md +2 -2
  1044. package/docs/content/locales/es-ES/database.md +2 -2
  1045. package/docs/content/locales/es-ES/deployment.md +15 -16
  1046. package/docs/content/locales/es-ES/dispatch.md +2 -2
  1047. package/docs/content/locales/es-ES/drop-in-agent.md +2 -2
  1048. package/docs/content/locales/es-ES/durable-resume.md +1 -1
  1049. package/docs/content/locales/es-ES/embedding-sdk.md +2 -2
  1050. package/docs/content/locales/es-ES/evals.md +2 -2
  1051. package/docs/content/locales/es-ES/extensions.md +2 -2
  1052. package/docs/content/locales/es-ES/external-agents.md +2 -2
  1053. package/docs/content/locales/es-ES/faq.md +2 -2
  1054. package/docs/content/locales/es-ES/file-uploads.md +1 -1
  1055. package/docs/content/locales/es-ES/frames.md +2 -2
  1056. package/docs/content/locales/es-ES/getting-started.md +5 -5
  1057. package/docs/content/locales/es-ES/harness-agents.md +2 -2
  1058. package/docs/content/locales/es-ES/human-approval.md +2 -2
  1059. package/docs/content/locales/es-ES/internationalization.md +2 -0
  1060. package/docs/content/locales/es-ES/key-concepts.md +7 -7
  1061. package/docs/content/locales/es-ES/local-file-mode.md +8 -8
  1062. package/docs/content/locales/es-ES/mcp-apps.md +3 -3
  1063. package/docs/content/locales/es-ES/mcp-clients.md +3 -3
  1064. package/docs/content/locales/es-ES/mcp-protocol.md +2 -2
  1065. package/docs/content/locales/es-ES/messaging.md +2 -2
  1066. package/docs/content/locales/es-ES/migration-workbench.md +1 -1
  1067. package/docs/content/locales/es-ES/multi-app-workspace.md +8 -8
  1068. package/docs/content/locales/es-ES/multi-tenancy.md +2 -2
  1069. package/docs/content/locales/es-ES/native-chat-ui.md +2 -2
  1070. package/docs/content/locales/es-ES/notifications.md +2 -2
  1071. package/docs/content/locales/es-ES/observability.md +3 -3
  1072. package/docs/content/locales/es-ES/observational-memory.md +2 -2
  1073. package/docs/content/locales/es-ES/onboarding.md +2 -2
  1074. package/docs/content/locales/es-ES/plan-plugin.md +2 -2
  1075. package/docs/content/locales/es-ES/pr-visual-recap.md +2 -2
  1076. package/docs/content/locales/es-ES/processors.md +1 -1
  1077. package/docs/content/locales/es-ES/progress.md +1 -1
  1078. package/docs/content/locales/es-ES/pure-agent-apps.md +1 -1
  1079. package/docs/content/locales/es-ES/real-time-collaboration.md +7 -3
  1080. package/docs/content/locales/es-ES/recurring-jobs.md +1 -1
  1081. package/docs/content/locales/es-ES/routing.md +1 -1
  1082. package/docs/content/locales/es-ES/sandbox-adapters.md +6 -6
  1083. package/docs/content/locales/es-ES/security.md +2 -2
  1084. package/docs/content/locales/es-ES/server.md +22 -10
  1085. package/docs/content/locales/es-ES/sharing.md +1 -1
  1086. package/docs/content/locales/es-ES/skills-guide.md +3 -3
  1087. package/docs/content/locales/es-ES/template-analytics.md +1 -1
  1088. package/docs/content/locales/es-ES/template-assets.md +1 -1
  1089. package/docs/content/locales/es-ES/template-brain.md +1 -1
  1090. package/docs/content/locales/es-ES/template-calendar.md +2 -2
  1091. package/docs/content/locales/es-ES/template-chat.md +7 -7
  1092. package/docs/content/locales/es-ES/template-clips.md +3 -3
  1093. package/docs/content/locales/es-ES/template-content.md +2 -2
  1094. package/docs/content/locales/es-ES/template-design.md +1 -1
  1095. package/docs/content/locales/es-ES/template-dispatch.md +1 -1
  1096. package/docs/content/locales/es-ES/template-forms.md +2 -2
  1097. package/docs/content/locales/es-ES/template-mail.md +2 -2
  1098. package/docs/content/locales/es-ES/template-plan.md +2 -2
  1099. package/docs/content/locales/es-ES/template-slides.md +3 -3
  1100. package/docs/content/locales/es-ES/template-videos.md +1 -1
  1101. package/docs/content/locales/es-ES/tracking.md +1 -1
  1102. package/docs/content/locales/es-ES/using-your-agent.md +1 -1
  1103. package/docs/content/locales/es-ES/voice-input.md +1 -1
  1104. package/docs/content/locales/es-ES/what-is-agent-native.md +5 -5
  1105. package/docs/content/locales/es-ES/workspace-connections.md +2 -2
  1106. package/docs/content/locales/es-ES/workspace-management.md +6 -6
  1107. package/docs/content/locales/es-ES/workspace.md +4 -4
  1108. package/docs/content/locales/es-ES/writing-agent-instructions.md +1 -1
  1109. package/docs/content/locales/fr-FR/a2a-protocol.md +3 -3
  1110. package/docs/content/locales/fr-FR/actions.md +3 -3
  1111. package/docs/content/locales/fr-FR/agent-mentions.md +2 -2
  1112. package/docs/content/locales/fr-FR/agent-surfaces.md +2 -2
  1113. package/docs/content/locales/fr-FR/agent-teams.md +3 -3
  1114. package/docs/content/locales/fr-FR/agent-web-surfaces.md +2 -2
  1115. package/docs/content/locales/fr-FR/authentication.md +2 -2
  1116. package/docs/content/locales/fr-FR/automations.md +3 -3
  1117. package/docs/content/locales/fr-FR/blueprint-installer.md +1 -1
  1118. package/docs/content/locales/fr-FR/cli-adapters.md +1 -1
  1119. package/docs/content/locales/fr-FR/client.md +3 -3
  1120. package/docs/content/locales/fr-FR/cloneable-saas.md +3 -3
  1121. package/docs/content/locales/fr-FR/code-agents-ui.md +3 -3
  1122. package/docs/content/locales/fr-FR/components.md +2 -2
  1123. package/docs/content/locales/fr-FR/context-awareness.md +3 -3
  1124. package/docs/content/locales/fr-FR/creating-templates.md +16 -16
  1125. package/docs/content/locales/fr-FR/cross-app-sso.md +2 -2
  1126. package/docs/content/locales/fr-FR/database.md +2 -2
  1127. package/docs/content/locales/fr-FR/deployment.md +15 -16
  1128. package/docs/content/locales/fr-FR/dispatch.md +2 -2
  1129. package/docs/content/locales/fr-FR/drop-in-agent.md +2 -2
  1130. package/docs/content/locales/fr-FR/durable-resume.md +1 -1
  1131. package/docs/content/locales/fr-FR/embedding-sdk.md +2 -2
  1132. package/docs/content/locales/fr-FR/evals.md +2 -2
  1133. package/docs/content/locales/fr-FR/extensions.md +2 -2
  1134. package/docs/content/locales/fr-FR/external-agents.md +2 -2
  1135. package/docs/content/locales/fr-FR/faq.md +2 -2
  1136. package/docs/content/locales/fr-FR/file-uploads.md +1 -1
  1137. package/docs/content/locales/fr-FR/frames.md +2 -2
  1138. package/docs/content/locales/fr-FR/getting-started.md +5 -5
  1139. package/docs/content/locales/fr-FR/harness-agents.md +2 -2
  1140. package/docs/content/locales/fr-FR/human-approval.md +2 -2
  1141. package/docs/content/locales/fr-FR/internationalization.md +2 -0
  1142. package/docs/content/locales/fr-FR/key-concepts.md +7 -7
  1143. package/docs/content/locales/fr-FR/local-file-mode.md +8 -8
  1144. package/docs/content/locales/fr-FR/mcp-apps.md +3 -3
  1145. package/docs/content/locales/fr-FR/mcp-clients.md +3 -3
  1146. package/docs/content/locales/fr-FR/mcp-protocol.md +2 -2
  1147. package/docs/content/locales/fr-FR/messaging.md +2 -2
  1148. package/docs/content/locales/fr-FR/migration-workbench.md +1 -1
  1149. package/docs/content/locales/fr-FR/multi-app-workspace.md +8 -8
  1150. package/docs/content/locales/fr-FR/multi-tenancy.md +2 -2
  1151. package/docs/content/locales/fr-FR/native-chat-ui.md +2 -2
  1152. package/docs/content/locales/fr-FR/notifications.md +2 -2
  1153. package/docs/content/locales/fr-FR/observability.md +3 -3
  1154. package/docs/content/locales/fr-FR/observational-memory.md +2 -2
  1155. package/docs/content/locales/fr-FR/onboarding.md +2 -2
  1156. package/docs/content/locales/fr-FR/plan-plugin.md +2 -2
  1157. package/docs/content/locales/fr-FR/pr-visual-recap.md +2 -2
  1158. package/docs/content/locales/fr-FR/processors.md +1 -1
  1159. package/docs/content/locales/fr-FR/progress.md +1 -1
  1160. package/docs/content/locales/fr-FR/pure-agent-apps.md +1 -1
  1161. package/docs/content/locales/fr-FR/real-time-collaboration.md +7 -3
  1162. package/docs/content/locales/fr-FR/recurring-jobs.md +1 -1
  1163. package/docs/content/locales/fr-FR/routing.md +1 -1
  1164. package/docs/content/locales/fr-FR/sandbox-adapters.md +6 -6
  1165. package/docs/content/locales/fr-FR/security.md +2 -2
  1166. package/docs/content/locales/fr-FR/server.md +22 -10
  1167. package/docs/content/locales/fr-FR/sharing.md +1 -1
  1168. package/docs/content/locales/fr-FR/skills-guide.md +3 -3
  1169. package/docs/content/locales/fr-FR/template-analytics.md +1 -1
  1170. package/docs/content/locales/fr-FR/template-assets.md +2 -2
  1171. package/docs/content/locales/fr-FR/template-brain.md +1 -1
  1172. package/docs/content/locales/fr-FR/template-calendar.md +2 -2
  1173. package/docs/content/locales/fr-FR/template-chat.md +7 -7
  1174. package/docs/content/locales/fr-FR/template-clips.md +3 -3
  1175. package/docs/content/locales/fr-FR/template-content.md +2 -2
  1176. package/docs/content/locales/fr-FR/template-design.md +2 -2
  1177. package/docs/content/locales/fr-FR/template-dispatch.md +1 -1
  1178. package/docs/content/locales/fr-FR/template-forms.md +2 -2
  1179. package/docs/content/locales/fr-FR/template-mail.md +2 -2
  1180. package/docs/content/locales/fr-FR/template-plan.md +2 -2
  1181. package/docs/content/locales/fr-FR/template-slides.md +3 -3
  1182. package/docs/content/locales/fr-FR/template-videos.md +1 -1
  1183. package/docs/content/locales/fr-FR/tracking.md +1 -1
  1184. package/docs/content/locales/fr-FR/using-your-agent.md +1 -1
  1185. package/docs/content/locales/fr-FR/voice-input.md +1 -1
  1186. package/docs/content/locales/fr-FR/what-is-agent-native.md +5 -5
  1187. package/docs/content/locales/fr-FR/workspace-connections.md +2 -2
  1188. package/docs/content/locales/fr-FR/workspace-management.md +6 -6
  1189. package/docs/content/locales/fr-FR/workspace.md +4 -4
  1190. package/docs/content/locales/fr-FR/writing-agent-instructions.md +1 -1
  1191. package/docs/content/locales/hi-IN/a2a-protocol.md +3 -3
  1192. package/docs/content/locales/hi-IN/actions.md +3 -3
  1193. package/docs/content/locales/hi-IN/agent-mentions.md +2 -2
  1194. package/docs/content/locales/hi-IN/agent-surfaces.md +2 -2
  1195. package/docs/content/locales/hi-IN/agent-teams.md +3 -3
  1196. package/docs/content/locales/hi-IN/agent-web-surfaces.md +2 -2
  1197. package/docs/content/locales/hi-IN/authentication.md +2 -2
  1198. package/docs/content/locales/hi-IN/automations.md +3 -3
  1199. package/docs/content/locales/hi-IN/blueprint-installer.md +1 -1
  1200. package/docs/content/locales/hi-IN/cli-adapters.md +1 -1
  1201. package/docs/content/locales/hi-IN/client.md +3 -3
  1202. package/docs/content/locales/hi-IN/cloneable-saas.md +3 -3
  1203. package/docs/content/locales/hi-IN/code-agents-ui.md +3 -3
  1204. package/docs/content/locales/hi-IN/components.md +2 -2
  1205. package/docs/content/locales/hi-IN/context-awareness.md +3 -3
  1206. package/docs/content/locales/hi-IN/creating-templates.md +16 -16
  1207. package/docs/content/locales/hi-IN/cross-app-sso.md +2 -2
  1208. package/docs/content/locales/hi-IN/database.md +2 -2
  1209. package/docs/content/locales/hi-IN/deployment.md +15 -16
  1210. package/docs/content/locales/hi-IN/dispatch.md +2 -2
  1211. package/docs/content/locales/hi-IN/drop-in-agent.md +2 -2
  1212. package/docs/content/locales/hi-IN/durable-resume.md +1 -1
  1213. package/docs/content/locales/hi-IN/embedding-sdk.md +2 -2
  1214. package/docs/content/locales/hi-IN/evals.md +2 -2
  1215. package/docs/content/locales/hi-IN/extensions.md +2 -2
  1216. package/docs/content/locales/hi-IN/external-agents.md +2 -2
  1217. package/docs/content/locales/hi-IN/faq.md +2 -2
  1218. package/docs/content/locales/hi-IN/file-uploads.md +1 -1
  1219. package/docs/content/locales/hi-IN/frames.md +2 -2
  1220. package/docs/content/locales/hi-IN/getting-started.md +6 -6
  1221. package/docs/content/locales/hi-IN/harness-agents.md +2 -2
  1222. package/docs/content/locales/hi-IN/human-approval.md +2 -2
  1223. package/docs/content/locales/hi-IN/internationalization.md +2 -0
  1224. package/docs/content/locales/hi-IN/key-concepts.md +7 -7
  1225. package/docs/content/locales/hi-IN/local-file-mode.md +8 -8
  1226. package/docs/content/locales/hi-IN/mcp-apps.md +3 -3
  1227. package/docs/content/locales/hi-IN/mcp-clients.md +3 -3
  1228. package/docs/content/locales/hi-IN/mcp-protocol.md +2 -2
  1229. package/docs/content/locales/hi-IN/messaging.md +2 -2
  1230. package/docs/content/locales/hi-IN/migration-workbench.md +1 -1
  1231. package/docs/content/locales/hi-IN/multi-app-workspace.md +8 -8
  1232. package/docs/content/locales/hi-IN/multi-tenancy.md +2 -2
  1233. package/docs/content/locales/hi-IN/native-chat-ui.md +2 -2
  1234. package/docs/content/locales/hi-IN/notifications.md +2 -2
  1235. package/docs/content/locales/hi-IN/observability.md +3 -3
  1236. package/docs/content/locales/hi-IN/observational-memory.md +2 -2
  1237. package/docs/content/locales/hi-IN/onboarding.md +2 -2
  1238. package/docs/content/locales/hi-IN/plan-plugin.md +2 -2
  1239. package/docs/content/locales/hi-IN/pr-visual-recap.md +2 -2
  1240. package/docs/content/locales/hi-IN/processors.md +1 -1
  1241. package/docs/content/locales/hi-IN/progress.md +1 -1
  1242. package/docs/content/locales/hi-IN/pure-agent-apps.md +1 -1
  1243. package/docs/content/locales/hi-IN/real-time-collaboration.md +7 -3
  1244. package/docs/content/locales/hi-IN/recurring-jobs.md +1 -1
  1245. package/docs/content/locales/hi-IN/routing.md +1 -1
  1246. package/docs/content/locales/hi-IN/sandbox-adapters.md +6 -6
  1247. package/docs/content/locales/hi-IN/security.md +2 -2
  1248. package/docs/content/locales/hi-IN/server.md +22 -10
  1249. package/docs/content/locales/hi-IN/sharing.md +1 -1
  1250. package/docs/content/locales/hi-IN/skills-guide.md +3 -3
  1251. package/docs/content/locales/hi-IN/template-analytics.md +1 -1
  1252. package/docs/content/locales/hi-IN/template-assets.md +2 -2
  1253. package/docs/content/locales/hi-IN/template-brain.md +1 -1
  1254. package/docs/content/locales/hi-IN/template-calendar.md +2 -2
  1255. package/docs/content/locales/hi-IN/template-chat.md +7 -7
  1256. package/docs/content/locales/hi-IN/template-clips.md +3 -3
  1257. package/docs/content/locales/hi-IN/template-content.md +2 -2
  1258. package/docs/content/locales/hi-IN/template-design.md +2 -2
  1259. package/docs/content/locales/hi-IN/template-dispatch.md +1 -1
  1260. package/docs/content/locales/hi-IN/template-forms.md +2 -2
  1261. package/docs/content/locales/hi-IN/template-mail.md +2 -2
  1262. package/docs/content/locales/hi-IN/template-plan.md +2 -2
  1263. package/docs/content/locales/hi-IN/template-slides.md +3 -3
  1264. package/docs/content/locales/hi-IN/template-videos.md +1 -1
  1265. package/docs/content/locales/hi-IN/tracking.md +1 -1
  1266. package/docs/content/locales/hi-IN/using-your-agent.md +1 -1
  1267. package/docs/content/locales/hi-IN/voice-input.md +1 -1
  1268. package/docs/content/locales/hi-IN/what-is-agent-native.md +5 -5
  1269. package/docs/content/locales/hi-IN/workspace-connections.md +2 -2
  1270. package/docs/content/locales/hi-IN/workspace-management.md +6 -6
  1271. package/docs/content/locales/hi-IN/workspace.md +4 -4
  1272. package/docs/content/locales/hi-IN/writing-agent-instructions.md +1 -1
  1273. package/docs/content/locales/ja-JP/a2a-protocol.md +3 -3
  1274. package/docs/content/locales/ja-JP/actions.md +3 -3
  1275. package/docs/content/locales/ja-JP/agent-mentions.md +2 -2
  1276. package/docs/content/locales/ja-JP/agent-surfaces.md +2 -2
  1277. package/docs/content/locales/ja-JP/agent-teams.md +3 -3
  1278. package/docs/content/locales/ja-JP/agent-web-surfaces.md +2 -2
  1279. package/docs/content/locales/ja-JP/authentication.md +2 -2
  1280. package/docs/content/locales/ja-JP/automations.md +3 -3
  1281. package/docs/content/locales/ja-JP/blueprint-installer.md +1 -1
  1282. package/docs/content/locales/ja-JP/cli-adapters.md +1 -1
  1283. package/docs/content/locales/ja-JP/client.md +3 -3
  1284. package/docs/content/locales/ja-JP/cloneable-saas.md +3 -3
  1285. package/docs/content/locales/ja-JP/code-agents-ui.md +3 -3
  1286. package/docs/content/locales/ja-JP/components.md +2 -2
  1287. package/docs/content/locales/ja-JP/context-awareness.md +3 -3
  1288. package/docs/content/locales/ja-JP/creating-templates.md +16 -16
  1289. package/docs/content/locales/ja-JP/cross-app-sso.md +2 -2
  1290. package/docs/content/locales/ja-JP/database.md +2 -2
  1291. package/docs/content/locales/ja-JP/deployment.md +15 -16
  1292. package/docs/content/locales/ja-JP/dispatch.md +2 -2
  1293. package/docs/content/locales/ja-JP/drop-in-agent.md +2 -2
  1294. package/docs/content/locales/ja-JP/durable-resume.md +1 -1
  1295. package/docs/content/locales/ja-JP/embedding-sdk.md +2 -2
  1296. package/docs/content/locales/ja-JP/evals.md +2 -2
  1297. package/docs/content/locales/ja-JP/extensions.md +2 -2
  1298. package/docs/content/locales/ja-JP/external-agents.md +2 -2
  1299. package/docs/content/locales/ja-JP/faq.md +2 -2
  1300. package/docs/content/locales/ja-JP/file-uploads.md +1 -1
  1301. package/docs/content/locales/ja-JP/frames.md +2 -2
  1302. package/docs/content/locales/ja-JP/getting-started.md +5 -5
  1303. package/docs/content/locales/ja-JP/harness-agents.md +2 -2
  1304. package/docs/content/locales/ja-JP/human-approval.md +2 -2
  1305. package/docs/content/locales/ja-JP/internationalization.md +2 -0
  1306. package/docs/content/locales/ja-JP/key-concepts.md +7 -7
  1307. package/docs/content/locales/ja-JP/local-file-mode.md +8 -8
  1308. package/docs/content/locales/ja-JP/mcp-apps.md +3 -3
  1309. package/docs/content/locales/ja-JP/mcp-clients.md +3 -3
  1310. package/docs/content/locales/ja-JP/mcp-protocol.md +2 -2
  1311. package/docs/content/locales/ja-JP/messaging.md +2 -2
  1312. package/docs/content/locales/ja-JP/migration-workbench.md +1 -1
  1313. package/docs/content/locales/ja-JP/multi-app-workspace.md +8 -8
  1314. package/docs/content/locales/ja-JP/multi-tenancy.md +2 -2
  1315. package/docs/content/locales/ja-JP/native-chat-ui.md +2 -2
  1316. package/docs/content/locales/ja-JP/notifications.md +2 -2
  1317. package/docs/content/locales/ja-JP/observability.md +3 -3
  1318. package/docs/content/locales/ja-JP/observational-memory.md +2 -2
  1319. package/docs/content/locales/ja-JP/onboarding.md +2 -2
  1320. package/docs/content/locales/ja-JP/plan-plugin.md +2 -2
  1321. package/docs/content/locales/ja-JP/pr-visual-recap.md +2 -2
  1322. package/docs/content/locales/ja-JP/processors.md +1 -1
  1323. package/docs/content/locales/ja-JP/progress.md +1 -1
  1324. package/docs/content/locales/ja-JP/pure-agent-apps.md +1 -1
  1325. package/docs/content/locales/ja-JP/real-time-collaboration.md +7 -3
  1326. package/docs/content/locales/ja-JP/recurring-jobs.md +1 -1
  1327. package/docs/content/locales/ja-JP/routing.md +1 -1
  1328. package/docs/content/locales/ja-JP/sandbox-adapters.md +6 -6
  1329. package/docs/content/locales/ja-JP/security.md +2 -2
  1330. package/docs/content/locales/ja-JP/server.md +22 -10
  1331. package/docs/content/locales/ja-JP/sharing.md +1 -1
  1332. package/docs/content/locales/ja-JP/skills-guide.md +3 -3
  1333. package/docs/content/locales/ja-JP/template-analytics.md +1 -1
  1334. package/docs/content/locales/ja-JP/template-assets.md +2 -2
  1335. package/docs/content/locales/ja-JP/template-brain.md +1 -1
  1336. package/docs/content/locales/ja-JP/template-calendar.md +2 -2
  1337. package/docs/content/locales/ja-JP/template-chat.md +7 -7
  1338. package/docs/content/locales/ja-JP/template-clips.md +3 -3
  1339. package/docs/content/locales/ja-JP/template-content.md +2 -2
  1340. package/docs/content/locales/ja-JP/template-design.md +2 -2
  1341. package/docs/content/locales/ja-JP/template-dispatch.md +1 -1
  1342. package/docs/content/locales/ja-JP/template-forms.md +2 -2
  1343. package/docs/content/locales/ja-JP/template-mail.md +2 -2
  1344. package/docs/content/locales/ja-JP/template-plan.md +2 -2
  1345. package/docs/content/locales/ja-JP/template-slides.md +3 -3
  1346. package/docs/content/locales/ja-JP/template-videos.md +1 -1
  1347. package/docs/content/locales/ja-JP/tracking.md +1 -1
  1348. package/docs/content/locales/ja-JP/using-your-agent.md +1 -1
  1349. package/docs/content/locales/ja-JP/voice-input.md +1 -1
  1350. package/docs/content/locales/ja-JP/what-is-agent-native.md +5 -5
  1351. package/docs/content/locales/ja-JP/workspace-connections.md +2 -2
  1352. package/docs/content/locales/ja-JP/workspace-management.md +6 -6
  1353. package/docs/content/locales/ja-JP/workspace.md +4 -4
  1354. package/docs/content/locales/ja-JP/writing-agent-instructions.md +1 -1
  1355. package/docs/content/locales/ko-KR/a2a-protocol.md +3 -3
  1356. package/docs/content/locales/ko-KR/actions.md +3 -3
  1357. package/docs/content/locales/ko-KR/agent-mentions.md +2 -2
  1358. package/docs/content/locales/ko-KR/agent-surfaces.md +2 -2
  1359. package/docs/content/locales/ko-KR/agent-teams.md +3 -3
  1360. package/docs/content/locales/ko-KR/agent-web-surfaces.md +2 -2
  1361. package/docs/content/locales/ko-KR/authentication.md +2 -2
  1362. package/docs/content/locales/ko-KR/automations.md +3 -3
  1363. package/docs/content/locales/ko-KR/blueprint-installer.md +1 -1
  1364. package/docs/content/locales/ko-KR/cli-adapters.md +1 -1
  1365. package/docs/content/locales/ko-KR/client.md +3 -3
  1366. package/docs/content/locales/ko-KR/cloneable-saas.md +3 -3
  1367. package/docs/content/locales/ko-KR/code-agents-ui.md +3 -3
  1368. package/docs/content/locales/ko-KR/components.md +2 -2
  1369. package/docs/content/locales/ko-KR/context-awareness.md +3 -3
  1370. package/docs/content/locales/ko-KR/creating-templates.md +16 -16
  1371. package/docs/content/locales/ko-KR/cross-app-sso.md +2 -2
  1372. package/docs/content/locales/ko-KR/database.md +2 -2
  1373. package/docs/content/locales/ko-KR/deployment.md +15 -16
  1374. package/docs/content/locales/ko-KR/dispatch.md +2 -2
  1375. package/docs/content/locales/ko-KR/drop-in-agent.md +2 -2
  1376. package/docs/content/locales/ko-KR/durable-resume.md +1 -1
  1377. package/docs/content/locales/ko-KR/embedding-sdk.md +2 -2
  1378. package/docs/content/locales/ko-KR/evals.md +2 -2
  1379. package/docs/content/locales/ko-KR/extensions.md +2 -2
  1380. package/docs/content/locales/ko-KR/external-agents.md +2 -2
  1381. package/docs/content/locales/ko-KR/faq.md +2 -2
  1382. package/docs/content/locales/ko-KR/file-uploads.md +1 -1
  1383. package/docs/content/locales/ko-KR/frames.md +2 -2
  1384. package/docs/content/locales/ko-KR/getting-started.md +5 -5
  1385. package/docs/content/locales/ko-KR/harness-agents.md +2 -2
  1386. package/docs/content/locales/ko-KR/human-approval.md +2 -2
  1387. package/docs/content/locales/ko-KR/internationalization.md +2 -0
  1388. package/docs/content/locales/ko-KR/key-concepts.md +7 -7
  1389. package/docs/content/locales/ko-KR/local-file-mode.md +8 -8
  1390. package/docs/content/locales/ko-KR/mcp-apps.md +3 -3
  1391. package/docs/content/locales/ko-KR/mcp-clients.md +3 -3
  1392. package/docs/content/locales/ko-KR/mcp-protocol.md +2 -2
  1393. package/docs/content/locales/ko-KR/messaging.md +2 -2
  1394. package/docs/content/locales/ko-KR/migration-workbench.md +1 -1
  1395. package/docs/content/locales/ko-KR/multi-app-workspace.md +8 -8
  1396. package/docs/content/locales/ko-KR/multi-tenancy.md +2 -2
  1397. package/docs/content/locales/ko-KR/native-chat-ui.md +2 -2
  1398. package/docs/content/locales/ko-KR/notifications.md +2 -2
  1399. package/docs/content/locales/ko-KR/observability.md +3 -3
  1400. package/docs/content/locales/ko-KR/observational-memory.md +2 -2
  1401. package/docs/content/locales/ko-KR/onboarding.md +2 -2
  1402. package/docs/content/locales/ko-KR/plan-plugin.md +2 -2
  1403. package/docs/content/locales/ko-KR/pr-visual-recap.md +2 -2
  1404. package/docs/content/locales/ko-KR/processors.md +1 -1
  1405. package/docs/content/locales/ko-KR/progress.md +1 -1
  1406. package/docs/content/locales/ko-KR/pure-agent-apps.md +1 -1
  1407. package/docs/content/locales/ko-KR/real-time-collaboration.md +7 -3
  1408. package/docs/content/locales/ko-KR/recurring-jobs.md +1 -1
  1409. package/docs/content/locales/ko-KR/routing.md +1 -1
  1410. package/docs/content/locales/ko-KR/sandbox-adapters.md +6 -6
  1411. package/docs/content/locales/ko-KR/security.md +2 -2
  1412. package/docs/content/locales/ko-KR/server.md +22 -10
  1413. package/docs/content/locales/ko-KR/sharing.md +1 -1
  1414. package/docs/content/locales/ko-KR/skills-guide.md +3 -3
  1415. package/docs/content/locales/ko-KR/template-analytics.md +1 -1
  1416. package/docs/content/locales/ko-KR/template-assets.md +2 -2
  1417. package/docs/content/locales/ko-KR/template-brain.md +1 -1
  1418. package/docs/content/locales/ko-KR/template-calendar.md +2 -2
  1419. package/docs/content/locales/ko-KR/template-chat.md +7 -7
  1420. package/docs/content/locales/ko-KR/template-clips.md +3 -3
  1421. package/docs/content/locales/ko-KR/template-content.md +2 -2
  1422. package/docs/content/locales/ko-KR/template-design.md +2 -2
  1423. package/docs/content/locales/ko-KR/template-dispatch.md +1 -1
  1424. package/docs/content/locales/ko-KR/template-forms.md +2 -2
  1425. package/docs/content/locales/ko-KR/template-mail.md +2 -2
  1426. package/docs/content/locales/ko-KR/template-plan.md +2 -2
  1427. package/docs/content/locales/ko-KR/template-slides.md +3 -3
  1428. package/docs/content/locales/ko-KR/template-videos.md +1 -1
  1429. package/docs/content/locales/ko-KR/tracking.md +1 -1
  1430. package/docs/content/locales/ko-KR/using-your-agent.md +1 -1
  1431. package/docs/content/locales/ko-KR/voice-input.md +1 -1
  1432. package/docs/content/locales/ko-KR/what-is-agent-native.md +5 -5
  1433. package/docs/content/locales/ko-KR/workspace-connections.md +2 -2
  1434. package/docs/content/locales/ko-KR/workspace-management.md +6 -6
  1435. package/docs/content/locales/ko-KR/workspace.md +4 -4
  1436. package/docs/content/locales/ko-KR/writing-agent-instructions.md +1 -1
  1437. package/docs/content/locales/pt-BR/a2a-protocol.md +3 -3
  1438. package/docs/content/locales/pt-BR/actions.md +3 -3
  1439. package/docs/content/locales/pt-BR/agent-mentions.md +2 -2
  1440. package/docs/content/locales/pt-BR/agent-surfaces.md +2 -2
  1441. package/docs/content/locales/pt-BR/agent-teams.md +3 -3
  1442. package/docs/content/locales/pt-BR/agent-web-surfaces.md +2 -2
  1443. package/docs/content/locales/pt-BR/authentication.md +2 -2
  1444. package/docs/content/locales/pt-BR/automations.md +3 -3
  1445. package/docs/content/locales/pt-BR/blueprint-installer.md +1 -1
  1446. package/docs/content/locales/pt-BR/cli-adapters.md +1 -1
  1447. package/docs/content/locales/pt-BR/client.md +3 -3
  1448. package/docs/content/locales/pt-BR/cloneable-saas.md +3 -3
  1449. package/docs/content/locales/pt-BR/code-agents-ui.md +3 -3
  1450. package/docs/content/locales/pt-BR/components.md +2 -2
  1451. package/docs/content/locales/pt-BR/context-awareness.md +3 -3
  1452. package/docs/content/locales/pt-BR/creating-templates.md +16 -16
  1453. package/docs/content/locales/pt-BR/cross-app-sso.md +2 -2
  1454. package/docs/content/locales/pt-BR/database.md +2 -2
  1455. package/docs/content/locales/pt-BR/deployment.md +15 -16
  1456. package/docs/content/locales/pt-BR/dispatch.md +2 -2
  1457. package/docs/content/locales/pt-BR/drop-in-agent.md +2 -2
  1458. package/docs/content/locales/pt-BR/durable-resume.md +1 -1
  1459. package/docs/content/locales/pt-BR/embedding-sdk.md +2 -2
  1460. package/docs/content/locales/pt-BR/evals.md +2 -2
  1461. package/docs/content/locales/pt-BR/extensions.md +2 -2
  1462. package/docs/content/locales/pt-BR/external-agents.md +2 -2
  1463. package/docs/content/locales/pt-BR/faq.md +2 -2
  1464. package/docs/content/locales/pt-BR/file-uploads.md +1 -1
  1465. package/docs/content/locales/pt-BR/frames.md +2 -2
  1466. package/docs/content/locales/pt-BR/getting-started.md +5 -5
  1467. package/docs/content/locales/pt-BR/harness-agents.md +2 -2
  1468. package/docs/content/locales/pt-BR/human-approval.md +2 -2
  1469. package/docs/content/locales/pt-BR/internationalization.md +2 -0
  1470. package/docs/content/locales/pt-BR/key-concepts.md +7 -7
  1471. package/docs/content/locales/pt-BR/local-file-mode.md +8 -8
  1472. package/docs/content/locales/pt-BR/mcp-apps.md +3 -3
  1473. package/docs/content/locales/pt-BR/mcp-clients.md +3 -3
  1474. package/docs/content/locales/pt-BR/mcp-protocol.md +2 -2
  1475. package/docs/content/locales/pt-BR/messaging.md +2 -2
  1476. package/docs/content/locales/pt-BR/migration-workbench.md +1 -1
  1477. package/docs/content/locales/pt-BR/multi-app-workspace.md +8 -8
  1478. package/docs/content/locales/pt-BR/multi-tenancy.md +2 -2
  1479. package/docs/content/locales/pt-BR/native-chat-ui.md +2 -2
  1480. package/docs/content/locales/pt-BR/notifications.md +2 -2
  1481. package/docs/content/locales/pt-BR/observability.md +3 -3
  1482. package/docs/content/locales/pt-BR/observational-memory.md +2 -2
  1483. package/docs/content/locales/pt-BR/onboarding.md +2 -2
  1484. package/docs/content/locales/pt-BR/plan-plugin.md +2 -2
  1485. package/docs/content/locales/pt-BR/pr-visual-recap.md +2 -2
  1486. package/docs/content/locales/pt-BR/processors.md +1 -1
  1487. package/docs/content/locales/pt-BR/progress.md +1 -1
  1488. package/docs/content/locales/pt-BR/pure-agent-apps.md +1 -1
  1489. package/docs/content/locales/pt-BR/real-time-collaboration.md +7 -3
  1490. package/docs/content/locales/pt-BR/recurring-jobs.md +1 -1
  1491. package/docs/content/locales/pt-BR/routing.md +1 -1
  1492. package/docs/content/locales/pt-BR/sandbox-adapters.md +6 -6
  1493. package/docs/content/locales/pt-BR/security.md +2 -2
  1494. package/docs/content/locales/pt-BR/server.md +22 -10
  1495. package/docs/content/locales/pt-BR/sharing.md +1 -1
  1496. package/docs/content/locales/pt-BR/skills-guide.md +3 -3
  1497. package/docs/content/locales/pt-BR/template-analytics.md +1 -1
  1498. package/docs/content/locales/pt-BR/template-assets.md +1 -1
  1499. package/docs/content/locales/pt-BR/template-brain.md +1 -1
  1500. package/docs/content/locales/pt-BR/template-calendar.md +2 -2
  1501. package/docs/content/locales/pt-BR/template-chat.md +7 -7
  1502. package/docs/content/locales/pt-BR/template-clips.md +3 -3
  1503. package/docs/content/locales/pt-BR/template-content.md +2 -2
  1504. package/docs/content/locales/pt-BR/template-design.md +1 -1
  1505. package/docs/content/locales/pt-BR/template-dispatch.md +1 -1
  1506. package/docs/content/locales/pt-BR/template-forms.md +2 -2
  1507. package/docs/content/locales/pt-BR/template-mail.md +2 -2
  1508. package/docs/content/locales/pt-BR/template-plan.md +2 -2
  1509. package/docs/content/locales/pt-BR/template-slides.md +3 -3
  1510. package/docs/content/locales/pt-BR/template-videos.md +1 -1
  1511. package/docs/content/locales/pt-BR/tracking.md +1 -1
  1512. package/docs/content/locales/pt-BR/using-your-agent.md +1 -1
  1513. package/docs/content/locales/pt-BR/voice-input.md +1 -1
  1514. package/docs/content/locales/pt-BR/what-is-agent-native.md +5 -5
  1515. package/docs/content/locales/pt-BR/workspace-connections.md +2 -2
  1516. package/docs/content/locales/pt-BR/workspace-management.md +6 -6
  1517. package/docs/content/locales/pt-BR/workspace.md +4 -4
  1518. package/docs/content/locales/pt-BR/writing-agent-instructions.md +1 -1
  1519. package/docs/content/locales/zh-CN/a2a-protocol.md +3 -3
  1520. package/docs/content/locales/zh-CN/actions.md +3 -3
  1521. package/docs/content/locales/zh-CN/agent-mentions.md +2 -2
  1522. package/docs/content/locales/zh-CN/agent-surfaces.md +2 -2
  1523. package/docs/content/locales/zh-CN/agent-teams.md +3 -3
  1524. package/docs/content/locales/zh-CN/agent-web-surfaces.md +2 -2
  1525. package/docs/content/locales/zh-CN/authentication.md +2 -2
  1526. package/docs/content/locales/zh-CN/automations.md +3 -3
  1527. package/docs/content/locales/zh-CN/blueprint-installer.md +1 -1
  1528. package/docs/content/locales/zh-CN/cli-adapters.md +1 -1
  1529. package/docs/content/locales/zh-CN/client.md +3 -3
  1530. package/docs/content/locales/zh-CN/cloneable-saas.md +3 -3
  1531. package/docs/content/locales/zh-CN/code-agents-ui.md +3 -3
  1532. package/docs/content/locales/zh-CN/components.md +2 -2
  1533. package/docs/content/locales/zh-CN/context-awareness.md +3 -3
  1534. package/docs/content/locales/zh-CN/creating-templates.md +16 -16
  1535. package/docs/content/locales/zh-CN/cross-app-sso.md +2 -2
  1536. package/docs/content/locales/zh-CN/database.md +2 -2
  1537. package/docs/content/locales/zh-CN/deployment.md +15 -16
  1538. package/docs/content/locales/zh-CN/dispatch.md +2 -2
  1539. package/docs/content/locales/zh-CN/drop-in-agent.md +2 -2
  1540. package/docs/content/locales/zh-CN/durable-resume.md +1 -1
  1541. package/docs/content/locales/zh-CN/embedding-sdk.md +2 -2
  1542. package/docs/content/locales/zh-CN/evals.md +2 -2
  1543. package/docs/content/locales/zh-CN/extensions.md +2 -2
  1544. package/docs/content/locales/zh-CN/external-agents.md +2 -2
  1545. package/docs/content/locales/zh-CN/faq.md +2 -2
  1546. package/docs/content/locales/zh-CN/file-uploads.md +1 -1
  1547. package/docs/content/locales/zh-CN/frames.md +2 -2
  1548. package/docs/content/locales/zh-CN/getting-started.md +5 -5
  1549. package/docs/content/locales/zh-CN/harness-agents.md +2 -2
  1550. package/docs/content/locales/zh-CN/human-approval.md +2 -2
  1551. package/docs/content/locales/zh-CN/internationalization.md +2 -0
  1552. package/docs/content/locales/zh-CN/key-concepts.md +7 -7
  1553. package/docs/content/locales/zh-CN/local-file-mode.md +8 -8
  1554. package/docs/content/locales/zh-CN/mcp-apps.md +3 -3
  1555. package/docs/content/locales/zh-CN/mcp-clients.md +3 -3
  1556. package/docs/content/locales/zh-CN/mcp-protocol.md +2 -2
  1557. package/docs/content/locales/zh-CN/messaging.md +2 -2
  1558. package/docs/content/locales/zh-CN/migration-workbench.md +1 -1
  1559. package/docs/content/locales/zh-CN/multi-app-workspace.md +8 -8
  1560. package/docs/content/locales/zh-CN/multi-tenancy.md +2 -2
  1561. package/docs/content/locales/zh-CN/native-chat-ui.md +2 -2
  1562. package/docs/content/locales/zh-CN/notifications.md +2 -2
  1563. package/docs/content/locales/zh-CN/observability.md +3 -3
  1564. package/docs/content/locales/zh-CN/observational-memory.md +2 -2
  1565. package/docs/content/locales/zh-CN/onboarding.md +2 -2
  1566. package/docs/content/locales/zh-CN/plan-plugin.md +2 -2
  1567. package/docs/content/locales/zh-CN/pr-visual-recap.md +2 -2
  1568. package/docs/content/locales/zh-CN/processors.md +1 -1
  1569. package/docs/content/locales/zh-CN/progress.md +1 -1
  1570. package/docs/content/locales/zh-CN/pure-agent-apps.md +1 -1
  1571. package/docs/content/locales/zh-CN/real-time-collaboration.md +7 -3
  1572. package/docs/content/locales/zh-CN/recurring-jobs.md +1 -1
  1573. package/docs/content/locales/zh-CN/routing.md +1 -1
  1574. package/docs/content/locales/zh-CN/sandbox-adapters.md +6 -6
  1575. package/docs/content/locales/zh-CN/security.md +2 -2
  1576. package/docs/content/locales/zh-CN/server.md +22 -10
  1577. package/docs/content/locales/zh-CN/sharing.md +1 -1
  1578. package/docs/content/locales/zh-CN/skills-guide.md +3 -3
  1579. package/docs/content/locales/zh-CN/template-analytics.md +1 -1
  1580. package/docs/content/locales/zh-CN/template-assets.md +2 -2
  1581. package/docs/content/locales/zh-CN/template-brain.md +1 -1
  1582. package/docs/content/locales/zh-CN/template-calendar.md +2 -2
  1583. package/docs/content/locales/zh-CN/template-chat.md +7 -7
  1584. package/docs/content/locales/zh-CN/template-clips.md +3 -3
  1585. package/docs/content/locales/zh-CN/template-content.md +2 -2
  1586. package/docs/content/locales/zh-CN/template-design.md +2 -2
  1587. package/docs/content/locales/zh-CN/template-dispatch.md +1 -1
  1588. package/docs/content/locales/zh-CN/template-forms.md +2 -2
  1589. package/docs/content/locales/zh-CN/template-mail.md +2 -2
  1590. package/docs/content/locales/zh-CN/template-plan.md +2 -2
  1591. package/docs/content/locales/zh-CN/template-slides.md +3 -3
  1592. package/docs/content/locales/zh-CN/template-videos.md +1 -1
  1593. package/docs/content/locales/zh-CN/tracking.md +1 -1
  1594. package/docs/content/locales/zh-CN/using-your-agent.md +1 -1
  1595. package/docs/content/locales/zh-CN/voice-input.md +1 -1
  1596. package/docs/content/locales/zh-CN/what-is-agent-native.md +5 -5
  1597. package/docs/content/locales/zh-CN/workspace-connections.md +2 -2
  1598. package/docs/content/locales/zh-CN/workspace-management.md +6 -6
  1599. package/docs/content/locales/zh-CN/workspace.md +4 -4
  1600. package/docs/content/locales/zh-CN/writing-agent-instructions.md +1 -1
  1601. package/docs/content/real-time-collaboration.md +5 -1
  1602. package/package.json +1 -1
  1603. package/src/templates/default/app/i18n/ar-SA.ts +155 -0
  1604. package/src/templates/default/app/i18n/de-DE.ts +155 -0
  1605. package/src/templates/default/app/i18n/en-US.ts +155 -0
  1606. package/src/templates/default/app/i18n/es-ES.ts +155 -0
  1607. package/src/templates/default/app/i18n/fr-FR.ts +155 -0
  1608. package/src/templates/default/app/i18n/hi-IN.ts +155 -0
  1609. package/src/templates/default/app/i18n/ja-JP.ts +155 -0
  1610. package/src/templates/default/app/i18n/ko-KR.ts +155 -0
  1611. package/src/templates/default/app/i18n/pt-BR.ts +155 -0
  1612. package/src/templates/default/app/i18n/zh-CN.ts +155 -0
  1613. package/src/templates/default/vite.config.ts +10 -5
@@ -1 +1 @@
1
- {"version":3,"file":"ShareDialog.js","sourceRoot":"","sources":["../../../src/client/sharing/ShareDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EACL,KAAK,EACL,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OA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AAS,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,EAAoC;IAC9D,OAAO,CACL,oCAEE,SAAS,EAAC,gIAAgI,YAEzI,GAAG,CAAC,CAAC,CAAC,CACL,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,GAAI,CAC9C,CAAC,CAAC,CAAC,CACF,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,CAC5D,GACI,CACR,CAAC;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,QAAiB;IAC3C,IAAI,QAAQ;QAAE,OAAO,QAAQ,CAAC;IAC9B,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,OAAO,SAAS,CAAC;IACpD,OAAO,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;AAC9B,CAAC;AAED,SAAS,GAAG,CAAC,CAAS;IACpB,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAChD,CAAC","sourcesContent":["import { useEffect, useState, type ReactNode } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport {\n IconX,\n IconTrash,\n IconLock,\n IconBuilding,\n IconWorld,\n IconCheck,\n IconCopy,\n IconLink,\n IconMail,\n IconCode,\n IconChevronDown,\n} from \"@tabler/icons-react\";\nimport * as Select from \"@radix-ui/react-select\";\nimport { writeClipboardText } from \"../clipboard.js\";\nimport { useActionQuery, useActionMutation } from \"../use-action.js\";\nimport { cn } from \"../utils.js\";\nimport { agentNativePath } from \"../api-path.js\";\n\nexport interface ShareDialogProps {\n open: boolean;\n onClose: () => void;\n resourceType: string;\n resourceId: string;\n resourceTitle?: string;\n /**\n * When provided, enables the \"Link\" tab with a copy-link field.\n * Pass the user-facing share URL (e.g. `https://…/share/<id>`).\n */\n shareUrl?: string;\n /**\n * When provided, enables the \"Embed\" tab with a default iframe snippet.\n * For richer per-resource controls (autoplay, start time, responsive /\n * fixed size), pass `embedTabContent` instead (or in addition) — it\n * replaces the default embed body.\n */\n embedUrl?: string;\n /** Advanced: fully custom Embed tab body. Requires `embedUrl` to enable the tab. */\n embedTabContent?: ReactNode;\n /** Extra content appended to the bottom of the Link tab (e.g. download buttons). */\n linkTabExtras?: ReactNode;\n}\n\ntype Visibility = \"private\" | \"org\" | \"public\";\ntype Role = \"viewer\" | \"editor\" | \"admin\";\n\ninterface Share {\n id: string;\n principalType: \"user\" | \"org\";\n principalId: string;\n role: Role;\n}\n\ninterface SharesResponse {\n ownerEmail: string | null;\n orgId: string | null;\n visibility: Visibility | null;\n role?: \"owner\" | Role;\n shares: Share[];\n}\n\ninterface OrgMember {\n email: string;\n name?: string | null;\n}\n\nfunction useOrgMembers(): OrgMember[] {\n const [members, setMembers] = useState<OrgMember[]>([]);\n useEffect(() => {\n let cancelled = false;\n fetch(agentNativePath(\"/_agent-native/org/members\"))\n .then((r) => (r.ok ? r.json() : null))\n .then((data) => {\n if (cancelled || !data) return;\n const list = Array.isArray(data?.members) ? data.members : [];\n setMembers(\n list\n .map((m: any) => ({\n email: typeof m?.email === \"string\" ? m.email : \"\",\n name: typeof m?.name === \"string\" ? m.name : null,\n }))\n .filter((m: OrgMember) => m.email),\n );\n })\n .catch(() => {});\n return () => {\n cancelled = true;\n };\n }, []);\n return members;\n}\n\nfunction displayName(email: string, members: OrgMember[]): string {\n const match = members.find((m) => m.email === email);\n if (match?.name && match.name.trim()) return match.name;\n return email;\n}\n\nconst BUTTON_BASE =\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\";\nconst BUTTON_OUTLINE_SM = cn(\n BUTTON_BASE,\n \"h-9 px-3 border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n);\nconst BUTTON_PRIMARY_SM = cn(\n BUTTON_BASE,\n \"h-9 px-4 bg-primary text-primary-foreground hover:bg-primary/90\",\n);\nconst BUTTON_GHOST_ICON = cn(\n BUTTON_BASE,\n \"h-8 w-8 p-0 text-muted-foreground hover:bg-accent hover:text-accent-foreground\",\n);\n\nconst VIS_META: Record<\n Visibility,\n { label: string; description: string; Icon: typeof IconLock }\n> = {\n private: {\n label: \"Private\",\n description: \"Only people with access can view\",\n Icon: IconLock,\n },\n org: {\n label: \"Organization\",\n description: \"Anyone in your organization can view\",\n Icon: IconBuilding,\n },\n public: {\n label: \"Public\",\n description: \"Anyone signed in with the link can view\",\n Icon: IconWorld,\n },\n};\n\nconst ROLE_OPTIONS: Array<{ value: Role; label: string; description: string }> =\n [\n { value: \"viewer\", label: \"Viewer\", description: \"Can view\" },\n { value: \"editor\", label: \"Editor\", description: \"Can edit\" },\n {\n value: \"admin\",\n label: \"Admin\",\n description: \"Can edit and manage access\",\n },\n ];\n\n/**\n * Framework share dialog. Drop into any template via\n * `<ShareDialog open onClose resourceType resourceId />`. Passing\n * `shareUrl` lights up a Link tab with a copy field; passing `embedUrl`\n * lights up an Embed tab. With neither prop, renders a single Invite +\n * general-access panel (Google-Docs-lite).\n */\nexport function ShareDialog(props: ShareDialogProps) {\n const {\n open,\n onClose,\n resourceType,\n resourceId,\n resourceTitle,\n shareUrl,\n embedUrl,\n embedTabContent,\n linkTabExtras,\n } = props;\n\n const sharesQuery = useActionQuery<SharesResponse>(\"list-resource-shares\", {\n resourceType,\n resourceId,\n });\n const orgMembers = useOrgMembers();\n\n const hasLinkTab = Boolean(shareUrl);\n const hasEmbedTab = Boolean(embedUrl);\n const tabsEnabled = hasLinkTab || hasEmbedTab;\n\n const [tab, setTab] = useState<\"link\" | \"invite\" | \"embed\">(\n hasLinkTab ? \"link\" : \"invite\",\n );\n\n useEffect(() => {\n if (!open) return;\n setTab(hasLinkTab ? \"link\" : \"invite\");\n }, [open, hasLinkTab]);\n\n useEffect(() => {\n if (!open) return;\n const onKey = (e: KeyboardEvent) => {\n if (e.key === \"Escape\") onClose();\n };\n window.addEventListener(\"keydown\", onKey);\n return () => window.removeEventListener(\"keydown\", onKey);\n }, [open, onClose]);\n\n if (!open) return null;\n\n const titleText = resourceTitle\n ? `Share \"${resourceTitle}\"`\n : `Share ${resourceType}`;\n\n return createPortal(\n <div\n className=\"fixed inset-0 z-[2000] flex items-start justify-center bg-black/40 p-4 sm:items-center\"\n onClick={onClose}\n >\n <div\n role=\"dialog\"\n aria-modal=\"true\"\n aria-label={titleText}\n className=\"w-full max-w-lg rounded-xl border border-border bg-popover text-popover-foreground shadow-2xl outline-none\"\n onClick={(e) => e.stopPropagation()}\n >\n <div className=\"flex items-start justify-between gap-3 px-5 pt-4 pb-3\">\n <div className=\"min-w-0 flex-1\">\n <div className=\"truncate text-base font-semibold\" title={titleText}>\n {titleText}\n </div>\n {sharesQuery.data?.ownerEmail ? (\n <div className=\"mt-0.5 truncate text-xs text-muted-foreground\">\n Owner: {displayName(sharesQuery.data.ownerEmail, orgMembers)}\n </div>\n ) : null}\n </div>\n <button\n type=\"button\"\n aria-label=\"Close\"\n onClick={onClose}\n className={BUTTON_GHOST_ICON}\n >\n <IconX size={16} />\n </button>\n </div>\n\n {tabsEnabled ? (\n <div\n role=\"tablist\"\n aria-label=\"Share options\"\n className=\"mx-5 mt-1 flex gap-1 border-b border-border\"\n >\n {hasLinkTab ? (\n <TabTrigger\n active={tab === \"link\"}\n onClick={() => setTab(\"link\")}\n icon={<IconLink size={14} strokeWidth={1.75} />}\n label=\"Link\"\n />\n ) : null}\n <TabTrigger\n active={tab === \"invite\"}\n onClick={() => setTab(\"invite\")}\n icon={<IconMail size={14} strokeWidth={1.75} />}\n label=\"Invite\"\n />\n {hasEmbedTab ? (\n <TabTrigger\n active={tab === \"embed\"}\n onClick={() => setTab(\"embed\")}\n icon={<IconCode size={14} strokeWidth={1.75} />}\n label=\"Embed\"\n />\n ) : null}\n </div>\n ) : null}\n\n <div className=\"px-5 py-4\">\n {tabsEnabled && tab === \"link\" && hasLinkTab ? (\n <LinkTab\n resourceType={resourceType}\n resourceId={resourceId}\n shareUrl={shareUrl!}\n sharesQuery={sharesQuery}\n extras={linkTabExtras}\n />\n ) : null}\n {!tabsEnabled || tab === \"invite\" ? (\n <InviteTab\n resourceType={resourceType}\n resourceId={resourceId}\n shareUrl={shareUrl}\n sharesQuery={sharesQuery}\n showVisibility={!tabsEnabled}\n orgMembers={orgMembers}\n />\n ) : null}\n {tabsEnabled && tab === \"embed\" && hasEmbedTab\n ? (embedTabContent ?? <DefaultEmbedBody embedUrl={embedUrl!} />)\n : null}\n </div>\n\n <div className=\"flex justify-end border-t border-border px-5 py-3\">\n <button type=\"button\" onClick={onClose} className={BUTTON_PRIMARY_SM}>\n Done\n </button>\n </div>\n </div>\n </div>,\n document.body,\n );\n}\n\n// ---------------------------------------------------------------------------\n// Tabs\n// ---------------------------------------------------------------------------\n\nfunction TabTrigger(props: {\n active: boolean;\n onClick: () => void;\n icon: ReactNode;\n label: string;\n}) {\n return (\n <button\n type=\"button\"\n role=\"tab\"\n aria-selected={props.active}\n onClick={props.onClick}\n className={cn(\n \"inline-flex items-center gap-1.5 border-b-2 px-3 py-2 text-sm font-medium transition-colors\",\n props.active\n ? \"border-foreground text-foreground\"\n : \"border-transparent text-muted-foreground hover:text-foreground\",\n )}\n >\n {props.icon}\n {props.label}\n </button>\n );\n}\n\n// ---------------------------------------------------------------------------\n// Link tab — visibility picker + copy-link field + optional extras\n// ---------------------------------------------------------------------------\n\nfunction LinkTab(props: {\n resourceType: string;\n resourceId: string;\n shareUrl: string;\n sharesQuery: ReturnType<typeof useActionQuery<SharesResponse>>;\n extras?: ReactNode;\n}) {\n const { resourceType, resourceId, shareUrl, sharesQuery, extras } = props;\n\n const setVisibility = useActionMutation(\"set-resource-visibility\");\n const data = sharesQuery.data;\n const visibility: Visibility =\n (data?.visibility as Visibility | null) ?? \"private\";\n const canManage = data?.role === \"owner\" || data?.role === \"admin\";\n const meta = VIS_META[visibility];\n\n const handleVisibility = (next: Visibility) => {\n if (next === visibility) return;\n setVisibility.mutate(\n { resourceType, resourceId, visibility: next } as any,\n { onSuccess: () => sharesQuery.refetch() },\n );\n };\n\n return (\n <div className=\"space-y-4\">\n <div>\n <div className=\"mb-2 text-sm font-semibold\">General access</div>\n <div className=\"flex items-center gap-3\">\n <span\n aria-hidden\n className=\"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground\"\n >\n <meta.Icon size={16} strokeWidth={1.75} />\n </span>\n <div className=\"min-w-0 flex-1\">\n <VisibilitySelect\n value={visibility}\n onChange={handleVisibility}\n disabled={!canManage}\n />\n <div className=\"mt-0.5 text-xs text-muted-foreground\">\n {meta.description}\n </div>\n </div>\n </div>\n </div>\n\n <CopyField label=\"Share link\" value={shareUrl} />\n\n {extras}\n </div>\n );\n}\n\n// ---------------------------------------------------------------------------\n// Invite tab — invite-by-email + shares list + (optional) visibility\n// ---------------------------------------------------------------------------\n\nfunction InviteTab(props: {\n resourceType: string;\n resourceId: string;\n shareUrl?: string;\n sharesQuery: ReturnType<typeof useActionQuery<SharesResponse>>;\n showVisibility: boolean;\n orgMembers: OrgMember[];\n}) {\n const {\n resourceType,\n resourceId,\n shareUrl,\n sharesQuery,\n showVisibility,\n orgMembers,\n } = props;\n\n const share = useActionMutation(\"share-resource\");\n const unshare = useActionMutation(\"unshare-resource\");\n const setVisibility = useActionMutation(\"set-resource-visibility\");\n\n const [email, setEmail] = useState(\"\");\n const [role, setRole] = useState<Role>(\"viewer\");\n const [notifyPeople, setNotifyPeople] = useState(true);\n const hasInviteEmail = email.trim().length > 0;\n\n const data = sharesQuery.data;\n const shares = data?.shares ?? [];\n const visibility: Visibility =\n (data?.visibility as Visibility | null) ?? \"private\";\n const canManage = data?.role === \"owner\" || data?.role === \"admin\";\n const meta = VIS_META[visibility];\n\n const handleAdd = () => {\n const trimmed = email.trim();\n if (!trimmed) return;\n share.mutate(\n {\n resourceType,\n resourceId,\n principalType: \"user\",\n principalId: trimmed,\n role,\n notify: notifyPeople,\n resourceUrl: getNotificationUrl(shareUrl),\n } as any,\n {\n onSuccess: () => {\n setEmail(\"\");\n sharesQuery.refetch();\n },\n },\n );\n };\n\n const handleRemove = (s: Share) => {\n unshare.mutate(\n {\n resourceType,\n resourceId,\n principalType: s.principalType,\n principalId: s.principalId,\n } as any,\n { onSuccess: () => sharesQuery.refetch() },\n );\n };\n\n const handleVisibility = (next: Visibility) => {\n if (next === visibility) return;\n setVisibility.mutate(\n { resourceType, resourceId, visibility: next } as any,\n { onSuccess: () => sharesQuery.refetch() },\n );\n };\n\n return (\n <div className=\"space-y-4\">\n {canManage ? (\n <div className=\"space-y-2\">\n <div className=\"flex items-stretch gap-2\">\n <input\n type=\"email\"\n placeholder=\"Add people by email\"\n value={email}\n onChange={(e) => setEmail(e.target.value)}\n onKeyDown={(e) => {\n if (e.key === \"Enter\") handleAdd();\n }}\n autoComplete=\"off\"\n className=\"flex-1 min-w-0 h-9 rounded-md border border-input bg-background px-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background\"\n />\n <RoleSelect value={role} onChange={setRole} />\n </div>\n {hasInviteEmail ? (\n <label className=\"inline-flex items-center gap-2 text-xs text-muted-foreground\">\n <input\n type=\"checkbox\"\n checked={notifyPeople}\n onChange={(e) => setNotifyPeople(e.target.checked)}\n className=\"h-4 w-4 rounded border-input accent-primary\"\n />\n Notify people\n </label>\n ) : null}\n </div>\n ) : null}\n\n <div>\n <div className=\"mb-2 text-sm font-semibold\">People with access</div>\n <ul className=\"flex flex-col gap-1 list-none p-0 m-0\">\n {data?.ownerEmail ? (\n <li className=\"flex items-center gap-3 px-1 py-1.5 text-sm\">\n <Avatar label={displayName(data.ownerEmail, orgMembers)} />\n <span className=\"flex-1 min-w-0 truncate\">\n {displayName(data.ownerEmail, orgMembers)}\n </span>\n <span className=\"text-xs text-muted-foreground\">Owner</span>\n </li>\n ) : null}\n {shares.map((s) => (\n <li\n key={`${s.principalType}:${s.principalId}`}\n className=\"flex items-center gap-3 px-1 py-1.5 text-sm\"\n >\n <Avatar\n label={\n s.principalType === \"org\"\n ? s.principalId\n : displayName(s.principalId, orgMembers)\n }\n org={s.principalType === \"org\"}\n />\n <span className=\"flex-1 min-w-0 truncate\">\n {s.principalType === \"org\"\n ? s.principalId\n : displayName(s.principalId, orgMembers)}\n </span>\n <span className=\"text-xs text-muted-foreground\">\n {cap(s.role)}\n </span>\n {canManage ? (\n <button\n type=\"button\"\n aria-label=\"Remove\"\n onClick={() => handleRemove(s)}\n className={BUTTON_GHOST_ICON}\n >\n <IconTrash size={14} />\n </button>\n ) : null}\n </li>\n ))}\n {!shares.length && !data?.ownerEmail ? (\n <li className=\"px-1 py-1.5 text-sm text-muted-foreground\">\n No one has access yet.\n </li>\n ) : null}\n </ul>\n </div>\n\n {showVisibility ? (\n <div>\n <div className=\"mb-2 text-sm font-semibold\">General access</div>\n <div className=\"flex items-center gap-3\">\n <span\n aria-hidden\n className=\"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground\"\n >\n <meta.Icon size={16} strokeWidth={1.75} />\n </span>\n <div className=\"min-w-0 flex-1\">\n <VisibilitySelect\n value={visibility}\n onChange={handleVisibility}\n disabled={!canManage}\n />\n <div className=\"mt-0.5 text-xs text-muted-foreground\">\n {meta.description}\n </div>\n </div>\n </div>\n </div>\n ) : null}\n </div>\n );\n}\n\n// ---------------------------------------------------------------------------\n// Default Embed body (simple responsive iframe snippet)\n// ---------------------------------------------------------------------------\n\nfunction DefaultEmbedBody({ embedUrl }: { embedUrl: string }) {\n const code = `<div style=\"position:relative;padding-bottom:56.25%;height:0\"><iframe src=\"${embedUrl}\" frameborder=\"0\" allowfullscreen allow=\"autoplay; picture-in-picture\" style=\"position:absolute;inset:0;width:100%;height:100%\"></iframe></div>`;\n return (\n <div className=\"space-y-3\">\n <CopyField label=\"Embed URL\" value={embedUrl} />\n <CopyField label=\"Embed code\" value={code} multiline />\n </div>\n );\n}\n\n// ---------------------------------------------------------------------------\n// Primitives\n// ---------------------------------------------------------------------------\n\nfunction CopyField({\n label,\n value,\n multiline,\n}: {\n label: string;\n value: string;\n multiline?: boolean;\n}) {\n const [copied, setCopied] = useState(false);\n const copy = async () => {\n if (!(await writeClipboardText(value))) {\n setCopied(false);\n return;\n }\n setCopied(true);\n setTimeout(() => setCopied(false), 1400);\n };\n return (\n <div>\n <div className=\"mb-1 text-xs font-medium text-muted-foreground\">\n {label}\n </div>\n <div className=\"flex items-stretch gap-2\">\n {multiline ? (\n <textarea\n readOnly\n value={value}\n className=\"flex-1 h-20 rounded-md border border-input bg-background px-3 py-2 text-xs font-mono text-foreground resize-none focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n ) : (\n <input\n readOnly\n value={value}\n className=\"flex-1 min-w-0 h-9 rounded-md border border-input bg-background px-3 text-xs font-mono text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n )}\n <button\n type=\"button\"\n onClick={copy}\n aria-label=\"Copy\"\n className={cn(BUTTON_OUTLINE_SM, \"w-9 px-0\")}\n >\n {copied ? <IconCheck size={14} /> : <IconCopy size={14} />}\n </button>\n </div>\n </div>\n );\n}\n\nconst selectContentClass =\n \"z-[2100] min-w-[12rem] overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md\";\nconst selectItemClass =\n \"relative flex w-full cursor-pointer select-none items-start gap-2 rounded-sm py-2 ps-8 pe-3 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\";\n\nfunction SelectItems({\n items,\n}: {\n items: Array<{ value: string; label: string; description?: string }>;\n}) {\n return (\n <>\n {items.map((it) => (\n <Select.Item\n key={it.value}\n value={it.value}\n className={selectItemClass}\n >\n <span className=\"absolute start-2 top-2 flex h-4 w-4 items-center justify-center\">\n <Select.ItemIndicator>\n <IconCheck size={14} />\n </Select.ItemIndicator>\n </span>\n <span className=\"flex flex-col\">\n <Select.ItemText>{it.label}</Select.ItemText>\n {it.description ? (\n <span className=\"text-xs text-muted-foreground\">\n {it.description}\n </span>\n ) : null}\n </span>\n </Select.Item>\n ))}\n </>\n );\n}\n\nfunction RoleSelect(props: { value: Role; onChange: (v: Role) => void }) {\n const current =\n ROLE_OPTIONS.find((o) => o.value === props.value) ?? ROLE_OPTIONS[0];\n return (\n <Select.Root\n value={props.value}\n onValueChange={(v) => props.onChange(v as Role)}\n >\n <Select.Trigger\n aria-label=\"Role\"\n className={cn(\n BUTTON_BASE,\n \"h-9 px-3 border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n )}\n >\n <Select.Value>{current.label}</Select.Value>\n <Select.Icon>\n <IconChevronDown size={14} />\n </Select.Icon>\n </Select.Trigger>\n <Select.Portal>\n <Select.Content\n className={selectContentClass}\n position=\"popper\"\n sideOffset={4}\n >\n <Select.Viewport>\n <SelectItems items={ROLE_OPTIONS} />\n </Select.Viewport>\n </Select.Content>\n </Select.Portal>\n </Select.Root>\n );\n}\n\nfunction VisibilitySelect(props: {\n value: Visibility;\n onChange: (v: Visibility) => void;\n disabled?: boolean;\n}) {\n const current = VIS_META[props.value];\n return (\n <Select.Root\n value={props.value}\n onValueChange={(v) => props.onChange(v as Visibility)}\n disabled={props.disabled}\n >\n <Select.Trigger\n aria-label=\"General access\"\n className={cn(\n BUTTON_BASE,\n \"h-7 px-1 -ms-1 bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground\",\n )}\n >\n <Select.Value>{current.label}</Select.Value>\n <Select.Icon>\n <IconChevronDown size={14} />\n </Select.Icon>\n </Select.Trigger>\n <Select.Portal>\n <Select.Content\n className={selectContentClass}\n position=\"popper\"\n sideOffset={4}\n >\n <Select.Viewport>\n <SelectItems\n items={(Object.keys(VIS_META) as Visibility[]).map((k) => ({\n value: k,\n label: VIS_META[k].label,\n description: VIS_META[k].description,\n }))}\n />\n </Select.Viewport>\n </Select.Content>\n </Select.Portal>\n </Select.Root>\n );\n}\n\nfunction Avatar({ label, org }: { label: string; org?: boolean }) {\n return (\n <span\n aria-hidden\n className=\"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-muted text-[11px] font-semibold text-muted-foreground\"\n >\n {org ? (\n <IconBuilding size={14} strokeWidth={1.75} />\n ) : (\n (label.split(\"@\")[0]?.[0] ?? label[0] ?? \"?\").toUpperCase()\n )}\n </span>\n );\n}\n\nfunction getNotificationUrl(explicit?: string): string | undefined {\n if (explicit) return explicit;\n if (typeof window === \"undefined\") return undefined;\n return window.location.href;\n}\n\nfunction cap(s: string): string {\n return s.charAt(0).toUpperCase() + s.slice(1);\n}\n"]}
1
+ {"version":3,"file":"ShareDialog.js","sourceRoot":"","sources":["../../../src/client/sharing/ShareDialog.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAkB,MAAM,OAAO,CAAC;AAC5D,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EACL,KAAK,EACL,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,SAAS,EACT,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,QAAQ,EACR,eAAe,GAChB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,MAAM,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AACrE,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAiDlC,SAAS,aAA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AC,CAAC,KAAK;gCAC9B,WAAW,EAAE,cAAc,CAAC,CAAC,CAAC,CAAC,WAAW;6BAC3C,CAAC,CAAC,GACH,GACc,GACH,GACH,IACJ,CACf,CAAC;AACJ,CAAC;AAED,SAAS,MAAM,CAAC,EAAE,KAAK,EAAE,GAAG,EAAoC;IAC9D,OAAO,CACL,oCAEE,SAAS,EAAC,gIAAgI,YAEzI,GAAG,CAAC,CAAC,CAAC,CACL,KAAC,YAAY,IAAC,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,IAAI,GAAI,CAC9C,CAAC,CAAC,CAAC,CACF,CAAC,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,WAAW,EAAE,CAC5D,GACI,CACR,CAAC;AACJ,CAAC;AAED,SAAS,kBAAkB,CAAC,QAAiB;IAC3C,IAAI,QAAQ;QAAE,OAAO,QAAQ,CAAC;IAC9B,IAAI,OAAO,MAAM,KAAK,WAAW;QAAE,OAAO,SAAS,CAAC;IACpD,OAAO,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC;AAC9B,CAAC;AAED,SAAS,GAAG,CAAC,CAAS;IACpB,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,EAAE,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;AAChD,CAAC","sourcesContent":["import { useEffect, useState, type ReactNode } from \"react\";\nimport { createPortal } from \"react-dom\";\nimport {\n IconX,\n IconTrash,\n IconLock,\n IconBuilding,\n IconWorld,\n IconCheck,\n IconCopy,\n IconLink,\n IconMail,\n IconCode,\n IconChevronDown,\n} from \"@tabler/icons-react\";\nimport * as Select from \"@radix-ui/react-select\";\nimport { writeClipboardText } from \"../clipboard.js\";\nimport { useActionQuery, useActionMutation } from \"../use-action.js\";\nimport { cn } from \"../utils.js\";\nimport { agentNativePath } from \"../api-path.js\";\nimport { useT } from \"../i18n.js\";\n\nexport interface ShareDialogProps {\n open: boolean;\n onClose: () => void;\n resourceType: string;\n resourceId: string;\n resourceTitle?: string;\n /**\n * When provided, enables the \"Link\" tab with a copy-link field.\n * Pass the user-facing share URL (e.g. `https://…/share/<id>`).\n */\n shareUrl?: string;\n /**\n * When provided, enables the \"Embed\" tab with a default iframe snippet.\n * For richer per-resource controls (autoplay, start time, responsive /\n * fixed size), pass `embedTabContent` instead (or in addition) — it\n * replaces the default embed body.\n */\n embedUrl?: string;\n /** Advanced: fully custom Embed tab body. Requires `embedUrl` to enable the tab. */\n embedTabContent?: ReactNode;\n /** Extra content appended to the bottom of the Link tab (e.g. download buttons). */\n linkTabExtras?: ReactNode;\n}\n\ntype Visibility = \"private\" | \"org\" | \"public\";\ntype Role = \"viewer\" | \"editor\" | \"admin\";\n\ninterface Share {\n id: string;\n principalType: \"user\" | \"org\";\n principalId: string;\n role: Role;\n}\n\ninterface SharesResponse {\n ownerEmail: string | null;\n orgId: string | null;\n visibility: Visibility | null;\n role?: \"owner\" | Role;\n shares: Share[];\n}\n\ninterface OrgMember {\n email: string;\n name?: string | null;\n}\n\nfunction useOrgMembers(): OrgMember[] {\n const [members, setMembers] = useState<OrgMember[]>([]);\n useEffect(() => {\n let cancelled = false;\n fetch(agentNativePath(\"/_agent-native/org/members\"))\n .then((r) => (r.ok ? r.json() : null))\n .then((data) => {\n if (cancelled || !data) return;\n const list = Array.isArray(data?.members) ? data.members : [];\n setMembers(\n list\n .map((m: any) => ({\n email: typeof m?.email === \"string\" ? m.email : \"\",\n name: typeof m?.name === \"string\" ? m.name : null,\n }))\n .filter((m: OrgMember) => m.email),\n );\n })\n .catch(() => {});\n return () => {\n cancelled = true;\n };\n }, []);\n return members;\n}\n\nfunction displayName(email: string, members: OrgMember[]): string {\n const match = members.find((m) => m.email === email);\n if (match?.name && match.name.trim()) return match.name;\n return email;\n}\n\nconst BUTTON_BASE =\n \"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0\";\nconst BUTTON_OUTLINE_SM = cn(\n BUTTON_BASE,\n \"h-9 px-3 border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n);\nconst BUTTON_PRIMARY_SM = cn(\n BUTTON_BASE,\n \"h-9 px-4 bg-primary text-primary-foreground hover:bg-primary/90\",\n);\nconst BUTTON_GHOST_ICON = cn(\n BUTTON_BASE,\n \"h-8 w-8 p-0 text-muted-foreground hover:bg-accent hover:text-accent-foreground\",\n);\n\nconst VIS_ICONS: Record<Visibility, typeof IconLock> = {\n private: IconLock,\n org: IconBuilding,\n public: IconWorld,\n};\n\nfunction useVisibilityMeta() {\n const t = useT();\n return {\n private: {\n label: t(\"share.private\"),\n description: t(\"share.privateDescription\"),\n Icon: VIS_ICONS.private,\n },\n org: {\n label: t(\"share.organization\"),\n description: t(\"share.organizationDescription\"),\n Icon: VIS_ICONS.org,\n },\n public: {\n label: t(\"share.public\"),\n description: t(\"share.publicDescription\"),\n Icon: VIS_ICONS.public,\n },\n } satisfies Record<\n Visibility,\n { label: string; description: string; Icon: typeof IconLock }\n >;\n}\n\nfunction useRoleOptions() {\n const t = useT();\n return [\n {\n value: \"viewer\",\n label: t(\"share.viewer\"),\n description: t(\"share.viewerDescription\"),\n },\n {\n value: \"editor\",\n label: t(\"share.editor\"),\n description: t(\"share.editorDescription\"),\n },\n {\n value: \"admin\",\n label: t(\"share.admin\"),\n description: t(\"share.adminDescription\"),\n },\n ] satisfies Array<{ value: Role; label: string; description: string }>;\n}\n\n/**\n * Framework share dialog. Drop into any template via\n * `<ShareDialog open onClose resourceType resourceId />`. Passing\n * `shareUrl` lights up a Link tab with a copy field; passing `embedUrl`\n * lights up an Embed tab. With neither prop, renders a single Invite +\n * general-access panel (Google-Docs-lite).\n */\nexport function ShareDialog(props: ShareDialogProps) {\n const {\n open,\n onClose,\n resourceType,\n resourceId,\n resourceTitle,\n shareUrl,\n embedUrl,\n embedTabContent,\n linkTabExtras,\n } = props;\n const t = useT();\n\n const sharesQuery = useActionQuery<SharesResponse>(\"list-resource-shares\", {\n resourceType,\n resourceId,\n });\n const orgMembers = useOrgMembers();\n\n const hasLinkTab = Boolean(shareUrl);\n const hasEmbedTab = Boolean(embedUrl);\n const tabsEnabled = hasLinkTab || hasEmbedTab;\n\n const [tab, setTab] = useState<\"link\" | \"invite\" | \"embed\">(\n hasLinkTab ? \"link\" : \"invite\",\n );\n\n useEffect(() => {\n if (!open) return;\n setTab(hasLinkTab ? \"link\" : \"invite\");\n }, [open, hasLinkTab]);\n\n useEffect(() => {\n if (!open) return;\n const onKey = (e: KeyboardEvent) => {\n if (e.key === \"Escape\") onClose();\n };\n window.addEventListener(\"keydown\", onKey);\n return () => window.removeEventListener(\"keydown\", onKey);\n }, [open, onClose]);\n\n if (!open) return null;\n\n const titleText = resourceTitle\n ? t(\"share.titleWithResource\", { title: resourceTitle })\n : t(\"share.titleWithType\", { type: resourceType });\n\n return createPortal(\n <div\n className=\"fixed inset-0 z-[2000] flex items-start justify-center bg-black/40 p-4 sm:items-center\"\n onClick={onClose}\n >\n <div\n role=\"dialog\"\n aria-modal=\"true\"\n aria-label={titleText}\n className=\"w-full max-w-lg rounded-xl border border-border bg-popover text-popover-foreground shadow-2xl outline-none\"\n onClick={(e) => e.stopPropagation()}\n >\n <div className=\"flex items-start justify-between gap-3 px-5 pt-4 pb-3\">\n <div className=\"min-w-0 flex-1\">\n <div className=\"truncate text-base font-semibold\" title={titleText}>\n {titleText}\n </div>\n {sharesQuery.data?.ownerEmail ? (\n <div className=\"mt-0.5 truncate text-xs text-muted-foreground\">\n {t(\"share.owner\", {\n name: displayName(sharesQuery.data.ownerEmail, orgMembers),\n })}\n </div>\n ) : null}\n </div>\n <button\n type=\"button\"\n aria-label={t(\"share.close\")}\n onClick={onClose}\n className={BUTTON_GHOST_ICON}\n >\n <IconX size={16} />\n </button>\n </div>\n\n {tabsEnabled ? (\n <div\n role=\"tablist\"\n aria-label={t(\"share.shareOptions\")}\n className=\"mx-5 mt-1 flex gap-1 border-b border-border\"\n >\n {hasLinkTab ? (\n <TabTrigger\n active={tab === \"link\"}\n onClick={() => setTab(\"link\")}\n icon={<IconLink size={14} strokeWidth={1.75} />}\n label={t(\"share.link\")}\n />\n ) : null}\n <TabTrigger\n active={tab === \"invite\"}\n onClick={() => setTab(\"invite\")}\n icon={<IconMail size={14} strokeWidth={1.75} />}\n label={t(\"share.invite\")}\n />\n {hasEmbedTab ? (\n <TabTrigger\n active={tab === \"embed\"}\n onClick={() => setTab(\"embed\")}\n icon={<IconCode size={14} strokeWidth={1.75} />}\n label={t(\"share.embed\")}\n />\n ) : null}\n </div>\n ) : null}\n\n <div className=\"px-5 py-4\">\n {tabsEnabled && tab === \"link\" && hasLinkTab ? (\n <LinkTab\n resourceType={resourceType}\n resourceId={resourceId}\n shareUrl={shareUrl!}\n sharesQuery={sharesQuery}\n extras={linkTabExtras}\n />\n ) : null}\n {!tabsEnabled || tab === \"invite\" ? (\n <InviteTab\n resourceType={resourceType}\n resourceId={resourceId}\n shareUrl={shareUrl}\n sharesQuery={sharesQuery}\n showVisibility={!tabsEnabled}\n orgMembers={orgMembers}\n />\n ) : null}\n {tabsEnabled && tab === \"embed\" && hasEmbedTab\n ? (embedTabContent ?? <DefaultEmbedBody embedUrl={embedUrl!} />)\n : null}\n </div>\n\n <div className=\"flex justify-end border-t border-border px-5 py-3\">\n <button type=\"button\" onClick={onClose} className={BUTTON_PRIMARY_SM}>\n {t(\"share.done\")}\n </button>\n </div>\n </div>\n </div>,\n document.body,\n );\n}\n\n// ---------------------------------------------------------------------------\n// Tabs\n// ---------------------------------------------------------------------------\n\nfunction TabTrigger(props: {\n active: boolean;\n onClick: () => void;\n icon: ReactNode;\n label: string;\n}) {\n return (\n <button\n type=\"button\"\n role=\"tab\"\n aria-selected={props.active}\n onClick={props.onClick}\n className={cn(\n \"inline-flex items-center gap-1.5 border-b-2 px-3 py-2 text-sm font-medium transition-colors\",\n props.active\n ? \"border-foreground text-foreground\"\n : \"border-transparent text-muted-foreground hover:text-foreground\",\n )}\n >\n {props.icon}\n {props.label}\n </button>\n );\n}\n\n// ---------------------------------------------------------------------------\n// Link tab — visibility picker + copy-link field + optional extras\n// ---------------------------------------------------------------------------\n\nfunction LinkTab(props: {\n resourceType: string;\n resourceId: string;\n shareUrl: string;\n sharesQuery: ReturnType<typeof useActionQuery<SharesResponse>>;\n extras?: ReactNode;\n}) {\n const { resourceType, resourceId, shareUrl, sharesQuery, extras } = props;\n const t = useT();\n const visibilityMeta = useVisibilityMeta();\n\n const setVisibility = useActionMutation(\"set-resource-visibility\");\n const data = sharesQuery.data;\n const visibility: Visibility =\n (data?.visibility as Visibility | null) ?? \"private\";\n const canManage = data?.role === \"owner\" || data?.role === \"admin\";\n const meta = visibilityMeta[visibility];\n\n const handleVisibility = (next: Visibility) => {\n if (next === visibility) return;\n setVisibility.mutate(\n { resourceType, resourceId, visibility: next } as any,\n { onSuccess: () => sharesQuery.refetch() },\n );\n };\n\n return (\n <div className=\"space-y-4\">\n <div>\n <div className=\"mb-2 text-sm font-semibold\">\n {t(\"share.generalAccess\")}\n </div>\n <div className=\"flex items-center gap-3\">\n <span\n aria-hidden\n className=\"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground\"\n >\n <meta.Icon size={16} strokeWidth={1.75} />\n </span>\n <div className=\"min-w-0 flex-1\">\n <VisibilitySelect\n value={visibility}\n onChange={handleVisibility}\n disabled={!canManage}\n />\n <div className=\"mt-0.5 text-xs text-muted-foreground\">\n {meta.description}\n </div>\n </div>\n </div>\n </div>\n\n <CopyField label={t(\"share.shareLink\")} value={shareUrl} />\n\n {extras}\n </div>\n );\n}\n\n// ---------------------------------------------------------------------------\n// Invite tab — invite-by-email + shares list + (optional) visibility\n// ---------------------------------------------------------------------------\n\nfunction InviteTab(props: {\n resourceType: string;\n resourceId: string;\n shareUrl?: string;\n sharesQuery: ReturnType<typeof useActionQuery<SharesResponse>>;\n showVisibility: boolean;\n orgMembers: OrgMember[];\n}) {\n const {\n resourceType,\n resourceId,\n shareUrl,\n sharesQuery,\n showVisibility,\n orgMembers,\n } = props;\n const t = useT();\n const visibilityMeta = useVisibilityMeta();\n\n const share = useActionMutation(\"share-resource\");\n const unshare = useActionMutation(\"unshare-resource\");\n const setVisibility = useActionMutation(\"set-resource-visibility\");\n\n const [email, setEmail] = useState(\"\");\n const [role, setRole] = useState<Role>(\"viewer\");\n const [notifyPeople, setNotifyPeople] = useState(true);\n const hasInviteEmail = email.trim().length > 0;\n\n const data = sharesQuery.data;\n const shares = data?.shares ?? [];\n const visibility: Visibility =\n (data?.visibility as Visibility | null) ?? \"private\";\n const canManage = data?.role === \"owner\" || data?.role === \"admin\";\n const meta = visibilityMeta[visibility];\n\n const handleAdd = () => {\n const trimmed = email.trim();\n if (!trimmed) return;\n share.mutate(\n {\n resourceType,\n resourceId,\n principalType: \"user\",\n principalId: trimmed,\n role,\n notify: notifyPeople,\n resourceUrl: getNotificationUrl(shareUrl),\n } as any,\n {\n onSuccess: () => {\n setEmail(\"\");\n sharesQuery.refetch();\n },\n },\n );\n };\n\n const handleRemove = (s: Share) => {\n unshare.mutate(\n {\n resourceType,\n resourceId,\n principalType: s.principalType,\n principalId: s.principalId,\n } as any,\n { onSuccess: () => sharesQuery.refetch() },\n );\n };\n\n const handleVisibility = (next: Visibility) => {\n if (next === visibility) return;\n setVisibility.mutate(\n { resourceType, resourceId, visibility: next } as any,\n { onSuccess: () => sharesQuery.refetch() },\n );\n };\n\n return (\n <div className=\"space-y-4\">\n {canManage ? (\n <div className=\"space-y-2\">\n <div className=\"flex items-stretch gap-2\">\n <input\n type=\"email\"\n placeholder={t(\"share.addPeopleByEmail\")}\n value={email}\n onChange={(e) => setEmail(e.target.value)}\n onKeyDown={(e) => {\n if (e.key === \"Enter\") handleAdd();\n }}\n autoComplete=\"off\"\n className=\"flex-1 min-w-0 h-9 rounded-md border border-input bg-background px-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:ring-offset-background\"\n />\n <RoleSelect value={role} onChange={setRole} />\n </div>\n {hasInviteEmail ? (\n <label className=\"inline-flex items-center gap-2 text-xs text-muted-foreground\">\n <input\n type=\"checkbox\"\n checked={notifyPeople}\n onChange={(e) => setNotifyPeople(e.target.checked)}\n className=\"h-4 w-4 rounded border-input accent-primary\"\n />\n {t(\"share.notifyPeople\")}\n </label>\n ) : null}\n </div>\n ) : null}\n\n <div>\n <div className=\"mb-2 text-sm font-semibold\">\n {t(\"share.peopleWithAccess\")}\n </div>\n <ul className=\"flex flex-col gap-1 list-none p-0 m-0\">\n {data?.ownerEmail ? (\n <li className=\"flex items-center gap-3 px-1 py-1.5 text-sm\">\n <Avatar label={displayName(data.ownerEmail, orgMembers)} />\n <span className=\"flex-1 min-w-0 truncate\">\n {displayName(data.ownerEmail, orgMembers)}\n </span>\n <span className=\"text-xs text-muted-foreground\">\n {t(\"share.ownerRole\")}\n </span>\n </li>\n ) : null}\n {shares.map((s) => (\n <li\n key={`${s.principalType}:${s.principalId}`}\n className=\"flex items-center gap-3 px-1 py-1.5 text-sm\"\n >\n <Avatar\n label={\n s.principalType === \"org\"\n ? s.principalId\n : displayName(s.principalId, orgMembers)\n }\n org={s.principalType === \"org\"}\n />\n <span className=\"flex-1 min-w-0 truncate\">\n {s.principalType === \"org\"\n ? s.principalId\n : displayName(s.principalId, orgMembers)}\n </span>\n <span className=\"text-xs text-muted-foreground\">\n {cap(s.role)}\n </span>\n {canManage ? (\n <button\n type=\"button\"\n aria-label={t(\"share.remove\")}\n onClick={() => handleRemove(s)}\n className={BUTTON_GHOST_ICON}\n >\n <IconTrash size={14} />\n </button>\n ) : null}\n </li>\n ))}\n {!shares.length && !data?.ownerEmail ? (\n <li className=\"px-1 py-1.5 text-sm text-muted-foreground\">\n {t(\"share.noAccess\")}\n </li>\n ) : null}\n </ul>\n </div>\n\n {showVisibility ? (\n <div>\n <div className=\"mb-2 text-sm font-semibold\">\n {t(\"share.generalAccess\")}\n </div>\n <div className=\"flex items-center gap-3\">\n <span\n aria-hidden\n className=\"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground\"\n >\n <meta.Icon size={16} strokeWidth={1.75} />\n </span>\n <div className=\"min-w-0 flex-1\">\n <VisibilitySelect\n value={visibility}\n onChange={handleVisibility}\n disabled={!canManage}\n />\n <div className=\"mt-0.5 text-xs text-muted-foreground\">\n {meta.description}\n </div>\n </div>\n </div>\n </div>\n ) : null}\n </div>\n );\n}\n\n// ---------------------------------------------------------------------------\n// Default Embed body (simple responsive iframe snippet)\n// ---------------------------------------------------------------------------\n\nfunction DefaultEmbedBody({ embedUrl }: { embedUrl: string }) {\n const t = useT();\n const code = `<div style=\"position:relative;padding-bottom:56.25%;height:0\"><iframe src=\"${embedUrl}\" frameborder=\"0\" allowfullscreen allow=\"autoplay; picture-in-picture\" style=\"position:absolute;inset:0;width:100%;height:100%\"></iframe></div>`;\n return (\n <div className=\"space-y-3\">\n <CopyField label={t(\"share.embedUrl\")} value={embedUrl} />\n <CopyField label={t(\"share.embedCode\")} value={code} multiline />\n </div>\n );\n}\n\n// ---------------------------------------------------------------------------\n// Primitives\n// ---------------------------------------------------------------------------\n\nfunction CopyField({\n label,\n value,\n multiline,\n}: {\n label: string;\n value: string;\n multiline?: boolean;\n}) {\n const [copied, setCopied] = useState(false);\n const t = useT();\n const copy = async () => {\n if (!(await writeClipboardText(value))) {\n setCopied(false);\n return;\n }\n setCopied(true);\n setTimeout(() => setCopied(false), 1400);\n };\n return (\n <div>\n <div className=\"mb-1 text-xs font-medium text-muted-foreground\">\n {label}\n </div>\n <div className=\"flex items-stretch gap-2\">\n {multiline ? (\n <textarea\n readOnly\n value={value}\n className=\"flex-1 h-20 rounded-md border border-input bg-background px-3 py-2 text-xs font-mono text-foreground resize-none focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n ) : (\n <input\n readOnly\n value={value}\n className=\"flex-1 min-w-0 h-9 rounded-md border border-input bg-background px-3 text-xs font-mono text-foreground focus:outline-none focus:ring-2 focus:ring-ring\"\n />\n )}\n <button\n type=\"button\"\n onClick={copy}\n aria-label={t(\"share.copy\")}\n className={cn(BUTTON_OUTLINE_SM, \"w-9 px-0\")}\n >\n {copied ? <IconCheck size={14} /> : <IconCopy size={14} />}\n </button>\n </div>\n </div>\n );\n}\n\nconst selectContentClass =\n \"z-[2100] min-w-[12rem] overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md\";\nconst selectItemClass =\n \"relative flex w-full cursor-pointer select-none items-start gap-2 rounded-sm py-2 ps-8 pe-3 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50\";\n\nfunction SelectItems({\n items,\n}: {\n items: Array<{ value: string; label: string; description?: string }>;\n}) {\n return (\n <>\n {items.map((it) => (\n <Select.Item\n key={it.value}\n value={it.value}\n className={selectItemClass}\n >\n <span className=\"absolute start-2 top-2 flex h-4 w-4 items-center justify-center\">\n <Select.ItemIndicator>\n <IconCheck size={14} />\n </Select.ItemIndicator>\n </span>\n <span className=\"flex flex-col\">\n <Select.ItemText>{it.label}</Select.ItemText>\n {it.description ? (\n <span className=\"text-xs text-muted-foreground\">\n {it.description}\n </span>\n ) : null}\n </span>\n </Select.Item>\n ))}\n </>\n );\n}\n\nfunction RoleSelect(props: { value: Role; onChange: (v: Role) => void }) {\n const t = useT();\n const roleOptions = useRoleOptions();\n const current =\n roleOptions.find((o) => o.value === props.value) ?? roleOptions[0];\n return (\n <Select.Root\n value={props.value}\n onValueChange={(v) => props.onChange(v as Role)}\n >\n <Select.Trigger\n aria-label={t(\"share.role\")}\n className={cn(\n BUTTON_BASE,\n \"h-9 px-3 border border-input bg-background hover:bg-accent hover:text-accent-foreground\",\n )}\n >\n <Select.Value>{current.label}</Select.Value>\n <Select.Icon>\n <IconChevronDown size={14} />\n </Select.Icon>\n </Select.Trigger>\n <Select.Portal>\n <Select.Content\n className={selectContentClass}\n position=\"popper\"\n sideOffset={4}\n >\n <Select.Viewport>\n <SelectItems items={roleOptions} />\n </Select.Viewport>\n </Select.Content>\n </Select.Portal>\n </Select.Root>\n );\n}\n\nfunction VisibilitySelect(props: {\n value: Visibility;\n onChange: (v: Visibility) => void;\n disabled?: boolean;\n}) {\n const t = useT();\n const visibilityMeta = useVisibilityMeta();\n const current = visibilityMeta[props.value];\n return (\n <Select.Root\n value={props.value}\n onValueChange={(v) => props.onChange(v as Visibility)}\n disabled={props.disabled}\n >\n <Select.Trigger\n aria-label={t(\"share.generalAccess\")}\n className={cn(\n BUTTON_BASE,\n \"h-7 px-1 -ms-1 bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground\",\n )}\n >\n <Select.Value>{current.label}</Select.Value>\n <Select.Icon>\n <IconChevronDown size={14} />\n </Select.Icon>\n </Select.Trigger>\n <Select.Portal>\n <Select.Content\n className={selectContentClass}\n position=\"popper\"\n sideOffset={4}\n >\n <Select.Viewport>\n <SelectItems\n items={(Object.keys(VIS_ICONS) as Visibility[]).map((k) => ({\n value: k,\n label: visibilityMeta[k].label,\n description: visibilityMeta[k].description,\n }))}\n />\n </Select.Viewport>\n </Select.Content>\n </Select.Portal>\n </Select.Root>\n );\n}\n\nfunction Avatar({ label, org }: { label: string; org?: boolean }) {\n return (\n <span\n aria-hidden\n className=\"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-muted text-[11px] font-semibold text-muted-foreground\"\n >\n {org ? (\n <IconBuilding size={14} strokeWidth={1.75} />\n ) : (\n (label.split(\"@\")[0]?.[0] ?? label[0] ?? \"?\").toUpperCase()\n )}\n </span>\n );\n}\n\nfunction getNotificationUrl(explicit?: string): string | undefined {\n if (explicit) return explicit;\n if (typeof window === \"undefined\") return undefined;\n return window.location.href;\n}\n\nfunction cap(s: string): string {\n return s.charAt(0).toUpperCase() + s.slice(1);\n}\n"]}
@@ -41,6 +41,65 @@
41
41
  zoom-in/out, slide-in-from-*, spin-in, etc.). */
42
42
  @import "tw-animate-css";
43
43
 
44
+ /* Shared agent sidebar entry/exit transitions.
45
+ `@starting-style` gives newly-mounted panels a real before-change style, so
46
+ opening animates in as reliably as closing animates out. */
47
+ .agent-sidebar-panel[data-agent-sidebar-animation="desktop"] {
48
+ width: 0;
49
+ will-change: width;
50
+ transition: width 260ms cubic-bezier(0.32, 0.72, 0, 1);
51
+ }
52
+
53
+ .agent-sidebar-panel[data-agent-sidebar-animation="desktop"][data-agent-sidebar-state="open"] {
54
+ width: var(--agent-sidebar-width);
55
+ }
56
+
57
+ .agent-sidebar-panel[data-agent-sidebar-animation="mobile"] {
58
+ transform: var(
59
+ --agent-sidebar-closed-transform,
60
+ translateX(calc(100% + 1px))
61
+ );
62
+ will-change: transform;
63
+ transition: transform 260ms cubic-bezier(0.32, 0.72, 0, 1);
64
+ }
65
+
66
+ .agent-sidebar-panel[data-agent-sidebar-animation="mobile"][data-agent-sidebar-state="open"] {
67
+ transform: translateX(0);
68
+ }
69
+
70
+ .agent-sidebar-backdrop[data-agent-sidebar-animation="mobile"] {
71
+ opacity: 0;
72
+ transition: opacity 200ms ease;
73
+ }
74
+
75
+ .agent-sidebar-backdrop[data-agent-sidebar-animation="mobile"][data-agent-sidebar-state="open"] {
76
+ opacity: 1;
77
+ }
78
+
79
+ @starting-style {
80
+ .agent-sidebar-panel[data-agent-sidebar-animation="desktop"][data-agent-sidebar-state="open"] {
81
+ width: 0;
82
+ }
83
+
84
+ .agent-sidebar-panel[data-agent-sidebar-animation="mobile"][data-agent-sidebar-state="open"] {
85
+ transform: var(
86
+ --agent-sidebar-closed-transform,
87
+ translateX(calc(100% + 1px))
88
+ );
89
+ }
90
+
91
+ .agent-sidebar-backdrop[data-agent-sidebar-animation="mobile"][data-agent-sidebar-state="open"] {
92
+ opacity: 0;
93
+ }
94
+ }
95
+
96
+ @media (prefers-reduced-motion: reduce) {
97
+ .agent-sidebar-panel[data-agent-sidebar-animation],
98
+ .agent-sidebar-backdrop[data-agent-sidebar-animation] {
99
+ transition: none;
100
+ }
101
+ }
102
+
44
103
  @theme inline {
45
104
  --color-border: hsl(var(--border));
46
105
  --color-input: hsl(var(--input));
@@ -71,6 +71,161 @@ const messages = {
71
71
  suggestionRouteSlack: "Route Slack mentions to my analytics app",
72
72
  suggestionGrantKey: "Grant my OpenAI key to this app",
73
73
  },
74
+ pages: {
75
+ appsDescription:
76
+ "Open workspace apps and start new app creation from Dispatch.",
77
+ appsDescriptionWithWorkspace:
78
+ 'Apps in the "{{workspace}}" workspace. Each app gets its own route under this workspace and shares its database, auth, and agent chat.',
79
+ appsInWorkspace: "Apps in {{workspace}}",
80
+ workspaceApps: "Workspace apps",
81
+ activeCount: "{{count}} active",
82
+ hiddenCount: "{{count}} hidden",
83
+ createApp: "Create app",
84
+ templates: "Templates",
85
+ checkingTemplates: "Checking available templates",
86
+ templatesAvailable: "{{count}} available to scaffold",
87
+ hide: "Hide",
88
+ show: "Show",
89
+ hiddenApps: "Hidden apps",
90
+ hiddenAppCount: "{{count}} hidden apps",
91
+ workspaceAppFallback: "Workspace App",
92
+ workspaceAppDescription:
93
+ "Open a deployed app or check the status of an app being created.",
94
+ pageNotFound: "Page not found",
95
+ pageNotFoundDescription:
96
+ "This route is not in the workspace app list yet.",
97
+ browseApps: "Browse apps",
98
+ newApp: "New App",
99
+ newAppDescription:
100
+ "Create a workspace app from a prompt and apply the workspace vault policy.",
101
+ destinationsDescription:
102
+ "Saved outbound Slack channels, Telegram chats, and thread targets.",
103
+ savedDestinations: "Saved destinations",
104
+ addDestination: "Add destination",
105
+ quickTestMessage: "Quick test message",
106
+ send: "Send",
107
+ delete: "Delete",
108
+ cancel: "Cancel",
109
+ messageSent: "Message sent",
110
+ unableToSendMessage: "Unable to send message",
111
+ destinationSaved: "Destination saved",
112
+ destinationRemoved: "Destination removed",
113
+ deleteDestinationTitle: "Delete destination?",
114
+ deleteDestinationDescription:
115
+ '"{{name}}" will be removed. Any saved workflows or jobs that target this destination will start failing on the next send.',
116
+ noDestinations:
117
+ "No destinations saved yet. Add your first Slack channel or Telegram chat on the right.",
118
+ dailyDigestChannel: "Daily digest channel",
119
+ optionalThreadOrTopicId: "Optional thread or topic id",
120
+ destinationNotes: "What should use this destination?",
121
+ saveDestination: "Save destination",
122
+ noWorkspaceApps: "No workspace apps yet",
123
+ noWorkspaceAppsDescription:
124
+ "Create an app when a workflow needs its own focused place to live.",
125
+ appNotFound: "App not found",
126
+ building: "Building",
127
+ appBuildingPrefix: "This app is being created. It will be available at",
128
+ appBuildingSuffix:
129
+ "after its branch is merged and the workspace deploy finishes.",
130
+ branch: "Branch: {{branch}}",
131
+ openBuilderBranch: "Open Builder branch",
132
+ openingApp: "Opening {{name}}",
133
+ redirectingTo: "Redirecting to",
134
+ openApp: "Open app",
135
+ notDispatchOrWorkspaceApp:
136
+ " a Dispatch tab or a workspace app in this workspace.",
137
+ agentsDescription:
138
+ "Dispatch can delegate to the built-in app suite over A2A by default. Add extra agents here only if you want to route work to apps outside that built-in set.",
139
+ mcpAccessUpdated: "MCP app access updated",
140
+ selectAppForMcp: "Select at least one app, or expose all apps.",
141
+ mcpUrlCopied: "MCP URL copied",
142
+ mcpUrlCopyFailed: "Could not copy MCP URL",
143
+ unifiedMcpGateway: "Unified MCP gateway",
144
+ unifiedMcpGatewayDescription:
145
+ "Connect external agents to Dispatch once, then route to granted workspace apps through",
146
+ allApps: "All apps",
147
+ selectedApps: "Selected apps",
148
+ loading: "Loading",
149
+ grantedCount: "{{count}} granted",
150
+ exposeAllAppsMcp: "Expose all apps through Dispatch MCP",
151
+ copyUrl: "Copy URL",
152
+ metricsUnavailable: "Metrics unavailable",
153
+ unableToLoadUsage: "Unable to load usage.",
154
+ metricsDescriptionBuilder:
155
+ "Workspace-wide Builder.io credit spend, chat volume, user activity, and app access.",
156
+ metricsDescriptionLlm:
157
+ "Workspace-wide LLM spend, chat volume, user activity, and app access.",
158
+ llmCalls: "LLM calls",
159
+ activeUsers: "Active users",
160
+ workspaceAppsStat: "Workspace apps",
161
+ chatThreads: "Chat threads",
162
+ },
163
+ },
164
+ agentPanel: {
165
+ useBuilder: "Use Builder",
166
+ openDesktopToEditCode: "Open Desktop to edit code",
167
+ codeUnavailableDescription:
168
+ "Source-code changes and CLI access are available in the Agent Native Desktop app.",
169
+ downloadDesktop: "Download Desktop",
170
+ chatMode: "Chat mode",
171
+ chat: "Chat",
172
+ cliTerminalMode: "CLI terminal mode",
173
+ cli: "CLI",
174
+ workspaceMode: "Workspace files, agents, skills, and tasks",
175
+ workspace: "Workspace",
176
+ newChat: "New chat",
177
+ newTerminal: "New terminal",
178
+ panelOptions: "Agent panel options",
179
+ collapseSidebar: "Collapse sidebar",
180
+ hideChats: "Hide chats",
181
+ allChats: "All chats",
182
+ settings: "Settings",
183
+ feedback: "Feedback",
184
+ exitFullscreen: "Exit fullscreen",
185
+ fullscreen: "Fullscreen",
186
+ closeTab: "Close tab",
187
+ closeOtherTabs: "إغلاق علامات التبويب الأخرى",
188
+ closeAllTabs: "إغلاق كل علامات التبويب",
189
+ clearChat: "مسح الدردشة",
190
+ cliRequiresDevMode: "CLI requires dev mode",
191
+ cliRequiresDevModeDescription:
192
+ "Run this app locally with pnpm dev or use Builder.io to access the CLI terminal.",
193
+ toggleAgent: "Toggle agent",
194
+ },
195
+ share: {
196
+ titleWithResource: 'Share "{{title}}"',
197
+ titleWithType: "Share {{type}}",
198
+ owner: "Owner: {{name}}",
199
+ close: "Close",
200
+ shareOptions: "Share options",
201
+ link: "Link",
202
+ invite: "Invite",
203
+ embed: "Embed",
204
+ done: "Done",
205
+ generalAccess: "General access",
206
+ shareLink: "Share link",
207
+ addPeopleByEmail: "Add people by email",
208
+ notifyPeople: "Notify people",
209
+ peopleWithAccess: "People with access",
210
+ ownerRole: "Owner",
211
+ remove: "Remove",
212
+ noAccess: "No one has access yet.",
213
+ embedUrl: "Embed URL",
214
+ embedCode: "Embed code",
215
+ copy: "Copy",
216
+ role: "Role",
217
+ private: "Private",
218
+ privateDescription: "Only people with access can view",
219
+ organization: "Organization",
220
+ organizationDescription: "Anyone in your organization can view",
221
+ public: "Public",
222
+ publicDescription: "Anyone signed in with the link can view",
223
+ viewer: "Viewer",
224
+ viewerDescription: "Can view",
225
+ editor: "Editor",
226
+ editorDescription: "Can edit",
227
+ admin: "Admin",
228
+ adminDescription: "Can edit and manage access",
74
229
  },
75
230
  runsTray: {
76
231
  runs: "Runs",
@@ -68,6 +68,161 @@ const messages = {
68
68
  suggestionRouteSlack: "Route Slack mentions to my analytics app",
69
69
  suggestionGrantKey: "Grant my OpenAI key to this app",
70
70
  },
71
+ pages: {
72
+ appsDescription:
73
+ "Open workspace apps and start new app creation from Dispatch.",
74
+ appsDescriptionWithWorkspace:
75
+ 'Apps in the "{{workspace}}" workspace. Each app gets its own route under this workspace and shares its database, auth, and agent chat.',
76
+ appsInWorkspace: "Apps in {{workspace}}",
77
+ workspaceApps: "Workspace apps",
78
+ activeCount: "{{count}} active",
79
+ hiddenCount: "{{count}} hidden",
80
+ createApp: "Create app",
81
+ templates: "Templates",
82
+ checkingTemplates: "Checking available templates",
83
+ templatesAvailable: "{{count}} available to scaffold",
84
+ hide: "Hide",
85
+ show: "Show",
86
+ hiddenApps: "Hidden apps",
87
+ hiddenAppCount: "{{count}} hidden apps",
88
+ workspaceAppFallback: "Workspace App",
89
+ workspaceAppDescription:
90
+ "Open a deployed app or check the status of an app being created.",
91
+ pageNotFound: "Page not found",
92
+ pageNotFoundDescription:
93
+ "This route is not in the workspace app list yet.",
94
+ browseApps: "Browse apps",
95
+ newApp: "New App",
96
+ newAppDescription:
97
+ "Create a workspace app from a prompt and apply the workspace vault policy.",
98
+ destinationsDescription:
99
+ "Saved outbound Slack channels, Telegram chats, and thread targets.",
100
+ savedDestinations: "Saved destinations",
101
+ addDestination: "Add destination",
102
+ quickTestMessage: "Quick test message",
103
+ send: "Send",
104
+ delete: "Delete",
105
+ cancel: "Cancel",
106
+ messageSent: "Message sent",
107
+ unableToSendMessage: "Unable to send message",
108
+ destinationSaved: "Destination saved",
109
+ destinationRemoved: "Destination removed",
110
+ deleteDestinationTitle: "Delete destination?",
111
+ deleteDestinationDescription:
112
+ '"{{name}}" will be removed. Any saved workflows or jobs that target this destination will start failing on the next send.',
113
+ noDestinations:
114
+ "No destinations saved yet. Add your first Slack channel or Telegram chat on the right.",
115
+ dailyDigestChannel: "Daily digest channel",
116
+ optionalThreadOrTopicId: "Optional thread or topic id",
117
+ destinationNotes: "What should use this destination?",
118
+ saveDestination: "Save destination",
119
+ noWorkspaceApps: "No workspace apps yet",
120
+ noWorkspaceAppsDescription:
121
+ "Create an app when a workflow needs its own focused place to live.",
122
+ appNotFound: "App not found",
123
+ building: "Building",
124
+ appBuildingPrefix: "This app is being created. It will be available at",
125
+ appBuildingSuffix:
126
+ "after its branch is merged and the workspace deploy finishes.",
127
+ branch: "Branch: {{branch}}",
128
+ openBuilderBranch: "Open Builder branch",
129
+ openingApp: "Opening {{name}}",
130
+ redirectingTo: "Redirecting to",
131
+ openApp: "Open app",
132
+ notDispatchOrWorkspaceApp:
133
+ " a Dispatch tab or a workspace app in this workspace.",
134
+ agentsDescription:
135
+ "Dispatch can delegate to the built-in app suite over A2A by default. Add extra agents here only if you want to route work to apps outside that built-in set.",
136
+ mcpAccessUpdated: "MCP app access updated",
137
+ selectAppForMcp: "Select at least one app, or expose all apps.",
138
+ mcpUrlCopied: "MCP URL copied",
139
+ mcpUrlCopyFailed: "Could not copy MCP URL",
140
+ unifiedMcpGateway: "Unified MCP gateway",
141
+ unifiedMcpGatewayDescription:
142
+ "Connect external agents to Dispatch once, then route to granted workspace apps through",
143
+ allApps: "All apps",
144
+ selectedApps: "Selected apps",
145
+ loading: "Loading",
146
+ grantedCount: "{{count}} granted",
147
+ exposeAllAppsMcp: "Expose all apps through Dispatch MCP",
148
+ copyUrl: "Copy URL",
149
+ metricsUnavailable: "Metrics unavailable",
150
+ unableToLoadUsage: "Unable to load usage.",
151
+ metricsDescriptionBuilder:
152
+ "Workspace-wide Builder.io credit spend, chat volume, user activity, and app access.",
153
+ metricsDescriptionLlm:
154
+ "Workspace-wide LLM spend, chat volume, user activity, and app access.",
155
+ llmCalls: "LLM calls",
156
+ activeUsers: "Active users",
157
+ workspaceAppsStat: "Workspace apps",
158
+ chatThreads: "Chat threads",
159
+ },
160
+ },
161
+ agentPanel: {
162
+ useBuilder: "Use Builder",
163
+ openDesktopToEditCode: "Open Desktop to edit code",
164
+ codeUnavailableDescription:
165
+ "Source-code changes and CLI access are available in the Agent Native Desktop app.",
166
+ downloadDesktop: "Download Desktop",
167
+ chatMode: "Chat mode",
168
+ chat: "Chat",
169
+ cliTerminalMode: "CLI terminal mode",
170
+ cli: "CLI",
171
+ workspaceMode: "Workspace files, agents, skills, and tasks",
172
+ workspace: "Workspace",
173
+ newChat: "New chat",
174
+ newTerminal: "New terminal",
175
+ panelOptions: "Agent panel options",
176
+ collapseSidebar: "Collapse sidebar",
177
+ hideChats: "Hide chats",
178
+ allChats: "All chats",
179
+ settings: "Settings",
180
+ feedback: "Feedback",
181
+ exitFullscreen: "Exit fullscreen",
182
+ fullscreen: "Fullscreen",
183
+ closeTab: "Close tab",
184
+ closeOtherTabs: "Andere Tabs schließen",
185
+ closeAllTabs: "Alle Tabs schließen",
186
+ clearChat: "Chat leeren",
187
+ cliRequiresDevMode: "CLI requires dev mode",
188
+ cliRequiresDevModeDescription:
189
+ "Run this app locally with pnpm dev or use Builder.io to access the CLI terminal.",
190
+ toggleAgent: "Toggle agent",
191
+ },
192
+ share: {
193
+ titleWithResource: 'Share "{{title}}"',
194
+ titleWithType: "Share {{type}}",
195
+ owner: "Owner: {{name}}",
196
+ close: "Close",
197
+ shareOptions: "Share options",
198
+ link: "Link",
199
+ invite: "Invite",
200
+ embed: "Embed",
201
+ done: "Done",
202
+ generalAccess: "General access",
203
+ shareLink: "Share link",
204
+ addPeopleByEmail: "Add people by email",
205
+ notifyPeople: "Notify people",
206
+ peopleWithAccess: "People with access",
207
+ ownerRole: "Owner",
208
+ remove: "Remove",
209
+ noAccess: "No one has access yet.",
210
+ embedUrl: "Embed URL",
211
+ embedCode: "Embed code",
212
+ copy: "Copy",
213
+ role: "Role",
214
+ private: "Private",
215
+ privateDescription: "Only people with access can view",
216
+ organization: "Organization",
217
+ organizationDescription: "Anyone in your organization can view",
218
+ public: "Public",
219
+ publicDescription: "Anyone signed in with the link can view",
220
+ viewer: "Viewer",
221
+ viewerDescription: "Can view",
222
+ editor: "Editor",
223
+ editorDescription: "Can edit",
224
+ admin: "Admin",
225
+ adminDescription: "Can edit and manage access",
71
226
  },
72
227
  runsTray: {
73
228
  runs: "Runs",