Summary
Extend [wecom] beyond the trust fields (#1366): graduate from the shared PlatformTrustConfig to a dedicated WecomConfig covering credentials + connection. Config-first invariant: [wecom] → WECOM_* env → default.
Fields to add
corp_id, secret, token, encoding_aes_key, agent_id, webhook_path, streaming_enabled, debounce_secs (env fallbacks: WECOM_*)
Tasks
Refs
Umbrella: #1375 · Trust slice: #1366 · Reference: TelegramConfig (#1297)
Summary
Extend
[wecom]beyond the trust fields (#1366): graduate from the sharedPlatformTrustConfigto a dedicatedWecomConfigcovering credentials + connection. Config-first invariant:[wecom]→WECOM_*env → default.Fields to add
corp_id,secret,token,encoding_aes_key,agent_id,webhook_path,streaming_enabled,debounce_secs(env fallbacks:WECOM_*)Tasks
WecomConfig+ resolve; keep existing trust fieldsAppState::apply_wecom_config()(adapter'sfrom_readerpattern helps testing)Refs
Umbrella: #1375 · Trust slice: #1366 · Reference:
TelegramConfig(#1297)