/**
 * Judge tools module exports.
 *
 * Provides tools for browser automation and evaluation submission
 * used by the judge system.
 */
import { ToolRegistry } from "../../agent/tools2/registry.js";
import { playwrightActionToolFactory } from "./playwright-action.js";
import { submitFeedbackToolFactory } from "./submit-feedback.js";
/**
 * Builds the complete toolset for the judge.
 *
 * Creates and configures all tools available to the judge
 * for evaluating the generated application.
 *
 * @param playwrightBridge - Bridge to Playwright MCP server
 * @param context - Judge execution context
 * @returns Configured toolset for judge
 */
export async function buildJudgeTools(playwrightBridge) {
    const registry = new ToolRegistry();
    registry.register(playwrightActionToolFactory, playwrightBridge);
    registry.register(submitFeedbackToolFactory, {});
    const tools = await registry.getToolsRecord();
    return tools;
}
export { playwrightActionToolFactory } from "./playwright-action.js";
export { submitFeedbackToolFactory, isEvaluationComplete, } from "./submit-feedback.js";
//# sourceMappingURL=index.js.map