{
  "name": "opencode-image-compressor",
  "version": "2026.04.09",
  "description": "An OpenCode plugin that reduces large attached images into AI-optimized JPEG payloads before they are sent to agent to conserve tokens and avoid conversation compaction.",
  "type": "module",
  "main": "dist/index.js",
  "exports": {
    ".": "./dist/index.js"
  },
  "files": [
    "dist"
  ],
  "keywords": [
    "opencode",
    "plugin",
    "image",
    "jpeg",
    "compression",
    "compact",
    "resize",
    "attachments",
    "images",
    "image"
  ],
  "license": "MIT",
  "dependencies": {
    "sharp": "^0.33.0"
  },
  "peerDependencies": {
    "@opencode-ai/plugin": ">=1.2.27"
  },
  "devDependencies": {
    "@opencode-ai/plugin": "^1.2.27",
    "@types/bun": "latest",
    "tsup": "^8.0.0",
    "typescript": "^5.0.0"
  },
  "scripts": {
    "build": "tsup",
    "typecheck": "tsc --noEmit",
    "prepublishOnly": "bun run typecheck && bun run build"
  }
}
