/**
 * Helper functions for working with tool categories.
 * Separated from tools.ts to break circular dependency: tools/index.ts → utils/tools.ts → tools/categories.ts → tools/index.ts
 */

!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="f6a7cf97-ec92-5eea-86ed-c569c6d7185a")}catch(e){}}();
import { getCategoryTools } from '../tools/categories.js';
/**
 * Returns the tool objects for the given category names resolved for the specified mode.
 */
export function getExpectedToolsByCategories(categories, mode) {
    const resolved = getCategoryTools(mode);
    return categories
        .flatMap((category) => resolved[category] || []);
}
/**
 * Returns the tool names for the given category names.
 * Tool names are identical across all server modes, so no mode parameter is needed.
 */
export function getExpectedToolNamesByCategories(categories) {
    return getExpectedToolsByCategories(categories, 'default').map((tool) => tool.name);
}
//# sourceMappingURL=tool_categories_helpers.js.map
//# debugId=f6a7cf97-ec92-5eea-86ed-c569c6d7185a
