feat: add edit_message + streaming support to Zulip adapter #33

Merged
abiba-bot merged 2 commits from feat/zulip-streaming into main 2026-07-13 06:49:56 +00:00
Owner

Progressive message editing during agent generation on Zulip.

Implements edit_message() via PATCH /api/v1/messages/{id}.
Adds _api_patch() helper.

Deployed and tested on Tanko (CT 112) and Mumuni (CT 114).

Progressive message editing during agent generation on Zulip. Implements `edit_message()` via `PATCH /api/v1/messages/{id}`. Adds `_api_patch()` helper. Deployed and tested on Tanko (CT 112) and Mumuni (CT 114).
abiba-bot force-pushed feat/zulip-streaming from 55ca15d846 to c9a1717e12 2026-07-13 00:35:27 +00:00 Compare
abiba-bot added 2 commits 2026-07-13 06:49:52 +00:00
Implements edit_message() using Zulip's PATCH /api/v1/messages/{id} API.
Enables the Hermes GatewayStreamConsumer to progressively update Zulip
messages during agent generation, giving users real-time visibility into
agent thinking via progressive edits.

Adds _api_patch() helper for PATCH HTTP method.
Zulip delivers message content as HTML (<p>/approve</p>).
The gateway slash command parser expects plain text, so HTML
tags prevent command matching. This helper strips HTML tags
and decodes common entities (&amp;, &lt;, etc.).

Per contract: zulip-approval-fix.prose.md

Applied to: Mumuni (CT114), Tanko (CT112), Koby (CT111)
abiba-bot force-pushed feat/zulip-streaming from c9a1717e12 to 5d9e36f657 2026-07-13 06:49:52 +00:00 Compare
abiba-bot merged commit 441255a07c into main 2026-07-13 06:49:56 +00:00
abiba-bot deleted branch feat/zulip-streaming 2026-07-13 06:49:57 +00:00
Sign in to join this conversation.