Multiple projects could spawn duplicate heavyweight runtimes, while settings changes and remote reconnection could cancel or strand native conversations. Share compatible local OpenCode and DeepSeek Harness process owners and Agent-owned ACP connections, retaining workspace routing, per-session modes, model attribution, question ownership, targeted cancellation and idle cleanup. Restore remote pending questions and terminal task projections across reconnect and desktop restart, and preserve accepted ordinary requests during settings replacement while cancelling expert-team parents with their replaced scheduler. Extend regression coverage and Agent type checks. Record measured resource and real-model validation results, including failures and limitations. Also include the conversation media-generation design drafts (not an implemented feature), documentation entry links and dedicated Linux test-directory guidance. Desktop and Agent changes must be delivered together for shared process results. Validation: typecheck and lint passed; staged content and documentation links checked. Prior full regression and live-model evidence are recorded in progress notes; no new full test suite or model calls were run for this commit. Release note: 多项目会话现在复用兼容的 OpenCode 和 DeepSeek Harness 进程,减少重复启动并保持工作区、工具和取消隔离。修复远端问答在断线、重启及配置更新后的恢复与状态同步问题,Desktop 与 Agent 需配套更新。
35 lines
2.1 KiB
Markdown
35 lines
2.1 KiB
Markdown
# 图片生成与连续修改
|
|
|
|
本目录维护直连图片模型的生成、参考图编辑和会话续接行为。这是已有生图流程的修复,
|
|
不增加独立模型、工具审批或服务端会话管理。
|
|
|
|
## 产品行为
|
|
|
|
- 首次无附图时生成新图片。同一桌面对话继续请求时,自动引用最近一次成功回复的图片,
|
|
同时发送此前的文字要求;本轮修改要求优先。
|
|
- 本轮显式附图优先,不自动混入上一轮生成图。要独立生成不相关图片,使用新对话。
|
|
- 已保存会话重新打开后仍可继续改图,引用已有成果,不依赖 Runtime 内存缓存。
|
|
- 上游明确不支持编辑时,继续按文字生成,并在该回复底部说明未使用参考图片。
|
|
缺失历史成果时使用剩余可用上下文并提示,不禁用发送。
|
|
- 网络、鉴权、限流、参数错误和真正的生成失败仍正常报错,不伪装成能力缺失。
|
|
- 模型 ID、地址和质量服从用户的模型连接配置,不对特定服务商或模型别名做硬编码。
|
|
验证以用户指定的 `sub-gpt-image-2` 实际服务能力为准,不由其他模型的失败推断其能力。
|
|
|
|
## 文档导航
|
|
|
|
| 文档 | 权威职责 |
|
|
| --- | --- |
|
|
| [技术设计](./technical-design.md) | 请求、图片引用、协议与失败处理 |
|
|
| [UI 设计](./ui-design.md) | 消息底部提示及交互边界 |
|
|
| [功能进度](./progress.md) | 已验证事实和剩余验收 |
|
|
|
|
本次只补齐已有工作流,产品规则集中于本页,不另建重复的 PRD、User Stories 或状态机文档。
|
|
|
|
## 相关功能
|
|
|
|
- [会话媒体生成设计](../conversation-media-generation/README.md):规划普通 LLM 通过工具调用图片、视频模型及模型切换行为,尚未实现。
|
|
- [模型连接](../model-connections/README.md):地址、模型 ID、凭据与请求定制。
|
|
- [直连文本 Agent](../direct-model-agent/README.md):文本模型的工具和上下文压缩,
|
|
不等于图片模型支持 Responses 图片工具。
|
|
- [远程主机](../remote-host/README.md):托管 SSH 当前使用 OpenCode,不运行本直连图片路径。
|