Repository navigation
Conversation
Allow trusted renderer plugins to contribute completion candidates and inline references without adding session-specific composer behavior. Resolve selected references at submission while preserving their display form across queued turns and transcript reloads. Include a bounded session Q&A example under @, with five visible reference candidates and a collapsible file group. Review renderer trust explicitly and preserve existing database rows through the schema upgrade.
Keep the newly integrated context-menu copy actions consistent with the reference chips shown in the transcript. Copying a user turn or conversation should not unexpectedly expose its expanded historical context.
The composer token helper moved and user messages now separate visible labels from model-facing content. Update the existing source checks and presentation loader to follow those paths while retaining their original regression assertions.
Preserve the composer reference contracts alongside the latest upstream ADR catalog and acceptance scenarios. Keep the shared branch history intact while incorporating current main.
Preserve reference labels while using the active edit draft for the message menu. Retain both sets of architecture and acceptance documentation.
Preserve plugin reference identity and labels together with restored file and image attachments when integrating the latest main branch. Publish pending queue rows before asynchronous reference resolution so admission controls remain locked throughout submission. Retain both sides of runtime imports, shared exports, localized messages, and storage documentation without changing extension trust boundaries.
This branch has not been deployed
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.
改动
支持受信插件向输入框注册补全候选和引用标签,并提供会话引用示例:输入
@选择历史会话,发送时展开最多 10 组已完成问答(24,000 字符内),输入框和聊天记录保留简短标签。候选最多显示 5 条,文件默认折叠,可用鼠标或键盘展开。renderer入口派生高风险ui.renderer授权;只加载获准、启用且在当前项目生效的插件,卸载时清理注册。此入口运行在应用界面中,不是沙箱。本次覆盖 #545 的补全与引用两个扩展点(7、14),提供 #446 的插件实现入口;不包含其他界面插槽或 #447 的百分比预算界面。原生 Pi 续接与远程主机暂不支持引用提交,会拒绝并恢复草稿。
当前候选验证(2026-09-23)
候选提交:
aff4fc3cb0f1ed97c69ec3d48244c528a9dc4a6a;目标 main:3d9c3498fb9fdb1bfec81158f6dbfa7dfa150b42。本次以合并方式解决 9 个文件的冲突,保留运行时双方导入、shared 导出、各语言文案及存储规范。队列恢复同时保留插件引用身份、显示标签、文件 token 和图片附件;保存中队列行先出现,再异步解析引用,兼容主线的 admission 操作保护。未新增测试或用例,未重写分支历史。
通过的检查:
pnpm test:e2e:boot:隔离启动、preload / IPC、800 会话响应性及项目删除 IPC 检查通过。环境:macOS arm64,独立 worktree、临时 profile,复用已有 Electron 43.6.0 和 Cargo 缓存。上游运行时依赖从 0.86.1 升级至 0.87.1,本地依赖不兼容,因此按锁文件更新并重新构建;验证使用此候选构建的 host-core。未调用真实模型服务,未使用生产数据,未运行
verify:ui:*。初轮类型检查读取旧构建产物,完成构建后重新执行通过。CI 以最新提交为准。本次只解决冲突并更新 PR,不合并。Vercel 授权状态独立于本地验证。