{
  "name": "vscode-agent-example",
  "displayName": "VS Code Agent Example",
  "description": "Example VS Code extension demonstrating agent capabilities",
  "version": "0.0.1",
  "engines": {
    "vscode": "^1.74.0"
  },
  "categories": [
    "Other"
  ],
  "activationEvents": [
    "onCommand:codeReviewAgent.review",
    "onCommand:codeReviewAgent.quickFix"
  ],
  "main": "./out/extension.js",
  "contributes": {
    "commands": [
      {
        "command": "codeReviewAgent.review",
        "title": "AI Code Review: Review Current File"
      },
      {
        "command": "codeReviewAgent.quickFix",
        "title": "AI Code Review: Apply Quick Fix"
      }
    ],
    "menus": {
      "editor/context": [
        {
          "command": "codeReviewAgent.review",
          "when": "resourceExtname =~ /\\.(js|ts|py|java|cpp|c|cs|php|rb|go|rs)$/",
          "group": "7_modification"
        },
        {
          "command": "codeReviewAgent.quickFix",
          "when": "resourceExtname =~ /\\.(js|ts)$/",
          "group": "7_modification"
        }
      ],
      "commandPalette": [
        {
          "command": "codeReviewAgent.review"
        },
        {
          "command": "codeReviewAgent.quickFix"
        }
      ]
    },
    "configuration": {
      "title": "AI Code Review Agent",
      "properties": {
        "codeReviewAgent.enableAutoReview": {
          "type": "boolean",
          "default": false,
          "description": "Automatically review files on save"
        },
        "codeReviewAgent.aiService.endpoint": {
          "type": "string",
          "default": "",
          "description": "AI service endpoint URL"
        },
        "codeReviewAgent.aiService.apiKey": {
          "type": "string",
          "default": "",
          "description": "AI service API key"
        },
        "codeReviewAgent.rules.customRules": {
          "type": "array",
          "default": [],
          "description": "Custom code review rules",
          "items": {
            "type": "object",
            "properties": {
              "pattern": {
                "type": "string",
                "description": "Regex pattern to match"
              },
              "message": {
                "type": "string",
                "description": "Warning message"
              },
              "severity": {
                "type": "string",
                "enum": ["error", "warning", "info"],
                "default": "warning"
              }
            }
          }
        }
      }
    }
  },
  "scripts": {
    "vscode:prepublish": "npm run compile",
    "compile": "tsc -p ./",
    "watch": "tsc -watch -p ./",
    "pretest": "npm run compile && npm run lint",
    "lint": "eslint src --ext ts",
    "test": "node ./out/test/runTest.js"
  },
  "devDependencies": {
    "@types/vscode": "^1.74.0",
    "@types/glob": "^8.1.0",
    "@types/mocha": "^10.0.1",
    "@types/node": "16.x",
    "eslint": "^8.34.0",
    "glob": "^8.1.0",
    "mocha": "^10.2.0",
    "typescript": "^4.9.5",
    "@vscode/test-electron": "^2.2.3"
  },
  "dependencies": {
    "axios": "^1.3.4"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/yourusername/vscode-agent-example.git"
  },
  "publisher": "yourpublisher",
  "license": "MIT"
}