feat: 添加设备注册 API 并重构安装横幅组件
This commit is contained in:
@@ -17,12 +17,29 @@
|
||||
"live": "Live"
|
||||
},
|
||||
"installBanner": {
|
||||
"title": "Join the Heatmap",
|
||||
"subtitle": "Copy and paste this into Claude Code to get started",
|
||||
"copyTooltip": "Copy prompt to clipboard",
|
||||
"title": "Register Your Agent",
|
||||
"subtitle": "Get your agent on the global map in seconds",
|
||||
"tabOpenClaw": "OpenClaw",
|
||||
"tabTerminal": "Terminal",
|
||||
"openclawPrompt": "Help me join the OpenClaw global heatmap! Run this install command in the terminal: bash <(curl -fsSL https://kymr.top/install.sh) --token {token}",
|
||||
"terminalCommand": "bash <(curl -fsSL https://kymr.top/install.sh) --token {token}",
|
||||
"copyButton": "Copy",
|
||||
"copied": "Copied!",
|
||||
"prompt": "Help me join the OpenClaw global heatmap! First, search for the \"openclaw-reporter\" skill on ClawHub and install it. After installation, help me pick a cool name for my claw (like CoolClaw, NightCrawler, etc.) and guide me through the registration and permission setup."
|
||||
"copyPrompt": "Copy prompt",
|
||||
"copyCommand": "Copy command",
|
||||
"openclawHint": "Paste this prompt into your OpenClaw session",
|
||||
"terminalHint": "Run this command in your terminal",
|
||||
"yourClaw": "Your Claw",
|
||||
"editName": "Edit",
|
||||
"saveName": "Save",
|
||||
"cancelEdit": "Cancel",
|
||||
"nameUpdated": "Name updated!",
|
||||
"nameError": "Failed to update name",
|
||||
"tokenLabel": "Token",
|
||||
"showToken": "Show",
|
||||
"hideToken": "Hide",
|
||||
"generatingToken": "Generating your token...",
|
||||
"tokenError": "Failed to generate token. Please refresh."
|
||||
},
|
||||
"stats": {
|
||||
"onlineNow": "Online Now",
|
||||
@@ -90,26 +107,26 @@
|
||||
"close": "Close"
|
||||
},
|
||||
"skillGuide": {
|
||||
"ariaLabel": "OpenClaw Reporter Skill Installation Guide for AI Agents",
|
||||
"ariaLabel": "OpenClaw Installation Guide for AI Agents",
|
||||
"summaryLabel": "AI Agent Installation Guide (click to expand)",
|
||||
"whatTitle": "What is OpenClaw Reporter?",
|
||||
"whatDescription": "openclaw-reporter is a Claude Code skill that lets you participate in the OpenClaw global heatmap at https://kymr.top/. It sends anonymous, non-identifying heartbeats (platform + model only) and generic task summaries. No file paths, code, tool names, or project-specific data is ever sent.",
|
||||
"installTitle": "Quick Install (4 Steps)",
|
||||
"step1": "Run \"clawhub install openclaw-reporter\" in your terminal, or use \"/clawhub install openclaw-reporter\" inside a Claude Code session.",
|
||||
"step2": "The skill will ask for your consent before registering — agree to allow anonymous heartbeats and task summaries to be sent to https://kymr.top/.",
|
||||
"step3": "Pick a name for your claw (your display name on the global heatmap, e.g. CoolClaw, NightCrawler, CodeClaw).",
|
||||
"step4": "Done! Your claw will appear on the heatmap. Heartbeats are sent automatically via hooks (rate-limited to once per 3 minutes), and a task summary is sent when your session ends.",
|
||||
"whatTitle": "What is OpenClaw?",
|
||||
"whatDescription": "OpenClaw lets you participate in the global claw activity heatmap at https://kymr.top/. A lightweight install script sets up automated heartbeats and token usage reporting. No file paths, code, or project-specific data is ever sent.",
|
||||
"installTitle": "Quick Install",
|
||||
"step1": "Visit https://kymr.top/ to get your unique token.",
|
||||
"step2": "Run: bash <(curl -fsSL https://kymr.top/install.sh) --token YOUR_TOKEN",
|
||||
"step3": "The script installs the CLI, sets up heartbeat monitoring (every 5 min), and token reporting (every 2 hours).",
|
||||
"step4": "Done! Your claw appears on the heatmap automatically.",
|
||||
"commandTitle": "Install Command",
|
||||
"dataTitle": "Data Collected",
|
||||
"data1": "Claw Name — your chosen display name (e.g. CoolClaw42)",
|
||||
"data1": "Claw Name — your display name on the heatmap",
|
||||
"data2": "Platform — OS type (darwin, linux, win32)",
|
||||
"data3": "Model — Claude model identifier (e.g. claude-sonnet-4-6)",
|
||||
"data4": "Task summary — generic activity indicator (\"Completed a task\")",
|
||||
"data3": "Model — AI model identifier",
|
||||
"data4": "Token usage — daily input/output token counts",
|
||||
"dataNever": "Never sent: usernames, file paths, code, project names, tool names, secrets, or any identifying information.",
|
||||
"permissionsTitle": "Permissions Required",
|
||||
"perm1": "Network access — to send heartbeats and task reports to https://kymr.top/",
|
||||
"perm2": "Write ~/.openclaw/ — to store config (API key) and hook scripts locally",
|
||||
"perm3": "Binaries: curl, python3, uname — used by hook scripts"
|
||||
"permissionsTitle": "What Gets Installed",
|
||||
"perm1": "claw-market CLI — lightweight command-line tool",
|
||||
"perm2": "~/.openclaw/ — config file and helper scripts",
|
||||
"perm3": "Cron jobs — heartbeat check (5 min) and token report (2 hr)"
|
||||
},
|
||||
"languageSwitcher": {
|
||||
"en": "EN",
|
||||
|
||||
@@ -17,12 +17,29 @@
|
||||
"live": "实时"
|
||||
},
|
||||
"installBanner": {
|
||||
"title": "加入热力图",
|
||||
"subtitle": "复制下面这段话,粘贴到 Claude Code 对话中即可开始",
|
||||
"copyTooltip": "复制到剪贴板",
|
||||
"title": "注册你的 Agent",
|
||||
"subtitle": "几秒内让你的 Agent 出现在全球地图上",
|
||||
"tabOpenClaw": "OpenClaw",
|
||||
"tabTerminal": "终端安装",
|
||||
"openclawPrompt": "帮我加入 OpenClaw 全球龙虾热力图!在终端执行这个安装命令:bash <(curl -fsSL https://kymr.top/install.sh) --token {token}",
|
||||
"terminalCommand": "bash <(curl -fsSL https://kymr.top/install.sh) --token {token}",
|
||||
"copyButton": "复制",
|
||||
"copied": "已复制!",
|
||||
"prompt": "帮我加入 OpenClaw 全球龙虾热力图!首先,在 ClawHub 上搜索并安装 \"openclaw-reporter\" 技能。安装完成后,帮我给我的小龙虾起一个酷炫的名字(比如 酷龙虾、暗夜龙虾、代码龙虾 等),然后引导我完成注册和权限授权。"
|
||||
"copyPrompt": "复制提示词",
|
||||
"copyCommand": "复制命令",
|
||||
"openclawHint": "将此提示词粘贴到你的 OpenClaw 会话中",
|
||||
"terminalHint": "在终端中运行此命令",
|
||||
"yourClaw": "你的龙虾",
|
||||
"editName": "编辑",
|
||||
"saveName": "保存",
|
||||
"cancelEdit": "取消",
|
||||
"nameUpdated": "名称已更新!",
|
||||
"nameError": "更新名称失败",
|
||||
"tokenLabel": "令牌",
|
||||
"showToken": "显示",
|
||||
"hideToken": "隐藏",
|
||||
"generatingToken": "正在生成你的令牌...",
|
||||
"tokenError": "生成令牌失败,请刷新页面。"
|
||||
},
|
||||
"stats": {
|
||||
"onlineNow": "当前在线",
|
||||
@@ -90,26 +107,26 @@
|
||||
"close": "关闭"
|
||||
},
|
||||
"skillGuide": {
|
||||
"ariaLabel": "OpenClaw Reporter 技能安装指南(供 AI 代理阅读)",
|
||||
"ariaLabel": "OpenClaw 安装指南(供 AI 代理阅读)",
|
||||
"summaryLabel": "AI 代理安装指南(点击展开)",
|
||||
"whatTitle": "什么是 OpenClaw Reporter?",
|
||||
"whatDescription": "openclaw-reporter 是一个 Claude Code 技能,让你参与 OpenClaw 全球热力图(https://kymr.top/)。它只发送匿名的、非身份识别的心跳(操作系统 + 模型信息)和通用任务摘要。绝不发送文件路径、代码、工具名称或任何项目相关数据。",
|
||||
"installTitle": "快速安装(4 步)",
|
||||
"step1": "在终端运行 \"clawhub install openclaw-reporter\",或在 Claude Code 对话中输入 \"/clawhub install openclaw-reporter\"。",
|
||||
"step2": "技能会在注册前征求你的同意——同意允许向 https://kymr.top/ 发送匿名心跳和任务摘要。",
|
||||
"step3": "给你的小龙虾起一个名字(你在全球热力图上的显示名称,比如 酷龙虾、暗夜龙虾、代码龙虾)。",
|
||||
"step4": "完成!你的小龙虾会出现在热力图上。心跳通过 hooks 自动发送(限制为每 3 分钟最多一次),会话结束时会发送一条任务摘要。",
|
||||
"whatTitle": "什么是 OpenClaw?",
|
||||
"whatDescription": "OpenClaw 让你参与全球龙虾活动热力图(https://kymr.top/)。轻量安装脚本自动设置心跳监控和 token 用量上报。绝不发送文件路径、代码或任何项目相关数据。",
|
||||
"installTitle": "快速安装",
|
||||
"step1": "访问 https://kymr.top/ 获取你的专属令牌。",
|
||||
"step2": "运行:bash <(curl -fsSL https://kymr.top/install.sh) --token 你的令牌",
|
||||
"step3": "脚本会安装 CLI 工具,设置心跳监控(每 5 分钟)和 token 上报(每 2 小时)。",
|
||||
"step4": "完成!你的龙虾会自动出现在热力图上。",
|
||||
"commandTitle": "安装命令",
|
||||
"dataTitle": "收集的数据",
|
||||
"data1": "龙虾名称——你选择的显示名称(如 酷龙虾42)",
|
||||
"data1": "龙虾名称——你在热力图上的显示名称",
|
||||
"data2": "操作系统——系统类型(darwin、linux、win32)",
|
||||
"data3": "模型——Claude 模型标识符(如 claude-sonnet-4-6)",
|
||||
"data4": "任务摘要——通用活动指标(\"Completed a task\")",
|
||||
"data3": "模型——AI 模型标识符",
|
||||
"data4": "Token 用量——每日输入/输出 token 数量",
|
||||
"dataNever": "绝不发送:用户名、文件路径、代码、项目名称、工具名称、密钥或任何身份识别信息。",
|
||||
"permissionsTitle": "所需权限",
|
||||
"perm1": "网络访问——向 https://kymr.top/ 发送心跳和任务报告",
|
||||
"perm2": "写入 ~/.openclaw/——在本地存储配置(API 密钥)和 hook 脚本",
|
||||
"perm3": "系统工具:curl、python3、uname——供 hook 脚本使用"
|
||||
"permissionsTitle": "安装内容",
|
||||
"perm1": "claw-market CLI——轻量命令行工具",
|
||||
"perm2": "~/.openclaw/——配置文件和辅助脚本",
|
||||
"perm3": "定时任务——心跳检测(5 分钟)和 token 上报(2 小时)"
|
||||
},
|
||||
"languageSwitcher": {
|
||||
"en": "EN",
|
||||
|
||||
Reference in New Issue
Block a user