Repository navigation
feat(sidebar): group workers for registered collaboration plugins - #2647
Merged
Merged
Conversation
Keep ordinary sessions flat unless a loaded, in-scope plugin opts in. Use bounded host creation links, not titles or plugin-provided trees, so folding a group never removes access to a worker that needs attention. Refs #2645
Record the opt-in and fallback trade-offs in the standard ADR sections so the decision is discoverable in the published documentation.
Deploying pi-desktop with
|
| Latest commit: |
ac721b0
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d69c3666.pi-desktop.pages.dev |
| Branch Preview URL: | https://feat-2645-plugin-gated-colla.pi-desktop.pages.dev |
This was referenced Nov 29, 2026
…d-collaboration-sidebar
Tioit-Wang
added a commit
that referenced
this pull request
Nov 29, 2026
…2648) * feat(chat): add native session context and data-only plugin groups Keep branch history, recorded changes, and Task delegations available without extensions. A single pane-width-aware card links to each native destination without forcing a narrow conversation into another column. Plugins can add bounded text groups through their own process. Bind reads and navigation to the selected session and load generation so switching sessions or unloading a plugin cannot replay stale actions. Refs #2646 * feat(sidebar): group workers for registered collaboration plugins (#2647) * feat(sidebar): group workers only for registered collaboration plugins Keep ordinary sessions flat unless a loaded, in-scope plugin opts in. Use bounded host creation links, not titles or plugin-provided trees, so folding a group never removes access to a worker that needs attention. Refs #2645 * docs(sidebar): index the worker hierarchy decision Record the opt-in and fallback trade-offs in the standard ADR sections so the decision is discoverable in the published documentation.
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.
Summary / 概要
1/3 · 桌面宿主:可注册的侧栏协作层级。 原来 durable worker 和主会话平铺,只有 hover 能查创建者。新增数据型
contributes.sessionCollaborationSidebar: true。插件未注册、初始化中、失效、停用或项目不在启用范围时,列表保持平铺;宿主不向插件传输关系数据。在当前页内,父子双方的有界创建记录匹配才缩进一级。展开/打开是不同按钮;折叠后仍显示失败或待授权计数,并可直接进入相应会话。父项缺失、超范围、归档、置顶和远程会话不会因推测关系而消失。没有改变
SessionSummary或协作工具的权限。Requirement link / 需求关联
Verification
44b06ef0c468,候选58c42fc9f124,pnpm check:pr-base通过。test:e2e(23 passed,2 个需真实模型的场景未运行)、test:e2e:collaboration、test:e2e:boot、sidebar-collaboration-user-path.test.mjs通过。Follow-up
2/3 为消息区原生卡片及受限插件数据分组:Desktop #2648。3/3 由官方插件 PR #4注册侧栏及卡片。此 PR 单独合并不会为未声明的插件开启层级。
文档补充提交
0693fe4d4dfe仅调整 ADR 结构与索引。pnpm docs:check、pnpm docs:build及此 head 的 7 项 GitHub 检查均通过。