Skip to content

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

Open
dcramer wants to merge 1 commit into
codex/fix-participation-elaboration-evalfrom
codex/resource-event-catalog
Open

feat(core): catalog plugin resource events#1184
dcramer wants to merge 1 commit into
codex/fix-participation-elaboration-evalfrom
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 5:35am

Request Review

Comment thread packages/junior-github/src/plugin.ts
@dcramer
dcramer force-pushed the codex/resource-event-catalog branch from 568f4c8 to 0d11df2 Compare August 2, 2026 02:51
@dcramer
dcramer force-pushed the codex/resource-event-catalog branch from 0d11df2 to c423920 Compare August 2, 2026 03:31
@dcramer
dcramer changed the base branch from main to codex/fix-participation-elaboration-eval August 2, 2026 03:31
@dcramer
dcramer marked this pull request as ready for review August 2, 2026 04:06
@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 2, 2026
Comment thread packages/junior/src/chat/tools/resource-events.ts Outdated
Comment thread packages/junior/src/chat/resource-events/catalog.ts

@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 a23f94b. Configure here.

Comment thread packages/junior-github/src/plugin.ts
@dcramer
dcramer changed the base branch from codex/fix-participation-elaboration-eval to main August 2, 2026 04:30
@dcramer
dcramer force-pushed the codex/resource-event-catalog branch from a23f94b to db2d33c Compare August 2, 2026 04:31
@dcramer
dcramer changed the base branch from main to codex/fix-participation-elaboration-eval August 2, 2026 04:31
@dcramer
dcramer changed the base branch from codex/fix-participation-elaboration-eval to main August 2, 2026 05:06
@dcramer
dcramer force-pushed the codex/resource-event-catalog branch from db2d33c to 7aee0d0 Compare August 2, 2026 05:06
@dcramer
dcramer changed the base branch from main to codex/fix-participation-elaboration-eval August 2, 2026 05:06
@dcramer
dcramer changed the base branch from codex/fix-participation-elaboration-eval to main August 2, 2026 05:34
@dcramer
dcramer force-pushed the codex/resource-event-catalog branch from 7aee0d0 to 794a0d3 Compare August 2, 2026 05:34
@dcramer
dcramer changed the base branch from main to codex/fix-participation-elaboration-eval August 2, 2026 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

risk: high PR risk score: high

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant