@agent-native/core 0.77.3 → 0.77.6
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/README.md +1 -1
- package/corpus/core/CHANGELOG.md +27 -0
- package/corpus/core/docs/content/locales/ar-SA/a2a-protocol.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/actions.md +6 -6
- package/corpus/core/docs/content/locales/ar-SA/agent-surfaces.md +5 -5
- package/corpus/core/docs/content/locales/ar-SA/agent-teams.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/agent-web-surfaces.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/authentication.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/automations.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/cli-adapters.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/code-agents-ui.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/components.md +14 -14
- package/corpus/core/docs/content/locales/ar-SA/context-awareness.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/creating-templates.md +12 -12
- package/corpus/core/docs/content/locales/ar-SA/cross-app-sso.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/database.md +7 -7
- package/corpus/core/docs/content/locales/ar-SA/deployment.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/dispatch.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/drop-in-agent.md +8 -8
- 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 +3 -3
- package/corpus/core/docs/content/locales/ar-SA/extensions.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/external-agents.md +8 -8
- package/corpus/core/docs/content/locales/ar-SA/faq.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/file-uploads.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/frames.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/getting-started.md +13 -13
- package/corpus/core/docs/content/locales/ar-SA/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/human-approval.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/key-concepts.md +14 -14
- package/corpus/core/docs/content/locales/ar-SA/local-file-mode.md +5 -5
- package/corpus/core/docs/content/locales/ar-SA/mcp-apps.md +9 -9
- package/corpus/core/docs/content/locales/ar-SA/mcp-clients.md +9 -9
- package/corpus/core/docs/content/locales/ar-SA/mcp-protocol.md +5 -5
- package/corpus/core/docs/content/locales/ar-SA/messaging.md +5 -5
- 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 +1 -1
- 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 +4 -4
- package/corpus/core/docs/content/locales/ar-SA/notifications.md +5 -5
- package/corpus/core/docs/content/locales/ar-SA/observability.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/ar-SA/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/ar-SA/processors.md +2 -2
- package/corpus/core/docs/content/locales/ar-SA/progress.md +3 -3
- 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 +6 -6
- package/corpus/core/docs/content/locales/ar-SA/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/ar-SA/routing.md +1 -1
- package/corpus/core/docs/content/locales/ar-SA/sandbox-adapters.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/security.md +10 -10
- package/corpus/core/docs/content/locales/ar-SA/server.md +9 -9
- package/corpus/core/docs/content/locales/ar-SA/sharing.md +7 -7
- package/corpus/core/docs/content/locales/ar-SA/skills-guide.md +16 -16
- package/corpus/core/docs/content/locales/ar-SA/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/ar-SA/template-assets.md +19 -19
- package/corpus/core/docs/content/locales/ar-SA/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/ar-SA/template-calendar.md +9 -9
- package/corpus/core/docs/content/locales/ar-SA/template-chat.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/template-clips.md +13 -13
- package/corpus/core/docs/content/locales/ar-SA/template-content.md +15 -15
- package/corpus/core/docs/content/locales/ar-SA/template-design.md +7 -7
- package/corpus/core/docs/content/locales/ar-SA/template-dispatch.md +8 -8
- package/corpus/core/docs/content/locales/ar-SA/template-forms.md +9 -9
- package/corpus/core/docs/content/locales/ar-SA/template-mail.md +7 -7
- package/corpus/core/docs/content/locales/ar-SA/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/ar-SA/template-slides.md +8 -8
- package/corpus/core/docs/content/locales/ar-SA/template-videos.md +5 -5
- package/corpus/core/docs/content/locales/ar-SA/tracking.md +6 -6
- package/corpus/core/docs/content/locales/ar-SA/using-your-agent.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/voice-input.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/what-is-agent-native.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/workspace-connections.md +8 -8
- package/corpus/core/docs/content/locales/ar-SA/workspace-management.md +4 -4
- package/corpus/core/docs/content/locales/ar-SA/workspace.md +24 -24
- package/corpus/core/docs/content/locales/ar-SA/writing-agent-instructions.md +18 -18
- package/corpus/core/docs/content/locales/de-DE/a2a-protocol.md +7 -7
- package/corpus/core/docs/content/locales/de-DE/actions.md +5 -5
- package/corpus/core/docs/content/locales/de-DE/agent-mentions.md +4 -4
- package/corpus/core/docs/content/locales/de-DE/agent-surfaces.md +22 -22
- package/corpus/core/docs/content/locales/de-DE/agent-teams.md +4 -4
- package/corpus/core/docs/content/locales/de-DE/agent-web-surfaces.md +4 -4
- package/corpus/core/docs/content/locales/de-DE/authentication.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/automations.md +8 -8
- package/corpus/core/docs/content/locales/de-DE/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/client.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/cloneable-saas.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/code-agents-ui.md +9 -9
- package/corpus/core/docs/content/locales/de-DE/components.md +15 -15
- package/corpus/core/docs/content/locales/de-DE/context-awareness.md +8 -8
- package/corpus/core/docs/content/locales/de-DE/creating-templates.md +13 -13
- package/corpus/core/docs/content/locales/de-DE/cross-app-sso.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/database.md +5 -5
- package/corpus/core/docs/content/locales/de-DE/deployment.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/dispatch.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/drop-in-agent.md +14 -14
- 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 +6 -6
- package/corpus/core/docs/content/locales/de-DE/faq.md +5 -5
- package/corpus/core/docs/content/locales/de-DE/file-uploads.md +4 -4
- package/corpus/core/docs/content/locales/de-DE/frames.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/getting-started.md +16 -16
- package/corpus/core/docs/content/locales/de-DE/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/human-approval.md +4 -4
- package/corpus/core/docs/content/locales/de-DE/key-concepts.md +14 -14
- 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 +4 -4
- package/corpus/core/docs/content/locales/de-DE/mcp-clients.md +7 -7
- package/corpus/core/docs/content/locales/de-DE/mcp-protocol.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/messaging.md +5 -5
- 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 +2 -2
- package/corpus/core/docs/content/locales/de-DE/multi-tenancy.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/native-chat-ui.md +8 -8
- package/corpus/core/docs/content/locales/de-DE/notifications.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/observability.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/de-DE/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/de-DE/processors.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/progress.md +2 -2
- 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 +8 -8
- package/corpus/core/docs/content/locales/de-DE/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/de-DE/routing.md +1 -1
- package/corpus/core/docs/content/locales/de-DE/sandbox-adapters.md +2 -2
- package/corpus/core/docs/content/locales/de-DE/security.md +10 -10
- package/corpus/core/docs/content/locales/de-DE/server.md +10 -10
- package/corpus/core/docs/content/locales/de-DE/sharing.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/skills-guide.md +17 -17
- package/corpus/core/docs/content/locales/de-DE/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/de-DE/template-assets.md +21 -21
- package/corpus/core/docs/content/locales/de-DE/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/de-DE/template-calendar.md +10 -10
- package/corpus/core/docs/content/locales/de-DE/template-chat.md +5 -5
- package/corpus/core/docs/content/locales/de-DE/template-clips.md +14 -14
- package/corpus/core/docs/content/locales/de-DE/template-content.md +14 -14
- package/corpus/core/docs/content/locales/de-DE/template-design.md +7 -7
- package/corpus/core/docs/content/locales/de-DE/template-dispatch.md +12 -12
- package/corpus/core/docs/content/locales/de-DE/template-forms.md +9 -9
- package/corpus/core/docs/content/locales/de-DE/template-mail.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/template-slides.md +8 -8
- package/corpus/core/docs/content/locales/de-DE/template-videos.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/tracking.md +3 -3
- package/corpus/core/docs/content/locales/de-DE/using-your-agent.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/voice-input.md +9 -9
- package/corpus/core/docs/content/locales/de-DE/what-is-agent-native.md +6 -6
- package/corpus/core/docs/content/locales/de-DE/workspace-connections.md +9 -9
- package/corpus/core/docs/content/locales/de-DE/workspace-management.md +5 -5
- package/corpus/core/docs/content/locales/de-DE/workspace.md +23 -23
- package/corpus/core/docs/content/locales/de-DE/writing-agent-instructions.md +30 -30
- package/corpus/core/docs/content/locales/es-ES/a2a-protocol.md +7 -7
- package/corpus/core/docs/content/locales/es-ES/actions.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/agent-mentions.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/agent-surfaces.md +7 -7
- 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 +5 -5
- package/corpus/core/docs/content/locales/es-ES/authentication.md +6 -6
- package/corpus/core/docs/content/locales/es-ES/automations.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/client.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/cloneable-saas.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/code-agents-ui.md +4 -4
- package/corpus/core/docs/content/locales/es-ES/components.md +5 -5
- package/corpus/core/docs/content/locales/es-ES/context-awareness.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/creating-templates.md +12 -12
- package/corpus/core/docs/content/locales/es-ES/cross-app-sso.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/database.md +5 -5
- package/corpus/core/docs/content/locales/es-ES/deployment.md +4 -4
- package/corpus/core/docs/content/locales/es-ES/dispatch.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/drop-in-agent.md +8 -8
- 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 +5 -5
- package/corpus/core/docs/content/locales/es-ES/faq.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/file-uploads.md +4 -4
- package/corpus/core/docs/content/locales/es-ES/frames.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/getting-started.md +13 -13
- package/corpus/core/docs/content/locales/es-ES/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/human-approval.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/key-concepts.md +14 -14
- package/corpus/core/docs/content/locales/es-ES/local-file-mode.md +6 -6
- package/corpus/core/docs/content/locales/es-ES/mcp-apps.md +4 -4
- package/corpus/core/docs/content/locales/es-ES/mcp-clients.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/mcp-protocol.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/messaging.md +4 -4
- 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 +1 -1
- package/corpus/core/docs/content/locales/es-ES/multi-tenancy.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/native-chat-ui.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/notifications.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/observability.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/es-ES/processors.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/progress.md +2 -2
- 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 +6 -6
- package/corpus/core/docs/content/locales/es-ES/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/es-ES/routing.md +1 -1
- package/corpus/core/docs/content/locales/es-ES/sandbox-adapters.md +2 -2
- package/corpus/core/docs/content/locales/es-ES/security.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/server.md +11 -11
- package/corpus/core/docs/content/locales/es-ES/sharing.md +6 -6
- package/corpus/core/docs/content/locales/es-ES/skills-guide.md +16 -16
- package/corpus/core/docs/content/locales/es-ES/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/es-ES/template-assets.md +19 -19
- package/corpus/core/docs/content/locales/es-ES/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/es-ES/template-calendar.md +9 -9
- package/corpus/core/docs/content/locales/es-ES/template-chat.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/template-clips.md +14 -14
- package/corpus/core/docs/content/locales/es-ES/template-content.md +13 -13
- package/corpus/core/docs/content/locales/es-ES/template-design.md +7 -7
- package/corpus/core/docs/content/locales/es-ES/template-dispatch.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/template-forms.md +9 -9
- package/corpus/core/docs/content/locales/es-ES/template-mail.md +6 -6
- package/corpus/core/docs/content/locales/es-ES/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/template-slides.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/template-videos.md +5 -5
- package/corpus/core/docs/content/locales/es-ES/tracking.md +3 -3
- package/corpus/core/docs/content/locales/es-ES/using-your-agent.md +5 -5
- package/corpus/core/docs/content/locales/es-ES/voice-input.md +4 -4
- package/corpus/core/docs/content/locales/es-ES/what-is-agent-native.md +6 -6
- package/corpus/core/docs/content/locales/es-ES/workspace-connections.md +8 -8
- package/corpus/core/docs/content/locales/es-ES/workspace-management.md +4 -4
- package/corpus/core/docs/content/locales/es-ES/workspace.md +23 -23
- package/corpus/core/docs/content/locales/es-ES/writing-agent-instructions.md +18 -18
- package/corpus/core/docs/content/locales/fr-FR/a2a-protocol.md +7 -7
- package/corpus/core/docs/content/locales/fr-FR/actions.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/agent-mentions.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/agent-surfaces.md +7 -7
- 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 +5 -5
- package/corpus/core/docs/content/locales/fr-FR/authentication.md +6 -6
- package/corpus/core/docs/content/locales/fr-FR/automations.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/client.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/cloneable-saas.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/code-agents-ui.md +4 -4
- package/corpus/core/docs/content/locales/fr-FR/components.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/context-awareness.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/creating-templates.md +12 -12
- package/corpus/core/docs/content/locales/fr-FR/cross-app-sso.md +4 -4
- package/corpus/core/docs/content/locales/fr-FR/database.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/deployment.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/dispatch.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/drop-in-agent.md +9 -9
- package/corpus/core/docs/content/locales/fr-FR/durable-resume.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/embedding-sdk.md +7 -7
- 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 +5 -5
- package/corpus/core/docs/content/locales/fr-FR/faq.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/file-uploads.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/frames.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/getting-started.md +13 -13
- package/corpus/core/docs/content/locales/fr-FR/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/human-approval.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/key-concepts.md +15 -15
- package/corpus/core/docs/content/locales/fr-FR/local-file-mode.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/mcp-apps.md +4 -4
- package/corpus/core/docs/content/locales/fr-FR/mcp-clients.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/mcp-protocol.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/messaging.md +4 -4
- 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 +1 -1
- package/corpus/core/docs/content/locales/fr-FR/multi-tenancy.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/native-chat-ui.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/notifications.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/observability.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/fr-FR/processors.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/progress.md +2 -2
- 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 +8 -8
- package/corpus/core/docs/content/locales/fr-FR/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/routing.md +1 -1
- package/corpus/core/docs/content/locales/fr-FR/sandbox-adapters.md +2 -2
- package/corpus/core/docs/content/locales/fr-FR/security.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/server.md +10 -10
- package/corpus/core/docs/content/locales/fr-FR/sharing.md +6 -6
- package/corpus/core/docs/content/locales/fr-FR/skills-guide.md +16 -16
- package/corpus/core/docs/content/locales/fr-FR/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/fr-FR/template-assets.md +20 -20
- package/corpus/core/docs/content/locales/fr-FR/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/fr-FR/template-calendar.md +9 -9
- package/corpus/core/docs/content/locales/fr-FR/template-chat.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/template-clips.md +15 -15
- package/corpus/core/docs/content/locales/fr-FR/template-content.md +13 -13
- package/corpus/core/docs/content/locales/fr-FR/template-design.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/template-dispatch.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/template-forms.md +10 -10
- package/corpus/core/docs/content/locales/fr-FR/template-mail.md +6 -6
- package/corpus/core/docs/content/locales/fr-FR/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/template-slides.md +9 -9
- package/corpus/core/docs/content/locales/fr-FR/template-videos.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/tracking.md +3 -3
- package/corpus/core/docs/content/locales/fr-FR/using-your-agent.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/voice-input.md +4 -4
- package/corpus/core/docs/content/locales/fr-FR/what-is-agent-native.md +6 -6
- package/corpus/core/docs/content/locales/fr-FR/workspace-connections.md +8 -8
- package/corpus/core/docs/content/locales/fr-FR/workspace-management.md +5 -5
- package/corpus/core/docs/content/locales/fr-FR/workspace.md +23 -23
- package/corpus/core/docs/content/locales/fr-FR/writing-agent-instructions.md +18 -18
- package/corpus/core/docs/content/locales/hi-IN/a2a-protocol.md +7 -7
- package/corpus/core/docs/content/locales/hi-IN/actions.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/agent-mentions.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/agent-surfaces.md +7 -7
- 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 +5 -5
- package/corpus/core/docs/content/locales/hi-IN/authentication.md +6 -6
- package/corpus/core/docs/content/locales/hi-IN/automations.md +8 -8
- package/corpus/core/docs/content/locales/hi-IN/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/client.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/cloneable-saas.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/code-agents-ui.md +4 -4
- package/corpus/core/docs/content/locales/hi-IN/components.md +5 -5
- package/corpus/core/docs/content/locales/hi-IN/context-awareness.md +8 -8
- package/corpus/core/docs/content/locales/hi-IN/creating-templates.md +14 -14
- package/corpus/core/docs/content/locales/hi-IN/cross-app-sso.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/database.md +5 -5
- package/corpus/core/docs/content/locales/hi-IN/deployment.md +5 -5
- package/corpus/core/docs/content/locales/hi-IN/dispatch.md +4 -4
- package/corpus/core/docs/content/locales/hi-IN/drop-in-agent.md +8 -8
- 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 +5 -5
- package/corpus/core/docs/content/locales/hi-IN/faq.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/file-uploads.md +4 -4
- package/corpus/core/docs/content/locales/hi-IN/frames.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/getting-started.md +14 -14
- package/corpus/core/docs/content/locales/hi-IN/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/human-approval.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/key-concepts.md +14 -14
- package/corpus/core/docs/content/locales/hi-IN/local-file-mode.md +5 -5
- package/corpus/core/docs/content/locales/hi-IN/mcp-apps.md +4 -4
- package/corpus/core/docs/content/locales/hi-IN/mcp-clients.md +7 -7
- package/corpus/core/docs/content/locales/hi-IN/mcp-protocol.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/messaging.md +6 -6
- 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 +1 -1
- package/corpus/core/docs/content/locales/hi-IN/multi-tenancy.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/native-chat-ui.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/notifications.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/observability.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/hi-IN/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/hi-IN/processors.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/progress.md +2 -2
- 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 +6 -6
- package/corpus/core/docs/content/locales/hi-IN/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/hi-IN/routing.md +1 -1
- package/corpus/core/docs/content/locales/hi-IN/sandbox-adapters.md +2 -2
- package/corpus/core/docs/content/locales/hi-IN/security.md +8 -8
- package/corpus/core/docs/content/locales/hi-IN/server.md +10 -10
- package/corpus/core/docs/content/locales/hi-IN/sharing.md +6 -6
- package/corpus/core/docs/content/locales/hi-IN/skills-guide.md +16 -16
- package/corpus/core/docs/content/locales/hi-IN/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/hi-IN/template-assets.md +19 -19
- package/corpus/core/docs/content/locales/hi-IN/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/hi-IN/template-calendar.md +9 -9
- package/corpus/core/docs/content/locales/hi-IN/template-chat.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/template-clips.md +14 -14
- package/corpus/core/docs/content/locales/hi-IN/template-content.md +13 -13
- package/corpus/core/docs/content/locales/hi-IN/template-design.md +7 -7
- package/corpus/core/docs/content/locales/hi-IN/template-dispatch.md +9 -9
- package/corpus/core/docs/content/locales/hi-IN/template-forms.md +9 -9
- package/corpus/core/docs/content/locales/hi-IN/template-mail.md +6 -6
- package/corpus/core/docs/content/locales/hi-IN/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/hi-IN/template-slides.md +8 -8
- package/corpus/core/docs/content/locales/hi-IN/template-videos.md +5 -5
- package/corpus/core/docs/content/locales/hi-IN/tracking.md +3 -3
- 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 +4 -4
- package/corpus/core/docs/content/locales/hi-IN/what-is-agent-native.md +4 -4
- package/corpus/core/docs/content/locales/hi-IN/workspace-connections.md +8 -8
- package/corpus/core/docs/content/locales/hi-IN/workspace-management.md +4 -4
- package/corpus/core/docs/content/locales/hi-IN/workspace.md +23 -23
- package/corpus/core/docs/content/locales/hi-IN/writing-agent-instructions.md +18 -18
- package/corpus/core/docs/content/locales/ja-JP/a2a-protocol.md +7 -7
- package/corpus/core/docs/content/locales/ja-JP/actions.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/agent-mentions.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/agent-surfaces.md +7 -7
- 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 +5 -5
- package/corpus/core/docs/content/locales/ja-JP/authentication.md +6 -6
- package/corpus/core/docs/content/locales/ja-JP/automations.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/client.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/cloneable-saas.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/code-agents-ui.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/components.md +5 -5
- package/corpus/core/docs/content/locales/ja-JP/context-awareness.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/creating-templates.md +12 -12
- package/corpus/core/docs/content/locales/ja-JP/cross-app-sso.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/database.md +7 -7
- package/corpus/core/docs/content/locales/ja-JP/deployment.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/dispatch.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/drop-in-agent.md +8 -8
- 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 +5 -5
- package/corpus/core/docs/content/locales/ja-JP/faq.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/file-uploads.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/frames.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/getting-started.md +13 -13
- package/corpus/core/docs/content/locales/ja-JP/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/human-approval.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/key-concepts.md +14 -14
- package/corpus/core/docs/content/locales/ja-JP/local-file-mode.md +5 -5
- package/corpus/core/docs/content/locales/ja-JP/mcp-apps.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/mcp-clients.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/mcp-protocol.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/messaging.md +6 -6
- 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 +1 -1
- package/corpus/core/docs/content/locales/ja-JP/multi-tenancy.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/native-chat-ui.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/notifications.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/observability.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/ja-JP/processors.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/progress.md +2 -2
- 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 +6 -6
- package/corpus/core/docs/content/locales/ja-JP/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/ja-JP/routing.md +1 -1
- package/corpus/core/docs/content/locales/ja-JP/sandbox-adapters.md +2 -2
- package/corpus/core/docs/content/locales/ja-JP/security.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/server.md +10 -10
- package/corpus/core/docs/content/locales/ja-JP/sharing.md +6 -6
- package/corpus/core/docs/content/locales/ja-JP/skills-guide.md +16 -16
- package/corpus/core/docs/content/locales/ja-JP/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/ja-JP/template-assets.md +19 -19
- package/corpus/core/docs/content/locales/ja-JP/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/ja-JP/template-calendar.md +9 -9
- package/corpus/core/docs/content/locales/ja-JP/template-chat.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/template-clips.md +14 -14
- package/corpus/core/docs/content/locales/ja-JP/template-content.md +13 -13
- package/corpus/core/docs/content/locales/ja-JP/template-design.md +7 -7
- package/corpus/core/docs/content/locales/ja-JP/template-dispatch.md +12 -12
- package/corpus/core/docs/content/locales/ja-JP/template-forms.md +9 -9
- package/corpus/core/docs/content/locales/ja-JP/template-mail.md +6 -6
- package/corpus/core/docs/content/locales/ja-JP/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/template-slides.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/template-videos.md +5 -5
- package/corpus/core/docs/content/locales/ja-JP/tracking.md +3 -3
- package/corpus/core/docs/content/locales/ja-JP/using-your-agent.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/voice-input.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/what-is-agent-native.md +4 -4
- package/corpus/core/docs/content/locales/ja-JP/workspace-connections.md +8 -8
- package/corpus/core/docs/content/locales/ja-JP/workspace-management.md +5 -5
- package/corpus/core/docs/content/locales/ja-JP/workspace.md +23 -23
- package/corpus/core/docs/content/locales/ja-JP/writing-agent-instructions.md +18 -18
- package/corpus/core/docs/content/locales/ko-KR/a2a-protocol.md +7 -7
- package/corpus/core/docs/content/locales/ko-KR/actions.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/agent-mentions.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/agent-surfaces.md +15 -15
- 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 +5 -5
- package/corpus/core/docs/content/locales/ko-KR/authentication.md +13 -13
- package/corpus/core/docs/content/locales/ko-KR/automations.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/client.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/cloneable-saas.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/code-agents-ui.md +4 -4
- package/corpus/core/docs/content/locales/ko-KR/components.md +5 -5
- package/corpus/core/docs/content/locales/ko-KR/context-awareness.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/creating-templates.md +12 -12
- package/corpus/core/docs/content/locales/ko-KR/cross-app-sso.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/database.md +7 -7
- package/corpus/core/docs/content/locales/ko-KR/deployment.md +4 -4
- package/corpus/core/docs/content/locales/ko-KR/dispatch.md +4 -4
- package/corpus/core/docs/content/locales/ko-KR/drop-in-agent.md +8 -8
- 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 +5 -5
- package/corpus/core/docs/content/locales/ko-KR/faq.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/file-uploads.md +4 -4
- package/corpus/core/docs/content/locales/ko-KR/frames.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/getting-started.md +13 -13
- package/corpus/core/docs/content/locales/ko-KR/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/human-approval.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/key-concepts.md +14 -14
- package/corpus/core/docs/content/locales/ko-KR/local-file-mode.md +5 -5
- package/corpus/core/docs/content/locales/ko-KR/mcp-apps.md +4 -4
- package/corpus/core/docs/content/locales/ko-KR/mcp-clients.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/mcp-protocol.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/messaging.md +6 -6
- 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 +1 -1
- package/corpus/core/docs/content/locales/ko-KR/multi-tenancy.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/native-chat-ui.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/notifications.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/observability.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/ko-KR/processors.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/progress.md +2 -2
- 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 +6 -6
- package/corpus/core/docs/content/locales/ko-KR/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/ko-KR/routing.md +1 -1
- package/corpus/core/docs/content/locales/ko-KR/sandbox-adapters.md +2 -2
- package/corpus/core/docs/content/locales/ko-KR/security.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/server.md +10 -10
- package/corpus/core/docs/content/locales/ko-KR/sharing.md +6 -6
- package/corpus/core/docs/content/locales/ko-KR/skills-guide.md +16 -16
- package/corpus/core/docs/content/locales/ko-KR/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/ko-KR/template-assets.md +19 -19
- package/corpus/core/docs/content/locales/ko-KR/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/ko-KR/template-calendar.md +9 -9
- package/corpus/core/docs/content/locales/ko-KR/template-chat.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/template-clips.md +14 -14
- package/corpus/core/docs/content/locales/ko-KR/template-content.md +13 -13
- package/corpus/core/docs/content/locales/ko-KR/template-design.md +7 -7
- package/corpus/core/docs/content/locales/ko-KR/template-dispatch.md +11 -11
- package/corpus/core/docs/content/locales/ko-KR/template-forms.md +9 -9
- package/corpus/core/docs/content/locales/ko-KR/template-mail.md +6 -6
- package/corpus/core/docs/content/locales/ko-KR/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/template-slides.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/template-videos.md +5 -5
- package/corpus/core/docs/content/locales/ko-KR/tracking.md +3 -3
- package/corpus/core/docs/content/locales/ko-KR/using-your-agent.md +5 -5
- package/corpus/core/docs/content/locales/ko-KR/voice-input.md +4 -4
- package/corpus/core/docs/content/locales/ko-KR/what-is-agent-native.md +6 -6
- package/corpus/core/docs/content/locales/ko-KR/workspace-connections.md +8 -8
- package/corpus/core/docs/content/locales/ko-KR/workspace-management.md +4 -4
- package/corpus/core/docs/content/locales/ko-KR/workspace.md +23 -23
- package/corpus/core/docs/content/locales/ko-KR/writing-agent-instructions.md +18 -18
- package/corpus/core/docs/content/locales/pt-BR/a2a-protocol.md +7 -7
- package/corpus/core/docs/content/locales/pt-BR/actions.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/agent-mentions.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/agent-surfaces.md +7 -7
- 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 +5 -5
- package/corpus/core/docs/content/locales/pt-BR/authentication.md +6 -6
- package/corpus/core/docs/content/locales/pt-BR/automations.md +8 -8
- package/corpus/core/docs/content/locales/pt-BR/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/client.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/cloneable-saas.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/code-agents-ui.md +4 -4
- package/corpus/core/docs/content/locales/pt-BR/components.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/context-awareness.md +8 -8
- package/corpus/core/docs/content/locales/pt-BR/creating-templates.md +12 -12
- package/corpus/core/docs/content/locales/pt-BR/cross-app-sso.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/database.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/deployment.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/dispatch.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/drop-in-agent.md +9 -9
- 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 +5 -5
- package/corpus/core/docs/content/locales/pt-BR/faq.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/file-uploads.md +4 -4
- package/corpus/core/docs/content/locales/pt-BR/frames.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/getting-started.md +13 -13
- package/corpus/core/docs/content/locales/pt-BR/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/human-approval.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/key-concepts.md +15 -15
- package/corpus/core/docs/content/locales/pt-BR/local-file-mode.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/mcp-apps.md +4 -4
- package/corpus/core/docs/content/locales/pt-BR/mcp-clients.md +8 -8
- package/corpus/core/docs/content/locales/pt-BR/mcp-protocol.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/messaging.md +4 -4
- 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 +1 -1
- package/corpus/core/docs/content/locales/pt-BR/multi-tenancy.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/native-chat-ui.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/notifications.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/observability.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/pt-BR/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/pt-BR/processors.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/progress.md +2 -2
- 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 +6 -6
- package/corpus/core/docs/content/locales/pt-BR/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/routing.md +1 -1
- package/corpus/core/docs/content/locales/pt-BR/sandbox-adapters.md +2 -2
- package/corpus/core/docs/content/locales/pt-BR/security.md +9 -9
- package/corpus/core/docs/content/locales/pt-BR/server.md +10 -10
- package/corpus/core/docs/content/locales/pt-BR/sharing.md +6 -6
- package/corpus/core/docs/content/locales/pt-BR/skills-guide.md +16 -16
- package/corpus/core/docs/content/locales/pt-BR/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/pt-BR/template-assets.md +20 -20
- package/corpus/core/docs/content/locales/pt-BR/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/pt-BR/template-calendar.md +9 -9
- package/corpus/core/docs/content/locales/pt-BR/template-chat.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/template-clips.md +15 -15
- package/corpus/core/docs/content/locales/pt-BR/template-content.md +13 -13
- package/corpus/core/docs/content/locales/pt-BR/template-design.md +8 -8
- package/corpus/core/docs/content/locales/pt-BR/template-dispatch.md +8 -8
- package/corpus/core/docs/content/locales/pt-BR/template-forms.md +10 -10
- package/corpus/core/docs/content/locales/pt-BR/template-mail.md +6 -6
- package/corpus/core/docs/content/locales/pt-BR/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/template-slides.md +9 -9
- package/corpus/core/docs/content/locales/pt-BR/template-videos.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/tracking.md +3 -3
- package/corpus/core/docs/content/locales/pt-BR/using-your-agent.md +5 -5
- package/corpus/core/docs/content/locales/pt-BR/voice-input.md +4 -4
- 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 +8 -8
- package/corpus/core/docs/content/locales/pt-BR/workspace-management.md +4 -4
- package/corpus/core/docs/content/locales/pt-BR/workspace.md +23 -23
- package/corpus/core/docs/content/locales/pt-BR/writing-agent-instructions.md +18 -18
- package/corpus/core/docs/content/locales/zh-CN/a2a-protocol.md +7 -7
- package/corpus/core/docs/content/locales/zh-CN/actions.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/agent-mentions.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/agent-surfaces.md +7 -7
- 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 +5 -5
- package/corpus/core/docs/content/locales/zh-CN/authentication.md +13 -13
- package/corpus/core/docs/content/locales/zh-CN/automations.md +8 -8
- package/corpus/core/docs/content/locales/zh-CN/blueprint-installer.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/client.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/cloneable-saas.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/code-agents-ui.md +4 -4
- package/corpus/core/docs/content/locales/zh-CN/components.md +7 -7
- package/corpus/core/docs/content/locales/zh-CN/context-awareness.md +8 -8
- package/corpus/core/docs/content/locales/zh-CN/creating-templates.md +12 -12
- package/corpus/core/docs/content/locales/zh-CN/cross-app-sso.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/database.md +7 -7
- package/corpus/core/docs/content/locales/zh-CN/deployment.md +4 -4
- package/corpus/core/docs/content/locales/zh-CN/dispatch.md +4 -4
- package/corpus/core/docs/content/locales/zh-CN/drop-in-agent.md +8 -8
- 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 +5 -5
- package/corpus/core/docs/content/locales/zh-CN/faq.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/file-uploads.md +4 -4
- package/corpus/core/docs/content/locales/zh-CN/frames.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/getting-started.md +13 -13
- package/corpus/core/docs/content/locales/zh-CN/harness-agents.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/human-approval.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/key-concepts.md +14 -14
- package/corpus/core/docs/content/locales/zh-CN/local-file-mode.md +5 -5
- package/corpus/core/docs/content/locales/zh-CN/mcp-apps.md +4 -4
- package/corpus/core/docs/content/locales/zh-CN/mcp-clients.md +7 -7
- package/corpus/core/docs/content/locales/zh-CN/mcp-protocol.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/messaging.md +6 -6
- 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 +1 -1
- package/corpus/core/docs/content/locales/zh-CN/multi-tenancy.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/native-chat-ui.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/notifications.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/observability.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/observational-memory.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/onboarding.md +8 -8
- package/corpus/core/docs/content/locales/zh-CN/plan-plugin.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/pr-visual-recap.md +11 -11
- package/corpus/core/docs/content/locales/zh-CN/processors.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/progress.md +2 -2
- 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 +6 -6
- package/corpus/core/docs/content/locales/zh-CN/recurring-jobs.md +5 -5
- package/corpus/core/docs/content/locales/zh-CN/routing.md +1 -1
- package/corpus/core/docs/content/locales/zh-CN/sandbox-adapters.md +2 -2
- package/corpus/core/docs/content/locales/zh-CN/security.md +8 -8
- package/corpus/core/docs/content/locales/zh-CN/server.md +10 -10
- package/corpus/core/docs/content/locales/zh-CN/sharing.md +6 -6
- package/corpus/core/docs/content/locales/zh-CN/skills-guide.md +16 -16
- package/corpus/core/docs/content/locales/zh-CN/template-analytics.md +10 -10
- package/corpus/core/docs/content/locales/zh-CN/template-assets.md +20 -20
- package/corpus/core/docs/content/locales/zh-CN/template-brain.md +11 -11
- package/corpus/core/docs/content/locales/zh-CN/template-calendar.md +9 -9
- package/corpus/core/docs/content/locales/zh-CN/template-chat.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/template-clips.md +14 -14
- package/corpus/core/docs/content/locales/zh-CN/template-content.md +13 -13
- package/corpus/core/docs/content/locales/zh-CN/template-design.md +7 -7
- package/corpus/core/docs/content/locales/zh-CN/template-dispatch.md +11 -11
- package/corpus/core/docs/content/locales/zh-CN/template-forms.md +9 -9
- package/corpus/core/docs/content/locales/zh-CN/template-mail.md +6 -6
- package/corpus/core/docs/content/locales/zh-CN/template-plan.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/template-slides.md +8 -8
- package/corpus/core/docs/content/locales/zh-CN/template-videos.md +5 -5
- package/corpus/core/docs/content/locales/zh-CN/tracking.md +3 -3
- package/corpus/core/docs/content/locales/zh-CN/using-your-agent.md +5 -5
- package/corpus/core/docs/content/locales/zh-CN/voice-input.md +4 -4
- 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 +8 -8
- package/corpus/core/docs/content/locales/zh-CN/workspace-management.md +5 -5
- package/corpus/core/docs/content/locales/zh-CN/workspace.md +23 -23
- package/corpus/core/docs/content/locales/zh-CN/writing-agent-instructions.md +18 -18
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/agent/production-agent.ts +35 -0
- package/corpus/core/src/agent/run-store.ts +2 -0
- package/corpus/core/src/client/changelog/Changelog.tsx +22 -10
- package/corpus/core/src/client/extensions/ExtensionsSidebarSection.tsx +405 -35
- package/corpus/core/src/client/i18n.tsx +13 -1
- package/corpus/core/src/templates/default/app/i18n/ar-SA.ts +275 -274
- package/corpus/core/src/templates/default/app/i18n/de-DE.ts +270 -260
- package/corpus/core/src/templates/default/app/i18n/es-ES.ts +282 -270
- package/corpus/core/src/templates/default/app/i18n/fr-FR.ts +275 -266
- package/corpus/core/src/templates/default/app/i18n/hi-IN.ts +274 -276
- package/corpus/core/src/templates/default/app/i18n/ja-JP.ts +280 -273
- package/corpus/core/src/templates/default/app/i18n/ko-KR.ts +274 -274
- package/corpus/core/src/templates/default/app/i18n/pt-BR.ts +273 -266
- package/corpus/core/src/templates/default/app/i18n/zh-CN.ts +273 -285
- package/corpus/templates/analytics/app/components/Markdown.tsx +36 -10
- package/corpus/templates/analytics/app/components/ProviderCorpusJobNotifier.tsx +41 -17
- package/corpus/templates/analytics/app/components/dashboard/CumulativeNetChart.tsx +3 -1
- package/corpus/templates/analytics/app/components/dashboard/DataTable.tsx +4 -2
- package/corpus/templates/analytics/app/components/dashboard/RecentActivity.tsx +13 -7
- package/corpus/templates/analytics/app/components/dashboard/RevenueChart.tsx +4 -1
- package/corpus/templates/analytics/app/components/dashboard/RevenueComparisonChart.tsx +3 -1
- package/corpus/templates/analytics/app/components/dashboard/SqlChart.tsx +13 -50
- package/corpus/templates/analytics/app/components/dashboard/TimeSeriesChart.tsx +3 -1
- package/corpus/templates/analytics/app/i18n-data.ts +5172 -1
- package/corpus/templates/analytics/app/pages/Ask.tsx +7 -4
- package/corpus/templates/analytics/app/pages/DataDictionary.tsx +66 -59
- package/corpus/templates/analytics/app/pages/DataSources.tsx +131 -96
- package/corpus/templates/analytics/app/pages/NotFound.tsx +8 -3
- package/corpus/templates/analytics/app/pages/Placeholder.tsx +4 -3
- package/corpus/templates/analytics/app/pages/adhoc/BlankDashboard.tsx +8 -5
- package/corpus/templates/analytics/app/pages/adhoc/_shared/KpiChart.tsx +4 -2
- package/corpus/templates/analytics/app/pages/adhoc/explorer/components/EventCombobox.tsx +16 -6
- package/corpus/templates/analytics/app/pages/adhoc/explorer/components/EventPanel.tsx +6 -2
- package/corpus/templates/analytics/app/pages/adhoc/explorer/components/ExplorerChart.tsx +14 -5
- package/corpus/templates/analytics/app/pages/adhoc/explorer/components/FilterBuilder.tsx +6 -3
- package/corpus/templates/analytics/app/pages/adhoc/explorer/components/GroupByPicker.tsx +7 -3
- package/corpus/templates/analytics/app/pages/adhoc/explorer/components/PropertyCombobox.tsx +12 -6
- package/corpus/templates/analytics/app/pages/adhoc/explorer/components/PropertyValueCombobox.tsx +9 -5
- package/corpus/templates/analytics/app/pages/adhoc/explorer/components/SqlPreview.tsx +3 -1
- package/corpus/templates/analytics/app/pages/adhoc/explorer/index.tsx +25 -15
- package/corpus/templates/analytics/app/pages/adhoc/explorer/types.ts +32 -30
- package/corpus/templates/analytics/app/pages/adhoc/explorer/use-explorer-config.ts +10 -6
- package/corpus/templates/analytics/app/pages/adhoc/explorer-dashboard/ChartCard.tsx +20 -10
- package/corpus/templates/analytics/app/pages/adhoc/explorer-dashboard/index.tsx +50 -33
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/DashboardFilterBar.tsx +23 -14
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/PanelEditorDialog.tsx +61 -55
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/SqlChartCard.tsx +88 -106
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/ViewSqlPopover.tsx +37 -49
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/ViewsMenu.tsx +23 -16
- package/corpus/templates/analytics/app/pages/adhoc/sql-dashboard/index.tsx +46 -40
- package/corpus/templates/analytics/app/pages/analyses/AnalysesList.tsx +11 -8
- package/corpus/templates/analytics/app/pages/analyses/AnalysisDetail.tsx +25 -21
- package/corpus/templates/analytics/app/pages/analyses/LegacyFusionAnalysis.tsx +175 -99
- package/corpus/templates/analytics/app/pages/overview/OverviewPage.tsx +30 -12
- package/corpus/templates/analytics/app/routes/$.tsx +2 -1
- package/corpus/templates/analytics/app/routes/analyses.$id.tsx +2 -1
- package/corpus/templates/analytics/app/routes/analyses._index.tsx +2 -1
- package/corpus/templates/analytics/app/routes/ask.tsx +2 -1
- package/corpus/templates/analytics/app/routes/catalog.tsx +38 -16
- package/corpus/templates/analytics/app/routes/chart.tsx +12 -3
- package/corpus/templates/analytics/app/routes/dashboards.$id.tsx +2 -1
- package/corpus/templates/analytics/app/routes/data-dictionary.tsx +2 -1
- package/corpus/templates/analytics/app/routes/data-sources.tsx +2 -1
- package/corpus/templates/analytics/app/routes/extensions.$id.tsx +3 -1
- package/corpus/templates/analytics/app/routes/extensions._index.tsx +3 -1
- package/corpus/templates/analytics/app/routes/overview.tsx +2 -1
- package/corpus/templates/analytics/app/routes/settings.tsx +2 -1
- package/corpus/templates/analytics/app/routes/team.tsx +2 -1
- package/corpus/templates/assets/app/components/library/CreateLibraryDialog.tsx +25 -15
- package/corpus/templates/assets/app/components/library/EditLibraryDialog.tsx +17 -10
- package/corpus/templates/assets/app/components/library/LibraryCard.tsx +20 -8
- package/corpus/templates/assets/app/i18n-data.ts +4065 -1
- package/corpus/templates/assets/app/routes/_index.tsx +15 -4
- package/corpus/templates/assets/app/routes/audit.tsx +79 -56
- package/corpus/templates/assets/app/routes/brand-kits.$id.tsx +565 -330
- package/corpus/templates/assets/app/routes/brand-kits.tsx +3 -1
- package/corpus/templates/assets/app/routes/extensions.$id.tsx +3 -1
- package/corpus/templates/assets/app/routes/extensions._index.tsx +3 -1
- package/corpus/templates/assets/app/routes/extensions.tsx +3 -1
- package/corpus/templates/assets/app/routes/library.tsx +107 -74
- package/corpus/templates/assets/app/routes/team.tsx +6 -3
- package/corpus/templates/brain/app/components/brain/CanonicalPreviewSheet.tsx +14 -10
- package/corpus/templates/brain/app/i18n-data.ts +5609 -1
- package/corpus/templates/brain/app/routes/extensions.$id.tsx +3 -1
- package/corpus/templates/brain/app/routes/extensions._index.tsx +3 -1
- package/corpus/templates/brain/app/routes/extensions.tsx +3 -1
- package/corpus/templates/brain/app/routes/knowledge.tsx +51 -38
- package/corpus/templates/brain/app/routes/review.tsx +259 -154
- package/corpus/templates/brain/app/routes/settings.tsx +114 -116
- package/corpus/templates/brain/app/routes/sources.tsx +421 -352
- package/corpus/templates/brain/app/routes/team.tsx +6 -2
- package/corpus/templates/calendar/app/components/CloudUpgrade.tsx +33 -51
- package/corpus/templates/calendar/app/components/ThemeToggle.tsx +3 -1
- package/corpus/templates/calendar/app/components/TimezoneCombobox.tsx +5 -3
- package/corpus/templates/calendar/app/components/booking/BookingConfirmation.tsx +27 -13
- package/corpus/templates/calendar/app/components/booking/BookingForm.tsx +25 -13
- package/corpus/templates/calendar/app/components/booking/TimeSlotPicker.tsx +4 -1
- package/corpus/templates/calendar/app/components/calendar/AddCalendarDialog.tsx +22 -16
- package/corpus/templates/calendar/app/components/calendar/ApolloPanel.tsx +14 -13
- package/corpus/templates/calendar/app/components/calendar/AttendeeAutocomplete.tsx +22 -11
- package/corpus/templates/calendar/app/components/calendar/CommandPalette.tsx +19 -16
- package/corpus/templates/calendar/app/components/calendar/CreateEventDialog.tsx +112 -72
- package/corpus/templates/calendar/app/components/calendar/DayView.tsx +3 -1
- package/corpus/templates/calendar/app/components/calendar/EventAttendeesSection.tsx +62 -24
- package/corpus/templates/calendar/app/components/calendar/EventDescription.tsx +4 -2
- package/corpus/templates/calendar/app/components/calendar/EventDetailPanel.tsx +17 -11
- package/corpus/templates/calendar/app/components/calendar/EventDetailPopover.tsx +167 -97
- package/corpus/templates/calendar/app/components/calendar/EventOptionControls.tsx +39 -25
- package/corpus/templates/calendar/app/components/calendar/FindTimePanel.tsx +28 -16
- package/corpus/templates/calendar/app/components/calendar/GoogleConnectBanner.tsx +90 -74
- package/corpus/templates/calendar/app/components/calendar/GoogleSetupWizard.tsx +42 -34
- package/corpus/templates/calendar/app/components/calendar/GoogleSyncButton.tsx +6 -6
- package/corpus/templates/calendar/app/components/calendar/GuestNotificationDialog.tsx +44 -37
- package/corpus/templates/calendar/app/components/calendar/IntegrationsSidebar.tsx +46 -52
- package/corpus/templates/calendar/app/components/calendar/KeyboardShortcutsHelp.tsx +31 -19
- package/corpus/templates/calendar/app/components/calendar/PeopleSearchDialog.tsx +13 -9
- package/corpus/templates/calendar/app/components/calendar/WeekView.tsx +6 -4
- package/corpus/templates/calendar/app/components/layout/AppLayout.tsx +13 -7
- package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +19 -18
- package/corpus/templates/calendar/app/i18n/ar-SA.ts +2 -56
- package/corpus/templates/calendar/app/i18n/de-DE.ts +2 -57
- package/corpus/templates/calendar/app/i18n/en-US.ts +2 -56
- package/corpus/templates/calendar/app/i18n/es-ES.ts +2 -57
- package/corpus/templates/calendar/app/i18n/fr-FR.ts +2 -57
- package/corpus/templates/calendar/app/i18n/hi-IN.ts +2 -56
- package/corpus/templates/calendar/app/i18n/ja-JP.ts +2 -57
- package/corpus/templates/calendar/app/i18n/ko-KR.ts +2 -56
- package/corpus/templates/calendar/app/i18n/pt-BR.ts +2 -56
- package/corpus/templates/calendar/app/i18n/zh-CN.ts +2 -56
- package/corpus/templates/calendar/app/i18n-data.ts +8680 -7
- package/corpus/templates/calendar/app/pages/AvailabilitySettings.tsx +66 -34
- package/corpus/templates/calendar/app/pages/BookingLinksPage.tsx +286 -186
- package/corpus/templates/calendar/app/pages/BookingPage.tsx +37 -21
- package/corpus/templates/calendar/app/pages/BookingsList.tsx +36 -25
- package/corpus/templates/calendar/app/pages/CalendarView.tsx +66 -49
- package/corpus/templates/calendar/app/pages/ManageBookingPage.tsx +41 -29
- package/corpus/templates/calendar/app/pages/NotFound.tsx +4 -2
- package/corpus/templates/calendar/app/routes/_app.$.tsx +2 -1
- package/corpus/templates/calendar/app/routes/_app.booking-links.tsx +3 -1
- package/corpus/templates/calendar/app/routes/_app.settings.tsx +6 -3
- package/corpus/templates/calendar/app/routes/_app.team.tsx +8 -3
- package/corpus/templates/calendar/app/routes/booking-og-meta.ts +7 -4
- package/corpus/templates/calendar/app/routes/booking.manage.$token.tsx +2 -1
- package/corpus/templates/calendar/app/routes/event.tsx +14 -8
- package/corpus/templates/chat/app/i18n/ar-SA.ts +29 -23
- package/corpus/templates/chat/app/i18n/de-DE.ts +30 -22
- package/corpus/templates/chat/app/i18n/en-US.ts +7 -0
- package/corpus/templates/chat/app/i18n/es-ES.ts +30 -22
- package/corpus/templates/chat/app/i18n/fr-FR.ts +33 -25
- package/corpus/templates/chat/app/i18n/hi-IN.ts +30 -23
- package/corpus/templates/chat/app/i18n/ja-JP.ts +30 -23
- package/corpus/templates/chat/app/i18n/ko-KR.ts +30 -23
- package/corpus/templates/chat/app/i18n/pt-BR.ts +30 -22
- package/corpus/templates/chat/app/i18n/zh-CN.ts +29 -23
- package/corpus/templates/chat/app/routes/observability.tsx +2 -1
- package/corpus/templates/clips/app/components/capture-install-options.tsx +16 -11
- package/corpus/templates/clips/app/components/editable-recording-title.tsx +8 -7
- package/corpus/templates/clips/app/components/editor/chapters-editor.tsx +12 -9
- package/corpus/templates/clips/app/components/editor/editor-layout.tsx +15 -9
- package/corpus/templates/clips/app/components/editor/editor-toolbar.tsx +71 -57
- package/corpus/templates/clips/app/components/editor/split-button.tsx +6 -5
- package/corpus/templates/clips/app/components/editor/stitch-manager.tsx +21 -19
- package/corpus/templates/clips/app/components/editor/thumbnail-picker.tsx +39 -26
- package/corpus/templates/clips/app/components/editor/transcript-editor.tsx +10 -6
- package/corpus/templates/clips/app/components/library/bulk-action-toolbar.tsx +11 -7
- package/corpus/templates/clips/app/components/library/create-space-dialog.tsx +13 -9
- package/corpus/templates/clips/app/components/library/folder-tree.tsx +26 -24
- package/corpus/templates/clips/app/components/library/library-grid.tsx +118 -14
- package/corpus/templates/clips/app/components/library/library-layout.tsx +3 -1
- package/corpus/templates/clips/app/components/library/organization-switcher.tsx +24 -13
- package/corpus/templates/clips/app/components/library/recording-card.tsx +51 -34
- package/corpus/templates/clips/app/components/library/search-bar.tsx +14 -11
- package/corpus/templates/clips/app/components/meetings/auto-record-prompt.tsx +10 -6
- package/corpus/templates/clips/app/components/meetings/canvas-editor.tsx +8 -4
- package/corpus/templates/clips/app/components/meetings/meeting-card.tsx +32 -16
- package/corpus/templates/clips/app/components/meetings/quick-ask-sidebar.tsx +23 -23
- package/corpus/templates/clips/app/components/meetings/share-meeting-dialog.tsx +11 -7
- package/corpus/templates/clips/app/components/meetings/transcript-bubbles.tsx +8 -4
- package/corpus/templates/clips/app/components/player/access-password-prompt.tsx +6 -4
- package/corpus/templates/clips/app/components/player/comments-panel.tsx +22 -13
- package/corpus/templates/clips/app/components/player/delete-recording-menu.tsx +24 -79
- package/corpus/templates/clips/app/components/player/insights-panel.tsx +29 -15
- package/corpus/templates/clips/app/components/player/player-controls.tsx +3 -1
- package/corpus/templates/clips/app/components/player/settings-panel.tsx +44 -27
- package/corpus/templates/clips/app/components/player/share-dialog.tsx +38 -32
- package/corpus/templates/clips/app/components/player/sign-in-prompt-dialog.tsx +7 -5
- package/corpus/templates/clips/app/components/player/transcript-panel.tsx +46 -35
- package/corpus/templates/clips/app/components/player/video-player.tsx +11 -5
- package/corpus/templates/clips/app/components/recorder/camera-visualizer.tsx +20 -6
- package/corpus/templates/clips/app/components/recorder/countdown-overlay.tsx +6 -4
- package/corpus/templates/clips/app/components/recorder/microphone-visualizer.tsx +3 -1
- package/corpus/templates/clips/app/components/recorder/pre-record-panel.tsx +120 -156
- package/corpus/templates/clips/app/components/recorder/recording-toolbar.tsx +16 -8
- package/corpus/templates/clips/app/components/recorder/storage-setup-card.tsx +8 -8
- package/corpus/templates/clips/app/components/sharing/share-ui.tsx +33 -31
- package/corpus/templates/clips/app/components/sharing/slack-share-hint.tsx +15 -8
- package/corpus/templates/clips/app/components/workspace/branding-editor.tsx +35 -20
- package/corpus/templates/clips/app/components/workspace/engagement-chart.tsx +6 -4
- package/corpus/templates/clips/app/components/workspace/insights-hub.tsx +35 -22
- package/corpus/templates/clips/app/components/workspace/invite-dialog.tsx +27 -17
- package/corpus/templates/clips/app/components/workspace/members-list.tsx +30 -19
- package/corpus/templates/clips/app/components/workspace/notifications-list.tsx +37 -25
- package/corpus/templates/clips/app/components/workspace/top-creators-table.tsx +14 -5
- package/corpus/templates/clips/app/i18n/ar-SA.ts +1117 -1
- package/corpus/templates/clips/app/i18n/de-DE.ts +1147 -1
- package/corpus/templates/clips/app/i18n/en-US.ts +1110 -0
- package/corpus/templates/clips/app/i18n/es-ES.ts +1139 -0
- package/corpus/templates/clips/app/i18n/fr-FR.ts +1145 -5
- package/corpus/templates/clips/app/i18n/hi-IN.ts +1113 -1
- package/corpus/templates/clips/app/i18n/ja-JP.ts +1138 -2
- package/corpus/templates/clips/app/i18n/ko-KR.ts +1124 -1
- package/corpus/templates/clips/app/i18n/pt-BR.ts +1137 -1
- package/corpus/templates/clips/app/i18n/zh-CN.ts +1094 -2
- package/corpus/templates/clips/app/root.tsx +2 -2
- package/corpus/templates/clips/app/routes/_app.archive.tsx +12 -2
- package/corpus/templates/clips/app/routes/_app.dictate.tsx +71 -49
- package/corpus/templates/clips/app/routes/_app.extensions.$id.tsx +4 -1
- package/corpus/templates/clips/app/routes/_app.extensions._index.tsx +4 -1
- package/corpus/templates/clips/app/routes/_app.insights._index.tsx +2 -1
- package/corpus/templates/clips/app/routes/_app.library.folder.$folderId.tsx +5 -2
- package/corpus/templates/clips/app/routes/_app.meetings.$meetingId.tsx +54 -38
- package/corpus/templates/clips/app/routes/_app.meetings._index.tsx +41 -30
- package/corpus/templates/clips/app/routes/_app.notifications.tsx +34 -19
- package/corpus/templates/clips/app/routes/_app.settings._index.tsx +28 -17
- package/corpus/templates/clips/app/routes/_app.settings.organization.tsx +25 -18
- package/corpus/templates/clips/app/routes/_app.spaces.$spaceId.folder.$folderId.tsx +5 -2
- package/corpus/templates/clips/app/routes/_app.spaces.$spaceId.tsx +8 -5
- package/corpus/templates/clips/app/routes/_app.spaces._index.tsx +8 -3
- package/corpus/templates/clips/app/routes/_app.trash.tsx +2 -1
- package/corpus/templates/clips/app/routes/download.tsx +39 -30
- package/corpus/templates/clips/app/routes/embed.$shareId.tsx +4 -3
- package/corpus/templates/clips/app/routes/invite.$token.tsx +41 -32
- package/corpus/templates/clips/app/routes/r.$recordingId.tsx +111 -106
- package/corpus/templates/clips/app/routes/record.tsx +101 -87
- package/corpus/templates/clips/app/routes/share.$shareId.tsx +78 -62
- package/corpus/templates/clips/app/routes/share.meeting.$meetingId.tsx +15 -12
- package/corpus/templates/clips/changelog/2026-06-25-localized-clips-settings-changelog-and-extension-sidebar-lab.md +6 -0
- package/corpus/templates/clips/desktop/src/overlays/countdown.tsx +4 -2
- package/corpus/templates/clips/desktop/src/styles.css +15 -1
- package/corpus/templates/content/app/components/ThemeToggle.tsx +3 -3
- package/corpus/templates/content/app/components/editor/BubbleToolbar.tsx +14 -12
- package/corpus/templates/content/app/components/editor/CommentsSidebar.tsx +19 -14
- package/corpus/templates/content/app/components/editor/DocumentBlockFields.tsx +16 -4
- package/corpus/templates/content/app/components/editor/DocumentDatabase.tsx +13670 -10
- package/corpus/templates/content/app/components/editor/DocumentEditor.tsx +15 -12
- package/corpus/templates/content/app/components/editor/DocumentProperties.tsx +219 -135
- package/corpus/templates/content/app/components/editor/DocumentToolbar.tsx +114 -81
- package/corpus/templates/content/app/components/editor/EmojiPicker.tsx +27 -9
- package/corpus/templates/content/app/components/editor/LinkHoverPreview.tsx +7 -5
- package/corpus/templates/content/app/components/editor/NotionConflictBanner.tsx +12 -6
- package/corpus/templates/content/app/components/editor/NotionSyncBar.tsx +54 -34
- package/corpus/templates/content/app/components/editor/SlashCommandMenu.tsx +111 -122
- package/corpus/templates/content/app/components/editor/TableHoverControls.tsx +27 -22
- package/corpus/templates/content/app/components/editor/VersionHistoryPanel.tsx +23 -19
- package/corpus/templates/content/app/components/editor/VisualEditor.tsx +6 -2
- package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +245 -238
- package/corpus/templates/content/app/components/editor/database/calculations.ts +1 -0
- package/corpus/templates/content/app/components/editor/database/filter-sort.ts +1 -0
- package/corpus/templates/content/app/components/editor/database/grouping.ts +1 -0
- package/corpus/templates/content/app/components/editor/database/navigation-state.ts +1 -0
- package/corpus/templates/content/app/components/editor/database/shared.tsx +1 -0
- package/corpus/templates/content/app/components/editor/database-sources/BuilderSourceReviewDialog.tsx +92 -53
- package/corpus/templates/content/app/components/editor/extensions/AudioBlock.tsx +86 -49
- package/corpus/templates/content/app/components/editor/extensions/CodeBlockNode.tsx +22 -12
- package/corpus/templates/content/app/components/editor/extensions/ImageBlock.tsx +138 -74
- package/corpus/templates/content/app/components/editor/extensions/LocalMdxComponentNode.tsx +16 -7
- package/corpus/templates/content/app/components/editor/extensions/VideoBlock.tsx +86 -49
- package/corpus/templates/content/app/components/editor/image-upload.ts +3 -3
- package/corpus/templates/content/app/components/editor/localComponentSlashItems.ts +2 -1
- package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +205 -484
- package/corpus/templates/content/app/components/sidebar/DocumentTreeItem.tsx +34 -110
- package/corpus/templates/content/app/components/sidebar/NotionButton.tsx +56 -43
- package/corpus/templates/content/app/i18n-data.ts +6977 -10
- package/corpus/templates/content/app/routes/_app.local-files.tsx +111 -85
- package/corpus/templates/content/app/routes/_app.page.$id.tsx +7 -7
- package/corpus/templates/content/app/routes/_app.settings.tsx +2 -1
- package/corpus/templates/content/app/routes/_app.team.tsx +2 -1
- package/corpus/templates/content/app/routes/_app.tsx +4 -6
- package/corpus/templates/content/app/routes/p.$id.tsx +9 -6
- package/corpus/templates/design/app/components/ThemeToggle.tsx +3 -1
- package/corpus/templates/design/app/components/design/DesignCanvas.tsx +6 -4
- package/corpus/templates/design/app/components/design/DesignToolbar.tsx +27 -22
- package/corpus/templates/design/app/components/design/DrawOverlay.tsx +4 -2
- package/corpus/templates/design/app/components/design/EditPanel.tsx +130 -100
- package/corpus/templates/design/app/components/design/PresentMode.tsx +3 -1
- package/corpus/templates/design/app/components/design/TweaksPanel.tsx +8 -6
- package/corpus/templates/design/app/components/design/VariantGrid.tsx +6 -4
- package/corpus/templates/design/app/components/design/VariantHandoffCard.tsx +8 -4
- package/corpus/templates/design/app/components/design/ViewportTabs.tsx +5 -3
- package/corpus/templates/design/app/components/design/ZoomControls.tsx +3 -1
- package/corpus/templates/design/app/components/editor/PromptDialog.tsx +31 -18
- package/corpus/templates/design/app/components/visual-editor/CanvasCommentPins.tsx +12 -8
- package/corpus/templates/design/app/components/visual-editor/DrawOverlay.tsx +14 -10
- package/corpus/templates/design/app/components/visual-editor/SaveStatusIndicator.tsx +4 -2
- package/corpus/templates/design/app/i18n-data.ts +6107 -332
- package/corpus/templates/design/app/pages/DesignEditor.tsx +106 -81
- package/corpus/templates/design/app/pages/DesignSystemSetup.tsx +110 -115
- package/corpus/templates/design/app/pages/DesignSystems.tsx +154 -83
- package/corpus/templates/design/app/pages/Index.tsx +69 -57
- package/corpus/templates/design/app/pages/NotFound.tsx +4 -2
- package/corpus/templates/design/app/pages/Present.tsx +1 -1
- package/corpus/templates/design/app/pages/Templates.tsx +18 -12
- package/corpus/templates/design/app/routes/$.tsx +2 -1
- package/corpus/templates/design/app/routes/design-systems.tsx +2 -1
- package/corpus/templates/design/app/routes/design-systems_.setup.tsx +2 -1
- package/corpus/templates/design/app/routes/design.$id.tsx +2 -1
- package/corpus/templates/design/app/routes/examples.tsx +3 -1
- package/corpus/templates/design/app/routes/extensions.$id.tsx +3 -1
- package/corpus/templates/design/app/routes/extensions._index.tsx +3 -1
- package/corpus/templates/design/app/routes/extensions.tsx +3 -1
- package/corpus/templates/design/app/routes/observability.tsx +3 -1
- package/corpus/templates/design/app/routes/present.$id.tsx +2 -1
- package/corpus/templates/design/app/routes/settings.tsx +2 -1
- package/corpus/templates/design/app/routes/team.tsx +3 -1
- package/corpus/templates/design/app/routes/templates.tsx +2 -1
- package/corpus/templates/dispatch/app/i18n-data.ts +1881 -1
- package/corpus/templates/dispatch/app/routes/chat.$threadId.tsx +10 -7
- package/corpus/templates/dispatch/app/routes/chat.tsx +9 -7
- package/corpus/templates/dispatch/app/routes/extensions.$id.tsx +2 -1
- package/corpus/templates/dispatch/app/routes/extensions._index.tsx +2 -1
- package/corpus/templates/dispatch/app/routes/integrations.tsx +327 -209
- package/corpus/templates/dispatch/app/routes/settings.tsx +3 -1
- package/corpus/templates/dispatch/app/routes/tools.$id.tsx +2 -1
- package/corpus/templates/dispatch/app/routes/tools._index.tsx +2 -1
- package/corpus/templates/forms/app/components/CloudUpgrade.tsx +38 -28
- package/corpus/templates/forms/app/components/ThemeToggle.tsx +3 -1
- package/corpus/templates/forms/app/components/builder/FieldPropertiesPanel.tsx +33 -29
- package/corpus/templates/forms/app/i18n/ar-SA.ts +279 -53
- package/corpus/templates/forms/app/i18n/de-DE.ts +287 -53
- package/corpus/templates/forms/app/i18n/en-US.ts +225 -0
- package/corpus/templates/forms/app/i18n/es-ES.ts +233 -1
- package/corpus/templates/forms/app/i18n/fr-FR.ts +290 -54
- package/corpus/templates/forms/app/i18n/hi-IN.ts +275 -55
- package/corpus/templates/forms/app/i18n/ja-JP.ts +278 -55
- package/corpus/templates/forms/app/i18n/ko-KR.ts +271 -55
- package/corpus/templates/forms/app/i18n/pt-BR.ts +286 -52
- package/corpus/templates/forms/app/i18n/zh-CN.ts +261 -56
- package/corpus/templates/forms/app/pages/FormBuilderPage.tsx +214 -148
- package/corpus/templates/forms/app/pages/FormFillPage.tsx +12 -7
- package/corpus/templates/forms/app/pages/ResponseInsightsPage.tsx +8 -4
- package/corpus/templates/forms/app/routes/_app.extensions.$id.tsx +3 -1
- package/corpus/templates/forms/app/routes/_app.extensions._index.tsx +3 -1
- package/corpus/templates/forms/app/routes/_app.forms.$id.tsx +2 -1
- package/corpus/templates/forms/app/routes/_app.forms.$id_.responses.tsx +2 -1
- package/corpus/templates/forms/app/routes/_app.forms._index.tsx +3 -4
- package/corpus/templates/forms/app/routes/_app.response-insights.tsx +3 -2
- package/corpus/templates/forms/app/routes/_app.settings.tsx +2 -1
- package/corpus/templates/forms/app/routes/_index.tsx +3 -4
- package/corpus/templates/forms/app/routes/form-preview.tsx +25 -26
- package/corpus/templates/macros/app/components/AddExerciseDialog.tsx +18 -15
- package/corpus/templates/macros/app/components/AddMealDialog.tsx +22 -19
- package/corpus/templates/macros/app/components/AddWeightDialog.tsx +17 -16
- package/corpus/templates/macros/app/components/DailyProgress.tsx +24 -18
- package/corpus/templates/macros/app/components/ExerciseCard.tsx +5 -3
- package/corpus/templates/macros/app/components/MealCard.tsx +5 -3
- package/corpus/templates/macros/app/components/VoiceDictation.tsx +14 -13
- package/corpus/templates/macros/app/components/WeeklyCaloriesChart.tsx +37 -20
- package/corpus/templates/macros/app/components/WeightCard.tsx +16 -9
- package/corpus/templates/macros/app/components/WeightTracker.tsx +13 -6
- package/corpus/templates/macros/app/i18n/ar-SA.ts +154 -2
- package/corpus/templates/macros/app/i18n/de-DE.ts +158 -2
- package/corpus/templates/macros/app/i18n/en-US.ts +152 -0
- package/corpus/templates/macros/app/i18n/es-ES.ts +154 -0
- package/corpus/templates/macros/app/i18n/fr-FR.ts +157 -2
- package/corpus/templates/macros/app/i18n/hi-IN.ts +154 -3
- package/corpus/templates/macros/app/i18n/ja-JP.ts +153 -2
- package/corpus/templates/macros/app/i18n/ko-KR.ts +153 -2
- package/corpus/templates/macros/app/i18n/pt-BR.ts +155 -0
- package/corpus/templates/macros/app/i18n/zh-CN.ts +152 -2
- package/corpus/templates/macros/app/routes/_index.tsx +20 -16
- package/corpus/templates/macros/app/routes/analytics.tsx +3 -3
- package/corpus/templates/macros/app/routes/extensions.$id.tsx +3 -1
- package/corpus/templates/macros/app/routes/extensions._index.tsx +3 -1
- package/corpus/templates/macros/app/routes/settings.tsx +2 -1
- package/corpus/templates/macros/app/routes/team.tsx +6 -3
- package/corpus/templates/mail/app/components/GoogleConnectBanner.tsx +69 -62
- package/corpus/templates/mail/app/components/ThemeToggle.tsx +10 -3
- package/corpus/templates/mail/app/components/agent-engine-picker.tsx +6 -5
- package/corpus/templates/mail/app/components/email/CodeBlockLangPicker.tsx +1 -1
- package/corpus/templates/mail/app/components/email/ComposeModal.tsx +6 -8
- package/corpus/templates/mail/app/components/email/ComposeSlashMenu.tsx +45 -34
- package/corpus/templates/mail/app/components/email/EmailThread.tsx +5 -3
- package/corpus/templates/mail/app/components/email/InlineReplyComposer.tsx +4 -6
- package/corpus/templates/mail/app/components/email/IntegrationsSidebar.tsx +16 -10
- package/corpus/templates/mail/app/components/email/MobileActionBar.tsx +28 -20
- package/corpus/templates/mail/app/components/email/SendLaterButton.tsx +12 -7
- package/corpus/templates/mail/app/components/email/SnoozeModal.tsx +9 -6
- package/corpus/templates/mail/app/components/email/SnoozePopover.tsx +9 -9
- package/corpus/templates/mail/app/components/layout/AppLayout.tsx +2 -2
- package/corpus/templates/mail/app/components/settings/GmailFiltersSection.tsx +40 -30
- package/corpus/templates/mail/app/i18n/ar-SA.ts +435 -134
- package/corpus/templates/mail/app/i18n/de-DE.ts +441 -131
- package/corpus/templates/mail/app/i18n/en-US.ts +300 -1
- package/corpus/templates/mail/app/i18n/es-ES.ts +443 -134
- package/corpus/templates/mail/app/i18n/fr-FR.ts +444 -134
- package/corpus/templates/mail/app/i18n/hi-IN.ts +441 -138
- package/corpus/templates/mail/app/i18n/ja-JP.ts +437 -134
- package/corpus/templates/mail/app/i18n/ko-KR.ts +437 -134
- package/corpus/templates/mail/app/i18n/pt-BR.ts +440 -133
- package/corpus/templates/mail/app/i18n/zh-CN.ts +361 -70
- package/corpus/templates/mail/app/pages/DraftQueuePage.tsx +66 -41
- package/corpus/templates/mail/app/pages/InboxPage.tsx +5 -1
- package/corpus/templates/mail/app/pages/SettingsPage.tsx +125 -108
- package/corpus/templates/mail/app/routes/$.tsx +2 -1
- package/corpus/templates/mail/app/routes/draft-queue.$id.tsx +2 -1
- package/corpus/templates/mail/app/routes/draft-queue.tsx +2 -1
- package/corpus/templates/mail/app/routes/email.tsx +10 -7
- package/corpus/templates/mail/app/routes/settings.tsx +2 -1
- package/corpus/templates/mail/app/routes/team.tsx +2 -1
- package/corpus/templates/plan/app/components/editor/PlanDocumentEditor.tsx +7 -4
- package/corpus/templates/plan/app/components/editor/planSlashCommands.ts +51 -26
- package/corpus/templates/plan/app/components/layout/Sidebar.tsx +2 -2
- package/corpus/templates/plan/app/components/plan/CanvasArea.tsx +7 -4
- package/corpus/templates/plan/app/components/plan/DocumentArea.tsx +19 -15
- package/corpus/templates/plan/app/components/plan/LocalCodebasePicker.tsx +34 -17
- package/corpus/templates/plan/app/components/plan/PlanContentRenderer.tsx +9 -5
- package/corpus/templates/plan/app/components/plan/PlanImageNode.tsx +9 -4
- package/corpus/templates/plan/app/components/plan/PlanImageViewer.tsx +47 -20
- package/corpus/templates/plan/app/components/plan/PlanMarkdownReader.tsx +4 -2
- package/corpus/templates/plan/app/components/plan/PlanTableOfContents.tsx +6 -1
- package/corpus/templates/plan/app/components/plan/PlanVisualSurface.tsx +10 -5
- package/corpus/templates/plan/app/components/plan/PrototypeViewer.tsx +3 -1
- package/corpus/templates/plan/app/components/plan/image-actions.ts +29 -7
- package/corpus/templates/plan/app/components/plan/planBlocks.tsx +16 -8
- package/corpus/templates/plan/app/components/plan/wireframe/LegacyRegionWireframe.tsx +27 -18
- package/corpus/templates/plan/app/components/plan/wireframe/Wireframe.tsx +3 -1
- package/corpus/templates/plan/app/components/plan/wireframe/wireframe-icons.ts +1 -0
- package/corpus/templates/plan/app/i18n/ar-SA.ts +663 -1
- package/corpus/templates/plan/app/i18n/de-DE.ts +670 -0
- package/corpus/templates/plan/app/i18n/en-US.ts +643 -0
- package/corpus/templates/plan/app/i18n/es-ES.ts +667 -0
- package/corpus/templates/plan/app/i18n/fr-FR.ts +672 -2
- package/corpus/templates/plan/app/i18n/hi-IN.ts +641 -1
- package/corpus/templates/plan/app/i18n/ja-JP.ts +633 -1
- package/corpus/templates/plan/app/i18n/ko-KR.ts +623 -1
- package/corpus/templates/plan/app/i18n/pt-BR.ts +671 -3
- package/corpus/templates/plan/app/i18n/zh-CN.ts +620 -1
- package/corpus/templates/plan/app/pages/PlansPage.tsx +697 -488
- package/corpus/templates/slides/app/components/CloudUpgrade.tsx +16 -13
- package/corpus/templates/slides/app/components/ThemeToggle.tsx +3 -1
- package/corpus/templates/slides/app/components/comments/SlideCommentsPanel.tsx +37 -25
- package/corpus/templates/slides/app/components/deck/DeckCard.tsx +3 -2
- package/corpus/templates/slides/app/components/deck/SlideRenderer.tsx +3 -1
- package/corpus/templates/slides/app/components/design-system/DesignSystemPreview.tsx +6 -4
- package/corpus/templates/slides/app/components/design-system/DesignSystemSetup.tsx +104 -73
- package/corpus/templates/slides/app/components/editor/AnimationsPanel.tsx +21 -17
- package/corpus/templates/slides/app/components/editor/AssetLibraryPanel.tsx +6 -3
- package/corpus/templates/slides/app/components/editor/BlockBubbleMenu.tsx +4 -2
- package/corpus/templates/slides/app/components/editor/CodeEditor.tsx +7 -4
- package/corpus/templates/slides/app/components/editor/EditorSidebar.tsx +26 -18
- package/corpus/templates/slides/app/components/editor/EditorToolbar.tsx +116 -91
- package/corpus/templates/slides/app/components/editor/ExportMenu.tsx +21 -21
- package/corpus/templates/slides/app/components/editor/GenerateSlidesDialog.tsx +16 -16
- package/corpus/templates/slides/app/components/editor/GeneratingOverlay.tsx +4 -2
- package/corpus/templates/slides/app/components/editor/GoogleDocImportHint.tsx +9 -5
- package/corpus/templates/slides/app/components/editor/HistoryPanel.tsx +44 -54
- package/corpus/templates/slides/app/components/editor/ImageDropPromptPopover.tsx +10 -11
- package/corpus/templates/slides/app/components/editor/ImageGenPanel.tsx +4 -2
- package/corpus/templates/slides/app/components/editor/ImageOverlay.tsx +3 -1
- package/corpus/templates/slides/app/components/editor/ImageSearchPanel.tsx +8 -5
- package/corpus/templates/slides/app/components/editor/ImportButton.tsx +3 -2
- package/corpus/templates/slides/app/components/editor/LogoSearchPanel.tsx +20 -10
- package/corpus/templates/slides/app/components/editor/MermaidToExcalidrawPanel.tsx +3 -1
- package/corpus/templates/slides/app/components/editor/PromptDialog.tsx +5 -4
- package/corpus/templates/slides/app/components/editor/ShareDialog.tsx +22 -21
- package/corpus/templates/slides/app/components/editor/SlideBubbleMenu.tsx +32 -21
- package/corpus/templates/slides/app/components/editor/SlideEditor.tsx +19 -34
- package/corpus/templates/slides/app/components/editor/SlideInlineEditor.tsx +9 -8
- package/corpus/templates/slides/app/components/editor/SlideSlashMenu.tsx +32 -27
- package/corpus/templates/slides/app/components/editor/SpeakerNotesPanel.tsx +7 -2
- package/corpus/templates/slides/app/components/layout/AgentWorkIndicator.tsx +6 -3
- package/corpus/templates/slides/app/components/presentation/PresentationView.tsx +11 -8
- package/corpus/templates/slides/app/components/visual-editor/CanvasCommentPins.tsx +6 -5
- package/corpus/templates/slides/app/components/visual-editor/DrawOverlay.tsx +8 -6
- package/corpus/templates/slides/app/components/visual-editor/MultiSelectChip.tsx +7 -3
- package/corpus/templates/slides/app/components/visual-editor/SaveStatusIndicator.tsx +4 -2
- package/corpus/templates/slides/app/i18n/ar-SA.ts +525 -3
- package/corpus/templates/slides/app/i18n/de-DE.ts +504 -4
- package/corpus/templates/slides/app/i18n/en-US.ts +490 -0
- package/corpus/templates/slides/app/i18n/es-ES.ts +514 -4
- package/corpus/templates/slides/app/i18n/fr-FR.ts +519 -5
- package/corpus/templates/slides/app/i18n/hi-IN.ts +489 -4
- package/corpus/templates/slides/app/i18n/ja-JP.ts +485 -3
- package/corpus/templates/slides/app/i18n/ko-KR.ts +481 -3
- package/corpus/templates/slides/app/i18n/pt-BR.ts +507 -2
- package/corpus/templates/slides/app/i18n/zh-CN.ts +475 -3
- package/corpus/templates/slides/app/pages/DeckEditor.tsx +25 -21
- package/corpus/templates/slides/app/pages/Index.tsx +47 -45
- package/corpus/templates/slides/app/pages/SharedPresentation.tsx +4 -3
- package/corpus/templates/slides/app/routes/$.tsx +2 -1
- package/corpus/templates/slides/app/routes/deck.$id.tsx +2 -1
- package/corpus/templates/slides/app/routes/design-systems.tsx +2 -1
- package/corpus/templates/slides/app/routes/settings.tsx +2 -1
- package/corpus/templates/slides/app/routes/share.$token.tsx +2 -1
- package/corpus/templates/slides/app/routes/slide.tsx +11 -5
- package/corpus/templates/slides/app/routes/team.tsx +6 -3
- package/corpus/templates/videos/app/components/CameraControls.tsx +11 -7
- package/corpus/templates/videos/app/components/CameraToolbar.tsx +13 -11
- package/corpus/templates/videos/app/components/CloudUpgrade.tsx +19 -16
- package/corpus/templates/videos/app/components/CompSettingsEditor.tsx +6 -1
- package/corpus/templates/videos/app/components/ComponentLibrarySidebar.tsx +29 -29
- package/corpus/templates/videos/app/components/ComponentPropsPanel.tsx +37 -17
- package/corpus/templates/videos/app/components/ComponentsSidebar.tsx +8 -3
- package/corpus/templates/videos/app/components/CompositionCard.tsx +11 -3
- package/corpus/templates/videos/app/components/CurrentElementPanel.tsx +45 -42
- package/corpus/templates/videos/app/components/CursorControls.tsx +37 -18
- package/corpus/templates/videos/app/components/CursorPositioningOverlay.tsx +3 -1
- package/corpus/templates/videos/app/components/LibraryFolderRow.tsx +8 -4
- package/corpus/templates/videos/app/components/MotionCurveSelect.tsx +9 -6
- package/corpus/templates/videos/app/components/PropsEditor.tsx +6 -2
- package/corpus/templates/videos/app/components/Sidebar.tsx +7 -7
- package/corpus/templates/videos/app/components/Timeline.tsx +8 -6
- package/corpus/templates/videos/app/components/TrackPropertiesPanel.tsx +50 -33
- package/corpus/templates/videos/app/components/TweaksPanel.tsx +18 -9
- package/corpus/templates/videos/app/components/VideoPlayer.tsx +9 -5
- package/corpus/templates/videos/app/components/design-system/DesignSystemPreview.tsx +14 -12
- package/corpus/templates/videos/app/components/design-system/DesignSystemSetup.tsx +31 -29
- package/corpus/templates/videos/app/components/keyframes/KeyframeActionButtons.tsx +11 -7
- package/corpus/templates/videos/app/i18n/ar-SA.ts +358 -1
- package/corpus/templates/videos/app/i18n/de-DE.ts +378 -0
- package/corpus/templates/videos/app/i18n/en-US.ts +362 -0
- package/corpus/templates/videos/app/i18n/es-ES.ts +377 -1
- package/corpus/templates/videos/app/i18n/fr-FR.ts +379 -2
- package/corpus/templates/videos/app/i18n/hi-IN.ts +359 -1
- package/corpus/templates/videos/app/i18n/ja-JP.ts +371 -1
- package/corpus/templates/videos/app/i18n/ko-KR.ts +364 -1
- package/corpus/templates/videos/app/i18n/pt-BR.ts +371 -1
- package/corpus/templates/videos/app/i18n/zh-CN.ts +351 -1
- package/corpus/templates/videos/app/pages/ComponentLibrary.tsx +6 -2
- package/corpus/templates/videos/app/pages/ComponentLibraryView.tsx +45 -24
- package/corpus/templates/videos/app/pages/CompositionView.tsx +61 -34
- package/corpus/templates/videos/app/routes/$.tsx +2 -1
- package/corpus/templates/videos/app/routes/c.$compositionId.tsx +2 -1
- package/corpus/templates/videos/app/routes/components.tsx +2 -1
- package/corpus/templates/videos/app/routes/design-systems.tsx +2 -1
- package/corpus/templates/videos/app/routes/settings.tsx +2 -1
- package/corpus/templates/videos/app/routes/team.tsx +2 -1
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +31 -0
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/agent/run-store.d.ts +2 -0
- package/dist/agent/run-store.d.ts.map +1 -1
- package/dist/agent/run-store.js +2 -0
- package/dist/agent/run-store.js.map +1 -1
- package/dist/client/changelog/Changelog.d.ts +7 -2
- package/dist/client/changelog/Changelog.d.ts.map +1 -1
- package/dist/client/changelog/Changelog.js +9 -7
- package/dist/client/changelog/Changelog.js.map +1 -1
- package/dist/client/extensions/ExtensionsSidebarSection.d.ts.map +1 -1
- package/dist/client/extensions/ExtensionsSidebarSection.js +339 -11
- package/dist/client/extensions/ExtensionsSidebarSection.js.map +1 -1
- package/dist/client/i18n.d.ts.map +1 -1
- package/dist/client/i18n.js +12 -1
- package/dist/client/i18n.js.map +1 -1
- package/dist/collab/routes.d.ts +1 -1
- package/dist/notifications/routes.d.ts +1 -1
- package/dist/observability/routes.d.ts +5 -5
- package/dist/progress/routes.d.ts +1 -1
- package/dist/resources/handlers.d.ts +3 -3
- package/dist/server/agent-engine-api-key-route.d.ts +2 -2
- package/dist/server/transcribe-voice.d.ts +1 -1
- package/dist/templates/default/app/i18n/ar-SA.ts +275 -274
- package/dist/templates/default/app/i18n/de-DE.ts +270 -260
- package/dist/templates/default/app/i18n/es-ES.ts +282 -270
- package/dist/templates/default/app/i18n/fr-FR.ts +275 -266
- package/dist/templates/default/app/i18n/hi-IN.ts +274 -276
- package/dist/templates/default/app/i18n/ja-JP.ts +280 -273
- package/dist/templates/default/app/i18n/ko-KR.ts +274 -274
- package/dist/templates/default/app/i18n/pt-BR.ts +273 -266
- package/dist/templates/default/app/i18n/zh-CN.ts +273 -285
- package/docs/content/locales/ar-SA/a2a-protocol.md +2 -2
- package/docs/content/locales/ar-SA/actions.md +6 -6
- package/docs/content/locales/ar-SA/agent-surfaces.md +5 -5
- package/docs/content/locales/ar-SA/agent-teams.md +4 -4
- package/docs/content/locales/ar-SA/agent-web-surfaces.md +2 -2
- package/docs/content/locales/ar-SA/authentication.md +4 -4
- package/docs/content/locales/ar-SA/automations.md +3 -3
- package/docs/content/locales/ar-SA/blueprint-installer.md +2 -2
- package/docs/content/locales/ar-SA/cli-adapters.md +1 -1
- package/docs/content/locales/ar-SA/code-agents-ui.md +2 -2
- package/docs/content/locales/ar-SA/components.md +14 -14
- package/docs/content/locales/ar-SA/context-awareness.md +3 -3
- package/docs/content/locales/ar-SA/creating-templates.md +12 -12
- package/docs/content/locales/ar-SA/cross-app-sso.md +3 -3
- package/docs/content/locales/ar-SA/database.md +7 -7
- package/docs/content/locales/ar-SA/deployment.md +4 -4
- package/docs/content/locales/ar-SA/dispatch.md +3 -3
- package/docs/content/locales/ar-SA/drop-in-agent.md +8 -8
- 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 +3 -3
- package/docs/content/locales/ar-SA/extensions.md +2 -2
- package/docs/content/locales/ar-SA/external-agents.md +8 -8
- package/docs/content/locales/ar-SA/faq.md +3 -3
- package/docs/content/locales/ar-SA/file-uploads.md +4 -4
- package/docs/content/locales/ar-SA/frames.md +1 -1
- package/docs/content/locales/ar-SA/getting-started.md +13 -13
- package/docs/content/locales/ar-SA/harness-agents.md +3 -3
- package/docs/content/locales/ar-SA/human-approval.md +3 -3
- package/docs/content/locales/ar-SA/key-concepts.md +14 -14
- package/docs/content/locales/ar-SA/local-file-mode.md +5 -5
- package/docs/content/locales/ar-SA/mcp-apps.md +9 -9
- package/docs/content/locales/ar-SA/mcp-clients.md +9 -9
- package/docs/content/locales/ar-SA/mcp-protocol.md +5 -5
- package/docs/content/locales/ar-SA/messaging.md +5 -5
- package/docs/content/locales/ar-SA/migration-workbench.md +1 -1
- package/docs/content/locales/ar-SA/multi-app-workspace.md +1 -1
- package/docs/content/locales/ar-SA/multi-tenancy.md +2 -2
- package/docs/content/locales/ar-SA/native-chat-ui.md +4 -4
- package/docs/content/locales/ar-SA/notifications.md +5 -5
- package/docs/content/locales/ar-SA/observability.md +1 -1
- package/docs/content/locales/ar-SA/observational-memory.md +2 -2
- package/docs/content/locales/ar-SA/onboarding.md +8 -8
- package/docs/content/locales/ar-SA/plan-plugin.md +3 -3
- package/docs/content/locales/ar-SA/pr-visual-recap.md +11 -11
- package/docs/content/locales/ar-SA/processors.md +2 -2
- package/docs/content/locales/ar-SA/progress.md +3 -3
- package/docs/content/locales/ar-SA/pure-agent-apps.md +1 -1
- package/docs/content/locales/ar-SA/real-time-collaboration.md +6 -6
- package/docs/content/locales/ar-SA/recurring-jobs.md +5 -5
- package/docs/content/locales/ar-SA/routing.md +1 -1
- package/docs/content/locales/ar-SA/sandbox-adapters.md +3 -3
- package/docs/content/locales/ar-SA/security.md +10 -10
- package/docs/content/locales/ar-SA/server.md +9 -9
- package/docs/content/locales/ar-SA/sharing.md +7 -7
- package/docs/content/locales/ar-SA/skills-guide.md +16 -16
- package/docs/content/locales/ar-SA/template-analytics.md +10 -10
- package/docs/content/locales/ar-SA/template-assets.md +19 -19
- package/docs/content/locales/ar-SA/template-brain.md +11 -11
- package/docs/content/locales/ar-SA/template-calendar.md +9 -9
- package/docs/content/locales/ar-SA/template-chat.md +3 -3
- package/docs/content/locales/ar-SA/template-clips.md +13 -13
- package/docs/content/locales/ar-SA/template-content.md +15 -15
- package/docs/content/locales/ar-SA/template-design.md +7 -7
- package/docs/content/locales/ar-SA/template-dispatch.md +8 -8
- package/docs/content/locales/ar-SA/template-forms.md +9 -9
- package/docs/content/locales/ar-SA/template-mail.md +7 -7
- package/docs/content/locales/ar-SA/template-plan.md +3 -3
- package/docs/content/locales/ar-SA/template-slides.md +8 -8
- package/docs/content/locales/ar-SA/template-videos.md +5 -5
- package/docs/content/locales/ar-SA/tracking.md +6 -6
- package/docs/content/locales/ar-SA/using-your-agent.md +4 -4
- package/docs/content/locales/ar-SA/voice-input.md +4 -4
- package/docs/content/locales/ar-SA/what-is-agent-native.md +4 -4
- package/docs/content/locales/ar-SA/workspace-connections.md +8 -8
- package/docs/content/locales/ar-SA/workspace-management.md +4 -4
- package/docs/content/locales/ar-SA/workspace.md +24 -24
- package/docs/content/locales/ar-SA/writing-agent-instructions.md +18 -18
- package/docs/content/locales/de-DE/a2a-protocol.md +7 -7
- package/docs/content/locales/de-DE/actions.md +5 -5
- package/docs/content/locales/de-DE/agent-mentions.md +4 -4
- package/docs/content/locales/de-DE/agent-surfaces.md +22 -22
- package/docs/content/locales/de-DE/agent-teams.md +4 -4
- package/docs/content/locales/de-DE/agent-web-surfaces.md +4 -4
- package/docs/content/locales/de-DE/authentication.md +6 -6
- package/docs/content/locales/de-DE/automations.md +8 -8
- package/docs/content/locales/de-DE/blueprint-installer.md +2 -2
- package/docs/content/locales/de-DE/client.md +6 -6
- package/docs/content/locales/de-DE/cloneable-saas.md +2 -2
- package/docs/content/locales/de-DE/code-agents-ui.md +9 -9
- package/docs/content/locales/de-DE/components.md +15 -15
- package/docs/content/locales/de-DE/context-awareness.md +8 -8
- package/docs/content/locales/de-DE/creating-templates.md +13 -13
- package/docs/content/locales/de-DE/cross-app-sso.md +3 -3
- package/docs/content/locales/de-DE/database.md +5 -5
- package/docs/content/locales/de-DE/deployment.md +6 -6
- package/docs/content/locales/de-DE/dispatch.md +3 -3
- package/docs/content/locales/de-DE/drop-in-agent.md +14 -14
- 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 +6 -6
- package/docs/content/locales/de-DE/faq.md +5 -5
- package/docs/content/locales/de-DE/file-uploads.md +4 -4
- package/docs/content/locales/de-DE/frames.md +2 -2
- package/docs/content/locales/de-DE/getting-started.md +16 -16
- package/docs/content/locales/de-DE/harness-agents.md +3 -3
- package/docs/content/locales/de-DE/human-approval.md +4 -4
- package/docs/content/locales/de-DE/key-concepts.md +14 -14
- package/docs/content/locales/de-DE/local-file-mode.md +8 -8
- package/docs/content/locales/de-DE/mcp-apps.md +4 -4
- package/docs/content/locales/de-DE/mcp-clients.md +7 -7
- package/docs/content/locales/de-DE/mcp-protocol.md +3 -3
- package/docs/content/locales/de-DE/messaging.md +5 -5
- package/docs/content/locales/de-DE/migration-workbench.md +1 -1
- package/docs/content/locales/de-DE/multi-app-workspace.md +2 -2
- package/docs/content/locales/de-DE/multi-tenancy.md +1 -1
- package/docs/content/locales/de-DE/native-chat-ui.md +8 -8
- package/docs/content/locales/de-DE/notifications.md +3 -3
- package/docs/content/locales/de-DE/observability.md +2 -2
- package/docs/content/locales/de-DE/observational-memory.md +2 -2
- package/docs/content/locales/de-DE/onboarding.md +8 -8
- package/docs/content/locales/de-DE/plan-plugin.md +3 -3
- package/docs/content/locales/de-DE/pr-visual-recap.md +11 -11
- package/docs/content/locales/de-DE/processors.md +1 -1
- package/docs/content/locales/de-DE/progress.md +2 -2
- package/docs/content/locales/de-DE/pure-agent-apps.md +1 -1
- package/docs/content/locales/de-DE/real-time-collaboration.md +8 -8
- package/docs/content/locales/de-DE/recurring-jobs.md +5 -5
- package/docs/content/locales/de-DE/routing.md +1 -1
- package/docs/content/locales/de-DE/sandbox-adapters.md +2 -2
- package/docs/content/locales/de-DE/security.md +10 -10
- package/docs/content/locales/de-DE/server.md +10 -10
- package/docs/content/locales/de-DE/sharing.md +6 -6
- package/docs/content/locales/de-DE/skills-guide.md +17 -17
- package/docs/content/locales/de-DE/template-analytics.md +10 -10
- package/docs/content/locales/de-DE/template-assets.md +21 -21
- package/docs/content/locales/de-DE/template-brain.md +11 -11
- package/docs/content/locales/de-DE/template-calendar.md +10 -10
- package/docs/content/locales/de-DE/template-chat.md +5 -5
- package/docs/content/locales/de-DE/template-clips.md +14 -14
- package/docs/content/locales/de-DE/template-content.md +14 -14
- package/docs/content/locales/de-DE/template-design.md +7 -7
- package/docs/content/locales/de-DE/template-dispatch.md +12 -12
- package/docs/content/locales/de-DE/template-forms.md +9 -9
- package/docs/content/locales/de-DE/template-mail.md +6 -6
- package/docs/content/locales/de-DE/template-plan.md +3 -3
- package/docs/content/locales/de-DE/template-slides.md +8 -8
- package/docs/content/locales/de-DE/template-videos.md +6 -6
- package/docs/content/locales/de-DE/tracking.md +3 -3
- package/docs/content/locales/de-DE/using-your-agent.md +6 -6
- package/docs/content/locales/de-DE/voice-input.md +9 -9
- package/docs/content/locales/de-DE/what-is-agent-native.md +6 -6
- package/docs/content/locales/de-DE/workspace-connections.md +9 -9
- package/docs/content/locales/de-DE/workspace-management.md +5 -5
- package/docs/content/locales/de-DE/workspace.md +23 -23
- package/docs/content/locales/de-DE/writing-agent-instructions.md +30 -30
- package/docs/content/locales/es-ES/a2a-protocol.md +7 -7
- package/docs/content/locales/es-ES/actions.md +2 -2
- package/docs/content/locales/es-ES/agent-mentions.md +3 -3
- package/docs/content/locales/es-ES/agent-surfaces.md +7 -7
- package/docs/content/locales/es-ES/agent-teams.md +3 -3
- package/docs/content/locales/es-ES/agent-web-surfaces.md +5 -5
- package/docs/content/locales/es-ES/authentication.md +6 -6
- package/docs/content/locales/es-ES/automations.md +8 -8
- package/docs/content/locales/es-ES/blueprint-installer.md +2 -2
- package/docs/content/locales/es-ES/client.md +1 -1
- package/docs/content/locales/es-ES/cloneable-saas.md +2 -2
- package/docs/content/locales/es-ES/code-agents-ui.md +4 -4
- package/docs/content/locales/es-ES/components.md +5 -5
- package/docs/content/locales/es-ES/context-awareness.md +8 -8
- package/docs/content/locales/es-ES/creating-templates.md +12 -12
- package/docs/content/locales/es-ES/cross-app-sso.md +3 -3
- package/docs/content/locales/es-ES/database.md +5 -5
- package/docs/content/locales/es-ES/deployment.md +4 -4
- package/docs/content/locales/es-ES/dispatch.md +3 -3
- package/docs/content/locales/es-ES/drop-in-agent.md +8 -8
- 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 +5 -5
- package/docs/content/locales/es-ES/faq.md +3 -3
- package/docs/content/locales/es-ES/file-uploads.md +4 -4
- package/docs/content/locales/es-ES/frames.md +1 -1
- package/docs/content/locales/es-ES/getting-started.md +13 -13
- package/docs/content/locales/es-ES/harness-agents.md +3 -3
- package/docs/content/locales/es-ES/human-approval.md +3 -3
- package/docs/content/locales/es-ES/key-concepts.md +14 -14
- package/docs/content/locales/es-ES/local-file-mode.md +6 -6
- package/docs/content/locales/es-ES/mcp-apps.md +4 -4
- package/docs/content/locales/es-ES/mcp-clients.md +8 -8
- package/docs/content/locales/es-ES/mcp-protocol.md +3 -3
- package/docs/content/locales/es-ES/messaging.md +4 -4
- package/docs/content/locales/es-ES/migration-workbench.md +1 -1
- package/docs/content/locales/es-ES/multi-app-workspace.md +1 -1
- package/docs/content/locales/es-ES/multi-tenancy.md +1 -1
- package/docs/content/locales/es-ES/native-chat-ui.md +3 -3
- package/docs/content/locales/es-ES/notifications.md +3 -3
- package/docs/content/locales/es-ES/observability.md +2 -2
- package/docs/content/locales/es-ES/observational-memory.md +2 -2
- package/docs/content/locales/es-ES/onboarding.md +8 -8
- package/docs/content/locales/es-ES/plan-plugin.md +3 -3
- package/docs/content/locales/es-ES/pr-visual-recap.md +11 -11
- package/docs/content/locales/es-ES/processors.md +1 -1
- package/docs/content/locales/es-ES/progress.md +2 -2
- package/docs/content/locales/es-ES/pure-agent-apps.md +1 -1
- package/docs/content/locales/es-ES/real-time-collaboration.md +6 -6
- package/docs/content/locales/es-ES/recurring-jobs.md +5 -5
- package/docs/content/locales/es-ES/routing.md +1 -1
- package/docs/content/locales/es-ES/sandbox-adapters.md +2 -2
- package/docs/content/locales/es-ES/security.md +8 -8
- package/docs/content/locales/es-ES/server.md +11 -11
- package/docs/content/locales/es-ES/sharing.md +6 -6
- package/docs/content/locales/es-ES/skills-guide.md +16 -16
- package/docs/content/locales/es-ES/template-analytics.md +10 -10
- package/docs/content/locales/es-ES/template-assets.md +19 -19
- package/docs/content/locales/es-ES/template-brain.md +11 -11
- package/docs/content/locales/es-ES/template-calendar.md +9 -9
- package/docs/content/locales/es-ES/template-chat.md +3 -3
- package/docs/content/locales/es-ES/template-clips.md +14 -14
- package/docs/content/locales/es-ES/template-content.md +13 -13
- package/docs/content/locales/es-ES/template-design.md +7 -7
- package/docs/content/locales/es-ES/template-dispatch.md +8 -8
- package/docs/content/locales/es-ES/template-forms.md +9 -9
- package/docs/content/locales/es-ES/template-mail.md +6 -6
- package/docs/content/locales/es-ES/template-plan.md +3 -3
- package/docs/content/locales/es-ES/template-slides.md +8 -8
- package/docs/content/locales/es-ES/template-videos.md +5 -5
- package/docs/content/locales/es-ES/tracking.md +3 -3
- package/docs/content/locales/es-ES/using-your-agent.md +5 -5
- package/docs/content/locales/es-ES/voice-input.md +4 -4
- package/docs/content/locales/es-ES/what-is-agent-native.md +6 -6
- package/docs/content/locales/es-ES/workspace-connections.md +8 -8
- package/docs/content/locales/es-ES/workspace-management.md +4 -4
- package/docs/content/locales/es-ES/workspace.md +23 -23
- package/docs/content/locales/es-ES/writing-agent-instructions.md +18 -18
- package/docs/content/locales/fr-FR/a2a-protocol.md +7 -7
- package/docs/content/locales/fr-FR/actions.md +2 -2
- package/docs/content/locales/fr-FR/agent-mentions.md +3 -3
- package/docs/content/locales/fr-FR/agent-surfaces.md +7 -7
- package/docs/content/locales/fr-FR/agent-teams.md +3 -3
- package/docs/content/locales/fr-FR/agent-web-surfaces.md +5 -5
- package/docs/content/locales/fr-FR/authentication.md +6 -6
- package/docs/content/locales/fr-FR/automations.md +8 -8
- package/docs/content/locales/fr-FR/blueprint-installer.md +2 -2
- package/docs/content/locales/fr-FR/client.md +1 -1
- package/docs/content/locales/fr-FR/cloneable-saas.md +2 -2
- package/docs/content/locales/fr-FR/code-agents-ui.md +4 -4
- package/docs/content/locales/fr-FR/components.md +5 -5
- package/docs/content/locales/fr-FR/context-awareness.md +8 -8
- package/docs/content/locales/fr-FR/creating-templates.md +12 -12
- package/docs/content/locales/fr-FR/cross-app-sso.md +4 -4
- package/docs/content/locales/fr-FR/database.md +5 -5
- package/docs/content/locales/fr-FR/deployment.md +5 -5
- package/docs/content/locales/fr-FR/dispatch.md +3 -3
- package/docs/content/locales/fr-FR/drop-in-agent.md +9 -9
- package/docs/content/locales/fr-FR/durable-resume.md +1 -1
- package/docs/content/locales/fr-FR/embedding-sdk.md +7 -7
- 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 +5 -5
- package/docs/content/locales/fr-FR/faq.md +3 -3
- package/docs/content/locales/fr-FR/file-uploads.md +5 -5
- package/docs/content/locales/fr-FR/frames.md +1 -1
- package/docs/content/locales/fr-FR/getting-started.md +13 -13
- package/docs/content/locales/fr-FR/harness-agents.md +3 -3
- package/docs/content/locales/fr-FR/human-approval.md +3 -3
- package/docs/content/locales/fr-FR/key-concepts.md +15 -15
- package/docs/content/locales/fr-FR/local-file-mode.md +5 -5
- package/docs/content/locales/fr-FR/mcp-apps.md +4 -4
- package/docs/content/locales/fr-FR/mcp-clients.md +8 -8
- package/docs/content/locales/fr-FR/mcp-protocol.md +3 -3
- package/docs/content/locales/fr-FR/messaging.md +4 -4
- package/docs/content/locales/fr-FR/migration-workbench.md +1 -1
- package/docs/content/locales/fr-FR/multi-app-workspace.md +1 -1
- package/docs/content/locales/fr-FR/multi-tenancy.md +1 -1
- package/docs/content/locales/fr-FR/native-chat-ui.md +3 -3
- package/docs/content/locales/fr-FR/notifications.md +3 -3
- package/docs/content/locales/fr-FR/observability.md +2 -2
- package/docs/content/locales/fr-FR/observational-memory.md +2 -2
- package/docs/content/locales/fr-FR/onboarding.md +8 -8
- package/docs/content/locales/fr-FR/plan-plugin.md +3 -3
- package/docs/content/locales/fr-FR/pr-visual-recap.md +11 -11
- package/docs/content/locales/fr-FR/processors.md +1 -1
- package/docs/content/locales/fr-FR/progress.md +2 -2
- package/docs/content/locales/fr-FR/pure-agent-apps.md +1 -1
- package/docs/content/locales/fr-FR/real-time-collaboration.md +8 -8
- package/docs/content/locales/fr-FR/recurring-jobs.md +5 -5
- package/docs/content/locales/fr-FR/routing.md +1 -1
- package/docs/content/locales/fr-FR/sandbox-adapters.md +2 -2
- package/docs/content/locales/fr-FR/security.md +8 -8
- package/docs/content/locales/fr-FR/server.md +10 -10
- package/docs/content/locales/fr-FR/sharing.md +6 -6
- package/docs/content/locales/fr-FR/skills-guide.md +16 -16
- package/docs/content/locales/fr-FR/template-analytics.md +10 -10
- package/docs/content/locales/fr-FR/template-assets.md +20 -20
- package/docs/content/locales/fr-FR/template-brain.md +11 -11
- package/docs/content/locales/fr-FR/template-calendar.md +9 -9
- package/docs/content/locales/fr-FR/template-chat.md +3 -3
- package/docs/content/locales/fr-FR/template-clips.md +15 -15
- package/docs/content/locales/fr-FR/template-content.md +13 -13
- package/docs/content/locales/fr-FR/template-design.md +8 -8
- package/docs/content/locales/fr-FR/template-dispatch.md +8 -8
- package/docs/content/locales/fr-FR/template-forms.md +10 -10
- package/docs/content/locales/fr-FR/template-mail.md +6 -6
- package/docs/content/locales/fr-FR/template-plan.md +3 -3
- package/docs/content/locales/fr-FR/template-slides.md +9 -9
- package/docs/content/locales/fr-FR/template-videos.md +5 -5
- package/docs/content/locales/fr-FR/tracking.md +3 -3
- package/docs/content/locales/fr-FR/using-your-agent.md +5 -5
- package/docs/content/locales/fr-FR/voice-input.md +4 -4
- package/docs/content/locales/fr-FR/what-is-agent-native.md +6 -6
- package/docs/content/locales/fr-FR/workspace-connections.md +8 -8
- package/docs/content/locales/fr-FR/workspace-management.md +5 -5
- package/docs/content/locales/fr-FR/workspace.md +23 -23
- package/docs/content/locales/fr-FR/writing-agent-instructions.md +18 -18
- package/docs/content/locales/hi-IN/a2a-protocol.md +7 -7
- package/docs/content/locales/hi-IN/actions.md +3 -3
- package/docs/content/locales/hi-IN/agent-mentions.md +3 -3
- package/docs/content/locales/hi-IN/agent-surfaces.md +7 -7
- package/docs/content/locales/hi-IN/agent-teams.md +3 -3
- package/docs/content/locales/hi-IN/agent-web-surfaces.md +5 -5
- package/docs/content/locales/hi-IN/authentication.md +6 -6
- package/docs/content/locales/hi-IN/automations.md +8 -8
- package/docs/content/locales/hi-IN/blueprint-installer.md +2 -2
- package/docs/content/locales/hi-IN/client.md +1 -1
- package/docs/content/locales/hi-IN/cloneable-saas.md +2 -2
- package/docs/content/locales/hi-IN/code-agents-ui.md +4 -4
- package/docs/content/locales/hi-IN/components.md +5 -5
- package/docs/content/locales/hi-IN/context-awareness.md +8 -8
- package/docs/content/locales/hi-IN/creating-templates.md +14 -14
- package/docs/content/locales/hi-IN/cross-app-sso.md +3 -3
- package/docs/content/locales/hi-IN/database.md +5 -5
- package/docs/content/locales/hi-IN/deployment.md +5 -5
- package/docs/content/locales/hi-IN/dispatch.md +4 -4
- package/docs/content/locales/hi-IN/drop-in-agent.md +8 -8
- 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 +5 -5
- package/docs/content/locales/hi-IN/faq.md +3 -3
- package/docs/content/locales/hi-IN/file-uploads.md +4 -4
- package/docs/content/locales/hi-IN/frames.md +1 -1
- package/docs/content/locales/hi-IN/getting-started.md +14 -14
- package/docs/content/locales/hi-IN/harness-agents.md +3 -3
- package/docs/content/locales/hi-IN/human-approval.md +3 -3
- package/docs/content/locales/hi-IN/key-concepts.md +14 -14
- package/docs/content/locales/hi-IN/local-file-mode.md +5 -5
- package/docs/content/locales/hi-IN/mcp-apps.md +4 -4
- package/docs/content/locales/hi-IN/mcp-clients.md +7 -7
- package/docs/content/locales/hi-IN/mcp-protocol.md +3 -3
- package/docs/content/locales/hi-IN/messaging.md +6 -6
- package/docs/content/locales/hi-IN/migration-workbench.md +1 -1
- package/docs/content/locales/hi-IN/multi-app-workspace.md +1 -1
- package/docs/content/locales/hi-IN/multi-tenancy.md +1 -1
- package/docs/content/locales/hi-IN/native-chat-ui.md +3 -3
- package/docs/content/locales/hi-IN/notifications.md +3 -3
- package/docs/content/locales/hi-IN/observability.md +2 -2
- package/docs/content/locales/hi-IN/observational-memory.md +2 -2
- package/docs/content/locales/hi-IN/onboarding.md +8 -8
- package/docs/content/locales/hi-IN/plan-plugin.md +3 -3
- package/docs/content/locales/hi-IN/pr-visual-recap.md +11 -11
- package/docs/content/locales/hi-IN/processors.md +1 -1
- package/docs/content/locales/hi-IN/progress.md +2 -2
- package/docs/content/locales/hi-IN/pure-agent-apps.md +1 -1
- package/docs/content/locales/hi-IN/real-time-collaboration.md +6 -6
- package/docs/content/locales/hi-IN/recurring-jobs.md +5 -5
- package/docs/content/locales/hi-IN/routing.md +1 -1
- package/docs/content/locales/hi-IN/sandbox-adapters.md +2 -2
- package/docs/content/locales/hi-IN/security.md +8 -8
- package/docs/content/locales/hi-IN/server.md +10 -10
- package/docs/content/locales/hi-IN/sharing.md +6 -6
- package/docs/content/locales/hi-IN/skills-guide.md +16 -16
- package/docs/content/locales/hi-IN/template-analytics.md +10 -10
- package/docs/content/locales/hi-IN/template-assets.md +19 -19
- package/docs/content/locales/hi-IN/template-brain.md +11 -11
- package/docs/content/locales/hi-IN/template-calendar.md +9 -9
- package/docs/content/locales/hi-IN/template-chat.md +3 -3
- package/docs/content/locales/hi-IN/template-clips.md +14 -14
- package/docs/content/locales/hi-IN/template-content.md +13 -13
- package/docs/content/locales/hi-IN/template-design.md +7 -7
- package/docs/content/locales/hi-IN/template-dispatch.md +9 -9
- package/docs/content/locales/hi-IN/template-forms.md +9 -9
- package/docs/content/locales/hi-IN/template-mail.md +6 -6
- package/docs/content/locales/hi-IN/template-plan.md +3 -3
- package/docs/content/locales/hi-IN/template-slides.md +8 -8
- package/docs/content/locales/hi-IN/template-videos.md +5 -5
- package/docs/content/locales/hi-IN/tracking.md +3 -3
- package/docs/content/locales/hi-IN/using-your-agent.md +1 -1
- package/docs/content/locales/hi-IN/voice-input.md +4 -4
- package/docs/content/locales/hi-IN/what-is-agent-native.md +4 -4
- package/docs/content/locales/hi-IN/workspace-connections.md +8 -8
- package/docs/content/locales/hi-IN/workspace-management.md +4 -4
- package/docs/content/locales/hi-IN/workspace.md +23 -23
- package/docs/content/locales/hi-IN/writing-agent-instructions.md +18 -18
- package/docs/content/locales/ja-JP/a2a-protocol.md +7 -7
- package/docs/content/locales/ja-JP/actions.md +3 -3
- package/docs/content/locales/ja-JP/agent-mentions.md +3 -3
- package/docs/content/locales/ja-JP/agent-surfaces.md +7 -7
- package/docs/content/locales/ja-JP/agent-teams.md +3 -3
- package/docs/content/locales/ja-JP/agent-web-surfaces.md +5 -5
- package/docs/content/locales/ja-JP/authentication.md +6 -6
- package/docs/content/locales/ja-JP/automations.md +8 -8
- package/docs/content/locales/ja-JP/blueprint-installer.md +2 -2
- package/docs/content/locales/ja-JP/client.md +1 -1
- package/docs/content/locales/ja-JP/cloneable-saas.md +2 -2
- package/docs/content/locales/ja-JP/code-agents-ui.md +4 -4
- package/docs/content/locales/ja-JP/components.md +5 -5
- package/docs/content/locales/ja-JP/context-awareness.md +8 -8
- package/docs/content/locales/ja-JP/creating-templates.md +12 -12
- package/docs/content/locales/ja-JP/cross-app-sso.md +3 -3
- package/docs/content/locales/ja-JP/database.md +7 -7
- package/docs/content/locales/ja-JP/deployment.md +4 -4
- package/docs/content/locales/ja-JP/dispatch.md +4 -4
- package/docs/content/locales/ja-JP/drop-in-agent.md +8 -8
- 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 +5 -5
- package/docs/content/locales/ja-JP/faq.md +3 -3
- package/docs/content/locales/ja-JP/file-uploads.md +4 -4
- package/docs/content/locales/ja-JP/frames.md +1 -1
- package/docs/content/locales/ja-JP/getting-started.md +13 -13
- package/docs/content/locales/ja-JP/harness-agents.md +3 -3
- package/docs/content/locales/ja-JP/human-approval.md +3 -3
- package/docs/content/locales/ja-JP/key-concepts.md +14 -14
- package/docs/content/locales/ja-JP/local-file-mode.md +5 -5
- package/docs/content/locales/ja-JP/mcp-apps.md +4 -4
- package/docs/content/locales/ja-JP/mcp-clients.md +8 -8
- package/docs/content/locales/ja-JP/mcp-protocol.md +3 -3
- package/docs/content/locales/ja-JP/messaging.md +6 -6
- package/docs/content/locales/ja-JP/migration-workbench.md +1 -1
- package/docs/content/locales/ja-JP/multi-app-workspace.md +1 -1
- package/docs/content/locales/ja-JP/multi-tenancy.md +1 -1
- package/docs/content/locales/ja-JP/native-chat-ui.md +3 -3
- package/docs/content/locales/ja-JP/notifications.md +3 -3
- package/docs/content/locales/ja-JP/observability.md +2 -2
- package/docs/content/locales/ja-JP/observational-memory.md +2 -2
- package/docs/content/locales/ja-JP/onboarding.md +8 -8
- package/docs/content/locales/ja-JP/plan-plugin.md +3 -3
- package/docs/content/locales/ja-JP/pr-visual-recap.md +11 -11
- package/docs/content/locales/ja-JP/processors.md +1 -1
- package/docs/content/locales/ja-JP/progress.md +2 -2
- package/docs/content/locales/ja-JP/pure-agent-apps.md +1 -1
- package/docs/content/locales/ja-JP/real-time-collaboration.md +6 -6
- package/docs/content/locales/ja-JP/recurring-jobs.md +5 -5
- package/docs/content/locales/ja-JP/routing.md +1 -1
- package/docs/content/locales/ja-JP/sandbox-adapters.md +2 -2
- package/docs/content/locales/ja-JP/security.md +8 -8
- package/docs/content/locales/ja-JP/server.md +10 -10
- package/docs/content/locales/ja-JP/sharing.md +6 -6
- package/docs/content/locales/ja-JP/skills-guide.md +16 -16
- package/docs/content/locales/ja-JP/template-analytics.md +10 -10
- package/docs/content/locales/ja-JP/template-assets.md +19 -19
- package/docs/content/locales/ja-JP/template-brain.md +11 -11
- package/docs/content/locales/ja-JP/template-calendar.md +9 -9
- package/docs/content/locales/ja-JP/template-chat.md +3 -3
- package/docs/content/locales/ja-JP/template-clips.md +14 -14
- package/docs/content/locales/ja-JP/template-content.md +13 -13
- package/docs/content/locales/ja-JP/template-design.md +7 -7
- package/docs/content/locales/ja-JP/template-dispatch.md +12 -12
- package/docs/content/locales/ja-JP/template-forms.md +9 -9
- package/docs/content/locales/ja-JP/template-mail.md +6 -6
- package/docs/content/locales/ja-JP/template-plan.md +3 -3
- package/docs/content/locales/ja-JP/template-slides.md +8 -8
- package/docs/content/locales/ja-JP/template-videos.md +5 -5
- package/docs/content/locales/ja-JP/tracking.md +3 -3
- package/docs/content/locales/ja-JP/using-your-agent.md +4 -4
- package/docs/content/locales/ja-JP/voice-input.md +4 -4
- package/docs/content/locales/ja-JP/what-is-agent-native.md +4 -4
- package/docs/content/locales/ja-JP/workspace-connections.md +8 -8
- package/docs/content/locales/ja-JP/workspace-management.md +5 -5
- package/docs/content/locales/ja-JP/workspace.md +23 -23
- package/docs/content/locales/ja-JP/writing-agent-instructions.md +18 -18
- package/docs/content/locales/ko-KR/a2a-protocol.md +7 -7
- package/docs/content/locales/ko-KR/actions.md +3 -3
- package/docs/content/locales/ko-KR/agent-mentions.md +3 -3
- package/docs/content/locales/ko-KR/agent-surfaces.md +15 -15
- package/docs/content/locales/ko-KR/agent-teams.md +3 -3
- package/docs/content/locales/ko-KR/agent-web-surfaces.md +5 -5
- package/docs/content/locales/ko-KR/authentication.md +13 -13
- package/docs/content/locales/ko-KR/automations.md +8 -8
- package/docs/content/locales/ko-KR/blueprint-installer.md +2 -2
- package/docs/content/locales/ko-KR/client.md +1 -1
- package/docs/content/locales/ko-KR/cloneable-saas.md +2 -2
- package/docs/content/locales/ko-KR/code-agents-ui.md +4 -4
- package/docs/content/locales/ko-KR/components.md +5 -5
- package/docs/content/locales/ko-KR/context-awareness.md +8 -8
- package/docs/content/locales/ko-KR/creating-templates.md +12 -12
- package/docs/content/locales/ko-KR/cross-app-sso.md +3 -3
- package/docs/content/locales/ko-KR/database.md +7 -7
- package/docs/content/locales/ko-KR/deployment.md +4 -4
- package/docs/content/locales/ko-KR/dispatch.md +4 -4
- package/docs/content/locales/ko-KR/drop-in-agent.md +8 -8
- 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 +5 -5
- package/docs/content/locales/ko-KR/faq.md +3 -3
- package/docs/content/locales/ko-KR/file-uploads.md +4 -4
- package/docs/content/locales/ko-KR/frames.md +1 -1
- package/docs/content/locales/ko-KR/getting-started.md +13 -13
- package/docs/content/locales/ko-KR/harness-agents.md +3 -3
- package/docs/content/locales/ko-KR/human-approval.md +3 -3
- package/docs/content/locales/ko-KR/key-concepts.md +14 -14
- package/docs/content/locales/ko-KR/local-file-mode.md +5 -5
- package/docs/content/locales/ko-KR/mcp-apps.md +4 -4
- package/docs/content/locales/ko-KR/mcp-clients.md +8 -8
- package/docs/content/locales/ko-KR/mcp-protocol.md +3 -3
- package/docs/content/locales/ko-KR/messaging.md +6 -6
- package/docs/content/locales/ko-KR/migration-workbench.md +1 -1
- package/docs/content/locales/ko-KR/multi-app-workspace.md +1 -1
- package/docs/content/locales/ko-KR/multi-tenancy.md +1 -1
- package/docs/content/locales/ko-KR/native-chat-ui.md +3 -3
- package/docs/content/locales/ko-KR/notifications.md +3 -3
- package/docs/content/locales/ko-KR/observability.md +2 -2
- package/docs/content/locales/ko-KR/observational-memory.md +2 -2
- package/docs/content/locales/ko-KR/onboarding.md +8 -8
- package/docs/content/locales/ko-KR/plan-plugin.md +3 -3
- package/docs/content/locales/ko-KR/pr-visual-recap.md +11 -11
- package/docs/content/locales/ko-KR/processors.md +1 -1
- package/docs/content/locales/ko-KR/progress.md +2 -2
- package/docs/content/locales/ko-KR/pure-agent-apps.md +1 -1
- package/docs/content/locales/ko-KR/real-time-collaboration.md +6 -6
- package/docs/content/locales/ko-KR/recurring-jobs.md +5 -5
- package/docs/content/locales/ko-KR/routing.md +1 -1
- package/docs/content/locales/ko-KR/sandbox-adapters.md +2 -2
- package/docs/content/locales/ko-KR/security.md +8 -8
- package/docs/content/locales/ko-KR/server.md +10 -10
- package/docs/content/locales/ko-KR/sharing.md +6 -6
- package/docs/content/locales/ko-KR/skills-guide.md +16 -16
- package/docs/content/locales/ko-KR/template-analytics.md +10 -10
- package/docs/content/locales/ko-KR/template-assets.md +19 -19
- package/docs/content/locales/ko-KR/template-brain.md +11 -11
- package/docs/content/locales/ko-KR/template-calendar.md +9 -9
- package/docs/content/locales/ko-KR/template-chat.md +3 -3
- package/docs/content/locales/ko-KR/template-clips.md +14 -14
- package/docs/content/locales/ko-KR/template-content.md +13 -13
- package/docs/content/locales/ko-KR/template-design.md +7 -7
- package/docs/content/locales/ko-KR/template-dispatch.md +11 -11
- package/docs/content/locales/ko-KR/template-forms.md +9 -9
- package/docs/content/locales/ko-KR/template-mail.md +6 -6
- package/docs/content/locales/ko-KR/template-plan.md +3 -3
- package/docs/content/locales/ko-KR/template-slides.md +8 -8
- package/docs/content/locales/ko-KR/template-videos.md +5 -5
- package/docs/content/locales/ko-KR/tracking.md +3 -3
- package/docs/content/locales/ko-KR/using-your-agent.md +5 -5
- package/docs/content/locales/ko-KR/voice-input.md +4 -4
- package/docs/content/locales/ko-KR/what-is-agent-native.md +6 -6
- package/docs/content/locales/ko-KR/workspace-connections.md +8 -8
- package/docs/content/locales/ko-KR/workspace-management.md +4 -4
- package/docs/content/locales/ko-KR/workspace.md +23 -23
- package/docs/content/locales/ko-KR/writing-agent-instructions.md +18 -18
- package/docs/content/locales/pt-BR/a2a-protocol.md +7 -7
- package/docs/content/locales/pt-BR/actions.md +2 -2
- package/docs/content/locales/pt-BR/agent-mentions.md +3 -3
- package/docs/content/locales/pt-BR/agent-surfaces.md +7 -7
- package/docs/content/locales/pt-BR/agent-teams.md +3 -3
- package/docs/content/locales/pt-BR/agent-web-surfaces.md +5 -5
- package/docs/content/locales/pt-BR/authentication.md +6 -6
- package/docs/content/locales/pt-BR/automations.md +8 -8
- package/docs/content/locales/pt-BR/blueprint-installer.md +2 -2
- package/docs/content/locales/pt-BR/client.md +2 -2
- package/docs/content/locales/pt-BR/cloneable-saas.md +2 -2
- package/docs/content/locales/pt-BR/code-agents-ui.md +4 -4
- package/docs/content/locales/pt-BR/components.md +5 -5
- package/docs/content/locales/pt-BR/context-awareness.md +8 -8
- package/docs/content/locales/pt-BR/creating-templates.md +12 -12
- package/docs/content/locales/pt-BR/cross-app-sso.md +3 -3
- package/docs/content/locales/pt-BR/database.md +5 -5
- package/docs/content/locales/pt-BR/deployment.md +5 -5
- package/docs/content/locales/pt-BR/dispatch.md +3 -3
- package/docs/content/locales/pt-BR/drop-in-agent.md +9 -9
- 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 +5 -5
- package/docs/content/locales/pt-BR/faq.md +3 -3
- package/docs/content/locales/pt-BR/file-uploads.md +4 -4
- package/docs/content/locales/pt-BR/frames.md +2 -2
- package/docs/content/locales/pt-BR/getting-started.md +13 -13
- package/docs/content/locales/pt-BR/harness-agents.md +3 -3
- package/docs/content/locales/pt-BR/human-approval.md +3 -3
- package/docs/content/locales/pt-BR/key-concepts.md +15 -15
- package/docs/content/locales/pt-BR/local-file-mode.md +5 -5
- package/docs/content/locales/pt-BR/mcp-apps.md +4 -4
- package/docs/content/locales/pt-BR/mcp-clients.md +8 -8
- package/docs/content/locales/pt-BR/mcp-protocol.md +3 -3
- package/docs/content/locales/pt-BR/messaging.md +4 -4
- package/docs/content/locales/pt-BR/migration-workbench.md +1 -1
- package/docs/content/locales/pt-BR/multi-app-workspace.md +1 -1
- package/docs/content/locales/pt-BR/multi-tenancy.md +1 -1
- package/docs/content/locales/pt-BR/native-chat-ui.md +3 -3
- package/docs/content/locales/pt-BR/notifications.md +3 -3
- package/docs/content/locales/pt-BR/observability.md +2 -2
- package/docs/content/locales/pt-BR/observational-memory.md +2 -2
- package/docs/content/locales/pt-BR/onboarding.md +8 -8
- package/docs/content/locales/pt-BR/plan-plugin.md +3 -3
- package/docs/content/locales/pt-BR/pr-visual-recap.md +11 -11
- package/docs/content/locales/pt-BR/processors.md +1 -1
- package/docs/content/locales/pt-BR/progress.md +2 -2
- package/docs/content/locales/pt-BR/pure-agent-apps.md +1 -1
- package/docs/content/locales/pt-BR/real-time-collaboration.md +6 -6
- package/docs/content/locales/pt-BR/recurring-jobs.md +5 -5
- package/docs/content/locales/pt-BR/routing.md +1 -1
- package/docs/content/locales/pt-BR/sandbox-adapters.md +2 -2
- package/docs/content/locales/pt-BR/security.md +9 -9
- package/docs/content/locales/pt-BR/server.md +10 -10
- package/docs/content/locales/pt-BR/sharing.md +6 -6
- package/docs/content/locales/pt-BR/skills-guide.md +16 -16
- package/docs/content/locales/pt-BR/template-analytics.md +10 -10
- package/docs/content/locales/pt-BR/template-assets.md +20 -20
- package/docs/content/locales/pt-BR/template-brain.md +11 -11
- package/docs/content/locales/pt-BR/template-calendar.md +9 -9
- package/docs/content/locales/pt-BR/template-chat.md +3 -3
- package/docs/content/locales/pt-BR/template-clips.md +15 -15
- package/docs/content/locales/pt-BR/template-content.md +13 -13
- package/docs/content/locales/pt-BR/template-design.md +8 -8
- package/docs/content/locales/pt-BR/template-dispatch.md +8 -8
- package/docs/content/locales/pt-BR/template-forms.md +10 -10
- package/docs/content/locales/pt-BR/template-mail.md +6 -6
- package/docs/content/locales/pt-BR/template-plan.md +3 -3
- package/docs/content/locales/pt-BR/template-slides.md +9 -9
- package/docs/content/locales/pt-BR/template-videos.md +5 -5
- package/docs/content/locales/pt-BR/tracking.md +3 -3
- package/docs/content/locales/pt-BR/using-your-agent.md +5 -5
- package/docs/content/locales/pt-BR/voice-input.md +4 -4
- package/docs/content/locales/pt-BR/what-is-agent-native.md +5 -5
- package/docs/content/locales/pt-BR/workspace-connections.md +8 -8
- package/docs/content/locales/pt-BR/workspace-management.md +4 -4
- package/docs/content/locales/pt-BR/workspace.md +23 -23
- package/docs/content/locales/pt-BR/writing-agent-instructions.md +18 -18
- package/docs/content/locales/zh-CN/a2a-protocol.md +7 -7
- package/docs/content/locales/zh-CN/actions.md +3 -3
- package/docs/content/locales/zh-CN/agent-mentions.md +3 -3
- package/docs/content/locales/zh-CN/agent-surfaces.md +7 -7
- package/docs/content/locales/zh-CN/agent-teams.md +3 -3
- package/docs/content/locales/zh-CN/agent-web-surfaces.md +5 -5
- package/docs/content/locales/zh-CN/authentication.md +13 -13
- package/docs/content/locales/zh-CN/automations.md +8 -8
- package/docs/content/locales/zh-CN/blueprint-installer.md +2 -2
- package/docs/content/locales/zh-CN/client.md +1 -1
- package/docs/content/locales/zh-CN/cloneable-saas.md +2 -2
- package/docs/content/locales/zh-CN/code-agents-ui.md +4 -4
- package/docs/content/locales/zh-CN/components.md +7 -7
- package/docs/content/locales/zh-CN/context-awareness.md +8 -8
- package/docs/content/locales/zh-CN/creating-templates.md +12 -12
- package/docs/content/locales/zh-CN/cross-app-sso.md +3 -3
- package/docs/content/locales/zh-CN/database.md +7 -7
- package/docs/content/locales/zh-CN/deployment.md +4 -4
- package/docs/content/locales/zh-CN/dispatch.md +4 -4
- package/docs/content/locales/zh-CN/drop-in-agent.md +8 -8
- 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 +5 -5
- package/docs/content/locales/zh-CN/faq.md +3 -3
- package/docs/content/locales/zh-CN/file-uploads.md +4 -4
- package/docs/content/locales/zh-CN/frames.md +2 -2
- package/docs/content/locales/zh-CN/getting-started.md +13 -13
- package/docs/content/locales/zh-CN/harness-agents.md +3 -3
- package/docs/content/locales/zh-CN/human-approval.md +3 -3
- package/docs/content/locales/zh-CN/key-concepts.md +14 -14
- package/docs/content/locales/zh-CN/local-file-mode.md +5 -5
- package/docs/content/locales/zh-CN/mcp-apps.md +4 -4
- package/docs/content/locales/zh-CN/mcp-clients.md +7 -7
- package/docs/content/locales/zh-CN/mcp-protocol.md +3 -3
- package/docs/content/locales/zh-CN/messaging.md +6 -6
- package/docs/content/locales/zh-CN/migration-workbench.md +1 -1
- package/docs/content/locales/zh-CN/multi-app-workspace.md +1 -1
- package/docs/content/locales/zh-CN/multi-tenancy.md +1 -1
- package/docs/content/locales/zh-CN/native-chat-ui.md +3 -3
- package/docs/content/locales/zh-CN/notifications.md +3 -3
- package/docs/content/locales/zh-CN/observability.md +2 -2
- package/docs/content/locales/zh-CN/observational-memory.md +2 -2
- package/docs/content/locales/zh-CN/onboarding.md +8 -8
- package/docs/content/locales/zh-CN/plan-plugin.md +3 -3
- package/docs/content/locales/zh-CN/pr-visual-recap.md +11 -11
- package/docs/content/locales/zh-CN/processors.md +1 -1
- package/docs/content/locales/zh-CN/progress.md +2 -2
- package/docs/content/locales/zh-CN/pure-agent-apps.md +1 -1
- package/docs/content/locales/zh-CN/real-time-collaboration.md +6 -6
- package/docs/content/locales/zh-CN/recurring-jobs.md +5 -5
- package/docs/content/locales/zh-CN/routing.md +1 -1
- package/docs/content/locales/zh-CN/sandbox-adapters.md +2 -2
- package/docs/content/locales/zh-CN/security.md +8 -8
- package/docs/content/locales/zh-CN/server.md +10 -10
- package/docs/content/locales/zh-CN/sharing.md +6 -6
- package/docs/content/locales/zh-CN/skills-guide.md +16 -16
- package/docs/content/locales/zh-CN/template-analytics.md +10 -10
- package/docs/content/locales/zh-CN/template-assets.md +20 -20
- package/docs/content/locales/zh-CN/template-brain.md +11 -11
- package/docs/content/locales/zh-CN/template-calendar.md +9 -9
- package/docs/content/locales/zh-CN/template-chat.md +3 -3
- package/docs/content/locales/zh-CN/template-clips.md +14 -14
- package/docs/content/locales/zh-CN/template-content.md +13 -13
- package/docs/content/locales/zh-CN/template-design.md +7 -7
- package/docs/content/locales/zh-CN/template-dispatch.md +11 -11
- package/docs/content/locales/zh-CN/template-forms.md +9 -9
- package/docs/content/locales/zh-CN/template-mail.md +6 -6
- package/docs/content/locales/zh-CN/template-plan.md +3 -3
- package/docs/content/locales/zh-CN/template-slides.md +8 -8
- package/docs/content/locales/zh-CN/template-videos.md +5 -5
- package/docs/content/locales/zh-CN/tracking.md +3 -3
- package/docs/content/locales/zh-CN/using-your-agent.md +5 -5
- package/docs/content/locales/zh-CN/voice-input.md +4 -4
- package/docs/content/locales/zh-CN/what-is-agent-native.md +5 -5
- package/docs/content/locales/zh-CN/workspace-connections.md +8 -8
- package/docs/content/locales/zh-CN/workspace-management.md +5 -5
- package/docs/content/locales/zh-CN/workspace.md +23 -23
- package/docs/content/locales/zh-CN/writing-agent-instructions.md +18 -18
- package/package.json +1 -1
- package/src/templates/default/app/i18n/ar-SA.ts +275 -274
- package/src/templates/default/app/i18n/de-DE.ts +270 -260
- package/src/templates/default/app/i18n/es-ES.ts +282 -270
- package/src/templates/default/app/i18n/fr-FR.ts +275 -266
- package/src/templates/default/app/i18n/hi-IN.ts +274 -276
- package/src/templates/default/app/i18n/ja-JP.ts +280 -273
- package/src/templates/default/app/i18n/ko-KR.ts +274 -274
- package/src/templates/default/app/i18n/pt-BR.ts +273 -266
- package/src/templates/default/app/i18n/zh-CN.ts +273 -285
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExtensionsSidebarSection.js","sourceRoot":"","sources":["../../../src/client/extensions/ExtensionsSidebarSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,SAAS,EACT,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,OAAO,EACP,UAAU,GACX,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,OAAO,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EACL,YAAY,EACZ,w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,IACf,QAAQ,EAAE,GAAG,EAAE,CAAC,gBAAgB,CAAC,SAAS,CAAC,aAE3C,KAAC,UAAU,IAAC,SAAS,EAAC,aAAa,GAAG,0BAErB,CACpB,CAAC,EACH,CAAC,gBAAgB,IAAI,CACpB,MAAC,gBAAgB,IACf,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,EACvC,SAAS,EAAC,yCAAyC,aAEnD,KAAC,SAAS,IAAC,SAAS,EAAC,aAAa,GAAG,EACpC,SAAS,CAAC,SAAS,KAAK,KAAK;4EAC5B,CAAC,CAAC,qBAAqB;4EACvB,CAAC,CAAC,QAAQ,IACK,CACpB,IACmB,IACT,IACX,KA5LD,SAAS,CAAC,EAAE,CA6Lb,CACP,CAAC;4BACJ,CAAC,CAAC,EACD,iBAAiB,IAAI,CACpB,iBACE,IAAI,EAAC,QAAQ,mBACE,iBAAiB,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,EAC1D,SAAS,EAAC,0PAA0P,YAEnQ,iBAAiB,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,WAAW,GACvC,CACV,IACG,CACP,CAAC,IACA,GACU,CACnB,CAAC;AACJ,CAAC","sourcesContent":["import {\n IconChevronDown,\n IconPlus,\n IconSettings,\n IconStar,\n IconStarFilled,\n IconTrash,\n IconDots,\n IconPencil,\n IconGripVertical,\n IconTool,\n IconEye,\n IconEyeOff,\n} from \"@tabler/icons-react\";\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\";\nimport { useState, useCallback, useMemo } from \"react\";\nimport { Link, useLocation, useNavigate } from \"react-router\";\n\nimport { extensionPath, isExtensionPathname } from \"../../extensions/path.js\";\nimport { sendToAgentChat } from \"../agent-chat.js\";\nimport { agentNativePath } from \"../api-path.js\";\nimport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"../components/ui/dropdown-menu.js\";\nimport {\n HoverCard,\n HoverCardContent,\n HoverCardTrigger,\n} from \"../components/ui/hover-card.js\";\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"../components/ui/popover.js\";\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from \"../components/ui/tooltip.js\";\nimport { PromptComposer } from \"../composer/PromptComposer.js\";\nimport { cn } from \"../utils.js\";\nimport {\n deleteOrHideExtension,\n invalidateExtensionRemoval,\n} from \"./delete-extension.js\";\nimport {\n applyToolsOrder,\n getToolsOrder,\n setToolsOrder,\n} from \"./extension-order.js\";\nimport {\n extensionPopularityOf,\n useExtensionPopularity,\n} from \"./extension-popularity.js\";\n\ninterface Extension {\n id: string;\n name: string;\n description?: string;\n icon?: string;\n canDelete?: boolean;\n globallyHidden?: boolean;\n source?: {\n mode?: \"database\" | \"local-files\";\n entryPath?: string;\n };\n}\n\nconst FAVORITES_KEY = \"extensions-favorites\";\nconst COLLAPSED_EXTENSION_COUNT = 3;\nconst EXTENSIONS_OPEN_KEY = \"extensions-sidebar-open\";\nconst EXTENSIONS_SORT_MODE_KEY = \"extensions-sort-mode\";\n\ntype ExtensionSortMode = \"most-used\" | \"alphabetical\" | \"manual\";\n\nfunction getFavorites(): Set<string> {\n try {\n const raw = localStorage.getItem(FAVORITES_KEY);\n if (!raw) return new Set();\n const parsed = JSON.parse(raw);\n return new Set(Array.isArray(parsed) ? parsed : []);\n } catch {\n return new Set();\n }\n}\n\nfunction saveFavorites(ids: Set<string>) {\n try {\n localStorage.setItem(FAVORITES_KEY, JSON.stringify(Array.from(ids)));\n } catch {\n // localStorage unavailable — ignore\n }\n}\n\nfunction getStoredBoolean(key: string, fallback: boolean): boolean {\n if (typeof window === \"undefined\") return fallback;\n const raw = window.localStorage.getItem(key);\n if (raw === \"true\") return true;\n if (raw === \"false\") return false;\n return fallback;\n}\n\nfunction setStoredBoolean(key: string, value: boolean): void {\n if (typeof window === \"undefined\") return;\n try {\n window.localStorage.setItem(key, String(value));\n } catch {\n // localStorage unavailable — ignore\n }\n}\n\nfunction getSortMode(): ExtensionSortMode {\n if (typeof window === \"undefined\") return \"most-used\";\n const raw = window.localStorage.getItem(EXTENSIONS_SORT_MODE_KEY);\n if (raw === \"alphabetical\" || raw === \"manual\" || raw === \"most-used\") {\n return raw;\n }\n return \"most-used\";\n}\n\nfunction setSortMode(mode: ExtensionSortMode): void {\n if (typeof window === \"undefined\") return;\n try {\n window.localStorage.setItem(EXTENSIONS_SORT_MODE_KEY, mode);\n } catch {\n // localStorage unavailable — ignore\n }\n}\n\nfunction sortByName<T extends { id: string; name: string }>(items: T[]): T[] {\n return [...items].sort((a, b) => {\n const name = a.name.localeCompare(b.name);\n return name !== 0 ? name : a.id.localeCompare(b.id);\n });\n}\n\nfunction ExtensionSortMenu({\n value,\n onChange,\n showHidden,\n onShowHiddenChange,\n}: {\n value: ExtensionSortMode;\n onChange: (value: ExtensionSortMode) => void;\n showHidden: boolean;\n onShowHiddenChange: (next: boolean) => void;\n}) {\n return (\n <DropdownMenu>\n <Tooltip>\n <TooltipTrigger asChild>\n <DropdownMenuTrigger asChild>\n <button\n type=\"button\"\n className=\"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/45 opacity-0 transition-all hover:bg-accent hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring group-hover/extensions-section:opacity-100\"\n aria-label=\"Extensions sort options\"\n >\n <IconSettings className=\"h-3.5 w-3.5\" />\n </button>\n </DropdownMenuTrigger>\n </TooltipTrigger>\n <TooltipContent>Extensions sort</TooltipContent>\n </Tooltip>\n <DropdownMenuContent side=\"right\" align=\"start\" className=\"w-44\">\n <DropdownMenuLabel>Sort by</DropdownMenuLabel>\n <DropdownMenuRadioGroup\n value={value}\n onValueChange={(next) => {\n if (\n next === \"most-used\" ||\n next === \"alphabetical\" ||\n next === \"manual\"\n ) {\n onChange(next);\n }\n }}\n >\n <DropdownMenuRadioItem value=\"most-used\">\n Most used\n </DropdownMenuRadioItem>\n <DropdownMenuRadioItem value=\"alphabetical\">\n Alphabetical\n </DropdownMenuRadioItem>\n <DropdownMenuSeparator />\n <DropdownMenuRadioItem value=\"manual\">\n Manual order\n </DropdownMenuRadioItem>\n </DropdownMenuRadioGroup>\n <DropdownMenuSeparator />\n <DropdownMenuCheckboxItem\n checked={showHidden}\n onCheckedChange={(checked) => onShowHiddenChange(Boolean(checked))}\n >\n Show hidden\n </DropdownMenuCheckboxItem>\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n\nexport function ExtensionsSidebarSection() {\n const location = useLocation();\n const navigate = useNavigate();\n const queryClient = useQueryClient();\n const popularity = useExtensionPopularity();\n const [favoriteIds, setFavoriteIds] = useState<Set<string>>(() =>\n typeof window !== \"undefined\" ? getFavorites() : new Set(),\n );\n const [extensionsOpen, setExtensionsOpen] = useState(() =>\n getStoredBoolean(EXTENSIONS_OPEN_KEY, true),\n );\n const [sortModeState, setSortModeState] =\n useState<ExtensionSortMode>(getSortMode);\n const [menuOpenId, setMenuOpenId] = useState<string | null>(null);\n const [renamingId, setRenamingId] = useState<string | null>(null);\n const [renameValue, setRenameValue] = useState(\"\");\n const [showCreate, setShowCreate] = useState(false);\n const [toolOrderState, setToolOrderState] = useState<string[]>(() =>\n typeof window !== \"undefined\" ? getToolsOrder() : [],\n );\n const [draggingId, setDraggingId] = useState<string | null>(null);\n const [dragOverId, setDragOverId] = useState<string | null>(null);\n const [showAllExtensions, setShowAllExtensions] = useState(false);\n const [showGloballyHidden, setShowGloballyHidden] = useState(false);\n\n const { data: extensions, isLoading } = useQuery<Extension[]>({\n queryKey: [\"extensions\", { includeGloballyHidden: showGloballyHidden }],\n queryFn: async () => {\n const res = await fetch(\n agentNativePath(\n showGloballyHidden\n ? \"/_agent-native/extensions?includeGloballyHidden=true\"\n : \"/_agent-native/extensions\",\n ),\n );\n if (!res.ok) return [];\n return res.json();\n },\n });\n\n const toggleFavorite = useCallback((id: string) => {\n setFavoriteIds((prev) => {\n const next = new Set(prev);\n if (next.has(id)) {\n next.delete(id);\n } else {\n next.add(id);\n }\n saveFavorites(next);\n return next;\n });\n }, []);\n\n const setExtensionSortMode = useCallback((mode: ExtensionSortMode) => {\n setSortMode(mode);\n setSortModeState(mode);\n }, []);\n\n const toggleExtensionsOpen = useCallback(() => {\n setExtensionsOpen((current) => {\n const next = !current;\n setStoredBoolean(EXTENSIONS_OPEN_KEY, next);\n return next;\n });\n }, []);\n\n const handleDelete = useCallback(\n async (extension: Extension) => {\n const extensionId = extension.id;\n setMenuOpenId(null);\n const prev = queryClient.getQueryData<Extension[]>([\"extensions\"]);\n queryClient.setQueryData<Extension[]>([\"extensions\"], (old) =>\n (old ?? []).filter((t) => t.id !== extensionId),\n );\n try {\n await deleteOrHideExtension(extension);\n invalidateExtensionRemoval(queryClient, extensionId);\n setFavoriteIds((prev) => {\n const next = new Set(prev);\n next.delete(extensionId);\n saveFavorites(next);\n return next;\n });\n setToolOrderState((prev) => {\n const next = prev.filter((id) => id !== extensionId);\n if (next.length !== prev.length) setToolsOrder(next);\n return next;\n });\n if (isExtensionPathname(location.pathname, extensionId)) {\n navigate(\"/extensions\");\n }\n } catch {\n if (prev) queryClient.setQueryData([\"extensions\"], prev);\n }\n },\n [location.pathname, navigate, queryClient],\n );\n\n const handleGlobalHide = useCallback(\n async (extension: Extension) => {\n setMenuOpenId(null);\n try {\n await fetch(\n agentNativePath(\n `/_agent-native/extensions/${extension.id}/global-hide`,\n ),\n { method: \"POST\" },\n );\n } finally {\n queryClient.invalidateQueries({ queryKey: [\"extensions\"] });\n }\n },\n [queryClient],\n );\n\n const handleGlobalUnhide = useCallback(\n async (extension: Extension) => {\n setMenuOpenId(null);\n try {\n await fetch(\n agentNativePath(\n `/_agent-native/extensions/${extension.id}/global-unhide`,\n ),\n { method: \"POST\" },\n );\n } finally {\n queryClient.invalidateQueries({ queryKey: [\"extensions\"] });\n }\n },\n [queryClient],\n );\n\n const startRename = useCallback((extension: Extension) => {\n setMenuOpenId(null);\n setRenameValue(extension.name);\n setRenamingId(extension.id);\n }, []);\n\n const submitRename = useCallback(\n async (extensionId: string) => {\n const trimmed = renameValue.trim();\n setRenamingId(null);\n if (!trimmed) return;\n const prev = queryClient.getQueryData<Extension[]>([\"extensions\"]);\n const existing = prev?.find((t) => t.id === extensionId);\n if (!existing || trimmed === existing.name) return;\n queryClient.setQueryData<Extension[]>([\"extensions\"], (old) =>\n (old ?? []).map((t) =>\n t.id === extensionId ? { ...t, name: trimmed } : t,\n ),\n );\n queryClient.setQueryData<Extension>([\"extension\", extensionId], (old) =>\n old ? { ...old, name: trimmed } : old,\n );\n try {\n await fetch(\n agentNativePath(`/_agent-native/extensions/${extensionId}`),\n {\n method: \"PUT\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ name: trimmed }),\n },\n );\n queryClient.invalidateQueries({ queryKey: [\"extensions\"] });\n queryClient.invalidateQueries({ queryKey: [\"extension\", extensionId] });\n } catch {\n if (prev) queryClient.setQueryData([\"extensions\"], prev);\n queryClient.invalidateQueries({ queryKey: [\"extension\", extensionId] });\n }\n },\n [renameValue, queryClient],\n );\n\n const sortedTools = useMemo(() => {\n if (!extensions) return [];\n if (sortModeState === \"alphabetical\") {\n return sortByName(extensions);\n }\n const mostUsed = [...extensions].sort((a, b) => {\n const aPop = extensionPopularityOf(popularity, a.id);\n const bPop = extensionPopularityOf(popularity, b.id);\n if (aPop !== bPop) return bPop - aPop;\n const aFav = favoriteIds.has(a.id) ? 0 : 1;\n const bFav = favoriteIds.has(b.id) ? 0 : 1;\n if (aFav !== bFav) return aFav - bFav;\n return a.name.localeCompare(b.name);\n });\n return sortModeState === \"manual\" && toolOrderState.length > 0\n ? applyToolsOrder(mostUsed, toolOrderState)\n : mostUsed;\n }, [extensions, favoriteIds, popularity, sortModeState, toolOrderState]);\n\n const activeExtensionId = useMemo(\n () =>\n sortedTools.find((extension) =>\n isExtensionPathname(location.pathname, extension.id),\n )?.id ?? null,\n [location.pathname, sortedTools],\n );\n\n const visibleTools = useMemo(() => {\n if (showAllExtensions || sortedTools.length <= COLLAPSED_EXTENSION_COUNT) {\n return sortedTools;\n }\n\n const defaultVisible = sortedTools.slice(0, COLLAPSED_EXTENSION_COUNT);\n if (!activeExtensionId) return defaultVisible;\n\n const activeTool = sortedTools.find(\n (extension) => extension.id === activeExtensionId,\n );\n if (!activeTool || defaultVisible.some((tool) => tool.id === activeTool.id))\n return defaultVisible;\n\n return [\n ...defaultVisible.slice(0, COLLAPSED_EXTENSION_COUNT - 1),\n activeTool,\n ];\n }, [activeExtensionId, showAllExtensions, sortedTools]);\n\n const hasMoreExtensions = sortedTools.length > COLLAPSED_EXTENSION_COUNT;\n\n const reorderTool = useCallback(\n (activeId: string, overId: string) => {\n if (activeId === overId) return;\n const ids = sortedTools.map((extension) => extension.id);\n const oldIndex = ids.indexOf(activeId);\n const newIndex = ids.indexOf(overId);\n if (oldIndex === -1 || newIndex === -1) return;\n const next = [...ids];\n const [moved] = next.splice(oldIndex, 1);\n if (!moved) return;\n next.splice(newIndex, 0, moved);\n setToolsOrder(next);\n setToolOrderState(next);\n setExtensionSortMode(\"manual\");\n },\n [setExtensionSortMode, sortedTools],\n );\n\n const handleCreate = (text: string) => {\n const trimmed = text.trim();\n if (!trimmed) return;\n sendToAgentChat({\n message: `Create an extension: ${trimmed}`,\n submit: true,\n openSidebar: true,\n newTab: true,\n });\n setShowCreate(false);\n };\n\n return (\n <TooltipProvider delayDuration={200}>\n <div className=\"relative min-w-0 py-1\">\n <div\n className={cn(\n \"group/extensions-section relative flex w-full min-w-0 items-center rounded-md text-sm font-medium transition-all hover:text-primary\",\n location.pathname.startsWith(\"/extensions\")\n ? \"text-sidebar-accent-foreground\"\n : \"text-muted-foreground hover:bg-sidebar-accent/50\",\n extensionsOpen && sortedTools.length > 0 && \"mb-1\",\n )}\n >\n <button\n type=\"button\"\n onClick={toggleExtensionsOpen}\n className=\"absolute inset-0 rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring\"\n aria-label={\n extensionsOpen ? \"Collapse extensions\" : \"Expand extensions\"\n }\n aria-expanded={extensionsOpen}\n />\n <div className=\"pointer-events-none relative z-10 flex min-w-0 flex-1 items-center gap-2 px-3 py-1.5 pr-20\">\n <IconTool className=\"h-4 w-4 shrink-0\" />\n <HoverCard openDelay={1200} closeDelay={200}>\n <HoverCardTrigger asChild>\n <span\n className=\"pointer-events-auto min-w-0 select-none truncate\"\n onClick={toggleExtensionsOpen}\n >\n Extensions\n </span>\n </HoverCardTrigger>\n <HoverCardContent\n side=\"top\"\n align=\"start\"\n sideOffset={8}\n className=\"w-72 space-y-3 p-3\"\n >\n <div>\n <p className=\"text-sm font-semibold text-foreground\">\n Extensions\n </p>\n <p className=\"mt-1 text-xs leading-relaxed text-muted-foreground\">\n Build small sandboxed apps that can read app data, call\n actions, and save their own state.\n </p>\n </div>\n <div className=\"flex items-center gap-2\">\n <Link\n to=\"/extensions\"\n className=\"inline-flex h-8 items-center rounded-md border px-2.5 text-xs font-medium text-foreground transition-colors hover:bg-accent\"\n >\n Open extensions\n </Link>\n <a\n href=\"https://agent-native.com/docs/extensions\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"inline-flex h-8 items-center rounded-md px-2.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-accent hover:text-foreground\"\n >\n Learn more\n </a>\n </div>\n </HoverCardContent>\n </HoverCard>\n </div>\n <div className=\"absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center\">\n <ExtensionSortMenu\n value={sortModeState}\n onChange={setExtensionSortMode}\n showHidden={showGloballyHidden}\n onShowHiddenChange={setShowGloballyHidden}\n />\n <Popover open={showCreate} onOpenChange={setShowCreate}>\n <PopoverTrigger asChild>\n <button\n type=\"button\"\n className=\"inline-flex h-6 w-6 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground/70 transition-colors hover:bg-accent hover:text-accent-foreground\"\n aria-label=\"New extension\"\n >\n <IconPlus className=\"h-3.5 w-3.5\" />\n </button>\n </PopoverTrigger>\n <PopoverContent\n side=\"right\"\n align=\"start\"\n className=\"w-[420px] p-3\"\n >\n <p className=\"px-1 pb-2 text-sm font-semibold text-foreground\">\n New extension\n </p>\n <PromptComposer\n autoFocus\n placeholder=\"Describe what you'd like to build...\"\n draftScope=\"extensions:sidebar-create\"\n onSubmit={handleCreate}\n />\n </PopoverContent>\n </Popover>\n <button\n type=\"button\"\n onClick={toggleExtensionsOpen}\n className=\"flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/70 hover:bg-accent hover:text-foreground\"\n aria-label={\n extensionsOpen ? \"Collapse extensions\" : \"Expand extensions\"\n }\n aria-expanded={extensionsOpen}\n >\n <IconChevronDown\n className={cn(\n \"h-3.5 w-3.5 shrink-0 transition-transform\",\n !extensionsOpen && \"-rotate-90\",\n )}\n />\n </button>\n </div>\n </div>\n\n {extensionsOpen &&\n (isLoading ? (\n <div className=\"min-w-0 space-y-0.5 px-0.5\">\n {[1, 2, 3].map((i) => (\n <div\n key={i}\n className=\"flex items-center rounded-md px-2 py-1.5\"\n >\n <div\n className=\"h-3 rounded bg-muted animate-pulse\"\n style={{ width: `${60 + i * 20}px` }}\n />\n </div>\n ))}\n </div>\n ) : sortedTools.length === 0 ? null : (\n <div className=\"min-w-0 space-y-0.5 px-0.5\">\n {visibleTools.map((extension) => {\n const isActive = isExtensionPathname(\n location.pathname,\n extension.id,\n );\n const isFav = favoriteIds.has(extension.id);\n const isRenamingThis = renamingId === extension.id;\n const isLocalExtension =\n extension.source?.mode === \"local-files\";\n const actionsVisible =\n menuOpenId === extension.id || isRenamingThis;\n\n return (\n <div\n key={extension.id}\n onDragOver={(e) => {\n if (!draggingId || draggingId === extension.id) return;\n e.preventDefault();\n e.dataTransfer.dropEffect = \"move\";\n setDragOverId(extension.id);\n }}\n onDragLeave={() => {\n setDragOverId((current) =>\n current === extension.id ? null : current,\n );\n }}\n onDrop={(e) => {\n e.preventDefault();\n const activeId =\n draggingId || e.dataTransfer.getData(\"text/plain\");\n setDraggingId(null);\n setDragOverId(null);\n if (activeId) reorderTool(activeId, extension.id);\n }}\n className={cn(\n \"group/extension relative flex items-center min-w-0 rounded-md\",\n draggingId === extension.id && \"opacity-50\",\n dragOverId === extension.id &&\n draggingId !== extension.id &&\n \"bg-accent/60\",\n )}\n >\n <Tooltip>\n <TooltipTrigger asChild>\n <button\n type=\"button\"\n draggable\n onDragStart={(e) => {\n setDraggingId(extension.id);\n setDragOverId(null);\n e.dataTransfer.effectAllowed = \"move\";\n e.dataTransfer.setData(\"text/plain\", extension.id);\n }}\n onDragEnd={() => {\n setDraggingId(null);\n setDragOverId(null);\n }}\n className=\"-ml-2 cursor-grab rounded p-0.5 text-muted-foreground/30 opacity-0 transition-colors hover:text-muted-foreground/70 active:cursor-grabbing group-hover/extension:opacity-100 group-focus-within/extension:opacity-100\"\n aria-label={`Reorder ${extension.name}`}\n >\n <IconGripVertical className=\"h-3 w-3\" />\n </button>\n </TooltipTrigger>\n <TooltipContent>Drag to reorder</TooltipContent>\n </Tooltip>\n <Link\n to={extensionPath(extension.id, extension.name)}\n className={cn(\n \"flex min-w-0 flex-1 items-center rounded-md px-2 py-1.5 pr-12 text-xs transition-[padding,color,background-color] md:pr-2 md:group-hover/extension:pr-12 md:group-focus-within/extension:pr-12\",\n actionsVisible && \"md:pr-12\",\n isActive\n ? \"bg-accent text-accent-foreground font-medium\"\n : \"text-muted-foreground hover:bg-accent/50 hover:text-accent-foreground\",\n )}\n >\n {isRenamingThis ? (\n <input\n autoFocus\n value={renameValue}\n onChange={(e) => setRenameValue(e.target.value)}\n onBlur={() => submitRename(extension.id)}\n onKeyDown={(e) => {\n if (e.key === \"Enter\") submitRename(extension.id);\n if (e.key === \"Escape\") setRenamingId(null);\n }}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n className=\"min-w-0 flex-1 truncate border-b border-primary bg-transparent px-0 py-0 text-xs outline-none\"\n />\n ) : (\n <span className=\"flex min-w-0 items-center gap-1.5\">\n {extension.globallyHidden && (\n <IconEyeOff\n className=\"h-3 w-3 shrink-0 text-muted-foreground/60\"\n aria-label=\"Hidden from everyone\"\n />\n )}\n <span className=\"block truncate\">\n {extension.name}\n </span>\n {isLocalExtension && (\n <span className=\"shrink-0 rounded border border-border px-1 text-[9px] font-medium uppercase tracking-wide text-muted-foreground/70\">\n File\n </span>\n )}\n </span>\n )}\n </Link>\n\n <div\n className={cn(\n \"pointer-events-none absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-0.5 opacity-100 transition-opacity md:opacity-0 md:group-hover/extension:opacity-100 md:group-focus-within/extension:opacity-100\",\n actionsVisible && \"md:opacity-100\",\n )}\n >\n <button\n type=\"button\"\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n toggleFavorite(extension.id);\n }}\n className={cn(\n \"pointer-events-auto cursor-pointer rounded p-0.5 transition-colors\",\n isFav\n ? \"text-yellow-500\"\n : \"text-muted-foreground/40 hover:text-yellow-500\",\n )}\n aria-label={isFav ? \"Unfavorite\" : \"Favorite\"}\n >\n {isFav ? (\n <IconStarFilled className=\"h-3 w-3\" />\n ) : (\n <IconStar className=\"h-3 w-3\" />\n )}\n </button>\n\n <DropdownMenu\n open={menuOpenId === extension.id}\n onOpenChange={(open) =>\n setMenuOpenId(open ? extension.id : null)\n }\n >\n <DropdownMenuTrigger asChild>\n <button\n type=\"button\"\n className=\"pointer-events-auto cursor-pointer rounded p-0.5 text-muted-foreground/40 transition-colors hover:text-foreground\"\n aria-label=\"Extension actions\"\n >\n <IconDots className=\"h-3 w-3\" />\n </button>\n </DropdownMenuTrigger>\n <DropdownMenuContent\n align=\"end\"\n sideOffset={4}\n className=\"min-w-[140px]\"\n >\n {isLocalExtension ? (\n <DropdownMenuItem disabled>\n <IconPencil className=\"h-3.5 w-3.5\" />\n Edit in files\n </DropdownMenuItem>\n ) : (\n <DropdownMenuItem\n onSelect={() => startRename(extension)}\n >\n <IconPencil className=\"h-3.5 w-3.5\" />\n Rename\n </DropdownMenuItem>\n )}\n {!isLocalExtension &&\n extension.canDelete !== false &&\n (extension.globallyHidden ? (\n <DropdownMenuItem\n onSelect={() => handleGlobalUnhide(extension)}\n >\n <IconEye className=\"h-3.5 w-3.5\" />\n Unhide for everyone\n </DropdownMenuItem>\n ) : (\n <DropdownMenuItem\n onSelect={() => handleGlobalHide(extension)}\n >\n <IconEyeOff className=\"h-3.5 w-3.5\" />\n Hide from everyone\n </DropdownMenuItem>\n ))}\n {!isLocalExtension && (\n <DropdownMenuItem\n onSelect={() => handleDelete(extension)}\n className=\"text-destructive focus:text-destructive\"\n >\n <IconTrash className=\"h-3.5 w-3.5\" />\n {extension.canDelete === false\n ? \"Remove from my list\"\n : \"Delete\"}\n </DropdownMenuItem>\n )}\n </DropdownMenuContent>\n </DropdownMenu>\n </div>\n </div>\n );\n })}\n {hasMoreExtensions && (\n <button\n type=\"button\"\n aria-expanded={showAllExtensions}\n onClick={() => setShowAllExtensions((current) => !current)}\n className=\"ml-5 mt-1 inline-flex h-5 items-center rounded px-1.5 text-[11px] font-medium text-muted-foreground/60 transition-colors hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1\"\n >\n {showAllExtensions ? \"show less\" : \"show more\"}\n </button>\n )}\n </div>\n ))}\n </div>\n </TooltipProvider>\n );\n}\n"]}
|
|
1
|
+
{"version":3,"file":"ExtensionsSidebarSection.js","sourceRoot":"","sources":["../../../src/client/extensions/ExtensionsSidebarSection.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,eAAe,EACf,QAAQ,EACR,YAAY,EACZ,QAAQ,EACR,cAAc,EACd,SAAS,EACT,QAAQ,EACR,UAAU,EACV,gBAAgB,EAChB,QAAQ,EACR,OAAO,EACP,UAAU,G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,CAAC,EACH,CAAC,gBAAgB,IAAI,CACpB,MAAC,gBAAgB,IACf,QAAQ,EAAE,GAAG,EAAE,CAAC,YAAY,CAAC,SAAS,CAAC,EACvC,SAAS,EAAC,yCAAyC,aAEnD,KAAC,SAAS,IAAC,SAAS,EAAC,aAAa,GAAG,EACpC,SAAS,CAAC,SAAS,KAAK,KAAK;4EAC5B,CAAC,CAAC,IAAI,CAAC,gBAAgB;4EACvB,CAAC,CAAC,IAAI,CAAC,MAAM,IACE,CACpB,IACmB,IACT,IACX,KA5LD,SAAS,CAAC,EAAE,CA6Lb,CACP,CAAC;4BACJ,CAAC,CAAC,EACD,iBAAiB,IAAI,CACpB,iBACE,IAAI,EAAC,QAAQ,mBACE,iBAAiB,EAChC,OAAO,EAAE,GAAG,EAAE,CAAC,oBAAoB,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,EAC1D,SAAS,EAAC,0PAA0P,YAEnQ,iBAAiB,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,GAC3C,CACV,IACG,CACP,CAAC,IACA,GACU,CACnB,CAAC;AACJ,CAAC","sourcesContent":["import {\n IconChevronDown,\n IconPlus,\n IconSettings,\n IconStar,\n IconStarFilled,\n IconTrash,\n IconDots,\n IconPencil,\n IconGripVertical,\n IconTool,\n IconEye,\n IconEyeOff,\n} from \"@tabler/icons-react\";\nimport { useQuery, useQueryClient } from \"@tanstack/react-query\";\nimport { useState, useCallback, useMemo } from \"react\";\nimport { Link, useLocation, useNavigate } from \"react-router\";\n\nimport { extensionPath, isExtensionPathname } from \"../../extensions/path.js\";\nimport { sendToAgentChat } from \"../agent-chat.js\";\nimport { agentNativePath } from \"../api-path.js\";\nimport {\n DropdownMenu,\n DropdownMenuCheckboxItem,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuLabel,\n DropdownMenuRadioGroup,\n DropdownMenuRadioItem,\n DropdownMenuSeparator,\n DropdownMenuTrigger,\n} from \"../components/ui/dropdown-menu.js\";\nimport {\n HoverCard,\n HoverCardContent,\n HoverCardTrigger,\n} from \"../components/ui/hover-card.js\";\nimport {\n Popover,\n PopoverContent,\n PopoverTrigger,\n} from \"../components/ui/popover.js\";\nimport {\n Tooltip,\n TooltipContent,\n TooltipProvider,\n TooltipTrigger,\n} from \"../components/ui/tooltip.js\";\nimport { PromptComposer } from \"../composer/PromptComposer.js\";\nimport { DEFAULT_LOCALE, useOptionalLocale, type LocaleCode } from \"../i18n.js\";\nimport { cn } from \"../utils.js\";\nimport {\n deleteOrHideExtension,\n invalidateExtensionRemoval,\n} from \"./delete-extension.js\";\nimport {\n applyToolsOrder,\n getToolsOrder,\n setToolsOrder,\n} from \"./extension-order.js\";\nimport {\n extensionPopularityOf,\n useExtensionPopularity,\n} from \"./extension-popularity.js\";\n\ninterface Extension {\n id: string;\n name: string;\n description?: string;\n icon?: string;\n canDelete?: boolean;\n globallyHidden?: boolean;\n source?: {\n mode?: \"database\" | \"local-files\";\n entryPath?: string;\n };\n}\n\nconst FAVORITES_KEY = \"extensions-favorites\";\nconst COLLAPSED_EXTENSION_COUNT = 3;\nconst EXTENSIONS_OPEN_KEY = \"extensions-sidebar-open\";\nconst EXTENSIONS_SORT_MODE_KEY = \"extensions-sort-mode\";\n\ntype ExtensionSortMode = \"most-used\" | \"alphabetical\" | \"manual\";\n\ntype ExtensionsCopy = {\n title: string;\n description: string;\n open: string;\n learnMore: string;\n sortOptions: string;\n sortTooltip: string;\n sortBy: string;\n mostUsed: string;\n alphabetical: string;\n manualOrder: string;\n showHidden: string;\n newExtension: string;\n createPlaceholder: string;\n collapse: string;\n expand: string;\n reorder: (name: string) => string;\n dragToReorder: string;\n hiddenFromEveryone: string;\n file: string;\n unfavorite: string;\n favorite: string;\n actions: string;\n editInFiles: string;\n rename: string;\n unhideForEveryone: string;\n hideFromEveryone: string;\n removeFromMyList: string;\n delete: string;\n showLess: string;\n showMore: string;\n};\n\nconst EXTENSIONS_COPY: Record<LocaleCode, ExtensionsCopy> = {\n \"en-US\": {\n title: \"Extensions\",\n description:\n \"Build small sandboxed apps that can read app data, call actions, and save their own state.\",\n open: \"Open extensions\",\n learnMore: \"Learn more\",\n sortOptions: \"Extensions sort options\",\n sortTooltip: \"Extensions sort\",\n sortBy: \"Sort by\",\n mostUsed: \"Most used\",\n alphabetical: \"Alphabetical\",\n manualOrder: \"Manual order\",\n showHidden: \"Show hidden\",\n newExtension: \"New extension\",\n createPlaceholder: \"Describe what you'd like to build...\",\n collapse: \"Collapse extensions\",\n expand: \"Expand extensions\",\n reorder: (name) => `Reorder ${name}`,\n dragToReorder: \"Drag to reorder\",\n hiddenFromEveryone: \"Hidden from everyone\",\n file: \"File\",\n unfavorite: \"Unfavorite\",\n favorite: \"Favorite\",\n actions: \"Extension actions\",\n editInFiles: \"Edit in files\",\n rename: \"Rename\",\n unhideForEveryone: \"Unhide for everyone\",\n hideFromEveryone: \"Hide from everyone\",\n removeFromMyList: \"Remove from my list\",\n delete: \"Delete\",\n showLess: \"show less\",\n showMore: \"show more\",\n },\n \"zh-CN\": {\n title: \"扩展\",\n description: \"构建可读取应用数据、调用操作并保存自身状态的小型沙盒应用。\",\n open: \"打开扩展\",\n learnMore: \"了解更多\",\n sortOptions: \"扩展排序选项\",\n sortTooltip: \"扩展排序\",\n sortBy: \"排序方式\",\n mostUsed: \"最常用\",\n alphabetical: \"按字母顺序\",\n manualOrder: \"手动排序\",\n showHidden: \"显示隐藏项\",\n newExtension: \"新建扩展\",\n createPlaceholder: \"描述你想构建的内容...\",\n collapse: \"收起扩展\",\n expand: \"展开扩展\",\n reorder: (name) => `重新排序 ${name}`,\n dragToReorder: \"拖动以重新排序\",\n hiddenFromEveryone: \"已对所有人隐藏\",\n file: \"文件\",\n unfavorite: \"取消收藏\",\n favorite: \"收藏\",\n actions: \"扩展操作\",\n editInFiles: \"在文件中编辑\",\n rename: \"重命名\",\n unhideForEveryone: \"对所有人取消隐藏\",\n hideFromEveryone: \"对所有人隐藏\",\n removeFromMyList: \"从我的列表中移除\",\n delete: \"删除\",\n showLess: \"收起\",\n showMore: \"显示更多\",\n },\n \"es-ES\": {\n title: \"Extensiones\",\n description:\n \"Crea pequeñas apps aisladas que pueden leer datos de la app, llamar acciones y guardar su propio estado.\",\n open: \"Abrir extensiones\",\n learnMore: \"Más información\",\n sortOptions: \"Opciones de orden de extensiones\",\n sortTooltip: \"Orden de extensiones\",\n sortBy: \"Ordenar por\",\n mostUsed: \"Más usadas\",\n alphabetical: \"Alfabético\",\n manualOrder: \"Orden manual\",\n showHidden: \"Mostrar ocultas\",\n newExtension: \"Nueva extensión\",\n createPlaceholder: \"Describe lo que quieres crear...\",\n collapse: \"Contraer extensiones\",\n expand: \"Expandir extensiones\",\n reorder: (name) => `Reordenar ${name}`,\n dragToReorder: \"Arrastra para reordenar\",\n hiddenFromEveryone: \"Oculta para todos\",\n file: \"Archivo\",\n unfavorite: \"Quitar de favoritos\",\n favorite: \"Favorito\",\n actions: \"Acciones de extensión\",\n editInFiles: \"Editar en archivos\",\n rename: \"Renombrar\",\n unhideForEveryone: \"Mostrar para todos\",\n hideFromEveryone: \"Ocultar para todos\",\n removeFromMyList: \"Quitar de mi lista\",\n delete: \"Eliminar\",\n showLess: \"mostrar menos\",\n showMore: \"mostrar más\",\n },\n \"fr-FR\": {\n title: \"Extensions\",\n description:\n \"Créez de petites apps sandboxées capables de lire les données de l'app, d'appeler des actions et d'enregistrer leur propre état.\",\n open: \"Ouvrir les extensions\",\n learnMore: \"En savoir plus\",\n sortOptions: \"Options de tri des extensions\",\n sortTooltip: \"Tri des extensions\",\n sortBy: \"Trier par\",\n mostUsed: \"Les plus utilisées\",\n alphabetical: \"Alphabétique\",\n manualOrder: \"Ordre manuel\",\n showHidden: \"Afficher les masquées\",\n newExtension: \"Nouvelle extension\",\n createPlaceholder: \"Décrivez ce que vous voulez créer...\",\n collapse: \"Replier les extensions\",\n expand: \"Déplier les extensions\",\n reorder: (name) => `Réordonner ${name}`,\n dragToReorder: \"Faire glisser pour réordonner\",\n hiddenFromEveryone: \"Masquée pour tout le monde\",\n file: \"Fichier\",\n unfavorite: \"Retirer des favoris\",\n favorite: \"Favori\",\n actions: \"Actions de l'extension\",\n editInFiles: \"Modifier dans les fichiers\",\n rename: \"Renommer\",\n unhideForEveryone: \"Afficher pour tout le monde\",\n hideFromEveryone: \"Masquer pour tout le monde\",\n removeFromMyList: \"Retirer de ma liste\",\n delete: \"Supprimer\",\n showLess: \"afficher moins\",\n showMore: \"afficher plus\",\n },\n \"de-DE\": {\n title: \"Erweiterungen\",\n description:\n \"Erstelle kleine Sandbox-Apps, die App-Daten lesen, Aktionen aufrufen und ihren eigenen Zustand speichern können.\",\n open: \"Erweiterungen öffnen\",\n learnMore: \"Mehr erfahren\",\n sortOptions: \"Sortieroptionen für Erweiterungen\",\n sortTooltip: \"Erweiterungen sortieren\",\n sortBy: \"Sortieren nach\",\n mostUsed: \"Am häufigsten genutzt\",\n alphabetical: \"Alphabetisch\",\n manualOrder: \"Manuelle Reihenfolge\",\n showHidden: \"Ausgeblendete anzeigen\",\n newExtension: \"Neue Erweiterung\",\n createPlaceholder: \"Beschreibe, was du erstellen möchtest...\",\n collapse: \"Erweiterungen einklappen\",\n expand: \"Erweiterungen ausklappen\",\n reorder: (name) => `${name} neu anordnen`,\n dragToReorder: \"Zum Neuordnen ziehen\",\n hiddenFromEveryone: \"Für alle ausgeblendet\",\n file: \"Datei\",\n unfavorite: \"Aus Favoriten entfernen\",\n favorite: \"Favorisieren\",\n actions: \"Erweiterungsaktionen\",\n editInFiles: \"In Dateien bearbeiten\",\n rename: \"Umbenennen\",\n unhideForEveryone: \"Für alle einblenden\",\n hideFromEveryone: \"Für alle ausblenden\",\n removeFromMyList: \"Aus meiner Liste entfernen\",\n delete: \"Löschen\",\n showLess: \"weniger anzeigen\",\n showMore: \"mehr anzeigen\",\n },\n \"ja-JP\": {\n title: \"拡張機能\",\n description:\n \"アプリデータを読み取り、アクションを呼び出し、独自の状態を保存できる小さなサンドボックスアプリを作成します。\",\n open: \"拡張機能を開く\",\n learnMore: \"詳しく見る\",\n sortOptions: \"拡張機能の並べ替えオプション\",\n sortTooltip: \"拡張機能の並べ替え\",\n sortBy: \"並べ替え\",\n mostUsed: \"よく使う順\",\n alphabetical: \"アルファベット順\",\n manualOrder: \"手動順\",\n showHidden: \"非表示を表示\",\n newExtension: \"新しい拡張機能\",\n createPlaceholder: \"作りたいものを説明してください...\",\n collapse: \"拡張機能を折りたたむ\",\n expand: \"拡張機能を展開\",\n reorder: (name) => `${name} を並べ替え`,\n dragToReorder: \"ドラッグして並べ替え\",\n hiddenFromEveryone: \"全員に非表示\",\n file: \"ファイル\",\n unfavorite: \"お気に入り解除\",\n favorite: \"お気に入り\",\n actions: \"拡張機能の操作\",\n editInFiles: \"ファイルで編集\",\n rename: \"名前を変更\",\n unhideForEveryone: \"全員に表示\",\n hideFromEveryone: \"全員に非表示\",\n removeFromMyList: \"自分のリストから削除\",\n delete: \"削除\",\n showLess: \"少なく表示\",\n showMore: \"さらに表示\",\n },\n \"ko-KR\": {\n title: \"확장\",\n description:\n \"앱 데이터를 읽고, 액션을 호출하고, 자체 상태를 저장할 수 있는 작은 샌드박스 앱을 만듭니다.\",\n open: \"확장 열기\",\n learnMore: \"자세히 알아보기\",\n sortOptions: \"확장 정렬 옵션\",\n sortTooltip: \"확장 정렬\",\n sortBy: \"정렬 기준\",\n mostUsed: \"가장 많이 사용\",\n alphabetical: \"가나다순\",\n manualOrder: \"수동 순서\",\n showHidden: \"숨김 항목 표시\",\n newExtension: \"새 확장\",\n createPlaceholder: \"만들고 싶은 것을 설명하세요...\",\n collapse: \"확장 접기\",\n expand: \"확장 펼치기\",\n reorder: (name) => `${name} 순서 변경`,\n dragToReorder: \"드래그하여 순서 변경\",\n hiddenFromEveryone: \"모두에게 숨김\",\n file: \"파일\",\n unfavorite: \"즐겨찾기 해제\",\n favorite: \"즐겨찾기\",\n actions: \"확장 작업\",\n editInFiles: \"파일에서 편집\",\n rename: \"이름 변경\",\n unhideForEveryone: \"모두에게 표시\",\n hideFromEveryone: \"모두에게 숨기기\",\n removeFromMyList: \"내 목록에서 제거\",\n delete: \"삭제\",\n showLess: \"덜 보기\",\n showMore: \"더 보기\",\n },\n \"pt-BR\": {\n title: \"Extensões\",\n description:\n \"Crie pequenos apps isolados que podem ler dados do app, chamar ações e salvar o próprio estado.\",\n open: \"Abrir extensões\",\n learnMore: \"Saiba mais\",\n sortOptions: \"Opções de ordenação das extensões\",\n sortTooltip: \"Ordenação das extensões\",\n sortBy: \"Ordenar por\",\n mostUsed: \"Mais usadas\",\n alphabetical: \"Alfabética\",\n manualOrder: \"Ordem manual\",\n showHidden: \"Mostrar ocultas\",\n newExtension: \"Nova extensão\",\n createPlaceholder: \"Descreva o que você quer criar...\",\n collapse: \"Recolher extensões\",\n expand: \"Expandir extensões\",\n reorder: (name) => `Reordenar ${name}`,\n dragToReorder: \"Arraste para reordenar\",\n hiddenFromEveryone: \"Oculta para todos\",\n file: \"Arquivo\",\n unfavorite: \"Remover dos favoritos\",\n favorite: \"Favoritar\",\n actions: \"Ações da extensão\",\n editInFiles: \"Editar em arquivos\",\n rename: \"Renomear\",\n unhideForEveryone: \"Mostrar para todos\",\n hideFromEveryone: \"Ocultar para todos\",\n removeFromMyList: \"Remover da minha lista\",\n delete: \"Excluir\",\n showLess: \"mostrar menos\",\n showMore: \"mostrar mais\",\n },\n \"hi-IN\": {\n title: \"एक्सटेंशन\",\n description:\n \"छोटे सैंडबॉक्स ऐप बनाएं जो ऐप डेटा पढ़ सकते हैं, कार्रवाइयां चला सकते हैं और अपना स्टेट सहेज सकते हैं।\",\n open: \"एक्सटेंशन खोलें\",\n learnMore: \"और जानें\",\n sortOptions: \"एक्सटेंशन क्रम विकल्प\",\n sortTooltip: \"एक्सटेंशन क्रम\",\n sortBy: \"इसके अनुसार क्रमबद्ध करें\",\n mostUsed: \"सबसे अधिक उपयोग\",\n alphabetical: \"वर्णानुक्रम\",\n manualOrder: \"मैन्युअल क्रम\",\n showHidden: \"छिपे हुए दिखाएं\",\n newExtension: \"नया एक्सटेंशन\",\n createPlaceholder: \"बताएं कि आप क्या बनाना चाहते हैं...\",\n collapse: \"एक्सटेंशन समेटें\",\n expand: \"एक्सटेंशन फैलाएं\",\n reorder: (name) => `${name} का क्रम बदलें`,\n dragToReorder: \"क्रम बदलने के लिए खींचें\",\n hiddenFromEveryone: \"सभी से छिपा हुआ\",\n file: \"फ़ाइल\",\n unfavorite: \"पसंदीदा से हटाएं\",\n favorite: \"पसंदीदा\",\n actions: \"एक्सटेंशन कार्रवाइयां\",\n editInFiles: \"फ़ाइलों में संपादित करें\",\n rename: \"नाम बदलें\",\n unhideForEveryone: \"सभी के लिए दिखाएं\",\n hideFromEveryone: \"सभी से छिपाएं\",\n removeFromMyList: \"मेरी सूची से हटाएं\",\n delete: \"हटाएं\",\n showLess: \"कम दिखाएं\",\n showMore: \"और दिखाएं\",\n },\n \"ar-SA\": {\n title: \"الإضافات\",\n description:\n \"أنشئ تطبيقات صغيرة معزولة يمكنها قراءة بيانات التطبيق واستدعاء الإجراءات وحفظ حالتها الخاصة.\",\n open: \"فتح الإضافات\",\n learnMore: \"معرفة المزيد\",\n sortOptions: \"خيارات ترتيب الإضافات\",\n sortTooltip: \"ترتيب الإضافات\",\n sortBy: \"ترتيب حسب\",\n mostUsed: \"الأكثر استخدامًا\",\n alphabetical: \"أبجديًا\",\n manualOrder: \"ترتيب يدوي\",\n showHidden: \"إظهار المخفية\",\n newExtension: \"إضافة جديدة\",\n createPlaceholder: \"صف ما تريد إنشاءه...\",\n collapse: \"طي الإضافات\",\n expand: \"توسيع الإضافات\",\n reorder: (name) => `إعادة ترتيب ${name}`,\n dragToReorder: \"اسحب لإعادة الترتيب\",\n hiddenFromEveryone: \"مخفية عن الجميع\",\n file: \"ملف\",\n unfavorite: \"إزالة من المفضلة\",\n favorite: \"إضافة إلى المفضلة\",\n actions: \"إجراءات الإضافة\",\n editInFiles: \"تحرير في الملفات\",\n rename: \"إعادة تسمية\",\n unhideForEveryone: \"إظهار للجميع\",\n hideFromEveryone: \"إخفاء عن الجميع\",\n removeFromMyList: \"إزالة من قائمتي\",\n delete: \"حذف\",\n showLess: \"إظهار أقل\",\n showMore: \"إظهار المزيد\",\n },\n};\n\nfunction useExtensionsCopy() {\n const locale = useOptionalLocale()?.locale ?? DEFAULT_LOCALE;\n return EXTENSIONS_COPY[locale] ?? EXTENSIONS_COPY[DEFAULT_LOCALE];\n}\n\nfunction getFavorites(): Set<string> {\n try {\n const raw = localStorage.getItem(FAVORITES_KEY);\n if (!raw) return new Set();\n const parsed = JSON.parse(raw);\n return new Set(Array.isArray(parsed) ? parsed : []);\n } catch {\n return new Set();\n }\n}\n\nfunction saveFavorites(ids: Set<string>) {\n try {\n localStorage.setItem(FAVORITES_KEY, JSON.stringify(Array.from(ids)));\n } catch {\n // localStorage unavailable — ignore\n }\n}\n\nfunction getStoredBoolean(key: string, fallback: boolean): boolean {\n if (typeof window === \"undefined\") return fallback;\n const raw = window.localStorage.getItem(key);\n if (raw === \"true\") return true;\n if (raw === \"false\") return false;\n return fallback;\n}\n\nfunction setStoredBoolean(key: string, value: boolean): void {\n if (typeof window === \"undefined\") return;\n try {\n window.localStorage.setItem(key, String(value));\n } catch {\n // localStorage unavailable — ignore\n }\n}\n\nfunction getSortMode(): ExtensionSortMode {\n if (typeof window === \"undefined\") return \"most-used\";\n const raw = window.localStorage.getItem(EXTENSIONS_SORT_MODE_KEY);\n if (raw === \"alphabetical\" || raw === \"manual\" || raw === \"most-used\") {\n return raw;\n }\n return \"most-used\";\n}\n\nfunction setSortMode(mode: ExtensionSortMode): void {\n if (typeof window === \"undefined\") return;\n try {\n window.localStorage.setItem(EXTENSIONS_SORT_MODE_KEY, mode);\n } catch {\n // localStorage unavailable — ignore\n }\n}\n\nfunction sortByName<T extends { id: string; name: string }>(items: T[]): T[] {\n return [...items].sort((a, b) => {\n const name = a.name.localeCompare(b.name);\n return name !== 0 ? name : a.id.localeCompare(b.id);\n });\n}\n\nfunction ExtensionSortMenu({\n value,\n onChange,\n showHidden,\n onShowHiddenChange,\n copy,\n}: {\n value: ExtensionSortMode;\n onChange: (value: ExtensionSortMode) => void;\n showHidden: boolean;\n onShowHiddenChange: (next: boolean) => void;\n copy: ExtensionsCopy;\n}) {\n return (\n <DropdownMenu>\n <Tooltip>\n <TooltipTrigger asChild>\n <DropdownMenuTrigger asChild>\n <button\n type=\"button\"\n className=\"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/45 opacity-0 transition-all hover:bg-accent hover:text-foreground focus:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring group-hover/extensions-section:opacity-100\"\n aria-label={copy.sortOptions}\n >\n <IconSettings className=\"h-3.5 w-3.5\" />\n </button>\n </DropdownMenuTrigger>\n </TooltipTrigger>\n <TooltipContent>{copy.sortTooltip}</TooltipContent>\n </Tooltip>\n <DropdownMenuContent side=\"right\" align=\"start\" className=\"w-44\">\n <DropdownMenuLabel>{copy.sortBy}</DropdownMenuLabel>\n <DropdownMenuRadioGroup\n value={value}\n onValueChange={(next) => {\n if (\n next === \"most-used\" ||\n next === \"alphabetical\" ||\n next === \"manual\"\n ) {\n onChange(next);\n }\n }}\n >\n <DropdownMenuRadioItem value=\"most-used\">\n {copy.mostUsed}\n </DropdownMenuRadioItem>\n <DropdownMenuRadioItem value=\"alphabetical\">\n {copy.alphabetical}\n </DropdownMenuRadioItem>\n <DropdownMenuSeparator />\n <DropdownMenuRadioItem value=\"manual\">\n {copy.manualOrder}\n </DropdownMenuRadioItem>\n </DropdownMenuRadioGroup>\n <DropdownMenuSeparator />\n <DropdownMenuCheckboxItem\n checked={showHidden}\n onCheckedChange={(checked) => onShowHiddenChange(Boolean(checked))}\n >\n {copy.showHidden}\n </DropdownMenuCheckboxItem>\n </DropdownMenuContent>\n </DropdownMenu>\n );\n}\n\nexport function ExtensionsSidebarSection() {\n const copy = useExtensionsCopy();\n const location = useLocation();\n const navigate = useNavigate();\n const queryClient = useQueryClient();\n const popularity = useExtensionPopularity();\n const [favoriteIds, setFavoriteIds] = useState<Set<string>>(() =>\n typeof window !== \"undefined\" ? getFavorites() : new Set(),\n );\n const [extensionsOpen, setExtensionsOpen] = useState(() =>\n getStoredBoolean(EXTENSIONS_OPEN_KEY, true),\n );\n const [sortModeState, setSortModeState] =\n useState<ExtensionSortMode>(getSortMode);\n const [menuOpenId, setMenuOpenId] = useState<string | null>(null);\n const [renamingId, setRenamingId] = useState<string | null>(null);\n const [renameValue, setRenameValue] = useState(\"\");\n const [showCreate, setShowCreate] = useState(false);\n const [toolOrderState, setToolOrderState] = useState<string[]>(() =>\n typeof window !== \"undefined\" ? getToolsOrder() : [],\n );\n const [draggingId, setDraggingId] = useState<string | null>(null);\n const [dragOverId, setDragOverId] = useState<string | null>(null);\n const [showAllExtensions, setShowAllExtensions] = useState(false);\n const [showGloballyHidden, setShowGloballyHidden] = useState(false);\n\n const { data: extensions, isLoading } = useQuery<Extension[]>({\n queryKey: [\"extensions\", { includeGloballyHidden: showGloballyHidden }],\n queryFn: async () => {\n const res = await fetch(\n agentNativePath(\n showGloballyHidden\n ? \"/_agent-native/extensions?includeGloballyHidden=true\"\n : \"/_agent-native/extensions\",\n ),\n );\n if (!res.ok) return [];\n return res.json();\n },\n });\n\n const toggleFavorite = useCallback((id: string) => {\n setFavoriteIds((prev) => {\n const next = new Set(prev);\n if (next.has(id)) {\n next.delete(id);\n } else {\n next.add(id);\n }\n saveFavorites(next);\n return next;\n });\n }, []);\n\n const setExtensionSortMode = useCallback((mode: ExtensionSortMode) => {\n setSortMode(mode);\n setSortModeState(mode);\n }, []);\n\n const toggleExtensionsOpen = useCallback(() => {\n setExtensionsOpen((current) => {\n const next = !current;\n setStoredBoolean(EXTENSIONS_OPEN_KEY, next);\n return next;\n });\n }, []);\n\n const handleDelete = useCallback(\n async (extension: Extension) => {\n const extensionId = extension.id;\n setMenuOpenId(null);\n const prev = queryClient.getQueryData<Extension[]>([\"extensions\"]);\n queryClient.setQueryData<Extension[]>([\"extensions\"], (old) =>\n (old ?? []).filter((t) => t.id !== extensionId),\n );\n try {\n await deleteOrHideExtension(extension);\n invalidateExtensionRemoval(queryClient, extensionId);\n setFavoriteIds((prev) => {\n const next = new Set(prev);\n next.delete(extensionId);\n saveFavorites(next);\n return next;\n });\n setToolOrderState((prev) => {\n const next = prev.filter((id) => id !== extensionId);\n if (next.length !== prev.length) setToolsOrder(next);\n return next;\n });\n if (isExtensionPathname(location.pathname, extensionId)) {\n navigate(\"/extensions\");\n }\n } catch {\n if (prev) queryClient.setQueryData([\"extensions\"], prev);\n }\n },\n [location.pathname, navigate, queryClient],\n );\n\n const handleGlobalHide = useCallback(\n async (extension: Extension) => {\n setMenuOpenId(null);\n try {\n await fetch(\n agentNativePath(\n `/_agent-native/extensions/${extension.id}/global-hide`,\n ),\n { method: \"POST\" },\n );\n } finally {\n queryClient.invalidateQueries({ queryKey: [\"extensions\"] });\n }\n },\n [queryClient],\n );\n\n const handleGlobalUnhide = useCallback(\n async (extension: Extension) => {\n setMenuOpenId(null);\n try {\n await fetch(\n agentNativePath(\n `/_agent-native/extensions/${extension.id}/global-unhide`,\n ),\n { method: \"POST\" },\n );\n } finally {\n queryClient.invalidateQueries({ queryKey: [\"extensions\"] });\n }\n },\n [queryClient],\n );\n\n const startRename = useCallback((extension: Extension) => {\n setMenuOpenId(null);\n setRenameValue(extension.name);\n setRenamingId(extension.id);\n }, []);\n\n const submitRename = useCallback(\n async (extensionId: string) => {\n const trimmed = renameValue.trim();\n setRenamingId(null);\n if (!trimmed) return;\n const prev = queryClient.getQueryData<Extension[]>([\"extensions\"]);\n const existing = prev?.find((t) => t.id === extensionId);\n if (!existing || trimmed === existing.name) return;\n queryClient.setQueryData<Extension[]>([\"extensions\"], (old) =>\n (old ?? []).map((t) =>\n t.id === extensionId ? { ...t, name: trimmed } : t,\n ),\n );\n queryClient.setQueryData<Extension>([\"extension\", extensionId], (old) =>\n old ? { ...old, name: trimmed } : old,\n );\n try {\n await fetch(\n agentNativePath(`/_agent-native/extensions/${extensionId}`),\n {\n method: \"PUT\",\n headers: { \"Content-Type\": \"application/json\" },\n body: JSON.stringify({ name: trimmed }),\n },\n );\n queryClient.invalidateQueries({ queryKey: [\"extensions\"] });\n queryClient.invalidateQueries({ queryKey: [\"extension\", extensionId] });\n } catch {\n if (prev) queryClient.setQueryData([\"extensions\"], prev);\n queryClient.invalidateQueries({ queryKey: [\"extension\", extensionId] });\n }\n },\n [renameValue, queryClient],\n );\n\n const sortedTools = useMemo(() => {\n if (!extensions) return [];\n if (sortModeState === \"alphabetical\") {\n return sortByName(extensions);\n }\n const mostUsed = [...extensions].sort((a, b) => {\n const aPop = extensionPopularityOf(popularity, a.id);\n const bPop = extensionPopularityOf(popularity, b.id);\n if (aPop !== bPop) return bPop - aPop;\n const aFav = favoriteIds.has(a.id) ? 0 : 1;\n const bFav = favoriteIds.has(b.id) ? 0 : 1;\n if (aFav !== bFav) return aFav - bFav;\n return a.name.localeCompare(b.name);\n });\n return sortModeState === \"manual\" && toolOrderState.length > 0\n ? applyToolsOrder(mostUsed, toolOrderState)\n : mostUsed;\n }, [extensions, favoriteIds, popularity, sortModeState, toolOrderState]);\n\n const activeExtensionId = useMemo(\n () =>\n sortedTools.find((extension) =>\n isExtensionPathname(location.pathname, extension.id),\n )?.id ?? null,\n [location.pathname, sortedTools],\n );\n\n const visibleTools = useMemo(() => {\n if (showAllExtensions || sortedTools.length <= COLLAPSED_EXTENSION_COUNT) {\n return sortedTools;\n }\n\n const defaultVisible = sortedTools.slice(0, COLLAPSED_EXTENSION_COUNT);\n if (!activeExtensionId) return defaultVisible;\n\n const activeTool = sortedTools.find(\n (extension) => extension.id === activeExtensionId,\n );\n if (!activeTool || defaultVisible.some((tool) => tool.id === activeTool.id))\n return defaultVisible;\n\n return [\n ...defaultVisible.slice(0, COLLAPSED_EXTENSION_COUNT - 1),\n activeTool,\n ];\n }, [activeExtensionId, showAllExtensions, sortedTools]);\n\n const hasMoreExtensions = sortedTools.length > COLLAPSED_EXTENSION_COUNT;\n\n const reorderTool = useCallback(\n (activeId: string, overId: string) => {\n if (activeId === overId) return;\n const ids = sortedTools.map((extension) => extension.id);\n const oldIndex = ids.indexOf(activeId);\n const newIndex = ids.indexOf(overId);\n if (oldIndex === -1 || newIndex === -1) return;\n const next = [...ids];\n const [moved] = next.splice(oldIndex, 1);\n if (!moved) return;\n next.splice(newIndex, 0, moved);\n setToolsOrder(next);\n setToolOrderState(next);\n setExtensionSortMode(\"manual\");\n },\n [setExtensionSortMode, sortedTools],\n );\n\n const handleCreate = (text: string) => {\n const trimmed = text.trim();\n if (!trimmed) return;\n sendToAgentChat({\n message: `Create an extension: ${trimmed}`,\n submit: true,\n openSidebar: true,\n newTab: true,\n });\n setShowCreate(false);\n };\n\n return (\n <TooltipProvider delayDuration={200}>\n <div className=\"relative min-w-0 py-1\">\n <div\n className={cn(\n \"group/extensions-section relative flex w-full min-w-0 items-center rounded-md text-sm font-medium transition-all hover:text-primary\",\n location.pathname.startsWith(\"/extensions\")\n ? \"text-sidebar-accent-foreground\"\n : \"text-muted-foreground hover:bg-sidebar-accent/50\",\n extensionsOpen && sortedTools.length > 0 && \"mb-1\",\n )}\n >\n <button\n type=\"button\"\n onClick={toggleExtensionsOpen}\n className=\"absolute inset-0 rounded-md focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring\"\n aria-label={extensionsOpen ? copy.collapse : copy.expand}\n aria-expanded={extensionsOpen}\n />\n <div className=\"pointer-events-none relative z-10 flex min-w-0 flex-1 items-center gap-2 px-3 py-1.5 pr-20\">\n <IconTool className=\"h-4 w-4 shrink-0\" />\n <HoverCard openDelay={1200} closeDelay={200}>\n <HoverCardTrigger asChild>\n <span\n className=\"pointer-events-auto min-w-0 select-none truncate\"\n onClick={toggleExtensionsOpen}\n >\n {copy.title}\n </span>\n </HoverCardTrigger>\n <HoverCardContent\n side=\"top\"\n align=\"start\"\n sideOffset={8}\n className=\"w-72 space-y-3 p-3\"\n >\n <div>\n <p className=\"text-sm font-semibold text-foreground\">\n {copy.title}\n </p>\n <p className=\"mt-1 text-xs leading-relaxed text-muted-foreground\">\n {copy.description}\n </p>\n </div>\n <div className=\"flex items-center gap-2\">\n <Link\n to=\"/extensions\"\n className=\"inline-flex h-8 items-center rounded-md border px-2.5 text-xs font-medium text-foreground transition-colors hover:bg-accent\"\n >\n {copy.open}\n </Link>\n <a\n href=\"https://agent-native.com/docs/extensions\"\n target=\"_blank\"\n rel=\"noopener noreferrer\"\n className=\"inline-flex h-8 items-center rounded-md px-2.5 text-xs font-medium text-muted-foreground transition-colors hover:bg-accent hover:text-foreground\"\n >\n {copy.learnMore}\n </a>\n </div>\n </HoverCardContent>\n </HoverCard>\n </div>\n <div className=\"absolute right-1 top-1/2 z-20 flex -translate-y-1/2 items-center\">\n <ExtensionSortMenu\n value={sortModeState}\n onChange={setExtensionSortMode}\n showHidden={showGloballyHidden}\n onShowHiddenChange={setShowGloballyHidden}\n copy={copy}\n />\n <Popover open={showCreate} onOpenChange={setShowCreate}>\n <PopoverTrigger asChild>\n <button\n type=\"button\"\n className=\"inline-flex h-6 w-6 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground/70 transition-colors hover:bg-accent hover:text-accent-foreground\"\n aria-label={copy.newExtension}\n >\n <IconPlus className=\"h-3.5 w-3.5\" />\n </button>\n </PopoverTrigger>\n <PopoverContent\n side=\"right\"\n align=\"start\"\n className=\"w-[420px] p-3\"\n >\n <p className=\"px-1 pb-2 text-sm font-semibold text-foreground\">\n {copy.newExtension}\n </p>\n <PromptComposer\n autoFocus\n placeholder={copy.createPlaceholder}\n draftScope=\"extensions:sidebar-create\"\n onSubmit={handleCreate}\n />\n </PopoverContent>\n </Popover>\n <button\n type=\"button\"\n onClick={toggleExtensionsOpen}\n className=\"flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/70 hover:bg-accent hover:text-foreground\"\n aria-label={extensionsOpen ? copy.collapse : copy.expand}\n aria-expanded={extensionsOpen}\n >\n <IconChevronDown\n className={cn(\n \"h-3.5 w-3.5 shrink-0 transition-transform\",\n !extensionsOpen && \"-rotate-90\",\n )}\n />\n </button>\n </div>\n </div>\n\n {extensionsOpen &&\n (isLoading ? (\n <div className=\"min-w-0 space-y-0.5 px-0.5\">\n {[1, 2, 3].map((i) => (\n <div\n key={i}\n className=\"flex items-center rounded-md px-2 py-1.5\"\n >\n <div\n className=\"h-3 rounded bg-muted animate-pulse\"\n style={{ width: `${60 + i * 20}px` }}\n />\n </div>\n ))}\n </div>\n ) : sortedTools.length === 0 ? null : (\n <div className=\"min-w-0 space-y-0.5 px-0.5\">\n {visibleTools.map((extension) => {\n const isActive = isExtensionPathname(\n location.pathname,\n extension.id,\n );\n const isFav = favoriteIds.has(extension.id);\n const isRenamingThis = renamingId === extension.id;\n const isLocalExtension =\n extension.source?.mode === \"local-files\";\n const actionsVisible =\n menuOpenId === extension.id || isRenamingThis;\n\n return (\n <div\n key={extension.id}\n onDragOver={(e) => {\n if (!draggingId || draggingId === extension.id) return;\n e.preventDefault();\n e.dataTransfer.dropEffect = \"move\";\n setDragOverId(extension.id);\n }}\n onDragLeave={() => {\n setDragOverId((current) =>\n current === extension.id ? null : current,\n );\n }}\n onDrop={(e) => {\n e.preventDefault();\n const activeId =\n draggingId || e.dataTransfer.getData(\"text/plain\");\n setDraggingId(null);\n setDragOverId(null);\n if (activeId) reorderTool(activeId, extension.id);\n }}\n className={cn(\n \"group/extension relative flex items-center min-w-0 rounded-md\",\n draggingId === extension.id && \"opacity-50\",\n dragOverId === extension.id &&\n draggingId !== extension.id &&\n \"bg-accent/60\",\n )}\n >\n <Tooltip>\n <TooltipTrigger asChild>\n <button\n type=\"button\"\n draggable\n onDragStart={(e) => {\n setDraggingId(extension.id);\n setDragOverId(null);\n e.dataTransfer.effectAllowed = \"move\";\n e.dataTransfer.setData(\"text/plain\", extension.id);\n }}\n onDragEnd={() => {\n setDraggingId(null);\n setDragOverId(null);\n }}\n className=\"-ml-2 cursor-grab rounded p-0.5 text-muted-foreground/30 opacity-0 transition-colors hover:text-muted-foreground/70 active:cursor-grabbing group-hover/extension:opacity-100 group-focus-within/extension:opacity-100\"\n aria-label={copy.reorder(extension.name)}\n >\n <IconGripVertical className=\"h-3 w-3\" />\n </button>\n </TooltipTrigger>\n <TooltipContent>{copy.dragToReorder}</TooltipContent>\n </Tooltip>\n <Link\n to={extensionPath(extension.id, extension.name)}\n className={cn(\n \"flex min-w-0 flex-1 items-center rounded-md px-2 py-1.5 pr-12 text-xs transition-[padding,color,background-color] md:pr-2 md:group-hover/extension:pr-12 md:group-focus-within/extension:pr-12\",\n actionsVisible && \"md:pr-12\",\n isActive\n ? \"bg-accent text-accent-foreground font-medium\"\n : \"text-muted-foreground hover:bg-accent/50 hover:text-accent-foreground\",\n )}\n >\n {isRenamingThis ? (\n <input\n autoFocus\n value={renameValue}\n onChange={(e) => setRenameValue(e.target.value)}\n onBlur={() => submitRename(extension.id)}\n onKeyDown={(e) => {\n if (e.key === \"Enter\") submitRename(extension.id);\n if (e.key === \"Escape\") setRenamingId(null);\n }}\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n }}\n className=\"min-w-0 flex-1 truncate border-b border-primary bg-transparent px-0 py-0 text-xs outline-none\"\n />\n ) : (\n <span className=\"flex min-w-0 items-center gap-1.5\">\n {extension.globallyHidden && (\n <IconEyeOff\n className=\"h-3 w-3 shrink-0 text-muted-foreground/60\"\n aria-label={copy.hiddenFromEveryone}\n />\n )}\n <span className=\"block truncate\">\n {extension.name}\n </span>\n {isLocalExtension && (\n <span className=\"shrink-0 rounded border border-border px-1 text-[9px] font-medium uppercase tracking-wide text-muted-foreground/70\">\n {copy.file}\n </span>\n )}\n </span>\n )}\n </Link>\n\n <div\n className={cn(\n \"pointer-events-none absolute right-1 top-1/2 flex -translate-y-1/2 items-center gap-0.5 opacity-100 transition-opacity md:opacity-0 md:group-hover/extension:opacity-100 md:group-focus-within/extension:opacity-100\",\n actionsVisible && \"md:opacity-100\",\n )}\n >\n <button\n type=\"button\"\n onClick={(e) => {\n e.preventDefault();\n e.stopPropagation();\n toggleFavorite(extension.id);\n }}\n className={cn(\n \"pointer-events-auto cursor-pointer rounded p-0.5 transition-colors\",\n isFav\n ? \"text-yellow-500\"\n : \"text-muted-foreground/40 hover:text-yellow-500\",\n )}\n aria-label={isFav ? copy.unfavorite : copy.favorite}\n >\n {isFav ? (\n <IconStarFilled className=\"h-3 w-3\" />\n ) : (\n <IconStar className=\"h-3 w-3\" />\n )}\n </button>\n\n <DropdownMenu\n open={menuOpenId === extension.id}\n onOpenChange={(open) =>\n setMenuOpenId(open ? extension.id : null)\n }\n >\n <DropdownMenuTrigger asChild>\n <button\n type=\"button\"\n className=\"pointer-events-auto cursor-pointer rounded p-0.5 text-muted-foreground/40 transition-colors hover:text-foreground\"\n aria-label={copy.actions}\n >\n <IconDots className=\"h-3 w-3\" />\n </button>\n </DropdownMenuTrigger>\n <DropdownMenuContent\n align=\"end\"\n sideOffset={4}\n className=\"min-w-[140px]\"\n >\n {isLocalExtension ? (\n <DropdownMenuItem disabled>\n <IconPencil className=\"h-3.5 w-3.5\" />\n {copy.editInFiles}\n </DropdownMenuItem>\n ) : (\n <DropdownMenuItem\n onSelect={() => startRename(extension)}\n >\n <IconPencil className=\"h-3.5 w-3.5\" />\n {copy.rename}\n </DropdownMenuItem>\n )}\n {!isLocalExtension &&\n extension.canDelete !== false &&\n (extension.globallyHidden ? (\n <DropdownMenuItem\n onSelect={() => handleGlobalUnhide(extension)}\n >\n <IconEye className=\"h-3.5 w-3.5\" />\n {copy.unhideForEveryone}\n </DropdownMenuItem>\n ) : (\n <DropdownMenuItem\n onSelect={() => handleGlobalHide(extension)}\n >\n <IconEyeOff className=\"h-3.5 w-3.5\" />\n {copy.hideFromEveryone}\n </DropdownMenuItem>\n ))}\n {!isLocalExtension && (\n <DropdownMenuItem\n onSelect={() => handleDelete(extension)}\n className=\"text-destructive focus:text-destructive\"\n >\n <IconTrash className=\"h-3.5 w-3.5\" />\n {extension.canDelete === false\n ? copy.removeFromMyList\n : copy.delete}\n </DropdownMenuItem>\n )}\n </DropdownMenuContent>\n </DropdownMenu>\n </div>\n </div>\n );\n })}\n {hasMoreExtensions && (\n <button\n type=\"button\"\n aria-expanded={showAllExtensions}\n onClick={() => setShowAllExtensions((current) => !current)}\n className=\"ml-5 mt-1 inline-flex h-5 items-center rounded px-1.5 text-[11px] font-medium text-muted-foreground/60 transition-colors hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1\"\n >\n {showAllExtensions ? copy.showLess : copy.showMore}\n </button>\n )}\n </div>\n ))}\n </div>\n </TooltipProvider>\n );\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.d.ts","sourceRoot":"","sources":["../../src/client/i18n.tsx"],"names":[],"mappings":"AAGA,OAAO,KAQN,MAAM,OAAO,CAAC;AAOf,OAAO,EAUL,KAAK,UAAU,EACf,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,sBAAsB,EAC5B,MAAM,2BAA2B,CAAC;AAKnC,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;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AC;IACnB,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,QAAQ,GAAG,MAAM,CAAC;CAC7B,qBAiGA"}
|
package/dist/client/i18n.js
CHANGED
|
@@ -404,6 +404,15 @@ function interpolateFallbackMessage(template, options) {
|
|
|
404
404
|
return value == null ? "" : String(value);
|
|
405
405
|
});
|
|
406
406
|
}
|
|
407
|
+
function humanizeFallbackKey(key) {
|
|
408
|
+
const lastSegment = key.split(".").filter(Boolean).pop() ?? key;
|
|
409
|
+
const words = lastSegment
|
|
410
|
+
.replace(/[_-]+/g, " ")
|
|
411
|
+
.replace(/([a-z0-9])([A-Z])/g, "$1 $2")
|
|
412
|
+
.trim()
|
|
413
|
+
.toLowerCase();
|
|
414
|
+
return words ? words.charAt(0).toUpperCase() + words.slice(1) : key;
|
|
415
|
+
}
|
|
407
416
|
function fallbackMessage(key, options) {
|
|
408
417
|
const count = Number(options?.count);
|
|
409
418
|
const pluralKey = Number.isFinite(count) && count === 1 ? `${key}_one` : `${key}_other`;
|
|
@@ -411,7 +420,9 @@ function fallbackMessage(key, options) {
|
|
|
411
420
|
DEFAULT_ENGLISH_MESSAGES[key] ??
|
|
412
421
|
CORE_FALLBACK_MESSAGES[pluralKey] ??
|
|
413
422
|
CORE_FALLBACK_MESSAGES[key];
|
|
414
|
-
return template
|
|
423
|
+
return template
|
|
424
|
+
? interpolateFallbackMessage(template, options)
|
|
425
|
+
: humanizeFallbackKey(key);
|
|
415
426
|
}
|
|
416
427
|
export function useT() {
|
|
417
428
|
const { i18n, t } = useTranslation();
|
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,EAA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,CAAC,CAAC,qHAAqH,YAG3H,KAAC,eAAe,CAAC,QAAQ,IAAC,SAAS,EAAC,KAAK,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\";\n\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\";\nimport defaultEnglishMessages from \"../templates/default/app/i18n/en-US.js\";\nimport { setClientAppState } from \"./application-state.js\";\nimport { callAction } from \"./use-action.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\nexport function useOptionalLocale(): LocaleContextValue | null {\n return useContext(LocaleContext);\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
|
+
{"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;AAEvB,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;AACnC,OAAO,sBAAsB,MAAM,wCAAwC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,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,GAK5B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AA2ChE,MAAM,aAAa,GAAG,aAAa,CAA4B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AAS,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\";\n\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\";\nimport defaultEnglishMessages from \"../templates/default/app/i18n/en-US.js\";\nimport { setClientAppState } from \"./application-state.js\";\nimport { callAction } from \"./use-action.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\nexport function useOptionalLocale(): LocaleContextValue | null {\n return useContext(LocaleContext);\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 humanizeFallbackKey(key: string) {\n const lastSegment = key.split(\".\").filter(Boolean).pop() ?? key;\n const words = lastSegment\n .replace(/[_-]+/g, \" \")\n .replace(/([a-z0-9])([A-Z])/g, \"$1 $2\")\n .trim()\n .toLowerCase();\n return words ? words.charAt(0).toUpperCase() + words.slice(1) : key;\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\n ? interpolateFallbackMessage(template, options)\n : humanizeFallbackKey(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"]}
|
package/dist/collab/routes.d.ts
CHANGED
|
@@ -26,8 +26,8 @@ export declare const getCollabState: import("h3").EventHandlerWithFetch<import("
|
|
|
26
26
|
* Body: { update: string (base64), requestSource?: string }
|
|
27
27
|
*/
|
|
28
28
|
export declare const postCollabUpdate: import("h3").EventHandlerWithFetch<import("h3").EventHandlerRequest, Promise<{
|
|
29
|
-
ok?: undefined;
|
|
30
29
|
error: string;
|
|
30
|
+
ok?: undefined;
|
|
31
31
|
} | {
|
|
32
32
|
error?: undefined;
|
|
33
33
|
ok: boolean;
|