@agent-native/core 0.76.6 → 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.
- package/corpus/core/CHANGELOG.md +41 -0
- package/corpus/core/docs/content/deployment.md +8 -9
- package/corpus/core/docs/content/internationalization.md +6 -0
- package/corpus/core/docs/content/locales/ar-SA/a2a-protocol.md +20 -8
- package/corpus/core/docs/content/locales/ar-SA/actions.md +18 -6
- package/corpus/core/docs/content/locales/ar-SA/agent-mentions.md +18 -6
- package/corpus/core/docs/content/locales/ar-SA/agent-surfaces.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/agent-teams.md +6 -6
- package/corpus/core/docs/content/locales/ar-SA/agent-web-surfaces.md +13 -5
- package/corpus/core/docs/content/locales/ar-SA/authentication.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/automations.md +25 -9
- package/corpus/core/docs/content/locales/ar-SA/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/cli-adapters.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/client.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/cloneable-saas.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/code-agents-ui.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/components.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/context-awareness.md +25 -9
- package/corpus/core/docs/content/locales/ar-SA/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/ar-SA/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/database.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/deployment.md +15 -16
- package/corpus/core/docs/content/locales/ar-SA/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/evals.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/extensions.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/faq.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/frames.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/getting-started.md +5 -5
- package/corpus/core/docs/content/locales/ar-SA/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/ar-SA/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/ar-SA/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/ar-SA/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/messaging.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/ar-SA/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/notifications.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/observability.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/processors.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/progress.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/ar-SA/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/routing.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/ar-SA/security.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/server.md +22 -10
- package/corpus/core/docs/content/locales/ar-SA/sharing.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/template-assets.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/ar-SA/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/template-content.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/template-design.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/tracking.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/ar-SA/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/ar-SA/workspace.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/a2a-protocol.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/actions.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/agent-mentions.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/agent-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/agent-teams.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/authentication.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/automations.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/blueprint-installer.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/client.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/cloneable-saas.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/code-agents-ui.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/components.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/de-DE/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/database.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/deployment.md +15 -16
- package/corpus/core/docs/content/locales/de-DE/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/evals.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/extensions.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/faq.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/frames.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/getting-started.md +5 -5
- package/corpus/core/docs/content/locales/de-DE/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/de-DE/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/de-DE/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/de-DE/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/messaging.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/de-DE/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/notifications.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/observability.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/processors.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/progress.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/de-DE/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/routing.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/security.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/server.md +22 -10
- package/corpus/core/docs/content/locales/de-DE/sharing.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/template-assets.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/de-DE/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/template-content.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/template-design.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/tracking.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/de-DE/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/workspace.md +4 -4
- package/corpus/core/docs/content/locales/de-DE/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/a2a-protocol.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/actions.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/agent-mentions.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/agent-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/agent-teams.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/authentication.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/automations.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/blueprint-installer.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/client.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/cloneable-saas.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/code-agents-ui.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/components.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/es-ES/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/database.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/deployment.md +15 -16
- package/corpus/core/docs/content/locales/es-ES/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/evals.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/extensions.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/faq.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/frames.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/getting-started.md +5 -5
- package/corpus/core/docs/content/locales/es-ES/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/es-ES/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/es-ES/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/messaging.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/notifications.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/observability.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/processors.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/progress.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/es-ES/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/routing.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/es-ES/security.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/server.md +22 -10
- package/corpus/core/docs/content/locales/es-ES/sharing.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/template-assets.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/es-ES/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/template-content.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/template-design.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/tracking.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/es-ES/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/es-ES/workspace.md +4 -4
- package/corpus/core/docs/content/locales/es-ES/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/a2a-protocol.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/actions.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/agent-mentions.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/agent-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/agent-teams.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/authentication.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/automations.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/blueprint-installer.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/client.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/cloneable-saas.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/code-agents-ui.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/components.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/fr-FR/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/database.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/deployment.md +15 -16
- package/corpus/core/docs/content/locales/fr-FR/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/evals.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/extensions.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/faq.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/frames.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/getting-started.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/fr-FR/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/fr-FR/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/messaging.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/notifications.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/observability.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/processors.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/progress.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/fr-FR/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/routing.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/fr-FR/security.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/server.md +22 -10
- package/corpus/core/docs/content/locales/fr-FR/sharing.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/template-assets.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/fr-FR/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/template-content.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/template-design.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/tracking.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/fr-FR/workspace.md +4 -4
- package/corpus/core/docs/content/locales/fr-FR/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/a2a-protocol.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/actions.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/agent-mentions.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/agent-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/agent-teams.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/authentication.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/automations.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/blueprint-installer.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/client.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/cloneable-saas.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/code-agents-ui.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/components.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/hi-IN/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/database.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/deployment.md +15 -16
- package/corpus/core/docs/content/locales/hi-IN/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/evals.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/extensions.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/faq.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/frames.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/getting-started.md +6 -6
- package/corpus/core/docs/content/locales/hi-IN/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/hi-IN/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/hi-IN/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/hi-IN/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/messaging.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/hi-IN/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/notifications.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/observability.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/processors.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/progress.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/hi-IN/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/routing.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/hi-IN/security.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/server.md +22 -10
- package/corpus/core/docs/content/locales/hi-IN/sharing.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/template-assets.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/hi-IN/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/template-content.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/template-design.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/tracking.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/hi-IN/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/hi-IN/workspace.md +4 -4
- package/corpus/core/docs/content/locales/hi-IN/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/a2a-protocol.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/actions.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/agent-mentions.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/agent-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/agent-teams.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/authentication.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/automations.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/blueprint-installer.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/client.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/cloneable-saas.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/code-agents-ui.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/components.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/ja-JP/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/database.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/deployment.md +15 -16
- package/corpus/core/docs/content/locales/ja-JP/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/evals.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/extensions.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/faq.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/frames.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/getting-started.md +5 -5
- package/corpus/core/docs/content/locales/ja-JP/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/ja-JP/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/ja-JP/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/messaging.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/notifications.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/observability.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/processors.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/progress.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/ja-JP/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/routing.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/ja-JP/security.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/server.md +22 -10
- package/corpus/core/docs/content/locales/ja-JP/sharing.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/template-assets.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/ja-JP/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/template-content.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/template-design.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/tracking.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/ja-JP/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/ja-JP/workspace.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/a2a-protocol.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/actions.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/agent-mentions.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/agent-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/agent-teams.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/authentication.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/automations.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/blueprint-installer.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/client.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/cloneable-saas.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/code-agents-ui.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/components.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/ko-KR/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/database.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/deployment.md +15 -16
- package/corpus/core/docs/content/locales/ko-KR/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/evals.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/extensions.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/faq.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/frames.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/getting-started.md +5 -5
- package/corpus/core/docs/content/locales/ko-KR/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/ko-KR/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/ko-KR/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/messaging.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/notifications.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/observability.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/processors.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/progress.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/ko-KR/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/routing.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/ko-KR/security.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/server.md +22 -10
- package/corpus/core/docs/content/locales/ko-KR/sharing.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/template-assets.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/ko-KR/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/template-content.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/template-design.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/tracking.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/ko-KR/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/ko-KR/workspace.md +4 -4
- package/corpus/core/docs/content/locales/ko-KR/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/a2a-protocol.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/actions.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/agent-mentions.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/agent-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/agent-teams.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/authentication.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/automations.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/blueprint-installer.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/client.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/cloneable-saas.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/code-agents-ui.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/components.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/pt-BR/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/database.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/deployment.md +15 -16
- package/corpus/core/docs/content/locales/pt-BR/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/evals.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/extensions.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/faq.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/frames.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/getting-started.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/pt-BR/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/pt-BR/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/pt-BR/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/messaging.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/pt-BR/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/notifications.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/observability.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/processors.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/progress.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/pt-BR/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/routing.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/pt-BR/security.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/server.md +22 -10
- package/corpus/core/docs/content/locales/pt-BR/sharing.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/template-assets.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/pt-BR/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/template-content.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/template-design.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/tracking.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/pt-BR/workspace.md +4 -4
- package/corpus/core/docs/content/locales/pt-BR/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/a2a-protocol.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/actions.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/agent-mentions.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/agent-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/agent-teams.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/authentication.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/automations.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/blueprint-installer.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/client.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/cloneable-saas.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/code-agents-ui.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/components.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/creating-templates.md +16 -16
- package/corpus/core/docs/content/locales/zh-CN/cross-app-sso.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/database.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/deployment.md +15 -16
- package/corpus/core/docs/content/locales/zh-CN/dispatch.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/drop-in-agent.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/embedding-sdk.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/evals.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/extensions.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/external-agents.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/faq.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/file-uploads.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/frames.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/getting-started.md +5 -5
- package/corpus/core/docs/content/locales/zh-CN/harness-agents.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/human-approval.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/internationalization.md +2 -0
- package/corpus/core/docs/content/locales/zh-CN/key-concepts.md +7 -7
- package/corpus/core/docs/content/locales/zh-CN/local-file-mode.md +8 -8
- package/corpus/core/docs/content/locales/zh-CN/mcp-apps.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/mcp-clients.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/mcp-protocol.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/messaging.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/migration-workbench.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/multi-app-workspace.md +8 -8
- package/corpus/core/docs/content/locales/zh-CN/multi-tenancy.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/native-chat-ui.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/notifications.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/observability.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/onboarding.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/plan-plugin.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/pr-visual-recap.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/processors.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/progress.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/pure-agent-apps.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/real-time-collaboration.md +7 -3
- package/corpus/core/docs/content/locales/zh-CN/recurring-jobs.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/routing.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/sandbox-adapters.md +6 -6
- package/corpus/core/docs/content/locales/zh-CN/security.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/server.md +22 -10
- package/corpus/core/docs/content/locales/zh-CN/sharing.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/skills-guide.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/template-analytics.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/template-assets.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/template-brain.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/template-calendar.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/template-chat.md +7 -7
- package/corpus/core/docs/content/locales/zh-CN/template-clips.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/template-content.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/template-design.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/template-dispatch.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/template-forms.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/template-mail.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/template-plan.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/template-slides.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/template-videos.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/tracking.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/using-your-agent.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/voice-input.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/what-is-agent-native.md +5 -5
- package/corpus/core/docs/content/locales/zh-CN/workspace-connections.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/workspace-management.md +6 -6
- package/corpus/core/docs/content/locales/zh-CN/workspace.md +4 -4
- package/corpus/core/docs/content/locales/zh-CN/writing-agent-instructions.md +1 -1
- package/corpus/core/docs/content/real-time-collaboration.md +5 -1
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/agent/production-agent.ts +11 -5
- package/corpus/core/src/agent/run-store.ts +12 -18
- package/corpus/core/src/client/AgentPanel.tsx +130 -70
- package/corpus/core/src/client/i18n.tsx +67 -5
- package/corpus/core/src/client/sharing/ShareDialog.tsx +98 -57
- package/corpus/core/src/styles/agent-native.css +59 -0
- package/corpus/core/src/templates/default/app/i18n/ar-SA.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/de-DE.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/en-US.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/es-ES.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/fr-FR.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/hi-IN.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/ja-JP.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/ko-KR.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/pt-BR.ts +155 -0
- package/corpus/core/src/templates/default/app/i18n/zh-CN.ts +155 -0
- package/corpus/core/src/templates/default/vite.config.ts +10 -5
- package/corpus/core/src/vite/client.ts +259 -114
- package/corpus/core/src/vite/index.ts +2 -0
- package/corpus/templates/analytics/vite.config.ts +10 -5
- package/corpus/templates/assets/vite.config.ts +11 -6
- package/corpus/templates/brain/vite.config.ts +3 -2
- package/corpus/templates/calendar/vite.config.ts +10 -5
- package/corpus/templates/chat/vite.config.ts +10 -5
- package/corpus/templates/clips/app/components/library/library-layout.tsx +2 -0
- package/corpus/templates/clips/vite.config.ts +11 -6
- package/corpus/templates/content/vite.config.ts +14 -9
- package/corpus/templates/design/vite.config.ts +10 -5
- package/corpus/templates/dispatch/vite.config.ts +10 -5
- package/corpus/templates/forms/app/i18n/ar-SA.ts +2 -2
- package/corpus/templates/forms/app/i18n/de-DE.ts +2 -2
- package/corpus/templates/forms/app/i18n/fr-FR.ts +2 -2
- package/corpus/templates/forms/app/i18n/hi-IN.ts +2 -2
- package/corpus/templates/forms/app/i18n/ja-JP.ts +2 -2
- package/corpus/templates/forms/app/i18n/ko-KR.ts +2 -2
- package/corpus/templates/forms/app/i18n/pt-BR.ts +2 -2
- package/corpus/templates/forms/app/i18n/zh-CN.ts +2 -2
- package/corpus/templates/forms/vite.config.ts +10 -5
- package/corpus/templates/macros/app/i18n/ar-SA.ts +19 -19
- package/corpus/templates/macros/app/i18n/de-DE.ts +19 -19
- package/corpus/templates/macros/app/i18n/es-ES.ts +19 -19
- package/corpus/templates/macros/app/i18n/fr-FR.ts +20 -19
- package/corpus/templates/macros/app/i18n/hi-IN.ts +19 -19
- package/corpus/templates/macros/app/i18n/ja-JP.ts +19 -19
- package/corpus/templates/macros/app/i18n/ko-KR.ts +19 -19
- package/corpus/templates/macros/app/i18n/pt-BR.ts +19 -19
- package/corpus/templates/macros/app/i18n/zh-CN.ts +19 -20
- package/corpus/templates/macros/vite.config.ts +10 -5
- package/corpus/templates/mail/app/i18n/ar-SA.ts +26 -26
- package/corpus/templates/mail/app/i18n/de-DE.ts +26 -26
- package/corpus/templates/mail/app/i18n/es-ES.ts +26 -26
- package/corpus/templates/mail/app/i18n/fr-FR.ts +25 -25
- package/corpus/templates/mail/app/i18n/hi-IN.ts +26 -26
- package/corpus/templates/mail/app/i18n/ja-JP.ts +26 -26
- package/corpus/templates/mail/app/i18n/ko-KR.ts +26 -26
- package/corpus/templates/mail/app/i18n/pt-BR.ts +26 -26
- package/corpus/templates/mail/app/i18n/zh-CN.ts +26 -26
- package/corpus/templates/mail/vite.config.ts +10 -5
- package/corpus/templates/plan/app/i18n/ar-SA.ts +10 -11
- package/corpus/templates/plan/app/i18n/de-DE.ts +10 -10
- package/corpus/templates/plan/app/i18n/es-ES.ts +10 -10
- package/corpus/templates/plan/app/i18n/fr-FR.ts +10 -10
- package/corpus/templates/plan/app/i18n/hi-IN.ts +10 -10
- package/corpus/templates/plan/app/i18n/ja-JP.ts +10 -11
- package/corpus/templates/plan/app/i18n/ko-KR.ts +10 -10
- package/corpus/templates/plan/app/i18n/pt-BR.ts +10 -10
- package/corpus/templates/plan/app/i18n/zh-CN.ts +10 -12
- package/corpus/templates/plan/vite.config.ts +14 -9
- package/corpus/templates/slides/app/i18n/ar-SA.ts +6 -6
- package/corpus/templates/slides/app/i18n/de-DE.ts +6 -6
- package/corpus/templates/slides/app/i18n/es-ES.ts +6 -6
- package/corpus/templates/slides/app/i18n/fr-FR.ts +6 -6
- package/corpus/templates/slides/app/i18n/hi-IN.ts +6 -6
- package/corpus/templates/slides/app/i18n/ja-JP.ts +6 -6
- package/corpus/templates/slides/app/i18n/ko-KR.ts +6 -6
- package/corpus/templates/slides/app/i18n/pt-BR.ts +6 -6
- package/corpus/templates/slides/app/i18n/zh-CN.ts +6 -6
- package/corpus/templates/slides/vite.config.ts +17 -12
- package/corpus/templates/videos/app/i18n/ar-SA.ts +8 -8
- package/corpus/templates/videos/app/i18n/de-DE.ts +9 -8
- package/corpus/templates/videos/app/i18n/es-ES.ts +9 -8
- package/corpus/templates/videos/app/i18n/fr-FR.ts +9 -8
- package/corpus/templates/videos/app/i18n/hi-IN.ts +8 -9
- package/corpus/templates/videos/app/i18n/ja-JP.ts +8 -8
- package/corpus/templates/videos/app/i18n/ko-KR.ts +8 -8
- package/corpus/templates/videos/app/i18n/pt-BR.ts +8 -8
- package/corpus/templates/videos/app/i18n/zh-CN.ts +8 -9
- package/corpus/templates/videos/vite.config.ts +10 -5
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +9 -5
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/agent/run-store.d.ts +1 -13
- package/dist/agent/run-store.d.ts.map +1 -1
- package/dist/agent/run-store.js +2 -14
- package/dist/agent/run-store.js.map +1 -1
- package/dist/client/AgentPanel.d.ts +4 -2
- package/dist/client/AgentPanel.d.ts.map +1 -1
- package/dist/client/AgentPanel.js +77 -36
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/i18n.d.ts +1 -0
- package/dist/client/i18n.d.ts.map +1 -1
- package/dist/client/i18n.js +60 -5
- package/dist/client/i18n.js.map +1 -1
- package/dist/client/sharing/ShareDialog.d.ts.map +1 -1
- package/dist/client/sharing/ShareDialog.js +76 -43
- package/dist/client/sharing/ShareDialog.js.map +1 -1
- package/dist/styles/agent-native.css +59 -0
- package/dist/templates/default/app/i18n/ar-SA.ts +155 -0
- package/dist/templates/default/app/i18n/de-DE.ts +155 -0
- package/dist/templates/default/app/i18n/en-US.ts +155 -0
- package/dist/templates/default/app/i18n/es-ES.ts +155 -0
- package/dist/templates/default/app/i18n/fr-FR.ts +155 -0
- package/dist/templates/default/app/i18n/hi-IN.ts +155 -0
- package/dist/templates/default/app/i18n/ja-JP.ts +155 -0
- package/dist/templates/default/app/i18n/ko-KR.ts +155 -0
- package/dist/templates/default/app/i18n/pt-BR.ts +155 -0
- package/dist/templates/default/app/i18n/zh-CN.ts +155 -0
- package/dist/templates/default/vite.config.ts +10 -5
- package/dist/vite/client.d.ts +29 -5
- package/dist/vite/client.d.ts.map +1 -1
- package/dist/vite/client.js +201 -106
- package/dist/vite/client.js.map +1 -1
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.d.ts.map +1 -1
- package/dist/vite/index.js +1 -1
- package/dist/vite/index.js.map +1 -1
- package/docs/content/deployment.md +8 -9
- package/docs/content/internationalization.md +6 -0
- package/docs/content/locales/ar-SA/a2a-protocol.md +20 -8
- package/docs/content/locales/ar-SA/actions.md +18 -6
- package/docs/content/locales/ar-SA/agent-mentions.md +18 -6
- package/docs/content/locales/ar-SA/agent-surfaces.md +4 -4
- package/docs/content/locales/ar-SA/agent-teams.md +6 -6
- package/docs/content/locales/ar-SA/agent-web-surfaces.md +13 -5
- package/docs/content/locales/ar-SA/authentication.md +4 -4
- package/docs/content/locales/ar-SA/automations.md +25 -9
- package/docs/content/locales/ar-SA/blueprint-installer.md +2 -2
- package/docs/content/locales/ar-SA/cli-adapters.md +2 -2
- package/docs/content/locales/ar-SA/client.md +4 -4
- package/docs/content/locales/ar-SA/cloneable-saas.md +4 -4
- package/docs/content/locales/ar-SA/code-agents-ui.md +4 -4
- package/docs/content/locales/ar-SA/components.md +4 -4
- package/docs/content/locales/ar-SA/context-awareness.md +25 -9
- package/docs/content/locales/ar-SA/creating-templates.md +16 -16
- package/docs/content/locales/ar-SA/cross-app-sso.md +2 -2
- package/docs/content/locales/ar-SA/database.md +2 -2
- package/docs/content/locales/ar-SA/deployment.md +15 -16
- package/docs/content/locales/ar-SA/dispatch.md +2 -2
- package/docs/content/locales/ar-SA/drop-in-agent.md +2 -2
- package/docs/content/locales/ar-SA/durable-resume.md +1 -1
- package/docs/content/locales/ar-SA/embedding-sdk.md +2 -2
- package/docs/content/locales/ar-SA/evals.md +2 -2
- package/docs/content/locales/ar-SA/extensions.md +2 -2
- package/docs/content/locales/ar-SA/external-agents.md +2 -2
- package/docs/content/locales/ar-SA/faq.md +2 -2
- package/docs/content/locales/ar-SA/file-uploads.md +1 -1
- package/docs/content/locales/ar-SA/frames.md +2 -2
- package/docs/content/locales/ar-SA/getting-started.md +5 -5
- package/docs/content/locales/ar-SA/harness-agents.md +2 -2
- package/docs/content/locales/ar-SA/human-approval.md +2 -2
- package/docs/content/locales/ar-SA/internationalization.md +2 -0
- package/docs/content/locales/ar-SA/key-concepts.md +7 -7
- package/docs/content/locales/ar-SA/local-file-mode.md +8 -8
- package/docs/content/locales/ar-SA/mcp-apps.md +3 -3
- package/docs/content/locales/ar-SA/mcp-clients.md +3 -3
- package/docs/content/locales/ar-SA/mcp-protocol.md +2 -2
- package/docs/content/locales/ar-SA/messaging.md +2 -2
- package/docs/content/locales/ar-SA/migration-workbench.md +1 -1
- package/docs/content/locales/ar-SA/multi-app-workspace.md +8 -8
- package/docs/content/locales/ar-SA/multi-tenancy.md +2 -2
- package/docs/content/locales/ar-SA/native-chat-ui.md +2 -2
- package/docs/content/locales/ar-SA/notifications.md +2 -2
- package/docs/content/locales/ar-SA/observability.md +3 -3
- package/docs/content/locales/ar-SA/observational-memory.md +2 -2
- package/docs/content/locales/ar-SA/onboarding.md +2 -2
- package/docs/content/locales/ar-SA/plan-plugin.md +2 -2
- package/docs/content/locales/ar-SA/pr-visual-recap.md +2 -2
- package/docs/content/locales/ar-SA/processors.md +1 -1
- package/docs/content/locales/ar-SA/progress.md +1 -1
- package/docs/content/locales/ar-SA/pure-agent-apps.md +1 -1
- package/docs/content/locales/ar-SA/real-time-collaboration.md +7 -3
- package/docs/content/locales/ar-SA/recurring-jobs.md +1 -1
- package/docs/content/locales/ar-SA/routing.md +1 -1
- package/docs/content/locales/ar-SA/sandbox-adapters.md +6 -6
- package/docs/content/locales/ar-SA/security.md +2 -2
- package/docs/content/locales/ar-SA/server.md +22 -10
- package/docs/content/locales/ar-SA/sharing.md +1 -1
- package/docs/content/locales/ar-SA/skills-guide.md +3 -3
- package/docs/content/locales/ar-SA/template-analytics.md +1 -1
- package/docs/content/locales/ar-SA/template-assets.md +2 -2
- package/docs/content/locales/ar-SA/template-brain.md +1 -1
- package/docs/content/locales/ar-SA/template-calendar.md +2 -2
- package/docs/content/locales/ar-SA/template-chat.md +7 -7
- package/docs/content/locales/ar-SA/template-clips.md +3 -3
- package/docs/content/locales/ar-SA/template-content.md +2 -2
- package/docs/content/locales/ar-SA/template-design.md +3 -3
- package/docs/content/locales/ar-SA/template-dispatch.md +1 -1
- package/docs/content/locales/ar-SA/template-forms.md +2 -2
- package/docs/content/locales/ar-SA/template-mail.md +2 -2
- package/docs/content/locales/ar-SA/template-plan.md +2 -2
- package/docs/content/locales/ar-SA/template-slides.md +3 -3
- package/docs/content/locales/ar-SA/template-videos.md +1 -1
- package/docs/content/locales/ar-SA/tracking.md +1 -1
- package/docs/content/locales/ar-SA/using-your-agent.md +1 -1
- package/docs/content/locales/ar-SA/voice-input.md +1 -1
- package/docs/content/locales/ar-SA/what-is-agent-native.md +5 -5
- package/docs/content/locales/ar-SA/workspace-connections.md +2 -2
- package/docs/content/locales/ar-SA/workspace-management.md +6 -6
- package/docs/content/locales/ar-SA/workspace.md +4 -4
- package/docs/content/locales/ar-SA/writing-agent-instructions.md +1 -1
- package/docs/content/locales/de-DE/a2a-protocol.md +3 -3
- package/docs/content/locales/de-DE/actions.md +3 -3
- package/docs/content/locales/de-DE/agent-mentions.md +2 -2
- package/docs/content/locales/de-DE/agent-surfaces.md +2 -2
- package/docs/content/locales/de-DE/agent-teams.md +3 -3
- package/docs/content/locales/de-DE/agent-web-surfaces.md +2 -2
- package/docs/content/locales/de-DE/authentication.md +2 -2
- package/docs/content/locales/de-DE/automations.md +3 -3
- package/docs/content/locales/de-DE/blueprint-installer.md +1 -1
- package/docs/content/locales/de-DE/cli-adapters.md +1 -1
- package/docs/content/locales/de-DE/client.md +3 -3
- package/docs/content/locales/de-DE/cloneable-saas.md +3 -3
- package/docs/content/locales/de-DE/code-agents-ui.md +3 -3
- package/docs/content/locales/de-DE/components.md +2 -2
- package/docs/content/locales/de-DE/context-awareness.md +3 -3
- package/docs/content/locales/de-DE/creating-templates.md +16 -16
- package/docs/content/locales/de-DE/cross-app-sso.md +2 -2
- package/docs/content/locales/de-DE/database.md +2 -2
- package/docs/content/locales/de-DE/deployment.md +15 -16
- package/docs/content/locales/de-DE/dispatch.md +2 -2
- package/docs/content/locales/de-DE/drop-in-agent.md +2 -2
- package/docs/content/locales/de-DE/durable-resume.md +1 -1
- package/docs/content/locales/de-DE/embedding-sdk.md +2 -2
- package/docs/content/locales/de-DE/evals.md +2 -2
- package/docs/content/locales/de-DE/extensions.md +2 -2
- package/docs/content/locales/de-DE/external-agents.md +2 -2
- package/docs/content/locales/de-DE/faq.md +2 -2
- package/docs/content/locales/de-DE/file-uploads.md +1 -1
- package/docs/content/locales/de-DE/frames.md +2 -2
- package/docs/content/locales/de-DE/getting-started.md +5 -5
- package/docs/content/locales/de-DE/harness-agents.md +2 -2
- package/docs/content/locales/de-DE/human-approval.md +2 -2
- package/docs/content/locales/de-DE/internationalization.md +2 -0
- package/docs/content/locales/de-DE/key-concepts.md +7 -7
- package/docs/content/locales/de-DE/local-file-mode.md +8 -8
- package/docs/content/locales/de-DE/mcp-apps.md +3 -3
- package/docs/content/locales/de-DE/mcp-clients.md +3 -3
- package/docs/content/locales/de-DE/mcp-protocol.md +2 -2
- package/docs/content/locales/de-DE/messaging.md +2 -2
- package/docs/content/locales/de-DE/migration-workbench.md +1 -1
- package/docs/content/locales/de-DE/multi-app-workspace.md +8 -8
- package/docs/content/locales/de-DE/multi-tenancy.md +2 -2
- package/docs/content/locales/de-DE/native-chat-ui.md +2 -2
- package/docs/content/locales/de-DE/notifications.md +2 -2
- package/docs/content/locales/de-DE/observability.md +3 -3
- package/docs/content/locales/de-DE/observational-memory.md +2 -2
- package/docs/content/locales/de-DE/onboarding.md +2 -2
- package/docs/content/locales/de-DE/plan-plugin.md +2 -2
- package/docs/content/locales/de-DE/pr-visual-recap.md +2 -2
- package/docs/content/locales/de-DE/processors.md +1 -1
- package/docs/content/locales/de-DE/progress.md +1 -1
- package/docs/content/locales/de-DE/pure-agent-apps.md +1 -1
- package/docs/content/locales/de-DE/real-time-collaboration.md +7 -3
- package/docs/content/locales/de-DE/recurring-jobs.md +1 -1
- package/docs/content/locales/de-DE/routing.md +1 -1
- package/docs/content/locales/de-DE/sandbox-adapters.md +6 -6
- package/docs/content/locales/de-DE/security.md +2 -2
- package/docs/content/locales/de-DE/server.md +22 -10
- package/docs/content/locales/de-DE/sharing.md +1 -1
- package/docs/content/locales/de-DE/skills-guide.md +3 -3
- package/docs/content/locales/de-DE/template-analytics.md +1 -1
- package/docs/content/locales/de-DE/template-assets.md +1 -1
- package/docs/content/locales/de-DE/template-brain.md +1 -1
- package/docs/content/locales/de-DE/template-calendar.md +2 -2
- package/docs/content/locales/de-DE/template-chat.md +7 -7
- package/docs/content/locales/de-DE/template-clips.md +3 -3
- package/docs/content/locales/de-DE/template-content.md +2 -2
- package/docs/content/locales/de-DE/template-design.md +1 -1
- package/docs/content/locales/de-DE/template-dispatch.md +1 -1
- package/docs/content/locales/de-DE/template-forms.md +2 -2
- package/docs/content/locales/de-DE/template-mail.md +2 -2
- package/docs/content/locales/de-DE/template-plan.md +2 -2
- package/docs/content/locales/de-DE/template-slides.md +3 -3
- package/docs/content/locales/de-DE/template-videos.md +1 -1
- package/docs/content/locales/de-DE/tracking.md +1 -1
- package/docs/content/locales/de-DE/using-your-agent.md +1 -1
- package/docs/content/locales/de-DE/voice-input.md +1 -1
- package/docs/content/locales/de-DE/what-is-agent-native.md +5 -5
- package/docs/content/locales/de-DE/workspace-connections.md +2 -2
- package/docs/content/locales/de-DE/workspace-management.md +6 -6
- package/docs/content/locales/de-DE/workspace.md +4 -4
- package/docs/content/locales/de-DE/writing-agent-instructions.md +1 -1
- package/docs/content/locales/es-ES/a2a-protocol.md +3 -3
- package/docs/content/locales/es-ES/actions.md +3 -3
- package/docs/content/locales/es-ES/agent-mentions.md +2 -2
- package/docs/content/locales/es-ES/agent-surfaces.md +2 -2
- package/docs/content/locales/es-ES/agent-teams.md +3 -3
- package/docs/content/locales/es-ES/agent-web-surfaces.md +2 -2
- package/docs/content/locales/es-ES/authentication.md +2 -2
- package/docs/content/locales/es-ES/automations.md +3 -3
- package/docs/content/locales/es-ES/blueprint-installer.md +1 -1
- package/docs/content/locales/es-ES/cli-adapters.md +1 -1
- package/docs/content/locales/es-ES/client.md +3 -3
- package/docs/content/locales/es-ES/cloneable-saas.md +3 -3
- package/docs/content/locales/es-ES/code-agents-ui.md +3 -3
- package/docs/content/locales/es-ES/components.md +2 -2
- package/docs/content/locales/es-ES/context-awareness.md +3 -3
- package/docs/content/locales/es-ES/creating-templates.md +16 -16
- package/docs/content/locales/es-ES/cross-app-sso.md +2 -2
- package/docs/content/locales/es-ES/database.md +2 -2
- package/docs/content/locales/es-ES/deployment.md +15 -16
- package/docs/content/locales/es-ES/dispatch.md +2 -2
- package/docs/content/locales/es-ES/drop-in-agent.md +2 -2
- package/docs/content/locales/es-ES/durable-resume.md +1 -1
- package/docs/content/locales/es-ES/embedding-sdk.md +2 -2
- package/docs/content/locales/es-ES/evals.md +2 -2
- package/docs/content/locales/es-ES/extensions.md +2 -2
- package/docs/content/locales/es-ES/external-agents.md +2 -2
- package/docs/content/locales/es-ES/faq.md +2 -2
- package/docs/content/locales/es-ES/file-uploads.md +1 -1
- package/docs/content/locales/es-ES/frames.md +2 -2
- package/docs/content/locales/es-ES/getting-started.md +5 -5
- package/docs/content/locales/es-ES/harness-agents.md +2 -2
- package/docs/content/locales/es-ES/human-approval.md +2 -2
- package/docs/content/locales/es-ES/internationalization.md +2 -0
- package/docs/content/locales/es-ES/key-concepts.md +7 -7
- package/docs/content/locales/es-ES/local-file-mode.md +8 -8
- package/docs/content/locales/es-ES/mcp-apps.md +3 -3
- package/docs/content/locales/es-ES/mcp-clients.md +3 -3
- package/docs/content/locales/es-ES/mcp-protocol.md +2 -2
- package/docs/content/locales/es-ES/messaging.md +2 -2
- package/docs/content/locales/es-ES/migration-workbench.md +1 -1
- package/docs/content/locales/es-ES/multi-app-workspace.md +8 -8
- package/docs/content/locales/es-ES/multi-tenancy.md +2 -2
- package/docs/content/locales/es-ES/native-chat-ui.md +2 -2
- package/docs/content/locales/es-ES/notifications.md +2 -2
- package/docs/content/locales/es-ES/observability.md +3 -3
- package/docs/content/locales/es-ES/observational-memory.md +2 -2
- package/docs/content/locales/es-ES/onboarding.md +2 -2
- package/docs/content/locales/es-ES/plan-plugin.md +2 -2
- package/docs/content/locales/es-ES/pr-visual-recap.md +2 -2
- package/docs/content/locales/es-ES/processors.md +1 -1
- package/docs/content/locales/es-ES/progress.md +1 -1
- package/docs/content/locales/es-ES/pure-agent-apps.md +1 -1
- package/docs/content/locales/es-ES/real-time-collaboration.md +7 -3
- package/docs/content/locales/es-ES/recurring-jobs.md +1 -1
- package/docs/content/locales/es-ES/routing.md +1 -1
- package/docs/content/locales/es-ES/sandbox-adapters.md +6 -6
- package/docs/content/locales/es-ES/security.md +2 -2
- package/docs/content/locales/es-ES/server.md +22 -10
- package/docs/content/locales/es-ES/sharing.md +1 -1
- package/docs/content/locales/es-ES/skills-guide.md +3 -3
- package/docs/content/locales/es-ES/template-analytics.md +1 -1
- package/docs/content/locales/es-ES/template-assets.md +1 -1
- package/docs/content/locales/es-ES/template-brain.md +1 -1
- package/docs/content/locales/es-ES/template-calendar.md +2 -2
- package/docs/content/locales/es-ES/template-chat.md +7 -7
- package/docs/content/locales/es-ES/template-clips.md +3 -3
- package/docs/content/locales/es-ES/template-content.md +2 -2
- package/docs/content/locales/es-ES/template-design.md +1 -1
- package/docs/content/locales/es-ES/template-dispatch.md +1 -1
- package/docs/content/locales/es-ES/template-forms.md +2 -2
- package/docs/content/locales/es-ES/template-mail.md +2 -2
- package/docs/content/locales/es-ES/template-plan.md +2 -2
- package/docs/content/locales/es-ES/template-slides.md +3 -3
- package/docs/content/locales/es-ES/template-videos.md +1 -1
- package/docs/content/locales/es-ES/tracking.md +1 -1
- package/docs/content/locales/es-ES/using-your-agent.md +1 -1
- package/docs/content/locales/es-ES/voice-input.md +1 -1
- package/docs/content/locales/es-ES/what-is-agent-native.md +5 -5
- package/docs/content/locales/es-ES/workspace-connections.md +2 -2
- package/docs/content/locales/es-ES/workspace-management.md +6 -6
- package/docs/content/locales/es-ES/workspace.md +4 -4
- package/docs/content/locales/es-ES/writing-agent-instructions.md +1 -1
- package/docs/content/locales/fr-FR/a2a-protocol.md +3 -3
- package/docs/content/locales/fr-FR/actions.md +3 -3
- package/docs/content/locales/fr-FR/agent-mentions.md +2 -2
- package/docs/content/locales/fr-FR/agent-surfaces.md +2 -2
- package/docs/content/locales/fr-FR/agent-teams.md +3 -3
- package/docs/content/locales/fr-FR/agent-web-surfaces.md +2 -2
- package/docs/content/locales/fr-FR/authentication.md +2 -2
- package/docs/content/locales/fr-FR/automations.md +3 -3
- package/docs/content/locales/fr-FR/blueprint-installer.md +1 -1
- package/docs/content/locales/fr-FR/cli-adapters.md +1 -1
- package/docs/content/locales/fr-FR/client.md +3 -3
- package/docs/content/locales/fr-FR/cloneable-saas.md +3 -3
- package/docs/content/locales/fr-FR/code-agents-ui.md +3 -3
- package/docs/content/locales/fr-FR/components.md +2 -2
- package/docs/content/locales/fr-FR/context-awareness.md +3 -3
- package/docs/content/locales/fr-FR/creating-templates.md +16 -16
- package/docs/content/locales/fr-FR/cross-app-sso.md +2 -2
- package/docs/content/locales/fr-FR/database.md +2 -2
- package/docs/content/locales/fr-FR/deployment.md +15 -16
- package/docs/content/locales/fr-FR/dispatch.md +2 -2
- package/docs/content/locales/fr-FR/drop-in-agent.md +2 -2
- package/docs/content/locales/fr-FR/durable-resume.md +1 -1
- package/docs/content/locales/fr-FR/embedding-sdk.md +2 -2
- package/docs/content/locales/fr-FR/evals.md +2 -2
- package/docs/content/locales/fr-FR/extensions.md +2 -2
- package/docs/content/locales/fr-FR/external-agents.md +2 -2
- package/docs/content/locales/fr-FR/faq.md +2 -2
- package/docs/content/locales/fr-FR/file-uploads.md +1 -1
- package/docs/content/locales/fr-FR/frames.md +2 -2
- package/docs/content/locales/fr-FR/getting-started.md +5 -5
- package/docs/content/locales/fr-FR/harness-agents.md +2 -2
- package/docs/content/locales/fr-FR/human-approval.md +2 -2
- package/docs/content/locales/fr-FR/internationalization.md +2 -0
- package/docs/content/locales/fr-FR/key-concepts.md +7 -7
- package/docs/content/locales/fr-FR/local-file-mode.md +8 -8
- package/docs/content/locales/fr-FR/mcp-apps.md +3 -3
- package/docs/content/locales/fr-FR/mcp-clients.md +3 -3
- package/docs/content/locales/fr-FR/mcp-protocol.md +2 -2
- package/docs/content/locales/fr-FR/messaging.md +2 -2
- package/docs/content/locales/fr-FR/migration-workbench.md +1 -1
- package/docs/content/locales/fr-FR/multi-app-workspace.md +8 -8
- package/docs/content/locales/fr-FR/multi-tenancy.md +2 -2
- package/docs/content/locales/fr-FR/native-chat-ui.md +2 -2
- package/docs/content/locales/fr-FR/notifications.md +2 -2
- package/docs/content/locales/fr-FR/observability.md +3 -3
- package/docs/content/locales/fr-FR/observational-memory.md +2 -2
- package/docs/content/locales/fr-FR/onboarding.md +2 -2
- package/docs/content/locales/fr-FR/plan-plugin.md +2 -2
- package/docs/content/locales/fr-FR/pr-visual-recap.md +2 -2
- package/docs/content/locales/fr-FR/processors.md +1 -1
- package/docs/content/locales/fr-FR/progress.md +1 -1
- package/docs/content/locales/fr-FR/pure-agent-apps.md +1 -1
- package/docs/content/locales/fr-FR/real-time-collaboration.md +7 -3
- package/docs/content/locales/fr-FR/recurring-jobs.md +1 -1
- package/docs/content/locales/fr-FR/routing.md +1 -1
- package/docs/content/locales/fr-FR/sandbox-adapters.md +6 -6
- package/docs/content/locales/fr-FR/security.md +2 -2
- package/docs/content/locales/fr-FR/server.md +22 -10
- package/docs/content/locales/fr-FR/sharing.md +1 -1
- package/docs/content/locales/fr-FR/skills-guide.md +3 -3
- package/docs/content/locales/fr-FR/template-analytics.md +1 -1
- package/docs/content/locales/fr-FR/template-assets.md +2 -2
- package/docs/content/locales/fr-FR/template-brain.md +1 -1
- package/docs/content/locales/fr-FR/template-calendar.md +2 -2
- package/docs/content/locales/fr-FR/template-chat.md +7 -7
- package/docs/content/locales/fr-FR/template-clips.md +3 -3
- package/docs/content/locales/fr-FR/template-content.md +2 -2
- package/docs/content/locales/fr-FR/template-design.md +2 -2
- package/docs/content/locales/fr-FR/template-dispatch.md +1 -1
- package/docs/content/locales/fr-FR/template-forms.md +2 -2
- package/docs/content/locales/fr-FR/template-mail.md +2 -2
- package/docs/content/locales/fr-FR/template-plan.md +2 -2
- package/docs/content/locales/fr-FR/template-slides.md +3 -3
- package/docs/content/locales/fr-FR/template-videos.md +1 -1
- package/docs/content/locales/fr-FR/tracking.md +1 -1
- package/docs/content/locales/fr-FR/using-your-agent.md +1 -1
- package/docs/content/locales/fr-FR/voice-input.md +1 -1
- package/docs/content/locales/fr-FR/what-is-agent-native.md +5 -5
- package/docs/content/locales/fr-FR/workspace-connections.md +2 -2
- package/docs/content/locales/fr-FR/workspace-management.md +6 -6
- package/docs/content/locales/fr-FR/workspace.md +4 -4
- package/docs/content/locales/fr-FR/writing-agent-instructions.md +1 -1
- package/docs/content/locales/hi-IN/a2a-protocol.md +3 -3
- package/docs/content/locales/hi-IN/actions.md +3 -3
- package/docs/content/locales/hi-IN/agent-mentions.md +2 -2
- package/docs/content/locales/hi-IN/agent-surfaces.md +2 -2
- package/docs/content/locales/hi-IN/agent-teams.md +3 -3
- package/docs/content/locales/hi-IN/agent-web-surfaces.md +2 -2
- package/docs/content/locales/hi-IN/authentication.md +2 -2
- package/docs/content/locales/hi-IN/automations.md +3 -3
- package/docs/content/locales/hi-IN/blueprint-installer.md +1 -1
- package/docs/content/locales/hi-IN/cli-adapters.md +1 -1
- package/docs/content/locales/hi-IN/client.md +3 -3
- package/docs/content/locales/hi-IN/cloneable-saas.md +3 -3
- package/docs/content/locales/hi-IN/code-agents-ui.md +3 -3
- package/docs/content/locales/hi-IN/components.md +2 -2
- package/docs/content/locales/hi-IN/context-awareness.md +3 -3
- package/docs/content/locales/hi-IN/creating-templates.md +16 -16
- package/docs/content/locales/hi-IN/cross-app-sso.md +2 -2
- package/docs/content/locales/hi-IN/database.md +2 -2
- package/docs/content/locales/hi-IN/deployment.md +15 -16
- package/docs/content/locales/hi-IN/dispatch.md +2 -2
- package/docs/content/locales/hi-IN/drop-in-agent.md +2 -2
- package/docs/content/locales/hi-IN/durable-resume.md +1 -1
- package/docs/content/locales/hi-IN/embedding-sdk.md +2 -2
- package/docs/content/locales/hi-IN/evals.md +2 -2
- package/docs/content/locales/hi-IN/extensions.md +2 -2
- package/docs/content/locales/hi-IN/external-agents.md +2 -2
- package/docs/content/locales/hi-IN/faq.md +2 -2
- package/docs/content/locales/hi-IN/file-uploads.md +1 -1
- package/docs/content/locales/hi-IN/frames.md +2 -2
- package/docs/content/locales/hi-IN/getting-started.md +6 -6
- package/docs/content/locales/hi-IN/harness-agents.md +2 -2
- package/docs/content/locales/hi-IN/human-approval.md +2 -2
- package/docs/content/locales/hi-IN/internationalization.md +2 -0
- package/docs/content/locales/hi-IN/key-concepts.md +7 -7
- package/docs/content/locales/hi-IN/local-file-mode.md +8 -8
- package/docs/content/locales/hi-IN/mcp-apps.md +3 -3
- package/docs/content/locales/hi-IN/mcp-clients.md +3 -3
- package/docs/content/locales/hi-IN/mcp-protocol.md +2 -2
- package/docs/content/locales/hi-IN/messaging.md +2 -2
- package/docs/content/locales/hi-IN/migration-workbench.md +1 -1
- package/docs/content/locales/hi-IN/multi-app-workspace.md +8 -8
- package/docs/content/locales/hi-IN/multi-tenancy.md +2 -2
- package/docs/content/locales/hi-IN/native-chat-ui.md +2 -2
- package/docs/content/locales/hi-IN/notifications.md +2 -2
- package/docs/content/locales/hi-IN/observability.md +3 -3
- package/docs/content/locales/hi-IN/observational-memory.md +2 -2
- package/docs/content/locales/hi-IN/onboarding.md +2 -2
- package/docs/content/locales/hi-IN/plan-plugin.md +2 -2
- package/docs/content/locales/hi-IN/pr-visual-recap.md +2 -2
- package/docs/content/locales/hi-IN/processors.md +1 -1
- package/docs/content/locales/hi-IN/progress.md +1 -1
- package/docs/content/locales/hi-IN/pure-agent-apps.md +1 -1
- package/docs/content/locales/hi-IN/real-time-collaboration.md +7 -3
- package/docs/content/locales/hi-IN/recurring-jobs.md +1 -1
- package/docs/content/locales/hi-IN/routing.md +1 -1
- package/docs/content/locales/hi-IN/sandbox-adapters.md +6 -6
- package/docs/content/locales/hi-IN/security.md +2 -2
- package/docs/content/locales/hi-IN/server.md +22 -10
- package/docs/content/locales/hi-IN/sharing.md +1 -1
- package/docs/content/locales/hi-IN/skills-guide.md +3 -3
- package/docs/content/locales/hi-IN/template-analytics.md +1 -1
- package/docs/content/locales/hi-IN/template-assets.md +2 -2
- package/docs/content/locales/hi-IN/template-brain.md +1 -1
- package/docs/content/locales/hi-IN/template-calendar.md +2 -2
- package/docs/content/locales/hi-IN/template-chat.md +7 -7
- package/docs/content/locales/hi-IN/template-clips.md +3 -3
- package/docs/content/locales/hi-IN/template-content.md +2 -2
- package/docs/content/locales/hi-IN/template-design.md +2 -2
- package/docs/content/locales/hi-IN/template-dispatch.md +1 -1
- package/docs/content/locales/hi-IN/template-forms.md +2 -2
- package/docs/content/locales/hi-IN/template-mail.md +2 -2
- package/docs/content/locales/hi-IN/template-plan.md +2 -2
- package/docs/content/locales/hi-IN/template-slides.md +3 -3
- package/docs/content/locales/hi-IN/template-videos.md +1 -1
- package/docs/content/locales/hi-IN/tracking.md +1 -1
- package/docs/content/locales/hi-IN/using-your-agent.md +1 -1
- package/docs/content/locales/hi-IN/voice-input.md +1 -1
- package/docs/content/locales/hi-IN/what-is-agent-native.md +5 -5
- package/docs/content/locales/hi-IN/workspace-connections.md +2 -2
- package/docs/content/locales/hi-IN/workspace-management.md +6 -6
- package/docs/content/locales/hi-IN/workspace.md +4 -4
- package/docs/content/locales/hi-IN/writing-agent-instructions.md +1 -1
- package/docs/content/locales/ja-JP/a2a-protocol.md +3 -3
- package/docs/content/locales/ja-JP/actions.md +3 -3
- package/docs/content/locales/ja-JP/agent-mentions.md +2 -2
- package/docs/content/locales/ja-JP/agent-surfaces.md +2 -2
- package/docs/content/locales/ja-JP/agent-teams.md +3 -3
- package/docs/content/locales/ja-JP/agent-web-surfaces.md +2 -2
- package/docs/content/locales/ja-JP/authentication.md +2 -2
- package/docs/content/locales/ja-JP/automations.md +3 -3
- package/docs/content/locales/ja-JP/blueprint-installer.md +1 -1
- package/docs/content/locales/ja-JP/cli-adapters.md +1 -1
- package/docs/content/locales/ja-JP/client.md +3 -3
- package/docs/content/locales/ja-JP/cloneable-saas.md +3 -3
- package/docs/content/locales/ja-JP/code-agents-ui.md +3 -3
- package/docs/content/locales/ja-JP/components.md +2 -2
- package/docs/content/locales/ja-JP/context-awareness.md +3 -3
- package/docs/content/locales/ja-JP/creating-templates.md +16 -16
- package/docs/content/locales/ja-JP/cross-app-sso.md +2 -2
- package/docs/content/locales/ja-JP/database.md +2 -2
- package/docs/content/locales/ja-JP/deployment.md +15 -16
- package/docs/content/locales/ja-JP/dispatch.md +2 -2
- package/docs/content/locales/ja-JP/drop-in-agent.md +2 -2
- package/docs/content/locales/ja-JP/durable-resume.md +1 -1
- package/docs/content/locales/ja-JP/embedding-sdk.md +2 -2
- package/docs/content/locales/ja-JP/evals.md +2 -2
- package/docs/content/locales/ja-JP/extensions.md +2 -2
- package/docs/content/locales/ja-JP/external-agents.md +2 -2
- package/docs/content/locales/ja-JP/faq.md +2 -2
- package/docs/content/locales/ja-JP/file-uploads.md +1 -1
- package/docs/content/locales/ja-JP/frames.md +2 -2
- package/docs/content/locales/ja-JP/getting-started.md +5 -5
- package/docs/content/locales/ja-JP/harness-agents.md +2 -2
- package/docs/content/locales/ja-JP/human-approval.md +2 -2
- package/docs/content/locales/ja-JP/internationalization.md +2 -0
- package/docs/content/locales/ja-JP/key-concepts.md +7 -7
- package/docs/content/locales/ja-JP/local-file-mode.md +8 -8
- package/docs/content/locales/ja-JP/mcp-apps.md +3 -3
- package/docs/content/locales/ja-JP/mcp-clients.md +3 -3
- package/docs/content/locales/ja-JP/mcp-protocol.md +2 -2
- package/docs/content/locales/ja-JP/messaging.md +2 -2
- package/docs/content/locales/ja-JP/migration-workbench.md +1 -1
- package/docs/content/locales/ja-JP/multi-app-workspace.md +8 -8
- package/docs/content/locales/ja-JP/multi-tenancy.md +2 -2
- package/docs/content/locales/ja-JP/native-chat-ui.md +2 -2
- package/docs/content/locales/ja-JP/notifications.md +2 -2
- package/docs/content/locales/ja-JP/observability.md +3 -3
- package/docs/content/locales/ja-JP/observational-memory.md +2 -2
- package/docs/content/locales/ja-JP/onboarding.md +2 -2
- package/docs/content/locales/ja-JP/plan-plugin.md +2 -2
- package/docs/content/locales/ja-JP/pr-visual-recap.md +2 -2
- package/docs/content/locales/ja-JP/processors.md +1 -1
- package/docs/content/locales/ja-JP/progress.md +1 -1
- package/docs/content/locales/ja-JP/pure-agent-apps.md +1 -1
- package/docs/content/locales/ja-JP/real-time-collaboration.md +7 -3
- package/docs/content/locales/ja-JP/recurring-jobs.md +1 -1
- package/docs/content/locales/ja-JP/routing.md +1 -1
- package/docs/content/locales/ja-JP/sandbox-adapters.md +6 -6
- package/docs/content/locales/ja-JP/security.md +2 -2
- package/docs/content/locales/ja-JP/server.md +22 -10
- package/docs/content/locales/ja-JP/sharing.md +1 -1
- package/docs/content/locales/ja-JP/skills-guide.md +3 -3
- package/docs/content/locales/ja-JP/template-analytics.md +1 -1
- package/docs/content/locales/ja-JP/template-assets.md +2 -2
- package/docs/content/locales/ja-JP/template-brain.md +1 -1
- package/docs/content/locales/ja-JP/template-calendar.md +2 -2
- package/docs/content/locales/ja-JP/template-chat.md +7 -7
- package/docs/content/locales/ja-JP/template-clips.md +3 -3
- package/docs/content/locales/ja-JP/template-content.md +2 -2
- package/docs/content/locales/ja-JP/template-design.md +2 -2
- package/docs/content/locales/ja-JP/template-dispatch.md +1 -1
- package/docs/content/locales/ja-JP/template-forms.md +2 -2
- package/docs/content/locales/ja-JP/template-mail.md +2 -2
- package/docs/content/locales/ja-JP/template-plan.md +2 -2
- package/docs/content/locales/ja-JP/template-slides.md +3 -3
- package/docs/content/locales/ja-JP/template-videos.md +1 -1
- package/docs/content/locales/ja-JP/tracking.md +1 -1
- package/docs/content/locales/ja-JP/using-your-agent.md +1 -1
- package/docs/content/locales/ja-JP/voice-input.md +1 -1
- package/docs/content/locales/ja-JP/what-is-agent-native.md +5 -5
- package/docs/content/locales/ja-JP/workspace-connections.md +2 -2
- package/docs/content/locales/ja-JP/workspace-management.md +6 -6
- package/docs/content/locales/ja-JP/workspace.md +4 -4
- package/docs/content/locales/ja-JP/writing-agent-instructions.md +1 -1
- package/docs/content/locales/ko-KR/a2a-protocol.md +3 -3
- package/docs/content/locales/ko-KR/actions.md +3 -3
- package/docs/content/locales/ko-KR/agent-mentions.md +2 -2
- package/docs/content/locales/ko-KR/agent-surfaces.md +2 -2
- package/docs/content/locales/ko-KR/agent-teams.md +3 -3
- package/docs/content/locales/ko-KR/agent-web-surfaces.md +2 -2
- package/docs/content/locales/ko-KR/authentication.md +2 -2
- package/docs/content/locales/ko-KR/automations.md +3 -3
- package/docs/content/locales/ko-KR/blueprint-installer.md +1 -1
- package/docs/content/locales/ko-KR/cli-adapters.md +1 -1
- package/docs/content/locales/ko-KR/client.md +3 -3
- package/docs/content/locales/ko-KR/cloneable-saas.md +3 -3
- package/docs/content/locales/ko-KR/code-agents-ui.md +3 -3
- package/docs/content/locales/ko-KR/components.md +2 -2
- package/docs/content/locales/ko-KR/context-awareness.md +3 -3
- package/docs/content/locales/ko-KR/creating-templates.md +16 -16
- package/docs/content/locales/ko-KR/cross-app-sso.md +2 -2
- package/docs/content/locales/ko-KR/database.md +2 -2
- package/docs/content/locales/ko-KR/deployment.md +15 -16
- package/docs/content/locales/ko-KR/dispatch.md +2 -2
- package/docs/content/locales/ko-KR/drop-in-agent.md +2 -2
- package/docs/content/locales/ko-KR/durable-resume.md +1 -1
- package/docs/content/locales/ko-KR/embedding-sdk.md +2 -2
- package/docs/content/locales/ko-KR/evals.md +2 -2
- package/docs/content/locales/ko-KR/extensions.md +2 -2
- package/docs/content/locales/ko-KR/external-agents.md +2 -2
- package/docs/content/locales/ko-KR/faq.md +2 -2
- package/docs/content/locales/ko-KR/file-uploads.md +1 -1
- package/docs/content/locales/ko-KR/frames.md +2 -2
- package/docs/content/locales/ko-KR/getting-started.md +5 -5
- package/docs/content/locales/ko-KR/harness-agents.md +2 -2
- package/docs/content/locales/ko-KR/human-approval.md +2 -2
- package/docs/content/locales/ko-KR/internationalization.md +2 -0
- package/docs/content/locales/ko-KR/key-concepts.md +7 -7
- package/docs/content/locales/ko-KR/local-file-mode.md +8 -8
- package/docs/content/locales/ko-KR/mcp-apps.md +3 -3
- package/docs/content/locales/ko-KR/mcp-clients.md +3 -3
- package/docs/content/locales/ko-KR/mcp-protocol.md +2 -2
- package/docs/content/locales/ko-KR/messaging.md +2 -2
- package/docs/content/locales/ko-KR/migration-workbench.md +1 -1
- package/docs/content/locales/ko-KR/multi-app-workspace.md +8 -8
- package/docs/content/locales/ko-KR/multi-tenancy.md +2 -2
- package/docs/content/locales/ko-KR/native-chat-ui.md +2 -2
- package/docs/content/locales/ko-KR/notifications.md +2 -2
- package/docs/content/locales/ko-KR/observability.md +3 -3
- package/docs/content/locales/ko-KR/observational-memory.md +2 -2
- package/docs/content/locales/ko-KR/onboarding.md +2 -2
- package/docs/content/locales/ko-KR/plan-plugin.md +2 -2
- package/docs/content/locales/ko-KR/pr-visual-recap.md +2 -2
- package/docs/content/locales/ko-KR/processors.md +1 -1
- package/docs/content/locales/ko-KR/progress.md +1 -1
- package/docs/content/locales/ko-KR/pure-agent-apps.md +1 -1
- package/docs/content/locales/ko-KR/real-time-collaboration.md +7 -3
- package/docs/content/locales/ko-KR/recurring-jobs.md +1 -1
- package/docs/content/locales/ko-KR/routing.md +1 -1
- package/docs/content/locales/ko-KR/sandbox-adapters.md +6 -6
- package/docs/content/locales/ko-KR/security.md +2 -2
- package/docs/content/locales/ko-KR/server.md +22 -10
- package/docs/content/locales/ko-KR/sharing.md +1 -1
- package/docs/content/locales/ko-KR/skills-guide.md +3 -3
- package/docs/content/locales/ko-KR/template-analytics.md +1 -1
- package/docs/content/locales/ko-KR/template-assets.md +2 -2
- package/docs/content/locales/ko-KR/template-brain.md +1 -1
- package/docs/content/locales/ko-KR/template-calendar.md +2 -2
- package/docs/content/locales/ko-KR/template-chat.md +7 -7
- package/docs/content/locales/ko-KR/template-clips.md +3 -3
- package/docs/content/locales/ko-KR/template-content.md +2 -2
- package/docs/content/locales/ko-KR/template-design.md +2 -2
- package/docs/content/locales/ko-KR/template-dispatch.md +1 -1
- package/docs/content/locales/ko-KR/template-forms.md +2 -2
- package/docs/content/locales/ko-KR/template-mail.md +2 -2
- package/docs/content/locales/ko-KR/template-plan.md +2 -2
- package/docs/content/locales/ko-KR/template-slides.md +3 -3
- package/docs/content/locales/ko-KR/template-videos.md +1 -1
- package/docs/content/locales/ko-KR/tracking.md +1 -1
- package/docs/content/locales/ko-KR/using-your-agent.md +1 -1
- package/docs/content/locales/ko-KR/voice-input.md +1 -1
- package/docs/content/locales/ko-KR/what-is-agent-native.md +5 -5
- package/docs/content/locales/ko-KR/workspace-connections.md +2 -2
- package/docs/content/locales/ko-KR/workspace-management.md +6 -6
- package/docs/content/locales/ko-KR/workspace.md +4 -4
- package/docs/content/locales/ko-KR/writing-agent-instructions.md +1 -1
- package/docs/content/locales/pt-BR/a2a-protocol.md +3 -3
- package/docs/content/locales/pt-BR/actions.md +3 -3
- package/docs/content/locales/pt-BR/agent-mentions.md +2 -2
- package/docs/content/locales/pt-BR/agent-surfaces.md +2 -2
- package/docs/content/locales/pt-BR/agent-teams.md +3 -3
- package/docs/content/locales/pt-BR/agent-web-surfaces.md +2 -2
- package/docs/content/locales/pt-BR/authentication.md +2 -2
- package/docs/content/locales/pt-BR/automations.md +3 -3
- package/docs/content/locales/pt-BR/blueprint-installer.md +1 -1
- package/docs/content/locales/pt-BR/cli-adapters.md +1 -1
- package/docs/content/locales/pt-BR/client.md +3 -3
- package/docs/content/locales/pt-BR/cloneable-saas.md +3 -3
- package/docs/content/locales/pt-BR/code-agents-ui.md +3 -3
- package/docs/content/locales/pt-BR/components.md +2 -2
- package/docs/content/locales/pt-BR/context-awareness.md +3 -3
- package/docs/content/locales/pt-BR/creating-templates.md +16 -16
- package/docs/content/locales/pt-BR/cross-app-sso.md +2 -2
- package/docs/content/locales/pt-BR/database.md +2 -2
- package/docs/content/locales/pt-BR/deployment.md +15 -16
- package/docs/content/locales/pt-BR/dispatch.md +2 -2
- package/docs/content/locales/pt-BR/drop-in-agent.md +2 -2
- package/docs/content/locales/pt-BR/durable-resume.md +1 -1
- package/docs/content/locales/pt-BR/embedding-sdk.md +2 -2
- package/docs/content/locales/pt-BR/evals.md +2 -2
- package/docs/content/locales/pt-BR/extensions.md +2 -2
- package/docs/content/locales/pt-BR/external-agents.md +2 -2
- package/docs/content/locales/pt-BR/faq.md +2 -2
- package/docs/content/locales/pt-BR/file-uploads.md +1 -1
- package/docs/content/locales/pt-BR/frames.md +2 -2
- package/docs/content/locales/pt-BR/getting-started.md +5 -5
- package/docs/content/locales/pt-BR/harness-agents.md +2 -2
- package/docs/content/locales/pt-BR/human-approval.md +2 -2
- package/docs/content/locales/pt-BR/internationalization.md +2 -0
- package/docs/content/locales/pt-BR/key-concepts.md +7 -7
- package/docs/content/locales/pt-BR/local-file-mode.md +8 -8
- package/docs/content/locales/pt-BR/mcp-apps.md +3 -3
- package/docs/content/locales/pt-BR/mcp-clients.md +3 -3
- package/docs/content/locales/pt-BR/mcp-protocol.md +2 -2
- package/docs/content/locales/pt-BR/messaging.md +2 -2
- package/docs/content/locales/pt-BR/migration-workbench.md +1 -1
- package/docs/content/locales/pt-BR/multi-app-workspace.md +8 -8
- package/docs/content/locales/pt-BR/multi-tenancy.md +2 -2
- package/docs/content/locales/pt-BR/native-chat-ui.md +2 -2
- package/docs/content/locales/pt-BR/notifications.md +2 -2
- package/docs/content/locales/pt-BR/observability.md +3 -3
- package/docs/content/locales/pt-BR/observational-memory.md +2 -2
- package/docs/content/locales/pt-BR/onboarding.md +2 -2
- package/docs/content/locales/pt-BR/plan-plugin.md +2 -2
- package/docs/content/locales/pt-BR/pr-visual-recap.md +2 -2
- package/docs/content/locales/pt-BR/processors.md +1 -1
- package/docs/content/locales/pt-BR/progress.md +1 -1
- package/docs/content/locales/pt-BR/pure-agent-apps.md +1 -1
- package/docs/content/locales/pt-BR/real-time-collaboration.md +7 -3
- package/docs/content/locales/pt-BR/recurring-jobs.md +1 -1
- package/docs/content/locales/pt-BR/routing.md +1 -1
- package/docs/content/locales/pt-BR/sandbox-adapters.md +6 -6
- package/docs/content/locales/pt-BR/security.md +2 -2
- package/docs/content/locales/pt-BR/server.md +22 -10
- package/docs/content/locales/pt-BR/sharing.md +1 -1
- package/docs/content/locales/pt-BR/skills-guide.md +3 -3
- package/docs/content/locales/pt-BR/template-analytics.md +1 -1
- package/docs/content/locales/pt-BR/template-assets.md +1 -1
- package/docs/content/locales/pt-BR/template-brain.md +1 -1
- package/docs/content/locales/pt-BR/template-calendar.md +2 -2
- package/docs/content/locales/pt-BR/template-chat.md +7 -7
- package/docs/content/locales/pt-BR/template-clips.md +3 -3
- package/docs/content/locales/pt-BR/template-content.md +2 -2
- package/docs/content/locales/pt-BR/template-design.md +1 -1
- package/docs/content/locales/pt-BR/template-dispatch.md +1 -1
- package/docs/content/locales/pt-BR/template-forms.md +2 -2
- package/docs/content/locales/pt-BR/template-mail.md +2 -2
- package/docs/content/locales/pt-BR/template-plan.md +2 -2
- package/docs/content/locales/pt-BR/template-slides.md +3 -3
- package/docs/content/locales/pt-BR/template-videos.md +1 -1
- package/docs/content/locales/pt-BR/tracking.md +1 -1
- package/docs/content/locales/pt-BR/using-your-agent.md +1 -1
- package/docs/content/locales/pt-BR/voice-input.md +1 -1
- package/docs/content/locales/pt-BR/what-is-agent-native.md +5 -5
- package/docs/content/locales/pt-BR/workspace-connections.md +2 -2
- package/docs/content/locales/pt-BR/workspace-management.md +6 -6
- package/docs/content/locales/pt-BR/workspace.md +4 -4
- package/docs/content/locales/pt-BR/writing-agent-instructions.md +1 -1
- package/docs/content/locales/zh-CN/a2a-protocol.md +3 -3
- package/docs/content/locales/zh-CN/actions.md +3 -3
- package/docs/content/locales/zh-CN/agent-mentions.md +2 -2
- package/docs/content/locales/zh-CN/agent-surfaces.md +2 -2
- package/docs/content/locales/zh-CN/agent-teams.md +3 -3
- package/docs/content/locales/zh-CN/agent-web-surfaces.md +2 -2
- package/docs/content/locales/zh-CN/authentication.md +2 -2
- package/docs/content/locales/zh-CN/automations.md +3 -3
- package/docs/content/locales/zh-CN/blueprint-installer.md +1 -1
- package/docs/content/locales/zh-CN/cli-adapters.md +1 -1
- package/docs/content/locales/zh-CN/client.md +3 -3
- package/docs/content/locales/zh-CN/cloneable-saas.md +3 -3
- package/docs/content/locales/zh-CN/code-agents-ui.md +3 -3
- package/docs/content/locales/zh-CN/components.md +2 -2
- package/docs/content/locales/zh-CN/context-awareness.md +3 -3
- package/docs/content/locales/zh-CN/creating-templates.md +16 -16
- package/docs/content/locales/zh-CN/cross-app-sso.md +2 -2
- package/docs/content/locales/zh-CN/database.md +2 -2
- package/docs/content/locales/zh-CN/deployment.md +15 -16
- package/docs/content/locales/zh-CN/dispatch.md +2 -2
- package/docs/content/locales/zh-CN/drop-in-agent.md +2 -2
- package/docs/content/locales/zh-CN/durable-resume.md +1 -1
- package/docs/content/locales/zh-CN/embedding-sdk.md +2 -2
- package/docs/content/locales/zh-CN/evals.md +2 -2
- package/docs/content/locales/zh-CN/extensions.md +2 -2
- package/docs/content/locales/zh-CN/external-agents.md +2 -2
- package/docs/content/locales/zh-CN/faq.md +2 -2
- package/docs/content/locales/zh-CN/file-uploads.md +1 -1
- package/docs/content/locales/zh-CN/frames.md +2 -2
- package/docs/content/locales/zh-CN/getting-started.md +5 -5
- package/docs/content/locales/zh-CN/harness-agents.md +2 -2
- package/docs/content/locales/zh-CN/human-approval.md +2 -2
- package/docs/content/locales/zh-CN/internationalization.md +2 -0
- package/docs/content/locales/zh-CN/key-concepts.md +7 -7
- package/docs/content/locales/zh-CN/local-file-mode.md +8 -8
- package/docs/content/locales/zh-CN/mcp-apps.md +3 -3
- package/docs/content/locales/zh-CN/mcp-clients.md +3 -3
- package/docs/content/locales/zh-CN/mcp-protocol.md +2 -2
- package/docs/content/locales/zh-CN/messaging.md +2 -2
- package/docs/content/locales/zh-CN/migration-workbench.md +1 -1
- package/docs/content/locales/zh-CN/multi-app-workspace.md +8 -8
- package/docs/content/locales/zh-CN/multi-tenancy.md +2 -2
- package/docs/content/locales/zh-CN/native-chat-ui.md +2 -2
- package/docs/content/locales/zh-CN/notifications.md +2 -2
- package/docs/content/locales/zh-CN/observability.md +3 -3
- package/docs/content/locales/zh-CN/observational-memory.md +2 -2
- package/docs/content/locales/zh-CN/onboarding.md +2 -2
- package/docs/content/locales/zh-CN/plan-plugin.md +2 -2
- package/docs/content/locales/zh-CN/pr-visual-recap.md +2 -2
- package/docs/content/locales/zh-CN/processors.md +1 -1
- package/docs/content/locales/zh-CN/progress.md +1 -1
- package/docs/content/locales/zh-CN/pure-agent-apps.md +1 -1
- package/docs/content/locales/zh-CN/real-time-collaboration.md +7 -3
- package/docs/content/locales/zh-CN/recurring-jobs.md +1 -1
- package/docs/content/locales/zh-CN/routing.md +1 -1
- package/docs/content/locales/zh-CN/sandbox-adapters.md +6 -6
- package/docs/content/locales/zh-CN/security.md +2 -2
- package/docs/content/locales/zh-CN/server.md +22 -10
- package/docs/content/locales/zh-CN/sharing.md +1 -1
- package/docs/content/locales/zh-CN/skills-guide.md +3 -3
- package/docs/content/locales/zh-CN/template-analytics.md +1 -1
- package/docs/content/locales/zh-CN/template-assets.md +2 -2
- package/docs/content/locales/zh-CN/template-brain.md +1 -1
- package/docs/content/locales/zh-CN/template-calendar.md +2 -2
- package/docs/content/locales/zh-CN/template-chat.md +7 -7
- package/docs/content/locales/zh-CN/template-clips.md +3 -3
- package/docs/content/locales/zh-CN/template-content.md +2 -2
- package/docs/content/locales/zh-CN/template-design.md +2 -2
- package/docs/content/locales/zh-CN/template-dispatch.md +1 -1
- package/docs/content/locales/zh-CN/template-forms.md +2 -2
- package/docs/content/locales/zh-CN/template-mail.md +2 -2
- package/docs/content/locales/zh-CN/template-plan.md +2 -2
- package/docs/content/locales/zh-CN/template-slides.md +3 -3
- package/docs/content/locales/zh-CN/template-videos.md +1 -1
- package/docs/content/locales/zh-CN/tracking.md +1 -1
- package/docs/content/locales/zh-CN/using-your-agent.md +1 -1
- package/docs/content/locales/zh-CN/voice-input.md +1 -1
- package/docs/content/locales/zh-CN/what-is-agent-native.md +5 -5
- package/docs/content/locales/zh-CN/workspace-connections.md +2 -2
- package/docs/content/locales/zh-CN/workspace-management.md +6 -6
- package/docs/content/locales/zh-CN/workspace.md +4 -4
- package/docs/content/locales/zh-CN/writing-agent-instructions.md +1 -1
- package/docs/content/real-time-collaboration.md +5 -1
- package/package.json +1 -1
- package/src/templates/default/app/i18n/ar-SA.ts +155 -0
- package/src/templates/default/app/i18n/de-DE.ts +155 -0
- package/src/templates/default/app/i18n/en-US.ts +155 -0
- package/src/templates/default/app/i18n/es-ES.ts +155 -0
- package/src/templates/default/app/i18n/fr-FR.ts +155 -0
- package/src/templates/default/app/i18n/hi-IN.ts +155 -0
- package/src/templates/default/app/i18n/ja-JP.ts +155 -0
- package/src/templates/default/app/i18n/ko-KR.ts +155 -0
- package/src/templates/default/app/i18n/pt-BR.ts +155 -0
- package/src/templates/default/app/i18n/zh-CN.ts +155 -0
- package/src/templates/default/vite.config.ts +10 -5
package/dist/client/i18n.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/client/i18n.tsx"],"names":[],"mappings":"AAGA,OAAO,KAQN,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/client/i18n.tsx"],"names":[],"mappings":"AAGA,OAAO,KAQN,MAAM,OAAO,CAAC;AASf,OAAO,EAUL,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EACzB,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,EAC3B,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,GAC5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAErD,MAAM,WAAW,sBAAsB;IACrC,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,UAAU,CAAC,EAAE,sBAAsB,CAAC;IACpC,GAAG,CAAC,EAAE,KAAK,GAAG,KAAK,CAAC;IACpB,QAAQ,CAAC,EAAE,cAAc,CAAC;CAC3B;AAED,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,EAAE,cAAc,CAAC;IAC1B,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,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IAAI,CAAC,iBAAiB;EAMjE;AAED,wBAAgB,cAAc,CAAC,EAC7B,SAAS,EACT,aAAoB,EACpB,KAAK,EACL,OAAkB,GACnB,EAAE;IACD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC7B,2CAiGA"}
|
package/dist/client/i18n.js
CHANGED
|
@@ -6,6 +6,7 @@ import { createContext, useCallback, useContext, useEffect, useMemo, useRef, use
|
|
|
6
6
|
import { I18nextProvider, initReactI18next, useTranslation, } from "react-i18next";
|
|
7
7
|
import { callAction } from "./use-action.js";
|
|
8
8
|
import { setClientAppState } from "./application-state.js";
|
|
9
|
+
import defaultEnglishMessages from "../templates/default/app/i18n/en-US.js";
|
|
9
10
|
import { DEFAULT_LOCALE, LOCALE_HYDRATION_GLOBAL, LOCALE_METADATA, LOCALE_STORAGE_KEY, SUPPORTED_LOCALES, localeDirection, normalizeLocalizationPreference, resolveLocaleFromCandidates, resolveLocaleFromPreference, } from "../localization/shared.js";
|
|
10
11
|
export { DEFAULT_LOCALE, LOCALE_HYDRATION_GLOBAL, LOCALE_METADATA, LOCALE_STORAGE_KEY, SUPPORTED_LOCALES, localeDirection, normalizeLocaleCode, normalizeLocalePreference, normalizeLocalizationPreference, resolveLocaleFromCandidates, resolveLocaleFromPreference, } from "../localization/shared.js";
|
|
11
12
|
export { getLocaleInitScript } from "../localization/server.js";
|
|
@@ -287,12 +288,13 @@ export function AgentNativeI18nProvider({ children, catalog, initialLocale, init
|
|
|
287
288
|
}, [persistPreference]);
|
|
288
289
|
const context = useMemo(() => ({
|
|
289
290
|
locale,
|
|
291
|
+
sourceLocale,
|
|
290
292
|
preference,
|
|
291
293
|
dir: localeDirection(locale),
|
|
292
294
|
metadata: LOCALE_METADATA[locale],
|
|
293
295
|
setPreference,
|
|
294
296
|
loading,
|
|
295
|
-
}), [loading, locale, preference, setPreference]);
|
|
297
|
+
}), [loading, locale, preference, setPreference, sourceLocale]);
|
|
296
298
|
return (_jsx(LocaleContext.Provider, { value: context, children: _jsx(I18nextProvider, { i18n: i18n, children: children }) }));
|
|
297
299
|
}
|
|
298
300
|
export function useLocale() {
|
|
@@ -350,7 +352,49 @@ const CORE_FALLBACK_MESSAGES = {
|
|
|
350
352
|
"codeRequired.setupRequired": "Setup required",
|
|
351
353
|
"codeRequired.branchCreated": "Branch created",
|
|
352
354
|
"codeRequired.close": "Close",
|
|
355
|
+
"agentPanel.useBuilder": "Use Builder",
|
|
356
|
+
"agentPanel.openDesktopToEditCode": "Open Desktop to edit code",
|
|
357
|
+
"agentPanel.codeUnavailableDescription": "Source-code changes and CLI access are available in the Agent Native Desktop app.",
|
|
358
|
+
"agentPanel.downloadDesktop": "Download Desktop",
|
|
359
|
+
"agentPanel.chatMode": "Chat mode",
|
|
360
|
+
"agentPanel.chat": "Chat",
|
|
361
|
+
"agentPanel.cliTerminalMode": "CLI terminal mode",
|
|
362
|
+
"agentPanel.cli": "CLI",
|
|
363
|
+
"agentPanel.workspaceMode": "Workspace files, agents, skills, and tasks",
|
|
364
|
+
"agentPanel.workspace": "Workspace",
|
|
365
|
+
"agentPanel.newChat": "New chat",
|
|
366
|
+
"agentPanel.newTerminal": "New terminal",
|
|
367
|
+
"agentPanel.panelOptions": "Agent panel options",
|
|
368
|
+
"agentPanel.collapseSidebar": "Collapse sidebar",
|
|
369
|
+
"agentPanel.hideChats": "Hide chats",
|
|
370
|
+
"agentPanel.allChats": "All chats",
|
|
371
|
+
"agentPanel.settings": "Settings",
|
|
372
|
+
"agentPanel.feedback": "Feedback",
|
|
373
|
+
"agentPanel.exitFullscreen": "Exit fullscreen",
|
|
374
|
+
"agentPanel.fullscreen": "Fullscreen",
|
|
375
|
+
"agentPanel.closeTab": "Close tab",
|
|
376
|
+
"agentPanel.closeOtherTabs": "Close other tabs",
|
|
377
|
+
"agentPanel.closeAllTabs": "Close all tabs",
|
|
378
|
+
"agentPanel.clearChat": "Clear chat",
|
|
379
|
+
"agentPanel.cliRequiresDevMode": "CLI requires dev mode",
|
|
380
|
+
"agentPanel.cliRequiresDevModeDescription": "Run this app locally with pnpm dev or use Builder.io to access the CLI terminal.",
|
|
381
|
+
"agentPanel.toggleAgent": "Toggle agent",
|
|
353
382
|
};
|
|
383
|
+
function flattenMessages(value, prefix = "", out = {}) {
|
|
384
|
+
if (!value || typeof value !== "object" || Array.isArray(value))
|
|
385
|
+
return out;
|
|
386
|
+
for (const [key, child] of Object.entries(value)) {
|
|
387
|
+
const nextKey = prefix ? `${prefix}.${key}` : key;
|
|
388
|
+
if (typeof child === "string") {
|
|
389
|
+
out[nextKey] = child;
|
|
390
|
+
}
|
|
391
|
+
else {
|
|
392
|
+
flattenMessages(child, nextKey, out);
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
return out;
|
|
396
|
+
}
|
|
397
|
+
const DEFAULT_ENGLISH_MESSAGES = flattenMessages(defaultEnglishMessages);
|
|
354
398
|
function interpolateFallbackMessage(template, options) {
|
|
355
399
|
return template.replace(/\{\{(\w+)\}\}/g, (_, name) => {
|
|
356
400
|
const value = options?.[name];
|
|
@@ -360,15 +404,26 @@ function interpolateFallbackMessage(template, options) {
|
|
|
360
404
|
function fallbackMessage(key, options) {
|
|
361
405
|
const count = Number(options?.count);
|
|
362
406
|
const pluralKey = Number.isFinite(count) && count === 1 ? `${key}_one` : `${key}_other`;
|
|
363
|
-
const template =
|
|
407
|
+
const template = DEFAULT_ENGLISH_MESSAGES[pluralKey] ??
|
|
408
|
+
DEFAULT_ENGLISH_MESSAGES[key] ??
|
|
409
|
+
CORE_FALLBACK_MESSAGES[pluralKey] ??
|
|
410
|
+
CORE_FALLBACK_MESSAGES[key];
|
|
364
411
|
return template ? interpolateFallbackMessage(template, options) : key;
|
|
365
412
|
}
|
|
366
413
|
export function useT() {
|
|
367
|
-
const { t } = useTranslation();
|
|
414
|
+
const { i18n, t } = useTranslation();
|
|
415
|
+
const context = useContext(LocaleContext);
|
|
416
|
+
const sourceLocale = context?.sourceLocale ?? DEFAULT_LOCALE;
|
|
368
417
|
return useCallback((key, options) => {
|
|
369
418
|
const translated = t(key, options);
|
|
370
|
-
|
|
371
|
-
|
|
419
|
+
if (translated !== key)
|
|
420
|
+
return translated;
|
|
421
|
+
const getFixedT = i18n.getFixedT;
|
|
422
|
+
const sourceFallback = getFixedT?.(sourceLocale)(key, options);
|
|
423
|
+
if (sourceFallback && sourceFallback !== key)
|
|
424
|
+
return sourceFallback;
|
|
425
|
+
return fallbackMessage(key, options);
|
|
426
|
+
}, [i18n, sourceLocale, t]);
|
|
372
427
|
}
|
|
373
428
|
export function useFormatters() {
|
|
374
429
|
const context = useContext(LocaleContext);
|
package/dist/client/i18n.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../src/client/i18n.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,OAAsC,MAAM,SAAS,CAAC;AAC7D,OAAc,EACZ,aAAa,EACb,WAAW,EACX,UAAU,EACV,SAAS,EACT,OAAO,EACP,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,cAAc,GACf,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EACL,cAAc,EACd,uBAAuB,EACvB,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,eAAe,EACf,+BAA+B,EAC/B,2BAA2B,EAC3B,2BAA2B,GAK5B,MAAM,2BAA2B,CAAC;AAEnC,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K,YACtC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CACvB,MAAC,eAAe,CAAC,IAAI,IAEnB,KAAK,EAAE,MAAM,CAAC,KAAK,EACnB,SAAS,EAAC,qLAAqL,aAE/L,eAAM,SAAS,EAAC,yFAAyF,YACvG,KAAC,eAAe,CAAC,aAAa,cAC5B,KAAC,SAAS,IAAC,SAAS,EAAC,aAAa,GAAG,GACP,GAC3B,EACP,eAAK,SAAS,EAAC,uBAAuB,aACpC,KAAC,eAAe,CAAC,QAAQ,cACvB,eAAM,SAAS,EAAC,iBAAiB,YAAE,MAAM,CAAC,KAAK,GAAQ,GAC9B,EAC3B,eAAM,SAAS,EAAC,0DAA0D,YACvE,MAAM,CAAC,WAAW,GACd,IACH,KAhBD,MAAM,CAAC,KAAK,CAiBI,CACxB,CAAC,GACuB,GACH,GACH,IACJ,GACnB,CACP,CAAC;AACJ,CAAC","sourcesContent":["import * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { IconCheck, IconChevronDown, IconLanguage } from \"@tabler/icons-react\";\nimport i18next, { type i18n as I18nInstance } from \"i18next\";\nimport React, {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n I18nextProvider,\n initReactI18next,\n useTranslation,\n} from \"react-i18next\";\nimport { callAction } from \"./use-action.js\";\nimport { setClientAppState } from \"./application-state.js\";\nimport {\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n localeDirection,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n type LocaleCode,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"../localization/shared.js\";\n\nexport {\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n type LocaleCode,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"../localization/shared.js\";\nexport { getLocaleInitScript } from \"../localization/server.js\";\n\nexport type LocaleMessages = Record<string, unknown>;\n\nexport interface LocaleHydrationPayload {\n locale?: LocaleCode;\n preference?: LocalizationPreference;\n dir?: \"ltr\" | \"rtl\";\n messages?: LocaleMessages;\n}\n\nexport interface AgentNativeI18nCatalog {\n namespace?: string;\n sourceLocale?: LocaleCode;\n messages?: LocaleMessages;\n loadMessages?: (locale: LocaleCode) => Promise<LocaleMessages | null>;\n}\n\nexport interface AgentNativeI18nProviderProps {\n children: React.ReactNode;\n catalog?: AgentNativeI18nCatalog;\n initialLocale?: LocaleCode;\n initialPreference?: LocalizationPreference | LocalePreference;\n initialMessages?: LocaleMessages | null;\n persistPreference?: boolean;\n}\n\ninterface LocaleContextValue {\n locale: LocaleCode;\n preference: LocalePreference;\n dir: \"ltr\" | \"rtl\";\n metadata: LocaleMetadata;\n setPreference: (preference: LocalePreference) => Promise<void>;\n loading: boolean;\n}\n\ndeclare global {\n interface Window {\n __AGENT_NATIVE_LOCALE__?: LocaleHydrationPayload;\n }\n}\n\nconst LocaleContext = createContext<LocaleContextValue | null>(null);\n\nconst LANGUAGE_PICKER_COPY: Record<\n LocaleCode,\n { label: string; system: string; systemDescription: string }\n> = {\n \"en-US\": {\n label: \"Language\",\n system: \"System\",\n systemDescription: \"Use your browser language\",\n },\n \"zh-CN\": {\n label: \"语言\",\n system: \"系统\",\n systemDescription: \"使用浏览器语言\",\n },\n \"es-ES\": {\n label: \"Idioma\",\n system: \"Sistema\",\n systemDescription: \"Usar el idioma del navegador\",\n },\n \"fr-FR\": {\n label: \"Langue\",\n system: \"Système\",\n systemDescription: \"Utiliser la langue du navigateur\",\n },\n \"de-DE\": {\n label: \"Sprache\",\n system: \"System\",\n systemDescription: \"Browsersprache verwenden\",\n },\n \"ja-JP\": {\n label: \"言語\",\n system: \"システム\",\n systemDescription: \"ブラウザーの言語を使用\",\n },\n \"ko-KR\": {\n label: \"언어\",\n system: \"시스템\",\n systemDescription: \"브라우저 언어 사용\",\n },\n \"pt-BR\": {\n label: \"Idioma\",\n system: \"Sistema\",\n systemDescription: \"Usar o idioma do navegador\",\n },\n \"hi-IN\": {\n label: \"भाषा\",\n system: \"सिस्टम\",\n systemDescription: \"ब्राउज़र की भाषा का उपयोग करें\",\n },\n \"ar-SA\": {\n label: \"اللغة\",\n system: \"النظام\",\n systemDescription: \"استخدام لغة المتصفح\",\n },\n};\n\nfunction browserLanguageCandidates(): string[] {\n if (typeof navigator === \"undefined\") return [];\n return navigator.languages?.length\n ? [...navigator.languages]\n : navigator.language\n ? [navigator.language]\n : [];\n}\n\nfunction readStoredPreference(): LocalePreference | null {\n if (typeof window === \"undefined\") return null;\n try {\n return normalizeLocalizationPreference(\n window.localStorage.getItem(LOCALE_STORAGE_KEY),\n ).locale;\n } catch {\n return null;\n }\n}\n\nfunction writeStoredPreference(preference: LocalePreference) {\n if (typeof window === \"undefined\") return;\n try {\n window.localStorage.setItem(LOCALE_STORAGE_KEY, preference);\n } catch {\n // Ignore storage-denied browsers; the in-memory provider state still works.\n }\n}\n\nfunction readHydrationPayload(): LocaleHydrationPayload {\n if (typeof window === \"undefined\") return {};\n return window[LOCALE_HYDRATION_GLOBAL] ?? {};\n}\n\nfunction resolveInitialState(args: {\n initialLocale?: LocaleCode;\n initialPreference?: LocalizationPreference | LocalePreference;\n}): { locale: LocaleCode; preference: LocalePreference } {\n const hydration = readHydrationPayload();\n const preference = normalizeLocalizationPreference(\n args.initialPreference ?? hydration.preference ?? readStoredPreference(),\n ).locale;\n const locale =\n args.initialLocale ??\n hydration.locale ??\n resolveLocaleFromPreference(preference, browserLanguageCandidates());\n return { locale, preference };\n}\n\nfunction normalizeLoadedMessages(value: unknown): LocaleMessages | null {\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return null;\n const maybeDefault = (value as { default?: unknown }).default;\n if (\n maybeDefault &&\n typeof maybeDefault === \"object\" &&\n !Array.isArray(maybeDefault)\n ) {\n return maybeDefault as LocaleMessages;\n }\n return value as LocaleMessages;\n}\n\nfunction createI18nInstance(args: {\n namespace: string;\n sourceLocale: LocaleCode;\n messages: LocaleMessages;\n initialLocale: LocaleCode;\n initialMessages?: LocaleMessages | null;\n}): I18nInstance {\n const instance = i18next.createInstance();\n const resources: Record<string, Record<string, LocaleMessages>> = {\n [args.sourceLocale]: {\n [args.namespace]: args.messages,\n },\n };\n if (args.initialLocale !== args.sourceLocale && args.initialMessages) {\n resources[args.initialLocale] = {\n [args.namespace]: args.initialMessages,\n };\n }\n void instance.use(initReactI18next).init({\n resources,\n lng: args.initialLocale,\n fallbackLng: args.sourceLocale,\n defaultNS: args.namespace,\n ns: [args.namespace],\n interpolation: { escapeValue: false },\n react: { useSuspense: false },\n returnNull: false,\n initAsync: false,\n });\n return instance;\n}\n\nexport function AgentNativeI18nProvider({\n children,\n catalog,\n initialLocale,\n initialPreference,\n initialMessages,\n persistPreference = true,\n}: AgentNativeI18nProviderProps) {\n const namespace = catalog?.namespace ?? \"translation\";\n const sourceLocale = catalog?.sourceLocale ?? DEFAULT_LOCALE;\n const sourceMessages = catalog?.messages ?? {};\n const loadMessages = catalog?.loadMessages;\n const hydration = readHydrationPayload();\n const initialState = useMemo(\n () => resolveInitialState({ initialLocale, initialPreference }),\n [initialLocale, initialPreference],\n );\n const [preference, setPreferenceState] = useState<LocalePreference>(\n initialState.preference,\n );\n const [locale, setLocale] = useState<LocaleCode>(initialState.locale);\n const [loading, setLoading] = useState(false);\n const i18nRef = useRef<I18nInstance | null>(null);\n\n if (!i18nRef.current) {\n const preloadedMessages = normalizeLoadedMessages(\n hydration.locale === initialState.locale && hydration.messages\n ? hydration.messages\n : initialMessages,\n );\n i18nRef.current = createI18nInstance({\n namespace,\n sourceLocale,\n messages:\n hydration.locale === sourceLocale && hydration.messages\n ? hydration.messages\n : sourceMessages,\n initialLocale: initialState.locale,\n initialMessages: preloadedMessages,\n });\n }\n\n const i18n = i18nRef.current;\n\n useEffect(() => {\n if (i18n.hasResourceBundle(sourceLocale, namespace)) {\n i18n.addResourceBundle(\n sourceLocale,\n namespace,\n sourceMessages,\n true,\n true,\n );\n }\n }, [i18n, namespace, sourceLocale, sourceMessages]);\n\n useEffect(() => {\n const nextLocale =\n preference === \"system\"\n ? resolveLocaleFromCandidates(browserLanguageCandidates())\n : preference;\n setLocale(nextLocale);\n }, [preference]);\n\n useEffect(() => {\n let cancelled = false;\n\n async function applyLocale() {\n setLoading(true);\n try {\n if (\n locale !== sourceLocale &&\n !i18n.hasResourceBundle(locale, namespace)\n ) {\n const preloaded =\n hydration.locale === locale && hydration.messages\n ? hydration.messages\n : initialLocale === locale && initialMessages\n ? initialMessages\n : null;\n const loaded = preloaded ?? (await loadMessages?.(locale));\n const messages = normalizeLoadedMessages(loaded);\n if (messages) {\n i18n.addResourceBundle(locale, namespace, messages, true, true);\n }\n }\n if (!cancelled) {\n await i18n.changeLanguage(locale);\n }\n } finally {\n if (!cancelled) setLoading(false);\n }\n }\n\n void applyLocale();\n return () => {\n cancelled = true;\n };\n }, [\n hydration.locale,\n hydration.messages,\n i18n,\n initialLocale,\n initialMessages,\n loadMessages,\n locale,\n namespace,\n sourceLocale,\n ]);\n\n useEffect(() => {\n if (typeof document === \"undefined\") return;\n const dir = localeDirection(locale);\n const root = document.documentElement;\n root.setAttribute(\"lang\", locale);\n root.setAttribute(\"dir\", dir);\n root.setAttribute(\"data-locale\", locale);\n }, [locale]);\n\n useEffect(() => {\n if (!persistPreference) return;\n let cancelled = false;\n callAction<LocalizationPreference>(\n \"get-localization-preference\",\n undefined,\n { method: \"GET\" },\n )\n .then((value) => {\n if (cancelled) return;\n const normalized = normalizeLocalizationPreference(value).locale;\n setPreferenceState(normalized);\n writeStoredPreference(normalized);\n })\n .catch(() => {\n // Anonymous/public routes use localStorage/browser language only.\n });\n return () => {\n cancelled = true;\n };\n }, [persistPreference]);\n\n useEffect(() => {\n if (typeof window === \"undefined\") return;\n const onStorage = (event: StorageEvent) => {\n if (event.key !== LOCALE_STORAGE_KEY || event.newValue == null) return;\n setPreferenceState(\n normalizeLocalizationPreference(event.newValue).locale,\n );\n };\n window.addEventListener(\"storage\", onStorage);\n return () => window.removeEventListener(\"storage\", onStorage);\n }, []);\n\n useEffect(() => {\n void setClientAppState(\n \"localization\",\n {\n locale,\n preference,\n dir: localeDirection(locale),\n },\n { requestSource: \"localization\" },\n ).catch(() => {\n // Public/anonymous pages cannot write app-state; localization still works.\n });\n }, [locale, preference]);\n\n const setPreference = useCallback(\n async (next: LocalePreference) => {\n const normalized = normalizeLocalizationPreference(next).locale;\n setPreferenceState(normalized);\n writeStoredPreference(normalized);\n if (!persistPreference) return;\n try {\n await callAction<LocalizationPreference>(\n \"set-localization-preference\",\n {\n locale: normalized,\n },\n );\n } catch (error) {\n const status = (error as { status?: unknown })?.status;\n if (status !== 401 && status !== 403) {\n throw error;\n }\n }\n },\n [persistPreference],\n );\n\n const context = useMemo<LocaleContextValue>(\n () => ({\n locale,\n preference,\n dir: localeDirection(locale),\n metadata: LOCALE_METADATA[locale],\n setPreference,\n loading,\n }),\n [loading, locale, preference, setPreference],\n );\n\n return (\n <LocaleContext.Provider value={context}>\n <I18nextProvider i18n={i18n}>{children}</I18nextProvider>\n </LocaleContext.Provider>\n );\n}\n\nexport function useLocale(): LocaleContextValue {\n const value = useContext(LocaleContext);\n if (!value) {\n throw new Error(\"useLocale must be used within AgentNativeI18nProvider\");\n }\n return value;\n}\n\nconst CORE_FALLBACK_MESSAGES: Record<string, string> = {\n \"runsTray.runs\": \"Runs\",\n \"runsTray.agentRuns\": \"Agent runs\",\n \"runsTray.activeRun_one\": \"{{count}} active run\",\n \"runsTray.activeRun_other\": \"{{count}} active runs\",\n \"runsTray.failedRun_one\": \"{{count}} failed run\",\n \"runsTray.failedRun_other\": \"{{count}} failed runs\",\n \"runsTray.recentRuns\": \"Recent runs\",\n \"runsTray.noRecentRuns\": \"No recent runs\",\n \"runsTray.ariaAgentRuns\": \"Agent runs, {{label}}\",\n \"runsTray.summaryRunning\": \"{{activeCount}} running\",\n \"runsTray.summaryRunningRecent\":\n \"{{activeCount}} running · {{terminalCount}} recent\",\n \"runsTray.summaryRecent_one\": \"{{count}} recent run\",\n \"runsTray.summaryRecent_other\": \"{{count}} recent runs\",\n \"runsTray.noTrackedWorkYet\": \"No tracked work yet\",\n \"runsTray.emptyDescription\":\n \"Background agent work will appear here while it runs and after it finishes.\",\n \"runsTray.open\": \"Open\",\n \"runsTray.stopRun\": \"Stop {{title}}\",\n \"runsTray.hideRun\": \"Hide {{title}}\",\n \"runsTray.statusRunning\": \"Running\",\n \"runsTray.statusDone\": \"Done\",\n \"runsTray.statusFailed\": \"Failed\",\n \"runsTray.statusStopped\": \"Stopped\",\n \"runsTray.updatedJustNow\": \"Updated just now\",\n \"runsTray.finishedJustNow\": \"Finished just now\",\n \"runsTray.updatedMinutes\": \"Updated {{count}}m ago\",\n \"runsTray.finishedMinutes\": \"Finished {{count}}m ago\",\n \"runsTray.updatedHours\": \"Updated {{count}}h ago\",\n \"runsTray.finishedHours\": \"Finished {{count}}h ago\",\n \"runsTray.updatedDate\": \"Updated {{date}}\",\n \"runsTray.finishedDate\": \"Finished {{date}}\",\n \"codeRequired.fallbackDetail\":\n \"Edit locally or use Builder.io to edit this code in the cloud and continue customizing the app any way you like.\",\n \"codeRequired.defaultFeature\": \"Make the requested code changes to this app\",\n \"codeRequired.branchError\": \"Failed to create branch\",\n \"codeRequired.title\": \"Code changes required\",\n \"codeRequired.subtitleWithFeature\":\n '\"{{feature}}\" creates or modifies source code, which needs Desktop or Builder from this surface.',\n \"codeRequired.subtitle\":\n \"This action creates or modifies source code, which needs Desktop or Builder from this surface.\",\n \"codeRequired.desktopTitle\": \"Use Agent Native Desktop\",\n \"codeRequired.desktopDescription\":\n \"Open the project in the desktop app to enable source edits and CLI access.\",\n \"codeRequired.builderAgentTitle\": \"Use Builder.io Agent\",\n \"codeRequired.builderAgentDescription\":\n \"Let our cloud agent make the changes for you. You'll get a link to preview and deploy.\",\n \"codeRequired.codeChangeTitle\": \"This requires a code change\",\n \"codeRequired.codeChangeBadge\": \"Code change\",\n \"codeRequired.connectBuilderTitle\": \"Connect Builder.io\",\n \"codeRequired.connectBuilderDescription\":\n \"Connect Builder to enable cloud-based code changes from this app.\",\n \"codeRequired.setupRequired\": \"Setup required\",\n \"codeRequired.branchCreated\": \"Branch created\",\n \"codeRequired.close\": \"Close\",\n};\n\nfunction interpolateFallbackMessage(\n template: string,\n options?: Record<string, unknown>,\n) {\n return template.replace(/\\{\\{(\\w+)\\}\\}/g, (_, name: string) => {\n const value = options?.[name];\n return value == null ? \"\" : String(value);\n });\n}\n\nfunction fallbackMessage(key: string, options?: Record<string, unknown>) {\n const count = Number(options?.count);\n const pluralKey =\n Number.isFinite(count) && count === 1 ? `${key}_one` : `${key}_other`;\n const template =\n CORE_FALLBACK_MESSAGES[pluralKey] ?? CORE_FALLBACK_MESSAGES[key];\n return template ? interpolateFallbackMessage(template, options) : key;\n}\n\nexport function useT() {\n const { t } = useTranslation();\n return useCallback(\n (key: string, options?: Record<string, unknown>) => {\n const translated = t(key, options);\n return translated === key ? fallbackMessage(key, options) : translated;\n },\n [t],\n );\n}\n\nexport function useFormatters() {\n const context = useContext(LocaleContext);\n const locale = context?.locale ?? DEFAULT_LOCALE;\n return useMemo(\n () => ({\n formatDate(\n value: Date | number | string,\n options?: Intl.DateTimeFormatOptions,\n ) {\n return new Intl.DateTimeFormat(locale, options).format(\n value instanceof Date ? value : new Date(value),\n );\n },\n formatNumber(value: number, options?: Intl.NumberFormatOptions) {\n return new Intl.NumberFormat(locale, options).format(value);\n },\n formatRelativeTime(\n value: number,\n unit: Intl.RelativeTimeFormatUnit,\n options?: Intl.RelativeTimeFormatOptions,\n ) {\n return new Intl.RelativeTimeFormat(locale, options).format(value, unit);\n },\n formatList(value: string[], options?: Intl.ListFormatOptions) {\n return new Intl.ListFormat(locale, options).format(value);\n },\n }),\n [locale],\n );\n}\n\nexport function LanguagePicker({\n className,\n includeSystem = true,\n label,\n variant = \"select\",\n}: {\n className?: string;\n includeSystem?: boolean;\n label?: string;\n variant?: \"select\" | \"icon\";\n}) {\n const { locale, preference, setPreference } = useLocale();\n const copy =\n LANGUAGE_PICKER_COPY[locale] ?? LANGUAGE_PICKER_COPY[DEFAULT_LOCALE];\n const resolvedLabel = label ?? copy.label;\n const options = [\n ...(includeSystem\n ? [\n {\n value: \"system\" as const,\n label: copy.system,\n description: copy.systemDescription,\n },\n ]\n : []),\n ...SUPPORTED_LOCALES.map((code) => ({\n value: code,\n label:\n LOCALE_METADATA[code].nativeName === LOCALE_METADATA[code].englishName\n ? LOCALE_METADATA[code].nativeName\n : `${LOCALE_METADATA[code].nativeName} (${LOCALE_METADATA[code].englishName})`,\n description: code,\n })),\n ];\n const selected = options.find((option) => option.value === preference);\n\n return (\n <div className={className}>\n <SelectPrimitive.Root\n value={preference}\n onValueChange={(value) =>\n void setPreference(normalizeLocalizationPreference(value).locale)\n }\n >\n <SelectPrimitive.Trigger\n className={\n variant === \"icon\"\n ? \"flex h-8 w-8 items-center justify-center rounded-md border border-border bg-background text-foreground outline-none transition-colors hover:bg-accent/40 data-[placeholder]:text-muted-foreground\"\n : \"flex h-9 w-full items-center justify-between rounded-md border border-border bg-background px-3 text-start text-[12px] text-foreground outline-none transition-colors hover:bg-accent/40 data-[placeholder]:text-muted-foreground\"\n }\n aria-label={resolvedLabel}\n title={selected?.label ?? resolvedLabel}\n >\n <span className=\"flex min-w-0 items-center gap-2\">\n <IconLanguage className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n {variant === \"select\" ? (\n <SelectPrimitive.Value>\n <span className=\"truncate\">\n {selected?.label ?? preference}\n </span>\n </SelectPrimitive.Value>\n ) : null}\n </span>\n {variant === \"select\" ? (\n <SelectPrimitive.Icon asChild>\n <IconChevronDown className=\"h-3.5 w-3.5 text-muted-foreground\" />\n </SelectPrimitive.Icon>\n ) : null}\n </SelectPrimitive.Trigger>\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n position=\"popper\"\n sideOffset={6}\n className={\n variant === \"icon\"\n ? \"z-[9999] min-w-56 overflow-hidden rounded-lg border border-border bg-popover shadow-lg\"\n : \"z-[9999] w-[var(--radix-select-trigger-width)] overflow-hidden rounded-lg border border-border bg-popover shadow-lg\"\n }\n >\n <SelectPrimitive.Viewport className=\"p-1\">\n {options.map((option) => (\n <SelectPrimitive.Item\n key={option.value}\n value={option.value}\n className=\"relative flex w-full cursor-pointer select-none items-start gap-2 rounded-md px-8 py-2.5 text-[12px] outline-none data-[highlighted]:bg-accent/60 data-[state=checked]:bg-accent/40\"\n >\n <span className=\"absolute start-2 top-2.5 flex h-4 w-4 items-center justify-center text-muted-foreground\">\n <SelectPrimitive.ItemIndicator>\n <IconCheck className=\"h-3.5 w-3.5\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n <div className=\"flex min-w-0 flex-col\">\n <SelectPrimitive.ItemText>\n <span className=\"text-foreground\">{option.label}</span>\n </SelectPrimitive.ItemText>\n <span className=\"mt-0.5 text-[11px] leading-relaxed text-muted-foreground\">\n {option.description}\n </span>\n </div>\n </SelectPrimitive.Item>\n ))}\n </SelectPrimitive.Viewport>\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n </SelectPrimitive.Root>\n </div>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"i18n.js","sourceRoot":"","sources":["../../src/client/i18n.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,eAAe,MAAM,wBAAwB,CAAC;AAC1D,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAC/E,OAAO,OAAsC,MAAM,SAAS,CAAC;AAC7D,OAAc,EACZ,aAAa,EACb,WAAW,EACX,UAAU,EACV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,KAAK,EACnB,SAAS,EAAC,qLAAqL,aAE/L,eAAM,SAAS,EAAC,yFAAyF,YACvG,KAAC,eAAe,CAAC,aAAa,cAC5B,KAAC,SAAS,IAAC,SAAS,EAAC,aAAa,GAAG,GACP,GAC3B,EACP,eAAK,SAAS,EAAC,uBAAuB,aACpC,KAAC,eAAe,CAAC,QAAQ,cACvB,eAAM,SAAS,EAAC,iBAAiB,YAAE,MAAM,CAAC,KAAK,GAAQ,GAC9B,EAC3B,eAAM,SAAS,EAAC,0DAA0D,YACvE,MAAM,CAAC,WAAW,GACd,IACH,KAhBD,MAAM,CAAC,KAAK,CAiBI,CACxB,CAAC,GACuB,GACH,GACH,IACJ,GACnB,CACP,CAAC;AACJ,CAAC","sourcesContent":["import * as SelectPrimitive from \"@radix-ui/react-select\";\nimport { IconCheck, IconChevronDown, IconLanguage } from \"@tabler/icons-react\";\nimport i18next, { type i18n as I18nInstance } from \"i18next\";\nimport React, {\n createContext,\n useCallback,\n useContext,\n useEffect,\n useMemo,\n useRef,\n useState,\n} from \"react\";\nimport {\n I18nextProvider,\n initReactI18next,\n useTranslation,\n} from \"react-i18next\";\nimport { callAction } from \"./use-action.js\";\nimport { setClientAppState } from \"./application-state.js\";\nimport defaultEnglishMessages from \"../templates/default/app/i18n/en-US.js\";\nimport {\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n localeDirection,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n type LocaleCode,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"../localization/shared.js\";\n\nexport {\n DEFAULT_LOCALE,\n LOCALE_HYDRATION_GLOBAL,\n LOCALE_METADATA,\n LOCALE_STORAGE_KEY,\n SUPPORTED_LOCALES,\n localeDirection,\n normalizeLocaleCode,\n normalizeLocalePreference,\n normalizeLocalizationPreference,\n resolveLocaleFromCandidates,\n resolveLocaleFromPreference,\n type LocaleCode,\n type LocaleMetadata,\n type LocalePreference,\n type LocalizationPreference,\n} from \"../localization/shared.js\";\nexport { getLocaleInitScript } from \"../localization/server.js\";\n\nexport type LocaleMessages = Record<string, unknown>;\n\nexport interface LocaleHydrationPayload {\n locale?: LocaleCode;\n preference?: LocalizationPreference;\n dir?: \"ltr\" | \"rtl\";\n messages?: LocaleMessages;\n}\n\nexport interface AgentNativeI18nCatalog {\n namespace?: string;\n sourceLocale?: LocaleCode;\n messages?: LocaleMessages;\n loadMessages?: (locale: LocaleCode) => Promise<LocaleMessages | null>;\n}\n\nexport interface AgentNativeI18nProviderProps {\n children: React.ReactNode;\n catalog?: AgentNativeI18nCatalog;\n initialLocale?: LocaleCode;\n initialPreference?: LocalizationPreference | LocalePreference;\n initialMessages?: LocaleMessages | null;\n persistPreference?: boolean;\n}\n\ninterface LocaleContextValue {\n locale: LocaleCode;\n sourceLocale: LocaleCode;\n preference: LocalePreference;\n dir: \"ltr\" | \"rtl\";\n metadata: LocaleMetadata;\n setPreference: (preference: LocalePreference) => Promise<void>;\n loading: boolean;\n}\n\ndeclare global {\n interface Window {\n __AGENT_NATIVE_LOCALE__?: LocaleHydrationPayload;\n }\n}\n\nconst LocaleContext = createContext<LocaleContextValue | null>(null);\n\nconst LANGUAGE_PICKER_COPY: Record<\n LocaleCode,\n { label: string; system: string; systemDescription: string }\n> = {\n \"en-US\": {\n label: \"Language\",\n system: \"System\",\n systemDescription: \"Use your browser language\",\n },\n \"zh-CN\": {\n label: \"语言\",\n system: \"系统\",\n systemDescription: \"使用浏览器语言\",\n },\n \"es-ES\": {\n label: \"Idioma\",\n system: \"Sistema\",\n systemDescription: \"Usar el idioma del navegador\",\n },\n \"fr-FR\": {\n label: \"Langue\",\n system: \"Système\",\n systemDescription: \"Utiliser la langue du navigateur\",\n },\n \"de-DE\": {\n label: \"Sprache\",\n system: \"System\",\n systemDescription: \"Browsersprache verwenden\",\n },\n \"ja-JP\": {\n label: \"言語\",\n system: \"システム\",\n systemDescription: \"ブラウザーの言語を使用\",\n },\n \"ko-KR\": {\n label: \"언어\",\n system: \"시스템\",\n systemDescription: \"브라우저 언어 사용\",\n },\n \"pt-BR\": {\n label: \"Idioma\",\n system: \"Sistema\",\n systemDescription: \"Usar o idioma do navegador\",\n },\n \"hi-IN\": {\n label: \"भाषा\",\n system: \"सिस्टम\",\n systemDescription: \"ब्राउज़र की भाषा का उपयोग करें\",\n },\n \"ar-SA\": {\n label: \"اللغة\",\n system: \"النظام\",\n systemDescription: \"استخدام لغة المتصفح\",\n },\n};\n\nfunction browserLanguageCandidates(): string[] {\n if (typeof navigator === \"undefined\") return [];\n return navigator.languages?.length\n ? [...navigator.languages]\n : navigator.language\n ? [navigator.language]\n : [];\n}\n\nfunction readStoredPreference(): LocalePreference | null {\n if (typeof window === \"undefined\") return null;\n try {\n return normalizeLocalizationPreference(\n window.localStorage.getItem(LOCALE_STORAGE_KEY),\n ).locale;\n } catch {\n return null;\n }\n}\n\nfunction writeStoredPreference(preference: LocalePreference) {\n if (typeof window === \"undefined\") return;\n try {\n window.localStorage.setItem(LOCALE_STORAGE_KEY, preference);\n } catch {\n // Ignore storage-denied browsers; the in-memory provider state still works.\n }\n}\n\nfunction readHydrationPayload(): LocaleHydrationPayload {\n if (typeof window === \"undefined\") return {};\n return window[LOCALE_HYDRATION_GLOBAL] ?? {};\n}\n\nfunction resolveInitialState(args: {\n initialLocale?: LocaleCode;\n initialPreference?: LocalizationPreference | LocalePreference;\n}): { locale: LocaleCode; preference: LocalePreference } {\n const hydration = readHydrationPayload();\n const preference = normalizeLocalizationPreference(\n args.initialPreference ?? hydration.preference ?? readStoredPreference(),\n ).locale;\n const locale =\n args.initialLocale ??\n hydration.locale ??\n resolveLocaleFromPreference(preference, browserLanguageCandidates());\n return { locale, preference };\n}\n\nfunction normalizeLoadedMessages(value: unknown): LocaleMessages | null {\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return null;\n const maybeDefault = (value as { default?: unknown }).default;\n if (\n maybeDefault &&\n typeof maybeDefault === \"object\" &&\n !Array.isArray(maybeDefault)\n ) {\n return maybeDefault as LocaleMessages;\n }\n return value as LocaleMessages;\n}\n\nfunction createI18nInstance(args: {\n namespace: string;\n sourceLocale: LocaleCode;\n messages: LocaleMessages;\n initialLocale: LocaleCode;\n initialMessages?: LocaleMessages | null;\n}): I18nInstance {\n const instance = i18next.createInstance();\n const resources: Record<string, Record<string, LocaleMessages>> = {\n [args.sourceLocale]: {\n [args.namespace]: args.messages,\n },\n };\n if (args.initialLocale !== args.sourceLocale && args.initialMessages) {\n resources[args.initialLocale] = {\n [args.namespace]: args.initialMessages,\n };\n }\n void instance.use(initReactI18next).init({\n resources,\n lng: args.initialLocale,\n fallbackLng: args.sourceLocale,\n defaultNS: args.namespace,\n ns: [args.namespace],\n interpolation: { escapeValue: false },\n react: { useSuspense: false },\n returnNull: false,\n initAsync: false,\n });\n return instance;\n}\n\nexport function AgentNativeI18nProvider({\n children,\n catalog,\n initialLocale,\n initialPreference,\n initialMessages,\n persistPreference = true,\n}: AgentNativeI18nProviderProps) {\n const namespace = catalog?.namespace ?? \"translation\";\n const sourceLocale = catalog?.sourceLocale ?? DEFAULT_LOCALE;\n const sourceMessages = catalog?.messages ?? {};\n const loadMessages = catalog?.loadMessages;\n const hydration = readHydrationPayload();\n const initialState = useMemo(\n () => resolveInitialState({ initialLocale, initialPreference }),\n [initialLocale, initialPreference],\n );\n const [preference, setPreferenceState] = useState<LocalePreference>(\n initialState.preference,\n );\n const [locale, setLocale] = useState<LocaleCode>(initialState.locale);\n const [loading, setLoading] = useState(false);\n const i18nRef = useRef<I18nInstance | null>(null);\n\n if (!i18nRef.current) {\n const preloadedMessages = normalizeLoadedMessages(\n hydration.locale === initialState.locale && hydration.messages\n ? hydration.messages\n : initialMessages,\n );\n i18nRef.current = createI18nInstance({\n namespace,\n sourceLocale,\n messages:\n hydration.locale === sourceLocale && hydration.messages\n ? hydration.messages\n : sourceMessages,\n initialLocale: initialState.locale,\n initialMessages: preloadedMessages,\n });\n }\n\n const i18n = i18nRef.current;\n\n useEffect(() => {\n if (i18n.hasResourceBundle(sourceLocale, namespace)) {\n i18n.addResourceBundle(\n sourceLocale,\n namespace,\n sourceMessages,\n true,\n true,\n );\n }\n }, [i18n, namespace, sourceLocale, sourceMessages]);\n\n useEffect(() => {\n const nextLocale =\n preference === \"system\"\n ? resolveLocaleFromCandidates(browserLanguageCandidates())\n : preference;\n setLocale(nextLocale);\n }, [preference]);\n\n useEffect(() => {\n let cancelled = false;\n\n async function applyLocale() {\n setLoading(true);\n try {\n if (\n locale !== sourceLocale &&\n !i18n.hasResourceBundle(locale, namespace)\n ) {\n const preloaded =\n hydration.locale === locale && hydration.messages\n ? hydration.messages\n : initialLocale === locale && initialMessages\n ? initialMessages\n : null;\n const loaded = preloaded ?? (await loadMessages?.(locale));\n const messages = normalizeLoadedMessages(loaded);\n if (messages) {\n i18n.addResourceBundle(locale, namespace, messages, true, true);\n }\n }\n if (!cancelled) {\n await i18n.changeLanguage(locale);\n }\n } finally {\n if (!cancelled) setLoading(false);\n }\n }\n\n void applyLocale();\n return () => {\n cancelled = true;\n };\n }, [\n hydration.locale,\n hydration.messages,\n i18n,\n initialLocale,\n initialMessages,\n loadMessages,\n locale,\n namespace,\n sourceLocale,\n ]);\n\n useEffect(() => {\n if (typeof document === \"undefined\") return;\n const dir = localeDirection(locale);\n const root = document.documentElement;\n root.setAttribute(\"lang\", locale);\n root.setAttribute(\"dir\", dir);\n root.setAttribute(\"data-locale\", locale);\n }, [locale]);\n\n useEffect(() => {\n if (!persistPreference) return;\n let cancelled = false;\n callAction<LocalizationPreference>(\n \"get-localization-preference\",\n undefined,\n { method: \"GET\" },\n )\n .then((value) => {\n if (cancelled) return;\n const normalized = normalizeLocalizationPreference(value).locale;\n setPreferenceState(normalized);\n writeStoredPreference(normalized);\n })\n .catch(() => {\n // Anonymous/public routes use localStorage/browser language only.\n });\n return () => {\n cancelled = true;\n };\n }, [persistPreference]);\n\n useEffect(() => {\n if (typeof window === \"undefined\") return;\n const onStorage = (event: StorageEvent) => {\n if (event.key !== LOCALE_STORAGE_KEY || event.newValue == null) return;\n setPreferenceState(\n normalizeLocalizationPreference(event.newValue).locale,\n );\n };\n window.addEventListener(\"storage\", onStorage);\n return () => window.removeEventListener(\"storage\", onStorage);\n }, []);\n\n useEffect(() => {\n void setClientAppState(\n \"localization\",\n {\n locale,\n preference,\n dir: localeDirection(locale),\n },\n { requestSource: \"localization\" },\n ).catch(() => {\n // Public/anonymous pages cannot write app-state; localization still works.\n });\n }, [locale, preference]);\n\n const setPreference = useCallback(\n async (next: LocalePreference) => {\n const normalized = normalizeLocalizationPreference(next).locale;\n setPreferenceState(normalized);\n writeStoredPreference(normalized);\n if (!persistPreference) return;\n try {\n await callAction<LocalizationPreference>(\n \"set-localization-preference\",\n {\n locale: normalized,\n },\n );\n } catch (error) {\n const status = (error as { status?: unknown })?.status;\n if (status !== 401 && status !== 403) {\n throw error;\n }\n }\n },\n [persistPreference],\n );\n\n const context = useMemo<LocaleContextValue>(\n () => ({\n locale,\n sourceLocale,\n preference,\n dir: localeDirection(locale),\n metadata: LOCALE_METADATA[locale],\n setPreference,\n loading,\n }),\n [loading, locale, preference, setPreference, sourceLocale],\n );\n\n return (\n <LocaleContext.Provider value={context}>\n <I18nextProvider i18n={i18n}>{children}</I18nextProvider>\n </LocaleContext.Provider>\n );\n}\n\nexport function useLocale(): LocaleContextValue {\n const value = useContext(LocaleContext);\n if (!value) {\n throw new Error(\"useLocale must be used within AgentNativeI18nProvider\");\n }\n return value;\n}\n\nconst CORE_FALLBACK_MESSAGES: Record<string, string> = {\n \"runsTray.runs\": \"Runs\",\n \"runsTray.agentRuns\": \"Agent runs\",\n \"runsTray.activeRun_one\": \"{{count}} active run\",\n \"runsTray.activeRun_other\": \"{{count}} active runs\",\n \"runsTray.failedRun_one\": \"{{count}} failed run\",\n \"runsTray.failedRun_other\": \"{{count}} failed runs\",\n \"runsTray.recentRuns\": \"Recent runs\",\n \"runsTray.noRecentRuns\": \"No recent runs\",\n \"runsTray.ariaAgentRuns\": \"Agent runs, {{label}}\",\n \"runsTray.summaryRunning\": \"{{activeCount}} running\",\n \"runsTray.summaryRunningRecent\":\n \"{{activeCount}} running · {{terminalCount}} recent\",\n \"runsTray.summaryRecent_one\": \"{{count}} recent run\",\n \"runsTray.summaryRecent_other\": \"{{count}} recent runs\",\n \"runsTray.noTrackedWorkYet\": \"No tracked work yet\",\n \"runsTray.emptyDescription\":\n \"Background agent work will appear here while it runs and after it finishes.\",\n \"runsTray.open\": \"Open\",\n \"runsTray.stopRun\": \"Stop {{title}}\",\n \"runsTray.hideRun\": \"Hide {{title}}\",\n \"runsTray.statusRunning\": \"Running\",\n \"runsTray.statusDone\": \"Done\",\n \"runsTray.statusFailed\": \"Failed\",\n \"runsTray.statusStopped\": \"Stopped\",\n \"runsTray.updatedJustNow\": \"Updated just now\",\n \"runsTray.finishedJustNow\": \"Finished just now\",\n \"runsTray.updatedMinutes\": \"Updated {{count}}m ago\",\n \"runsTray.finishedMinutes\": \"Finished {{count}}m ago\",\n \"runsTray.updatedHours\": \"Updated {{count}}h ago\",\n \"runsTray.finishedHours\": \"Finished {{count}}h ago\",\n \"runsTray.updatedDate\": \"Updated {{date}}\",\n \"runsTray.finishedDate\": \"Finished {{date}}\",\n \"codeRequired.fallbackDetail\":\n \"Edit locally or use Builder.io to edit this code in the cloud and continue customizing the app any way you like.\",\n \"codeRequired.defaultFeature\": \"Make the requested code changes to this app\",\n \"codeRequired.branchError\": \"Failed to create branch\",\n \"codeRequired.title\": \"Code changes required\",\n \"codeRequired.subtitleWithFeature\":\n '\"{{feature}}\" creates or modifies source code, which needs Desktop or Builder from this surface.',\n \"codeRequired.subtitle\":\n \"This action creates or modifies source code, which needs Desktop or Builder from this surface.\",\n \"codeRequired.desktopTitle\": \"Use Agent Native Desktop\",\n \"codeRequired.desktopDescription\":\n \"Open the project in the desktop app to enable source edits and CLI access.\",\n \"codeRequired.builderAgentTitle\": \"Use Builder.io Agent\",\n \"codeRequired.builderAgentDescription\":\n \"Let our cloud agent make the changes for you. You'll get a link to preview and deploy.\",\n \"codeRequired.codeChangeTitle\": \"This requires a code change\",\n \"codeRequired.codeChangeBadge\": \"Code change\",\n \"codeRequired.connectBuilderTitle\": \"Connect Builder.io\",\n \"codeRequired.connectBuilderDescription\":\n \"Connect Builder to enable cloud-based code changes from this app.\",\n \"codeRequired.setupRequired\": \"Setup required\",\n \"codeRequired.branchCreated\": \"Branch created\",\n \"codeRequired.close\": \"Close\",\n \"agentPanel.useBuilder\": \"Use Builder\",\n \"agentPanel.openDesktopToEditCode\": \"Open Desktop to edit code\",\n \"agentPanel.codeUnavailableDescription\":\n \"Source-code changes and CLI access are available in the Agent Native Desktop app.\",\n \"agentPanel.downloadDesktop\": \"Download Desktop\",\n \"agentPanel.chatMode\": \"Chat mode\",\n \"agentPanel.chat\": \"Chat\",\n \"agentPanel.cliTerminalMode\": \"CLI terminal mode\",\n \"agentPanel.cli\": \"CLI\",\n \"agentPanel.workspaceMode\": \"Workspace files, agents, skills, and tasks\",\n \"agentPanel.workspace\": \"Workspace\",\n \"agentPanel.newChat\": \"New chat\",\n \"agentPanel.newTerminal\": \"New terminal\",\n \"agentPanel.panelOptions\": \"Agent panel options\",\n \"agentPanel.collapseSidebar\": \"Collapse sidebar\",\n \"agentPanel.hideChats\": \"Hide chats\",\n \"agentPanel.allChats\": \"All chats\",\n \"agentPanel.settings\": \"Settings\",\n \"agentPanel.feedback\": \"Feedback\",\n \"agentPanel.exitFullscreen\": \"Exit fullscreen\",\n \"agentPanel.fullscreen\": \"Fullscreen\",\n \"agentPanel.closeTab\": \"Close tab\",\n \"agentPanel.closeOtherTabs\": \"Close other tabs\",\n \"agentPanel.closeAllTabs\": \"Close all tabs\",\n \"agentPanel.clearChat\": \"Clear chat\",\n \"agentPanel.cliRequiresDevMode\": \"CLI requires dev mode\",\n \"agentPanel.cliRequiresDevModeDescription\":\n \"Run this app locally with pnpm dev or use Builder.io to access the CLI terminal.\",\n \"agentPanel.toggleAgent\": \"Toggle agent\",\n};\n\nfunction flattenMessages(\n value: unknown,\n prefix = \"\",\n out: Record<string, string> = {},\n) {\n if (!value || typeof value !== \"object\" || Array.isArray(value)) return out;\n for (const [key, child] of Object.entries(value)) {\n const nextKey = prefix ? `${prefix}.${key}` : key;\n if (typeof child === \"string\") {\n out[nextKey] = child;\n } else {\n flattenMessages(child, nextKey, out);\n }\n }\n return out;\n}\n\nconst DEFAULT_ENGLISH_MESSAGES = flattenMessages(defaultEnglishMessages);\n\nfunction interpolateFallbackMessage(\n template: string,\n options?: Record<string, unknown>,\n) {\n return template.replace(/\\{\\{(\\w+)\\}\\}/g, (_, name: string) => {\n const value = options?.[name];\n return value == null ? \"\" : String(value);\n });\n}\n\nfunction fallbackMessage(key: string, options?: Record<string, unknown>) {\n const count = Number(options?.count);\n const pluralKey =\n Number.isFinite(count) && count === 1 ? `${key}_one` : `${key}_other`;\n const template =\n DEFAULT_ENGLISH_MESSAGES[pluralKey] ??\n DEFAULT_ENGLISH_MESSAGES[key] ??\n CORE_FALLBACK_MESSAGES[pluralKey] ??\n CORE_FALLBACK_MESSAGES[key];\n return template ? interpolateFallbackMessage(template, options) : key;\n}\n\nexport function useT() {\n const { i18n, t } = useTranslation();\n const context = useContext(LocaleContext);\n const sourceLocale = context?.sourceLocale ?? DEFAULT_LOCALE;\n return useCallback(\n (key: string, options?: Record<string, unknown>) => {\n const translated = t(key, options);\n if (translated !== key) return translated;\n const getFixedT = (\n i18n as { getFixedT?: (locale: LocaleCode) => typeof t }\n ).getFixedT;\n const sourceFallback = getFixedT?.(sourceLocale)(key, options);\n if (sourceFallback && sourceFallback !== key) return sourceFallback;\n return fallbackMessage(key, options);\n },\n [i18n, sourceLocale, t],\n );\n}\n\nexport function useFormatters() {\n const context = useContext(LocaleContext);\n const locale = context?.locale ?? DEFAULT_LOCALE;\n return useMemo(\n () => ({\n formatDate(\n value: Date | number | string,\n options?: Intl.DateTimeFormatOptions,\n ) {\n return new Intl.DateTimeFormat(locale, options).format(\n value instanceof Date ? value : new Date(value),\n );\n },\n formatNumber(value: number, options?: Intl.NumberFormatOptions) {\n return new Intl.NumberFormat(locale, options).format(value);\n },\n formatRelativeTime(\n value: number,\n unit: Intl.RelativeTimeFormatUnit,\n options?: Intl.RelativeTimeFormatOptions,\n ) {\n return new Intl.RelativeTimeFormat(locale, options).format(value, unit);\n },\n formatList(value: string[], options?: Intl.ListFormatOptions) {\n return new Intl.ListFormat(locale, options).format(value);\n },\n }),\n [locale],\n );\n}\n\nexport function LanguagePicker({\n className,\n includeSystem = true,\n label,\n variant = \"select\",\n}: {\n className?: string;\n includeSystem?: boolean;\n label?: string;\n variant?: \"select\" | \"icon\";\n}) {\n const { locale, preference, setPreference } = useLocale();\n const copy =\n LANGUAGE_PICKER_COPY[locale] ?? LANGUAGE_PICKER_COPY[DEFAULT_LOCALE];\n const resolvedLabel = label ?? copy.label;\n const options = [\n ...(includeSystem\n ? [\n {\n value: \"system\" as const,\n label: copy.system,\n description: copy.systemDescription,\n },\n ]\n : []),\n ...SUPPORTED_LOCALES.map((code) => ({\n value: code,\n label:\n LOCALE_METADATA[code].nativeName === LOCALE_METADATA[code].englishName\n ? LOCALE_METADATA[code].nativeName\n : `${LOCALE_METADATA[code].nativeName} (${LOCALE_METADATA[code].englishName})`,\n description: code,\n })),\n ];\n const selected = options.find((option) => option.value === preference);\n\n return (\n <div className={className}>\n <SelectPrimitive.Root\n value={preference}\n onValueChange={(value) =>\n void setPreference(normalizeLocalizationPreference(value).locale)\n }\n >\n <SelectPrimitive.Trigger\n className={\n variant === \"icon\"\n ? \"flex h-8 w-8 items-center justify-center rounded-md border border-border bg-background text-foreground outline-none transition-colors hover:bg-accent/40 data-[placeholder]:text-muted-foreground\"\n : \"flex h-9 w-full items-center justify-between rounded-md border border-border bg-background px-3 text-start text-[12px] text-foreground outline-none transition-colors hover:bg-accent/40 data-[placeholder]:text-muted-foreground\"\n }\n aria-label={resolvedLabel}\n title={selected?.label ?? resolvedLabel}\n >\n <span className=\"flex min-w-0 items-center gap-2\">\n <IconLanguage className=\"h-4 w-4 shrink-0 text-muted-foreground\" />\n {variant === \"select\" ? (\n <SelectPrimitive.Value>\n <span className=\"truncate\">\n {selected?.label ?? preference}\n </span>\n </SelectPrimitive.Value>\n ) : null}\n </span>\n {variant === \"select\" ? (\n <SelectPrimitive.Icon asChild>\n <IconChevronDown className=\"h-3.5 w-3.5 text-muted-foreground\" />\n </SelectPrimitive.Icon>\n ) : null}\n </SelectPrimitive.Trigger>\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n position=\"popper\"\n sideOffset={6}\n className={\n variant === \"icon\"\n ? \"z-[9999] min-w-56 overflow-hidden rounded-lg border border-border bg-popover shadow-lg\"\n : \"z-[9999] w-[var(--radix-select-trigger-width)] overflow-hidden rounded-lg border border-border bg-popover shadow-lg\"\n }\n >\n <SelectPrimitive.Viewport className=\"p-1\">\n {options.map((option) => (\n <SelectPrimitive.Item\n key={option.value}\n value={option.value}\n className=\"relative flex w-full cursor-pointer select-none items-start gap-2 rounded-md px-8 py-2.5 text-[12px] outline-none data-[highlighted]:bg-accent/60 data-[state=checked]:bg-accent/40\"\n >\n <span className=\"absolute start-2 top-2.5 flex h-4 w-4 items-center justify-center text-muted-foreground\">\n <SelectPrimitive.ItemIndicator>\n <IconCheck className=\"h-3.5 w-3.5\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n <div className=\"flex min-w-0 flex-col\">\n <SelectPrimitive.ItemText>\n <span className=\"text-foreground\">{option.label}</span>\n </SelectPrimitive.ItemText>\n <span className=\"mt-0.5 text-[11px] leading-relaxed text-muted-foreground\">\n {option.description}\n </span>\n </div>\n </SelectPrimitive.Item>\n ))}\n </SelectPrimitive.Viewport>\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n </SelectPrimitive.Root>\n </div>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ShareDialog.d.ts","sourceRoot":"","sources":["../../../src/client/sharing/ShareDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ShareDialog.d.ts","sourceRoot":"","sources":["../../../src/client/sharing/ShareDialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAsB5D,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oFAAoF;IACpF,eAAe,CAAC,EAAE,SAAS,CAAC;IAC5B,oFAAoF;IACpF,aAAa,CAAC,EAAE,SAAS,CAAC;CAC3B;AA2HD;;;;;;GAMG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,sCAoJlD"}
|
|
@@ -7,6 +7,7 @@ import { writeClipboardText } from "../clipboard.js";
|
|
|
7
7
|
import { useActionQuery, useActionMutation } from "../use-action.js";
|
|
8
8
|
import { cn } from "../utils.js";
|
|
9
9
|
import { agentNativePath } from "../api-path.js";
|
|
10
|
+
import { useT } from "../i18n.js";
|
|
10
11
|
function useOrgMembers() {
|
|
11
12
|
const [members, setMembers] = useState([]);
|
|
12
13
|
useEffect(() => {
|
|
@@ -41,32 +42,51 @@ const BUTTON_BASE = "inline-flex items-center justify-center gap-2 whitespace-no
|
|
|
41
42
|
const BUTTON_OUTLINE_SM = cn(BUTTON_BASE, "h-9 px-3 border border-input bg-background hover:bg-accent hover:text-accent-foreground");
|
|
42
43
|
const BUTTON_PRIMARY_SM = cn(BUTTON_BASE, "h-9 px-4 bg-primary text-primary-foreground hover:bg-primary/90");
|
|
43
44
|
const BUTTON_GHOST_ICON = cn(BUTTON_BASE, "h-8 w-8 p-0 text-muted-foreground hover:bg-accent hover:text-accent-foreground");
|
|
44
|
-
const
|
|
45
|
-
private:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
Icon: IconLock,
|
|
49
|
-
},
|
|
50
|
-
org: {
|
|
51
|
-
label: "Organization",
|
|
52
|
-
description: "Anyone in your organization can view",
|
|
53
|
-
Icon: IconBuilding,
|
|
54
|
-
},
|
|
55
|
-
public: {
|
|
56
|
-
label: "Public",
|
|
57
|
-
description: "Anyone signed in with the link can view",
|
|
58
|
-
Icon: IconWorld,
|
|
59
|
-
},
|
|
45
|
+
const VIS_ICONS = {
|
|
46
|
+
private: IconLock,
|
|
47
|
+
org: IconBuilding,
|
|
48
|
+
public: IconWorld,
|
|
60
49
|
};
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
{
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
50
|
+
function useVisibilityMeta() {
|
|
51
|
+
const t = useT();
|
|
52
|
+
return {
|
|
53
|
+
private: {
|
|
54
|
+
label: t("share.private"),
|
|
55
|
+
description: t("share.privateDescription"),
|
|
56
|
+
Icon: VIS_ICONS.private,
|
|
57
|
+
},
|
|
58
|
+
org: {
|
|
59
|
+
label: t("share.organization"),
|
|
60
|
+
description: t("share.organizationDescription"),
|
|
61
|
+
Icon: VIS_ICONS.org,
|
|
62
|
+
},
|
|
63
|
+
public: {
|
|
64
|
+
label: t("share.public"),
|
|
65
|
+
description: t("share.publicDescription"),
|
|
66
|
+
Icon: VIS_ICONS.public,
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
}
|
|
70
|
+
function useRoleOptions() {
|
|
71
|
+
const t = useT();
|
|
72
|
+
return [
|
|
73
|
+
{
|
|
74
|
+
value: "viewer",
|
|
75
|
+
label: t("share.viewer"),
|
|
76
|
+
description: t("share.viewerDescription"),
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
value: "editor",
|
|
80
|
+
label: t("share.editor"),
|
|
81
|
+
description: t("share.editorDescription"),
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
value: "admin",
|
|
85
|
+
label: t("share.admin"),
|
|
86
|
+
description: t("share.adminDescription"),
|
|
87
|
+
},
|
|
88
|
+
];
|
|
89
|
+
}
|
|
70
90
|
/**
|
|
71
91
|
* Framework share dialog. Drop into any template via
|
|
72
92
|
* `<ShareDialog open onClose resourceType resourceId />`. Passing
|
|
@@ -76,6 +96,7 @@ const ROLE_OPTIONS = [
|
|
|
76
96
|
*/
|
|
77
97
|
export function ShareDialog(props) {
|
|
78
98
|
const { open, onClose, resourceType, resourceId, resourceTitle, shareUrl, embedUrl, embedTabContent, linkTabExtras, } = props;
|
|
99
|
+
const t = useT();
|
|
79
100
|
const sharesQuery = useActionQuery("list-resource-shares", {
|
|
80
101
|
resourceType,
|
|
81
102
|
resourceId,
|
|
@@ -103,11 +124,13 @@ export function ShareDialog(props) {
|
|
|
103
124
|
if (!open)
|
|
104
125
|
return null;
|
|
105
126
|
const titleText = resourceTitle
|
|
106
|
-
?
|
|
107
|
-
:
|
|
108
|
-
return createPortal(_jsx("div", { className: "fixed inset-0 z-[2000] flex items-start justify-center bg-black/40 p-4 sm:items-center", onClick: onClose, children: _jsxs("div", { role: "dialog", "aria-modal": "true", "aria-label": titleText, className: "w-full max-w-lg rounded-xl border border-border bg-popover text-popover-foreground shadow-2xl outline-none", onClick: (e) => e.stopPropagation(), children: [_jsxs("div", { className: "flex items-start justify-between gap-3 px-5 pt-4 pb-3", children: [_jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-base font-semibold", title: titleText, children: titleText }), sharesQuery.data?.ownerEmail ? (
|
|
127
|
+
? t("share.titleWithResource", { title: resourceTitle })
|
|
128
|
+
: t("share.titleWithType", { type: resourceType });
|
|
129
|
+
return createPortal(_jsx("div", { className: "fixed inset-0 z-[2000] flex items-start justify-center bg-black/40 p-4 sm:items-center", onClick: onClose, children: _jsxs("div", { role: "dialog", "aria-modal": "true", "aria-label": titleText, className: "w-full max-w-lg rounded-xl border border-border bg-popover text-popover-foreground shadow-2xl outline-none", onClick: (e) => e.stopPropagation(), children: [_jsxs("div", { className: "flex items-start justify-between gap-3 px-5 pt-4 pb-3", children: [_jsxs("div", { className: "min-w-0 flex-1", children: [_jsx("div", { className: "truncate text-base font-semibold", title: titleText, children: titleText }), sharesQuery.data?.ownerEmail ? (_jsx("div", { className: "mt-0.5 truncate text-xs text-muted-foreground", children: t("share.owner", {
|
|
130
|
+
name: displayName(sharesQuery.data.ownerEmail, orgMembers),
|
|
131
|
+
}) })) : null] }), _jsx("button", { type: "button", "aria-label": t("share.close"), onClick: onClose, className: BUTTON_GHOST_ICON, children: _jsx(IconX, { size: 16 }) })] }), tabsEnabled ? (_jsxs("div", { role: "tablist", "aria-label": t("share.shareOptions"), className: "mx-5 mt-1 flex gap-1 border-b border-border", children: [hasLinkTab ? (_jsx(TabTrigger, { active: tab === "link", onClick: () => setTab("link"), icon: _jsx(IconLink, { size: 14, strokeWidth: 1.75 }), label: t("share.link") })) : null, _jsx(TabTrigger, { active: tab === "invite", onClick: () => setTab("invite"), icon: _jsx(IconMail, { size: 14, strokeWidth: 1.75 }), label: t("share.invite") }), hasEmbedTab ? (_jsx(TabTrigger, { active: tab === "embed", onClick: () => setTab("embed"), icon: _jsx(IconCode, { size: 14, strokeWidth: 1.75 }), label: t("share.embed") })) : null] })) : null, _jsxs("div", { className: "px-5 py-4", children: [tabsEnabled && tab === "link" && hasLinkTab ? (_jsx(LinkTab, { resourceType: resourceType, resourceId: resourceId, shareUrl: shareUrl, sharesQuery: sharesQuery, extras: linkTabExtras })) : null, !tabsEnabled || tab === "invite" ? (_jsx(InviteTab, { resourceType: resourceType, resourceId: resourceId, shareUrl: shareUrl, sharesQuery: sharesQuery, showVisibility: !tabsEnabled, orgMembers: orgMembers })) : null, tabsEnabled && tab === "embed" && hasEmbedTab
|
|
109
132
|
? (embedTabContent ?? _jsx(DefaultEmbedBody, { embedUrl: embedUrl }))
|
|
110
|
-
: null] }), _jsx("div", { className: "flex justify-end border-t border-border px-5 py-3", children: _jsx("button", { type: "button", onClick: onClose, className: BUTTON_PRIMARY_SM, children: "
|
|
133
|
+
: null] }), _jsx("div", { className: "flex justify-end border-t border-border px-5 py-3", children: _jsx("button", { type: "button", onClick: onClose, className: BUTTON_PRIMARY_SM, children: t("share.done") }) })] }) }), document.body);
|
|
111
134
|
}
|
|
112
135
|
// ---------------------------------------------------------------------------
|
|
113
136
|
// Tabs
|
|
@@ -122,23 +145,27 @@ function TabTrigger(props) {
|
|
|
122
145
|
// ---------------------------------------------------------------------------
|
|
123
146
|
function LinkTab(props) {
|
|
124
147
|
const { resourceType, resourceId, shareUrl, sharesQuery, extras } = props;
|
|
148
|
+
const t = useT();
|
|
149
|
+
const visibilityMeta = useVisibilityMeta();
|
|
125
150
|
const setVisibility = useActionMutation("set-resource-visibility");
|
|
126
151
|
const data = sharesQuery.data;
|
|
127
152
|
const visibility = data?.visibility ?? "private";
|
|
128
153
|
const canManage = data?.role === "owner" || data?.role === "admin";
|
|
129
|
-
const meta =
|
|
154
|
+
const meta = visibilityMeta[visibility];
|
|
130
155
|
const handleVisibility = (next) => {
|
|
131
156
|
if (next === visibility)
|
|
132
157
|
return;
|
|
133
158
|
setVisibility.mutate({ resourceType, resourceId, visibility: next }, { onSuccess: () => sharesQuery.refetch() });
|
|
134
159
|
};
|
|
135
|
-
return (_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { children: [_jsx("div", { className: "mb-2 text-sm font-semibold", children: "
|
|
160
|
+
return (_jsxs("div", { className: "space-y-4", children: [_jsxs("div", { children: [_jsx("div", { className: "mb-2 text-sm font-semibold", children: t("share.generalAccess") }), _jsxs("div", { className: "flex items-center gap-3", children: [_jsx("span", { "aria-hidden": true, className: "inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground", children: _jsx(meta.Icon, { size: 16, strokeWidth: 1.75 }) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx(VisibilitySelect, { value: visibility, onChange: handleVisibility, disabled: !canManage }), _jsx("div", { className: "mt-0.5 text-xs text-muted-foreground", children: meta.description })] })] })] }), _jsx(CopyField, { label: t("share.shareLink"), value: shareUrl }), extras] }));
|
|
136
161
|
}
|
|
137
162
|
// ---------------------------------------------------------------------------
|
|
138
163
|
// Invite tab — invite-by-email + shares list + (optional) visibility
|
|
139
164
|
// ---------------------------------------------------------------------------
|
|
140
165
|
function InviteTab(props) {
|
|
141
166
|
const { resourceType, resourceId, shareUrl, sharesQuery, showVisibility, orgMembers, } = props;
|
|
167
|
+
const t = useT();
|
|
168
|
+
const visibilityMeta = useVisibilityMeta();
|
|
142
169
|
const share = useActionMutation("share-resource");
|
|
143
170
|
const unshare = useActionMutation("unshare-resource");
|
|
144
171
|
const setVisibility = useActionMutation("set-resource-visibility");
|
|
@@ -150,7 +177,7 @@ function InviteTab(props) {
|
|
|
150
177
|
const shares = data?.shares ?? [];
|
|
151
178
|
const visibility = data?.visibility ?? "private";
|
|
152
179
|
const canManage = data?.role === "owner" || data?.role === "admin";
|
|
153
|
-
const meta =
|
|
180
|
+
const meta = visibilityMeta[visibility];
|
|
154
181
|
const handleAdd = () => {
|
|
155
182
|
const trimmed = email.trim();
|
|
156
183
|
if (!trimmed)
|
|
@@ -183,27 +210,29 @@ function InviteTab(props) {
|
|
|
183
210
|
return;
|
|
184
211
|
setVisibility.mutate({ resourceType, resourceId, visibility: next }, { onSuccess: () => sharesQuery.refetch() });
|
|
185
212
|
};
|
|
186
|
-
return (_jsxs("div", { className: "space-y-4", children: [canManage ? (_jsxs("div", { className: "space-y-2", children: [_jsxs("div", { className: "flex items-stretch gap-2", children: [_jsx("input", { type: "email", placeholder: "
|
|
213
|
+
return (_jsxs("div", { className: "space-y-4", children: [canManage ? (_jsxs("div", { className: "space-y-2", children: [_jsxs("div", { className: "flex items-stretch gap-2", children: [_jsx("input", { type: "email", placeholder: t("share.addPeopleByEmail"), value: email, onChange: (e) => setEmail(e.target.value), onKeyDown: (e) => {
|
|
187
214
|
if (e.key === "Enter")
|
|
188
215
|
handleAdd();
|
|
189
|
-
}, autoComplete: "off", 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" }), _jsx(RoleSelect, { value: role, onChange: setRole })] }), hasInviteEmail ? (_jsxs("label", { className: "inline-flex items-center gap-2 text-xs text-muted-foreground", children: [_jsx("input", { type: "checkbox", checked: notifyPeople, onChange: (e) => setNotifyPeople(e.target.checked), className: "h-4 w-4 rounded border-input accent-primary" }), "
|
|
216
|
+
}, autoComplete: "off", 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" }), _jsx(RoleSelect, { value: role, onChange: setRole })] }), hasInviteEmail ? (_jsxs("label", { className: "inline-flex items-center gap-2 text-xs text-muted-foreground", children: [_jsx("input", { type: "checkbox", checked: notifyPeople, onChange: (e) => setNotifyPeople(e.target.checked), className: "h-4 w-4 rounded border-input accent-primary" }), t("share.notifyPeople")] })) : null] })) : null, _jsxs("div", { children: [_jsx("div", { className: "mb-2 text-sm font-semibold", children: t("share.peopleWithAccess") }), _jsxs("ul", { className: "flex flex-col gap-1 list-none p-0 m-0", children: [data?.ownerEmail ? (_jsxs("li", { className: "flex items-center gap-3 px-1 py-1.5 text-sm", children: [_jsx(Avatar, { label: displayName(data.ownerEmail, orgMembers) }), _jsx("span", { className: "flex-1 min-w-0 truncate", children: displayName(data.ownerEmail, orgMembers) }), _jsx("span", { className: "text-xs text-muted-foreground", children: t("share.ownerRole") })] })) : null, shares.map((s) => (_jsxs("li", { className: "flex items-center gap-3 px-1 py-1.5 text-sm", children: [_jsx(Avatar, { label: s.principalType === "org"
|
|
190
217
|
? s.principalId
|
|
191
218
|
: displayName(s.principalId, orgMembers), org: s.principalType === "org" }), _jsx("span", { className: "flex-1 min-w-0 truncate", children: s.principalType === "org"
|
|
192
219
|
? s.principalId
|
|
193
|
-
: displayName(s.principalId, orgMembers) }), _jsx("span", { className: "text-xs text-muted-foreground", children: cap(s.role) }), canManage ? (_jsx("button", { type: "button", "aria-label": "
|
|
220
|
+
: displayName(s.principalId, orgMembers) }), _jsx("span", { className: "text-xs text-muted-foreground", children: cap(s.role) }), canManage ? (_jsx("button", { type: "button", "aria-label": t("share.remove"), onClick: () => handleRemove(s), className: BUTTON_GHOST_ICON, children: _jsx(IconTrash, { size: 14 }) })) : null] }, `${s.principalType}:${s.principalId}`))), !shares.length && !data?.ownerEmail ? (_jsx("li", { className: "px-1 py-1.5 text-sm text-muted-foreground", children: t("share.noAccess") })) : null] })] }), showVisibility ? (_jsxs("div", { children: [_jsx("div", { className: "mb-2 text-sm font-semibold", children: t("share.generalAccess") }), _jsxs("div", { className: "flex items-center gap-3", children: [_jsx("span", { "aria-hidden": true, className: "inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-muted text-muted-foreground", children: _jsx(meta.Icon, { size: 16, strokeWidth: 1.75 }) }), _jsxs("div", { className: "min-w-0 flex-1", children: [_jsx(VisibilitySelect, { value: visibility, onChange: handleVisibility, disabled: !canManage }), _jsx("div", { className: "mt-0.5 text-xs text-muted-foreground", children: meta.description })] })] })] })) : null] }));
|
|
194
221
|
}
|
|
195
222
|
// ---------------------------------------------------------------------------
|
|
196
223
|
// Default Embed body (simple responsive iframe snippet)
|
|
197
224
|
// ---------------------------------------------------------------------------
|
|
198
225
|
function DefaultEmbedBody({ embedUrl }) {
|
|
226
|
+
const t = useT();
|
|
199
227
|
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>`;
|
|
200
|
-
return (_jsxs("div", { className: "space-y-3", children: [_jsx(CopyField, { label: "
|
|
228
|
+
return (_jsxs("div", { className: "space-y-3", children: [_jsx(CopyField, { label: t("share.embedUrl"), value: embedUrl }), _jsx(CopyField, { label: t("share.embedCode"), value: code, multiline: true })] }));
|
|
201
229
|
}
|
|
202
230
|
// ---------------------------------------------------------------------------
|
|
203
231
|
// Primitives
|
|
204
232
|
// ---------------------------------------------------------------------------
|
|
205
233
|
function CopyField({ label, value, multiline, }) {
|
|
206
234
|
const [copied, setCopied] = useState(false);
|
|
235
|
+
const t = useT();
|
|
207
236
|
const copy = async () => {
|
|
208
237
|
if (!(await writeClipboardText(value))) {
|
|
209
238
|
setCopied(false);
|
|
@@ -212,7 +241,7 @@ function CopyField({ label, value, multiline, }) {
|
|
|
212
241
|
setCopied(true);
|
|
213
242
|
setTimeout(() => setCopied(false), 1400);
|
|
214
243
|
};
|
|
215
|
-
return (_jsxs("div", { children: [_jsx("div", { className: "mb-1 text-xs font-medium text-muted-foreground", children: label }), _jsxs("div", { className: "flex items-stretch gap-2", children: [multiline ? (_jsx("textarea", { readOnly: true, value: value, 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" })) : (_jsx("input", { readOnly: true, value: value, 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" })), _jsx("button", { type: "button", onClick: copy, "aria-label": "
|
|
244
|
+
return (_jsxs("div", { children: [_jsx("div", { className: "mb-1 text-xs font-medium text-muted-foreground", children: label }), _jsxs("div", { className: "flex items-stretch gap-2", children: [multiline ? (_jsx("textarea", { readOnly: true, value: value, 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" })) : (_jsx("input", { readOnly: true, value: value, 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" })), _jsx("button", { type: "button", onClick: copy, "aria-label": t("share.copy"), className: cn(BUTTON_OUTLINE_SM, "w-9 px-0"), children: copied ? _jsx(IconCheck, { size: 14 }) : _jsx(IconCopy, { size: 14 }) })] })] }));
|
|
216
245
|
}
|
|
217
246
|
const selectContentClass = "z-[2100] min-w-[12rem] overflow-hidden rounded-md border border-border bg-popover p-1 text-popover-foreground shadow-md";
|
|
218
247
|
const selectItemClass = "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";
|
|
@@ -220,15 +249,19 @@ function SelectItems({ items, }) {
|
|
|
220
249
|
return (_jsx(_Fragment, { children: items.map((it) => (_jsxs(Select.Item, { value: it.value, className: selectItemClass, children: [_jsx("span", { className: "absolute start-2 top-2 flex h-4 w-4 items-center justify-center", children: _jsx(Select.ItemIndicator, { children: _jsx(IconCheck, { size: 14 }) }) }), _jsxs("span", { className: "flex flex-col", children: [_jsx(Select.ItemText, { children: it.label }), it.description ? (_jsx("span", { className: "text-xs text-muted-foreground", children: it.description })) : null] })] }, it.value))) }));
|
|
221
250
|
}
|
|
222
251
|
function RoleSelect(props) {
|
|
223
|
-
const
|
|
224
|
-
|
|
252
|
+
const t = useT();
|
|
253
|
+
const roleOptions = useRoleOptions();
|
|
254
|
+
const current = roleOptions.find((o) => o.value === props.value) ?? roleOptions[0];
|
|
255
|
+
return (_jsxs(Select.Root, { value: props.value, onValueChange: (v) => props.onChange(v), children: [_jsxs(Select.Trigger, { "aria-label": t("share.role"), className: cn(BUTTON_BASE, "h-9 px-3 border border-input bg-background hover:bg-accent hover:text-accent-foreground"), children: [_jsx(Select.Value, { children: current.label }), _jsx(Select.Icon, { children: _jsx(IconChevronDown, { size: 14 }) })] }), _jsx(Select.Portal, { children: _jsx(Select.Content, { className: selectContentClass, position: "popper", sideOffset: 4, children: _jsx(Select.Viewport, { children: _jsx(SelectItems, { items: roleOptions }) }) }) })] }));
|
|
225
256
|
}
|
|
226
257
|
function VisibilitySelect(props) {
|
|
227
|
-
const
|
|
228
|
-
|
|
258
|
+
const t = useT();
|
|
259
|
+
const visibilityMeta = useVisibilityMeta();
|
|
260
|
+
const current = visibilityMeta[props.value];
|
|
261
|
+
return (_jsxs(Select.Root, { value: props.value, onValueChange: (v) => props.onChange(v), disabled: props.disabled, children: [_jsxs(Select.Trigger, { "aria-label": t("share.generalAccess"), className: cn(BUTTON_BASE, "h-7 px-1 -ms-1 bg-transparent text-foreground hover:bg-accent hover:text-accent-foreground"), children: [_jsx(Select.Value, { children: current.label }), _jsx(Select.Icon, { children: _jsx(IconChevronDown, { size: 14 }) })] }), _jsx(Select.Portal, { children: _jsx(Select.Content, { className: selectContentClass, position: "popper", sideOffset: 4, children: _jsx(Select.Viewport, { children: _jsx(SelectItems, { items: Object.keys(VIS_ICONS).map((k) => ({
|
|
229
262
|
value: k,
|
|
230
|
-
label:
|
|
231
|
-
description:
|
|
263
|
+
label: visibilityMeta[k].label,
|
|
264
|
+
description: visibilityMeta[k].description,
|
|
232
265
|
})) }) }) }) })] }));
|
|
233
266
|
}
|
|
234
267
|
function Avatar({ label, org }) {
|