feat(agent): 左栏会话右键「进入分屏」,在右侧工作区并排打开会话 Tab - #1972
Open
wafo210715 wants to merge 2 commits into
Open
Conversation
- 采用 JSON Canvas 开源格式(github.com/obsidianmd/jsoncanvas),与 Obsidian Canvas 互通 - CanvasView 自由画布:双击建节点、锚点拖连线、框选、成组、撤销重做、自动整理、缩放平移 - 通过右侧工作区加号菜单「打开画布」进入;作为普通可关闭 Tab,天然支持并排分屏 - 画布内容按会话持久化(session-canvas.canvas),组件内防抖自动保存 + 卸载/beforeunload 同步兜底 - 支持选中簇导出为独立 .canvas + .md 文件到 ~/.proma/canvas-exports/ Made-with: Proma
- 新增 session:<id> 右侧工作区 Tab 类型与 agentSideSessionMapAtom(按主会话维护并排列表) - 右键任意已有会话「进入分屏」:目标会话以 Chrome 式 Tab 在当前会话的右侧工作区并排展示 - Tab 内容渲染完整 AgentView(对话与输入可用),与探索分支/委派 Tab 同构,支持并排分屏 - 激活并排 Tab 时同步「停止生成」目标;目标会话被删除后自动清理悬空 Tab Made-with: Proma
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.
功能
左侧栏右键任意已有会话 →「进入分屏」,目标会话以 Chrome 式 Tab 在当前会话的右侧工作区并排打开:
AgentView(对话与输入可用),与探索分支/委派 Tab 同构,支持既有并排分屏agentSideSessionMapAtom):切换会话再切回,并排列表保留实现要点
session:<id>右侧工作区 Tab 类型 +agentSideSessionMapAtom(Map<主会话, 并排会话[]>,运行期内存态)SideAgentSessionContent过渡动画容器截图
新 proma 的探索 fork 功能感觉很好用 - 自己偶尔用着用着开始双线并行了!so i thought why not.
测试
tsc --noEmit通过;bun test基线一致;vite build通过Made with Proma · GitHub