Skip to content

feat: Feishu bridge for human-operator group chat#7

Open
study8677 wants to merge 1 commit into
stelee410:mainfrom
study8677:feat/feishu-human-operator-bridge
Open

feat: Feishu bridge for human-operator group chat#7
study8677 wants to merge 1 commit into
stelee410:mainfrom
study8677:feat/feishu-human-operator-bridge

Conversation

@study8677

Copy link
Copy Markdown
Contributor

Summary

  • Add a standalone feishu-bridge process that turns a Feishu group into a second screen for human-operator, sharing the same broker inbox as the Web console.
  • Inbound: only messages that @ the bot in the configured group are forwarded to a fixed PM agent address.
  • Outbound: unread PM replies to human-operator are polled and pushed back to the Feishu group.
  • Broker core is unchanged; bridge authenticates via operator session and uses existing /admin/* routes.

Test plan

  • uv run pytest tests/test_feishu_bridge.py -v (11 passed)
  • Configure .env from .env.feishu.example and run uv run agent-mailer-server feishu-bridge
  • Verify Feishu event subscription URL challenge at /feishu/webhook
  • @bot in target group → PM receives message; PM reply → appears in group

Made with Cursor

Introduce a standalone feishu-bridge process so a Feishu group can act as a
second screen for human-operator, forwarding @bot messages to a fixed PM agent
and pushing PM replies back to the group while sharing the same broker inbox.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant