import { jsx as _jsx } from "react/jsx-runtime";
import { Box, Text } from "ink";
export function ToolList(props) {
    return (_jsx(Box, { flexDirection: "column", children: props.tools.map((tool) => {
            const permission = tool.checkPermissions({ type: tool.name }, props.context);
            return (_jsx(Text, { children: `${tool.name} ${tool.isEnabled(props.context) ? "on" : "off"} ${permission.behavior}` }, tool.name));
        }) }));
}
