import type { SidebarsConfig } from "@docusaurus/plugin-content-docs";

const sidebars: SidebarsConfig = {
  docsSidebar: [
    {
      type: "doc",
      id: "intro",
      label: "Introduction",
    },
    {
      type: "category",
      label: "Overview",
      collapsed: false,
      items: [
        "overview/architecture",
        "overview/concepts",
        "overview/workspaces-and-roles",
      ],
    },
    {
      type: "category",
      label: "Security",
      collapsed: false,
      items: [
        "security/vaultys-id",
        "security/security-model",
        "security/capabilities",
        "security/delegation",
      ],
    },
    {
      type: "category",
      label: "Channels",
      collapsed: false,
      items: [
        "channels/overview",
        "channels/channels-and-members",
        "channels/messaging",
        "channels/bridges",
      ],
    },
    {
      type: "category",
      label: "Guides",
      collapsed: false,
      items: [
        "guides/quickstart",
        "guides/dev-setup-demo",
        "guides/configuration",
        "guides/deploying-agents",
        "guides/deployment",
        "guides/workflows",
        "guides/skills",
        "guides/knowledge-bases",
        "guides/llm-routing",
        "guides/governance",
        "guides/entra-sync",
        "guides/user-invitations",
        "guides/custom-agent-runtime",
      ],
    },
  ],

  apiSidebar: [
    {
      type: "doc",
      id: "api/overview",
      label: "API Overview",
    },
    {
      type: "category",
      label: "REST API",
      collapsed: false,
      items: [
        "api/agents",
        "api/intents",
        "api/policies",
        "api/workspaces",
        "api/users",
        "api/chat",
        "api/workflows",
        "api/tool-approvals",
        "api/models",
        "api/skills",
        "api/channels",
        "api/bridges",
      ],
    },
    {
      type: "category",
      label: "WebSocket Protocol",
      collapsed: false,
      items: ["api/websocket", "api/websocket-messages"],
    },
  ],
};

export default sidebars;
