import { z } from 'zod';
import { handleAuditClaudeConfig } from './audit-claude-config.js';
import { safeLicensed } from './safe-handler.js';
export function registerWorkspaceTools(server) {
    // audit_claude_config — SPEC-092
    server.registerTool('audit_claude_config', {
        description: 'Audit and optimize your Claude Code workspace configuration. Analyzes CLAUDE.md size, .claude/rules/ structure, auto-memory, settings, and more against official best practices. Returns a scored report with prioritized suggestions.',
        inputSchema: {
            projectPath: z.string().describe('Absolute path to the project root to audit'),
            includeGlobal: z
                .boolean()
                .optional()
                .default(true)
                .describe('Also audit ~/.claude/ global config (default: true)'),
        },
        annotations: { readOnlyHint: true },
    }, safeLicensed('audit_claude_config', async (args) => handleAuditClaudeConfig(args)));
}
//# sourceMappingURL=register-workspace-tools.js.map