Skip to content

ircv3: labeled-response support#407

Open
MaxLeiter wants to merge 2 commits intomax/04-10-tags-actionfrom
max/04-09-labeled-response
Open

ircv3: labeled-response support#407
MaxLeiter wants to merge 2 commits intomax/04-10-tags-actionfrom
max/04-09-labeled-response

Conversation

@MaxLeiter
Copy link
Copy Markdown
Collaborator

@MaxLeiter MaxLeiter commented Apr 10, 2026

Relies on #411

https://ircv3.net/specs/extensions/labeled-response

  • adds ACK handler for when we get a labeled response
  • tracks pending labels and emits new events based on them
  • pass the label on batch commands and messages

follow-up: async functions for messages instead of the separate event?

@MaxLeiter MaxLeiter marked this pull request as draft April 10, 2026 06:27
@MaxLeiter MaxLeiter marked this pull request as ready for review April 10, 2026 06:30
@MaxLeiter MaxLeiter requested a review from ItsOnlyBinary April 10, 2026 07:18
- Track sent labels in a per-client Map keyed by label string
- say(), notice(), action() accept { label: true } in options to attach a
  label tag and queue the response for correlation
- Emit a `labeled response` event with { label, type, command|commands }
  when the server's labeled response (single, batch, or ACK) arrives
- Auto-request labeled-response cap when echo-message is enabled
@MaxLeiter MaxLeiter force-pushed the max/04-09-labeled-response branch from 01d74a8 to 8ed1810 Compare May 2, 2026 22:38
@MaxLeiter MaxLeiter changed the base branch from master to max/04-10-tags-action May 2, 2026 22:40
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