Skip to content

feat(core): catalog plugin resource events - #1184

Draft
dcramer wants to merge 1 commit into
mainfrom
codex/resource-event-catalog
Draft

feat(core): catalog plugin resource events#1184
dcramer wants to merge 1 commit into
mainfrom
codex/resource-event-catalog

Conversation

@dcramer

@dcramer dcramer commented Aug 2, 2026

Copy link
Copy Markdown
Member

Plugins can now declare structured resource types with supported and suggested events. Core derives each plugin's namespace, validates published and selected events against the active runtime catalog, and exposes searchResourceEventTypes so the agent can discover the event capabilities that are actually enabled.

Temporary resource watches now use the same namespace + resource type + identifier + event type contract. watchResourceEvents validates selections against the catalog, reports its expiry, and supports exact cancellation by watch ID. GitHub and Vercel publishers are migrated to the contract; GitHub additionally publishes exact-issue and repository-wide issue events.

This is a hard cutover from provider / resourceRef. Existing short-lived Redis watch records remain under the old prefix and expire naturally rather than being migrated. This PR does not add durable event-task persistence or execution; that work will build on this catalog in a separate PR.

Refs #1174

@vercel

vercel Bot commented Aug 2, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
junior-docs Ready Ready Preview Aug 2, 2026 2:52am

Request Review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 568f4c8. Configure here.

Comment thread packages/junior-github/src/plugin.ts
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