import { useTranslation } from 'react-i18next' import BetaNotice from '@/components/BetaNotice' export default function SecurityPermissions() { const { i18n } = useTranslation() const isZh = i18n.language === 'zh-CN' return (
{isZh ? 'page-agent 提供多种安全机制,确保 AI 操作在可控范围内进行。' : 'page-agent provides multiple security mechanisms to ensure AI operations stay within controlled boundaries.'}
{isZh ? '禁止 AI 操作敏感元素,如删除按钮、支付按钮等。' : 'Prevent AI from interacting with sensitive elements like delete buttons, payment buttons, etc.'}
{isZh ? '明确定义 AI 可以操作的元素范围。' : 'Explicitly define which elements AI can interact with.'}
{isZh ? '在 AI 指令中明确列举高危操作,通过两种策略进行控制:' : 'Define high-risk operations in AI instructions and control them through two strategies:'}
{isZh ? '完全禁止操作' : 'Completely Forbidden'}
{isZh ? '对极高风险操作明确禁止执行' : 'Explicitly prohibit execution of extremely high-risk operations'}
{isZh ? '需用户确认操作' : 'Requires User Confirmation'}
{isZh ? '对中等风险操作要求用户明确同意' : 'Require explicit user consent for medium-risk operations'}