[SuperAgent] 别的机器人点的 reaction 也被丢掉了

Open Beginner friendly
#7,732 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
javascript, python

Research direction

Start by reading lark-message-events.mjs and find the actor.type === 'app' filter. Trace how the daemon identifies its own app ID and how it processes reactions for the latest bot message in a chat or thread. Done means the daemon ignores its own app's reactions but handles other apps' reactions under the stated latest-message rule.

Written by the indexing model from the issue text.

Description

现在 daemon 会丢掉所有 app 点的 reaction(lark-message-events.mjs 里 actor.type === 'app' 直接 ignore),本意只是过滤自己的,结果别的机器人点的也一起丢了。

有的机器人会用 reaction 来 ack,比如收到任务点个 OK,这种以后应该能唤醒 agent。改法:只过滤自己的 app id,其他 app 的 reaction 按普通 reaction 处理(仍然只认 bot 在该 chat/thread 里最新那条消息)。

0.5.3-preview 实测:斯斯对我最新消息点的 OK 被记成 RULE_IGNORED。不急,先记下。

Dominant language
Python
Stars
42.6k
Forks
3.6k
Avg merge
15h 44m
Merged PRs (30d)
558

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from volcengine/OpenViking

All issues in volcengine/OpenViking

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.