claude-code-best/packages/@ant/computer-use-mcp/src
claude-code-best 227083d31f fix: 修复截图 MIME 类型硬编码导致 API 拒绝的问题
macOS screencapture 输出 PNG,但代码硬编码 mimeType 为 image/jpeg,
导致 API 报错 "specified using image/jpeg but appears to be image/png"。
改为通过 magic bytes 检测实际图片格式。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-12 17:32:28 +08:00
..
deniedApps.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00
executor.ts fix(types): clean type fixes across 92 files 2026-04-09 23:45:56 +08:00
imageResize.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00
index.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00
keyBlocklist.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00
mcpServer.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00
pixelCompare.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00
sentinelApps.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00
subGates.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00
toolCalls.ts fix: 修复截图 MIME 类型硬编码导致 API 拒绝的问题 2026-04-12 17:32:28 +08:00
tools.ts feat: Computer Use — Windows 跨平台支持 + GUI 无障碍增强 + Python Bridge 2026-04-05 15:47:20 +08:00
types.ts feat: enable Computer Use with macOS + Windows + Linux support 2026-04-03 23:17:14 +08:00