{"protocol":"token-rank-agent/v1","name":"词元榜接入助手","site_origin":"https://tokens.luisclaw.cloud","purpose":"协助用户完成词元榜邀请、采集器下载和设备绑定交接。","steps":[{"id":"open-join","title":"打开加入页面","action":"navigate","url":"https://tokens.luisclaw.cloud/join","endpoint":null,"required_fields":[],"sensitive":false,"user_confirmation":false},{"id":"claim-invite","title":"提交邀请码和公开昵称","action":"submit","url":null,"endpoint":"/api/v1/enrollments/claim","required_fields":["invite_code","nickname","consent_version"],"sensitive":false,"user_confirmation":true},{"id":"read-enrollment","title":"读取一次性设备接入码","action":"read","url":null,"endpoint":null,"required_fields":["enrollment_token","expires_at"],"sensitive":false,"user_confirmation":false},{"id":"download-collector","title":"下载最新版 Windows 采集器","action":"download","url":"https://tokens.luisclaw.cloud/downloads/windows/latest.json","endpoint":null,"required_fields":[],"sensitive":false,"user_confirmation":false},{"id":"install-collector","title":"等待用户确认安装并启动采集器","action":"confirm","url":null,"endpoint":null,"required_fields":[],"sensitive":true,"user_confirmation":true},{"id":"handoff-collector","title":"交接到本机采集器完成绑定","action":"handoff","url":null,"endpoint":"/api/v1/agent/handoffs/complete","required_fields":["handoff_code","device_public_id","public_key_base64","collector_version","password"],"sensitive":true,"user_confirmation":true},{"id":"verify-device","title":"确认设备绑定与首次同步状态","action":"read","url":null,"endpoint":null,"required_fields":["registered","last_upload","queue_count"],"sensitive":false,"user_confirmation":false},{"id":"sign-in","title":"用户确认后再登录个人中心","action":"navigate","url":"https://tokens.luisclaw.cloud/login","endpoint":null,"required_fields":[],"sensitive":true,"user_confirmation":true}],"public_endpoints":{"join_page":"/join","claim_enrollment":"/api/v1/enrollments/claim","collector_manifest":"/downloads/windows/latest.json","login_page":"/login","agent_handoff":"/api/v1/agent/handoffs","agent_manifest":"/.well-known/token-rank-agent.json"},"sensitive_fields":["invite_code","enrollment_token","password","new_password","current_password","csrf_token","cookie","private_key","api_key","takeover_code"],"safety_rules":["只能处理用户明确提供的邀请码和昵称。","不得索取、记录、转发或代填密码、验证码、Cookie、私钥和 API Key。","设备绑定必须在用户本机的词元榜采集器中完成。","邀请码、接入码和交接句柄只能短暂保留在当前任务上下文，不得写入日志、截图或长期记忆；交接 URL 只包含短时随机句柄，不包含原始接入码。","下载前校验清单中的 HTTPS 地址、版本和哈希；安装由用户确认。","下载、安装、打开本机交接链接和登录必须等待用户确认；采集器可在本机自动生成首次密码并完成设备绑定。"],"collector_download":{"manifest_url":"https://tokens.luisclaw.cloud/downloads/windows/latest.json","platform":"windows","artifact_source":"manual_download","requires_user_install_confirmation":true},"collector_handoff":{"mode":"local_desktop","app_name":"词元榜采集器","steps":["启动本机词元榜采集器并选择“新用户接入”。","网页只把短时一次性交接句柄交给已安装的采集器；原始 enrollment_token 不进入网址。","采集器在本机生成随机首次密码，提交后只在界面显示一次；用户需要立即保存或稍后在采集器中重置。","用户确认后执行“绑定设备并激活账号”。","等待采集器自动发现 CC Switch 数据库；未发现或存在多个候选时协助用户打开文件选择器。","手动选择时只选择包含 proxy_request_logs 的 CC Switch SQLite 数据库，不上传本地路径。","触发立即同步并检查脱敏状态；不查看提示词、回复、API Key 或原始日志。"],"sensitive_input_fields":["handoff_code","password"],"success_signals":["设备身份已绑定","采集状态为运行中","待上传队列为 0","上次同步时间不为空"]}}