feat(gateway): add Feishu / Lark platform setup to interactive setup wizard - #7918
Closed
bugmaker2 wants to merge 2 commits into
Closed
feat(gateway): add Feishu / Lark platform setup to interactive setup wizard#7918bugmaker2 wants to merge 2 commits into
bugmaker2 wants to merge 2 commits into
Conversation
Add Feishu/Lark to the gateway platform list with standard platform setup flow, including auto-setup detection and config summary display. Made-with: Cursor
teknium1
added a commit
that referenced
this pull request
Apr 11, 2026
Wire Signal, Email, SMS (Twilio), DingTalk, Feishu/Lark, and WeCom into the hermes setup gateway interactive wizard. These platforms all had working adapters and _PLATFORMS entries in gateway.py but were invisible in the setup checklist — users had to manually edit .env to configure them. Changes: - gateway.py: Add _setup_email/sms/dingtalk/feishu/wecom functions delegating to _setup_standard_platform (Signal already had a custom one) - setup.py: Add wrapper functions for all 6 new platforms - setup.py: Add all 6 to _GATEWAY_PLATFORMS checklist registry - setup.py: Add missing env vars to any_messaging check - setup.py: Add all missing platforms to _get_section_config_summary (was also missing Matrix, Mattermost, Weixin, Webhooks) - docs: Add FEISHU_ALLOWED_USERS and WECOM_ALLOWED_USERS examples Incorporates and extends the work from PR #7918 by bugmaker2.
Contributor
|
Merged via PR #7949, which incorporates your Feishu setup wizard addition and extends it to all 6 missing platforms (Signal, Email, SMS, DingTalk, Feishu/Lark, WeCom). Your implementation pattern of delegating to |
teknium1
added a commit
that referenced
this pull request
Apr 11, 2026
…7949) Wire Signal, Email, SMS (Twilio), DingTalk, Feishu/Lark, and WeCom into the hermes setup gateway interactive wizard. These platforms all had working adapters and _PLATFORMS entries in gateway.py but were invisible in the setup checklist — users had to manually edit .env to configure them. Changes: - gateway.py: Add _setup_email/sms/dingtalk/feishu/wecom functions delegating to _setup_standard_platform (Signal already had a custom one) - setup.py: Add wrapper functions for all 6 new platforms - setup.py: Add all 6 to _GATEWAY_PLATFORMS checklist registry - setup.py: Add missing env vars to any_messaging check - setup.py: Add all missing platforms to _get_section_config_summary (was also missing Matrix, Mattermost, Weixin, Webhooks) - docs: Add FEISHU_ALLOWED_USERS and WECOM_ALLOWED_USERS examples Incorporates and extends the work from PR #7918 by bugmaker2.
Tommyeds
pushed a commit
to Tommyeds/hermes-agent
that referenced
this pull request
Apr 12, 2026
…ousResearch#7949) Wire Signal, Email, SMS (Twilio), DingTalk, Feishu/Lark, and WeCom into the hermes setup gateway interactive wizard. These platforms all had working adapters and _PLATFORMS entries in gateway.py but were invisible in the setup checklist — users had to manually edit .env to configure them. Changes: - gateway.py: Add _setup_email/sms/dingtalk/feishu/wecom functions delegating to _setup_standard_platform (Signal already had a custom one) - setup.py: Add wrapper functions for all 6 new platforms - setup.py: Add all 6 to _GATEWAY_PLATFORMS checklist registry - setup.py: Add missing env vars to any_messaging check - setup.py: Add all missing platforms to _get_section_config_summary (was also missing Matrix, Mattermost, Weixin, Webhooks) - docs: Add FEISHU_ALLOWED_USERS and WECOM_ALLOWED_USERS examples Incorporates and extends the work from PR NousResearch#7918 by bugmaker2.
angelburgosrosado
pushed a commit
to angelburgosrosado/hermes-agent
that referenced
this pull request
Apr 28, 2026
Wire Signal, Email, SMS (Twilio), DingTalk, Feishu/Lark, and WeCom into the hermes setup gateway interactive wizard. These platforms all had working adapters and _PLATFORMS entries in gateway.py but were invisible in the setup checklist — users had to manually edit .env to configure them. Changes: - gateway.py: Add _setup_email/sms/dingtalk/feishu/wecom functions delegating to _setup_standard_platform (Signal already had a custom one) - setup.py: Add wrapper functions for all 6 new platforms - setup.py: Add all 6 to _GATEWAY_PLATFORMS checklist registry - setup.py: Add missing env vars to any_messaging check - setup.py: Add all missing platforms to _get_section_config_summary (was also missing Matrix, Mattermost, Weixin, Webhooks) - docs: Add FEISHU_ALLOWED_USERS and WECOM_ALLOWED_USERS examples Incorporates and extends the work from PR NousResearch#7918 by bugmaker2.
aj-nt
pushed a commit
to aj-nt/hermes-agent
that referenced
this pull request
May 1, 2026
…ousResearch#7949) Wire Signal, Email, SMS (Twilio), DingTalk, Feishu/Lark, and WeCom into the hermes setup gateway interactive wizard. These platforms all had working adapters and _PLATFORMS entries in gateway.py but were invisible in the setup checklist — users had to manually edit .env to configure them. Changes: - gateway.py: Add _setup_email/sms/dingtalk/feishu/wecom functions delegating to _setup_standard_platform (Signal already had a custom one) - setup.py: Add wrapper functions for all 6 new platforms - setup.py: Add all 6 to _GATEWAY_PLATFORMS checklist registry - setup.py: Add missing env vars to any_messaging check - setup.py: Add all missing platforms to _get_section_config_summary (was also missing Matrix, Mattermost, Weixin, Webhooks) - docs: Add FEISHU_ALLOWED_USERS and WECOM_ALLOWED_USERS examples Incorporates and extends the work from PR NousResearch#7918 by bugmaker2.
02356abc
pushed a commit
to 02356abc/hermes-agent
that referenced
this pull request
May 14, 2026
…ousResearch#7949) Wire Signal, Email, SMS (Twilio), DingTalk, Feishu/Lark, and WeCom into the hermes setup gateway interactive wizard. These platforms all had working adapters and _PLATFORMS entries in gateway.py but were invisible in the setup checklist — users had to manually edit .env to configure them. Changes: - gateway.py: Add _setup_email/sms/dingtalk/feishu/wecom functions delegating to _setup_standard_platform (Signal already had a custom one) - setup.py: Add wrapper functions for all 6 new platforms - setup.py: Add all 6 to _GATEWAY_PLATFORMS checklist registry - setup.py: Add missing env vars to any_messaging check - setup.py: Add all missing platforms to _get_section_config_summary (was also missing Matrix, Mattermost, Weixin, Webhooks) - docs: Add FEISHU_ALLOWED_USERS and WECOM_ALLOWED_USERS examples Incorporates and extends the work from PR NousResearch#7918 by bugmaker2.
gweeteve
pushed a commit
to gweeteve/hermes-agent
that referenced
this pull request
Jun 2, 2026
…ousResearch#7949) Wire Signal, Email, SMS (Twilio), DingTalk, Feishu/Lark, and WeCom into the hermes setup gateway interactive wizard. These platforms all had working adapters and _PLATFORMS entries in gateway.py but were invisible in the setup checklist — users had to manually edit .env to configure them. Changes: - gateway.py: Add _setup_email/sms/dingtalk/feishu/wecom functions delegating to _setup_standard_platform (Signal already had a custom one) - setup.py: Add wrapper functions for all 6 new platforms - setup.py: Add all 6 to _GATEWAY_PLATFORMS checklist registry - setup.py: Add missing env vars to any_messaging check - setup.py: Add all missing platforms to _get_section_config_summary (was also missing Matrix, Mattermost, Weixin, Webhooks) - docs: Add FEISHU_ALLOWED_USERS and WECOM_ALLOWED_USERS examples Incorporates and extends the work from PR NousResearch#7918 by bugmaker2.
waefrebeorn
pushed a commit
to waefrebeorn/slermes
that referenced
this pull request
Jul 2, 2026
…ousResearch#7949) Wire Signal, Email, SMS (Twilio), DingTalk, Feishu/Lark, and WeCom into the hermes setup gateway interactive wizard. These platforms all had working adapters and _PLATFORMS entries in gateway.py but were invisible in the setup checklist — users had to manually edit .env to configure them. Changes: - gateway.py: Add _setup_email/sms/dingtalk/feishu/wecom functions delegating to _setup_standard_platform (Signal already had a custom one) - setup.py: Add wrapper functions for all 6 new platforms - setup.py: Add all 6 to _GATEWAY_PLATFORMS checklist registry - setup.py: Add missing env vars to any_messaging check - setup.py: Add all missing platforms to _get_section_config_summary (was also missing Matrix, Mattermost, Weixin, Webhooks) - docs: Add FEISHU_ALLOWED_USERS and WECOM_ALLOWED_USERS examples Incorporates and extends the work from PR NousResearch#7918 by bugmaker2.
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.
What does this PR do?
Adds the Feishu / Lark messaging platform to the
hermes setup gatewayinteractive setup wizard. Previously, Feishu/Lark was fully implemented as a platform adapter (gateway/platforms/feishu.py) with complete runtime support — but had no entry in the interactive setup flow. It was invisible in the checklist UI, and users had no guided way to configure it without manually editing~/.hermes/.env.This change adds Feishu/Lark to the platform registry in
setup.py, wires it through to the existing Feishu platform definition ingateway.py's_PLATFORMS(which already hadsetup_instructions,vars,token_var, etc.), and updates theany_messaging/ section-summary helpers to recognize Feishu as a configured platform.Type of Change
Changes Made
hermes_cli/gateway.py: Added_setup_feishu()function — looks up the existing Feishu platform entry from_PLATFORMSand delegates to_setup_standard_platform()for the guided setup flowhermes_cli/setup.py:_setup_feishu()wrapper that delegates togateway._setup_feishu("Feishu / Lark", "FEISHU_APP_ID", _setup_feishu)to_GATEWAY_PLATFORMS— the checklist registry poweringhermes setup gatewayget_env_value("FEISHU_APP_ID")toany_messagingcheck (controls the "Messaging platforms configured!" banner)FEISHU_APP_IDcheck in_get_section_config_summaryfor the gateway section (controls whether the setup wizard skips or runs the gateway section)website/docs/user-guide/messaging/index.md: AddedFEISHU_ALLOWED_USERSto the security allowlist examplesHow to Test
~/.hermes/.envcontains the savedFEISHU_APP_ID,FEISHU_APP_SECRET, etc.hermes setupagain — the gateway section should show "Feishu" as already configured and offer to skip it.Checklist
Code
feat(gateway):, etc.)Documentation & Housekeeping
website/docs/user-guide/messaging/index.md) — N/A for otherscli-config.yaml.exampleif I added/changed config keys — N/ACONTRIBUTING.mdorAGENTS.mdif I changed architecture or workflows — N/AScreenshots
Before (Feishu missing from checklist):
After (Feishu / Lark visible):
Setup flow for Feishu / Lark: