opencode-gpt-imagegen 1.2.0 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +5 -2
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # opencode-gpt-imagegen
2
2
 
3
- > **⚠️ Plugin versions before `0.1.13` no longer generate images.** [GPT-5.5 retired from Codex with ChatGPT sign-in](https://learn.chatgpt.com/docs/models#gpt-55-retirement) on October 14, 2026, and those versions use it. Follow the [update steps](#updating-the-plugin) to install the latest version.
3
+ > **🎉 Starting with `1.2.1`, this plugin supports both OpenCode V1 and V2!** Sorry for the long wait. On V2, sign in to OpenAI with **Codex browser (legacy)** or **Codex device code (legacy)**, because **Sign in with ChatGPT** cannot generate images. See [Installation](#installation) and the [release notes](https://github.com/yuji-hatakeyama/opencode-gpt-imagegen/releases/tag/v1.2.1).
4
4
 
5
5
  > **📣 `1.0.0` changes how `gpt_imagegen` is used.** `size` now accepts only seven fixed sizes, and `quality` is removed. See the [release notes](https://github.com/yuji-hatakeyama/opencode-gpt-imagegen/releases/tag/v1.0.0) for all changes.
6
6
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-gpt-imagegen",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "OpenCode plugin for GPT Image 2 generation through your ChatGPT subscription, with reference images and safe PNG output.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -63,6 +63,9 @@
63
63
  "dependencies": {
64
64
  "file-type": "^22.0.1",
65
65
  "xdg-basedir": "^5.1.0",
66
- "zod": "4.1.8"
66
+ "zod": "4.6.7"
67
+ },
68
+ "overrides": {
69
+ "zod": "$zod"
67
70
  }
68
71
  }