Skip to content

Improve app service bot targeting and in-room action feedback#35

Merged
ZhangHanDong merged 2 commits intoProject-Robius-China:mainfrom
tyreseluo:matrix-octos-phase1
Apr 2, 2026
Merged

Improve app service bot targeting and in-room action feedback#35
ZhangHanDong merged 2 commits intoProject-Robius-China:mainfrom
tyreseluo:matrix-octos-phase1

Conversation

@tyreseluo
Copy link
Copy Markdown

Summary

This PR improves app service messaging behavior and bot visibility in room actions.

Changes

  • Propagate target_user_id through RoomInputBar into MatrixRequest::SendMessage.
  • Add reply-aware target resolution in input flow (prefers reply sender when explicit target is absent).
  • Extend sliding sync send path to support targeted send:
    • inject org.octos.target_user_id into message content
    • ensure target bot is invited/joined before targeted send
    • handle both normal messages and replies
  • Add View Bound Bots in App Service panel:
    • show bots from local bindings
    • include resolved parent bot
    • include likely bot members discovered in current room members
  • Convert App Service action feedback from popup notifications to in-room notice messages (m.notice) to avoid triggering duplicate agent-style reply flows.

Why

  • Prevent duplicate conversational replies caused by app-service status messages being treated as normal text.
  • Make targeted routing to bot users explicit and reliable.
  • Let users see all relevant bots in a room, not only the parent binding.

- propagate target_user_id through RoomInputBar and SendMessage requests\n- route targeted messages/replies via raw payload with org.octos.target_user_id\n- ensure targeted bot is invited into room before targeted send\n- add App Service panel action to view bound bots from bindings plus room members\n- send App Service status/validation feedback as room notice messages instead of popup notifications
@tyreseluo
Copy link
Copy Markdown
Author

Changes App service action show style in room.

@tyreseluo tyreseluo self-assigned this Apr 1, 2026
@ZhangHanDong ZhangHanDong merged commit 4f0427e into Project-Robius-China:main Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants