{
  "version": "1.0.0",
  "repositories": [
    {
      "url": "https://github.com/microsoft/vscode",
      "name": "vscode",
      "description": "Visual Studio Code - The most popular code editor",
      "priority": "high",
      "branch": "main",
      "includePatterns": [
        "**/*.{js,ts,jsx,tsx}",
        "**/*.json",
        "**/*.md"
      ],
      "excludePatterns": [
        "**/node_modules/**",
        "**/out/**",
        "**/extensions/**/node_modules/**"
      ],
      "deepIndexing": true,
      "enabled": false,
      "metadata": {
        "language": "typescript",
        "framework": "electron"
      }
    },
    {
      "url": "https://github.com/octocat/Hello-World.git",
      "name": "hello-world",
      "description": "My first repository on GitHub!",
      "priority": "high",
      "branch": "master",
      "includePatterns": [
        "**/*.{js,jsx,ts,tsx,md}",
        "**/*.json"
      ],
      "excludePatterns": [
        "**/node_modules/**",
        "**/build/**"
      ],
      "deepIndexing": true,
      "enabled": true,
      "metadata": {
        "language": "javascript",
        "type": "test"
      }
    },
    {
      "url": "https://github.com/nodejs/node",
      "name": "nodejs",
      "description": "Node.js JavaScript runtime",
      "priority": "medium",
      "branch": "main",
      "includePatterns": [
        "**/*.{js,ts,cc,h}",
        "**/*.json",
        "**/*.md"
      ],
      "excludePatterns": [
        "**/node_modules/**",
        "**/out/**",
        "**/deps/**"
      ],
      "deepIndexing": true,
      "enabled": false,
      "metadata": {
        "language": "javascript",
        "type": "runtime"
      }
    },
    {
      "url": "https://github.com/golang/go",
      "name": "go",
      "description": "The Go programming language",
      "priority": "medium",
      "branch": "master",
      "includePatterns": [
        "**/*.go",
        "**/*.md",
        "**/*.txt"
      ],
      "excludePatterns": [
        "**/testdata/**",
        "**/.git/**"
      ],
      "deepIndexing": true,
      "enabled": false,
      "metadata": {
        "language": "go",
        "type": "language"
      }
    },
    {
      "url": "https://github.com/rust-lang/rust",
      "name": "rust",
      "description": "The Rust programming language",
      "priority": "medium",
      "branch": "master",
      "includePatterns": [
        "**/*.rs",
        "**/*.toml",
        "**/*.md"
      ],
      "excludePatterns": [
        "**/target/**",
        "**/build/**"
      ],
      "deepIndexing": true,
      "enabled": false,
      "metadata": {
        "language": "rust",
        "type": "language"
      }
    },
    {
      "path": "${CGM_LOCAL_PROJECTS_DIR}/my-project",
      "name": "my-project",
      "description": "Local development project",
      "priority": "high",
      "includePatterns": [
        "**/*.{js,ts,jsx,tsx,py}",
        "**/*.json",
        "**/*.md"
      ],
      "excludePatterns": [
        "**/node_modules/**",
        "**/dist/**",
        "**/__pycache__/**",
        "**/venv/**"
      ],
      "deepIndexing": true,
      "enabled": false,
      "metadata": {
        "type": "local",
        "environment": "development"
      }
    },
    {
      "url": "https://github.com/private-org/private-repo",
      "name": "private-repo",
      "description": "Private repository requiring authentication",
      "priority": "high",
      "branch": "main",
      "authToken": "${CGM_GITHUB_TOKEN}",
      "includePatterns": [
        "**/*.{js,ts,py}",
        "**/*.json"
      ],
      "excludePatterns": [
        "**/node_modules/**",
        "**/dist/**",
        "**/.env*"
      ],
      "deepIndexing": true,
      "enabled": false,
      "metadata": {
        "type": "private",
        "organization": "private-org"
      }
    },
    {
      "url": "https://gitlab.com/gitlab-org/gitlab",
      "name": "gitlab",
      "description": "GitLab CE/EE",
      "priority": "low",
      "branch": "master",
      "includePatterns": [
        "**/*.{rb,js,vue,scss}",
        "**/*.json",
        "**/*.yml"
      ],
      "excludePatterns": [
        "**/node_modules/**",
        "**/public/assets/**",
        "**/tmp/**"
      ],
      "deepIndexing": false,
      "enabled": false,
      "metadata": {
        "language": "ruby",
        "framework": "rails"
      }
    }
  ],
  "global": {
    "defaultBranch": "main",
    "defaultIncludePatterns": [
      "**/*.{js,ts,jsx,tsx,py,go,rs,java,cpp,c,h,rb,php}",
      "**/*.{json,yaml,yml,toml,xml}",
      "**/*.{md,txt,rst}"
    ],
    "defaultExcludePatterns": [
      "**/node_modules/**",
      "**/dist/**",
      "**/build/**",
      "**/target/**",
      "**/.git/**",
      "**/__pycache__/**",
      "**/venv/**",
      "**/vendor/**",
      "**/.env*",
      "**/coverage/**",
      "**/.nyc_output/**"
    ],
    "defaultDeepIndexing": true,
    "maxConcurrentOps": 5,
    "cacheDir": ".code-graph-cache"
  },
  "env": {
    "enabled": true,
    "prefix": "CGM_"
  }
}
