feat(app-host): load all kernel plugins to match studio configuration#1135
Merged
xuyushun441-sys merged 2 commits intomainfrom Apr 14, 2026
Merged
feat(app-host): load all kernel plugins to match studio configuration#1135xuyushun441-sys merged 2 commits intomainfrom
xuyushun441-sys merged 2 commits intomainfrom
Conversation
app-host was missing several kernel plugins when deployed to Vercel, causing incomplete functionality. This commit adds all the kernel plugins that studio uses to ensure feature parity. Changes: - Added missing plugin dependencies to package.json: - @objectstack/plugin-audit - @objectstack/plugin-security - @objectstack/plugin-setup - @objectstack/service-ai - @objectstack/service-analytics - @objectstack/service-automation - @objectstack/service-feed - Updated server/index.ts to register all kernel plugins: - SetupPlugin (loads before other plugins) - SecurityPlugin (RBAC and permissions) - AuditPlugin (audit logging) - FeedServicePlugin (activity feeds) - MetadataPlugin (metadata management) - AIServicePlugin (AI capabilities) - AutomationServicePlugin (flows and workflows) - AnalyticsServicePlugin (analytics) - Added broker shim to bridge HttpDispatcher → ObjectQL engine - Copied create-broker-shim.ts from studio - Integrated broker shim before kernel bootstrap - Added broker validation after bootstrap - Reordered plugin loading to match studio: - Apps load first (provide object schemas) - SetupPlugin loads early (navigation service) - Auth plugin loads after setup - Service plugins load after auth This ensures app-host has the same capabilities as studio when deployed to Vercel. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Claude created this pull request from a session on behalf of
xuyushun441-sys
April 14, 2026 07:28
View session
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
@claude[agent] ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with /examples/app-host/package.json |
Update lockfile to include the new kernel plugin dependencies added to examples/app-host/package.json in the previous commit. This fixes the ERR_PNPM_OUTDATED_LOCKFILE error in CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com> Co-authored-by: xuyushun441-sys <255036401+xuyushun441-sys@users.noreply.github.com>
Contributor
Author
Fixed in 62b3cc7. The lockfile has been updated to include the new kernel plugin dependencies added to app-host. |
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.
app-host was missing several kernel plugins when deployed to Vercel, resulting in incomplete functionality compared to studio. This adds all kernel plugins that studio uses to ensure feature parity in production deployments.
Changes
Added missing plugin dependencies to
package.json:@objectstack/plugin-audit,@objectstack/plugin-security,@objectstack/plugin-setup@objectstack/service-ai,@objectstack/service-analytics,@objectstack/service-automation,@objectstack/service-feedRegistered all kernel plugins in
server/index.tsmatching studio's configuration:Added broker shim to bridge HttpDispatcher → ObjectQL engine:
create-broker-shim.tsfrom studiokernel.bootstrap()with post-bootstrap validationReordered plugin loading for correct initialization: