imgx-cli 0.7.0 → 0.8.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.
- package/CHANGELOG.md +19 -1
- package/dist/cli.bundle.js +1 -2
- package/dist/mcp.bundle.js +1 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.1 (2026-02-27)
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- Remove MCP inline preview size guard — always include base64 image data in MCP responses regardless of size. MCP clients that support `type: "image"` content (e.g. Claude Desktop) will display inline; others will use the file path from the text content. Gemini-generated images (~900KB raw, ~1.2MB base64) exceed Claude Desktop's 1MB limit but the file path fallback ensures usability.
|
|
8
|
+
|
|
9
|
+
## 0.8.0 (2026-02-27)
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- **MCP inline preview size guard** — images exceeding ~780KB base64 (Claude Desktop's 1MB tool result limit) are now gracefully skipped from inline preview. Full-quality images are always saved to disk. Previously, oversized images caused silent display failures in Claude Desktop.
|
|
14
|
+
|
|
15
|
+
## 0.7.1 (2026-02-27)
|
|
16
|
+
|
|
17
|
+
### Fixed
|
|
18
|
+
|
|
19
|
+
- Remove `MULTIPLE_OUTPUTS` capability from Gemini provider — `gemini-3-pro-image-preview` does not support `candidateCount`, causing errors when `count > 1`
|
|
20
|
+
|
|
3
21
|
## 0.7.0 (2026-02-27)
|
|
4
22
|
|
|
5
23
|
### Added
|
|
@@ -124,7 +142,7 @@ Initial release.
|
|
|
124
142
|
- `edit` command: image editing with text instructions
|
|
125
143
|
- `providers` command: list available providers
|
|
126
144
|
- `capabilities` command: show provider capabilities
|
|
127
|
-
- Gemini provider with
|
|
145
|
+
- Gemini provider with 6 capabilities (generate, edit, aspect ratio, resolution, reference images, person control)
|
|
128
146
|
- Capability-based provider abstraction (model-independent core + model-dependent providers)
|
|
129
147
|
- JSON output for scripting and tool integration
|
|
130
148
|
- Single-file esbuild bundle
|
package/dist/cli.bundle.js
CHANGED
|
@@ -39265,7 +39265,6 @@ var GEMINI_PROVIDER_INFO = {
|
|
|
39265
39265
|
Capability.ASPECT_RATIO,
|
|
39266
39266
|
Capability.IMAGE_EDITING,
|
|
39267
39267
|
Capability.RESOLUTION_CONTROL,
|
|
39268
|
-
Capability.MULTIPLE_OUTPUTS,
|
|
39269
39268
|
Capability.REFERENCE_IMAGES,
|
|
39270
39269
|
Capability.PERSON_CONTROL
|
|
39271
39270
|
]),
|
|
@@ -39777,7 +39776,7 @@ function showAll() {
|
|
|
39777
39776
|
}
|
|
39778
39777
|
|
|
39779
39778
|
// build/cli/index.js
|
|
39780
|
-
var VERSION2 = "0.
|
|
39779
|
+
var VERSION2 = "0.8.1";
|
|
39781
39780
|
var HELP = `imgx v${VERSION2} \u2014 AI image generation and editing CLI
|
|
39782
39781
|
|
|
39783
39782
|
Commands:
|
package/dist/mcp.bundle.js
CHANGED
|
@@ -69303,7 +69303,6 @@ var GEMINI_PROVIDER_INFO = {
|
|
|
69303
69303
|
Capability.ASPECT_RATIO,
|
|
69304
69304
|
Capability.IMAGE_EDITING,
|
|
69305
69305
|
Capability.RESOLUTION_CONTROL,
|
|
69306
|
-
Capability.MULTIPLE_OUTPUTS,
|
|
69307
69306
|
Capability.REFERENCE_IMAGES,
|
|
69308
69307
|
Capability.PERSON_CONTROL
|
|
69309
69308
|
]),
|
|
@@ -69608,7 +69607,7 @@ function buildImageContent(images, paths, extra) {
|
|
|
69608
69607
|
}
|
|
69609
69608
|
var server = new McpServer({
|
|
69610
69609
|
name: "imgx",
|
|
69611
|
-
version: "0.
|
|
69610
|
+
version: "0.8.1"
|
|
69612
69611
|
});
|
|
69613
69612
|
initGemini();
|
|
69614
69613
|
initOpenAI();
|