feat(bridge): add file-based event bridge for Plugin→MCP communication#941
Merged
JeremyDev87 merged 1 commit intomasterfrom Mar 25, 2026
Merged
feat(bridge): add file-based event bridge for Plugin→MCP communication#941JeremyDev87 merged 1 commit intomasterfrom
JeremyDev87 merged 1 commit intomasterfrom
Conversation
- Python EventBridge: JSON-lines emitter with 0o600 permissions - TypeScript EventBridgeReader: incremental polling with byte offset tracking - 5 event types: tool_call, session_start, session_end, pattern_detected, rule_suggested - Auto-create ~/.codingbuddy/events/ directory - Session cleanup on demand - 11 Python tests + 10 TypeScript tests Closes #933
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Summary
EventBridgeclass for emitting JSON-lines events from Plugin hooksEventBridgeReaderclass for incremental polling of new eventstool_call,session_start,session_end,pattern_detected,rule_suggested~/.codingbuddy/events/<session_id>.jsonl0o600permissionsTest plan
Closes #933