Skip to content

feat(feishu): persist inbound sender display names - #227

Merged
nettee merged 2 commits into
mainfrom
cursor/feishu-inbound-sender-names-1e9e
Nov 12, 2026
Merged

nettee merged 2 commits into
mainfrom
cursor/feishu-inbound-sender-names-1e9e

Conversation

@nettee

@nettee nettee commented Nov 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • Feishu im.message.receive_v1 has no display name; Beacon previously stored only senderId.
  • On inbound accept, resolve sender_name via im.v1.message.get?with_sender_name=true (im scope only — no contact API).
  • Persist on ingress.senderName + input.currentMessage.senderName, append state/inbound-senders.jsonl, and include optional sender_id/sender_name in Feishu Run prompts.
  • Applies to all Profiles (including amr-release). Package 0.8.18.

Test plan

  • tsx --test intake / trigger-input / profile-runner (+ message-pipeline / trigger-store)
  • Live carol smoke: amr-release message.get?with_sender_name=true → hello user 张弛, William 刘毅
  • After merge: idle-first upgrade carol; send a short inbound to amr-release and confirm senderName + ledger line

Deploy

Do not deploy from this PR alone until merge; then idle-first KeepAlive on carol per Beacon preferences.

liuyi added 2 commits November 12, 2026 17:10
Resolve sender_name via im.message.get with_sender_name on accept,
store it on ingress/currentMessage, append a per-profile JSONL usage
ledger, and surface sender_id/name in Feishu Run prompts. No contact
API scope required. Bumps package to 0.8.18.
Break the dynamic import so pnpm check passes on CI.
@nettee
nettee merged commit 557491f into main Nov 12, 2026
3 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.

1 participant