diff --git a/next.config.mjs b/next.config.mjs index a7298f6e9f..26f8ff90e4 100644 --- a/next.config.mjs +++ b/next.config.mjs @@ -182,6 +182,12 @@ const nextConfig = { async redirects() { return [ + // Dashboard routes + { + source: "/dashboard/skills", + destination: "/dashboard/omni-skills", + permanent: true, + }, // Architecture { source: "/docs/architecture", diff --git a/src/shared/components/Header.tsx b/src/shared/components/Header.tsx index ed0bb37a4d..6a24349a0e 100644 --- a/src/shared/components/Header.tsx +++ b/src/shared/components/Header.tsx @@ -35,7 +35,8 @@ import { useIsElectron } from "@/shared/hooks/useElectron"; const isE2EMode = process.env.NEXT_PUBLIC_OMNIROUTE_E2E_MODE === "1"; // Map sidebar item id → header description i18n key -const HEADER_DESCRIPTIONS: Partial> = { +// "omni-skills" is an extended key for the /dashboard/omni-skills route (graceful fallback during deploy) +const HEADER_DESCRIPTIONS: Partial> = { home: "homeDescription", endpoints: "endpointDescription", "api-manager": "apiManagerDescription", @@ -53,6 +54,7 @@ const HEADER_DESCRIPTIONS: Partial> = { memory: "memoryDescription", skills: "skillsDescription", "agent-skills": "agentSkillsDescription", + "omni-skills": "omniSkillsDescription", settings: "settingsDescription", "context-caveman": "contextCavemanDescription", "context-rtk": "contextRtkDescription", diff --git a/src/shared/constants/sidebarVisibility.ts b/src/shared/constants/sidebarVisibility.ts index 251bd0d1d6..2d624ac5e5 100644 --- a/src/shared/constants/sidebarVisibility.ts +++ b/src/shared/constants/sidebarVisibility.ts @@ -503,13 +503,6 @@ const AGENTIC_FEATURES_ITEMS: readonly SidebarSectionChild[] = [ subtitleKey: "memorySubtitle", icon: "psychology", }, - { - id: "skills", - href: "/dashboard/skills", - i18nKey: "omniSkills", - subtitleKey: "omniSkillsSubtitle", - icon: "auto_fix_high", - }, { id: "agent-skills", href: "/dashboard/agent-skills", @@ -517,6 +510,13 @@ const AGENTIC_FEATURES_ITEMS: readonly SidebarSectionChild[] = [ subtitleKey: "agentSkillsSubtitle", icon: "share", }, + { + id: "skills", + href: "/dashboard/omni-skills", + i18nKey: "omniSkills", + subtitleKey: "omniSkillsSubtitle", + icon: "auto_fix_high", + }, MCP_GROUP, { id: "a2a",