feat(connector): generalize phone desks and add Feishu - #1143
Merged
Conversation
Share one desk execution specimen keyed by connector id so Telegram and Feishu each own an Issue. Add a Feishu long-connection adapter for owner chat and Inbox push.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
|
Maintainer audit complete. I pushed
Verification on the final head:
The remaining gap is intentionally manual: live Feishu/Lark DM delivery requires an opt-in test account. No blocking review findings remain. |
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
Phone desks are now a shared execution specimen, not a Telegram-only Issue. Each
desk-capable connector owns its own work item (Telegram staystelegram-phone-desk; Feishu getsfeishu-phone-desk). Connector transport stays generic; each adapter still implements its own consumption.This also adds a Feishu/Lark connector using the official long-connection SDK so a local OpenAlice install does not need a public request URL.
Product
connectorId. A generating Telegram desk does not block Feishu flush.desk.Feishu
WSClient). Store apps and group custom-bot webhooks are out of scope.domain(feishuvslark)./linkas private-chat plain text learnsopen_id+chat_id./inbox,/settings, and/utastay placeholders (same as Discord/Slack today).Persistence
Shipped
telegramConnector: truedual-reads asconnectorDesk: telegram. Migration0041_connector_desk_flagrewrites the flag in workspace Issue files. The reserved filenametelegram-phone-deskis unchanged.Verification
npx tsc --noEmitpnpm -F @traderalice/connector-service typecheckcd ui && npx tsc -bLive Feishu DM delivery is still a manual opt-in lane. Card-based
/inboxand/utaare deferred.Residual risk
review:deep: persisted Issue frontmatter, sealed connector credentials, and a new outbound IM path. No UTA writes from Feishu yet.