feat(example): Enable scheduler plugin introspection#606
Open
dcramer wants to merge 5 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Add the scheduler plugin to the example app and teach jr-rpc to list installed plugins so Junior can inspect its own runtime catalog. Local chat now hydrates the app plugin set before running, which keeps apps/example local QA aligned with server plugin wiring. Update the example env docs and build guards for scheduler's SQL-backed package, and cover the new jr-rpc command plus example build discovery in focused tests. Co-Authored-By: GPT-5 Codex <codex@openai.com>
Configure the example discovery suite with the SQL URL required by scheduler's database-backed plugin registration. Give PGlite-backed upgrade migration tests enough runtime budget under coverage. Co-Authored-By: GPT-5 Codex <codex@openai.com>
1dacd47 to
4a9d0c6
Compare
Local chat now applies the same SQL requirement check as app startup before registering hook plugins. This keeps scheduler-backed plugin sets from running without DATABASE_URL or JUNIOR_DATABASE_URL. Co-Authored-By: GPT-5 Codex <codex@openai.com>
Bind a deterministic Junior SQL URL for package tests so scheduler-backed app imports do not need suite-local database setup. Co-Authored-By: GPT-5 Codex <codex@openai.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 0dd6dca. Configure here.
Use jiti for local chat plugin loading so generated plugins.ts files work from the published CLI without relying on an external TypeScript loader. Co-Authored-By: GPT-5 Codex <codex@openai.com>
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.

The example app now installs the scheduler plugin, builds it before example dev/build, and documents the SQL database env required by scheduler-backed plugin storage. jr-rpc also gains a
plugins listcommand so the agent can inspect installed plugins, and local chat hydrates the app'splugins.tsset before running so apps/example local QA sees the same plugin catalog as server wiring.Verified with focused jr-rpc and example build-discovery tests, example typecheck, the junior build, skill validation, and direct local QA from apps/example confirming Scheduler is installed. The full
@sentry/juniortypecheck still fails on existing duplicate@sentry/junior-plugin-api/drizzle-ormtype identity errors in unrelated test files.