@agent-native/core 0.99.3 → 0.100.1
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 +21 -0
- package/corpus/core/docs/content/agent-surfaces.mdx +43 -0
- package/corpus/core/docs/content/external-agents.mdx +11 -0
- package/corpus/core/docs/content/locales/ar-SA/agent-surfaces.mdx +30 -0
- package/corpus/core/docs/content/locales/ar-SA/external-agents.mdx +9 -0
- package/corpus/core/docs/content/locales/de-DE/agent-surfaces.mdx +34 -0
- package/corpus/core/docs/content/locales/de-DE/external-agents.mdx +10 -0
- package/corpus/core/docs/content/locales/es-ES/agent-surfaces.mdx +34 -0
- package/corpus/core/docs/content/locales/es-ES/external-agents.mdx +10 -0
- package/corpus/core/docs/content/locales/fr-FR/agent-surfaces.mdx +34 -0
- package/corpus/core/docs/content/locales/fr-FR/external-agents.mdx +11 -0
- package/corpus/core/docs/content/locales/hi-IN/agent-surfaces.mdx +31 -0
- package/corpus/core/docs/content/locales/hi-IN/external-agents.mdx +9 -0
- package/corpus/core/docs/content/locales/ja-JP/agent-surfaces.mdx +32 -0
- package/corpus/core/docs/content/locales/ja-JP/external-agents.mdx +10 -0
- package/corpus/core/docs/content/locales/ko-KR/agent-surfaces.mdx +32 -0
- package/corpus/core/docs/content/locales/ko-KR/external-agents.mdx +9 -0
- package/corpus/core/docs/content/locales/pt-BR/agent-surfaces.mdx +33 -0
- package/corpus/core/docs/content/locales/pt-BR/external-agents.mdx +10 -0
- package/corpus/core/docs/content/locales/zh-CN/agent-surfaces.mdx +29 -0
- package/corpus/core/docs/content/locales/zh-CN/external-agents.mdx +8 -0
- package/corpus/core/docs/content/locales/zh-TW/agent-surfaces.mdx +29 -0
- package/corpus/core/docs/content/locales/zh-TW/external-agents.mdx +8 -0
- package/corpus/core/package.json +1 -1
- package/corpus/core/src/agent/context-xray/actions/context-evict.ts +11 -0
- package/corpus/core/src/agent/context-xray/actions/context-pin.ts +11 -0
- package/corpus/core/src/agent/context-xray/actions/context-preview-get.ts +134 -0
- package/corpus/core/src/agent/context-xray/actions/context-restore.ts +11 -0
- package/corpus/core/src/agent/context-xray/actions/errors.ts +20 -0
- package/corpus/core/src/agent/context-xray/manifest.ts +106 -7
- package/corpus/core/src/agent/engine/context-directives-transform.ts +5 -1
- package/corpus/core/src/agent/production-agent.ts +100 -38
- package/corpus/core/src/agent/run-loop-with-resume.ts +7 -2
- package/corpus/core/src/client/AgentPanel.tsx +35 -8
- package/corpus/core/src/client/agent-page/AgentContextTab.tsx +501 -0
- package/corpus/core/src/client/agent-page/AgentJobsTab.tsx +370 -0
- package/corpus/core/src/client/agent-page/AgentTabsPage.tsx +1084 -0
- package/corpus/core/src/client/agent-page/types.ts +18 -0
- package/corpus/core/src/client/agent-page/use-jobs.ts +150 -0
- package/corpus/core/src/client/context-xray/ContextMeter.tsx +22 -5
- package/corpus/core/src/client/context-xray/ContextTreemap.tsx +16 -1
- package/corpus/core/src/client/context-xray/ContextXRayPanel.tsx +168 -3
- package/corpus/core/src/client/context-xray/format.ts +6 -0
- package/corpus/core/src/client/index.ts +6 -0
- package/corpus/core/src/client/resources/ResourcesPanel.tsx +51 -23
- package/corpus/core/src/client/settings/AutomationsSection.tsx +407 -387
- package/corpus/core/src/jobs/actions/list-recurring-jobs.ts +105 -0
- package/corpus/core/src/jobs/actions/manage-recurring-job.ts +85 -0
- package/corpus/core/src/jobs/tools.ts +1 -1
- package/corpus/core/src/localization/default-messages.ts +110 -0
- package/corpus/core/src/mcp/build-server.ts +1 -0
- package/corpus/core/src/mcp/connect-route.ts +62 -65
- package/corpus/core/src/server/action-discovery.ts +23 -0
- package/corpus/core/src/server/agent-chat/prompt-resources.ts +174 -2
- package/corpus/core/src/server/agent-chat-plugin.ts +175 -2
- package/corpus/core/src/server/auth.ts +1 -7
- package/corpus/core/src/server/google-oauth.ts +1 -7
- package/corpus/core/src/server/workspace-oauth.ts +31 -0
- package/corpus/core/src/shared/context-xray.ts +84 -1
- package/corpus/core/src/shared/mcp-connect-content.ts +130 -0
- package/corpus/core/src/templates/default/app/routes/_index.tsx +11 -0
- package/corpus/core/src/templates/default/app/routes/agent.tsx +33 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +6 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/agent-page/SKILL.md +59 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/context-xray/SKILL.md +25 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/external-agents/SKILL.md +7 -0
- package/corpus/core/src/templates/workspace-core/.agents/skills/recurring-jobs/SKILL.md +9 -0
- package/corpus/core/src/triggers/actions/list-automations.ts +99 -0
- package/corpus/core/src/triggers/actions/manage-automation.ts +78 -0
- package/corpus/templates/analytics/actions/data-source-status.ts +33 -15
- package/corpus/templates/analytics/actions/query-agent-native-analytics.ts +1 -1
- package/corpus/templates/analytics/app/components/dashboard/SqlChart.tsx +149 -24
- package/corpus/templates/analytics/app/components/layout/CommandPalette.tsx +17 -0
- package/corpus/templates/analytics/app/components/layout/Header.tsx +1 -0
- package/corpus/templates/analytics/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/analytics/app/components/layout/Sidebar.tsx +8 -0
- package/corpus/templates/analytics/app/i18n/zh-TW.ts +1 -0
- package/corpus/templates/analytics/app/i18n-data.ts +1 -0
- package/corpus/templates/analytics/app/routes/agent.tsx +5 -0
- package/corpus/templates/analytics/changelog/2026-07-13-a-full-agent-page-now-brings-context-files-connections-jobs-.md +6 -0
- package/corpus/templates/analytics/changelog/2026-07-13-analytics-answers-can-use-built-in-first-party-event-data.md +6 -0
- package/corpus/templates/analytics/changelog/2026-07-13-chart-legends-can-filter-to-one-series-or-hide-a-series-on-h.md +6 -0
- package/corpus/templates/analytics/changelog/2026-07-13-gpt-5-6-luna-answers-now-recover-normally-instead-of-showing.md +6 -0
- package/corpus/templates/analytics/server/plugins/agent-chat.ts +11 -2
- package/corpus/templates/assets/app/components/layout/Header.tsx +1 -0
- package/corpus/templates/assets/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/assets/app/components/layout/Sidebar.tsx +2 -0
- package/corpus/templates/assets/app/routes/agent.tsx +5 -0
- package/corpus/templates/assets/changelog/2026-07-13-a-full-agent-page-now-brings-context-files-connections-jobs-.md +6 -0
- package/corpus/templates/brain/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/brain/app/components/layout/Sidebar.tsx +4 -1
- package/corpus/templates/brain/app/lib/brain.ts +11 -0
- package/corpus/templates/brain/app/root.tsx +15 -1
- package/corpus/templates/brain/app/routes/agent.tsx +11 -0
- package/corpus/templates/brain/changelog/2026-07-13-a-full-agent-page-now-brings-context-files-connections-jobs-.md +6 -0
- package/corpus/templates/calendar/AGENTS.md +9 -0
- package/corpus/templates/calendar/actions/list-events.ts +659 -44
- package/corpus/templates/calendar/app/components/layout/AppLayout.tsx +1 -0
- package/corpus/templates/calendar/app/components/layout/Sidebar.tsx +2 -0
- package/corpus/templates/calendar/app/root.tsx +17 -1
- package/corpus/templates/calendar/app/routes/_app.agent.tsx +25 -0
- package/corpus/templates/calendar/changelog/2026-07-13-a-full-agent-page-now-brings-context-files-connections-jobs-.md +6 -0
- package/corpus/templates/calendar/changelog/2026-07-13-calendar-inventory-reads-report-source-coverage.md +6 -0
- package/corpus/templates/calendar/server/lib/calendar-connector-catalog.ts +8 -0
- package/corpus/templates/calendar/server/lib/google-calendar.ts +173 -51
- package/corpus/templates/calendar/server/lib/ical-fetcher.ts +13 -2
- package/corpus/templates/calendar/server/plugins/agent-chat.ts +5 -3
- package/corpus/templates/calendar/shared/api.ts +2 -0
- package/corpus/templates/chat/app/components/layout/Header.tsx +1 -0
- package/corpus/templates/chat/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/chat/app/components/layout/Sidebar.tsx +7 -0
- package/corpus/templates/chat/app/hooks/use-navigation-state.ts +3 -0
- package/corpus/templates/chat/app/root.tsx +24 -2
- package/corpus/templates/chat/app/routes/agent.tsx +15 -0
- package/corpus/templates/chat/changelog/2026-07-13-a-full-agent-page-now-brings-context-files-connections-jobs-.md +6 -0
- package/corpus/templates/clips/app/components/library/library-layout.tsx +8 -0
- package/corpus/templates/clips/app/i18n/ar-SA.ts +2 -0
- package/corpus/templates/clips/app/i18n/de-DE.ts +2 -0
- package/corpus/templates/clips/app/i18n/en-US.ts +2 -0
- package/corpus/templates/clips/app/i18n/es-ES.ts +2 -0
- package/corpus/templates/clips/app/i18n/fr-FR.ts +2 -0
- package/corpus/templates/clips/app/i18n/hi-IN.ts +2 -0
- package/corpus/templates/clips/app/i18n/ja-JP.ts +2 -0
- package/corpus/templates/clips/app/i18n/ko-KR.ts +2 -0
- package/corpus/templates/clips/app/i18n/pt-BR.ts +2 -0
- package/corpus/templates/clips/app/i18n/zh-CN.ts +2 -0
- package/corpus/templates/clips/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/clips/app/root.tsx +7 -1
- package/corpus/templates/clips/app/routes/_app.agent.tsx +15 -0
- package/corpus/templates/clips/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/corpus/templates/content/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/content/app/components/sidebar/DocumentSidebar.tsx +36 -0
- package/corpus/templates/content/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/content/app/i18n-data.ts +44 -6
- package/corpus/templates/content/app/root.tsx +8 -0
- package/corpus/templates/content/app/routes/_app.agent.tsx +15 -0
- package/corpus/templates/content/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/corpus/templates/design/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/design/app/components/layout/Sidebar.tsx +2 -0
- package/corpus/templates/design/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/design/app/i18n-data.ts +20 -0
- package/corpus/templates/design/app/root.tsx +7 -1
- package/corpus/templates/design/app/routes/agent.tsx +15 -0
- package/corpus/templates/design/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/corpus/templates/dispatch/app/dispatch-extensions.tsx +10 -1
- package/corpus/templates/dispatch/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/dispatch/app/i18n-data.ts +20 -0
- package/corpus/templates/dispatch/app/root.tsx +7 -2
- package/corpus/templates/dispatch/app/routes/agent.tsx +18 -0
- package/corpus/templates/dispatch/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/corpus/templates/forms/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/forms/app/components/layout/Sidebar.tsx +35 -0
- package/corpus/templates/forms/app/i18n/ar-SA.ts +2 -0
- package/corpus/templates/forms/app/i18n/de-DE.ts +2 -0
- package/corpus/templates/forms/app/i18n/en-US.ts +2 -0
- package/corpus/templates/forms/app/i18n/es-ES.ts +2 -0
- package/corpus/templates/forms/app/i18n/fr-FR.ts +2 -0
- package/corpus/templates/forms/app/i18n/hi-IN.ts +2 -0
- package/corpus/templates/forms/app/i18n/ja-JP.ts +2 -0
- package/corpus/templates/forms/app/i18n/ko-KR.ts +2 -0
- package/corpus/templates/forms/app/i18n/pt-BR.ts +2 -0
- package/corpus/templates/forms/app/i18n/zh-CN.ts +2 -0
- package/corpus/templates/forms/app/i18n/zh-TW.ts +2 -0
- package/corpus/templates/forms/app/root.tsx +6 -1
- package/corpus/templates/forms/app/routes/_app.agent.tsx +15 -0
- package/corpus/templates/forms/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/corpus/templates/macros/app/components/layout/AppLayout.tsx +14 -2
- package/corpus/templates/macros/app/components/layout/Header.tsx +1 -0
- package/corpus/templates/macros/app/root.tsx +17 -2
- package/corpus/templates/macros/app/routes/agent.tsx +15 -0
- package/corpus/templates/macros/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/corpus/templates/mail/AGENTS.md +12 -0
- package/corpus/templates/mail/actions/list-emails.ts +486 -4
- package/corpus/templates/mail/app/components/layout/AppLayout.tsx +42 -0
- package/corpus/templates/mail/app/components/layout/CommandPalette.tsx +6 -0
- package/corpus/templates/mail/app/routes/agent.tsx +15 -0
- package/corpus/templates/mail/changelog/2026-07-13-coverage-aware-connected-inbox-inventory.md +6 -0
- package/corpus/templates/mail/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/corpus/templates/mail/server/db/schema.ts +17 -0
- package/corpus/templates/mail/server/lib/google-auth.ts +33 -5
- package/corpus/templates/mail/server/lib/inventory-cursor.ts +406 -0
- package/corpus/templates/mail/server/lib/list-inbox-emails.ts +21 -2
- package/corpus/templates/mail/server/lib/mail-connector-catalog.ts +8 -0
- package/corpus/templates/mail/server/plugins/agent-chat.ts +4 -9
- package/corpus/templates/mail/server/plugins/db.ts +20 -0
- package/corpus/templates/plan/app/components/layout/Header.tsx +1 -0
- package/corpus/templates/plan/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/plan/app/components/layout/Sidebar.tsx +2 -0
- package/corpus/templates/plan/app/root.tsx +8 -0
- package/corpus/templates/plan/app/routes/agent.tsx +15 -0
- package/corpus/templates/plan/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/corpus/templates/slides/app/components/layout/Header.tsx +1 -0
- package/corpus/templates/slides/app/components/layout/Layout.tsx +1 -0
- package/corpus/templates/slides/app/components/layout/Sidebar.tsx +2 -0
- package/corpus/templates/slides/app/root.tsx +10 -1
- package/corpus/templates/slides/app/routes/agent.tsx +15 -0
- package/corpus/templates/slides/changelog/2026-07-13-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -0
- package/dist/agent/context-xray/actions/context-evict.js +5 -2
- package/dist/agent/context-xray/actions/context-evict.js.map +1 -1
- package/dist/agent/context-xray/actions/context-pin.js +5 -2
- package/dist/agent/context-xray/actions/context-pin.js.map +1 -1
- package/dist/agent/context-xray/actions/context-preview-get.d.ts +17 -0
- package/dist/agent/context-xray/actions/context-preview-get.d.ts.map +1 -0
- package/dist/agent/context-xray/actions/context-preview-get.js +94 -0
- package/dist/agent/context-xray/actions/context-preview-get.js.map +1 -0
- package/dist/agent/context-xray/actions/context-restore.js +5 -2
- package/dist/agent/context-xray/actions/context-restore.js.map +1 -1
- package/dist/agent/context-xray/actions/errors.d.ts +3 -0
- package/dist/agent/context-xray/actions/errors.d.ts.map +1 -1
- package/dist/agent/context-xray/actions/errors.js +6 -0
- package/dist/agent/context-xray/actions/errors.js.map +1 -1
- package/dist/agent/context-xray/manifest.d.ts +18 -1
- package/dist/agent/context-xray/manifest.d.ts.map +1 -1
- package/dist/agent/context-xray/manifest.js +68 -6
- package/dist/agent/context-xray/manifest.js.map +1 -1
- package/dist/agent/engine/context-directives-transform.d.ts +2 -0
- package/dist/agent/engine/context-directives-transform.d.ts.map +1 -1
- package/dist/agent/engine/context-directives-transform.js +2 -1
- package/dist/agent/engine/context-directives-transform.js.map +1 -1
- package/dist/agent/production-agent.d.ts +15 -0
- package/dist/agent/production-agent.d.ts.map +1 -1
- package/dist/agent/production-agent.js +74 -36
- package/dist/agent/production-agent.js.map +1 -1
- package/dist/agent/run-loop-with-resume.d.ts.map +1 -1
- package/dist/agent/run-loop-with-resume.js +6 -3
- package/dist/agent/run-loop-with-resume.js.map +1 -1
- package/dist/client/AgentPanel.d.ts +5 -1
- package/dist/client/AgentPanel.d.ts.map +1 -1
- package/dist/client/AgentPanel.js +9 -11
- package/dist/client/AgentPanel.js.map +1 -1
- package/dist/client/agent-page/AgentContextTab.d.ts +5 -0
- package/dist/client/agent-page/AgentContextTab.d.ts.map +1 -0
- package/dist/client/agent-page/AgentContextTab.js +202 -0
- package/dist/client/agent-page/AgentContextTab.js.map +1 -0
- package/dist/client/agent-page/AgentJobsTab.d.ts +3 -0
- package/dist/client/agent-page/AgentJobsTab.d.ts.map +1 -0
- package/dist/client/agent-page/AgentJobsTab.js +98 -0
- package/dist/client/agent-page/AgentJobsTab.js.map +1 -0
- package/dist/client/agent-page/AgentTabsPage.d.ts +20 -0
- package/dist/client/agent-page/AgentTabsPage.d.ts.map +1 -0
- package/dist/client/agent-page/AgentTabsPage.js +420 -0
- package/dist/client/agent-page/AgentTabsPage.js.map +1 -0
- package/dist/client/agent-page/types.d.ts +17 -0
- package/dist/client/agent-page/types.d.ts.map +1 -0
- package/dist/client/agent-page/types.js +9 -0
- package/dist/client/agent-page/types.js.map +1 -0
- package/dist/client/agent-page/use-jobs.d.ts +61 -0
- package/dist/client/agent-page/use-jobs.d.ts.map +1 -0
- package/dist/client/agent-page/use-jobs.js +71 -0
- package/dist/client/agent-page/use-jobs.js.map +1 -0
- package/dist/client/context-xray/ContextMeter.d.ts +3 -1
- package/dist/client/context-xray/ContextMeter.d.ts.map +1 -1
- package/dist/client/context-xray/ContextMeter.js +14 -5
- package/dist/client/context-xray/ContextMeter.js.map +1 -1
- package/dist/client/context-xray/ContextTreemap.d.ts +3 -2
- package/dist/client/context-xray/ContextTreemap.d.ts.map +1 -1
- package/dist/client/context-xray/ContextTreemap.js +9 -1
- package/dist/client/context-xray/ContextTreemap.js.map +1 -1
- package/dist/client/context-xray/ContextXRayPanel.d.ts.map +1 -1
- package/dist/client/context-xray/ContextXRayPanel.js +95 -20
- package/dist/client/context-xray/ContextXRayPanel.js.map +1 -1
- package/dist/client/context-xray/format.d.ts.map +1 -1
- package/dist/client/context-xray/format.js +12 -0
- package/dist/client/context-xray/format.js.map +1 -1
- package/dist/client/index.d.ts +3 -0
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +1 -0
- package/dist/client/index.js.map +1 -1
- package/dist/client/resources/ResourcesPanel.d.ts +9 -1
- package/dist/client/resources/ResourcesPanel.d.ts.map +1 -1
- package/dist/client/resources/ResourcesPanel.js +26 -10
- package/dist/client/resources/ResourcesPanel.js.map +1 -1
- package/dist/client/settings/AutomationsSection.d.ts +9 -0
- package/dist/client/settings/AutomationsSection.d.ts.map +1 -1
- package/dist/client/settings/AutomationsSection.js +128 -147
- package/dist/client/settings/AutomationsSection.js.map +1 -1
- package/dist/collab/routes.d.ts +1 -1
- package/dist/collab/struct-routes.d.ts +1 -1
- package/dist/file-upload/actions/upload-image.d.ts +1 -1
- package/dist/jobs/actions/list-recurring-jobs.d.ts +21 -0
- package/dist/jobs/actions/list-recurring-jobs.d.ts.map +1 -0
- package/dist/jobs/actions/list-recurring-jobs.js +74 -0
- package/dist/jobs/actions/list-recurring-jobs.js.map +1 -0
- package/dist/jobs/actions/manage-recurring-job.d.ts +18 -0
- package/dist/jobs/actions/manage-recurring-job.d.ts.map +1 -0
- package/dist/jobs/actions/manage-recurring-job.js +68 -0
- package/dist/jobs/actions/manage-recurring-job.js.map +1 -0
- package/dist/jobs/tools.d.ts +13 -0
- package/dist/jobs/tools.d.ts.map +1 -1
- package/dist/jobs/tools.js +1 -1
- package/dist/jobs/tools.js.map +1 -1
- package/dist/localization/default-messages.d.ts +96 -0
- package/dist/localization/default-messages.d.ts.map +1 -1
- package/dist/localization/default-messages.js +96 -0
- package/dist/localization/default-messages.js.map +1 -1
- package/dist/mcp/build-server.d.ts.map +1 -1
- package/dist/mcp/build-server.js +1 -0
- package/dist/mcp/build-server.js.map +1 -1
- package/dist/mcp/connect-route.d.ts.map +1 -1
- package/dist/mcp/connect-route.js +44 -59
- package/dist/mcp/connect-route.js.map +1 -1
- package/dist/notifications/routes.d.ts +1 -1
- package/dist/observability/routes.d.ts +5 -5
- package/dist/progress/routes.d.ts +1 -1
- package/dist/resources/handlers.d.ts +3 -3
- package/dist/secrets/routes.d.ts +9 -9
- package/dist/server/action-discovery.d.ts.map +1 -1
- package/dist/server/action-discovery.js +23 -0
- package/dist/server/action-discovery.js.map +1 -1
- package/dist/server/agent-chat/prompt-resources.d.ts +14 -0
- package/dist/server/agent-chat/prompt-resources.d.ts.map +1 -1
- package/dist/server/agent-chat/prompt-resources.js +139 -2
- package/dist/server/agent-chat/prompt-resources.js.map +1 -1
- package/dist/server/agent-chat-plugin.d.ts +1 -0
- package/dist/server/agent-chat-plugin.d.ts.map +1 -1
- package/dist/server/agent-chat-plugin.js +136 -3
- package/dist/server/agent-chat-plugin.js.map +1 -1
- package/dist/server/agent-engine-api-key-route.d.ts +1 -1
- package/dist/server/auth.d.ts.map +1 -1
- package/dist/server/auth.js +1 -4
- package/dist/server/auth.js.map +1 -1
- package/dist/server/google-oauth.d.ts.map +1 -1
- package/dist/server/google-oauth.js +1 -4
- package/dist/server/google-oauth.js.map +1 -1
- package/dist/server/workspace-oauth.d.ts +11 -0
- package/dist/server/workspace-oauth.d.ts.map +1 -0
- package/dist/server/workspace-oauth.js +25 -0
- package/dist/server/workspace-oauth.js.map +1 -0
- package/dist/shared/context-xray.d.ts +45 -1
- package/dist/shared/context-xray.d.ts.map +1 -1
- package/dist/shared/context-xray.js +12 -0
- package/dist/shared/context-xray.js.map +1 -1
- package/dist/shared/mcp-connect-content.d.ts +37 -0
- package/dist/shared/mcp-connect-content.d.ts.map +1 -0
- package/dist/shared/mcp-connect-content.js +92 -0
- package/dist/shared/mcp-connect-content.js.map +1 -0
- package/dist/templates/default/app/routes/_index.tsx +11 -0
- package/dist/templates/default/app/routes/agent.tsx +33 -0
- package/dist/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +6 -0
- package/dist/templates/workspace-core/.agents/skills/agent-page/SKILL.md +59 -0
- package/dist/templates/workspace-core/.agents/skills/context-xray/SKILL.md +25 -0
- package/dist/templates/workspace-core/.agents/skills/external-agents/SKILL.md +7 -0
- package/dist/templates/workspace-core/.agents/skills/recurring-jobs/SKILL.md +9 -0
- package/dist/triggers/actions/list-automations.d.ts +24 -0
- package/dist/triggers/actions/list-automations.d.ts.map +1 -0
- package/dist/triggers/actions/list-automations.js +72 -0
- package/dist/triggers/actions/list-automations.js.map +1 -0
- package/dist/triggers/actions/manage-automation.d.ts +18 -0
- package/dist/triggers/actions/manage-automation.d.ts.map +1 -0
- package/dist/triggers/actions/manage-automation.js +60 -0
- package/dist/triggers/actions/manage-automation.js.map +1 -0
- package/docs/content/agent-surfaces.mdx +43 -0
- package/docs/content/external-agents.mdx +11 -0
- package/docs/content/locales/ar-SA/agent-surfaces.mdx +30 -0
- package/docs/content/locales/ar-SA/external-agents.mdx +9 -0
- package/docs/content/locales/de-DE/agent-surfaces.mdx +34 -0
- package/docs/content/locales/de-DE/external-agents.mdx +10 -0
- package/docs/content/locales/es-ES/agent-surfaces.mdx +34 -0
- package/docs/content/locales/es-ES/external-agents.mdx +10 -0
- package/docs/content/locales/fr-FR/agent-surfaces.mdx +34 -0
- package/docs/content/locales/fr-FR/external-agents.mdx +11 -0
- package/docs/content/locales/hi-IN/agent-surfaces.mdx +31 -0
- package/docs/content/locales/hi-IN/external-agents.mdx +9 -0
- package/docs/content/locales/ja-JP/agent-surfaces.mdx +32 -0
- package/docs/content/locales/ja-JP/external-agents.mdx +10 -0
- package/docs/content/locales/ko-KR/agent-surfaces.mdx +32 -0
- package/docs/content/locales/ko-KR/external-agents.mdx +9 -0
- package/docs/content/locales/pt-BR/agent-surfaces.mdx +33 -0
- package/docs/content/locales/pt-BR/external-agents.mdx +10 -0
- package/docs/content/locales/zh-CN/agent-surfaces.mdx +29 -0
- package/docs/content/locales/zh-CN/external-agents.mdx +8 -0
- package/docs/content/locales/zh-TW/agent-surfaces.mdx +29 -0
- package/docs/content/locales/zh-TW/external-agents.mdx +8 -0
- package/package.json +1 -1
- package/src/templates/default/app/routes/_index.tsx +11 -0
- package/src/templates/default/app/routes/agent.tsx +33 -0
- package/src/templates/workspace-core/.agents/skills/agent-native-toolkit/SKILL.md +6 -0
- package/src/templates/workspace-core/.agents/skills/agent-page/SKILL.md +59 -0
- package/src/templates/workspace-core/.agents/skills/context-xray/SKILL.md +25 -0
- package/src/templates/workspace-core/.agents/skills/external-agents/SKILL.md +7 -0
- package/src/templates/workspace-core/.agents/skills/recurring-jobs/SKILL.md +9 -0
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
IconLayoutSidebarLeftExpand,
|
|
30
30
|
IconPlus,
|
|
31
31
|
IconShare,
|
|
32
|
+
IconBrain,
|
|
32
33
|
IconSettings,
|
|
33
34
|
} from "@tabler/icons-react";
|
|
34
35
|
import { ReactNode, useEffect, useMemo, useState } from "react";
|
|
@@ -240,6 +241,12 @@ export function LibraryLayout({ children }: LibraryLayoutProps) {
|
|
|
240
241
|
icon: IconTrash,
|
|
241
242
|
match: (p) => p.startsWith("/trash"),
|
|
242
243
|
},
|
|
244
|
+
{
|
|
245
|
+
to: "/agent",
|
|
246
|
+
label: t("navigation.agent"),
|
|
247
|
+
icon: IconBrain,
|
|
248
|
+
match: (p) => p.startsWith("/agent"),
|
|
249
|
+
},
|
|
243
250
|
{
|
|
244
251
|
to: "/settings",
|
|
245
252
|
label: t("navigation.settings"),
|
|
@@ -547,6 +554,7 @@ export function LibraryLayout({ children }: LibraryLayoutProps) {
|
|
|
547
554
|
t("navigation.agentSuggestionPricing"),
|
|
548
555
|
t("navigation.agentSuggestionFiller"),
|
|
549
556
|
]}
|
|
557
|
+
agentPageHref="/agent"
|
|
550
558
|
scope={recordingScope}
|
|
551
559
|
browserTabId={getBrowserTabId()}
|
|
552
560
|
>
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "الإجراءات",
|
|
15
15
|
commandSearch: "بحث",
|
|
16
|
+
openAgent: "فتح الوكيل",
|
|
16
17
|
commandAppearance: "المظهر",
|
|
17
18
|
toggleTheme: "تبديل السمة",
|
|
18
19
|
extensionSignedInTitle: "تم تسجيل الدخول",
|
|
@@ -53,6 +54,7 @@ const messages = {
|
|
|
53
54
|
dictate: "إملاء",
|
|
54
55
|
archive: "الأرشيف",
|
|
55
56
|
trash: "المهملات",
|
|
57
|
+
agent: "الوكيل",
|
|
56
58
|
settings: "الإعدادات",
|
|
57
59
|
notifications: "الإشعارات",
|
|
58
60
|
insights: "الرؤى",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "Aktionen",
|
|
15
15
|
commandSearch: "Suchen",
|
|
16
|
+
openAgent: "Agent öffnen",
|
|
16
17
|
commandAppearance: "Darstellung",
|
|
17
18
|
toggleTheme: "Design wechseln",
|
|
18
19
|
extensionSignedInTitle: "Angemeldet",
|
|
@@ -54,6 +55,7 @@ const messages = {
|
|
|
54
55
|
dictate: "Diktieren",
|
|
55
56
|
archive: "Archiv",
|
|
56
57
|
trash: "Papierkorb",
|
|
58
|
+
agent: "Agent",
|
|
57
59
|
settings: "Einstellungen",
|
|
58
60
|
notifications: "Benachrichtigungen",
|
|
59
61
|
insights: "Einblicke",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "Actions",
|
|
15
15
|
commandSearch: "Search",
|
|
16
|
+
openAgent: "Open Agent",
|
|
16
17
|
commandAppearance: "Appearance",
|
|
17
18
|
toggleTheme: "Toggle theme",
|
|
18
19
|
extensionSignedInTitle: "Signed in",
|
|
@@ -54,6 +55,7 @@ const messages = {
|
|
|
54
55
|
dictate: "Dictate",
|
|
55
56
|
archive: "Archive",
|
|
56
57
|
trash: "Trash",
|
|
58
|
+
agent: "Agent",
|
|
57
59
|
settings: "Settings",
|
|
58
60
|
notifications: "Notifications",
|
|
59
61
|
insights: "Insights",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "Acciones",
|
|
15
15
|
commandSearch: "Buscar",
|
|
16
|
+
openAgent: "Abrir agente",
|
|
16
17
|
commandAppearance: "Apariencia",
|
|
17
18
|
toggleTheme: "Cambiar tema",
|
|
18
19
|
extensionSignedInTitle: "Sesión iniciada",
|
|
@@ -54,6 +55,7 @@ const messages = {
|
|
|
54
55
|
dictate: "Dictar",
|
|
55
56
|
archive: "Archivo",
|
|
56
57
|
trash: "Papelera",
|
|
58
|
+
agent: "Agente",
|
|
57
59
|
settings: "Ajustes",
|
|
58
60
|
notifications: "Notificaciones",
|
|
59
61
|
insights: "Información",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "Opérations",
|
|
15
15
|
commandSearch: "Rechercher",
|
|
16
|
+
openAgent: "Ouvrir l’agent",
|
|
16
17
|
commandAppearance: "Apparence",
|
|
17
18
|
toggleTheme: "Changer de thème",
|
|
18
19
|
extensionSignedInTitle: "Connecté",
|
|
@@ -54,6 +55,7 @@ const messages = {
|
|
|
54
55
|
dictate: "Dicter",
|
|
55
56
|
archive: "Archiver",
|
|
56
57
|
trash: "Corbeille",
|
|
58
|
+
agent: "Agent",
|
|
57
59
|
settings: "Paramètres",
|
|
58
60
|
notifications: "Alertes",
|
|
59
61
|
insights: "Analyses",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "कार्रवाइयाँ",
|
|
15
15
|
commandSearch: "खोजें",
|
|
16
|
+
openAgent: "एजेंट खोलें",
|
|
16
17
|
commandAppearance: "दिखावट",
|
|
17
18
|
toggleTheme: "थीम बदलें",
|
|
18
19
|
extensionSignedInTitle: "साइन इन हो गया",
|
|
@@ -54,6 +55,7 @@ const messages = {
|
|
|
54
55
|
dictate: "डिक्टेट",
|
|
55
56
|
archive: "आर्काइव",
|
|
56
57
|
trash: "ट्रैश",
|
|
58
|
+
agent: "एजेंट",
|
|
57
59
|
settings: "सेटिंग्स",
|
|
58
60
|
notifications: "सूचनाएँ",
|
|
59
61
|
insights: "इनसाइट्स",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "アクション",
|
|
15
15
|
commandSearch: "検索",
|
|
16
|
+
openAgent: "エージェントを開く",
|
|
16
17
|
commandAppearance: "表示",
|
|
17
18
|
toggleTheme: "テーマを切り替え",
|
|
18
19
|
extensionSignedInTitle: "サインインしました",
|
|
@@ -54,6 +55,7 @@ const messages = {
|
|
|
54
55
|
dictate: "ディクテーション",
|
|
55
56
|
archive: "アーカイブ",
|
|
56
57
|
trash: "ゴミ箱",
|
|
58
|
+
agent: "エージェント",
|
|
57
59
|
settings: "設定",
|
|
58
60
|
notifications: "通知",
|
|
59
61
|
insights: "インサイト",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "작업",
|
|
15
15
|
commandSearch: "검색",
|
|
16
|
+
openAgent: "에이전트 열기",
|
|
16
17
|
commandAppearance: "화면 표시",
|
|
17
18
|
toggleTheme: "테마 전환",
|
|
18
19
|
extensionSignedInTitle: "로그인됨",
|
|
@@ -54,6 +55,7 @@ const messages = {
|
|
|
54
55
|
dictate: "받아쓰기",
|
|
55
56
|
archive: "보관함",
|
|
56
57
|
trash: "휴지통",
|
|
58
|
+
agent: "에이전트",
|
|
57
59
|
settings: "설정",
|
|
58
60
|
notifications: "알림",
|
|
59
61
|
insights: "인사이트",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "Ações",
|
|
15
15
|
commandSearch: "Pesquisar",
|
|
16
|
+
openAgent: "Abrir agente",
|
|
16
17
|
commandAppearance: "Aparência",
|
|
17
18
|
toggleTheme: "Alternar tema",
|
|
18
19
|
extensionSignedInTitle: "Conectado",
|
|
@@ -54,6 +55,7 @@ const messages = {
|
|
|
54
55
|
dictate: "Ditar",
|
|
55
56
|
archive: "Arquivo",
|
|
56
57
|
trash: "Lixeira",
|
|
58
|
+
agent: "Agente",
|
|
57
59
|
settings: "Configurações",
|
|
58
60
|
notifications: "Notificações",
|
|
59
61
|
insights: "Percepções",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "操作",
|
|
15
15
|
commandSearch: "搜索",
|
|
16
|
+
openAgent: "打开代理",
|
|
16
17
|
commandAppearance: "外观",
|
|
17
18
|
toggleTheme: "切换主题",
|
|
18
19
|
extensionSignedInTitle: "已登录",
|
|
@@ -52,6 +53,7 @@ const messages = {
|
|
|
52
53
|
dictate: "听写",
|
|
53
54
|
archive: "归档",
|
|
54
55
|
trash: "废纸篓",
|
|
56
|
+
agent: "代理",
|
|
55
57
|
settings: "设置",
|
|
56
58
|
notifications: "通知",
|
|
57
59
|
insights: "洞察",
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
root: {
|
|
14
14
|
commandActions: "操作",
|
|
15
15
|
commandSearch: "搜尋",
|
|
16
|
+
openAgent: "開啟代理",
|
|
16
17
|
commandAppearance: "外觀",
|
|
17
18
|
toggleTheme: "切換主題",
|
|
18
19
|
extensionSignedInTitle: "已登入",
|
|
@@ -52,6 +53,7 @@ const messages = {
|
|
|
52
53
|
dictate: "聽寫",
|
|
53
54
|
archive: "封存",
|
|
54
55
|
trash: "廢紙簍",
|
|
56
|
+
agent: "代理",
|
|
55
57
|
settings: "設定",
|
|
56
58
|
notifications: "通知",
|
|
57
59
|
insights: "洞察",
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "@agent-native/core/client";
|
|
16
16
|
import { configureTracking } from "@agent-native/core/client";
|
|
17
17
|
import { resolveLocaleFromRequest } from "@agent-native/core/server";
|
|
18
|
-
import { IconCheck, IconSun, IconMoon } from "@tabler/icons-react";
|
|
18
|
+
import { IconBrain, IconCheck, IconSun, IconMoon } from "@tabler/icons-react";
|
|
19
19
|
import { useQueryClient } from "@tanstack/react-query";
|
|
20
20
|
import { useTheme } from "next-themes";
|
|
21
21
|
import { useCallback, useEffect, useState } from "react";
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
ScrollRestoration,
|
|
28
28
|
useLoaderData,
|
|
29
29
|
useLocation,
|
|
30
|
+
useNavigate,
|
|
30
31
|
useRouteLoaderData,
|
|
31
32
|
} from "react-router";
|
|
32
33
|
import type { LinksFunction, LoaderFunctionArgs } from "react-router";
|
|
@@ -336,6 +337,7 @@ function isStandalonePublicPath(pathname: string): boolean {
|
|
|
336
337
|
|
|
337
338
|
function AppContent() {
|
|
338
339
|
const location = useLocation();
|
|
340
|
+
const navigate = useNavigate();
|
|
339
341
|
const t = useT();
|
|
340
342
|
const standalonePublic = isStandalonePublicPath(location.pathname);
|
|
341
343
|
const [cmdkOpen, setCmdkOpen] = useState(false);
|
|
@@ -358,6 +360,10 @@ function AppContent() {
|
|
|
358
360
|
changelogKey="clips"
|
|
359
361
|
>
|
|
360
362
|
<CommandMenu.Group heading={t("root.commandActions")}>
|
|
363
|
+
<CommandMenu.Item onSelect={() => navigate("/agent")}>
|
|
364
|
+
<IconBrain size={16} />
|
|
365
|
+
{t("root.openAgent")}
|
|
366
|
+
</CommandMenu.Item>
|
|
361
367
|
<CommandMenu.Item onSelect={() => {}}>
|
|
362
368
|
{t("root.commandSearch")}
|
|
363
369
|
</CommandMenu.Item>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AgentTabsPage, useT } from "@agent-native/core/client";
|
|
2
|
+
import { useSetPageTitle } from "@agent-native/toolkit/app-shell";
|
|
3
|
+
|
|
4
|
+
import messages from "@/i18n/en-US";
|
|
5
|
+
|
|
6
|
+
export function meta() {
|
|
7
|
+
return [{ title: messages.settings.agentTitle }];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export default function AgentRoute() {
|
|
11
|
+
const t = useT();
|
|
12
|
+
useSetPageTitle(t("settings.agentTitle"));
|
|
13
|
+
|
|
14
|
+
return <AgentTabsPage />;
|
|
15
|
+
}
|
|
@@ -29,6 +29,7 @@ import {
|
|
|
29
29
|
import type { Document, DocumentTreeNode } from "@shared/api";
|
|
30
30
|
import {
|
|
31
31
|
IconDatabase,
|
|
32
|
+
IconBrain,
|
|
32
33
|
IconFileText,
|
|
33
34
|
IconPlus,
|
|
34
35
|
IconRestore,
|
|
@@ -232,6 +233,7 @@ export function DocumentSidebar({
|
|
|
232
233
|
const [removeLocalFilesDialogOpen, setRemoveLocalFilesDialogOpen] =
|
|
233
234
|
useState(false);
|
|
234
235
|
const localFilesActive = location.pathname.startsWith("/local-files");
|
|
236
|
+
const agentActive = location.pathname.startsWith("/agent");
|
|
235
237
|
const settingsActive = location.pathname.startsWith("/settings");
|
|
236
238
|
const sensors = useSensors(
|
|
237
239
|
useSensor(PointerSensor, {
|
|
@@ -821,6 +823,23 @@ export function DocumentSidebar({
|
|
|
821
823
|
</Link>
|
|
822
824
|
);
|
|
823
825
|
|
|
826
|
+
const renderAgentNavButton = () => (
|
|
827
|
+
<Link
|
|
828
|
+
to="/agent"
|
|
829
|
+
className={cn(
|
|
830
|
+
"flex h-8 w-full items-center gap-2 rounded-md px-2 text-sm",
|
|
831
|
+
agentActive
|
|
832
|
+
? "bg-accent text-accent-foreground"
|
|
833
|
+
: "text-muted-foreground hover:bg-accent/50 hover:text-foreground",
|
|
834
|
+
)}
|
|
835
|
+
>
|
|
836
|
+
<IconBrain size={15} className="shrink-0" />
|
|
837
|
+
<span className="min-w-0 flex-1 truncate text-start">
|
|
838
|
+
{t("navigation.agent")}
|
|
839
|
+
</span>
|
|
840
|
+
</Link>
|
|
841
|
+
);
|
|
842
|
+
|
|
824
843
|
const toggleSection = (id: SidebarSectionId) => {
|
|
825
844
|
setStoredCollapsedSections((current) => {
|
|
826
845
|
const normalized = normalizeCollapsedSections(current);
|
|
@@ -1096,6 +1115,22 @@ export function DocumentSidebar({
|
|
|
1096
1115
|
</TooltipTrigger>
|
|
1097
1116
|
<TooltipContent>{t("sidebar.localFiles")}</TooltipContent>
|
|
1098
1117
|
</Tooltip>
|
|
1118
|
+
<Tooltip>
|
|
1119
|
+
<TooltipTrigger asChild>
|
|
1120
|
+
<Link
|
|
1121
|
+
to="/agent"
|
|
1122
|
+
className={cn(
|
|
1123
|
+
"w-10 h-10 flex items-center justify-center rounded-lg hover:bg-accent",
|
|
1124
|
+
agentActive
|
|
1125
|
+
? "bg-accent text-accent-foreground"
|
|
1126
|
+
: "text-muted-foreground hover:text-foreground",
|
|
1127
|
+
)}
|
|
1128
|
+
>
|
|
1129
|
+
<IconBrain size={16} />
|
|
1130
|
+
</Link>
|
|
1131
|
+
</TooltipTrigger>
|
|
1132
|
+
<TooltipContent>{t("navigation.agent")}</TooltipContent>
|
|
1133
|
+
</Tooltip>
|
|
1099
1134
|
<Tooltip>
|
|
1100
1135
|
<TooltipTrigger asChild>
|
|
1101
1136
|
<Link
|
|
@@ -1334,6 +1369,7 @@ export function DocumentSidebar({
|
|
|
1334
1369
|
<div className="shrink-0 px-3 py-2">
|
|
1335
1370
|
<div className="space-y-1">
|
|
1336
1371
|
{renderLocalFilesNavButton()}
|
|
1372
|
+
{renderAgentNavButton()}
|
|
1337
1373
|
{renderSettingsNavButton()}
|
|
1338
1374
|
</div>
|
|
1339
1375
|
</div>
|
|
@@ -13,6 +13,7 @@ const messages = {
|
|
|
13
13
|
commandLocalFilesHeading: "本機檔案",
|
|
14
14
|
commandDatabaseResultDescription: "開啟資料庫頁面",
|
|
15
15
|
commandAppearance: "外觀",
|
|
16
|
+
openAgent: "開啟代理",
|
|
16
17
|
toggleTheme: "切換主題",
|
|
17
18
|
metaTitle:
|
|
18
19
|
"Agent-Native Content - 開放原始碼且代理友善的 Obsidian 替代方案",
|
|
@@ -26,6 +27,7 @@ const messages = {
|
|
|
26
27
|
},
|
|
27
28
|
navigation: {
|
|
28
29
|
openSidebar: "開啟側邊欄",
|
|
30
|
+
agent: "代理",
|
|
29
31
|
settings: "設定",
|
|
30
32
|
},
|
|
31
33
|
team: {
|
|
@@ -2643,6 +2643,7 @@ const enUS = {
|
|
|
2643
2643
|
commandLocalFilesHeading: "Local files",
|
|
2644
2644
|
commandDatabaseResultDescription: "Open database page",
|
|
2645
2645
|
commandAppearance: "Appearance",
|
|
2646
|
+
openAgent: "Open Agent",
|
|
2646
2647
|
toggleTheme: "Toggle theme",
|
|
2647
2648
|
metaTitle:
|
|
2648
2649
|
"Agent-Native Content - Open Source, agent-friendly Obsidian alternative",
|
|
@@ -2656,6 +2657,7 @@ const enUS = {
|
|
|
2656
2657
|
},
|
|
2657
2658
|
navigation: {
|
|
2658
2659
|
openSidebar: "Open sidebar",
|
|
2660
|
+
agent: "Agent",
|
|
2659
2661
|
settings: "Settings",
|
|
2660
2662
|
},
|
|
2661
2663
|
team: {
|
|
@@ -8433,10 +8435,15 @@ export const messagesByLocale = {
|
|
|
8433
8435
|
commandLocalFilesHeading: "本地文件",
|
|
8434
8436
|
commandDatabaseResultDescription: "打开数据库页面",
|
|
8435
8437
|
commandAppearance: "外观",
|
|
8438
|
+
openAgent: "打开代理",
|
|
8436
8439
|
toggleTheme: "切换主题",
|
|
8437
8440
|
},
|
|
8438
8441
|
theme: { system: "系统主题", light: "浅色主题", dark: "深色主题" },
|
|
8439
|
-
navigation: {
|
|
8442
|
+
navigation: {
|
|
8443
|
+
openSidebar: "打开侧边栏",
|
|
8444
|
+
agent: "代理",
|
|
8445
|
+
settings: "设置",
|
|
8446
|
+
},
|
|
8440
8447
|
team: {
|
|
8441
8448
|
metaTitle: "工作区访问 - Content",
|
|
8442
8449
|
pageTitle: "工作区访问",
|
|
@@ -8598,6 +8605,7 @@ export const messagesByLocale = {
|
|
|
8598
8605
|
commandLocalFilesHeading: "Archivos locales",
|
|
8599
8606
|
commandDatabaseResultDescription: "Abrir página de base de datos",
|
|
8600
8607
|
commandAppearance: "Apariencia",
|
|
8608
|
+
openAgent: "Abrir agente",
|
|
8601
8609
|
toggleTheme: "Cambiar tema",
|
|
8602
8610
|
},
|
|
8603
8611
|
theme: {
|
|
@@ -8605,7 +8613,11 @@ export const messagesByLocale = {
|
|
|
8605
8613
|
light: "Tema claro",
|
|
8606
8614
|
dark: "Tema oscuro",
|
|
8607
8615
|
},
|
|
8608
|
-
navigation: {
|
|
8616
|
+
navigation: {
|
|
8617
|
+
openSidebar: "Abrir barra lateral",
|
|
8618
|
+
agent: "Agente",
|
|
8619
|
+
settings: "Ajustes",
|
|
8620
|
+
},
|
|
8609
8621
|
team: {
|
|
8610
8622
|
metaTitle: "Acceso al espacio de trabajo - Content",
|
|
8611
8623
|
pageTitle: "Acceso al espacio de trabajo",
|
|
@@ -8773,6 +8785,7 @@ export const messagesByLocale = {
|
|
|
8773
8785
|
commandLocalFilesHeading: "Fichiers locaux",
|
|
8774
8786
|
commandDatabaseResultDescription: "Ouvrir la page de base de données",
|
|
8775
8787
|
commandAppearance: "Apparence",
|
|
8788
|
+
openAgent: "Ouvrir l’agent",
|
|
8776
8789
|
toggleTheme: "Changer de thème",
|
|
8777
8790
|
},
|
|
8778
8791
|
theme: {
|
|
@@ -8782,6 +8795,7 @@ export const messagesByLocale = {
|
|
|
8782
8795
|
},
|
|
8783
8796
|
navigation: {
|
|
8784
8797
|
openSidebar: "Ouvrir la barre latérale",
|
|
8798
|
+
agent: "Agent",
|
|
8785
8799
|
settings: "Paramètres",
|
|
8786
8800
|
},
|
|
8787
8801
|
team: {
|
|
@@ -8949,6 +8963,7 @@ export const messagesByLocale = {
|
|
|
8949
8963
|
commandLocalFilesHeading: "Lokale Dateien",
|
|
8950
8964
|
commandDatabaseResultDescription: "Datenbankseite öffnen",
|
|
8951
8965
|
commandAppearance: "Darstellung",
|
|
8966
|
+
openAgent: "Agent öffnen",
|
|
8952
8967
|
toggleTheme: "Theme wechseln",
|
|
8953
8968
|
},
|
|
8954
8969
|
theme: {
|
|
@@ -8958,6 +8973,7 @@ export const messagesByLocale = {
|
|
|
8958
8973
|
},
|
|
8959
8974
|
navigation: {
|
|
8960
8975
|
openSidebar: "Seitenleiste öffnen",
|
|
8976
|
+
agent: "Agent",
|
|
8961
8977
|
settings: "Einstellungen",
|
|
8962
8978
|
},
|
|
8963
8979
|
team: {
|
|
@@ -9125,6 +9141,7 @@ export const messagesByLocale = {
|
|
|
9125
9141
|
commandLocalFilesHeading: "ローカルファイル",
|
|
9126
9142
|
commandDatabaseResultDescription: "データベースページを開く",
|
|
9127
9143
|
commandAppearance: "外観",
|
|
9144
|
+
openAgent: "エージェントを開く",
|
|
9128
9145
|
toggleTheme: "テーマを切り替え",
|
|
9129
9146
|
},
|
|
9130
9147
|
theme: {
|
|
@@ -9132,7 +9149,11 @@ export const messagesByLocale = {
|
|
|
9132
9149
|
light: "ライトテーマ",
|
|
9133
9150
|
dark: "ダークテーマ",
|
|
9134
9151
|
},
|
|
9135
|
-
navigation: {
|
|
9152
|
+
navigation: {
|
|
9153
|
+
openSidebar: "サイドバーを開く",
|
|
9154
|
+
agent: "エージェント",
|
|
9155
|
+
settings: "設定",
|
|
9156
|
+
},
|
|
9136
9157
|
team: {
|
|
9137
9158
|
metaTitle: "ワークスペースアクセス - Content",
|
|
9138
9159
|
pageTitle: "ワークスペースアクセス",
|
|
@@ -9295,10 +9316,15 @@ export const messagesByLocale = {
|
|
|
9295
9316
|
commandLocalFilesHeading: "로컬 파일",
|
|
9296
9317
|
commandDatabaseResultDescription: "데이터베이스 페이지 열기",
|
|
9297
9318
|
commandAppearance: "모양",
|
|
9319
|
+
openAgent: "에이전트 열기",
|
|
9298
9320
|
toggleTheme: "테마 전환",
|
|
9299
9321
|
},
|
|
9300
9322
|
theme: { system: "시스템 테마", light: "라이트 테마", dark: "다크 테마" },
|
|
9301
|
-
navigation: {
|
|
9323
|
+
navigation: {
|
|
9324
|
+
openSidebar: "사이드바 열기",
|
|
9325
|
+
agent: "에이전트",
|
|
9326
|
+
settings: "설정",
|
|
9327
|
+
},
|
|
9302
9328
|
team: {
|
|
9303
9329
|
metaTitle: "워크스페이스 접근 - Content",
|
|
9304
9330
|
pageTitle: "워크스페이스 접근",
|
|
@@ -9462,6 +9488,7 @@ export const messagesByLocale = {
|
|
|
9462
9488
|
commandLocalFilesHeading: "Arquivos locais",
|
|
9463
9489
|
commandDatabaseResultDescription: "Abrir página do banco de dados",
|
|
9464
9490
|
commandAppearance: "Aparência",
|
|
9491
|
+
openAgent: "Abrir agente",
|
|
9465
9492
|
toggleTheme: "Alternar tema",
|
|
9466
9493
|
},
|
|
9467
9494
|
theme: {
|
|
@@ -9471,6 +9498,7 @@ export const messagesByLocale = {
|
|
|
9471
9498
|
},
|
|
9472
9499
|
navigation: {
|
|
9473
9500
|
openSidebar: "Abrir barra lateral",
|
|
9501
|
+
agent: "Agente",
|
|
9474
9502
|
settings: "Configurações",
|
|
9475
9503
|
},
|
|
9476
9504
|
team: {
|
|
@@ -9634,10 +9662,15 @@ export const messagesByLocale = {
|
|
|
9634
9662
|
commandLocalFilesHeading: "स्थानीय फ़ाइलें",
|
|
9635
9663
|
commandDatabaseResultDescription: "डेटाबेस पेज खोलें",
|
|
9636
9664
|
commandAppearance: "रूप",
|
|
9665
|
+
openAgent: "एजेंट खोलें",
|
|
9637
9666
|
toggleTheme: "थीम बदलें",
|
|
9638
9667
|
},
|
|
9639
9668
|
theme: { system: "सिस्टम थीम", light: "लाइट थीम", dark: "डार्क थीम" },
|
|
9640
|
-
navigation: {
|
|
9669
|
+
navigation: {
|
|
9670
|
+
openSidebar: "साइडबार खोलें",
|
|
9671
|
+
agent: "एजेंट",
|
|
9672
|
+
settings: "सेटिंग्स",
|
|
9673
|
+
},
|
|
9641
9674
|
team: {
|
|
9642
9675
|
metaTitle: "कार्यस्थान पहुंच - Content",
|
|
9643
9676
|
pageTitle: "कार्यस्थान पहुंच",
|
|
@@ -9794,6 +9827,7 @@ export const messagesByLocale = {
|
|
|
9794
9827
|
commandLocalFilesHeading: "الملفات المحلية",
|
|
9795
9828
|
commandDatabaseResultDescription: "فتح صفحة قاعدة البيانات",
|
|
9796
9829
|
commandAppearance: "المظهر",
|
|
9830
|
+
openAgent: "فتح الوكيل",
|
|
9797
9831
|
toggleTheme: "تبديل السمة",
|
|
9798
9832
|
},
|
|
9799
9833
|
theme: {
|
|
@@ -9801,7 +9835,11 @@ export const messagesByLocale = {
|
|
|
9801
9835
|
light: "السمة الفاتحة",
|
|
9802
9836
|
dark: "السمة الداكنة",
|
|
9803
9837
|
},
|
|
9804
|
-
navigation: {
|
|
9838
|
+
navigation: {
|
|
9839
|
+
openSidebar: "فتح الشريط الجانبي",
|
|
9840
|
+
agent: "الوكيل",
|
|
9841
|
+
settings: "الإعدادات",
|
|
9842
|
+
},
|
|
9805
9843
|
team: {
|
|
9806
9844
|
metaTitle: "الوصول إلى مساحة العمل - Content",
|
|
9807
9845
|
pageTitle: "الوصول إلى مساحة العمل",
|
|
@@ -20,6 +20,7 @@ import type { ListContentDatabasesResponse } from "@shared/api";
|
|
|
20
20
|
import {
|
|
21
21
|
IconDatabase,
|
|
22
22
|
IconDeviceDesktop,
|
|
23
|
+
IconBrain,
|
|
23
24
|
IconFileText,
|
|
24
25
|
IconFolderOpen,
|
|
25
26
|
IconLoader2,
|
|
@@ -522,6 +523,7 @@ function ContentCommandMenu({
|
|
|
522
523
|
onOpenChange: (open: boolean) => void;
|
|
523
524
|
}) {
|
|
524
525
|
const t = useT();
|
|
526
|
+
const navigate = useNavigate();
|
|
525
527
|
return (
|
|
526
528
|
<CommandMenu
|
|
527
529
|
open={open}
|
|
@@ -536,6 +538,12 @@ function ContentCommandMenu({
|
|
|
536
538
|
/>
|
|
537
539
|
)}
|
|
538
540
|
>
|
|
541
|
+
<CommandMenu.Group heading={t("root.commandContent")}>
|
|
542
|
+
<CommandMenu.Item onSelect={() => navigate("/agent")}>
|
|
543
|
+
<IconBrain size={16} />
|
|
544
|
+
{t("root.openAgent")}
|
|
545
|
+
</CommandMenu.Item>
|
|
546
|
+
</CommandMenu.Group>
|
|
539
547
|
<CommandMenu.Group heading={t("root.commandAppearance")}>
|
|
540
548
|
<ThemeToggleItem />
|
|
541
549
|
</CommandMenu.Group>
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AgentTabsPage, useT } from "@agent-native/core/client";
|
|
2
|
+
import { useSetPageTitle } from "@agent-native/toolkit/app-shell";
|
|
3
|
+
|
|
4
|
+
import { messagesByLocale } from "@/i18n-data";
|
|
5
|
+
|
|
6
|
+
export function meta() {
|
|
7
|
+
return [{ title: messagesByLocale["en-US"].settings.agentTitle }];
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export default function AgentRoute() {
|
|
11
|
+
const t = useT();
|
|
12
|
+
useSetPageTitle(t("settings.agentTitle"));
|
|
13
|
+
|
|
14
|
+
return <AgentTabsPage />;
|
|
15
|
+
}
|
|
@@ -149,6 +149,7 @@ export function Layout({ children }: LayoutProps) {
|
|
|
149
149
|
<AgentSidebar
|
|
150
150
|
position="right"
|
|
151
151
|
storageKey={DESIGN_CHAT_STORAGE_KEY}
|
|
152
|
+
agentPageHref="/agent"
|
|
152
153
|
emptyStateText={t("chat.emptyState")}
|
|
153
154
|
suggestions={[
|
|
154
155
|
t("chat.suggestionLandingPage"),
|
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
IconPencil,
|
|
11
11
|
IconTemplate,
|
|
12
12
|
IconPalette,
|
|
13
|
+
IconBrain,
|
|
13
14
|
IconSettings,
|
|
14
15
|
IconLayoutSidebarLeftCollapse,
|
|
15
16
|
IconLayoutSidebarLeftExpand,
|
|
@@ -33,6 +34,7 @@ const navItems = [
|
|
|
33
34
|
labelKey: "navigation.designSystems",
|
|
34
35
|
href: "/design-systems",
|
|
35
36
|
},
|
|
37
|
+
{ icon: IconBrain, labelKey: "navigation.agent", href: "/agent" },
|
|
36
38
|
{ icon: IconSettings, labelKey: "navigation.settings", href: "/settings" },
|
|
37
39
|
];
|
|
38
40
|
|
|
@@ -10,6 +10,7 @@ const messages = {
|
|
|
10
10
|
commandActions: "操作",
|
|
11
11
|
commandSearch: "搜尋",
|
|
12
12
|
commandAppearance: "外觀",
|
|
13
|
+
openAgent: "開啟代理",
|
|
13
14
|
toggleTheme: "切換主題",
|
|
14
15
|
},
|
|
15
16
|
navigation: {
|
|
@@ -18,6 +19,7 @@ const messages = {
|
|
|
18
19
|
templates: "範本",
|
|
19
20
|
designSystems: "設計系統",
|
|
20
21
|
setupDesignSystem: "設定設計系統",
|
|
22
|
+
agent: "代理",
|
|
21
23
|
settings: "設定",
|
|
22
24
|
openNavigation: "開啟導覽",
|
|
23
25
|
expandSidebar: "展開側邊欄",
|