{
  "$schema": "https://json-schema.org/schema",
  "$id": "SetupAiAgents",
  "title": "Set Up AI Agents",
  "description": "Sets up the Nx MCP & rule files for common AI Agents.",
  "type": "object",
  "properties": {
    "directory": {
      "type": "string",
      "description": "Directory where the AI agent configuration files will be generated",
      "default": "."
    },
    "writeNxCloudRules": {
      "type": "boolean",
      "description": "Whether to write Nx Cloud rules",
      "default": false
    },
    "packageVersion": {
      "type": "string",
      "description": "The version of the package to use",
      "default": "latest"
    },
    "agents": {
      "type": "array",
      "description": "The agents to setup Nx configuration for.",
      "items": {
        "type": "string",
        "enum": ["claude", "gemini", "codex", "cursor", "copilot", "opencode"]
      },
      "default": ["claude", "gemini", "codex", "cursor", "copilot", "opencode"]
    }
  },
  "required": ["directory"]
}
