import { brainKernel } from "../kernel.js"; export const name = 'dsh-brain-mcp'; /** Services required before `apply` runs (none: activation only). */ export const inject = []; /** Register the sub-plugin with the host. */ export function apply(ctx, config) { const kernel = brainKernel(config, ctx.logger('dsh-brain')); kernel.activate('mcp'); ctx.effect(() => () => kernel.deactivate('mcp'), 'dsh-brain-mcp: activation'); }