[Feature Request]: Add `chat.bsky.convo` reply and group conversation support
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 43/100
Hướng nghiên cứu
Start with Sources/ATProtoKit/Models/Lexicons/chat.bsky/Convo/ChatBskyConvoDefs.swift and the wrappers under Sources/ATProtoKit/APIReference/ChatBskyAPI/; compare their existing acceptConvo and muteConvo patterns with the referenced chat.bsky.convo lexicons. Add the listed reply and group types and fields, then expose the four requested endpoints with api.bsky.chat routing. Done when replies, group metadata, and all four operations are available through ATProtoBlueskyChat.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
chat.bsky.convo upstream has been extended with two cross-cutting additions that are not yet reflected in the typed models or wrappers: message-level reply (replyTo on both input and view) and group conversations (convoView.kind union with #groupConvo, plus four new XRPC endpoints). Currently the SDK exposes neither, so the entire reply / group surface is unreachable through ATProtoBlueskyChat.
Pain points
The reply / group definitions are absent from the typed models and wrappers, so the whole surface is unreachable through ATProtoBlueskyChat: typed quote-reply on sendMessage is impossible, an incoming reply's parent is silently dropped on decode (no field-level .unknown fallback), a group is indistinguishable from a 1:1 DM with its metadata unreachable, and the group / lock endpoints require raw XRPC that re-implements the api.bsky.chat host routing / auth ATProtoBlueskyChat already provides. See Additional Context for the specific undefined types, fields, and wrappers.
Considered Alternatives
Raw XRPC for the entire chat surface (loses typed pipeline and the isRelatedToBskyChat host routing) — only viable per-client and brittle.
Is this a breaking change?
No
Library Examples
N/A
Additional Context
Missing types
| Lexicon | Suggested type |
|---|---|
chat.bsky.convo.defs#replyRef |
ReplyReferenceDefinition — messageID: String (messageId) |
chat.bsky.convo.defs#messageBeforeUserJoinedGroupView |
MessageBeforeUserJoinedGroupViewDefinition — per lexicon |
chat.bsky.convo.defs#groupConvo |
GroupConvoDefinition — name: String?, createdAt: Date, lockStatus: String, lockStatusModerationOverride: String?, memberCount: Int, memberLimit: Int, joinLink: String?, joinRequestCount: Int, unreadJoinRequestCount: Int |
Missing fields on existing types
| Lexicon | Suggested field |
|---|---|
chat.bsky.convo.defs#messageInput |
replyTo: ReplyReferenceDefinition? |
chat.bsky.convo.defs#messageView |
replyTo: ReplyToUnion? (messageView | deletedMessageView | messageBeforeUserJoinedGroupView) |
chat.bsky.convo.defs#convoView |
kind: KindUnion? (groupConvo) |
Missing wrappers
| Lexicon | Suggested method |
|---|---|
chat.bsky.convo.getConvoMembers |
getConversationMembers(from:limit:cursor:) |
chat.bsky.convo.listConvoRequests |
listConversationRequests(limit:cursor:) |
chat.bsky.convo.lockConvo |
lockConversation(by:) |
chat.bsky.convo.unlockConvo |
unlockConversation(by:) |
All four sit on api.bsky.chat, mirror the existing acceptConvo / muteConvo shape, and require isRelatedToBskyChat: true routing.
References
- Lexicon root: https://github.com/bluesky-social/atproto/tree/main/lexicons/chat/bsky/convo
defs.json: https://github.com/bluesky-social/atproto/blob/main/lexicons/chat/bsky/convo/defs.json- Affected file:
Sources/ATProtoKit/Models/Lexicons/chat.bsky/Convo/ChatBskyConvoDefs.swift - Affected wrapper namespace:
Sources/ATProtoKit/APIReference/ChatBskyAPI/
- Ngôn ngữ chính
- Swift
- Star
- 226
- Fork
- 40
- Merge trung bình
- 5 giờ 8 phút
- Pull request đã merge (30 ngày)
- 3
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 MasterJ93/ATProtoKit
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 86/100
MasterJ93/ATProtoKit#344 ·
-
enhancement
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 52/100
MasterJ93/ATProtoKit#337 · 3 bình luận ·
-
new feature
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
MasterJ93/ATProtoKit#321 · 1 bình luận ·
-
new feature
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 55/100
MasterJ93/ATProtoKit#316 · 1 bình luận ·
-
new feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
MasterJ93/ATProtoKit#216 · 1 bình luận ·
Tất cả issue của MasterJ93/ATProtoKit
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 67/100
Maintainer thường phản hồi trong vòng 1 ngày
-
🎉 Add WoundĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 77/100
jaywcjlove/awesome-mac#4357 ·
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 86/100
-
Bug: on hover a tab's name in Cra stops ~16 pt short of Arc's, with 24 pt of air before the ✕Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
VictorKildahl/cra#243 · 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 83/100
OneBusAway/vehicle-positions#260 ·
Maintainer thường phản hồi trong vòng 1 ngày