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",
|
||||
|
||||
Reference in New Issue
Block a user