feat: docs: add Lark / Feishu adapter#517
Conversation
|
@mazhe-nerd is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks @mazhe-nerd! Can you send us a link to the blog post about the adapter? |
|
Thanks @bensabic ! The adapter is currently documented at https://github.com/larksuite/node-sdk/tree/main/docs/vercel-chat-adapter under the official Lark org. Happy to add a more formal announcement (blog post / changelog / social) if that's what you're looking for — let me know which channel works best. |
Thanks for the quick response! If you can publish it on the blog, that'd be great |
|
@bensabic The integration guide is now live on the Lark Open Platform docs:
It walks through how to integrate Feishu using Vercel Chat SDK — install, quickstart, app onboarding via Thanks for taking the time to review this PR and for the clear feedback along the way! |
Summary
Adds
@larksuite/vercel-chat-adapter, the Lark / Feishu adapter for Chat SDK, as a vendor-official community adapter.@larksuite/vercel-chat-adapter— published on npm under the officiallarksuitescope@larksuiteoapi/node-sdk'sLarkChannel, the official Lark Node SDKadapters.jsonlives inlarksuite/node-sdk(the official Lark vendor-owned GitHub org, pinned at commitcbc4adf1); the in-tree MDX in this PR is the rendered detail page (mdxBody: true)normalize()), DM detection, mention handling, and scan-to-create app onboarding throughregisterLarkAppChanges
apps/docs/adapters.jsoncommunity: true,vendorOfficial: true)apps/docs/content/adapters/vendor-official/lark.mdxapps/docs/content/adapters/vendor-official/meta.json"lark"to the sidebarpagesarraypackages/integration-tests/src/docs-adapters.test.ts"lark"to the hardcoded vendor-official slug list asserted byVendor-Official adapter MDX › contains exactly the expected adaptersNo icon registered in
adapters.json/iconMap/adapterLogos— matches the existing pattern for vendor-official adapters (Beeper, Resend, Liveblocks, Zernio, Photon).Vendor Official tier
Per
docs/contributing/building.mdx(Qualifications for vendor official tier):larksuite/node-sdk, the official Lark orgA note on source visibility
The adapter source is not currently open-sourced due to internal release-process requirements. What is public:
larksuite/node-sdk(official Lark org)@larksuiteoapi/node-sdkon which it is built — this is fully open-sourceTest plan
pnpm --filter docs build— docs app builds cleanly;/en/adapters/vendor-official/larkand/en/adapters/vendor-official/lark/ogroutes are generatedpnpm typecheck— passes (33 tasks)pnpm check(Ultracite / Biome) — 438 files, no fixespnpm --filter @chat-adapter/integration-tests test docs-adapters— 232 tests pass (frontmatter, vendor-official roster, adapters.json ↔ MDX sync)/adapterslists the Lark / Feishu card in the Vendor Official section;/adapters/vendor-official/larkrenders the MDX detail page with the FeatureSupport matrix