feat: add Zulip channel plugin#15887
Closed
jamie-dit wants to merge 10000 commits intoopenclaw:mainfrom
Closed
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds Zulip as a channel plugin (streams/topics) under extensions/zulip.
Key features:
Tests: channel, monitor backoff, queue plan, reactions, uploads, outbound session, plugin install sanitize
Greptile Overview
Greptile Summary
Added Zulip as a channel plugin with comprehensive stream/topic-based messaging support. The implementation introduces per-stream event queue monitoring with exponential backoff for rate limiting, topic-based session isolation (enabling separate conversations per topic), and reaction-based visual feedback (eyes/check/warning). Outbound messages use
stream:<name>#<topic>format and support topic directives to dynamically switch conversations. Plugin dependencies are now installed more reliably by temporarily sanitizingpackage.jsonto avoid npm parsing errors with workspace references. The core outbound session resolver was extended to support Zulip's stream/topic model with proper session key generation.Key implementation details:
/api/v1/eventswith defensive throttling to prevent tight loops that trigger 429s (extensions/zulip/src/zulip/monitor.ts:606-613)/user_uploads/endpoint with origin-restricted downloads (uploads.ts:51-62)[[zulip_topic: <name>]]allows agents to switch or create topics mid-conversation (monitor.ts:137-152)devDependencieswithworkspace:*to avoid parse failures (src/plugins/install.ts:296-354)Confidence Score: 4/5
Last reviewed commit: 7416eb6
(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!