IDE/package.json

{
  "name": "mimo-code-agent",
  "displayName": "MiMo Code Agent",
  "description": "AI-powered code assistant integrated with MiMo Code Agent",
  "version": "0.1.0",
  "publisher": "xiaomi",
  "engines": {
    "vscode": "^1.60.0"
  },
  "categories": [
    "Programming Languages",
    "Snippets",
    "Linters",
    "Formatters"
  ],
  "activationEvents": [
    "onLanguage:javascript",
    "onLanguage:typescript",
    "onLanguage:python",
    "onLanguage:java",
    "onLanguage:csharp",
    "onLanguage:cpp",
    "onLanguage:go",
    "onLanguage:rust",
    "onLanguage:php",
    "onLanguage:ruby",
    "onLanguage:swift",
    "onLanguage:kotlin",
    "onLanguage:scala",
    "onLanguage:html",
    "onLanguage:css",
    "onLanguage:json",
    "onLanguage:yaml",
    "onLanguage:markdown",
    "onLanguage:shell"
  ],
  "main": "./src/extension.js",
  "contributes": {
    "commands": [
      {
        "command": "mimo.ask",
        "title": "MiMo: Ask Question"
      },
      {
        "command": "mimo.search",
        "title": "MiMo: Search Code"
      },
      {
        "command": "mimo.edit",
        "title": "MiMo: Edit File"
      },
      {
        "command": "mimo.run",
        "title": "MiMo: Run Command"
      },
      {
        "command": "mimo.config",
        "title": "MiMo: Configuration"
      }
    ],
    "keybindings": [
      {
        "command": "mimo.ask",
        "key": "ctrl+shift+m+a",
        "mac": "cmd+shift+m+a"
      },
      {
        "command": "mimo.search",
        "key": "ctrl+shift+m+s",
        "mac": "cmd+shift+m+s"
      }
    ],
    "menus": {
      "editor/context": [
        {
          "command": "mimo.ask",
          "when": "editorHasSelection",
          "group": "mimo"
        },
        {
          "command": "mimo.edit",
          "when": "editorHasSelection",
          "group": "mimo"
        }
      ],
      "editor/title": [
        {
          "command": "mimo.ask",
          "group": "mimo"
        }
      ]
    }
  },
  "scripts": {
    "lint": "eslint .",
    "test": "node ./test/runTest.js"
  },
  "devDependencies": {
    "@types/vscode": "^1.60.0",
    "@types/node": "^16.0.0",
    "eslint": "^8.0.0",
    "@vscode/test-electron": "^2.0.0"
  }
}