chore(dingtalk): gateway infra — HOME_CHANNEL injection, guard script, misc config#17367
Open
spike2204 wants to merge 1 commit into
Open
chore(dingtalk): gateway infra — HOME_CHANNEL injection, guard script, misc config#17367spike2204 wants to merge 1 commit into
spike2204 wants to merge 1 commit into
Conversation
- Hydrate *_HOME_CHANNEL yaml keys into os.environ on gateway boot so /sethome survives process restarts (gateway/config.py) - Platform display-name overrides for /sethome prompt — DingTalk, WeCom, etc. render properly instead of naive .title() (gateway/run.py) - Fix REGISTRATION_SOURCE default (openClaw → DING_DWS_CLAW) in hermes_cli/dingtalk_auth.py - Add scripts/gateway_guard.sh — auto-restart supervisor for the gateway process with caffeinate support on macOS - Add .claude to .gitignore to #
Open
5 tasks
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
Infrastructure and configuration improvements for DingTalk gateway deployments.
Changes
gateway/config.py: inject HOME_CHANNEL from DINGTALK_HOME_CHANNEL / FEISHU_HOME_CHANNEL env vars when config.yaml doesn't define onegateway/run.py: add platform display name overrides (DingTalk, WeCom, etc.)hermes_cli/dingtalk_auth.py: change REGISTRATION_SOURCE default from "openClaw" to "DING_DWS_CLAW"scripts/gateway_guard.sh: new auto-restart supervisor script for production deployments.gitignore: add.claudeto ignore listtests/hermes_cli/test_dingtalk_auth.py: update assertion for new defaultRelated
Part of the DingTalk adapter enhancement series — see #12769 for the umbrella PR.