Open
Conversation
Contributor
|
@m1heng is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
50b91bd to
f7d892a
Compare
Implements a full Feishu/Lark adapter (`@chat-adapter/feishu`) with:
- Webhook handling (event v2.0, URL verification, AES-256-CBC decryption)
- Message send/reply/edit/delete using Feishu Open API v1
- Rich text (post) and interactive card support (PATCH for cards, PUT for text)
- Reaction emoji mapping verified against official Feishu emoji docs
- Thread ID encoding (feishu:{chatId}:{rootId}:{dm})
- Markdown ↔ Feishu post format conversion via mdast
- Auto-refreshing tenant_access_token management
Also updates README, CLAUDE.md, example app, and configs to include Feishu.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
f7d892a to
11cbe30
Compare
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.
Closes #106
Summary
@chat-adapter/feishupackage — a full Feishu/Lark adapter for the chat SDKThumbsDown,Fire,GoGoGo)feishu:{chatId}[:{rootId}][:{dm}]tenant_access_tokenmanagement with concurrent-safe refreshpackages/chat(emoji platform support) andpackages/adapter-shared(card-utils platform type)Test plan
pnpm build— all packages build (except pre-existingexample-nextjs-chatissue)pnpm typecheck— passespnpm check— lint/format cleanpnpm knip— no unused exportspnpm --filter @chat-adapter/feishu test— 18 tests pass (thread-utils 100% coverage)🤖 Generated with Claude Code