{
  "name": "finch-pet",
  "version": "1.0.3",
  "type": "module",
  "description": "Desktop pet for Finch.",
  "author": {
    "name": "Kassell",
    "url": "https://github.com/Kassell"
  },
  "homepage": "https://github.com/Kassell/finch-pet",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/Kassell/finch-pet.git"
  },
  "license": "MIT",
  "main": "dist/index.js",
  "scripts": {
    "build": "tsc -p tsconfig.json && npm run build:zip && npm run build:canvas",
    "build:zip": "esbuild src/lib/zip.ts --bundle --platform=node --format=esm --target=node20 --charset=utf8 --outfile=dist/lib/zip.js",
    "build:canvas": "tsc -p tsconfig.canvas.json && esbuild canvas/main.ts --bundle --format=iife --charset=utf8 --outfile=pet-canvas.js --banner:js=\"/* 本文件由 canvas/ 目录源码构建生成,请勿直接编辑;运行 npm run build:canvas 重新生成。 */\"",
    "dev": "tsc -p tsconfig.json --watch"
  },
  "finch": {
    "manifestVersion": 1,
    "id": "finch-pet",
    "name": "Finch Pet",
    "description": "Desktop pet for Finch.",
    "systemPrompt": "This extension provides a desktop pet. Use pet_control for common show, hide, animation, and speech actions. Pet library management tools (pet_list, pet_select, pet_add, pet_remove) are provided by the local finch-pet MCP server and should be discovered only when needed.",
    "toolMeta": {
      "name": "Finch Pet"
    },
    "promptGuides": [
      {
        "id": "show-pet",
        "title": "Show pet",
        "description": "Show the current pet",
        "prompt": "Show the pet"
      },
      {
        "id": "list-pets",
        "title": "List pets",
        "description": "List available pets",
        "prompt": "List available pets"
      }
    ],
    "main": "dist/index.js",
    "activationEvents": [
      "onStartup"
    ],
    "contributes": {
      "tools": true,
      "skills": false,
      "composerActions": [
        {
          "id": "pet-toggle",
          "icon": "ext:finch-pet/action",
          "tooltip": "Show or hide desktop pet"
        }
      ],
      "iconPacks": [
        {
          "id": "finch-pet",
          "label": "Finch Pet Icons"
        }
      ]
    },
    "requires": {
      "capabilities": [
        "mcp.client"
      ]
    },
    "extensionType": "community",
    "categories": [
      "productivity"
    ],
    "privacyPolicyUrl": "https://finchwork.app/privacy",
    "termsOfServiceUrl": "https://finchwork.app/terms",
    "permissions": {
      "filesystem": "readwrite",
      "network": true,
      "shell": true
    }
  },
  "devDependencies": {
    "@finchtoys/minitool-api": "^0.1.16",
    "@types/node": "^26.1.0",
    "esbuild": "^0.28.1",
    "fflate": "^0.8.3",
    "typescript": "^6.0.3"
  },
  "files": [
    "dist/",
    "pets/",
    "pet-canvas.js",
    "icon.png",
    "icons/",
    "i18n/",
    "README.md",
    "README.en-US.md",
    "README.zh-CN.md",
    "package.json"
  ]
}
