File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,6 +30,10 @@ import { ObjectQLPlugin } from '@objectstack/objectql';
3030import { InMemoryDriver } from '@objectstack/driver-memory' ;
3131import { createHonoApp } from '@objectstack/hono' ;
3232import { AuthPlugin } from '@objectstack/plugin-auth' ;
33+ import { SecurityPlugin } from '@objectstack/plugin-security' ;
34+ import { AuditPlugin } from '@objectstack/plugin-audit' ;
35+ import { FeedServicePlugin } from '@objectstack/service-feed' ;
36+ import { MetadataPlugin } from '@objectstack/metadata' ;
3337import { getRequestListener } from '@hono/node-server' ;
3438import type { Hono } from 'hono' ;
3539import { createBrokerShim } from '../src/lib/create-broker-shim.js' ;
@@ -96,6 +100,11 @@ async function ensureKernel(): Promise<ObjectKernel> {
96100 ...( trustedOrigins . length > 0 ? { trustedOrigins } : { } ) ,
97101 } ) ) ;
98102
103+ await kernel . use ( new SecurityPlugin ( ) ) ;
104+ await kernel . use ( new AuditPlugin ( ) ) ;
105+ await kernel . use ( new FeedServicePlugin ( ) ) ;
106+ await kernel . use ( new MetadataPlugin ( { watch : false } ) ) ;
107+
99108 // Broker shim — bridges HttpDispatcher → ObjectQL engine
100109 ( kernel as any ) . broker = createBrokerShim ( kernel ) ;
101110
Original file line number Diff line number Diff line change 2424 "@objectstack/metadata" : " workspace:*" ,
2525 "@objectstack/objectql" : " workspace:*" ,
2626 "@objectstack/plugin-auth" : " workspace:*" ,
27+ "@objectstack/plugin-audit" : " workspace:*" ,
2728 "@objectstack/plugin-msw" : " workspace:*" ,
29+ "@objectstack/plugin-security" : " workspace:*" ,
2830 "@objectstack/runtime" : " workspace:*" ,
31+ "@objectstack/service-feed" : " workspace:*" ,
2932 "@objectstack/spec" : " workspace:*" ,
3033 "hono" : " ^4.12.8" ,
3134 "@hono/node-server" : " ^1.19.11" ,
You can’t perform that action at this time.
0 commit comments