@agent-native/core 0.99.2 → 0.100.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/corpus/README.md +2 -2
- package/corpus/core/CHANGELOG.md +21 -0
- package/corpus/core/docs/content/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/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/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/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-new-agent-page-see-and-manage-your-agent-s-context-files-con.md +6 -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/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 +2 -2
- package/dist/resources/handlers.d.ts +1 -1
- 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/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/transcribe-voice.d.ts +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/a2a-protocol.mdx +42 -0
- package/docs/content/agent-surfaces.mdx +43 -0
- package/docs/content/external-agents.mdx +11 -0
- package/docs/content/locales/ar-SA/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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/a2a-protocol.mdx +42 -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
|
@@ -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: "展開側邊欄",
|
|
@@ -15,6 +15,7 @@ const enUS = {
|
|
|
15
15
|
commandActions: "Actions",
|
|
16
16
|
commandSearch: "Search",
|
|
17
17
|
commandAppearance: "Appearance",
|
|
18
|
+
openAgent: "Open Agent",
|
|
18
19
|
toggleTheme: "Toggle theme",
|
|
19
20
|
},
|
|
20
21
|
navigation: {
|
|
@@ -23,6 +24,7 @@ const enUS = {
|
|
|
23
24
|
templates: "Templates",
|
|
24
25
|
designSystems: "Design Systems",
|
|
25
26
|
setupDesignSystem: "Set up design system",
|
|
27
|
+
agent: "Agent",
|
|
26
28
|
settings: "Settings",
|
|
27
29
|
openNavigation: "Open navigation",
|
|
28
30
|
expandSidebar: "Expand sidebar",
|
|
@@ -14693,6 +14695,7 @@ export const messagesByLocale = {
|
|
|
14693
14695
|
commandActions: "操作",
|
|
14694
14696
|
commandSearch: "搜索",
|
|
14695
14697
|
commandAppearance: "外观",
|
|
14698
|
+
openAgent: "打开代理",
|
|
14696
14699
|
toggleTheme: "切换主题",
|
|
14697
14700
|
},
|
|
14698
14701
|
navigation: {
|
|
@@ -14701,6 +14704,7 @@ export const messagesByLocale = {
|
|
|
14701
14704
|
templates: "模板",
|
|
14702
14705
|
designSystems: "设计系统",
|
|
14703
14706
|
setupDesignSystem: "设置设计系统",
|
|
14707
|
+
agent: "代理",
|
|
14704
14708
|
settings: "设置",
|
|
14705
14709
|
openNavigation: "打开导航",
|
|
14706
14710
|
expandSidebar: "展开侧边栏",
|
|
@@ -14768,6 +14772,7 @@ export const messagesByLocale = {
|
|
|
14768
14772
|
commandActions: "Acciones",
|
|
14769
14773
|
commandSearch: "Buscar",
|
|
14770
14774
|
commandAppearance: "Apariencia",
|
|
14775
|
+
openAgent: "Abrir agente",
|
|
14771
14776
|
toggleTheme: "Cambiar tema",
|
|
14772
14777
|
},
|
|
14773
14778
|
navigation: {
|
|
@@ -14775,6 +14780,7 @@ export const messagesByLocale = {
|
|
|
14775
14780
|
templates: "Plantillas",
|
|
14776
14781
|
designSystems: "Sistemas de diseño",
|
|
14777
14782
|
setupDesignSystem: "Configurar sistema de diseño",
|
|
14783
|
+
agent: "Agente",
|
|
14778
14784
|
settings: "Ajustes",
|
|
14779
14785
|
openNavigation: "Abrir navegación",
|
|
14780
14786
|
expandSidebar: "Expandir barra lateral",
|
|
@@ -14845,6 +14851,7 @@ export const messagesByLocale = {
|
|
|
14845
14851
|
commandActions: "Actions",
|
|
14846
14852
|
commandSearch: "Rechercher",
|
|
14847
14853
|
commandAppearance: "Apparence",
|
|
14854
|
+
openAgent: "Ouvrir l’agent",
|
|
14848
14855
|
toggleTheme: "Changer de thème",
|
|
14849
14856
|
},
|
|
14850
14857
|
navigation: {
|
|
@@ -14852,6 +14859,7 @@ export const messagesByLocale = {
|
|
|
14852
14859
|
templates: "Modèles",
|
|
14853
14860
|
designSystems: "Systèmes de design",
|
|
14854
14861
|
setupDesignSystem: "Configurer le système de design",
|
|
14862
|
+
agent: "Agent",
|
|
14855
14863
|
settings: "Paramètres",
|
|
14856
14864
|
openNavigation: "Ouvrir la navigation",
|
|
14857
14865
|
expandSidebar: "Développer la barre latérale",
|
|
@@ -14922,6 +14930,7 @@ export const messagesByLocale = {
|
|
|
14922
14930
|
commandActions: "Aktionen",
|
|
14923
14931
|
commandSearch: "Suchen",
|
|
14924
14932
|
commandAppearance: "Darstellung",
|
|
14933
|
+
openAgent: "Agent öffnen",
|
|
14925
14934
|
toggleTheme: "Theme wechseln",
|
|
14926
14935
|
},
|
|
14927
14936
|
navigation: {
|
|
@@ -14929,6 +14938,7 @@ export const messagesByLocale = {
|
|
|
14929
14938
|
templates: "Vorlagen",
|
|
14930
14939
|
designSystems: "Designsysteme",
|
|
14931
14940
|
setupDesignSystem: "Designsystem einrichten",
|
|
14941
|
+
agent: "Agent",
|
|
14932
14942
|
settings: "Einstellungen",
|
|
14933
14943
|
openNavigation: "Navigation öffnen",
|
|
14934
14944
|
expandSidebar: "Seitenleiste erweitern",
|
|
@@ -14999,6 +15009,7 @@ export const messagesByLocale = {
|
|
|
14999
15009
|
commandActions: "操作",
|
|
15000
15010
|
commandSearch: "検索",
|
|
15001
15011
|
commandAppearance: "外観",
|
|
15012
|
+
openAgent: "エージェントを開く",
|
|
15002
15013
|
toggleTheme: "テーマを切り替え",
|
|
15003
15014
|
},
|
|
15004
15015
|
navigation: {
|
|
@@ -15006,6 +15017,7 @@ export const messagesByLocale = {
|
|
|
15006
15017
|
templates: "テンプレート",
|
|
15007
15018
|
designSystems: "デザインシステム",
|
|
15008
15019
|
setupDesignSystem: "デザインシステムを設定",
|
|
15020
|
+
agent: "エージェント",
|
|
15009
15021
|
settings: "設定",
|
|
15010
15022
|
openNavigation: "ナビゲーションを開く",
|
|
15011
15023
|
expandSidebar: "サイドバーを展開",
|
|
@@ -15077,6 +15089,7 @@ export const messagesByLocale = {
|
|
|
15077
15089
|
commandActions: "작업",
|
|
15078
15090
|
commandSearch: "검색",
|
|
15079
15091
|
commandAppearance: "모양",
|
|
15092
|
+
openAgent: "에이전트 열기",
|
|
15080
15093
|
toggleTheme: "테마 전환",
|
|
15081
15094
|
},
|
|
15082
15095
|
navigation: {
|
|
@@ -15084,6 +15097,7 @@ export const messagesByLocale = {
|
|
|
15084
15097
|
templates: "템플릿",
|
|
15085
15098
|
designSystems: "디자인 시스템",
|
|
15086
15099
|
setupDesignSystem: "디자인 시스템 설정",
|
|
15100
|
+
agent: "에이전트",
|
|
15087
15101
|
settings: "설정",
|
|
15088
15102
|
openNavigation: "탐색 열기",
|
|
15089
15103
|
expandSidebar: "사이드바 펼치기",
|
|
@@ -15153,6 +15167,7 @@ export const messagesByLocale = {
|
|
|
15153
15167
|
commandActions: "Ações",
|
|
15154
15168
|
commandSearch: "Buscar",
|
|
15155
15169
|
commandAppearance: "Aparência",
|
|
15170
|
+
openAgent: "Abrir agente",
|
|
15156
15171
|
toggleTheme: "Alternar tema",
|
|
15157
15172
|
},
|
|
15158
15173
|
navigation: {
|
|
@@ -15160,6 +15175,7 @@ export const messagesByLocale = {
|
|
|
15160
15175
|
templates: "Modelos",
|
|
15161
15176
|
designSystems: "Sistemas de design",
|
|
15162
15177
|
setupDesignSystem: "Configurar sistema de design",
|
|
15178
|
+
agent: "Agente",
|
|
15163
15179
|
settings: "Configurações",
|
|
15164
15180
|
openNavigation: "Abrir navegação",
|
|
15165
15181
|
expandSidebar: "Expandir barra lateral",
|
|
@@ -15230,6 +15246,7 @@ export const messagesByLocale = {
|
|
|
15230
15246
|
commandActions: "क्रियाएं",
|
|
15231
15247
|
commandSearch: "खोजें",
|
|
15232
15248
|
commandAppearance: "रूप",
|
|
15249
|
+
openAgent: "एजेंट खोलें",
|
|
15233
15250
|
toggleTheme: "थीम बदलें",
|
|
15234
15251
|
},
|
|
15235
15252
|
navigation: {
|
|
@@ -15237,6 +15254,7 @@ export const messagesByLocale = {
|
|
|
15237
15254
|
templates: "टेम्पलेट",
|
|
15238
15255
|
designSystems: "डिज़ाइन सिस्टम",
|
|
15239
15256
|
setupDesignSystem: "डिज़ाइन सिस्टम सेट करें",
|
|
15257
|
+
agent: "एजेंट",
|
|
15240
15258
|
settings: "सेटिंग्स",
|
|
15241
15259
|
openNavigation: "नेविगेशन खोलें",
|
|
15242
15260
|
expandSidebar: "साइडबार फैलाएं",
|
|
@@ -15307,6 +15325,7 @@ export const messagesByLocale = {
|
|
|
15307
15325
|
commandActions: "الإجراءات",
|
|
15308
15326
|
commandSearch: "بحث",
|
|
15309
15327
|
commandAppearance: "المظهر",
|
|
15328
|
+
openAgent: "فتح الوكيل",
|
|
15310
15329
|
toggleTheme: "تبديل السمة",
|
|
15311
15330
|
},
|
|
15312
15331
|
navigation: {
|
|
@@ -15314,6 +15333,7 @@ export const messagesByLocale = {
|
|
|
15314
15333
|
templates: "القوالب",
|
|
15315
15334
|
designSystems: "أنظمة التصميم",
|
|
15316
15335
|
setupDesignSystem: "إعداد نظام التصميم",
|
|
15336
|
+
agent: "الوكيل",
|
|
15317
15337
|
settings: "الإعدادات",
|
|
15318
15338
|
openNavigation: "فتح التنقل",
|
|
15319
15339
|
expandSidebar: "توسيع الشريط الجانبي",
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
useSession,
|
|
13
13
|
useT,
|
|
14
14
|
} from "@agent-native/core/client";
|
|
15
|
-
import { IconSun, IconMoon } from "@tabler/icons-react";
|
|
15
|
+
import { IconBrain, IconSun, IconMoon } from "@tabler/icons-react";
|
|
16
16
|
import { useQueryClient } from "@tanstack/react-query";
|
|
17
17
|
import { useTheme } from "next-themes";
|
|
18
18
|
import { useCallback, useState } from "react";
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
Scripts,
|
|
24
24
|
ScrollRestoration,
|
|
25
25
|
useLocation,
|
|
26
|
+
useNavigate,
|
|
26
27
|
} from "react-router";
|
|
27
28
|
import type { LinksFunction } from "react-router";
|
|
28
29
|
|
|
@@ -122,6 +123,7 @@ function DesignCommandMenu({
|
|
|
122
123
|
onOpenChange: (open: boolean) => void;
|
|
123
124
|
}) {
|
|
124
125
|
const t = useT();
|
|
126
|
+
const navigate = useNavigate();
|
|
125
127
|
return (
|
|
126
128
|
<CommandMenu
|
|
127
129
|
open={open}
|
|
@@ -130,6 +132,10 @@ function DesignCommandMenu({
|
|
|
130
132
|
changelogKey="design"
|
|
131
133
|
>
|
|
132
134
|
<CommandMenu.Group heading={t("root.commandActions")}>
|
|
135
|
+
<CommandMenu.Item onSelect={() => navigate("/agent")}>
|
|
136
|
+
<IconBrain size={16} />
|
|
137
|
+
{t("root.openAgent")}
|
|
138
|
+
</CommandMenu.Item>
|
|
133
139
|
<CommandMenu.Item onSelect={() => {}}>
|
|
134
140
|
{t("root.commandSearch")}
|
|
135
141
|
</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
|
+
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { DispatchExtensionConfig } from "@agent-native/dispatch/components";
|
|
2
|
+
import { IconBrain } from "@tabler/icons-react";
|
|
2
3
|
|
|
3
4
|
/**
|
|
4
5
|
* Local Dispatch extensions for this generated workspace.
|
|
@@ -25,6 +26,14 @@ import type { DispatchExtensionConfig } from "@agent-native/dispatch/components"
|
|
|
25
26
|
* } satisfies DispatchExtensionConfig;
|
|
26
27
|
*/
|
|
27
28
|
export const dispatchExtensions = {
|
|
28
|
-
navItems: [
|
|
29
|
+
navItems: [
|
|
30
|
+
{
|
|
31
|
+
id: "agent",
|
|
32
|
+
to: "/agent",
|
|
33
|
+
label: "Agent",
|
|
34
|
+
icon: IconBrain,
|
|
35
|
+
section: "operations",
|
|
36
|
+
},
|
|
37
|
+
],
|
|
29
38
|
queryKeys: [],
|
|
30
39
|
} satisfies DispatchExtensionConfig;
|
|
@@ -4,6 +4,7 @@ const messages = {
|
|
|
4
4
|
commandSearch: "搜尋",
|
|
5
5
|
commandAppearance: "外觀",
|
|
6
6
|
toggleTheme: "切換主題",
|
|
7
|
+
openAgent: "開啟代理",
|
|
7
8
|
},
|
|
8
9
|
routeTitles: {
|
|
9
10
|
chat: "聊天 — Dispatch",
|
|
@@ -254,6 +255,7 @@ const messages = {
|
|
|
254
255
|
vault: "保管庫",
|
|
255
256
|
audit: "稽核",
|
|
256
257
|
operations: "營運",
|
|
258
|
+
agent: "代理",
|
|
257
259
|
},
|
|
258
260
|
pages: {
|
|
259
261
|
dataLoadFailed: "無法載入資料",
|
|
@@ -8,6 +8,7 @@ const enUS = {
|
|
|
8
8
|
commandSearch: "Search",
|
|
9
9
|
commandAppearance: "Appearance",
|
|
10
10
|
toggleTheme: "Toggle theme",
|
|
11
|
+
openAgent: "Open Agent",
|
|
11
12
|
},
|
|
12
13
|
routeTitles: {
|
|
13
14
|
chat: "Chat — Dispatch",
|
|
@@ -272,6 +273,7 @@ const enUS = {
|
|
|
272
273
|
vault: "Vault",
|
|
273
274
|
audit: "Audit",
|
|
274
275
|
operations: "Operations",
|
|
276
|
+
agent: "Agent",
|
|
275
277
|
},
|
|
276
278
|
pages: {
|
|
277
279
|
dataLoadFailed: "Couldn't load data",
|
|
@@ -410,6 +412,7 @@ export const messagesByLocale = {
|
|
|
410
412
|
commandSearch: "搜索",
|
|
411
413
|
commandAppearance: "外观",
|
|
412
414
|
toggleTheme: "切换主题",
|
|
415
|
+
openAgent: "打开代理",
|
|
413
416
|
},
|
|
414
417
|
settings: {
|
|
415
418
|
title: "设置",
|
|
@@ -656,6 +659,7 @@ export const messagesByLocale = {
|
|
|
656
659
|
vault: "保险库",
|
|
657
660
|
audit: "审计",
|
|
658
661
|
operations: "运营",
|
|
662
|
+
agent: "代理",
|
|
659
663
|
},
|
|
660
664
|
pages: {
|
|
661
665
|
dataLoadFailed: "无法加载数据",
|
|
@@ -701,6 +705,7 @@ export const messagesByLocale = {
|
|
|
701
705
|
commandSearch: "Buscar",
|
|
702
706
|
commandAppearance: "Apariencia",
|
|
703
707
|
toggleTheme: "Cambiar tema",
|
|
708
|
+
openAgent: "Abrir agente",
|
|
704
709
|
},
|
|
705
710
|
settings: {
|
|
706
711
|
title: "Ajustes",
|
|
@@ -975,6 +980,7 @@ export const messagesByLocale = {
|
|
|
975
980
|
vault: "Bóveda",
|
|
976
981
|
audit: "Auditoría",
|
|
977
982
|
operations: "Operaciones",
|
|
983
|
+
agent: "Agente",
|
|
978
984
|
},
|
|
979
985
|
pages: {
|
|
980
986
|
dataLoadFailed: "No se pudieron cargar los datos",
|
|
@@ -1025,6 +1031,7 @@ export const messagesByLocale = {
|
|
|
1025
1031
|
commandSearch: "Rechercher",
|
|
1026
1032
|
commandAppearance: "Apparence",
|
|
1027
1033
|
toggleTheme: "Changer de thème",
|
|
1034
|
+
openAgent: "Ouvrir l’agent",
|
|
1028
1035
|
},
|
|
1029
1036
|
settings: {
|
|
1030
1037
|
title: "Paramètres",
|
|
@@ -1299,6 +1306,7 @@ export const messagesByLocale = {
|
|
|
1299
1306
|
vault: "Coffre",
|
|
1300
1307
|
audit: "Audit",
|
|
1301
1308
|
operations: "Opérations",
|
|
1309
|
+
agent: "Agent",
|
|
1302
1310
|
},
|
|
1303
1311
|
pages: {
|
|
1304
1312
|
dataLoadFailed: "Impossible de charger les données",
|
|
@@ -1349,6 +1357,7 @@ export const messagesByLocale = {
|
|
|
1349
1357
|
commandSearch: "Suchen",
|
|
1350
1358
|
commandAppearance: "Darstellung",
|
|
1351
1359
|
toggleTheme: "Theme wechseln",
|
|
1360
|
+
openAgent: "Agent öffnen",
|
|
1352
1361
|
},
|
|
1353
1362
|
settings: {
|
|
1354
1363
|
title: "Einstellungen",
|
|
@@ -1612,6 +1621,7 @@ export const messagesByLocale = {
|
|
|
1612
1621
|
vault: "Tresor",
|
|
1613
1622
|
audit: "Audit",
|
|
1614
1623
|
operations: "Betrieb",
|
|
1624
|
+
agent: "Agent",
|
|
1615
1625
|
},
|
|
1616
1626
|
pages: {
|
|
1617
1627
|
dataLoadFailed: "Daten konnten nicht geladen werden",
|
|
@@ -1661,6 +1671,7 @@ export const messagesByLocale = {
|
|
|
1661
1671
|
commandSearch: "検索",
|
|
1662
1672
|
commandAppearance: "外観",
|
|
1663
1673
|
toggleTheme: "テーマを切り替え",
|
|
1674
|
+
openAgent: "エージェントを開く",
|
|
1664
1675
|
},
|
|
1665
1676
|
settings: {
|
|
1666
1677
|
title: "設定",
|
|
@@ -1921,6 +1932,7 @@ export const messagesByLocale = {
|
|
|
1921
1932
|
vault: "ボールト",
|
|
1922
1933
|
audit: "監査",
|
|
1923
1934
|
operations: "運用",
|
|
1935
|
+
agent: "エージェント",
|
|
1924
1936
|
},
|
|
1925
1937
|
pages: {
|
|
1926
1938
|
dataLoadFailed: "データを読み込めませんでした",
|
|
@@ -1969,6 +1981,7 @@ export const messagesByLocale = {
|
|
|
1969
1981
|
commandSearch: "검색",
|
|
1970
1982
|
commandAppearance: "모양",
|
|
1971
1983
|
toggleTheme: "테마 전환",
|
|
1984
|
+
openAgent: "에이전트 열기",
|
|
1972
1985
|
},
|
|
1973
1986
|
settings: {
|
|
1974
1987
|
title: "설정",
|
|
@@ -2226,6 +2239,7 @@ export const messagesByLocale = {
|
|
|
2226
2239
|
vault: "볼트",
|
|
2227
2240
|
audit: "감사",
|
|
2228
2241
|
operations: "운영",
|
|
2242
|
+
agent: "에이전트",
|
|
2229
2243
|
},
|
|
2230
2244
|
pages: {
|
|
2231
2245
|
dataLoadFailed: "데이터를 불러올 수 없습니다",
|
|
@@ -2273,6 +2287,7 @@ export const messagesByLocale = {
|
|
|
2273
2287
|
commandSearch: "Buscar",
|
|
2274
2288
|
commandAppearance: "Aparência",
|
|
2275
2289
|
toggleTheme: "Alternar tema",
|
|
2290
|
+
openAgent: "Abrir agente",
|
|
2276
2291
|
},
|
|
2277
2292
|
settings: {
|
|
2278
2293
|
title: "Configurações",
|
|
@@ -2543,6 +2558,7 @@ export const messagesByLocale = {
|
|
|
2543
2558
|
vault: "Cofre",
|
|
2544
2559
|
audit: "Auditoria",
|
|
2545
2560
|
operations: "Operações",
|
|
2561
|
+
agent: "Agente",
|
|
2546
2562
|
},
|
|
2547
2563
|
pages: {
|
|
2548
2564
|
dataLoadFailed: "Não foi possível carregar os dados",
|
|
@@ -2593,6 +2609,7 @@ export const messagesByLocale = {
|
|
|
2593
2609
|
commandSearch: "खोजें",
|
|
2594
2610
|
commandAppearance: "रूप",
|
|
2595
2611
|
toggleTheme: "थीम बदलें",
|
|
2612
|
+
openAgent: "एजेंट खोलें",
|
|
2596
2613
|
},
|
|
2597
2614
|
settings: {
|
|
2598
2615
|
title: "सेटिंग्स",
|
|
@@ -2845,6 +2862,7 @@ export const messagesByLocale = {
|
|
|
2845
2862
|
vault: "वॉल्ट",
|
|
2846
2863
|
audit: "ऑडिट",
|
|
2847
2864
|
operations: "संचालन",
|
|
2865
|
+
agent: "एजेंट",
|
|
2848
2866
|
},
|
|
2849
2867
|
pages: {
|
|
2850
2868
|
dataLoadFailed: "डेटा लोड नहीं हो सका",
|
|
@@ -2891,6 +2909,7 @@ export const messagesByLocale = {
|
|
|
2891
2909
|
commandSearch: "بحث",
|
|
2892
2910
|
commandAppearance: "المظهر",
|
|
2893
2911
|
toggleTheme: "تبديل السمة",
|
|
2912
|
+
openAgent: "فتح الوكيل",
|
|
2894
2913
|
},
|
|
2895
2914
|
settings: {
|
|
2896
2915
|
title: "الإعدادات",
|
|
@@ -3182,6 +3201,7 @@ export const messagesByLocale = {
|
|
|
3182
3201
|
vault: "الخزنة",
|
|
3183
3202
|
audit: "التدقيق",
|
|
3184
3203
|
operations: "التشغيل",
|
|
3204
|
+
agent: "الوكيل",
|
|
3185
3205
|
},
|
|
3186
3206
|
pages: {
|
|
3187
3207
|
dataLoadFailed: "تعذر تحميل البيانات",
|