Skip to content
This repository was archived by the owner on Feb 27, 2026. It is now read-only.

Send greeting when user joins via invite#9

Open
saulmc wants to merge 1 commit into
stagingfrom
saul/greeting-on-invite-accept
Open

Send greeting when user joins via invite#9
saulmc wants to merge 1 commit into
stagingfrom
saul/greeting-on-invite-accept

Conversation

@saulmc
Copy link
Copy Markdown
Member

@saulmc saulmc commented Feb 10, 2026

Summary

  • After accepting an invite join request in the onInvite handler, send a greeting message to the conversation
  • This gives users an immediate welcome when they scan a QR code and join an agent's conversation (the "Launch Agent" flow)
  • Matches the existing behavior of the "Join and Launch" flow which already sends a greeting

Test plan

  • Launch an agent via pool manager "Launch Agent"
  • Scan the QR code to join
  • Verify the greeting message appears in the conversation

🤖 Generated with Claude Code

@macroscopeapp
Copy link
Copy Markdown

macroscopeapp Bot commented Feb 10, 2026

Send a greeting through the reply pipeline when a user joins via invite in /convos/join and convosPlugin.startAccount

Adds channel.triggerGreeting to route a synthetic InboundMessage through handleInboundMessage, calls it after successful joins in /convos/join, and triggers it once per conversation on the first auto-accepted invite in convosPlugin.startAccount. Minor ID parsing is reformatted.

📍Where to Start

Start with convosPlugin.startAccount and the new triggerGreeting in channel.ts, then review the /convos/join handler in index.ts.


Macroscope summarized 24b9397.

@saulmc saulmc force-pushed the saul/greeting-on-invite-accept branch from e037b3a to 3e1709f Compare February 10, 2026 07:50
Comment thread extensions/convos/src/channel.ts Outdated
@saulmc saulmc force-pushed the saul/greeting-on-invite-accept branch 2 times, most recently from fca4fb4 to 21a9929 Compare February 10, 2026 07:59
After accepting a join request (onInvite) or joining a conversation
(/convos/join), trigger the normal reply pipeline with a system context
message so the agent generates a contextual introduction based on its
instructions. No new endpoints needed — greetings fire automatically
from the existing invite-accept and join handlers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@saulmc saulmc force-pushed the saul/greeting-on-invite-accept branch from 21a9929 to 24b9397 Compare February 10, 2026 08:05
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant