Skip to content

feat(dingtalk): reuse authentication through native cloud adapters - #9

Merged
qdaxb merged 8 commits into
wecode-ai:mainfrom
luckjun529-lang:feature/plugin-account-auth
Sep 9, 2026
Merged

qdaxb merged 8 commits into
wecode-ai:mainfrom
luckjun529-lang:feature/plugin-account-auth

Conversation

@luckjun529-lang

@luckjun529-lang luckjun529-lang commented Sep 8, 2026

Copy link
Copy Markdown

DingTalk currently keeps authentication in the source machine’s DWS store, so commands on another device require another login. This change adds the native account-auth adapter and routes supported cloud commands through Wegent’s credential broker.

  • Package the adapter for macOS arm64/amd64, Linux arm64/amd64, and Windows amd64. Vendor the build tools inside the plugin so GitHub-to-intranet directory synchronization preserves the build inputs.
  • Use auth SDK 0.7.1, including identity resolution from the host’s recorded Codex/Claude runtime copies; publish plugin version 0.3.3.
  • Support configured HTTPS DWS binary mirrors with pinned versions and SHA-256 verification. Source/toolchain build downloads still require their configured upstream connectivity; this does not provide a domestic source mirror.
  • Preserve unrelated DWS accounts and fence exclusive authentication transfers and device revocation.

Validation: public plugin suite 24 passed / 1 platform skip; SDK suite 23 passed; DWS build companion 16 passed; vendored source/checksum checks passed. Real Backend/Electron/remote-executor E2E passed all 17 assertions using synthetic providers, including DWS migration, cloud execution and revocation. Native Windows and real DingTalk-account acceptance remain separate from these tests.

Requires Wegent wecode-ai/Wegent#3341 and internal declarative build support https://git.intra.weibo.com/weibo_rd/common/wecode/wework-plugins/-/merge_requests/51. Companion email: https://git.intra.weibo.com/weibo_rd/common/wecode/wework-plugins/-/merge_requests/50. Creating this PR does not publish a marketplace release.

@qdaxb
qdaxb merged commit 3d389cb into wecode-ai:main Sep 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants