import { Cloud, Laptop, ShieldCheck, X } from 'lucide-react'; import { projectDomainConnectionSteps, projectDomainTrustSource, type DomainAccessProjection } from '../domain-connection'; interface Props { access: DomainAccessProjection; open: boolean; onClose: () => void; onEnterRuntime: () => void; onOpenCodeChannel: () => void; } export function DomainConnectionSheet({ access, open, onClose, onEnterRuntime, onOpenCodeChannel }: Props) { if (!open) return null; const steps = projectDomainConnectionSteps(access); return (
{ if (event.target === event.currentTarget) onClose(); }}>
DOM-FIFTH-0001

接入第五域 · 光湖本源域

进入域不是切换页面。系统必须验证账户、登记节点、目标域授权、会话能力和在线回执。

{projectDomainTrustSource(access)}

    {steps.map((step, index) => (
  1. {step.state === 'verified' ?
    {step.label}{step.detail}
    {step.state === 'verified' ? '已验证' : step.state === 'checking' ? '核对中' : '待完成'}
  2. ))}

代码频道账号只用于仓库与同步,是节点身份的辅助证明之一,不能单独签发第五域权限。

); }