gpteam 0.1.19 → 0.1.20
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/README.md +1 -1
- package/lib/help.js +1 -1
- package/lib/image-mcp/image.js +0 -1
- package/lib/image-mcp/server.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ The Image MCP exposes both a synchronous compatibility tool and a local async jo
|
|
|
27
27
|
|
|
28
28
|
Image MCP results are returned as stable JSON text and MCP `structuredContent`. Successful results include final file path, model, action, size, format, quality, byte size, SHA-256, MIME type, image dimensions, duration, retry count, `job_id`, `trace_id`, and optional `idempotency_key`. Error results use stable `error.code`, `error.message`, `error.retryable`, `error.stage`, `error.upstream_status`, and `error.trace_id` fields while keeping compatibility fields such as `category` and `http_status`.
|
|
29
29
|
|
|
30
|
-
The MCP supports normal text-to-image generation and image-to-image/edit inputs. Pass `images` as data URLs, HTTPS URLs, or local file paths. Pass `mask` the same way for masked edits
|
|
30
|
+
The MCP supports normal text-to-image generation and image-to-image/edit inputs. Pass `images` as data URLs, HTTPS URLs, or local file paths. Pass `mask` the same way for masked edits. `input_fidelity` is accepted for compatibility but is not forwarded to the current GPTeam Image 2 bridge because upstream Codex image edits reject it. File writes create missing directories, avoid overwriting existing files by adding `-v2`, `-v3`, etc., and validate PNG/JPEG/WebP before returning success. `overwrite: true` is available for explicit replacement. `return_revised_prompt` controls whether the upstream revised prompt is included in the result.
|
|
31
31
|
|
|
32
32
|
Claude Code is written to `~/.claude/settings.json` under the `env` section, using the GPTeam `/anthropic` base URL. OpenClaw writes `models.providers.gpteam` and also selects `gpteam/<model>` under `agents.defaults.model`, so the chosen model is active without an extra manual step.
|
|
33
33
|
|
package/lib/help.js
CHANGED
package/lib/image-mcp/image.js
CHANGED
|
@@ -40,7 +40,6 @@ export function buildImageGenerationPayload(input = {}, options = {}) {
|
|
|
40
40
|
if (mask) payload.mask = { image_url: mask };
|
|
41
41
|
copyOptionalImageToolOption(payload, input, 'background');
|
|
42
42
|
copyOptionalImageToolOption(payload, input, 'moderation');
|
|
43
|
-
copyOptionalImageToolOption(payload, input, 'input_fidelity');
|
|
44
43
|
return payload;
|
|
45
44
|
}
|
|
46
45
|
|
package/lib/image-mcp/server.js
CHANGED
|
@@ -59,7 +59,7 @@ const imageInputProperties = {
|
|
|
59
59
|
},
|
|
60
60
|
input_fidelity: {
|
|
61
61
|
type: 'string',
|
|
62
|
-
description: '
|
|
62
|
+
description: 'Accepted for compatibility. The GPTeam Image 2 bridge currently ignores this option because the upstream Codex image tool rejects it on edits.',
|
|
63
63
|
enum: ['low', 'high']
|
|
64
64
|
},
|
|
65
65
|
return_revised_prompt: {
|