/**
 * Hooks adapter — context namespace.
 *
 * Direct pass-through over `kernel.run.*` context methods. No reimplementation,
 * no side logic. Exists so hosts have a typed in-process surface that never
 * imports MCP or dashboard code.
 */
import { kernel } from '../../kernel/index.js';
export const ContextHooks = {
    init() {
        return kernel.run.init();
    },
    compile(request) {
        return kernel.run.compileContext(request);
    },
    hypertuneMax(task, files, graphConnectivity) {
        return kernel.run.hypertuneMax(task, files, graphConnectivity);
    },
    differential(prev, curr) {
        return kernel.run.differential(prev, curr);
    },
    loadLatestSessionSummary() {
        return kernel.run.loadLatestSessionSummary();
    },
    allocateBudget(workers, totalBudget) {
        return kernel.run.allocateBudget(workers, totalBudget);
    },
};
