Inbox: permission prompt (perm:) sessions appear as duplicate agents in the recipient picker and participants
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
- Lĩnh vực
- backend-api-design
Hướng nghiên cứu
Bắt đầu bằng cách theo dõi cách những người tham gia luồng hội thoại được thu thập trong packages/inbox/tags.ts và packages/shared/inbox/store.ts, sau đó kiểm tra các đường dẫn MCP trong packages/server/inbox-sessions.ts và packages/server/inbox-mcp-read.ts. Tìm hiểu cách các đường dẫn đó xử lý tác giả có ID phiên perm: tổng hợp; hoàn thành nghĩa là chúng không còn hiển thị các phiên này dưới dạng người tham gia riêng biệt hoặc người nhận có thể chọn. Issue không đề cập đến tệp kiểm thử nào, vì vậy hãy tìm các kiểm thử Inbox liên quan trước khi thay đổi.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- TypeScript
- Star
- 8.7k
- Fork
- 649
- Merge trung bình
- 16 giờ 26 phút
- Pull request đã merge (30 ngày)
- 799
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của backnotprop/plannotator
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
backnotprop/plannotator#2643 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Annotate documentation omits per-file version history and privacy controlsCó thể làm lại được Pull request cho issue này đã bị đóng mà không được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
backnotprop/plannotator#1086 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add Mistral Vibe support to Plannotator RoutinesCó thể đã có người làm @Djiit đã nhận hôm nay. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
backnotprop/plannotator#4515 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
backnotprop/plannotator#4511 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Clicking a saved Markdown highlight leaves the Annotations panel closedCó thể đã có người làm @goodmorninggoaway đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
backnotprop/plannotator#4498 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của backnotprop/plannotator
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
MoonshotAI/kimi-code#6000 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
OpenSlides/openslides-client#6768 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 90/100
modelcontextprotocol/modelcontextprotocol#3622 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
swc-project/swc-next-issues#1240 ·