opencode-gpt-imagegen 0.1.0 → 0.1.1

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 +16 -2
  2. package/package.json +8 -2
package/README.md CHANGED
@@ -1,7 +1,12 @@
1
1
  # opencode-gpt-imagegen
2
2
 
3
- > Bring **GPT image generation** to [OpenCode](https://opencode.ai). Use it through your **ChatGPT subscription** (no API costs!) or through the **OpenAI API** — your call.
3
+ <p align="center"><img src="./ogp.png" alt="opencode-gpt-imagegen × gpt-image-2" /></p>
4
4
 
5
+ > Bring [**ChatGPT Images 2.0**](https://openai.com/index/introducing-chatgpt-images-2-0/) (`gpt-image-2`) to [OpenCode](https://opencode.ai). Use it through your **ChatGPT subscription** (no API costs!) or through the **OpenAI API** — your call.
6
+
7
+ [![OpenCode plugin](https://img.shields.io/badge/OpenCode-plugin-blue.svg)](https://opencode.ai/docs/plugins/)
8
+ [![npm version](https://img.shields.io/npm/v/opencode-gpt-imagegen.svg)](https://www.npmjs.com/package/opencode-gpt-imagegen)
9
+ [![CI](https://github.com/yuji-hatakeyama/opencode-gpt-imagegen/actions/workflows/ci.yml/badge.svg)](https://github.com/yuji-hatakeyama/opencode-gpt-imagegen/actions/workflows/ci.yml)
5
10
  [![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](./LICENSE)
6
11
  [![status](https://img.shields.io/badge/status-v0.1.0-orange.svg)](#roadmap)
7
12
 
@@ -17,7 +22,16 @@
17
22
 
18
23
  ## Installation
19
24
 
20
- *Installation instructions are coming with the upcoming npm release. Stay tuned.*
25
+ Add this plugin to your [OpenCode config](https://opencode.ai/docs/plugins/). For example, in `opencode.json`:
26
+
27
+ ```json
28
+ {
29
+ "$schema": "https://opencode.ai/config.json",
30
+ "plugin": ["opencode-gpt-imagegen"]
31
+ }
32
+ ```
33
+
34
+ OpenCode auto-installs the package via Bun on next launch — no separate `npm install` step is needed. The plugin requires OpenCode to be authenticated with ChatGPT.
21
35
 
22
36
  ## Usage
23
37
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "opencode-gpt-imagegen",
3
- "version": "0.1.0",
4
- "description": "OpenCode plugin that exposes a gpt_image_gen tool backed by OpenAI's hosted image_generation tool through the ChatGPT subscription.",
3
+ "version": "0.1.1",
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",
7
7
  "types": "./dist/index.d.ts",
@@ -27,10 +27,16 @@
27
27
  "keywords": [
28
28
  "opencode",
29
29
  "opencode-plugin",
30
+ "opencode-ai",
30
31
  "openai",
32
+ "gpt-image-2",
31
33
  "gpt-image",
32
34
  "image-generation",
35
+ "image-editing",
36
+ "text-to-image",
33
37
  "chatgpt",
38
+ "chatgpt-images",
39
+ "chatgpt-oauth",
34
40
  "codex",
35
41
  "plugin"
36
42
  ],