import { getSeedToolSurface } from "../features/policy/index.js";
const SEED_TOOL_PREFIX = {
    read_only: "native read",
    write_file: "native write",
    shell: "native shell",
    seed_workspace: "SEED workspace-state tool",
    seed_coordination: "SEED coordination-state tool",
    seed_delegation: "SEED delegation tool",
    seed_command_exec: "SEED Lab-Representative command-exec tool",
    seed_evidence_capture: "SEED evidence-capture tool",
    mcp_or_external: "external tool",
    unknown: "unclassified tool",
};
export function createToolDefinitionHandler() {
    return async function toolDefinition(input, output) {
        if (input.toolID.startsWith("seed_")) {
            const surface = getSeedToolSurface(input.toolID);
            const prefix = surface ? SEED_TOOL_PREFIX[surface.kind] : SEED_TOOL_PREFIX.unknown;
            output.description = `[${prefix}] ${output.description}`;
        }
    };
}
//# sourceMappingURL=tool-definition.js.map