import { NavSection } from "../types"

export const AutomateNav: NavSection[] = [
  {
    title: "Agents",
    links: [
      { href: "/automate", children: "Overview" },
      { href: "/automate/integrations", children: "Integrations" },
      {
        href: "/automate/code-reviews/overview",
        children: "Code Reviews",
        subLinks: [
          { href: "/automate/code-reviews/overview", children: "Overview" },
          { href: "/automate/code-reviews/github", children: "GitHub" },
          { href: "/automate/code-reviews/gitlab", children: "GitLab" },
        ],
      },
      {
        href: "/automate/agent-manager",
        children: "Agent Manager",
        subLinks: [
          { href: "/automate/agent-manager", children: "Reference" },
          { href: "/automate/agent-manager-workflows", children: "Workflows" },
        ],
      },
    ],
  },
  {
    title: "Extending Kilo",
    links: [
      { href: "/automate/extending/local-models", children: "Local Models" },
      {
        href: "/automate/extending/shell-integration",
        children: "Shell Integration",
      },
      {
        href: "/automate/extending/plugins",
        children: "Plugins",
        platform: "new",
      },
      {
        href: "/automate/extending/auto-launch",
        children: "Auto-launch Configuration",
        platform: "legacy",
      },
      {
        href: "/automate/mcp/overview",
        children: "MCP",
        subLinks: [
          { href: "/automate/mcp/overview", children: "MCP Overview" },
          {
            href: "/automate/mcp/using-in-kilo-code",
            children: "Using MCP in Kilo Code",
          },
          { href: "/automate/mcp/using-in-cli", children: "Using MCP in CLI" },
          { href: "/automate/mcp/what-is-mcp", children: "What is MCP" },
          {
            href: "/automate/mcp/server-transports",
            children: "Server Transports",
          },
          { href: "/automate/mcp/mcp-vs-api", children: "MCP vs API" },
        ],
      },
    ],
  },
  {
    title: "Tools",
    links: [
      { href: "/automate/how-tools-work", children: "How Tools Work", platform: "legacy" },
      { href: "/automate/tools", children: "Tools Details", platform: "legacy" },
    ],
  },
]
