gpteam 0.1.26 → 0.1.27

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 CHANGED
@@ -21,7 +21,7 @@ The Image MCP exposes an async-first local job flow plus a legacy compatibility
21
21
  - `create_image_job`: recommended for normal use. It starts a local background image job and returns `job_id` quickly, which avoids losing the whole generation when a VPN, proxy, or client has a 60-second idle timeout.
22
22
  - `get_image_job_status`: checks whether the local job is queued, running, succeeded, failed, canceled, or expired.
23
23
  - `cancel_image_job`: cancels a queued/running local job.
24
- - `download_image_result`: returns the completed file metadata and local file path by default. Pass `include_image: true` only when the client must receive MCP image content, because large images can trigger context compaction.
24
+ - `download_image_result`: returns the completed file metadata and image content. Use `metadata_only`, `include_image`, and `include_revised_prompt` to control large result payloads.
25
25
  - `get_capabilities`: returns supported sizes, formats, quality values, async support, cancellation semantics, queue limits, and image-to-image support.
26
26
  - `generate_image`: legacy compatibility alias. It now creates the same async job and returns `job_id` immediately instead of blocking until the image is complete.
27
27
 
package/lib/config.js CHANGED
@@ -54,7 +54,7 @@ export function writeCodexConfig(settings) {
54
54
  `base_url = ${tomlString(settings.node.baseUrl)}`,
55
55
  'wire_api = "responses"',
56
56
  'requires_openai_auth = true',
57
- 'supports_websockets = false'
57
+ 'supports_websockets = true'
58
58
  ];
59
59
  const mcpCommand = codexImageMCPCommand();
60
60
  const managedImageMCP = [
package/lib/help.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export const PACKAGE_NAME = 'gpteam';
2
- export const PACKAGE_VERSION = '0.1.26';
2
+ export const PACKAGE_VERSION = '0.1.27';
3
3
 
4
4
  export function getHelpText() {
5
5
  return [
@@ -15,7 +15,7 @@ export function getHelpText() {
15
15
  ' --model <id> 预选模型,例如 gpt-5.5',
16
16
  ' --context <tokens> 预设可配置上下文长度',
17
17
  ' --effort <level> 按模型支持项预选,常见为 none / low / medium / high / xhigh',
18
- ' --node <id> jp-direct / jp-split / hk-split / us-split',
18
+ ' --node <id> jp-direct / jp-split / hk-split',
19
19
  ' --rounds <n> 每个入口测速轮数,默认 3',
20
20
  ' --max-output-tokens <n> 测速输出上限,默认 648',
21
21
  ' --install-client 客户端命令缺失时直接安装,不再二次确认',
@@ -651,7 +651,7 @@ function normalizeIdempotencyKey(value) {
651
651
  }
652
652
 
653
653
  function shapeDownloadResult(result, input = {}) {
654
- const includeImage = input.include_image === true && !input.metadata_only;
654
+ const includeImage = !input.metadata_only && input.include_image !== false;
655
655
  const includeRevisedPrompt = input.include_revised_prompt !== false;
656
656
  const output = {
657
657
  ...result,
@@ -238,13 +238,13 @@ function downloadSchema() {
238
238
  const schema = jobIDSchema();
239
239
  schema.properties.metadata_only = {
240
240
  type: 'boolean',
241
- description: '只返回文件路径和元数据,不返回 MCP 图片内容。默认 true,避免大图进入上下文触发频繁 compact。',
242
- default: true
241
+ description: 'Return only metadata without MCP image content.',
242
+ default: false
243
243
  };
244
244
  schema.properties.include_image = {
245
245
  type: 'boolean',
246
- description: '显式返回 MCP 图片内容。大图会显著增加上下文,通常保持 false,只使用本地文件路径。',
247
- default: false
246
+ description: 'Include image content when the job succeeded.',
247
+ default: true
248
248
  };
249
249
  schema.properties.include_revised_prompt = {
250
250
  type: 'boolean',
package/lib/nodes.js CHANGED
@@ -22,14 +22,6 @@ export const INGRESS_NODES = [
22
22
  split: true,
23
23
  baseUrl: 'https://api-hk.gpteamservices.com/v1',
24
24
  healthUrl: 'https://api-hk.gpteamservices.com/api/health'
25
- },
26
- {
27
- id: 'us-split',
28
- label: '美国入口',
29
- region: 'US',
30
- split: true,
31
- baseUrl: 'https://api-us.gpteamservices.com/v1',
32
- healthUrl: 'https://api-us.gpteamservices.com/api/health'
33
25
  }
34
26
  ];
35
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gpteam",
3
- "version": "0.1.26",
3
+ "version": "0.1.27",
4
4
  "description": "GPTeam API interactive client configurator and ingress benchmark CLI.",
5
5
  "type": "module",
6
6
  "bin": {