// tools/register-runtime-security-tools.ts — Registers runtime security tools (SPEC-084)
import { z } from 'zod';
import { handleSecurityReport } from './security-report-handler.js';
import { safeLicensed } from './safe-handler.js';
import { SecurityReportTimeRangeEnum, SecurityReportFormatEnum, } from './schemas/runtime-security.js';
export function registerRuntimeSecurityTools(server) {
    server.registerTool('security_report', {
        description: 'Generate a security report from the audit log — shows threats, blocked calls, and recommendations.',
        annotations: {
            readOnlyHint: true,
        },
        inputSchema: {
            projectPath: z.string().max(4096).describe('Absolute path to the project directory'),
            timeRange: SecurityReportTimeRangeEnum.optional().describe('Time range for the report: last24h | last7d | last30d | all (default: all)'),
            format: SecurityReportFormatEnum.optional().describe('Report format: summary | detailed (default: summary)'),
        },
    }, safeLicensed('security_report', (args) => Promise.resolve(handleSecurityReport(args))));
}
//# sourceMappingURL=register-runtime-security-tools.js.map