{
  "name": "opencode-gpt-imagegen",
  "version": "0.1.12",
  "description": "OpenCode plugin for GPT Image 2 generation through your ChatGPT subscription, with reference images and safe PNG output.",
  "type": "module",
  "main": "./dist/index.js",
  "exports": {
    ".": {
      "import": "./dist/index.js"
    }
  },
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "scripts": {
    "typecheck": "tsc --noEmit",
    "check": "biome check --write .",
    "prebuild": "rm -rf dist",
    "build": "bun build ./src/index.ts --outdir ./dist --target node --format esm --packages external",
    "test": "bun test tests/unit",
    "test:e2e_subscription": "OPENCODE_MODEL=openai/gpt-5.5 bun test tests/e2e/subscription.test.ts",
    "prepublishOnly": "bun run build",
    "release:patch": "bash scripts/prepare-release.sh patch && git push --follow-tags",
    "release:minor": "bash scripts/prepare-release.sh minor && git push --follow-tags",
    "release:major": "bash scripts/prepare-release.sh major && git push --follow-tags"
  },
  "keywords": [
    "opencode",
    "opencode-plugin",
    "opencode-ai",
    "openai",
    "gpt-image-2",
    "gpt-image",
    "image-generation",
    "image-editing",
    "text-to-image",
    "chatgpt",
    "chatgpt-images",
    "chatgpt-oauth",
    "codex",
    "plugin"
  ],
  "author": "Yuji Hatakeyama",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/yuji-hatakeyama/opencode-gpt-imagegen.git"
  },
  "homepage": "https://github.com/yuji-hatakeyama/opencode-gpt-imagegen#readme",
  "bugs": {
    "url": "https://github.com/yuji-hatakeyama/opencode-gpt-imagegen/issues"
  },
  "peerDependencies": {
    "@opencode-ai/plugin": "^1.14.0"
  },
  "devDependencies": {
    "@biomejs/biome": "^2.5.3",
    "@opencode-ai/plugin": "^1.14.41",
    "@tsconfig/node22": "^22.0.2",
    "@types/bun": "^1.3.14",
    "typescript": "^7.0.2"
  },
  "dependencies": {
    "eventsource-parser": "^4.0.0",
    "file-type": "^22.0.1",
    "xdg-basedir": "^5.1.0"
  }
}
