feat(wecom): 本地机器人认证同步至云端 - #11
Merged
qdaxb merged 2 commits intoSep 10, 2026
Merged
Conversation
luckjun529-lang
marked this pull request as ready for review
September 9, 2026 11:14
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.
本地企业微信机器人认证原先无法被云端 CLI 复用。本次将官方 CLI 0.1.9 保存的 Bot ID / Secret 接入 Wegent accountAuth:本地继续扫码接入,云端通过私有通道接收凭据,原 CLI 的业务命令使用内存机器人信息和 MCP 配置。
采用密码类凭据同步,不涉及 OAuth 刷新权迁移。保留原命令树及文档 helpers,云端禁止登录和配置操作,不读取或写入本地认证缓存,不输出机器人密钥及 MCP 授权地址。
原生适配器基于固定上游源码和 Rust 1.94.1,由五个平台的 CI 构建并验证后随插件提交。自包含打包入口检查源码摘要、原生 SHA-256 和完整平台清单;发布阶段不依赖过期的 Actions artifact。CI 同时检查已提交产物和重新构建的产物。
验证:
本次不修改 Wegent。真实企业账号的扫码和云端业务验收需在配套 Backend、Executor 部署后进行,测试未读取或迁移真实账户。