import { defineHandler } from '@kb-labs/sdk';
import { loadBaseline } from '@kb-labs/qa-core';

// src/rest/handlers/baseline-handler.ts
var baseline_handler_default = defineHandler({
  async execute(ctx, _input) {
    const baseline = loadBaseline(ctx.cwd);
    return { baseline: baseline ?? null };
  }
});

export { baseline_handler_default as default };
//# sourceMappingURL=baseline-handler.js.map
//# sourceMappingURL=baseline-handler.js.map