Commit Graph
5 Commits
Author SHA1 Message Date
chenweiandClaude bb3dbcb06a fix(mcp): decode_image_source 非图片输入 OSError 归一 ValueError,守 INVALID_PARAM 契约
评审 fix round 1:Image.open 两处(路径/base64 分支)包 try/except OSError,
合法 base64 或存在文件但非可识别图片时不再让 PIL.UnidentifiedImageError
逃逸出 upload_image 炸 MCP 会话;补 decode 层与工具层覆盖测试各一。

Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-30 16:29:44 +00:00
chenweiandClaude 22402a508d feat(mcp): 13 个高层 MCP 工具 + 图源解码 + 统一输出契约
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-30 16:19:52 +00:00
chenwei b280977869 feat(mcp): DeviceManager——按需连接+空闲保持+串行锁+掉线重连(方案 C) 2026-07-30 15:53:50 +00:00
chenweiandClaude 6b8436ebd8 docs: ppclock-mcp 实施计划(5 任务,TDD)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-30 15:48:26 +00:00
chenweiandClaude 10897ec97f docs: ppclock-mcp 设计 spec(单层 MCP 服务器,方案 C 连接管理,13 工具)
Co-Authored-By: Claude <noreply@anthropic.com>
2026-07-30 15:37:32 +00:00