Skip to content

Feat/wecom channel#74

Merged
hilr merged 2 commits into
mainfrom
feat/wecom-channel
Jul 7, 2026
Merged

Feat/wecom channel#74
hilr merged 2 commits into
mainfrom
feat/wecom-channel

Conversation

@quick-sort

Copy link
Copy Markdown
Owner

No description provided.

rui.zhou added 2 commits July 6, 2026 18:04
- WecomChannel: HTTP webhook receiver + WeCom Agent API sender
- _WecomCrypto: AES-256-CBC decrypt/verify matching WeCom Bot protocol
- _WecomAgentClient: token cache, send_text, upload/send/download media
- Handles text, image, voice, file, video inbound message types
- Config: WECOM_TOKEN, WECOM_ENCODING_AES_KEY, WECOM_CORP_ID,
  WECOM_CORP_SECRET, WECOM_AGENT_ID, WECOM_WEBHOOK_PORT
- CLI: uv run agent-box --wecom
… CLI help

- Rewrite wecom channel from HTTP callback to WebSocket long connection
  using official wecom-aibot-sdk (only needs bot_id + secret)
- Add wecom_mcp SDK MCP tool for calling WeCom MCP Server
  (contact, doc, schedule, meeting, todo, msg, smartsheet)
- Tool is conditionally registered only when --wecom channel is active
- Add --help/-h CLI option with usage documentation
- Simplify config: WECOM_BOT_ID + WECOM_SECRET replaces 6 old params
- Add wecom-aibot-sdk>=1.0.8 dependency
@hilr
hilr merged commit 9584dbb into main Jul 7, 2026
1 check passed
@hilr
hilr deleted the feat/wecom-channel branch July 7, 2026 02:49
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