Inbox: permission prompt (perm:) sessions appear as duplicate agents in the recipient picker and participants
维护者通常 1 天内回复
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
先追踪 packages/inbox/tags.ts 和 packages/shared/inbox/store.ts 中线程参与者的收集方式,然后检查 packages/server/inbox-sessions.ts 和 packages/server/inbox-mcp-read.ts 中的 MCP 路径。查看这些路径如何处理带有合成 perm: 会话 ID 的作者;完成的标准是这些路径不再将此类会话作为单独的参与者或可选收件人公开。issue 没有提到测试文件,因此请在修改之前找到相关的 Inbox 测试。
由索引模型根据 Issue 内容生成。
描述
What happened?
When a launched agent triggers a permission card in an Inbox thread, a second duplicate agent (such as Vibe 2 or Claude Code 2, marked Not woken) appears in the reply recipient picker, in thread list participants, in taggable MCP agents, and in read_thread participants.
Permission cards are authored under the synthetic session ID perm:<session_id> so Allow/Deny clicks route to the waiting permission handler without waking the main session. While iOS and agentSessions already filter out perm:* sessions, four places do not:
packages/inbox/tags.ts(threadParticipants) includesperm:*message authors, so the recipient picker adds a second row (<Agent> 2).packages/shared/inbox/store.ts(everyParticipantOf) includesperm:*inparticipantsOf, leaking into thread list rows.packages/server/inbox-sessions.ts(mcpAgents) includesperm:*messages wherewakes !== true, exposing them in/api/inbox/threads/:id/taggableand showing the duplicate row asNot woken.packages/server/inbox-mcp-read.ts(windowedThread) includesperm:*authors inread_threadparticipants, which also flipsmanyAgentsto true.
Expected: perm:* sessions stay internal to the permission card and never appear as separate thread participants or selectable reply recipients.
Draft PR: #4514
Plannotator version
0.29.18
OS
macOS
Agent
Other
Where did it happen?
Inbox
- 主要语言
- TypeScript
- 星标
- 8.7k
- 派生
- 649
- 平均合并
- 16 小时 26 分钟
- 30 天内合并 PR
- 799
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
backnotprop/plannotator 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 66/100
backnotprop/plannotator#2643 · 1 个 reaction ·
维护者通常 1 天内回复
-
Annotate documentation omits per-file version history and privacy controls可能重新可做 关联的 PR 已关闭且未合并。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
backnotprop/plannotator#1086 · 2 条评论 ·
维护者通常 1 天内回复
-
Add Mistral Vibe support to Plannotator Routines可能已有人在做 @Djiit 今天认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
backnotprop/plannotator#4515 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 35/100
backnotprop/plannotator#4511 ·
维护者通常 1 天内回复
-
Clicking a saved Markdown highlight leaves the Annotations panel closed可能已有人在做 @goodmorninggoaway 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 35/100
backnotprop/plannotator#4498 ·
维护者通常 1 天内回复
查看 backnotprop/plannotator 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
MoonshotAI/kimi-code#6000 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
OpenSlides/openslides-client#6768 ·
维护者通常 1 天内回复
-
bug
难度 1/5 1-3 小时 新手友好度 90/100
modelcontextprotocol/modelcontextprotocol#3622 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
swc-project/swc-next-issues#1240 ·