set up native plugins wiring#2864
Open
jschwarz2030 wants to merge 3 commits into
Open
Conversation
jschwarz2030
commented
Jul 3, 2026
Contributor
- Added native plugin system: plugins are IIFE bundles loaded at runtime via VITE_DEPLOYMENT_PLUGIN_URLS
- Exposed host React, ReactDOM, and jsx-runtime on window before app boot so plugins share a single React instance
- Extended PluginApiContext with theme, user, navigate, and ui (Button, Label, Textarea) so plugins can use host components
- Added TaskActionExtension and TaskActionPanelExtension types for plugins to inject UI into the task action modal and task footer
- Wired extensions into TaskActionModal and TaskPanel with replace/append slot support
- Updated plugin security to allow same-origin plugin URLs without allowlist checks
- Added catch-all route guard (isCoreAppPath) so plugin routes don't interfere with core routes
- Loosened task search schema to pass arbitrary query params through to plugins
- Added Vite plugin middleware to serve /plugins/ bundles in dev and preview
- Added env.json runtime config support via runtimeEnv() Vite plugin
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.