opencode-antigravity-auth-remix 1.3.1 → 1.3.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 +40 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -16,7 +16,7 @@
16
16
  > | `count_tokens` Tool | Native Implementation |
17
17
  > | `thoughtSignature` logic (Tool-loop recovery) | [znlsl/Antigravity2Api](https://github.com/znlsl/Antigravity2Api#) |
18
18
  >
19
- > **Status:** Version 1.3.0 - Added Image-to-Image (Image Variation) support for `generate_image`.
19
+ > **Status:** Version 1.3.1 - Added Image-to-Image (Image Variation) support for `generate_image`.
20
20
 
21
21
  ---
22
22
 
@@ -53,7 +53,7 @@ Install the opencode-antigravity-auth-remix plugin and add the Antigravity model
53
53
 
54
54
  ```json
55
55
  {
56
- "plugin": ["opencode-antigravity-auth-remix@1.3.1"]
56
+ "plugin": ["opencode-antigravity-auth-remix@1.3.2"]
57
57
  }
58
58
  ```
59
59
 
@@ -104,7 +104,7 @@ Copy this to `~/.config/opencode/opencode.json`:
104
104
  ```json
105
105
  {
106
106
  "$schema": "https://opencode.ai/config.json",
107
- "plugin": ["opencode-antigravity-auth-remix@1.3.1"],
107
+ "plugin": ["opencode-antigravity-auth-remix@1.3.2"],
108
108
  "provider": {
109
109
  "google": {
110
110
  "models": {
@@ -259,6 +259,23 @@ AI image generation with automatic file saving and WebP conversion. Uses `gemini
259
259
  - **WebP**: Generates optimized WebP version (75% quality) alongside original
260
260
  - **4K Support**: High-definition output via dynamic model configuration
261
261
 
262
+ #### Image-to-Image Guide
263
+
264
+ To use Image-to-Image generation, provide the absolute local paths of your reference images in the `imagePaths` parameter.
265
+
266
+ **Scenario 1: Style Transfer**
267
+ - **Prompt**: "Turn this photo into a cyberpunk style illustration"
268
+ - **imagePaths**: `["/path/to/your/photo.jpg"]`
269
+
270
+ **Scenario 2: Multi-Image Fusion**
271
+ - **Prompt**: "Combine the cat from the first image and the dog from the second image playing together in a park"
272
+ - **imagePaths**: `["/path/to/cat.jpg", "/path/to/dog.png"]`
273
+
274
+ **Notes**:
275
+ - Paths must be absolute local file system paths.
276
+ - Supports JPG, PNG, WebP.
277
+ - Maximum 10 reference images.
278
+
262
279
  ### google_search
263
280
 
264
281
  High-quality web search and URL analysis with structural citations.
@@ -296,7 +313,7 @@ MIT
296
313
  > | `count_tokens` 工具 | 原生实现 |
297
314
  > | `thoughtSignature` 逻辑 (工具调用签名恢复) | [znlsl/Antigravity2Api](https://github.com/znlsl/Antigravity2Api#) |
298
315
  >
299
- > **状态:** 版本 1.3.0 - 为 `generate_image` 新增了图生图 (Image-to-Image/Image Variation) 支持。
316
+ > **状态:** 版本 1.3.1 - 为 `generate_image` 新增了图生图 (Image-to-Image/Image Variation) 支持。
300
317
 
301
318
  ---
302
319
 
@@ -331,7 +348,7 @@ MIT
331
348
 
332
349
  ```json
333
350
  {
334
- "plugin": ["opencode-antigravity-auth-remix@1.3.1"]
351
+ "plugin": ["opencode-antigravity-auth-remix@1.3.2"]
335
352
  }
336
353
  ```
337
354
 
@@ -382,7 +399,7 @@ MIT
382
399
  ```json
383
400
  {
384
401
  "$schema": "https://opencode.ai/config.json",
385
- "plugin": ["opencode-antigravity-auth-remix@1.3.1"],
402
+ "plugin": ["opencode-antigravity-auth-remix@1.3.2"],
386
403
  "provider": {
387
404
  "google": {
388
405
  "models": {
@@ -537,6 +554,23 @@ opencode run "你好" --model=google/gemini-2.5-flash
537
554
  - **WebP**: 同时生成 WebP 版本 (75% 质量) 以节省空间
538
555
  - **高清支持**: 支持动态配置 4K (HD) 高清输出
539
556
 
557
+ #### 图生图 (Image-to-Image) 使用指南
558
+
559
+ 要使用图生图功能,只需在调用工具时通过 `imagePaths` 参数提供参考图片的本地绝对路径。
560
+
561
+ **示例场景 1:风格迁移**
562
+ - **Prompt**: "Turn this photo into a cyberpunk style illustration"
563
+ - **imagePaths**: `["/path/to/your/photo.jpg"]`
564
+
565
+ **示例场景 2:多图融合**
566
+ - **Prompt**: "Combine the cat from the first image and the dog from the second image playing together in a park"
567
+ - **imagePaths**: `["/path/to/cat.jpg", "/path/to/dog.png"]`
568
+
569
+ **注意**:
570
+ - 图片路径必须是本地文件系统的绝对路径。
571
+ - 支持 JPG, PNG, WebP 格式。
572
+ - 最多支持 10 张参考图片。
573
+
540
574
  ### google_search (搜索工具)
541
575
 
542
576
  高质量网页搜索和 URL 分析,支持结构化引用来源。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-antigravity-auth-remix",
3
- "version": "1.3.1",
3
+ "version": "1.3.2",
4
4
  "description": "Remix of Antigravity Auth: Dual Account + Google Search + Image Generation + Token Counting",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",