feat: 添加微信 WeChat 通道支持#71
Open
psylch wants to merge 1 commit into
Open
Conversation
Add WeChat as a supported channel with built-in QR login. config.ts: - Add wechat config fields (token, baseUrl, accountId, allowedUsers) - Add CTI_WECHAT_* env var parsing in loadConfig() - Add bridge_wechat_* settings mapping in configToSettings() scripts/wechat-login.mjs: - Standalone QR login script for the setup wizard - Fetches QR from ilink API, displays in terminal, polls for scan - Outputs credentials as JSON to stdout (progress to stderr) - No external dependencies required SKILL.md: - Add wechat to channel list in description and Step 1 - Add wechat setup flow in Step 2 (runs built-in wechat-login.mjs, auto-parses token from script output) Depends on: op7418/Claude-to-IM (WeChat adapter PR) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
概述
为 claude-to-im skill 添加微信作为新的通道选项,配合上游库的 WeChat adapter。
改动文件
src/config.tsCTI_WECHAT_*配置字段的解析和 settings 映射config.env.exampleSKILL.mdreferences/setup-guides.mdscripts/wechat-login.mjspackage.jsonqrcode-terminal依赖(终端 QR 码渲染)用户体验流程
/claude-to-im setup→ 选择 wechat/claude-to-im start→ 完成依赖