feat(lark): 衔接本地登录与云端托管认证 - #10
Merged
Merged
Conversation
luckjun529-lang
marked this pull request as ready for review
September 9, 2026 10: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 使用,云端无法复用用户授权。本次为飞书用户 OAuth 和应用机器人分别接入 Wegent accountAuth:用户授权独占交接、统一刷新与撤销;本地后续调用复用托管连接,应用身份单独授权。
保留官方 CLI v1.0.68 的业务命令,通过内存凭据提供器调用,禁用托管模式下的本地 keychain、配置覆盖和额外插件。新增自包含构建入口和三个操作系统的打包验证,安装包包含五个平台的原生适配器。
验证:
事件订阅依赖本地常驻总线与应用身份,云端仅开放事件列表及结构查询;已保留本地事件子进程入口。托管正文使用参数或相对路径文件。
真实账号登录及云端运行需在配套 Wegent Backend 与 Executor 部署后验收。本次不修改 Wegent,也不迁移测试机器的真实账户。