Conversation
Is14w
marked this pull request as ready for review
September 15, 2026 12:58
Contributor
|
PR governance checks passed. Awaiting human review. |
StackCairn
marked this pull request as draft
September 15, 2026 12:58
Is14w
marked this pull request as ready for review
September 15, 2026 13:00
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.
Linked issue
Closes #814
Summary
本 PR 为 LiveAgent Desktop 增加“将单个会话弹出为独立窗口”的能力。
用户可以通过会话列表中“更多”菜单的“在新窗口中打开”操作,将一个已保存的历史会话加载到独立的原生窗口中,并继续发送消息、接收流式响应和查看历史内容。
每个 conversation ID 最多对应一个独立窗口。重复打开同一会话时,会聚焦已有窗口,而不会创建第二个可编辑视图。这样可以避免主窗口和独立窗口同时编辑同一会话时产生历史快照过期、并发发送和运行状态竞争。
独立窗口只负责会话展示和交互,不会重复注册托盘、全局快捷键、Gateway bridge、自动化任务、更新检查等应用级后台能力。主窗口继续作为这些全局职责的唯一所有者。
正在运行、取消中或正在切换的会话不会提供弹出入口。关闭独立窗口后,会话仍然可以重新从主窗口或独立窗口打开。
该功能仅影响 Desktop,Gateway WebUI 的行为保持不变。
Change scope
agent-gui / agent-ui / src-tauricrates/agent-gui/src-tauri/src/commands/app/app.rscrates/agent-gui/src-tauri/src/lib.rscrates/agent-gui/src/App.tsxcrates/agent-gui/src/lib/windowLaunchContext.tscrates/agent-gui/src/pages/ChatPage.tsxcrates/agent-gui/src/pages/chat/gateway/useGatewayBridgeListeners.tscrates/agent-gui/src/pages/chat/queue/useChatTurnQueue.tscrates/agent-ui/src/components/chat/ChatHeader.tsxcrates/agent-ui/src/components/chat/ChatHistorySidebar.tsxcrates/agent-ui/src/components/chat/ChatHistorySidebarRows.tsxcrates/agent-ui/src/i18n/translations/enUSCommon.tscrates/agent-ui/src/i18n/translations/zhCNCommon.tscrates/agent-gui/test/chat/conversation-window-context.test.mjsdocs/architecture/gui.mddocs/features/history-compaction.mdScreenshots / preview
Verification
cargo check通过,包括此前失败的rquickjs-sys依赖。Pre-submit checklist