Skip to content

Release v1.6.0

Choose a tag to compare

@github-actions github-actions released this 20 Jul 12:25
· 7 commits to main since this release

[1.6.0] - 2026-07-20

Added

  • 🆕 OpenAI 兼容客户端基类: 新增 OpenAICompatibleVisionClient,统一 chat-completions 请求/响应/thinking 逻辑;各 provider 收成薄 preset
  • 🆕 可选 task_type: 单工具 image_understand 支持 auto|general|ocr|ui|debug|describe;省略或 auto 时与 1.5 行为兼容
  • 🆕 可选响应 meta: INCLUDE_META=true 或 LUMA_DEBUG=1 时在结果末尾附加 luma_meta(预处理/API 耗时、裁剪数等)
  • 🆕 配置加固: provider 白名单、数值 clamp、缺 API Key 启动 warn、MCP server version 与 package.json 对齐
  • 🆕 测试: npm run test:unit;npm run test:mcp 走真实 stdio 调用 image_understand

Changed

  • 各 provider 客户端重构到共享基类(对外行为保持兼容)
  • task_type=ocr 默认单图高保真处理(跳过 multi-crop)
  • 错误信息脱敏:Bearer token 与常见 secret query 参数

Compatibility

  • 仍为单一工具名 image_understand
  • 既有环境变量与 provider 名称不变;新增 env 均为可选