Merged
Conversation
从技术上,这次改动把 Gemini 图片附件链路补齐到了完整闭环: - 主进程新增 Gemini 项目 shortId / temp / images 目录解析,兼容 Windows 与 WSL UNC 路径 - 图片保存 IPC 透传 provider、runtime、distro 与项目路径上下文,Gemini 可写入专用临时目录 - 前端发送阶段将 Gemini 图片 Chip 序列化为 CLI 需要的 @path 语法 - 统一图片文件识别逻辑,拖拽、粘贴、手输路径与 @ 选中的图片都按图片附件发送 - 修复 UNC 路径规范化错误压缩前导反斜杠导致的混合分隔符问题 从产品上,Gemini 现在能稳定识别项目级图片附件,不再把图片当普通文件路径发给 CLI, 同时不会影响 Codex / Claude 既有的路径插入与图片保存行为。 测试: - npm run test Signed-off-by: Lulu <58587930+lulu-sk@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
从技术上,这次改动把 Gemini 图片附件链路补齐到了完整闭环:
从产品上,Gemini 现在能稳定识别项目级图片附件,不再把图片当普通文件路径发给 CLI,
同时不会影响 Codex / Claude 既有的路径插入与图片保存行为。
测试: