@agent-native/core 0.75.4 → 0.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/corpus/README.md +2 -2
- package/corpus/core/CHANGELOG.md +47 -0
- package/corpus/core/docs/AGENTS.md +1 -0
- package/corpus/core/docs/content/client.md +15 -0
- package/corpus/core/docs/content/internationalization.md +145 -0
- package/corpus/core/docs/content/locales/ar-SA/internationalization.md +102 -0
- package/corpus/core/docs/content/locales/de-DE/internationalization.md +102 -0
- package/corpus/core/docs/content/locales/es-ES/internationalization.md +102 -0
- package/corpus/core/docs/content/locales/fr-FR/internationalization.md +102 -0
- package/corpus/core/docs/content/locales/hi-IN/internationalization.md +102 -0
- package/corpus/core/docs/content/locales/ja-JP/internationalization.md +114 -0
- package/corpus/core/docs/content/locales/ko-KR/internationalization.md +102 -0
- package/corpus/core/docs/content/locales/pt-BR/internationalization.md +102 -0
- package/corpus/core/docs/content/locales/zh-CN/internationalization.md +102 -0
- package/corpus/core/docs/content/skills-guide.md +19 -18
- package/corpus/core/package.json +7 -1
- package/corpus/core/src/agent/durable-background.ts +62 -28
- package/corpus/core/src/agent/production-agent.ts +16 -12
- package/corpus/core/src/cli/skills.ts +22 -4
- package/corpus/core/src/client/CommandMenu.tsx +16 -0
- package/corpus/core/src/client/app-providers.tsx +26 -1
- package/corpus/core/src/client/i18n.tsx +605 -0
- package/corpus/core/src/client/index.ts +28 -0
- package/corpus/core/src/deploy/build.ts +47 -113
- package/corpus/core/src/deploy/workspace-deploy.ts +62 -30
- package/corpus/core/src/index.browser.ts +25 -0
- package/corpus/core/src/localization/actions/get-localization-preference.ts +23 -0
- package/corpus/core/src/localization/actions/set-localization-preference.ts +30 -0
- package/corpus/core/src/localization/index.ts +2 -0
- package/corpus/core/src/localization/server.ts +131 -0
- package/corpus/core/src/localization/shared.ts +163 -0
- package/corpus/core/src/server/action-discovery.ts +8 -0
- package/corpus/core/src/server/index.ts +8 -0
- package/corpus/core/src/server/self-dispatch.ts +29 -2
- package/corpus/core/src/templates/default/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/corpus/core/src/templates/default/.agents/skills/internationalization/SKILL.md +77 -0
- package/corpus/core/src/templates/default/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/core/src/templates/default/AGENTS.md +16 -15
- package/corpus/core/src/templates/default/app/i18n/en-US.ts +29 -0
- package/corpus/core/src/templates/default/app/i18n/index.ts +13 -0
- package/corpus/core/src/templates/default/app/root.tsx +20 -1
- package/corpus/core/src/templates/default/app/routes/_index.tsx +24 -9
- package/corpus/core/src/templates/default/app/routes/settings.tsx +67 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/internationalization/SKILL.md +77 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/core/src/vite/action-types-plugin.ts +10 -0
- package/corpus/templates/analytics/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/analytics/app/components/layout/Header.tsx +18 -15
- package/corpus/templates/analytics/app/components/layout/Layout.tsx +7 -5
- package/corpus/templates/analytics/app/components/layout/MobileNav.tsx +9 -3
- package/corpus/templates/analytics/app/components/layout/Sidebar.tsx +5 -3
- package/corpus/templates/analytics/app/i18n/ar-SA.ts +3 -0
- package/corpus/templates/analytics/app/i18n/de-DE.ts +3 -0
- package/corpus/templates/analytics/app/i18n/en-US.ts +3 -0
- package/corpus/templates/analytics/app/i18n/es-ES.ts +3 -0
- package/corpus/templates/analytics/app/i18n/fr-FR.ts +3 -0
- package/corpus/templates/analytics/app/i18n/hi-IN.ts +3 -0
- package/corpus/templates/analytics/app/i18n/index.ts +31 -0
- package/corpus/templates/analytics/app/i18n/ja-JP.ts +3 -0
- package/corpus/templates/analytics/app/i18n/ko-KR.ts +3 -0
- package/corpus/templates/analytics/app/i18n/pt-BR.ts +3 -0
- package/corpus/templates/analytics/app/i18n/zh-CN.ts +3 -0
- package/corpus/templates/analytics/app/i18n-data.ts +433 -0
- package/corpus/templates/analytics/app/pages/Settings.tsx +50 -16
- package/corpus/templates/analytics/app/root.tsx +14 -1
- package/corpus/templates/analytics/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/analytics/changelog/2026-06-24-settings-now-link-directly-to-agent-settings-for-model-api-k.md +6 -0
- package/corpus/templates/assets/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/assets/app/components/layout/Header.tsx +17 -8
- package/corpus/templates/assets/app/components/layout/Layout.tsx +10 -6
- package/corpus/templates/assets/app/components/layout/Sidebar.tsx +40 -23
- package/corpus/templates/assets/app/i18n/ar-SA.ts +3 -0
- package/corpus/templates/assets/app/i18n/de-DE.ts +3 -0
- package/corpus/templates/assets/app/i18n/en-US.ts +3 -0
- package/corpus/templates/assets/app/i18n/es-ES.ts +3 -0
- package/corpus/templates/assets/app/i18n/fr-FR.ts +3 -0
- package/corpus/templates/assets/app/i18n/hi-IN.ts +3 -0
- package/corpus/templates/assets/app/i18n/index.ts +31 -0
- package/corpus/templates/assets/app/i18n/ja-JP.ts +3 -0
- package/corpus/templates/assets/app/i18n/ko-KR.ts +3 -0
- package/corpus/templates/assets/app/i18n/pt-BR.ts +3 -0
- package/corpus/templates/assets/app/i18n/zh-CN.ts +3 -0
- package/corpus/templates/assets/app/i18n-data.ts +668 -0
- package/corpus/templates/assets/app/root.tsx +40 -15
- package/corpus/templates/assets/app/routes/_index.tsx +9 -10
- package/corpus/templates/assets/app/routes/settings.tsx +37 -6
- package/corpus/templates/assets/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/assets/changelog/2026-06-24-settings-now-link-directly-to-agent-settings-for-model-api-k.md +6 -0
- package/corpus/templates/brain/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/corpus/templates/brain/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/brain/app/components/layout/Layout.tsx +12 -8
- package/corpus/templates/brain/app/components/layout/Sidebar.tsx +23 -12
- package/corpus/templates/brain/app/i18n/ar-SA.ts +3 -0
- package/corpus/templates/brain/app/i18n/de-DE.ts +3 -0
- package/corpus/templates/brain/app/i18n/en-US.ts +3 -0
- package/corpus/templates/brain/app/i18n/es-ES.ts +3 -0
- package/corpus/templates/brain/app/i18n/fr-FR.ts +3 -0
- package/corpus/templates/brain/app/i18n/hi-IN.ts +3 -0
- package/corpus/templates/brain/app/i18n/index.ts +31 -0
- package/corpus/templates/brain/app/i18n/ja-JP.ts +3 -0
- package/corpus/templates/brain/app/i18n/ko-KR.ts +3 -0
- package/corpus/templates/brain/app/i18n/pt-BR.ts +3 -0
- package/corpus/templates/brain/app/i18n/zh-CN.ts +3 -0
- package/corpus/templates/brain/app/i18n-data.ts +624 -0
- package/corpus/templates/brain/app/root.tsx +27 -12
- package/corpus/templates/brain/app/routes/settings.tsx +45 -8
- package/corpus/templates/brain/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/brain/changelog/2026-06-24-settings-now-link-directly-to-agent-settings-for-model-api-k.md +6 -0
- package/corpus/templates/calendar/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/calendar/app/components/layout/AppLayout.tsx +2 -0
- package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +16 -9
- package/corpus/templates/calendar/app/i18n/ar-SA.ts +57 -0
- package/corpus/templates/calendar/app/i18n/de-DE.ts +58 -0
- package/corpus/templates/calendar/app/i18n/en-US.ts +57 -0
- package/corpus/templates/calendar/app/i18n/es-ES.ts +58 -0
- package/corpus/templates/calendar/app/i18n/fr-FR.ts +58 -0
- package/corpus/templates/calendar/app/i18n/hi-IN.ts +57 -0
- package/corpus/templates/calendar/app/i18n/index.ts +31 -0
- package/corpus/templates/calendar/app/i18n/ja-JP.ts +58 -0
- package/corpus/templates/calendar/app/i18n/ko-KR.ts +57 -0
- package/corpus/templates/calendar/app/i18n/pt-BR.ts +57 -0
- package/corpus/templates/calendar/app/i18n/zh-CN.ts +57 -0
- package/corpus/templates/calendar/app/i18n-data.ts +516 -0
- package/corpus/templates/calendar/app/pages/CalendarView.tsx +2 -0
- package/corpus/templates/calendar/app/pages/Settings.tsx +63 -28
- package/corpus/templates/calendar/app/root.tsx +78 -7
- package/corpus/templates/calendar/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/calendar/changelog/2026-06-24-settings-now-link-directly-to-agent-settings-for-model-api-k.md +6 -0
- package/corpus/templates/chat/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/corpus/templates/chat/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/chat/app/components/layout/Header.tsx +17 -11
- package/corpus/templates/chat/app/components/layout/Layout.tsx +12 -8
- package/corpus/templates/chat/app/components/layout/Sidebar.tsx +47 -18
- package/corpus/templates/chat/app/i18n/ar-SA.ts +62 -0
- package/corpus/templates/chat/app/i18n/de-DE.ts +63 -0
- package/corpus/templates/chat/app/i18n/en-US.ts +63 -0
- package/corpus/templates/chat/app/i18n/es-ES.ts +63 -0
- package/corpus/templates/chat/app/i18n/fr-FR.ts +63 -0
- package/corpus/templates/chat/app/i18n/hi-IN.ts +63 -0
- package/corpus/templates/chat/app/i18n/index.ts +31 -0
- package/corpus/templates/chat/app/i18n/ja-JP.ts +63 -0
- package/corpus/templates/chat/app/i18n/ko-KR.ts +63 -0
- package/corpus/templates/chat/app/i18n/pt-BR.ts +63 -0
- package/corpus/templates/chat/app/i18n/zh-CN.ts +61 -0
- package/corpus/templates/chat/app/i18n-data.ts +475 -0
- package/corpus/templates/chat/app/root.tsx +18 -5
- package/corpus/templates/chat/app/routes/_index.tsx +9 -8
- package/corpus/templates/chat/app/routes/settings.tsx +86 -0
- package/corpus/templates/chat/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/corpus/templates/chat/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/clips/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/clips/app/components/layout/Header.tsx +23 -17
- package/corpus/templates/clips/app/components/library/empty-state.tsx +10 -34
- package/corpus/templates/clips/app/components/library/library-layout.tsx +45 -34
- package/corpus/templates/clips/app/i18n/ar-SA.ts +182 -0
- package/corpus/templates/clips/app/i18n/de-DE.ts +184 -0
- package/corpus/templates/clips/app/i18n/en-US.ts +179 -0
- package/corpus/templates/clips/app/i18n/es-ES.ts +183 -0
- package/corpus/templates/clips/app/i18n/fr-FR.ts +184 -0
- package/corpus/templates/clips/app/i18n/hi-IN.ts +180 -0
- package/corpus/templates/clips/app/i18n/index.ts +41 -0
- package/corpus/templates/clips/app/i18n/ja-JP.ts +180 -0
- package/corpus/templates/clips/app/i18n/ko-KR.ts +178 -0
- package/corpus/templates/clips/app/i18n/pt-BR.ts +183 -0
- package/corpus/templates/clips/app/i18n/zh-CN.ts +173 -0
- package/corpus/templates/clips/app/root.tsx +104 -10
- package/corpus/templates/clips/app/routes/_app.settings._index.tsx +154 -95
- package/corpus/templates/clips/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/clips/changelog/2026-06-24-chrome-extension-setup-now-shows-a-clear-all-done-confirmati.md +6 -0
- package/corpus/templates/clips/changelog/2026-06-24-clips-now-includes-a-language-picker-and-simplified-chinese-ui.md +6 -0
- package/corpus/templates/clips/changelog/2026-06-24-settings-now-link-directly-to-agent-settings-for-model-api-k.md +6 -0
- package/corpus/templates/clips/chrome-extension/src/permission.html +60 -0
- package/corpus/templates/clips/chrome-extension/src/permission.ts +28 -15
- package/corpus/templates/content/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/content/app/components/EmptyState.tsx +7 -5
- package/corpus/templates/content/app/components/ThemeToggle.tsx +4 -2
- package/corpus/templates/content/app/components/layout/Header.tsx +2 -0
- package/corpus/templates/content/app/components/layout/Layout.tsx +8 -7
- package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +41 -1
- package/corpus/templates/content/app/i18n/ar-SA.ts +3 -0
- package/corpus/templates/content/app/i18n/de-DE.ts +3 -0
- package/corpus/templates/content/app/i18n/en-US.ts +3 -0
- package/corpus/templates/content/app/i18n/es-ES.ts +3 -0
- package/corpus/templates/content/app/i18n/fr-FR.ts +3 -0
- package/corpus/templates/content/app/i18n/hi-IN.ts +3 -0
- package/corpus/templates/content/app/i18n/index.ts +31 -0
- package/corpus/templates/content/app/i18n/ja-JP.ts +3 -0
- package/corpus/templates/content/app/i18n/ko-KR.ts +3 -0
- package/corpus/templates/content/app/i18n/pt-BR.ts +3 -0
- package/corpus/templates/content/app/i18n/zh-CN.ts +3 -0
- package/corpus/templates/content/app/i18n-data.ts +490 -0
- package/corpus/templates/content/app/root.tsx +110 -23
- package/corpus/templates/content/app/routes/_app.settings.tsx +84 -0
- package/corpus/templates/content/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/corpus/templates/content/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/design/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/design/app/components/layout/Header.tsx +16 -8
- package/corpus/templates/design/app/components/layout/Layout.tsx +8 -6
- package/corpus/templates/design/app/components/layout/Sidebar.tsx +25 -9
- package/corpus/templates/design/app/i18n/ar-SA.ts +3 -0
- package/corpus/templates/design/app/i18n/de-DE.ts +3 -0
- package/corpus/templates/design/app/i18n/en-US.ts +3 -0
- package/corpus/templates/design/app/i18n/es-ES.ts +3 -0
- package/corpus/templates/design/app/i18n/fr-FR.ts +3 -0
- package/corpus/templates/design/app/i18n/hi-IN.ts +3 -0
- package/corpus/templates/design/app/i18n/index.ts +31 -0
- package/corpus/templates/design/app/i18n/ja-JP.ts +3 -0
- package/corpus/templates/design/app/i18n/ko-KR.ts +3 -0
- package/corpus/templates/design/app/i18n/pt-BR.ts +3 -0
- package/corpus/templates/design/app/i18n/zh-CN.ts +3 -0
- package/corpus/templates/design/app/i18n-data.ts +350 -0
- package/corpus/templates/design/app/root.tsx +40 -15
- package/corpus/templates/design/app/routes/settings.tsx +43 -0
- package/corpus/templates/design/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/design/changelog/2026-06-24-settings-now-link-directly-to-agent-settings-for-model-api-k.md +6 -0
- package/corpus/templates/dispatch/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/dispatch/app/i18n/ar-SA.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/de-DE.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/en-US.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/es-ES.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/fr-FR.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/hi-IN.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/index.ts +31 -0
- package/corpus/templates/dispatch/app/i18n/ja-JP.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/ko-KR.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/pt-BR.ts +3 -0
- package/corpus/templates/dispatch/app/i18n/zh-CN.ts +3 -0
- package/corpus/templates/dispatch/app/i18n-data.ts +267 -0
- package/corpus/templates/dispatch/app/root.tsx +18 -4
- package/corpus/templates/dispatch/app/routes/settings.tsx +86 -0
- package/corpus/templates/dispatch/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/corpus/templates/dispatch/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/forms/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/forms/app/components/layout/Header.tsx +16 -9
- package/corpus/templates/forms/app/components/layout/Layout.tsx +6 -4
- package/corpus/templates/forms/app/components/layout/Sidebar.tsx +34 -17
- package/corpus/templates/forms/app/i18n/ar-SA.ts +58 -0
- package/corpus/templates/forms/app/i18n/de-DE.ts +59 -0
- package/corpus/templates/forms/app/i18n/en-US.ts +59 -0
- package/corpus/templates/forms/app/i18n/es-ES.ts +59 -0
- package/corpus/templates/forms/app/i18n/fr-FR.ts +59 -0
- package/corpus/templates/forms/app/i18n/hi-IN.ts +59 -0
- package/corpus/templates/forms/app/i18n/index.ts +31 -0
- package/corpus/templates/forms/app/i18n/ja-JP.ts +59 -0
- package/corpus/templates/forms/app/i18n/ko-KR.ts +59 -0
- package/corpus/templates/forms/app/i18n/pt-BR.ts +59 -0
- package/corpus/templates/forms/app/i18n/zh-CN.ts +56 -0
- package/corpus/templates/forms/app/root.tsx +65 -16
- package/corpus/templates/forms/app/routes/_app.settings.tsx +85 -0
- package/corpus/templates/forms/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/corpus/templates/forms/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/macros/app/components/layout/AppLayout.tsx +29 -17
- package/corpus/templates/macros/app/components/layout/Header.tsx +16 -10
- package/corpus/templates/macros/app/i18n/ar-SA.ts +54 -0
- package/corpus/templates/macros/app/i18n/de-DE.ts +55 -0
- package/corpus/templates/macros/app/i18n/en-US.ts +55 -0
- package/corpus/templates/macros/app/i18n/es-ES.ts +55 -0
- package/corpus/templates/macros/app/i18n/fr-FR.ts +55 -0
- package/corpus/templates/macros/app/i18n/hi-IN.ts +55 -0
- package/corpus/templates/macros/app/i18n/index.ts +31 -0
- package/corpus/templates/macros/app/i18n/ja-JP.ts +55 -0
- package/corpus/templates/macros/app/i18n/ko-KR.ts +55 -0
- package/corpus/templates/macros/app/i18n/pt-BR.ts +55 -0
- package/corpus/templates/macros/app/i18n/zh-CN.ts +53 -0
- package/corpus/templates/macros/app/root.tsx +65 -15
- package/corpus/templates/macros/app/routes/settings.tsx +85 -0
- package/corpus/templates/macros/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/corpus/templates/macros/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/mail/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/mail/app/components/layout/AppLayout.tsx +9 -4
- package/corpus/templates/mail/app/i18n/ar-SA.ts +33 -0
- package/corpus/templates/mail/app/i18n/de-DE.ts +33 -0
- package/corpus/templates/mail/app/i18n/en-US.ts +32 -0
- package/corpus/templates/mail/app/i18n/es-ES.ts +33 -0
- package/corpus/templates/mail/app/i18n/fr-FR.ts +33 -0
- package/corpus/templates/mail/app/i18n/hi-IN.ts +32 -0
- package/corpus/templates/mail/app/i18n/index.ts +31 -0
- package/corpus/templates/mail/app/i18n/ja-JP.ts +32 -0
- package/corpus/templates/mail/app/i18n/ko-KR.ts +33 -0
- package/corpus/templates/mail/app/i18n/pt-BR.ts +34 -0
- package/corpus/templates/mail/app/i18n/zh-CN.ts +32 -0
- package/corpus/templates/mail/app/pages/SettingsPage.tsx +67 -13
- package/corpus/templates/mail/app/root.tsx +20 -0
- package/corpus/templates/mail/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/mail/changelog/2026-06-24-settings-now-link-directly-to-agent-settings-for-model-api-k.md +6 -0
- package/corpus/templates/plan/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/corpus/templates/plan/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/plan/.agents/skills/visual-plan/references/wireframe.md +22 -4
- package/corpus/templates/plan/.agents/skills/visual-recap/references/wireframe.md +22 -4
- package/corpus/templates/plan/app/components/layout/Header.tsx +19 -12
- package/corpus/templates/plan/app/components/layout/Layout.tsx +11 -7
- package/corpus/templates/plan/app/components/layout/Sidebar.tsx +41 -28
- package/corpus/templates/plan/app/i18n/ar-SA.ts +77 -0
- package/corpus/templates/plan/app/i18n/de-DE.ts +78 -0
- package/corpus/templates/plan/app/i18n/en-US.ts +78 -0
- package/corpus/templates/plan/app/i18n/es-ES.ts +78 -0
- package/corpus/templates/plan/app/i18n/fr-FR.ts +78 -0
- package/corpus/templates/plan/app/i18n/hi-IN.ts +78 -0
- package/corpus/templates/plan/app/i18n/index.ts +31 -0
- package/corpus/templates/plan/app/i18n/ja-JP.ts +79 -0
- package/corpus/templates/plan/app/i18n/ko-KR.ts +77 -0
- package/corpus/templates/plan/app/i18n/pt-BR.ts +78 -0
- package/corpus/templates/plan/app/i18n/zh-CN.ts +74 -0
- package/corpus/templates/plan/app/root.tsx +45 -8
- package/corpus/templates/plan/app/routes/settings.tsx +86 -0
- package/corpus/templates/plan/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/corpus/templates/plan/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/slides/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/slides/app/components/layout/Header.tsx +23 -11
- package/corpus/templates/slides/app/components/layout/Layout.tsx +7 -6
- package/corpus/templates/slides/app/components/layout/Sidebar.tsx +23 -11
- package/corpus/templates/slides/app/i18n/ar-SA.ts +54 -0
- package/corpus/templates/slides/app/i18n/de-DE.ts +56 -0
- package/corpus/templates/slides/app/i18n/en-US.ts +55 -0
- package/corpus/templates/slides/app/i18n/es-ES.ts +55 -0
- package/corpus/templates/slides/app/i18n/fr-FR.ts +55 -0
- package/corpus/templates/slides/app/i18n/hi-IN.ts +55 -0
- package/corpus/templates/slides/app/i18n/index.ts +31 -0
- package/corpus/templates/slides/app/i18n/ja-JP.ts +55 -0
- package/corpus/templates/slides/app/i18n/ko-KR.ts +55 -0
- package/corpus/templates/slides/app/i18n/pt-BR.ts +55 -0
- package/corpus/templates/slides/app/i18n/zh-CN.ts +53 -0
- package/corpus/templates/slides/app/root.tsx +50 -8
- package/corpus/templates/slides/app/routes/settings.tsx +85 -0
- package/corpus/templates/slides/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/corpus/templates/slides/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/corpus/templates/videos/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/corpus/templates/videos/app/components/NewCompositionPopover.tsx +14 -9
- package/corpus/templates/videos/app/components/Sidebar.tsx +16 -9
- package/corpus/templates/videos/app/components/StudioHeader.tsx +12 -8
- package/corpus/templates/videos/app/components/layout/Header.tsx +21 -15
- package/corpus/templates/videos/app/components/layout/Layout.tsx +10 -7
- package/corpus/templates/videos/app/components/layout/NavSidebar.tsx +21 -6
- package/corpus/templates/videos/app/i18n/ar-SA.ts +73 -0
- package/corpus/templates/videos/app/i18n/de-DE.ts +75 -0
- package/corpus/templates/videos/app/i18n/en-US.ts +74 -0
- package/corpus/templates/videos/app/i18n/es-ES.ts +75 -0
- package/corpus/templates/videos/app/i18n/fr-FR.ts +75 -0
- package/corpus/templates/videos/app/i18n/hi-IN.ts +74 -0
- package/corpus/templates/videos/app/i18n/index.ts +31 -0
- package/corpus/templates/videos/app/i18n/ja-JP.ts +74 -0
- package/corpus/templates/videos/app/i18n/ko-KR.ts +74 -0
- package/corpus/templates/videos/app/i18n/pt-BR.ts +75 -0
- package/corpus/templates/videos/app/i18n/zh-CN.ts +72 -0
- package/corpus/templates/videos/app/pages/Index.tsx +11 -9
- package/corpus/templates/videos/app/root.tsx +45 -7
- package/corpus/templates/videos/app/routes/settings.tsx +85 -0
- package/corpus/templates/videos/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/corpus/templates/videos/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/dist/agent/durable-background.d.ts +32 -28
- package/dist/agent/durable-background.d.ts.map +1 -1
- package/dist/agent/durable-background.js +59 -28
- package/dist/agent/durable-background.js.map +1 -1
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +16 -12
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/cli/skills.d.ts +1 -1
- package/dist/cli/skills.d.ts.map +1 -1
- package/dist/cli/skills.js +22 -4
- package/dist/cli/skills.js.map +1 -1
- package/dist/client/CommandMenu.d.ts +3 -0
- package/dist/client/CommandMenu.d.ts.map +1 -1
- package/dist/client/CommandMenu.js +9 -0
- package/dist/client/CommandMenu.js.map +1 -1
- package/dist/client/app-providers.d.ts +8 -1
- package/dist/client/app-providers.d.ts.map +1 -1
- package/dist/client/app-providers.js +7 -5
- package/dist/client/app-providers.js.map +1 -1
- package/dist/client/i18n.d.ts +54 -0
- package/dist/client/i18n.d.ts.map +1 -0
- package/dist/client/i18n.js +354 -0
- package/dist/client/i18n.js.map +1 -0
- package/dist/client/index.d.ts +2 -1
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +2 -1
- package/dist/client/index.js.map +1 -1
- package/dist/deploy/build.d.ts +32 -36
- package/dist/deploy/build.d.ts.map +1 -1
- package/dist/deploy/build.js +47 -104
- package/dist/deploy/build.js.map +1 -1
- package/dist/deploy/workspace-deploy.js +62 -30
- package/dist/deploy/workspace-deploy.js.map +1 -1
- package/dist/index.browser.d.ts +1 -1
- package/dist/index.browser.d.ts.map +1 -1
- package/dist/index.browser.js +1 -1
- package/dist/index.browser.js.map +1 -1
- package/dist/localization/actions/get-localization-preference.d.ts +4 -0
- package/dist/localization/actions/get-localization-preference.d.ts.map +1 -0
- package/dist/localization/actions/get-localization-preference.js +16 -0
- package/dist/localization/actions/get-localization-preference.js.map +1 -0
- package/dist/localization/actions/set-localization-preference.d.ts +6 -0
- package/dist/localization/actions/set-localization-preference.d.ts.map +1 -0
- package/dist/localization/actions/set-localization-preference.js +24 -0
- package/dist/localization/actions/set-localization-preference.js.map +1 -0
- package/dist/localization/index.d.ts +3 -0
- package/dist/localization/index.d.ts.map +1 -0
- package/dist/localization/index.js +3 -0
- package/dist/localization/index.js.map +1 -0
- package/dist/localization/server.d.ts +25 -0
- package/dist/localization/server.d.ts.map +1 -0
- package/dist/localization/server.js +69 -0
- package/dist/localization/server.js.map +1 -0
- package/dist/localization/shared.d.ts +25 -0
- package/dist/localization/shared.d.ts.map +1 -0
- package/dist/localization/shared.js +134 -0
- package/dist/localization/shared.js.map +1 -0
- package/dist/server/action-discovery.d.ts.map +1 -1
- package/dist/server/action-discovery.js +8 -0
- package/dist/server/action-discovery.js.map +1 -1
- package/dist/server/index.d.ts +1 -0
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +1 -0
- package/dist/server/index.js.map +1 -1
- package/dist/server/self-dispatch.d.ts +0 -10
- package/dist/server/self-dispatch.d.ts.map +1 -1
- package/dist/server/self-dispatch.js +27 -2
- package/dist/server/self-dispatch.js.map +1 -1
- package/dist/templates/default/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/dist/templates/default/.agents/skills/internationalization/SKILL.md +77 -0
- package/dist/templates/default/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/dist/templates/default/AGENTS.md +16 -15
- package/dist/templates/default/app/i18n/en-US.ts +29 -0
- package/dist/templates/default/app/i18n/index.ts +13 -0
- package/dist/templates/default/app/root.tsx +20 -1
- package/dist/templates/default/app/routes/_index.tsx +24 -9
- package/dist/templates/default/app/routes/settings.tsx +67 -0
- package/dist/templates/workspace-core/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/dist/templates/workspace-core/.agents/skills/internationalization/SKILL.md +77 -0
- package/dist/templates/workspace-core/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/dist/vite/action-types-plugin.d.ts.map +1 -1
- package/dist/vite/action-types-plugin.js +8 -0
- package/dist/vite/action-types-plugin.js.map +1 -1
- package/docs/AGENTS.md +1 -0
- package/docs/content/client.md +15 -0
- package/docs/content/internationalization.md +145 -0
- package/docs/content/locales/ar-SA/internationalization.md +102 -0
- package/docs/content/locales/de-DE/internationalization.md +102 -0
- package/docs/content/locales/es-ES/internationalization.md +102 -0
- package/docs/content/locales/fr-FR/internationalization.md +102 -0
- package/docs/content/locales/hi-IN/internationalization.md +102 -0
- package/docs/content/locales/ja-JP/internationalization.md +114 -0
- package/docs/content/locales/ko-KR/internationalization.md +102 -0
- package/docs/content/locales/pt-BR/internationalization.md +102 -0
- package/docs/content/locales/zh-CN/internationalization.md +102 -0
- package/docs/content/skills-guide.md +19 -18
- package/package.json +7 -1
- package/src/templates/default/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/src/templates/default/.agents/skills/internationalization/SKILL.md +77 -0
- package/src/templates/default/.agents/skills/self-modifying-code/SKILL.md +6 -0
- package/src/templates/default/AGENTS.md +16 -15
- package/src/templates/default/app/i18n/en-US.ts +29 -0
- package/src/templates/default/app/i18n/index.ts +13 -0
- package/src/templates/default/app/root.tsx +20 -1
- package/src/templates/default/app/routes/_index.tsx +24 -9
- package/src/templates/default/app/routes/settings.tsx +67 -0
- package/src/templates/workspace-core/.agents/skills/adding-a-feature/SKILL.md +5 -0
- package/src/templates/workspace-core/.agents/skills/internationalization/SKILL.md +77 -0
- package/src/templates/workspace-core/.agents/skills/self-modifying-code/SKILL.md +6 -0
|
@@ -0,0 +1,516 @@
|
|
|
1
|
+
import type { LocaleCode } from "@agent-native/core/client";
|
|
2
|
+
|
|
3
|
+
const enUS = {
|
|
4
|
+
common: {
|
|
5
|
+
connect: "Connect",
|
|
6
|
+
connected: "Connected",
|
|
7
|
+
connecting: "Connecting...",
|
|
8
|
+
disconnect: "Disconnect",
|
|
9
|
+
notConnected: "Not connected",
|
|
10
|
+
saving: "Saving...",
|
|
11
|
+
},
|
|
12
|
+
root: {
|
|
13
|
+
commandActions: "Actions",
|
|
14
|
+
commandSearch: "Search",
|
|
15
|
+
commandAppearance: "Appearance",
|
|
16
|
+
toggleTheme: "Toggle theme",
|
|
17
|
+
},
|
|
18
|
+
navigation: {
|
|
19
|
+
brand: "Calendar",
|
|
20
|
+
calendar: "Calendar",
|
|
21
|
+
bookingLinks: "Booking links",
|
|
22
|
+
team: "Team",
|
|
23
|
+
settings: "Settings",
|
|
24
|
+
},
|
|
25
|
+
settings: {
|
|
26
|
+
title: "Settings",
|
|
27
|
+
description: "Configure your calendar and integrations.",
|
|
28
|
+
languageTitle: "Language",
|
|
29
|
+
languageDescription: "Choose the interface language for Calendar.",
|
|
30
|
+
languageLabel: "Interface language",
|
|
31
|
+
googleCalendar: "Google Calendar",
|
|
32
|
+
googleDescription: "Connect your Google Calendar to sync events.",
|
|
33
|
+
googleFailed: "Google sign-in failed",
|
|
34
|
+
googleDisconnected: "Google Calendar disconnected",
|
|
35
|
+
disconnectFailed: "Failed to disconnect",
|
|
36
|
+
zoomOpened: "Zoom connection opened",
|
|
37
|
+
zoomConnectFailed: "Could not connect Zoom",
|
|
38
|
+
zoomDisconnected: "Zoom disconnected",
|
|
39
|
+
zoomDisconnectFailed: "Failed to disconnect Zoom",
|
|
40
|
+
general: "General",
|
|
41
|
+
generalDescription: "Calendar defaults and fallback booking copy.",
|
|
42
|
+
timezone: "Timezone",
|
|
43
|
+
saveSettings: "Save Settings",
|
|
44
|
+
saved: "Settings saved",
|
|
45
|
+
saveFailed: "Failed to save settings",
|
|
46
|
+
appearance: "Appearance",
|
|
47
|
+
appearanceDescription:
|
|
48
|
+
"Pick a color theme for your workspace. Or just ask the agent.",
|
|
49
|
+
connectGoogleCalendar: "Connect Google Calendar",
|
|
50
|
+
connectGoogleDescription:
|
|
51
|
+
"Sync your events and manage everything in one place.",
|
|
52
|
+
},
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
type Messages = typeof enUS;
|
|
56
|
+
type PartialMessages = { [K in keyof Messages]?: Partial<Messages[K]> };
|
|
57
|
+
|
|
58
|
+
function mergeMessages(overrides: PartialMessages): Messages {
|
|
59
|
+
return {
|
|
60
|
+
common: { ...enUS.common, ...overrides.common },
|
|
61
|
+
root: { ...enUS.root, ...overrides.root },
|
|
62
|
+
navigation: { ...enUS.navigation, ...overrides.navigation },
|
|
63
|
+
settings: { ...enUS.settings, ...overrides.settings },
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export const messagesByLocale = {
|
|
68
|
+
"en-US": enUS,
|
|
69
|
+
"zh-CN": mergeMessages({
|
|
70
|
+
common: {
|
|
71
|
+
connect: "连接",
|
|
72
|
+
connected: "已连接",
|
|
73
|
+
connecting: "正在连接...",
|
|
74
|
+
disconnect: "断开连接",
|
|
75
|
+
notConnected: "未连接",
|
|
76
|
+
saving: "正在保存...",
|
|
77
|
+
},
|
|
78
|
+
root: {
|
|
79
|
+
commandActions: "操作",
|
|
80
|
+
commandSearch: "搜索",
|
|
81
|
+
commandAppearance: "外观",
|
|
82
|
+
toggleTheme: "切换主题",
|
|
83
|
+
},
|
|
84
|
+
navigation: {
|
|
85
|
+
brand: "Calendar",
|
|
86
|
+
calendar: "日历",
|
|
87
|
+
bookingLinks: "预约链接",
|
|
88
|
+
team: "团队",
|
|
89
|
+
settings: "设置",
|
|
90
|
+
},
|
|
91
|
+
settings: {
|
|
92
|
+
title: "设置",
|
|
93
|
+
description: "配置日历和集成。",
|
|
94
|
+
languageTitle: "语言",
|
|
95
|
+
languageDescription: "选择 Calendar 的界面语言。",
|
|
96
|
+
languageLabel: "界面语言",
|
|
97
|
+
googleCalendar: "Google 日历",
|
|
98
|
+
googleDescription: "连接 Google 日历以同步事件。",
|
|
99
|
+
googleFailed: "Google 登录失败",
|
|
100
|
+
googleDisconnected: "Google 日历已断开连接",
|
|
101
|
+
disconnectFailed: "断开连接失败",
|
|
102
|
+
zoomOpened: "Zoom 连接已打开",
|
|
103
|
+
zoomConnectFailed: "无法连接 Zoom",
|
|
104
|
+
zoomDisconnected: "Zoom 已断开连接",
|
|
105
|
+
zoomDisconnectFailed: "断开 Zoom 失败",
|
|
106
|
+
general: "通用",
|
|
107
|
+
generalDescription: "日历默认值和备用预约文案。",
|
|
108
|
+
timezone: "时区",
|
|
109
|
+
saveSettings: "保存设置",
|
|
110
|
+
saved: "设置已保存",
|
|
111
|
+
saveFailed: "保存设置失败",
|
|
112
|
+
appearance: "外观",
|
|
113
|
+
appearanceDescription: "为工作区选择颜色主题,或直接询问代理。",
|
|
114
|
+
connectGoogleCalendar: "连接 Google 日历",
|
|
115
|
+
connectGoogleDescription: "同步你的事件并在一个地方管理所有内容。",
|
|
116
|
+
},
|
|
117
|
+
}),
|
|
118
|
+
"es-ES": mergeMessages({
|
|
119
|
+
common: {
|
|
120
|
+
connect: "Conectar",
|
|
121
|
+
connected: "Conectado",
|
|
122
|
+
connecting: "Conectando...",
|
|
123
|
+
disconnect: "Desconectar",
|
|
124
|
+
notConnected: "No conectado",
|
|
125
|
+
saving: "Guardando...",
|
|
126
|
+
},
|
|
127
|
+
root: {
|
|
128
|
+
commandActions: "Acciones",
|
|
129
|
+
commandSearch: "Buscar",
|
|
130
|
+
commandAppearance: "Apariencia",
|
|
131
|
+
toggleTheme: "Cambiar tema",
|
|
132
|
+
},
|
|
133
|
+
navigation: {
|
|
134
|
+
calendar: "Calendario",
|
|
135
|
+
bookingLinks: "Enlaces de reserva",
|
|
136
|
+
team: "Equipo",
|
|
137
|
+
settings: "Ajustes",
|
|
138
|
+
},
|
|
139
|
+
settings: {
|
|
140
|
+
title: "Ajustes",
|
|
141
|
+
description: "Configura tu calendario e integraciones.",
|
|
142
|
+
languageTitle: "Idioma",
|
|
143
|
+
languageDescription: "Elige el idioma de la interfaz de Calendar.",
|
|
144
|
+
languageLabel: "Idioma de la interfaz",
|
|
145
|
+
googleCalendar: "Google Calendar",
|
|
146
|
+
googleDescription: "Conecta Google Calendar para sincronizar eventos.",
|
|
147
|
+
googleFailed: "Error al iniciar sesión con Google",
|
|
148
|
+
googleDisconnected: "Google Calendar desconectado",
|
|
149
|
+
disconnectFailed: "No se pudo desconectar",
|
|
150
|
+
zoomOpened: "Conexión de Zoom abierta",
|
|
151
|
+
zoomConnectFailed: "No se pudo conectar Zoom",
|
|
152
|
+
zoomDisconnected: "Zoom desconectado",
|
|
153
|
+
zoomDisconnectFailed: "No se pudo desconectar Zoom",
|
|
154
|
+
general: "General",
|
|
155
|
+
generalDescription: "Valores predeterminados del calendario y reservas.",
|
|
156
|
+
timezone: "Zona horaria",
|
|
157
|
+
saveSettings: "Guardar ajustes",
|
|
158
|
+
saved: "Ajustes guardados",
|
|
159
|
+
saveFailed: "No se pudieron guardar los ajustes",
|
|
160
|
+
appearance: "Apariencia",
|
|
161
|
+
appearanceDescription:
|
|
162
|
+
"Elige un tema de color para tu workspace o pídeselo al agente.",
|
|
163
|
+
connectGoogleCalendar: "Conectar Google Calendar",
|
|
164
|
+
connectGoogleDescription:
|
|
165
|
+
"Sincroniza eventos y gestiona todo en un solo lugar.",
|
|
166
|
+
},
|
|
167
|
+
}),
|
|
168
|
+
"fr-FR": mergeMessages({
|
|
169
|
+
common: {
|
|
170
|
+
connect: "Connecter",
|
|
171
|
+
connected: "Connecté",
|
|
172
|
+
connecting: "Connexion...",
|
|
173
|
+
disconnect: "Déconnecter",
|
|
174
|
+
notConnected: "Non connecté",
|
|
175
|
+
saving: "Enregistrement...",
|
|
176
|
+
},
|
|
177
|
+
root: {
|
|
178
|
+
commandActions: "Actions",
|
|
179
|
+
commandSearch: "Rechercher",
|
|
180
|
+
commandAppearance: "Apparence",
|
|
181
|
+
toggleTheme: "Changer de thème",
|
|
182
|
+
},
|
|
183
|
+
navigation: {
|
|
184
|
+
calendar: "Calendrier",
|
|
185
|
+
bookingLinks: "Liens de réservation",
|
|
186
|
+
team: "Équipe",
|
|
187
|
+
settings: "Paramètres",
|
|
188
|
+
},
|
|
189
|
+
settings: {
|
|
190
|
+
title: "Paramètres",
|
|
191
|
+
description: "Configurez votre calendrier et vos intégrations.",
|
|
192
|
+
languageTitle: "Langue",
|
|
193
|
+
languageDescription: "Choisissez la langue de l'interface de Calendar.",
|
|
194
|
+
languageLabel: "Langue de l'interface",
|
|
195
|
+
googleCalendar: "Google Calendar",
|
|
196
|
+
googleDescription:
|
|
197
|
+
"Connectez Google Calendar pour synchroniser les événements.",
|
|
198
|
+
googleFailed: "Échec de la connexion Google",
|
|
199
|
+
googleDisconnected: "Google Calendar déconnecté",
|
|
200
|
+
disconnectFailed: "Échec de la déconnexion",
|
|
201
|
+
zoomOpened: "Connexion Zoom ouverte",
|
|
202
|
+
zoomConnectFailed: "Impossible de connecter Zoom",
|
|
203
|
+
zoomDisconnected: "Zoom déconnecté",
|
|
204
|
+
zoomDisconnectFailed: "Impossible de déconnecter Zoom",
|
|
205
|
+
general: "Général",
|
|
206
|
+
generalDescription: "Valeurs par défaut du calendrier et réservations.",
|
|
207
|
+
timezone: "Fuseau horaire",
|
|
208
|
+
saveSettings: "Enregistrer",
|
|
209
|
+
saved: "Paramètres enregistrés",
|
|
210
|
+
saveFailed: "Échec de l'enregistrement",
|
|
211
|
+
appearance: "Apparence",
|
|
212
|
+
appearanceDescription:
|
|
213
|
+
"Choisissez un thème de couleur pour votre espace, ou demandez à l'agent.",
|
|
214
|
+
connectGoogleCalendar: "Connecter Google Calendar",
|
|
215
|
+
connectGoogleDescription:
|
|
216
|
+
"Synchronisez vos événements et gérez tout au même endroit.",
|
|
217
|
+
},
|
|
218
|
+
}),
|
|
219
|
+
"de-DE": mergeMessages({
|
|
220
|
+
common: {
|
|
221
|
+
connect: "Verbinden",
|
|
222
|
+
connected: "Verbunden",
|
|
223
|
+
connecting: "Verbinden...",
|
|
224
|
+
disconnect: "Trennen",
|
|
225
|
+
notConnected: "Nicht verbunden",
|
|
226
|
+
saving: "Speichern...",
|
|
227
|
+
},
|
|
228
|
+
root: {
|
|
229
|
+
commandActions: "Aktionen",
|
|
230
|
+
commandSearch: "Suchen",
|
|
231
|
+
commandAppearance: "Darstellung",
|
|
232
|
+
toggleTheme: "Theme wechseln",
|
|
233
|
+
},
|
|
234
|
+
navigation: {
|
|
235
|
+
calendar: "Kalender",
|
|
236
|
+
bookingLinks: "Buchungslinks",
|
|
237
|
+
team: "Team",
|
|
238
|
+
settings: "Einstellungen",
|
|
239
|
+
},
|
|
240
|
+
settings: {
|
|
241
|
+
title: "Einstellungen",
|
|
242
|
+
description: "Kalender und Integrationen konfigurieren.",
|
|
243
|
+
languageTitle: "Sprache",
|
|
244
|
+
languageDescription: "Wähle die Oberflächensprache für Calendar.",
|
|
245
|
+
languageLabel: "Oberflächensprache",
|
|
246
|
+
googleCalendar: "Google Kalender",
|
|
247
|
+
googleDescription:
|
|
248
|
+
"Verbinde Google Kalender, um Termine zu synchronisieren.",
|
|
249
|
+
googleFailed: "Google-Anmeldung fehlgeschlagen",
|
|
250
|
+
googleDisconnected: "Google Kalender getrennt",
|
|
251
|
+
disconnectFailed: "Trennen fehlgeschlagen",
|
|
252
|
+
zoomOpened: "Zoom-Verbindung geöffnet",
|
|
253
|
+
zoomConnectFailed: "Zoom konnte nicht verbunden werden",
|
|
254
|
+
zoomDisconnected: "Zoom getrennt",
|
|
255
|
+
zoomDisconnectFailed: "Zoom konnte nicht getrennt werden",
|
|
256
|
+
general: "Allgemein",
|
|
257
|
+
generalDescription: "Kalender-Standards und Buchungstexte.",
|
|
258
|
+
timezone: "Zeitzone",
|
|
259
|
+
saveSettings: "Einstellungen speichern",
|
|
260
|
+
saved: "Einstellungen gespeichert",
|
|
261
|
+
saveFailed: "Einstellungen konnten nicht gespeichert werden",
|
|
262
|
+
appearance: "Darstellung",
|
|
263
|
+
appearanceDescription:
|
|
264
|
+
"Wähle ein Farbtheme für deinen Workspace oder frage den Agenten.",
|
|
265
|
+
connectGoogleCalendar: "Google Kalender verbinden",
|
|
266
|
+
connectGoogleDescription:
|
|
267
|
+
"Synchronisiere Termine und verwalte alles an einem Ort.",
|
|
268
|
+
},
|
|
269
|
+
}),
|
|
270
|
+
"ja-JP": mergeMessages({
|
|
271
|
+
common: {
|
|
272
|
+
connect: "接続",
|
|
273
|
+
connected: "接続済み",
|
|
274
|
+
connecting: "接続中...",
|
|
275
|
+
disconnect: "切断",
|
|
276
|
+
notConnected: "未接続",
|
|
277
|
+
saving: "保存中...",
|
|
278
|
+
},
|
|
279
|
+
root: {
|
|
280
|
+
commandActions: "操作",
|
|
281
|
+
commandSearch: "検索",
|
|
282
|
+
commandAppearance: "外観",
|
|
283
|
+
toggleTheme: "テーマを切り替え",
|
|
284
|
+
},
|
|
285
|
+
navigation: {
|
|
286
|
+
calendar: "カレンダー",
|
|
287
|
+
bookingLinks: "予約リンク",
|
|
288
|
+
team: "チーム",
|
|
289
|
+
settings: "設定",
|
|
290
|
+
},
|
|
291
|
+
settings: {
|
|
292
|
+
title: "設定",
|
|
293
|
+
description: "カレンダーと連携を設定します。",
|
|
294
|
+
languageTitle: "言語",
|
|
295
|
+
languageDescription: "Calendar のインターフェース言語を選択します。",
|
|
296
|
+
languageLabel: "インターフェース言語",
|
|
297
|
+
googleCalendar: "Google カレンダー",
|
|
298
|
+
googleDescription: "Google カレンダーを接続して予定を同期します。",
|
|
299
|
+
googleFailed: "Google サインインに失敗しました",
|
|
300
|
+
googleDisconnected: "Google カレンダーを切断しました",
|
|
301
|
+
disconnectFailed: "切断に失敗しました",
|
|
302
|
+
zoomOpened: "Zoom 接続を開きました",
|
|
303
|
+
zoomConnectFailed: "Zoom に接続できませんでした",
|
|
304
|
+
zoomDisconnected: "Zoom を切断しました",
|
|
305
|
+
zoomDisconnectFailed: "Zoom の切断に失敗しました",
|
|
306
|
+
general: "一般",
|
|
307
|
+
generalDescription: "カレンダー既定値と予約ページの代替文言。",
|
|
308
|
+
timezone: "タイムゾーン",
|
|
309
|
+
saveSettings: "設定を保存",
|
|
310
|
+
saved: "設定を保存しました",
|
|
311
|
+
saveFailed: "設定を保存できませんでした",
|
|
312
|
+
appearance: "外観",
|
|
313
|
+
appearanceDescription:
|
|
314
|
+
"ワークスペースのカラーテーマを選ぶか、エージェントに依頼します。",
|
|
315
|
+
connectGoogleCalendar: "Google カレンダーに接続",
|
|
316
|
+
connectGoogleDescription: "予定を同期して一か所で管理します。",
|
|
317
|
+
},
|
|
318
|
+
}),
|
|
319
|
+
"ko-KR": mergeMessages({
|
|
320
|
+
common: {
|
|
321
|
+
connect: "연결",
|
|
322
|
+
connected: "연결됨",
|
|
323
|
+
connecting: "연결 중...",
|
|
324
|
+
disconnect: "연결 해제",
|
|
325
|
+
notConnected: "연결되지 않음",
|
|
326
|
+
saving: "저장 중...",
|
|
327
|
+
},
|
|
328
|
+
root: {
|
|
329
|
+
commandActions: "작업",
|
|
330
|
+
commandSearch: "검색",
|
|
331
|
+
commandAppearance: "모양",
|
|
332
|
+
toggleTheme: "테마 전환",
|
|
333
|
+
},
|
|
334
|
+
navigation: {
|
|
335
|
+
calendar: "캘린더",
|
|
336
|
+
bookingLinks: "예약 링크",
|
|
337
|
+
team: "팀",
|
|
338
|
+
settings: "설정",
|
|
339
|
+
},
|
|
340
|
+
settings: {
|
|
341
|
+
title: "설정",
|
|
342
|
+
description: "캘린더와 통합을 구성합니다.",
|
|
343
|
+
languageTitle: "언어",
|
|
344
|
+
languageDescription: "Calendar의 인터페이스 언어를 선택하세요.",
|
|
345
|
+
languageLabel: "인터페이스 언어",
|
|
346
|
+
googleCalendar: "Google Calendar",
|
|
347
|
+
googleDescription: "이벤트 동기화를 위해 Google Calendar를 연결하세요.",
|
|
348
|
+
googleFailed: "Google 로그인 실패",
|
|
349
|
+
googleDisconnected: "Google Calendar 연결 해제됨",
|
|
350
|
+
disconnectFailed: "연결 해제 실패",
|
|
351
|
+
zoomOpened: "Zoom 연결 열림",
|
|
352
|
+
zoomConnectFailed: "Zoom을 연결할 수 없음",
|
|
353
|
+
zoomDisconnected: "Zoom 연결 해제됨",
|
|
354
|
+
zoomDisconnectFailed: "Zoom 연결 해제 실패",
|
|
355
|
+
general: "일반",
|
|
356
|
+
generalDescription: "캘린더 기본값과 예약 복사 문구.",
|
|
357
|
+
timezone: "시간대",
|
|
358
|
+
saveSettings: "설정 저장",
|
|
359
|
+
saved: "설정 저장됨",
|
|
360
|
+
saveFailed: "설정 저장 실패",
|
|
361
|
+
appearance: "모양",
|
|
362
|
+
appearanceDescription:
|
|
363
|
+
"워크스페이스 색상 테마를 선택하거나 에이전트에게 요청하세요.",
|
|
364
|
+
connectGoogleCalendar: "Google Calendar 연결",
|
|
365
|
+
connectGoogleDescription: "이벤트를 동기화하고 한곳에서 관리하세요.",
|
|
366
|
+
},
|
|
367
|
+
}),
|
|
368
|
+
"pt-BR": mergeMessages({
|
|
369
|
+
common: {
|
|
370
|
+
connect: "Conectar",
|
|
371
|
+
connected: "Conectado",
|
|
372
|
+
connecting: "Conectando...",
|
|
373
|
+
disconnect: "Desconectar",
|
|
374
|
+
notConnected: "Não conectado",
|
|
375
|
+
saving: "Salvando...",
|
|
376
|
+
},
|
|
377
|
+
root: {
|
|
378
|
+
commandActions: "Ações",
|
|
379
|
+
commandSearch: "Buscar",
|
|
380
|
+
commandAppearance: "Aparência",
|
|
381
|
+
toggleTheme: "Alternar tema",
|
|
382
|
+
},
|
|
383
|
+
navigation: {
|
|
384
|
+
calendar: "Calendário",
|
|
385
|
+
bookingLinks: "Links de reserva",
|
|
386
|
+
team: "Equipe",
|
|
387
|
+
settings: "Configurações",
|
|
388
|
+
},
|
|
389
|
+
settings: {
|
|
390
|
+
title: "Configurações",
|
|
391
|
+
description: "Configure seu calendário e integrações.",
|
|
392
|
+
languageTitle: "Idioma",
|
|
393
|
+
languageDescription: "Escolha o idioma da interface do Calendar.",
|
|
394
|
+
languageLabel: "Idioma da interface",
|
|
395
|
+
googleCalendar: "Google Calendar",
|
|
396
|
+
googleDescription: "Conecte o Google Calendar para sincronizar eventos.",
|
|
397
|
+
googleFailed: "Falha no login do Google",
|
|
398
|
+
googleDisconnected: "Google Calendar desconectado",
|
|
399
|
+
disconnectFailed: "Falha ao desconectar",
|
|
400
|
+
zoomOpened: "Conexão do Zoom aberta",
|
|
401
|
+
zoomConnectFailed: "Não foi possível conectar o Zoom",
|
|
402
|
+
zoomDisconnected: "Zoom desconectado",
|
|
403
|
+
zoomDisconnectFailed: "Falha ao desconectar Zoom",
|
|
404
|
+
general: "Geral",
|
|
405
|
+
generalDescription: "Padrões do calendário e texto de reserva.",
|
|
406
|
+
timezone: "Fuso horário",
|
|
407
|
+
saveSettings: "Salvar configurações",
|
|
408
|
+
saved: "Configurações salvas",
|
|
409
|
+
saveFailed: "Falha ao salvar configurações",
|
|
410
|
+
appearance: "Aparência",
|
|
411
|
+
appearanceDescription:
|
|
412
|
+
"Escolha um tema de cor para o workspace ou peça ao agente.",
|
|
413
|
+
connectGoogleCalendar: "Conectar Google Calendar",
|
|
414
|
+
connectGoogleDescription:
|
|
415
|
+
"Sincronize eventos e gerencie tudo em um só lugar.",
|
|
416
|
+
},
|
|
417
|
+
}),
|
|
418
|
+
"hi-IN": mergeMessages({
|
|
419
|
+
common: {
|
|
420
|
+
connect: "कनेक्ट करें",
|
|
421
|
+
connected: "कनेक्टेड",
|
|
422
|
+
connecting: "कनेक्ट कर रहे हैं...",
|
|
423
|
+
disconnect: "डिस्कनेक्ट करें",
|
|
424
|
+
notConnected: "कनेक्टेड नहीं",
|
|
425
|
+
saving: "सहेज रहे हैं...",
|
|
426
|
+
},
|
|
427
|
+
root: {
|
|
428
|
+
commandActions: "क्रियाएं",
|
|
429
|
+
commandSearch: "खोजें",
|
|
430
|
+
commandAppearance: "रूप",
|
|
431
|
+
toggleTheme: "थीम बदलें",
|
|
432
|
+
},
|
|
433
|
+
navigation: {
|
|
434
|
+
calendar: "कैलेंडर",
|
|
435
|
+
bookingLinks: "बुकिंग लिंक",
|
|
436
|
+
team: "टीम",
|
|
437
|
+
settings: "सेटिंग्स",
|
|
438
|
+
},
|
|
439
|
+
settings: {
|
|
440
|
+
title: "सेटिंग्स",
|
|
441
|
+
description: "अपना कैलेंडर और integrations कॉन्फ़िगर करें।",
|
|
442
|
+
languageTitle: "भाषा",
|
|
443
|
+
languageDescription: "Calendar की interface भाषा चुनें।",
|
|
444
|
+
languageLabel: "इंटरफ़ेस भाषा",
|
|
445
|
+
googleCalendar: "Google Calendar",
|
|
446
|
+
googleDescription: "events sync करने के लिए Google Calendar कनेक्ट करें।",
|
|
447
|
+
googleFailed: "Google sign-in विफल",
|
|
448
|
+
googleDisconnected: "Google Calendar डिस्कनेक्ट हुआ",
|
|
449
|
+
disconnectFailed: "डिस्कनेक्ट विफल",
|
|
450
|
+
zoomOpened: "Zoom connection खुला",
|
|
451
|
+
zoomConnectFailed: "Zoom कनेक्ट नहीं कर सके",
|
|
452
|
+
zoomDisconnected: "Zoom डिस्कनेक्ट हुआ",
|
|
453
|
+
zoomDisconnectFailed: "Zoom डिस्कनेक्ट विफल",
|
|
454
|
+
general: "सामान्य",
|
|
455
|
+
generalDescription: "Calendar defaults और fallback booking copy.",
|
|
456
|
+
timezone: "समय क्षेत्र",
|
|
457
|
+
saveSettings: "सेटिंग्स सहेजें",
|
|
458
|
+
saved: "सेटिंग्स सहेजी गईं",
|
|
459
|
+
saveFailed: "सेटिंग्स सहेजने में विफल",
|
|
460
|
+
appearance: "रूप",
|
|
461
|
+
appearanceDescription:
|
|
462
|
+
"workspace के लिए color theme चुनें या agent से पूछें।",
|
|
463
|
+
connectGoogleCalendar: "Google Calendar कनेक्ट करें",
|
|
464
|
+
connectGoogleDescription:
|
|
465
|
+
"events sync करें और सब कुछ एक जगह manage करें।",
|
|
466
|
+
},
|
|
467
|
+
}),
|
|
468
|
+
"ar-SA": mergeMessages({
|
|
469
|
+
common: {
|
|
470
|
+
connect: "اتصال",
|
|
471
|
+
connected: "متصل",
|
|
472
|
+
connecting: "جارٍ الاتصال...",
|
|
473
|
+
disconnect: "قطع الاتصال",
|
|
474
|
+
notConnected: "غير متصل",
|
|
475
|
+
saving: "جارٍ الحفظ...",
|
|
476
|
+
},
|
|
477
|
+
root: {
|
|
478
|
+
commandActions: "الإجراءات",
|
|
479
|
+
commandSearch: "بحث",
|
|
480
|
+
commandAppearance: "المظهر",
|
|
481
|
+
toggleTheme: "تبديل السمة",
|
|
482
|
+
},
|
|
483
|
+
navigation: {
|
|
484
|
+
calendar: "التقويم",
|
|
485
|
+
bookingLinks: "روابط الحجز",
|
|
486
|
+
team: "الفريق",
|
|
487
|
+
settings: "الإعدادات",
|
|
488
|
+
},
|
|
489
|
+
settings: {
|
|
490
|
+
title: "الإعدادات",
|
|
491
|
+
description: "اضبط التقويم والتكاملات.",
|
|
492
|
+
languageTitle: "اللغة",
|
|
493
|
+
languageDescription: "اختر لغة واجهة Calendar.",
|
|
494
|
+
languageLabel: "لغة الواجهة",
|
|
495
|
+
googleCalendar: "تقويم Google",
|
|
496
|
+
googleDescription: "اربط تقويم Google لمزامنة الأحداث.",
|
|
497
|
+
googleFailed: "فشل تسجيل الدخول إلى Google",
|
|
498
|
+
googleDisconnected: "تم قطع اتصال تقويم Google",
|
|
499
|
+
disconnectFailed: "فشل قطع الاتصال",
|
|
500
|
+
zoomOpened: "تم فتح اتصال Zoom",
|
|
501
|
+
zoomConnectFailed: "تعذر الاتصال بـ Zoom",
|
|
502
|
+
zoomDisconnected: "تم قطع اتصال Zoom",
|
|
503
|
+
zoomDisconnectFailed: "فشل قطع اتصال Zoom",
|
|
504
|
+
general: "عام",
|
|
505
|
+
generalDescription: "إعدادات التقويم الافتراضية ونصوص الحجز البديلة.",
|
|
506
|
+
timezone: "المنطقة الزمنية",
|
|
507
|
+
saveSettings: "حفظ الإعدادات",
|
|
508
|
+
saved: "تم حفظ الإعدادات",
|
|
509
|
+
saveFailed: "فشل حفظ الإعدادات",
|
|
510
|
+
appearance: "المظهر",
|
|
511
|
+
appearanceDescription: "اختر سمة ألوان لمساحة العمل أو اسأل الوكيل.",
|
|
512
|
+
connectGoogleCalendar: "الاتصال بتقويم Google",
|
|
513
|
+
connectGoogleDescription: "زامن أحداثك وأدر كل شيء في مكان واحد.",
|
|
514
|
+
},
|
|
515
|
+
}),
|
|
516
|
+
} satisfies Record<LocaleCode, Messages>;
|
|
@@ -72,6 +72,7 @@ import { useQueryClient } from "@tanstack/react-query";
|
|
|
72
72
|
import {
|
|
73
73
|
AgentToggleButton,
|
|
74
74
|
agentNativePath,
|
|
75
|
+
LanguagePicker,
|
|
75
76
|
NotificationsBell,
|
|
76
77
|
} from "@agent-native/core/client";
|
|
77
78
|
import { useIsMobile } from "@/hooks/use-mobile";
|
|
@@ -1415,6 +1416,7 @@ export default function CalendarView() {
|
|
|
1415
1416
|
emptyDescription="Calendar can pop browser alerts while this app is open. Clips desktop handles fuller meeting prompts with one-click notes."
|
|
1416
1417
|
/>
|
|
1417
1418
|
)}
|
|
1419
|
+
<LanguagePicker variant="icon" />
|
|
1418
1420
|
<CreateEventPopover
|
|
1419
1421
|
open={createDialogOpen}
|
|
1420
1422
|
onOpenChange={(open) => {
|