import { type PermissionKey } from "@capakraken/shared";

import { getAvailableAssistantToolsForContext } from "./assistant-tools.js";
import type { ToolDef } from "./assistant-tools/shared.js";

export function getAvailableAssistantTools(
  permissions: Set<PermissionKey>,
  userRole: string,
): ToolDef[] {
  return getAvailableAssistantToolsForContext(permissions, userRole);
}
