Skip to content

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

Merged
dcramer merged 1 commit into
mainfrom
codex/resource-event-catalog-main
Aug 2, 2026
Merged

feat(core): catalog plugin resource events#1191
dcramer merged 1 commit into
mainfrom
codex/resource-event-catalog-main

Conversation

@dcramer

@dcramer dcramer commented Aug 2, 2026

Copy link
Copy Markdown
Member

This is the exact catalog patch reviewed in #1184, replayed directly onto main because #1184 was accidentally merged into a feature branch.

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 is in #1176.

Refs #1174

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 6:21pm

Request Review

@github-actions github-actions Bot added the risk: high PR risk score: high label Aug 2, 2026
@dcramer
dcramer merged commit cc9bd53 into main Aug 2, 2026
35 of 39 checks passed
@dcramer
dcramer deleted the codex/resource-event-catalog-main branch August 2, 2026 18:40
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