zai-org / zai-org/feedback

[ZCode v3.12.2] 更新后 GLM-5.3 图片输入失效(贴图/Read 不再附带图像、CDN URL 未转义);computer-use 插件被静默禁用

Open
#680 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

priority: P2
Dominant language
No language data
Stars
22
Forks
1
PR merge metrics
No merged PRs in 30d

Description

环境
  • Windows 10 x64,ZCode 桌面版 v3.12.2(2026-09-16 20:18 前后自动更新),内核 mcpClientVersion 0.16.5
  • 订阅:GLM Coding Plan;主力模型 GLM-5.3(非视觉)+ GLM-5.3-Flash(多模态)
问题 1:更新后非视觉模型(GLM-5.3)的图片输入链路失效(核心回归)
  • 更新前:在 GLM-5.3 会话中贴图,或通过 Read 读取 png/jpg,图片以图像附件进入上下文(历史会话 part 记录均为 [Attached image/png: Read image]),视觉识别由服务端透明桥接,工作正常。
  • 更新后:GLM-5.3 会话中贴图,模型只收到文件路径占位符(无图像内容);Read 图片文件只返回一行文本 File ... has been successfully uploaded to CDN and available at: <URL>,不再附带图像,模型无法识别图片。
  • 工具本身正常:将 Read 返回的 URL 手动传给内置识图工具(mcp__4_5v_mcp__analyze_image)可以正确识别,说明断点仅在「图像附件 → 非视觉模型上下文」这一环。
问题 2:CDN URL 拼接 bug(未转义的 Windows 路径)

Read 返回的 CDN 链接内嵌了未做百分号编码的 Windows 绝对路径(含反斜杠与冒号):

https://maas-log-prod.cn-wlcb.ufileos.com/anthropic/<uuid>/C:\Users\<user>\...\p02.png?UCloudPublicKey=...&Expires=...&Signature=...

该 URL 直接传给下游工具/HTTP 客户端存在兼容风险。

问题 3:更新后 computer-use 内置插件被静默禁用
  • 更新后(09-17)日志中 computer-use 的 MCP server 连接尝试为 0(更新前一天还有正常连接记录),技能也不在会话技能列表中;MCP 注册工具数由更新前 73 降至 44。
  • ~/.zcode/cli/config.jsonplugins.enabledPlugins 中 computer-use 条目在更新后丢失;需在设置中手动重新启用并重启才能恢复。
  • 宿主路径(ZCode.exe / zcode.cjs)与插件缓存(0.5.14)均完好,插件清单 mcpServers 声明正常,属于启用状态被更新重置。
问题 4(已自愈,供参考):更新瞬间权益校验故障

2026-09-16 20:18(本地)更新完成时,provider registry 中所有套餐显示 entitled: false,内置 HTTP MCP 服务启动报 coding plan is required,MCP 工具数一度降至 43;重启 ZCode 后恢复正常。

复现步骤(问题 1)
  1. 使用 GLM-5.3(非视觉)模型新建会话
  2. 直接粘贴一张图片,或让 Agent 用 Read 读取本地 png
  3. 模型仅收到路径占位符 / CDN URL 文本,无法识别图片内容(更新前可以)
期望行为

恢复更新前的行为:非视觉模型的会话中,贴图与 Read 图片应继续以图像附件(或等效的服务端视觉桥接)进入上下文;CDN URL 应正确编码。

相关时间线(本地时间)
  • 09-16 17:58 更新前最后正常:MCP 工具 73,贴图/读图正常
  • 09-16 20:18 更新完成:权益故障(coding plan is required)、工具数 43、computer-use 消失
  • 09-16 21:59 起:权益恢复,工具数 44(computer-use 仍缺失)
  • 09-17 02:38 重启后:44 工具,computer-use 手动重新启用

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the image-input path used by paste and Read, then compare the pre-update and post-update behavior described in the issue. Inspect ~/.zcode/cli/config.json, MCP registration logs, and the plugin cache/manifest to trace the missing computer-use entry. Done means image attachments reach the GLM-5.3 context, CDN URLs are safely encoded, and enabled plugins persist across updates.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.