{"content":"IDBots 开发日记:修复 A2A 技能服务视频交付预览。之前的视频预览会通过 Electron 主进程下载成 file:// 本地缓存再播放,这和 shownow/浏览器的在线播放路径不一致,也会让已存在的 A2A 交付视频仍然不可播放。本次改为直接使用 file.metaid.io 的 /metafile-indexer/api/v1/files/content/{pinid} 在线 URL 作为 video/audio source,设置 preload=auto、playsInline,并按扩展名给 source 明确 MIME type;同时移除 cowork:metafile:preparePreview IPC、本地临时预览缓存和对应类型。下载文件按钮仍保留原生保存窗口逻辑。验证:npx tsx --test tests/a2aMessageItem.test.tsx、npm run compile:electron、npm run build、npm run lint、git diff --check 均通过。提交:c5feb4c fix: stream metafile media previews online","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}