feat(webui): add temporary side conversations - #5364
Conversation
|
我们不是已经有临时聊天了嘛,而且输命令才能打开侧边聊天的ux可能不是特别明确诶 |
可能您指的临时聊天是指从某条消息处进行fork,我认为fork更适合作为一个项目不同方向或者可能性的探讨,因为在codex中fork和 |
|
另外我注意到 #5322 的窗格会话目前想要"关闭"或者“移出”的交互逻辑统一在左侧的会话栏,需要点击“...”然后再选择操作,是否有计划在各个窗格右上角增加一个导航栏来进行关闭或者移出等一系列操作进而简化交互 |
这个可以有, 不过ui、ux怎么设计我得想想 |
|
是的, 我懂了, 你想要那种 /btw式的东西是吧? |
对的,在cc中是 |
|
那我不建议用slash command的方式去做入口,slash command可能比较适合tui, webui应该有更好的ui设计, 而且你不觉得两个大输入框有点点奇怪嘛🤔 |
确实,我主要是参考了codex的ui和交互设计,如果只需要一个输入框类似 #5322 通过焦点切换的方式也可行,UI设计方面我觉得可以在这两个方向做添加?或者您有什么更好的想法 |
|
感觉确实这个功能确实会在某些场景下有用,具体设计我暂时也没有太好的想法,不过没关系,可以先放着,我把 #5358 搞定后, 尝试来改改这个功能, 到时候我们可以讨论一下相关的问题 |
|
OK🙂 |



Summary
/sideto open a temporary conversation beside the current WebUI topic.Design
This builds on the existing tabbed
PaneWorkbenchintroduced in #5322. The source topic remains in the left pane, while the right pane hosts a tabbed set of temporary side conversations. Side-pane layout state stays transient and does not modify the persisted workbench layout.The backend creates an independently owned transient session for each side conversation by copying the source session context. The implementation keeps the agent core small: no changes are made to the main
AgentLoopturn loop.Preview
Validation
vitest run src/tests/app-layout.test.tsx src/tests/pane-workbench.test.tsx(73 tests passed)tsc -p tsconfig.build.jsonvite build