/**
 * Cross-cutting routes owned by the plugin host (M13). Currently exposes the
 * activation diagnostic endpoint. Phase 4 moves /api/entities/:type/:slug/versions
 * here too.
 */
import { Router } from 'express';
export function pluginHostRouter(host) {
    const router = Router();
    router.get('/_meta/entities', (_req, res) => {
        res.json(host.state());
    });
    return router;
}
//# sourceMappingURL=cross-cutting.js.map