Conversation
JTropy
marked this pull request as draft
September 20, 2026 03:54
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.
问题与实现
ChatGPT 网页端可能仅向模型暴露标准 MCP 图片结果的元数据。此 PR 给
view_image添加可选图片组件:预览真实图片,用户点击后经宿主uploadFile/widgetState.imageIds将其加入后续模型轮次。保留输出 schema、structuredContent 与图片字节。更新:统一共享实现
最初实现位于 NexusDock。现将 HTML、宿主桥接、统一提示和 7 个组件行为测试下沉到
agentdock-protocol/mcpapps,本仓库删除重复实现;AgentDock 直连也使用同一组件。make image-app-test运行解析到的协议模块内共享行为测试。草稿与依赖
当前 go.mod 的 v0.8.1 不含新增接口,更新后的草稿不能独立构建或合并。须先合并发布协议 PR,再更新 go.mod/go.sum 到真实上游版本并重新运行独立 CI。没有本地 replace、虚构版本或私人 fork 依赖。
审阅时在临时目录运行
go work init <协议仓库路径> <NexusDock仓库路径>,设置 GOWORK 为该文件绝对路径,进入 NexusDock 运行make ci。联合验证的协议版本为3b5502c8ec9a8e187d5e03c0f6fc4716452513d2。验证证据
make ci通过:web build、共享 7 个组件测试、Go 全量及竞态测试、vet、契约/仓库检查、构建。这不是当前 v0.8.1 下的独立 CI 通过。9f6cb2d已用 Chrome + ChatGPT 实测:点击后正确识别未在提示词透露的按钮颜色、历史算式和结果,未使用 OCR 或人工答案。限制
这是用户点击后、后续轮次识图,不是同轮无人值守 Computer Use。不默认保存到文件库,不新增网络域名,不改认证。宿主接口不可用则降级预览。上传文件由 ChatGPT 管理,保留期不继承节点 Artifact TTL。
官方无 develop 分支,基于 main。未提交部署配置、凭据、节点信息或用户截图。