{
  "name": "vscode-tamagotchi",
  "displayName": "VSCode Tamagotchi",
  "description": "A virtual Tamagotchi pet that lives in your VSCode/Cursor editor",
  "version": "0.1.0",
  "publisher": "pegasus-heavy-industries",
  "license": "MIT",
  "engines": {
    "vscode": "^1.107.0"
  },
  "categories": [
    "Other"
  ],
  "keywords": [
    "tamagotchi",
    "pet",
    "virtual pet",
    "game",
    "fun"
  ],
  "activationEvents": [
    "onStartupFinished"
  ],
  "main": "./out/extension.js",
  "contributes": {
    "commands": [
      {
        "command": "tamagotchi.show",
        "title": "Show Tamagotchi",
        "category": "Tamagotchi"
      },
      {
        "command": "tamagotchi.feed",
        "title": "Feed Tamagotchi",
        "category": "Tamagotchi"
      },
      {
        "command": "tamagotchi.play",
        "title": "Play with Tamagotchi",
        "category": "Tamagotchi"
      },
      {
        "command": "tamagotchi.sleep",
        "title": "Put Tamagotchi to Sleep",
        "category": "Tamagotchi"
      },
      {
        "command": "tamagotchi.clean",
        "title": "Clean Tamagotchi",
        "category": "Tamagotchi"
      },
      {
        "command": "tamagotchi.reset",
        "title": "Reset Tamagotchi",
        "category": "Tamagotchi"
      },
      {
        "command": "tamagotchi.moveToLeft",
        "title": "Move Tamagotchi to Left Sidebar",
        "category": "Tamagotchi"
      },
      {
        "command": "tamagotchi.moveToRight",
        "title": "Move Tamagotchi to Right Sidebar",
        "category": "Tamagotchi"
      }
    ],
    "configuration": {
      "title": "Tamagotchi",
      "properties": {
        "tamagotchi.position": {
          "type": "string",
          "default": "sidebar-left",
          "enum": [
            "sidebar-left",
            "sidebar-right",
            "panel",
            "editor"
          ],
          "enumDescriptions": [
            "Show in left sidebar (with file explorer)",
            "Show in right sidebar (auxiliary bar, with AI chat)",
            "Show in bottom panel area",
            "Show as an editor tab"
          ],
          "description": "Where to display the Tamagotchi window"
        },
        "tamagotchi.petName": {
          "type": "string",
          "default": "Tama",
          "description": "Name your Tamagotchi pet"
        },
        "tamagotchi.autoStart": {
          "type": "boolean",
          "default": true,
          "description": "Automatically show Tamagotchi when VSCode starts"
        },
        "tamagotchi.updateInterval": {
          "type": "number",
          "default": 30000,
          "minimum": 10000,
          "maximum": 300000,
          "description": "How often stats decrease (in milliseconds)"
        },
        "tamagotchi.theme": {
          "type": "string",
          "default": "classic",
          "enum": [
            "classic",
            "neon",
            "pastel",
            "dark"
          ],
          "description": "Visual theme for your Tamagotchi"
        },
        "tamagotchi.petColors.primary": {
          "type": "string",
          "default": "#ff6b9d",
          "format": "color",
          "description": "Primary color of your pet (body color)"
        },
        "tamagotchi.petColors.secondary": {
          "type": "string",
          "default": "#c44cff",
          "format": "color",
          "description": "Secondary color of your pet (accents, paws)"
        },
        "tamagotchi.petColors.accent": {
          "type": "string",
          "default": "#ffe14c",
          "format": "color",
          "description": "Accent color (highlights, sparkles, mane)"
        },
        "tamagotchi.petColors.blush": {
          "type": "string",
          "default": "#ffb3d9",
          "format": "color",
          "description": "Blush/cheek color"
        },
        "tamagotchi.useCustomSprites": {
          "type": "boolean",
          "default": true,
          "description": "Use custom SVG sprites instead of emoji"
        },
        "tamagotchi.colorPreset": {
          "type": "string",
          "default": "custom",
          "enum": [
            "custom",
            "sakura",
            "ocean",
            "sunset",
            "forest",
            "galaxy",
            "candy",
            "monochrome"
          ],
          "enumDescriptions": [
            "Use your custom color settings",
            "Soft pink cherry blossom theme",
            "Cool blue ocean depths",
            "Warm orange and red sunset",
            "Fresh green forest vibes",
            "Deep purple space colors",
            "Sweet pastel candy colors",
            "Elegant grayscale look"
          ],
          "description": "Quick color preset for your pet (overrides custom colors when not 'custom')"
        }
      }
    },
    "viewsContainers": {
      "activitybar": [
        {
          "id": "tamagotchi-sidebar",
          "title": "Tamagotchi",
          "icon": "media/icon.svg"
        }
      ]
    },
    "views": {
      "tamagotchi-sidebar": [
        {
          "type": "webview",
          "id": "tamagotchi.sidebarView",
          "name": "Tamagotchi",
          "contextualTitle": "Tamagotchi Pet",
          "visibility": "visible"
        }
      ]
    },
    "menus": {
      "view/title": [
        {
          "command": "tamagotchi.feed",
          "when": "view == tamagotchi.sidebarView",
          "group": "navigation"
        },
        {
          "command": "tamagotchi.play",
          "when": "view == tamagotchi.sidebarView",
          "group": "navigation"
        }
      ]
    }
  },
  "devDependencies": {
    "@commitlint/cli": "^20.2.0",
    "@commitlint/config-conventional": "^20.2.0",
    "@eslint/js": "^9.39.2",
    "@types/node": "^25.0.3",
    "@types/vscode": "^1.107.0",
    "@vscode/vsce": "^3.7.1",
    "eslint": "^9.39.2",
    "husky": "^9.1.7",
    "lint-staged": "^16.2.7",
    "prettier": "^3.7.4",
    "typescript": "^5.9.3",
    "typescript-eslint": "^8.50.0",
    "vitest": "^4.0.16"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pegasusheavy/vscode-tamagotchi.git"
  },
  "bugs": {
    "url": "https://github.com/pegasusheavy/vscode-tamagotchi/issues"
  },
  "homepage": "https://pegasusheavy.github.io/vscode-tamagotchi",
  "lint-staged": {
    "src/**/*.ts": [
      "eslint --fix"
    ],
    "*.{json,md}": [
      "prettier --write --ignore-unknown"
    ]
  },
  "scripts": {
    "vscode:prepublish": "pnpm run compile",
    "compile": "tsc -p ./",
    "watch": "tsc -watch -p ./",
    "pretest": "pnpm run compile",
    "test": "vitest",
    "lint": "eslint src/",
    "package": "vsce package --no-dependencies"
  }
}