@agent-native/core 0.101.13 → 0.102.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 +1 -1
- package/corpus/core/CHANGELOG.md +13 -0
- package/corpus/core/package.json +4 -2
- package/corpus/core/src/cli/create.ts +32 -10
- package/corpus/core/src/cli/templates-meta.ts +13 -0
- package/corpus/core/src/client/AgentPanel.tsx +61 -48
- package/corpus/core/src/client/chat/message-components.tsx +1 -0
- package/corpus/core/src/client/chat/tool-call-display.tsx +12 -2
- package/corpus/core/src/client/org/OrgSwitcher.tsx +2 -0
- package/corpus/templates/clips/app/components/player/share-dialog.tsx +1 -1
- package/corpus/templates/clips/app/i18n/ar-SA.ts +1 -0
- package/corpus/templates/clips/app/i18n/de-DE.ts +1 -0
- package/corpus/templates/clips/app/i18n/en-US.ts +1 -0
- package/corpus/templates/clips/app/i18n/es-ES.ts +1 -0
- package/corpus/templates/clips/app/i18n/fr-FR.ts +1 -0
- package/corpus/templates/clips/app/i18n/hi-IN.ts +1 -0
- package/corpus/templates/clips/app/i18n/ja-JP.ts +1 -0
- package/corpus/templates/clips/app/i18n/ko-KR.ts +1 -0
- package/corpus/templates/clips/app/i18n/pt-BR.ts +1 -0
- package/corpus/templates/clips/app/i18n/zh-CN.ts +1 -0
- package/corpus/templates/clips/app/i18n/zh-TW.ts +1 -0
- package/corpus/templates/clips/changelog/2026-07-15-public-clip-links-are-labeled-share-with-humans-for-clarity.md +6 -0
- package/corpus/templates/content/actions/_database-source-utils.ts +59 -4
- package/corpus/templates/content/actions/prepare-builder-source-review.ts +9 -0
- package/corpus/templates/content/actions/preview-builder-source-review.ts +6 -4
- package/corpus/templates/content/app/components/editor/database/DatabaseView.tsx +4 -0
- package/corpus/templates/content/changelog/2026-07-15-selected-builder-reviews-now-load-only-the-chosen-rows-avoid.md +6 -0
- package/corpus/templates/content/shared/api.ts +1 -0
- package/corpus/templates/forms/actions/delete-form.ts +4 -0
- package/corpus/templates/forms/actions/patch-form-fields.ts +3 -0
- package/corpus/templates/forms/actions/restore-form.ts +3 -0
- package/corpus/templates/forms/actions/update-form.ts +3 -0
- package/corpus/templates/forms/app/pages/FormBuilderPage.tsx +2 -2
- package/corpus/templates/forms/app/pages/ResponsesPage.tsx +2 -2
- package/corpus/templates/forms/changelog/2026-07-15-published-forms-now-reflect-field-updates-immediately-at-the.md +6 -0
- package/corpus/templates/forms/changelog/2026-07-15-response-rows-now-keep-every-column-aligned-to-the-top-for-c.md +6 -0
- package/corpus/templates/forms/server/handlers/forms.ts +1 -0
- package/corpus/templates/forms/server/lib/public-form-ssr.ts +47 -4
- package/corpus/templates/slides/app/components/editor/SlideEditor.tsx +189 -82
- package/corpus/templates/slides/app/pages/DeckEditor.tsx +1 -1
- package/corpus/templates/tasks/.agents/commands/visual-plan.md +9 -0
- package/corpus/templates/tasks/.agents/commands/visual-recap.md +8 -0
- package/corpus/templates/tasks/.agents/skills/actions/SKILL.md +492 -0
- package/corpus/templates/tasks/.agents/skills/adding-a-feature/SKILL.md +189 -0
- package/corpus/templates/tasks/.agents/skills/agent-native-docs/SKILL.md +76 -0
- package/corpus/templates/tasks/.agents/skills/agent-watchdog/README.md +43 -0
- package/corpus/templates/tasks/.agents/skills/agent-watchdog/SKILL.md +110 -0
- package/corpus/templates/tasks/.agents/skills/agent-watchdog/agents/openai.yaml +4 -0
- package/corpus/templates/tasks/.agents/skills/capture-learnings/SKILL.md +89 -0
- package/corpus/templates/tasks/.agents/skills/change-summary/SKILL.md +83 -0
- package/corpus/templates/tasks/.agents/skills/create-skill/SKILL.md +221 -0
- package/corpus/templates/tasks/.agents/skills/delegate-to-agent/SKILL.md +263 -0
- package/corpus/templates/tasks/.agents/skills/efficient-fable/README.md +75 -0
- package/corpus/templates/tasks/.agents/skills/efficient-fable/SKILL.md +95 -0
- package/corpus/templates/tasks/.agents/skills/efficient-frontier/README.md +53 -0
- package/corpus/templates/tasks/.agents/skills/efficient-frontier/SKILL.md +73 -0
- package/corpus/templates/tasks/.agents/skills/frontend-design/SKILL.md +112 -0
- package/corpus/templates/tasks/.agents/skills/plan-arbiter/README.md +41 -0
- package/corpus/templates/tasks/.agents/skills/plan-arbiter/SKILL.md +114 -0
- package/corpus/templates/tasks/.agents/skills/plan-arbiter/agents/openai.yaml +4 -0
- package/corpus/templates/tasks/.agents/skills/plow-ahead/README.md +42 -0
- package/corpus/templates/tasks/.agents/skills/plow-ahead/SKILL.md +104 -0
- package/corpus/templates/tasks/.agents/skills/plow-ahead/agents/openai.yaml +4 -0
- package/corpus/templates/tasks/.agents/skills/quick-recap/README.md +55 -0
- package/corpus/templates/tasks/.agents/skills/quick-recap/SKILL.md +54 -0
- package/corpus/templates/tasks/.agents/skills/read-the-damn-docs/README.md +54 -0
- package/corpus/templates/tasks/.agents/skills/read-the-damn-docs/SKILL.md +126 -0
- package/corpus/templates/tasks/.agents/skills/read-the-damn-docs/agents/openai.yaml +4 -0
- package/corpus/templates/tasks/.agents/skills/real-time-sync/SKILL.md +232 -0
- package/corpus/templates/tasks/.agents/skills/security/SKILL.md +280 -0
- package/corpus/templates/tasks/.agents/skills/self-modifying-code/SKILL.md +106 -0
- package/corpus/templates/tasks/.agents/skills/shadcn-ui/SKILL.md +95 -0
- package/corpus/templates/tasks/.agents/skills/stay-within-limits/README.md +61 -0
- package/corpus/templates/tasks/.agents/skills/stay-within-limits/SKILL.md +83 -0
- package/corpus/templates/tasks/.agents/skills/upgrade-agent-native/SKILL.md +87 -0
- package/corpus/templates/tasks/.agents/skills/visual-plan/SKILL.md +547 -0
- package/corpus/templates/tasks/.agents/skills/visual-plan/agent-native-skill.json +12 -0
- package/corpus/templates/tasks/.agents/skills/visual-plan/references/canvas.md +121 -0
- package/corpus/templates/tasks/.agents/skills/visual-plan/references/document-quality.md +178 -0
- package/corpus/templates/tasks/.agents/skills/visual-plan/references/exemplar.md +62 -0
- package/corpus/templates/tasks/.agents/skills/visual-plan/references/wireframe.md +264 -0
- package/corpus/templates/tasks/.agents/skills/visual-recap/SKILL.md +634 -0
- package/corpus/templates/tasks/.agents/skills/visual-recap/agent-native-skill.json +12 -0
- package/corpus/templates/tasks/.agents/skills/visual-recap/references/wireframe.md +264 -0
- package/corpus/templates/tasks/.claude/commands/visual-plan.md +9 -0
- package/corpus/templates/tasks/.claude/commands/visual-recap.md +8 -0
- package/corpus/templates/tasks/.env.example +5 -0
- package/corpus/templates/tasks/.ignore +0 -0
- package/corpus/templates/tasks/.prettierrc +5 -0
- package/corpus/templates/tasks/AGENTS.md +158 -0
- package/corpus/templates/tasks/DEVELOPING.md +185 -0
- package/corpus/templates/tasks/README.md +16 -0
- package/corpus/templates/tasks/actions/bulk-delete-inbox-items.ts +24 -0
- package/corpus/templates/tasks/actions/bulk-delete-tasks.ts +21 -0
- package/corpus/templates/tasks/actions/bulk-mark-inbox-items-ready.ts +27 -0
- package/corpus/templates/tasks/actions/bulk-update-tasks.ts +35 -0
- package/corpus/templates/tasks/actions/create-custom-field.ts +22 -0
- package/corpus/templates/tasks/actions/create-inbox-item.ts +30 -0
- package/corpus/templates/tasks/actions/create-task.ts +33 -0
- package/corpus/templates/tasks/actions/delete-custom-field.ts +19 -0
- package/corpus/templates/tasks/actions/delete-inbox-item.ts +17 -0
- package/corpus/templates/tasks/actions/delete-task.ts +17 -0
- package/corpus/templates/tasks/actions/lib/boolean-query-param.ts +30 -0
- package/corpus/templates/tasks/actions/list-custom-fields.ts +18 -0
- package/corpus/templates/tasks/actions/list-inbox-items.ts +16 -0
- package/corpus/templates/tasks/actions/list-tasks.ts +52 -0
- package/corpus/templates/tasks/actions/list-visible-task-fields.ts +18 -0
- package/corpus/templates/tasks/actions/mark-inbox-item-ready.ts +31 -0
- package/corpus/templates/tasks/actions/navigate.ts +51 -0
- package/corpus/templates/tasks/actions/reorder-custom-fields.ts +27 -0
- package/corpus/templates/tasks/actions/reorder-inbox-items.ts +24 -0
- package/corpus/templates/tasks/actions/reorder-tasks.ts +29 -0
- package/corpus/templates/tasks/actions/run.ts +2 -0
- package/corpus/templates/tasks/actions/update-custom-field.ts +33 -0
- package/corpus/templates/tasks/actions/update-inbox-item.ts +24 -0
- package/corpus/templates/tasks/actions/update-task.ts +68 -0
- package/corpus/templates/tasks/actions/update-visible-task-fields.ts +27 -0
- package/corpus/templates/tasks/actions/view-screen-helpers.ts +68 -0
- package/corpus/templates/tasks/actions/view-screen.ts +207 -0
- package/corpus/templates/tasks/app/components/custom-fields/FieldCreateBar.tsx +121 -0
- package/corpus/templates/tasks/app/components/custom-fields/FieldListRow.tsx +116 -0
- package/corpus/templates/tasks/app/components/custom-fields/FieldsList.tsx +225 -0
- package/corpus/templates/tasks/app/components/custom-fields/FieldsListSkeleton.tsx +18 -0
- package/corpus/templates/tasks/app/components/custom-fields/FieldsPage.tsx +42 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/FieldEditorSidebar.tsx +69 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/FieldTitleSection.tsx +32 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/config/CurrencyConfigControl.tsx +49 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/config/FieldConfigControl.tsx +56 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/config/NumberConfigControl.tsx +52 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/config/PercentConfigControl.tsx +30 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/config/SelectConfigControl.tsx +135 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/config/select-colors.ts +23 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/config/utils.ts +52 -0
- package/corpus/templates/tasks/app/components/custom-fields/editor/types.ts +7 -0
- package/corpus/templates/tasks/app/components/dnd/SortableItem.tsx +72 -0
- package/corpus/templates/tasks/app/components/dnd/SortableList.tsx +136 -0
- package/corpus/templates/tasks/app/components/dnd/reorder-moving-items.ts +160 -0
- package/corpus/templates/tasks/app/components/dnd/sortable-drag-props.ts +60 -0
- package/corpus/templates/tasks/app/components/inbox/InboxList.tsx +222 -0
- package/corpus/templates/tasks/app/components/inbox/InboxListPage.tsx +39 -0
- package/corpus/templates/tasks/app/components/inbox/InboxListRow.tsx +122 -0
- package/corpus/templates/tasks/app/components/layout/Header.tsx +55 -0
- package/corpus/templates/tasks/app/components/layout/HeaderActions.tsx +84 -0
- package/corpus/templates/tasks/app/components/layout/Layout.tsx +134 -0
- package/corpus/templates/tasks/app/components/layout/Sidebar.tsx +211 -0
- package/corpus/templates/tasks/app/components/shared/AddListItemInput.tsx +57 -0
- package/corpus/templates/tasks/app/components/shared/AlertDialog.tsx +53 -0
- package/corpus/templates/tasks/app/components/shared/BulkDeleteDialog.tsx +76 -0
- package/corpus/templates/tasks/app/components/shared/ChipSelect.tsx +240 -0
- package/corpus/templates/tasks/app/components/shared/DeleteItemDialog.tsx +40 -0
- package/corpus/templates/tasks/app/components/shared/InlineEditable.tsx +166 -0
- package/corpus/templates/tasks/app/components/shared/ListEmptyState.tsx +13 -0
- package/corpus/templates/tasks/app/components/shared/ListErrorMessage.tsx +15 -0
- package/corpus/templates/tasks/app/components/shared/ListViewHeader.tsx +75 -0
- package/corpus/templates/tasks/app/components/shared/PageHeader.tsx +25 -0
- package/corpus/templates/tasks/app/components/shared/RowActionsMenu.tsx +42 -0
- package/corpus/templates/tasks/app/components/shared/SidePanel.tsx +99 -0
- package/corpus/templates/tasks/app/components/shared/dnd/ListRowPreview.tsx +37 -0
- package/corpus/templates/tasks/app/components/shared/list/List.tsx +63 -0
- package/corpus/templates/tasks/app/components/shared/list/ListRow.tsx +159 -0
- package/corpus/templates/tasks/app/components/shared/list/ListRowDragHandle.tsx +52 -0
- package/corpus/templates/tasks/app/components/shared/list/ListSkeletonRows.tsx +11 -0
- package/corpus/templates/tasks/app/components/shared/list/SortableListItemShell.tsx +32 -0
- package/corpus/templates/tasks/app/components/shared/list/types.ts +1 -0
- package/corpus/templates/tasks/app/components/shared/selection/ListSelectionBar.tsx +158 -0
- package/corpus/templates/tasks/app/components/shared/selection/ListSelectionHeaderToggle.tsx +28 -0
- package/corpus/templates/tasks/app/components/shared/selection/ListSelectionToolbar.tsx +81 -0
- package/corpus/templates/tasks/app/components/shared/selection/get-list-row-selection-ui.ts +41 -0
- package/corpus/templates/tasks/app/components/shared/selection/use-list-selection.ts +196 -0
- package/corpus/templates/tasks/app/components/tasks/TaskList.tsx +333 -0
- package/corpus/templates/tasks/app/components/tasks/TaskListHeaderRow.tsx +46 -0
- package/corpus/templates/tasks/app/components/tasks/TaskListPage.tsx +115 -0
- package/corpus/templates/tasks/app/components/tasks/TaskListRow.css +49 -0
- package/corpus/templates/tasks/app/components/tasks/TaskListRow.tsx +307 -0
- package/corpus/templates/tasks/app/components/tasks/fields/TaskFieldsSidebar.tsx +102 -0
- package/corpus/templates/tasks/app/components/tasks/fields/TaskTitleSection.tsx +27 -0
- package/corpus/templates/tasks/app/components/tasks/fields/controls/DateValueControl.tsx +21 -0
- package/corpus/templates/tasks/app/components/tasks/fields/controls/FieldValueControl.tsx +76 -0
- package/corpus/templates/tasks/app/components/tasks/fields/controls/MultiSelectValueControl.tsx +52 -0
- package/corpus/templates/tasks/app/components/tasks/fields/controls/NumberValueControl.tsx +56 -0
- package/corpus/templates/tasks/app/components/tasks/fields/controls/RichTextValueControl.tsx +115 -0
- package/corpus/templates/tasks/app/components/tasks/fields/controls/SingleSelectValueControl.tsx +61 -0
- package/corpus/templates/tasks/app/components/tasks/fields/controls/TextValueControl.tsx +20 -0
- package/corpus/templates/tasks/app/components/tasks/use-task-row-completion-animation.ts +181 -0
- package/corpus/templates/tasks/app/components/ui/accordion.tsx +56 -0
- package/corpus/templates/tasks/app/components/ui/alert-dialog.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/alert.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/aspect-ratio.tsx +5 -0
- package/corpus/templates/tasks/app/components/ui/avatar.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/badge.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/breadcrumb.tsx +115 -0
- package/corpus/templates/tasks/app/components/ui/button.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/calendar.tsx +70 -0
- package/corpus/templates/tasks/app/components/ui/card.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/carousel.tsx +260 -0
- package/corpus/templates/tasks/app/components/ui/chart.tsx +379 -0
- package/corpus/templates/tasks/app/components/ui/checkbox.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/collapsible.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/command.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/context-menu.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/dialog.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/drawer.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/dropdown-menu.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/form.tsx +177 -0
- package/corpus/templates/tasks/app/components/ui/hover-card.tsx +27 -0
- package/corpus/templates/tasks/app/components/ui/input-otp.tsx +69 -0
- package/corpus/templates/tasks/app/components/ui/input.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/label.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/menubar.tsx +254 -0
- package/corpus/templates/tasks/app/components/ui/navigation-menu.tsx +128 -0
- package/corpus/templates/tasks/app/components/ui/pagination.tsx +121 -0
- package/corpus/templates/tasks/app/components/ui/popover.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/progress.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/radio-group.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/resizable.tsx +43 -0
- package/corpus/templates/tasks/app/components/ui/scroll-area.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/select.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/separator.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/sheet.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/sidebar.tsx +782 -0
- package/corpus/templates/tasks/app/components/ui/skeleton.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/slider.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/sonner.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/spinner.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/switch.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/table.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/tabs.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/textarea.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/toast.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/toaster.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/toggle-group.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/toggle.tsx +43 -0
- package/corpus/templates/tasks/app/components/ui/tooltip.tsx +1 -0
- package/corpus/templates/tasks/app/components/ui/use-toast.ts +3 -0
- package/corpus/templates/tasks/app/entry.client.tsx +19 -0
- package/corpus/templates/tasks/app/entry.server.tsx +10 -0
- package/corpus/templates/tasks/app/global.css +93 -0
- package/corpus/templates/tasks/app/hooks/cache.ts +31 -0
- package/corpus/templates/tasks/app/hooks/use-custom-fields.ts +93 -0
- package/corpus/templates/tasks/app/hooks/use-inbox-items.ts +196 -0
- package/corpus/templates/tasks/app/hooks/use-mobile.tsx +21 -0
- package/corpus/templates/tasks/app/hooks/use-navigation-state.ts +40 -0
- package/corpus/templates/tasks/app/hooks/use-tasks.ts +276 -0
- package/corpus/templates/tasks/app/hooks/use-toast.ts +188 -0
- package/corpus/templates/tasks/app/hooks/use-visible-task-fields.ts +140 -0
- package/corpus/templates/tasks/app/lib/app-config.ts +11 -0
- package/corpus/templates/tasks/app/lib/tab-id.ts +1 -0
- package/corpus/templates/tasks/app/lib/utils.ts +1 -0
- package/corpus/templates/tasks/app/root.tsx +130 -0
- package/corpus/templates/tasks/app/routes/_index.tsx +22 -0
- package/corpus/templates/tasks/app/routes/extensions.$id.$slug.tsx +2 -0
- package/corpus/templates/tasks/app/routes/extensions.$id.tsx +11 -0
- package/corpus/templates/tasks/app/routes/extensions._index.tsx +11 -0
- package/corpus/templates/tasks/app/routes/extensions.tsx +5 -0
- package/corpus/templates/tasks/app/routes/fields.tsx +16 -0
- package/corpus/templates/tasks/app/routes/inbox.tsx +16 -0
- package/corpus/templates/tasks/app/routes/tasks.tsx +17 -0
- package/corpus/templates/tasks/app/routes/team.tsx +17 -0
- package/corpus/templates/tasks/app/routes.ts +4 -0
- package/corpus/templates/tasks/app/vite-env.d.ts +6 -0
- package/corpus/templates/tasks/components.json +20 -0
- package/corpus/templates/tasks/data/sync-config.json +1 -0
- package/corpus/templates/tasks/docs/features/README.md +81 -0
- package/corpus/templates/tasks/docs/features/f1-tasks.mdx +67 -0
- package/corpus/templates/tasks/docs/features/f2-custom-fields.mdx +68 -0
- package/corpus/templates/tasks/docs/features/f3-projects.mdx +33 -0
- package/corpus/templates/tasks/docs/features/f4-inbox.mdx +55 -0
- package/corpus/templates/tasks/docs/features/f5-views.mdx +65 -0
- package/corpus/templates/tasks/docs/features/f6-search.mdx +43 -0
- package/corpus/templates/tasks/docs/features/f7-first-run.mdx +66 -0
- package/corpus/templates/tasks/docs/features/f8-chat.mdx +120 -0
- package/corpus/templates/tasks/e2e/global-setup.ts +42 -0
- package/corpus/templates/tasks/e2e/helpers/inbox.ts +71 -0
- package/corpus/templates/tasks/e2e/helpers/tasks.ts +99 -0
- package/corpus/templates/tasks/learnings.defaults.md +5 -0
- package/corpus/templates/tasks/netlify.toml +10 -0
- package/corpus/templates/tasks/package.json +104 -0
- package/corpus/templates/tasks/playwright.config.ts +34 -0
- package/corpus/templates/tasks/public/agent-native-icon-dark.svg +10 -0
- package/corpus/templates/tasks/public/agent-native-icon-light.svg +10 -0
- package/corpus/templates/tasks/public/agent-native-logo-dark.svg +21 -0
- package/corpus/templates/tasks/public/agent-native-logo-light.svg +21 -0
- package/corpus/templates/tasks/public/favicon.svg +1 -0
- package/corpus/templates/tasks/public/icon-180.svg +1 -0
- package/corpus/templates/tasks/public/icon-192.svg +1 -0
- package/corpus/templates/tasks/public/icon-512.svg +1 -0
- package/corpus/templates/tasks/public/manifest.json +21 -0
- package/corpus/templates/tasks/react-router.config.ts +7 -0
- package/corpus/templates/tasks/server/custom-fields/normalize.ts +163 -0
- package/corpus/templates/tasks/server/custom-fields/parse.ts +146 -0
- package/corpus/templates/tasks/server/custom-fields/schema.ts +147 -0
- package/corpus/templates/tasks/server/custom-fields/store.ts +425 -0
- package/corpus/templates/tasks/server/custom-fields/task-fields.ts +104 -0
- package/corpus/templates/tasks/server/custom-fields/types.ts +98 -0
- package/corpus/templates/tasks/server/custom-fields/validate.ts +210 -0
- package/corpus/templates/tasks/server/custom-fields/values/store.ts +386 -0
- package/corpus/templates/tasks/server/db/bulk-write.ts +30 -0
- package/corpus/templates/tasks/server/db/index.ts +5 -0
- package/corpus/templates/tasks/server/db/record-utils.ts +7 -0
- package/corpus/templates/tasks/server/db/schema.ts +67 -0
- package/corpus/templates/tasks/server/db/test-tasks-table.ts +76 -0
- package/corpus/templates/tasks/server/db/transaction.ts +6 -0
- package/corpus/templates/tasks/server/errors.ts +31 -0
- package/corpus/templates/tasks/server/inbox/store.ts +216 -0
- package/corpus/templates/tasks/server/middleware/auth.ts +15 -0
- package/corpus/templates/tasks/server/plugins/agent-chat.ts +46 -0
- package/corpus/templates/tasks/server/plugins/auth.ts +15 -0
- package/corpus/templates/tasks/server/plugins/db.ts +90 -0
- package/corpus/templates/tasks/server/routes/[...page].get.ts +5 -0
- package/corpus/templates/tasks/server/stored-items/store.ts +548 -0
- package/corpus/templates/tasks/server/tasks/store.ts +306 -0
- package/corpus/templates/tasks/server/user-config/store.ts +138 -0
- package/corpus/templates/tasks/shared/app-state-tabs.ts +15 -0
- package/corpus/templates/tasks/shared/boolean-param.ts +22 -0
- package/corpus/templates/tasks/shared/bulk-limits.ts +7 -0
- package/corpus/templates/tasks/shared/list-screen-snapshot.ts +90 -0
- package/corpus/templates/tasks/shared/navigation.ts +104 -0
- package/corpus/templates/tasks/shared/visible-task-fields.ts +2 -0
- package/corpus/templates/tasks/ssr-entry.ts +15 -0
- package/corpus/templates/tasks/tsconfig.json +24 -0
- package/corpus/templates/tasks/vite.config.ts +19 -0
- package/corpus/templates/tasks/vitest.config.ts +8 -0
- package/dist/cli/create.d.ts +5 -2
- package/dist/cli/create.d.ts.map +1 -1
- package/dist/cli/create.js +22 -11
- package/dist/cli/create.js.map +1 -1
- package/dist/cli/templates-meta.d.ts.map +1 -1
- package/dist/cli/templates-meta.js +13 -0
- package/dist/cli/templates-meta.js.map +1 -1
- package/dist/client/AgentPanel.d.ts +2 -0
- package/dist/client/AgentPanel.d.ts.map +1 -1
- package/dist/client/AgentPanel.js +24 -13
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/chat/message-components.d.ts.map +1 -1
- package/dist/client/chat/message-components.js +1 -1
- package/dist/client/chat/message-components.js.map +1 -1
- package/dist/client/chat/tool-call-display.d.ts +3 -1
- package/dist/client/chat/tool-call-display.d.ts.map +1 -1
- package/dist/client/chat/tool-call-display.js +6 -5
- package/dist/client/chat/tool-call-display.js.map +1 -1
- package/dist/client/org/OrgSwitcher.d.ts.map +1 -1
- package/dist/client/org/OrgSwitcher.js +2 -1
- package/dist/client/org/OrgSwitcher.js.map +1 -1
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/templates/chat/.agents/skills/actions/SKILL.md +492 -0
- package/dist/templates/chat/.agents/skills/adding-a-feature/SKILL.md +189 -0
- package/dist/templates/chat/.agents/skills/agent-native-docs/SKILL.md +76 -0
- package/dist/templates/chat/.agents/skills/capture-learnings/SKILL.md +89 -0
- package/dist/templates/chat/.agents/skills/create-skill/SKILL.md +221 -0
- package/dist/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +263 -0
- package/dist/templates/chat/.agents/skills/frontend-design/SKILL.md +112 -0
- package/dist/templates/chat/.agents/skills/real-time-sync/SKILL.md +232 -0
- package/dist/templates/chat/.agents/skills/security/SKILL.md +280 -0
- package/dist/templates/chat/.agents/skills/self-modifying-code/SKILL.md +106 -0
- package/dist/templates/chat/.agents/skills/shadcn-ui/SKILL.md +95 -0
- package/dist/templates/chat/.agents/skills/upgrade-agent-native/SKILL.md +87 -0
- package/dist/templates/chat/.env.example +5 -0
- package/dist/templates/chat/.ignore +0 -0
- package/dist/templates/chat/.oxfmtrc.json +8 -0
- package/dist/templates/chat/.react-router/types/+server-build.d.ts +18 -0
- package/dist/templates/chat/.react-router/types/app/+types/root.ts +68 -0
- package/dist/templates/chat/AGENTS.md +62 -0
- package/dist/templates/chat/CHANGELOG.md +10 -0
- package/dist/templates/chat/DEVELOPING.md +185 -0
- package/dist/templates/chat/README.md +32 -0
- package/dist/templates/chat/_gitignore +43 -0
- package/dist/templates/chat/actions/hello.ts +13 -0
- package/dist/templates/chat/actions/navigate.ts +41 -0
- package/dist/templates/chat/actions/run.ts +2 -0
- package/dist/templates/chat/actions/view-screen.ts +31 -0
- package/dist/templates/chat/app/components/layout/Header.tsx +59 -0
- package/dist/templates/chat/app/components/layout/Layout.tsx +184 -0
- package/dist/templates/chat/app/components/layout/Sidebar.tsx +580 -0
- package/dist/templates/chat/app/components/ui/button.tsx +1 -0
- package/dist/templates/chat/app/components/ui/card.tsx +1 -0
- package/dist/templates/chat/app/components/ui/dropdown-menu.tsx +1 -0
- package/dist/templates/chat/app/components/ui/input.tsx +1 -0
- package/dist/templates/chat/app/components/ui/label.tsx +1 -0
- package/dist/templates/chat/app/components/ui/sheet.tsx +1 -0
- package/dist/templates/chat/app/components/ui/toolkit-provider.tsx +12 -0
- package/dist/templates/chat/app/components/ui/tooltip.tsx +1 -0
- package/dist/templates/chat/app/entry.client.tsx +19 -0
- package/dist/templates/chat/app/entry.server.tsx +10 -0
- package/dist/templates/chat/app/global.css +93 -0
- package/dist/templates/chat/app/hooks/use-navigation-state.ts +111 -0
- package/dist/templates/chat/app/i18n/ar-SA.ts +68 -0
- package/dist/templates/chat/app/i18n/de-DE.ts +71 -0
- package/dist/templates/chat/app/i18n/en-US.ts +70 -0
- package/dist/templates/chat/app/i18n/es-ES.ts +71 -0
- package/dist/templates/chat/app/i18n/fr-FR.ts +71 -0
- package/dist/templates/chat/app/i18n/hi-IN.ts +69 -0
- package/dist/templates/chat/app/i18n/index.ts +34 -0
- package/dist/templates/chat/app/i18n/ja-JP.ts +70 -0
- package/dist/templates/chat/app/i18n/ko-KR.ts +70 -0
- package/dist/templates/chat/app/i18n/pt-BR.ts +71 -0
- package/dist/templates/chat/app/i18n/zh-CN.ts +67 -0
- package/dist/templates/chat/app/i18n/zh-TW.ts +67 -0
- package/dist/templates/chat/app/i18n-data.ts +556 -0
- package/dist/templates/chat/app/lib/agent-page.tsx +40 -0
- package/dist/templates/chat/app/lib/app-config.ts +11 -0
- package/dist/templates/chat/app/lib/tab-id.ts +1 -0
- package/dist/templates/chat/app/lib/utils.ts +1 -0
- package/dist/templates/chat/app/root.tsx +172 -0
- package/dist/templates/chat/app/routes/_index.tsx +91 -0
- package/dist/templates/chat/app/routes/agent.tsx +17 -0
- package/dist/templates/chat/app/routes/chat.$threadId.tsx +1 -0
- package/dist/templates/chat/app/routes/database.tsx +17 -0
- package/dist/templates/chat/app/routes/extensions.$id.$slug.tsx +2 -0
- package/dist/templates/chat/app/routes/extensions.$id.tsx +11 -0
- package/dist/templates/chat/app/routes/extensions._index.tsx +11 -0
- package/dist/templates/chat/app/routes/extensions.tsx +5 -0
- package/dist/templates/chat/app/routes/observability.tsx +18 -0
- package/dist/templates/chat/app/routes/settings.tsx +88 -0
- package/dist/templates/chat/app/routes/team.tsx +11 -0
- package/dist/templates/chat/app/routes.ts +4 -0
- package/dist/templates/chat/app/vite-env.d.ts +6 -0
- package/dist/templates/chat/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/dist/templates/chat/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/dist/templates/chat/changelog/2026-06-27-traditional-chinese-copy-uses-taiwan-terminology.md +6 -0
- package/dist/templates/chat/changelog/2026-06-28-left-sidebar-collapse-motion-and-footer-chrome-are-quieter.md +6 -0
- package/dist/templates/chat/changelog/2026-06-29-chat-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
- package/dist/templates/chat/changelog/2026-07-08-settings-are-cleaner-and-searchable.md +5 -0
- package/dist/templates/chat/changelog/2026-07-10-chat-now-makes-ai-connection-setup-clear-without-shifting-th.md +6 -0
- package/dist/templates/chat/changelog/2026-07-13-a-full-agent-page-now-brings-context-files-connections-jobs-.md +6 -0
- package/dist/templates/chat/changelog/2026-07-14-chat-opens-reliably-on-hosted-deployments-instead-of-failing.md +6 -0
- package/dist/templates/chat/changelog/2026-07-14-fixed-chat-template-startup-with-older-core-versions.md +6 -0
- package/dist/templates/chat/changelog/2026-07-15-chat-navigation-focuses-on-chat-and-agent.md +6 -0
- package/dist/templates/chat/components.json +20 -0
- package/dist/templates/chat/data/.gitkeep +0 -0
- package/dist/templates/chat/data/sync-config.json +1 -0
- package/dist/templates/chat/learnings.defaults.md +5 -0
- package/dist/templates/chat/netlify.toml +10 -0
- package/dist/templates/chat/package.json +92 -0
- package/dist/templates/chat/public/agent-native-icon-dark.svg +10 -0
- package/dist/templates/chat/public/agent-native-icon-light.svg +10 -0
- package/dist/templates/chat/public/agent-native-logo-dark.svg +21 -0
- package/dist/templates/chat/public/agent-native-logo-light.svg +21 -0
- package/dist/templates/chat/public/favicon.svg +1 -0
- package/dist/templates/chat/public/icon-180.svg +1 -0
- package/dist/templates/chat/public/icon-192.svg +1 -0
- package/dist/templates/chat/public/icon-512.svg +1 -0
- package/dist/templates/chat/public/manifest.json +21 -0
- package/dist/templates/chat/react-router.config.ts +7 -0
- package/dist/templates/chat/server/middleware/auth.ts +15 -0
- package/dist/templates/chat/server/plugins/agent-chat.ts +21 -0
- package/dist/templates/chat/server/plugins/auth.ts +17 -0
- package/dist/templates/chat/server/routes/[...page].get.ts +5 -0
- package/dist/templates/chat/ssr-entry.ts +15 -0
- package/dist/templates/chat/tsconfig.json +21 -0
- package/dist/templates/chat/vite.config.ts +19 -0
- package/package.json +2 -1
- package/src/templates/chat/.agents/skills/actions/SKILL.md +492 -0
- package/src/templates/chat/.agents/skills/adding-a-feature/SKILL.md +189 -0
- package/src/templates/chat/.agents/skills/agent-native-docs/SKILL.md +76 -0
- package/src/templates/chat/.agents/skills/capture-learnings/SKILL.md +89 -0
- package/src/templates/chat/.agents/skills/create-skill/SKILL.md +221 -0
- package/src/templates/chat/.agents/skills/delegate-to-agent/SKILL.md +263 -0
- package/src/templates/chat/.agents/skills/frontend-design/SKILL.md +112 -0
- package/src/templates/chat/.agents/skills/real-time-sync/SKILL.md +232 -0
- package/src/templates/chat/.agents/skills/security/SKILL.md +280 -0
- package/src/templates/chat/.agents/skills/self-modifying-code/SKILL.md +106 -0
- package/src/templates/chat/.agents/skills/shadcn-ui/SKILL.md +95 -0
- package/src/templates/chat/.agents/skills/upgrade-agent-native/SKILL.md +87 -0
- package/src/templates/chat/.env.example +5 -0
- package/src/templates/chat/.ignore +0 -0
- package/src/templates/chat/.oxfmtrc.json +8 -0
- package/src/templates/chat/.react-router/types/+server-build.d.ts +18 -0
- package/src/templates/chat/.react-router/types/app/+types/root.ts +68 -0
- package/src/templates/chat/AGENTS.md +62 -0
- package/src/templates/chat/CHANGELOG.md +10 -0
- package/src/templates/chat/DEVELOPING.md +185 -0
- package/src/templates/chat/README.md +32 -0
- package/src/templates/chat/_gitignore +43 -0
- package/src/templates/chat/actions/hello.spec.ts +23 -0
- package/src/templates/chat/actions/hello.ts +13 -0
- package/src/templates/chat/actions/navigate.spec.ts +68 -0
- package/src/templates/chat/actions/navigate.ts +41 -0
- package/src/templates/chat/actions/run.ts +2 -0
- package/src/templates/chat/actions/view-screen.spec.ts +40 -0
- package/src/templates/chat/actions/view-screen.ts +31 -0
- package/src/templates/chat/app/components/layout/Header.tsx +59 -0
- package/src/templates/chat/app/components/layout/Layout.tsx +184 -0
- package/src/templates/chat/app/components/layout/Sidebar.tsx +580 -0
- package/src/templates/chat/app/components/ui/button.tsx +1 -0
- package/src/templates/chat/app/components/ui/card.tsx +1 -0
- package/src/templates/chat/app/components/ui/dropdown-menu.tsx +1 -0
- package/src/templates/chat/app/components/ui/input.tsx +1 -0
- package/src/templates/chat/app/components/ui/label.tsx +1 -0
- package/src/templates/chat/app/components/ui/sheet.tsx +1 -0
- package/src/templates/chat/app/components/ui/toolkit-provider.tsx +12 -0
- package/src/templates/chat/app/components/ui/tooltip.tsx +1 -0
- package/src/templates/chat/app/entry.client.tsx +19 -0
- package/src/templates/chat/app/entry.server.tsx +10 -0
- package/src/templates/chat/app/global.css +93 -0
- package/src/templates/chat/app/hooks/use-navigation-state.ts +111 -0
- package/src/templates/chat/app/i18n/ar-SA.ts +68 -0
- package/src/templates/chat/app/i18n/de-DE.ts +71 -0
- package/src/templates/chat/app/i18n/en-US.ts +70 -0
- package/src/templates/chat/app/i18n/es-ES.ts +71 -0
- package/src/templates/chat/app/i18n/fr-FR.ts +71 -0
- package/src/templates/chat/app/i18n/hi-IN.ts +69 -0
- package/src/templates/chat/app/i18n/index.ts +34 -0
- package/src/templates/chat/app/i18n/ja-JP.ts +70 -0
- package/src/templates/chat/app/i18n/ko-KR.ts +70 -0
- package/src/templates/chat/app/i18n/pt-BR.ts +71 -0
- package/src/templates/chat/app/i18n/zh-CN.ts +67 -0
- package/src/templates/chat/app/i18n/zh-TW.ts +67 -0
- package/src/templates/chat/app/i18n-data.ts +556 -0
- package/src/templates/chat/app/lib/agent-page.spec.tsx +52 -0
- package/src/templates/chat/app/lib/agent-page.tsx +40 -0
- package/src/templates/chat/app/lib/app-config.ts +11 -0
- package/src/templates/chat/app/lib/tab-id.ts +1 -0
- package/src/templates/chat/app/lib/utils.ts +1 -0
- package/src/templates/chat/app/root.tsx +172 -0
- package/src/templates/chat/app/routes/_index.tsx +91 -0
- package/src/templates/chat/app/routes/agent.tsx +17 -0
- package/src/templates/chat/app/routes/chat.$threadId.tsx +1 -0
- package/src/templates/chat/app/routes/database.tsx +17 -0
- package/src/templates/chat/app/routes/extensions.$id.$slug.tsx +2 -0
- package/src/templates/chat/app/routes/extensions.$id.tsx +11 -0
- package/src/templates/chat/app/routes/extensions._index.tsx +11 -0
- package/src/templates/chat/app/routes/extensions.tsx +5 -0
- package/src/templates/chat/app/routes/observability.tsx +18 -0
- package/src/templates/chat/app/routes/settings.tsx +88 -0
- package/src/templates/chat/app/routes/team.tsx +11 -0
- package/src/templates/chat/app/routes.ts +4 -0
- package/src/templates/chat/app/vite-env.d.ts +6 -0
- package/src/templates/chat/changelog/2026-06-24-a-new-settings-page-gives-quick-access-to-language-workspace.md +6 -0
- package/src/templates/chat/changelog/2026-06-24-added-a-language-picker-and-localized-app-chrome-for-support.md +6 -0
- package/src/templates/chat/changelog/2026-06-27-traditional-chinese-copy-uses-taiwan-terminology.md +6 -0
- package/src/templates/chat/changelog/2026-06-28-left-sidebar-collapse-motion-and-footer-chrome-are-quieter.md +6 -0
- package/src/templates/chat/changelog/2026-06-29-chat-layouts-adapt-when-the-agent-sidebar-is-open.md +6 -0
- package/src/templates/chat/changelog/2026-07-08-settings-are-cleaner-and-searchable.md +5 -0
- package/src/templates/chat/changelog/2026-07-10-chat-now-makes-ai-connection-setup-clear-without-shifting-th.md +6 -0
- package/src/templates/chat/changelog/2026-07-13-a-full-agent-page-now-brings-context-files-connections-jobs-.md +6 -0
- package/src/templates/chat/changelog/2026-07-14-chat-opens-reliably-on-hosted-deployments-instead-of-failing.md +6 -0
- package/src/templates/chat/changelog/2026-07-14-fixed-chat-template-startup-with-older-core-versions.md +6 -0
- package/src/templates/chat/changelog/2026-07-15-chat-navigation-focuses-on-chat-and-agent.md +6 -0
- package/src/templates/chat/components.json +20 -0
- package/src/templates/chat/data/.gitkeep +0 -0
- package/src/templates/chat/data/sync-config.json +1 -0
- package/src/templates/chat/learnings.defaults.md +5 -0
- package/src/templates/chat/netlify.toml +10 -0
- package/src/templates/chat/package.json +92 -0
- package/src/templates/chat/public/agent-native-icon-dark.svg +10 -0
- package/src/templates/chat/public/agent-native-icon-light.svg +10 -0
- package/src/templates/chat/public/agent-native-logo-dark.svg +21 -0
- package/src/templates/chat/public/agent-native-logo-light.svg +21 -0
- package/src/templates/chat/public/favicon.svg +1 -0
- package/src/templates/chat/public/icon-180.svg +1 -0
- package/src/templates/chat/public/icon-192.svg +1 -0
- package/src/templates/chat/public/icon-512.svg +1 -0
- package/src/templates/chat/public/manifest.json +21 -0
- package/src/templates/chat/react-router.config.ts +7 -0
- package/src/templates/chat/server/middleware/auth.ts +15 -0
- package/src/templates/chat/server/plugins/agent-chat.ts +21 -0
- package/src/templates/chat/server/plugins/auth.ts +17 -0
- package/src/templates/chat/server/routes/[...page].get.ts +5 -0
- package/src/templates/chat/ssr-entry.ts +15 -0
- package/src/templates/chat/tsconfig.json +21 -0
- package/src/templates/chat/vite.config.ts +19 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/* Self-hosted via @fontsource-variable/inter — no render-blocking Google Fonts request */
|
|
2
|
+
@import "@fontsource-variable/inter";
|
|
3
|
+
|
|
4
|
+
@import "tailwindcss";
|
|
5
|
+
@import "@agent-native/core/styles/agent-native.css";
|
|
6
|
+
@import "@agent-native/toolkit/styles.css";
|
|
7
|
+
|
|
8
|
+
@source "./**/*.{ts,tsx}";
|
|
9
|
+
|
|
10
|
+
:root {
|
|
11
|
+
--background: 0 0% 100%;
|
|
12
|
+
--foreground: 0 0% 10%;
|
|
13
|
+
--card: 0 0% 100%;
|
|
14
|
+
--card-foreground: 0 0% 10%;
|
|
15
|
+
--popover: 0 0% 100%;
|
|
16
|
+
--popover-foreground: 0 0% 10%;
|
|
17
|
+
--primary: 0 0% 15%;
|
|
18
|
+
--primary-foreground: 0 0% 100%;
|
|
19
|
+
--secondary: 0 0% 95%;
|
|
20
|
+
--secondary-foreground: 0 0% 15%;
|
|
21
|
+
--muted: 0 0% 95%;
|
|
22
|
+
--muted-foreground: 0 0% 45%;
|
|
23
|
+
--accent: 0 0% 95%;
|
|
24
|
+
--accent-foreground: 0 0% 15%;
|
|
25
|
+
--destructive: 0 84% 60%;
|
|
26
|
+
--destructive-foreground: 0 0% 98%;
|
|
27
|
+
--border: 0 0% 90%;
|
|
28
|
+
--input: 0 0% 90%;
|
|
29
|
+
--ring: 0 0% 40%;
|
|
30
|
+
--radius: 0.5rem;
|
|
31
|
+
--sidebar-background: 0 0% 97%;
|
|
32
|
+
--sidebar-foreground: 0 0% 45%;
|
|
33
|
+
--sidebar-primary: 0 0% 15%;
|
|
34
|
+
--sidebar-primary-foreground: 0 0% 100%;
|
|
35
|
+
--sidebar-accent: 0 0% 95%;
|
|
36
|
+
--sidebar-accent-foreground: 0 0% 15%;
|
|
37
|
+
--sidebar-border: 0 0% 90%;
|
|
38
|
+
--sidebar-ring: 0 0% 40%;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.dark {
|
|
42
|
+
--background: 0 0% 13%;
|
|
43
|
+
--foreground: 0 0% 90%;
|
|
44
|
+
--card: 0 0% 15%;
|
|
45
|
+
--card-foreground: 0 0% 90%;
|
|
46
|
+
--popover: 0 0% 15%;
|
|
47
|
+
--popover-foreground: 0 0% 90%;
|
|
48
|
+
--primary: 0 0% 75%;
|
|
49
|
+
--primary-foreground: 0 0% 10%;
|
|
50
|
+
--secondary: 0 0% 18%;
|
|
51
|
+
--secondary-foreground: 0 0% 90%;
|
|
52
|
+
--muted: 0 0% 16%;
|
|
53
|
+
--muted-foreground: 0 0% 60%;
|
|
54
|
+
--accent: 0 0% 18%;
|
|
55
|
+
--accent-foreground: 0 0% 90%;
|
|
56
|
+
--destructive: 0 63% 51%;
|
|
57
|
+
--destructive-foreground: 0 0% 98%;
|
|
58
|
+
--border: 0 0% 24%;
|
|
59
|
+
--input: 0 0% 24%;
|
|
60
|
+
--ring: 0 0% 60%;
|
|
61
|
+
--radius: 0.5rem;
|
|
62
|
+
--sidebar-background: 0 0% 10%;
|
|
63
|
+
--sidebar-foreground: 0 0% 60%;
|
|
64
|
+
--sidebar-primary: 0 0% 75%;
|
|
65
|
+
--sidebar-primary-foreground: 0 0% 10%;
|
|
66
|
+
--sidebar-accent: 0 0% 16%;
|
|
67
|
+
--sidebar-accent-foreground: 0 0% 90%;
|
|
68
|
+
--sidebar-border: 0 0% 20%;
|
|
69
|
+
--sidebar-ring: 0 0% 60%;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
@layer base {
|
|
73
|
+
body {
|
|
74
|
+
@apply bg-background text-foreground;
|
|
75
|
+
font-family: "Inter Variable", "Inter", sans-serif;
|
|
76
|
+
font-feature-settings: "cv02", "cv03", "cv04", "cv11";
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
::-webkit-scrollbar {
|
|
81
|
+
width: 5px;
|
|
82
|
+
height: 5px;
|
|
83
|
+
}
|
|
84
|
+
::-webkit-scrollbar-track {
|
|
85
|
+
background: transparent;
|
|
86
|
+
}
|
|
87
|
+
::-webkit-scrollbar-thumb {
|
|
88
|
+
background: hsl(var(--border));
|
|
89
|
+
border-radius: 3px;
|
|
90
|
+
}
|
|
91
|
+
::-webkit-scrollbar-thumb:hover {
|
|
92
|
+
background: hsl(var(--muted-foreground) / 0.4);
|
|
93
|
+
}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import {
|
|
2
|
+
appBasePath,
|
|
3
|
+
appPath,
|
|
4
|
+
markAgentChatHomeHandoff,
|
|
5
|
+
useAgentRouteState,
|
|
6
|
+
} from "@agent-native/core/client";
|
|
7
|
+
import { useLocation } from "react-router";
|
|
8
|
+
|
|
9
|
+
import { TAB_ID } from "@/lib/tab-id";
|
|
10
|
+
|
|
11
|
+
export interface NavigationState {
|
|
12
|
+
view: string;
|
|
13
|
+
path?: string;
|
|
14
|
+
threadId?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export function useNavigationState() {
|
|
18
|
+
const location = useLocation();
|
|
19
|
+
useAgentRouteState<NavigationState>({
|
|
20
|
+
browserTabId: TAB_ID,
|
|
21
|
+
requestSource: TAB_ID,
|
|
22
|
+
getNavigationState: ({ pathname }) => {
|
|
23
|
+
const threadId = threadIdFromPath(pathname);
|
|
24
|
+
return {
|
|
25
|
+
view: viewForPath(pathname),
|
|
26
|
+
path: appPath(pathname),
|
|
27
|
+
...(threadId ? { threadId } : {}),
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
getCommandPath: (command) =>
|
|
31
|
+
routerPath(command.path || pathForCommand(command)),
|
|
32
|
+
onNavigate: (_command, path) => {
|
|
33
|
+
if (
|
|
34
|
+
isChatPath(location.pathname) &&
|
|
35
|
+
!isChatPath(pathnameFromPath(path))
|
|
36
|
+
) {
|
|
37
|
+
markAgentChatHomeHandoff("chat");
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function pathnameFromPath(path: string): string {
|
|
44
|
+
return path.split(/[?#]/, 1)[0] || "/";
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
function threadIdFromPath(pathname: string): string | null {
|
|
48
|
+
const match = pathname.match(/^\/chat\/([^/]+)/);
|
|
49
|
+
if (!match) return null;
|
|
50
|
+
try {
|
|
51
|
+
const value = decodeURIComponent(match[1]).trim();
|
|
52
|
+
return value || null;
|
|
53
|
+
} catch {
|
|
54
|
+
return null;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
function viewForPath(pathname: string): string {
|
|
59
|
+
if (isChatPath(pathname)) return "chat";
|
|
60
|
+
if (pathname.startsWith("/database")) return "database";
|
|
61
|
+
if (pathname.startsWith("/extensions")) return "extensions";
|
|
62
|
+
if (pathname.startsWith("/observability")) return "observability";
|
|
63
|
+
if (pathname.startsWith("/agent")) return "agent";
|
|
64
|
+
if (pathname.startsWith("/team")) return "settings";
|
|
65
|
+
return "chat";
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
function pathForView(view?: string): string {
|
|
69
|
+
switch (view) {
|
|
70
|
+
case "chat":
|
|
71
|
+
case "home":
|
|
72
|
+
case "ask":
|
|
73
|
+
return "/";
|
|
74
|
+
case "database":
|
|
75
|
+
return "/database";
|
|
76
|
+
case "extensions":
|
|
77
|
+
return "/extensions";
|
|
78
|
+
case "observability":
|
|
79
|
+
return "/observability";
|
|
80
|
+
case "agent":
|
|
81
|
+
return "/agent";
|
|
82
|
+
case "settings":
|
|
83
|
+
return "/settings";
|
|
84
|
+
case "team":
|
|
85
|
+
return "/settings#organization";
|
|
86
|
+
default:
|
|
87
|
+
return "/";
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
function pathForCommand(command: any): string {
|
|
92
|
+
const path = pathForView(command?.view);
|
|
93
|
+
if (path !== "/") return path;
|
|
94
|
+
const threadId =
|
|
95
|
+
typeof command?.threadId === "string" ? command.threadId.trim() : "";
|
|
96
|
+
return threadId ? `/chat/${encodeURIComponent(threadId)}` : "/";
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
function routerPath(path: string): string {
|
|
100
|
+
const basePath = appBasePath();
|
|
101
|
+
if (!basePath) return path;
|
|
102
|
+
if (path === basePath) return "/";
|
|
103
|
+
if (path.startsWith(`${basePath}/`)) {
|
|
104
|
+
return path.slice(basePath.length) || "/";
|
|
105
|
+
}
|
|
106
|
+
return path;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
function isChatPath(pathname: string): boolean {
|
|
110
|
+
return pathname === "/" || pathname.startsWith("/chat/");
|
|
111
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
const messages = {
|
|
2
|
+
settings: {
|
|
3
|
+
title: "الإعدادات",
|
|
4
|
+
description: "تفضيلات اللغة ومساحة العمل لهذا التطبيق.",
|
|
5
|
+
languageTitle: "اللغة",
|
|
6
|
+
languageDescription: "اختر لغة الواجهة. يتم حفظ هذا التفضيل في حسابك.",
|
|
7
|
+
languageLabel: "لغة الواجهة",
|
|
8
|
+
workspaceTitle: "مساحة العمل",
|
|
9
|
+
workspaceDescription:
|
|
10
|
+
"إدارة أعضاء الفريق ووصول المؤسسة وتفضيلات مساحة العمل المشتركة.",
|
|
11
|
+
openTeamSettings: "فتح إعدادات الفريق",
|
|
12
|
+
openResourceSettings: "فتح إعدادات الموارد",
|
|
13
|
+
agentTitle: "إعدادات الوكيل",
|
|
14
|
+
agentDescription:
|
|
15
|
+
"افتح إعدادات الوكيل في الشريط الجانبي لإدارة النموذج ومفاتيح API والأتمتة والصوت وعناصر التحكم الأخرى.",
|
|
16
|
+
openAgentSettings: "فتح إعدادات الوكيل",
|
|
17
|
+
},
|
|
18
|
+
chat: {
|
|
19
|
+
archiveChat: "أرشفة المحادثة",
|
|
20
|
+
archiveFailed: "فشلت الأرشفة",
|
|
21
|
+
chats: "المحادثات",
|
|
22
|
+
composerPlaceholder: "اسأل الوكيل...",
|
|
23
|
+
emptyState: "اسألني أي شيء",
|
|
24
|
+
heroDescription: "اطلب من الوكيل فحص هذا التطبيق أو شرحه أو تغييره.",
|
|
25
|
+
heroTitle: "كيف يمكنني المساعدة؟",
|
|
26
|
+
inspectEmptyState: "اسألني أي شيء عن هذا التطبيق",
|
|
27
|
+
inspectSuggestionAction: "إظهار الإجراءات المتاحة",
|
|
28
|
+
inspectSuggestionCapabilities: "ما الذي يمكن لهذا التطبيق فعله؟",
|
|
29
|
+
inspectSuggestionHello: "ساعدني على البدء",
|
|
30
|
+
newChat: "محادثة جديدة",
|
|
31
|
+
optionsFor: "خيارات لـ",
|
|
32
|
+
pinChat: "تثبيت المحادثة",
|
|
33
|
+
renameChat: "إعادة تسمية المحادثة",
|
|
34
|
+
renameFailed: "فشلت إعادة التسمية",
|
|
35
|
+
renameThread: "إعادة تسمية السلسلة",
|
|
36
|
+
suggestionActions: "أرني الإجراءات المتاحة",
|
|
37
|
+
suggestionCapabilities: "ما الذي يمكن لهذا التطبيق فعله؟",
|
|
38
|
+
suggestionCustomize: "ساعدني في تخصيص هذا التطبيق",
|
|
39
|
+
unpinChat: "إلغاء تثبيت المحادثة",
|
|
40
|
+
},
|
|
41
|
+
navigation: {
|
|
42
|
+
chat: "المحادثة",
|
|
43
|
+
collapseSidebar: "طي الشريط الجانبي",
|
|
44
|
+
database: "قاعدة البيانات",
|
|
45
|
+
expandSidebar: "توسيع الشريط الجانبي",
|
|
46
|
+
extensions: "الإضافات",
|
|
47
|
+
navigation: "التنقل",
|
|
48
|
+
navigationDescription: "التنقل الرئيسي",
|
|
49
|
+
observability: "قابلية المراقبة",
|
|
50
|
+
openNavigation: "فتح التنقل",
|
|
51
|
+
settings: "الإعدادات",
|
|
52
|
+
team: "الفريق",
|
|
53
|
+
},
|
|
54
|
+
pages: {
|
|
55
|
+
databaseTitle: "قاعدة البيانات",
|
|
56
|
+
observabilityPageTitle: "قابلية ملاحظة الوكيل",
|
|
57
|
+
teamTitle: "الفريق",
|
|
58
|
+
teamCreateOrgDescription: "أنشئ مؤسسة لدعوة الزملاء ومشاركة هذا التطبيق.",
|
|
59
|
+
},
|
|
60
|
+
root: {
|
|
61
|
+
commandActions: "الإجراءات",
|
|
62
|
+
commandAppearance: "المظهر",
|
|
63
|
+
commandSearch: "بحث",
|
|
64
|
+
toggleTheme: "تبديل السمة",
|
|
65
|
+
},
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export default messages;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const messages = {
|
|
2
|
+
settings: {
|
|
3
|
+
title: "Einstellungen",
|
|
4
|
+
description: "Sprach- und Arbeitsbereichseinstellungen für diese App.",
|
|
5
|
+
languageTitle: "Sprache",
|
|
6
|
+
languageDescription:
|
|
7
|
+
"Wähle die Sprache der Oberfläche. Diese Einstellung wird in deinem Konto gespeichert.",
|
|
8
|
+
languageLabel: "Oberflächensprache",
|
|
9
|
+
workspaceTitle: "Arbeitsbereich",
|
|
10
|
+
workspaceDescription:
|
|
11
|
+
"Verwalte Teammitglieder, Organisationszugriff und gemeinsame Arbeitsbereichseinstellungen.",
|
|
12
|
+
openTeamSettings: "Teameinstellungen öffnen",
|
|
13
|
+
openResourceSettings: "Ressourceneinstellungen öffnen",
|
|
14
|
+
agentTitle: "Agent-Einstellungen",
|
|
15
|
+
agentDescription:
|
|
16
|
+
"Öffne die Agent-Einstellungen in der Seitenleiste für Modell, API-Schlüssel, Automatisierungen, Sprache und weitere Steuerungen.",
|
|
17
|
+
openAgentSettings: "Agent-Einstellungen öffnen",
|
|
18
|
+
},
|
|
19
|
+
chat: {
|
|
20
|
+
archiveChat: "Chat archivieren",
|
|
21
|
+
archiveFailed: "Archivieren fehlgeschlagen",
|
|
22
|
+
chats: "Chats",
|
|
23
|
+
composerPlaceholder: "Frag den Agenten...",
|
|
24
|
+
emptyState: "Frag mich alles",
|
|
25
|
+
heroDescription:
|
|
26
|
+
"Bitte den Agenten, diese App zu prüfen, zu erklären oder zu ändern.",
|
|
27
|
+
heroTitle: "Wie kann ich helfen?",
|
|
28
|
+
inspectEmptyState: "Frag mich alles über diese App",
|
|
29
|
+
inspectSuggestionAction: "Verfügbare Aktionen anzeigen",
|
|
30
|
+
inspectSuggestionCapabilities: "Was kann diese App?",
|
|
31
|
+
inspectSuggestionHello: "Hilf mir beim Einstieg",
|
|
32
|
+
newChat: "Neuer Chat",
|
|
33
|
+
optionsFor: "Optionen für",
|
|
34
|
+
pinChat: "Chat anheften",
|
|
35
|
+
renameChat: "Chat umbenennen",
|
|
36
|
+
renameFailed: "Umbenennen fehlgeschlagen",
|
|
37
|
+
renameThread: "Thread umbenennen",
|
|
38
|
+
suggestionActions: "Zeig mir die verfügbaren Aktionen",
|
|
39
|
+
suggestionCapabilities: "Was kann diese App?",
|
|
40
|
+
suggestionCustomize: "Hilf mir, diese App anzupassen",
|
|
41
|
+
unpinChat: "Chat lösen",
|
|
42
|
+
},
|
|
43
|
+
navigation: {
|
|
44
|
+
chat: "Chat",
|
|
45
|
+
collapseSidebar: "Seitenleiste einklappen",
|
|
46
|
+
database: "Datenbank",
|
|
47
|
+
expandSidebar: "Seitenleiste ausklappen",
|
|
48
|
+
extensions: "Erweiterungen",
|
|
49
|
+
navigation: "Navigation",
|
|
50
|
+
navigationDescription: "Hauptnavigation",
|
|
51
|
+
observability: "Beobachtbarkeit",
|
|
52
|
+
openNavigation: "Navigation öffnen",
|
|
53
|
+
settings: "Einstellungen",
|
|
54
|
+
team: "Team",
|
|
55
|
+
},
|
|
56
|
+
pages: {
|
|
57
|
+
databaseTitle: "Datenbank",
|
|
58
|
+
observabilityPageTitle: "Agent-Beobachtbarkeit",
|
|
59
|
+
teamTitle: "Team",
|
|
60
|
+
teamCreateOrgDescription:
|
|
61
|
+
"Erstelle eine Organisation, um Teammitglieder einzuladen und diese App zu teilen.",
|
|
62
|
+
},
|
|
63
|
+
root: {
|
|
64
|
+
commandActions: "Aktionen",
|
|
65
|
+
commandAppearance: "Darstellung",
|
|
66
|
+
commandSearch: "Suchen",
|
|
67
|
+
toggleTheme: "Design wechseln",
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export default messages;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
const messages = {
|
|
2
|
+
settings: {
|
|
3
|
+
title: "Settings",
|
|
4
|
+
description: "Language and workspace preferences for this app.",
|
|
5
|
+
languageTitle: "Language",
|
|
6
|
+
languageDescription:
|
|
7
|
+
"Choose the interface language. This preference is saved for your account.",
|
|
8
|
+
languageLabel: "Interface language",
|
|
9
|
+
workspaceTitle: "Workspace",
|
|
10
|
+
workspaceDescription:
|
|
11
|
+
"Manage team members, organization access, and shared workspace preferences.",
|
|
12
|
+
openTeamSettings: "Open team settings",
|
|
13
|
+
openResourceSettings: "Open resource settings",
|
|
14
|
+
agentTitle: "Agent settings",
|
|
15
|
+
agentDescription:
|
|
16
|
+
"Open the agent sidebar settings for model, API keys, automations, voice, and other agent controls.",
|
|
17
|
+
openAgentSettings: "Open agent settings",
|
|
18
|
+
},
|
|
19
|
+
chat: {
|
|
20
|
+
archiveChat: "Archive Chat",
|
|
21
|
+
archiveFailed: "Archive Failed",
|
|
22
|
+
chats: "Chats",
|
|
23
|
+
composerPlaceholder: "Ask the agent...",
|
|
24
|
+
emptyState: "Ask me anything",
|
|
25
|
+
heroDescription: "Ask the agent to inspect, explain, or change this app.",
|
|
26
|
+
heroTitle: "How can I help?",
|
|
27
|
+
inspectEmptyState: "Ask me anything about this app",
|
|
28
|
+
inspectSuggestionAction: "Show available actions",
|
|
29
|
+
inspectSuggestionCapabilities: "What can this app do?",
|
|
30
|
+
inspectSuggestionHello: "Help me get started",
|
|
31
|
+
newChat: "New Chat",
|
|
32
|
+
optionsFor: "Options For",
|
|
33
|
+
pinChat: "Pin Chat",
|
|
34
|
+
renameChat: "Rename Chat",
|
|
35
|
+
renameFailed: "Rename Failed",
|
|
36
|
+
renameThread: "Rename Thread",
|
|
37
|
+
suggestionActions: "Show me the available actions",
|
|
38
|
+
suggestionCapabilities: "What can this app do?",
|
|
39
|
+
suggestionCustomize: "Help me customize this app",
|
|
40
|
+
unpinChat: "Unpin Chat",
|
|
41
|
+
},
|
|
42
|
+
navigation: {
|
|
43
|
+
chat: "Chat",
|
|
44
|
+
collapseSidebar: "Collapse Sidebar",
|
|
45
|
+
database: "Database",
|
|
46
|
+
expandSidebar: "Expand Sidebar",
|
|
47
|
+
extensions: "Extensions",
|
|
48
|
+
navigation: "Navigation",
|
|
49
|
+
navigationDescription: "Main navigation",
|
|
50
|
+
observability: "Observability",
|
|
51
|
+
openNavigation: "Open navigation",
|
|
52
|
+
settings: "Settings",
|
|
53
|
+
team: "Team",
|
|
54
|
+
},
|
|
55
|
+
pages: {
|
|
56
|
+
databaseTitle: "Database",
|
|
57
|
+
observabilityPageTitle: "Agent Observability",
|
|
58
|
+
teamTitle: "Team",
|
|
59
|
+
teamCreateOrgDescription:
|
|
60
|
+
"Create an organization to invite teammates and share this app.",
|
|
61
|
+
},
|
|
62
|
+
root: {
|
|
63
|
+
commandActions: "Actions",
|
|
64
|
+
commandAppearance: "Appearance",
|
|
65
|
+
commandSearch: "Search",
|
|
66
|
+
toggleTheme: "Toggle theme",
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export default messages;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const messages = {
|
|
2
|
+
settings: {
|
|
3
|
+
title: "Ajustes",
|
|
4
|
+
description: "Preferencias de idioma y espacio de trabajo para esta app.",
|
|
5
|
+
languageTitle: "Idioma",
|
|
6
|
+
languageDescription:
|
|
7
|
+
"Elige el idioma de la interfaz. Esta preferencia se guarda en tu cuenta.",
|
|
8
|
+
languageLabel: "Idioma de la interfaz",
|
|
9
|
+
workspaceTitle: "Espacio de trabajo",
|
|
10
|
+
workspaceDescription:
|
|
11
|
+
"Gestiona miembros del equipo, acceso de la organización y preferencias compartidas.",
|
|
12
|
+
openTeamSettings: "Abrir ajustes del equipo",
|
|
13
|
+
openResourceSettings: "Abrir ajustes de recursos",
|
|
14
|
+
agentTitle: "Ajustes del agente",
|
|
15
|
+
agentDescription:
|
|
16
|
+
"Abre los ajustes del agente en la barra lateral para modelos, claves API, automatizaciones, voz y otros controles.",
|
|
17
|
+
openAgentSettings: "Abrir ajustes del agente",
|
|
18
|
+
},
|
|
19
|
+
chat: {
|
|
20
|
+
archiveChat: "Archivar chat",
|
|
21
|
+
archiveFailed: "No se pudo archivar",
|
|
22
|
+
chats: "Chats",
|
|
23
|
+
composerPlaceholder: "Pregunta al agente...",
|
|
24
|
+
emptyState: "Pregúntame lo que quieras",
|
|
25
|
+
heroDescription:
|
|
26
|
+
"Pide al agente que inspeccione, explique o cambie esta app.",
|
|
27
|
+
heroTitle: "¿Cómo puedo ayudarte?",
|
|
28
|
+
inspectEmptyState: "Pregúntame cualquier cosa sobre esta app",
|
|
29
|
+
inspectSuggestionAction: "Mostrar acciones disponibles",
|
|
30
|
+
inspectSuggestionCapabilities: "¿Qué puede hacer esta app?",
|
|
31
|
+
inspectSuggestionHello: "Ayúdame a empezar",
|
|
32
|
+
newChat: "Nuevo chat",
|
|
33
|
+
optionsFor: "Opciones para",
|
|
34
|
+
pinChat: "Fijar chat",
|
|
35
|
+
renameChat: "Renombrar chat",
|
|
36
|
+
renameFailed: "No se pudo renombrar",
|
|
37
|
+
renameThread: "Renombrar hilo",
|
|
38
|
+
suggestionActions: "Muéstrame las acciones disponibles",
|
|
39
|
+
suggestionCapabilities: "¿Qué puede hacer esta app?",
|
|
40
|
+
suggestionCustomize: "Ayúdame a personalizar esta app",
|
|
41
|
+
unpinChat: "Desfijar chat",
|
|
42
|
+
},
|
|
43
|
+
navigation: {
|
|
44
|
+
chat: "Chat",
|
|
45
|
+
collapseSidebar: "Contraer barra lateral",
|
|
46
|
+
database: "Base de datos",
|
|
47
|
+
expandSidebar: "Expandir barra lateral",
|
|
48
|
+
extensions: "Extensiones",
|
|
49
|
+
navigation: "Navegación",
|
|
50
|
+
navigationDescription: "Navegación principal",
|
|
51
|
+
observability: "Observabilidad",
|
|
52
|
+
openNavigation: "Abrir navegación",
|
|
53
|
+
settings: "Ajustes",
|
|
54
|
+
team: "Equipo",
|
|
55
|
+
},
|
|
56
|
+
pages: {
|
|
57
|
+
databaseTitle: "Base de datos",
|
|
58
|
+
observabilityPageTitle: "Observabilidad del agente",
|
|
59
|
+
teamTitle: "Equipo",
|
|
60
|
+
teamCreateOrgDescription:
|
|
61
|
+
"Crea una organización para invitar compañeros y compartir esta app.",
|
|
62
|
+
},
|
|
63
|
+
root: {
|
|
64
|
+
commandActions: "Acciones",
|
|
65
|
+
commandAppearance: "Apariencia",
|
|
66
|
+
commandSearch: "Buscar",
|
|
67
|
+
toggleTheme: "Cambiar tema",
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export default messages;
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
const messages = {
|
|
2
|
+
settings: {
|
|
3
|
+
title: "Paramètres",
|
|
4
|
+
description: "Préférences de langue et d’espace de travail pour cette app.",
|
|
5
|
+
languageTitle: "Langue",
|
|
6
|
+
languageDescription:
|
|
7
|
+
"Choisissez la langue de l’interface. Cette préférence est enregistrée dans votre compte.",
|
|
8
|
+
languageLabel: "Langue de l’interface",
|
|
9
|
+
workspaceTitle: "Espace de travail",
|
|
10
|
+
workspaceDescription:
|
|
11
|
+
"Gérez les membres, l’accès de l’organisation et les préférences partagées.",
|
|
12
|
+
openTeamSettings: "Ouvrir les paramètres d’équipe",
|
|
13
|
+
openResourceSettings: "Ouvrir les paramètres des ressources",
|
|
14
|
+
agentTitle: "Paramètres de l’agent",
|
|
15
|
+
agentDescription:
|
|
16
|
+
"Ouvrez les paramètres de l’agent dans la barre latérale pour les modèles, clés API, automatisations, voix et autres contrôles.",
|
|
17
|
+
openAgentSettings: "Ouvrir les paramètres de l’agent",
|
|
18
|
+
},
|
|
19
|
+
chat: {
|
|
20
|
+
archiveChat: "Archiver le chat",
|
|
21
|
+
archiveFailed: "Échec de l’archivage",
|
|
22
|
+
chats: "Discussions",
|
|
23
|
+
composerPlaceholder: "Demandez à l’agent...",
|
|
24
|
+
emptyState: "Posez-moi une question",
|
|
25
|
+
heroDescription:
|
|
26
|
+
"Demandez à l’agent d’inspecter, d’expliquer ou de modifier cette app.",
|
|
27
|
+
heroTitle: "Comment puis-je aider ?",
|
|
28
|
+
inspectEmptyState: "Posez-moi une question sur cette app",
|
|
29
|
+
inspectSuggestionAction: "Afficher les actions disponibles",
|
|
30
|
+
inspectSuggestionCapabilities: "Que peut faire cette app ?",
|
|
31
|
+
inspectSuggestionHello: "Aidez-moi à démarrer",
|
|
32
|
+
newChat: "Nouveau chat",
|
|
33
|
+
optionsFor: "Options pour",
|
|
34
|
+
pinChat: "Épingler le chat",
|
|
35
|
+
renameChat: "Renommer le chat",
|
|
36
|
+
renameFailed: "Échec du renommage",
|
|
37
|
+
renameThread: "Renommer le fil",
|
|
38
|
+
suggestionActions: "Montrez-moi les actions disponibles",
|
|
39
|
+
suggestionCapabilities: "Que peut faire cette app ?",
|
|
40
|
+
suggestionCustomize: "Aidez-moi à personnaliser cette app",
|
|
41
|
+
unpinChat: "Désépingler le chat",
|
|
42
|
+
},
|
|
43
|
+
navigation: {
|
|
44
|
+
chat: "Chat",
|
|
45
|
+
collapseSidebar: "Réduire la barre latérale",
|
|
46
|
+
database: "Base de données",
|
|
47
|
+
expandSidebar: "Développer la barre latérale",
|
|
48
|
+
extensions: "Rallonges",
|
|
49
|
+
navigation: "Navigation",
|
|
50
|
+
navigationDescription: "Navigation principale",
|
|
51
|
+
observability: "Observabilité",
|
|
52
|
+
openNavigation: "Ouvrir la navigation",
|
|
53
|
+
settings: "Paramètres",
|
|
54
|
+
team: "Équipe",
|
|
55
|
+
},
|
|
56
|
+
pages: {
|
|
57
|
+
databaseTitle: "Base de données",
|
|
58
|
+
observabilityPageTitle: "Observabilité de l'agent",
|
|
59
|
+
teamTitle: "Équipe",
|
|
60
|
+
teamCreateOrgDescription:
|
|
61
|
+
"Créez une organisation pour inviter des coéquipiers et partager cette app.",
|
|
62
|
+
},
|
|
63
|
+
root: {
|
|
64
|
+
commandActions: "Opérations",
|
|
65
|
+
commandAppearance: "Apparence",
|
|
66
|
+
commandSearch: "Rechercher",
|
|
67
|
+
toggleTheme: "Changer de thème",
|
|
68
|
+
},
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
export default messages;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
const messages = {
|
|
2
|
+
settings: {
|
|
3
|
+
title: "सेटिंग्स",
|
|
4
|
+
description: "इस ऐप के लिए भाषा और कार्यस्थान प्राथमिकताएं।",
|
|
5
|
+
languageTitle: "भाषा",
|
|
6
|
+
languageDescription: "इंटरफ़ेस भाषा चुनें। यह पसंद आपके खाते में सहेजी जाती है।",
|
|
7
|
+
languageLabel: "इंटरफ़ेस भाषा",
|
|
8
|
+
workspaceTitle: "कार्यस्थान",
|
|
9
|
+
workspaceDescription:
|
|
10
|
+
"टीम सदस्यों, संगठन पहुंच और साझा कार्यस्थान प्राथमिकताओं को प्रबंधित करें।",
|
|
11
|
+
openTeamSettings: "टीम सेटिंग्स खोलें",
|
|
12
|
+
openResourceSettings: "संसाधन सेटिंग्स खोलें",
|
|
13
|
+
agentTitle: "एजेंट सेटिंग्स",
|
|
14
|
+
agentDescription:
|
|
15
|
+
"मॉडल, API कुंजियों, ऑटोमेशन, आवाज़ और अन्य एजेंट नियंत्रणों के लिए साइडबार सेटिंग्स खोलें।",
|
|
16
|
+
openAgentSettings: "एजेंट सेटिंग्स खोलें",
|
|
17
|
+
},
|
|
18
|
+
chat: {
|
|
19
|
+
archiveChat: "चैट आर्काइव करें",
|
|
20
|
+
archiveFailed: "आर्काइव विफल",
|
|
21
|
+
chats: "चैट",
|
|
22
|
+
composerPlaceholder: "एजेंट से पूछें...",
|
|
23
|
+
emptyState: "मुझसे कुछ भी पूछें",
|
|
24
|
+
heroDescription: "एजेंट से इस ऐप की जांच, व्याख्या या बदलाव करने को कहें।",
|
|
25
|
+
heroTitle: "मैं कैसे मदद कर सकता हूं?",
|
|
26
|
+
inspectEmptyState: "इस ऐप के बारे में मुझसे कुछ भी पूछें",
|
|
27
|
+
inspectSuggestionAction: "उपलब्ध क्रियाएं दिखाएं",
|
|
28
|
+
inspectSuggestionCapabilities: "यह ऐप क्या कर सकता है?",
|
|
29
|
+
inspectSuggestionHello: "शुरू करने में मेरी मदद करें",
|
|
30
|
+
newChat: "नई चैट",
|
|
31
|
+
optionsFor: "इसके लिए विकल्प",
|
|
32
|
+
pinChat: "चैट पिन करें",
|
|
33
|
+
renameChat: "चैट का नाम बदलें",
|
|
34
|
+
renameFailed: "नाम बदलना विफल",
|
|
35
|
+
renameThread: "थ्रेड का नाम बदलें",
|
|
36
|
+
suggestionActions: "मुझे उपलब्ध क्रियाएं दिखाएं",
|
|
37
|
+
suggestionCapabilities: "यह ऐप क्या कर सकता है?",
|
|
38
|
+
suggestionCustomize: "इस ऐप को कस्टमाइज करने में मेरी मदद करें",
|
|
39
|
+
unpinChat: "चैट अनपिन करें",
|
|
40
|
+
},
|
|
41
|
+
navigation: {
|
|
42
|
+
chat: "चैट",
|
|
43
|
+
collapseSidebar: "साइडबार संक्षिप्त करें",
|
|
44
|
+
database: "डेटाबेस",
|
|
45
|
+
expandSidebar: "साइडबार विस्तृत करें",
|
|
46
|
+
extensions: "एक्सटेंशन",
|
|
47
|
+
navigation: "नेविगेशन",
|
|
48
|
+
navigationDescription: "मुख्य नेविगेशन",
|
|
49
|
+
observability: "अवलोकनक्षमता",
|
|
50
|
+
openNavigation: "नेविगेशन खोलें",
|
|
51
|
+
settings: "सेटिंग्स",
|
|
52
|
+
team: "टीम",
|
|
53
|
+
},
|
|
54
|
+
pages: {
|
|
55
|
+
databaseTitle: "डेटाबेस",
|
|
56
|
+
observabilityPageTitle: "एजेंट ऑब्ज़र्वेबिलिटी",
|
|
57
|
+
teamTitle: "टीम",
|
|
58
|
+
teamCreateOrgDescription:
|
|
59
|
+
"टीम के सदस्यों को आमंत्रित करने और यह ऐप साझा करने के लिए संगठन बनाएं।",
|
|
60
|
+
},
|
|
61
|
+
root: {
|
|
62
|
+
commandActions: "कार्रवाइयाँ",
|
|
63
|
+
commandAppearance: "दिखावट",
|
|
64
|
+
commandSearch: "खोजें",
|
|
65
|
+
toggleTheme: "थीम बदलें",
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export default messages;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { AgentNativeI18nCatalog } from "@agent-native/core/client";
|
|
2
|
+
|
|
3
|
+
import enUS from "./en-US";
|
|
4
|
+
|
|
5
|
+
export const i18nCatalog = {
|
|
6
|
+
sourceLocale: "en-US",
|
|
7
|
+
messages: enUS,
|
|
8
|
+
loadMessages: async (locale) => {
|
|
9
|
+
switch (locale) {
|
|
10
|
+
case "zh-CN":
|
|
11
|
+
return (await import("./zh-CN")).default;
|
|
12
|
+
case "zh-TW":
|
|
13
|
+
return (await import("./zh-TW")).default;
|
|
14
|
+
case "es-ES":
|
|
15
|
+
return (await import("./es-ES")).default;
|
|
16
|
+
case "fr-FR":
|
|
17
|
+
return (await import("./fr-FR")).default;
|
|
18
|
+
case "de-DE":
|
|
19
|
+
return (await import("./de-DE")).default;
|
|
20
|
+
case "ja-JP":
|
|
21
|
+
return (await import("./ja-JP")).default;
|
|
22
|
+
case "ko-KR":
|
|
23
|
+
return (await import("./ko-KR")).default;
|
|
24
|
+
case "pt-BR":
|
|
25
|
+
return (await import("./pt-BR")).default;
|
|
26
|
+
case "hi-IN":
|
|
27
|
+
return (await import("./hi-IN")).default;
|
|
28
|
+
case "ar-SA":
|
|
29
|
+
return (await import("./ar-SA")).default;
|
|
30
|
+
default:
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
} satisfies AgentNativeI18nCatalog;
|