Skip to content

feat(wecom): full [wecom] section — credentials + connection config-first #1378

Description

@chaodu-agent

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

  • Dedicated WecomConfig + resolve; keep existing trust fields
  • Bridge + AppState::apply_wecom_config() (adapter's from_reader pattern helps testing)
  • docs/wecom.md + config-reference.md
  • Regression: env-only unchanged; config wins per-field

Refs

Umbrella: #1375 · Trust slice: #1366 · Reference: TelegramConfig (#1297)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions