diff --git a/website/agent.html b/website/agent.html new file mode 100644 index 0000000..021a226 --- /dev/null +++ b/website/agent.html @@ -0,0 +1,201 @@ + + + + + + U-Claw 远程协助 - Agent 模式 + + + +

U-Claw 远程协助

+

Agent 模式 - 轻量快速,一行命令上线

+ + +
+

第 1 步:打开终端

+ +
+
Windows
+
macOS
+
Linux
+
+ +
+
+

方法 1(推荐):

+

按键盘 Win + X,选择 "终端(管理员)""PowerShell(管理员)"

+

方法 2:

+

Win 键,搜索 "PowerShell",右键选 "以管理员身份运行"

+
+
PS C:\Users\YourName> _
+
+

看到这样的界面就对了 ↑

+
+
+ +
+
+

Command + 空格,搜索 "终端""Terminal",回车打开

+
+
yourname@MacBook ~ % _
+
+
+
+ +
+
+

Ctrl + Alt + T 打开终端

+
+
user@hostname:~$ _
+
+
+
+
+ + +
+

第 2 步:粘贴运行

+

复制下面的命令,粘贴到终端里,按回车:

+ +
+
+ irm https://u-claw.org/agent.ps1 | iex + +
+

提示:在 PowerShell 里右键即可粘贴

+
+ +
+
+ curl -fsSL https://u-claw.org/agent.sh | bash + +
+

提示:Command+V 粘贴,然后回车

+
+ +
+
+ curl -fsSL https://u-claw.org/agent.sh | bash + +
+

提示:Ctrl+Shift+V 粘贴,然后回车

+
+
+ + +
+

第 3 步:发送设备 ID

+

运行成功后会看到:

+
+
+  ==========================================
+    Connected! Send this ID to support:
+  ==========================================
+
+  +------------------------------------------+
+  |  Device ID:  desktop-a3f2                 |
+  |  Hostname:   DESKTOP-ZHANGSAN            |
+  +------------------------------------------+
+
+  * Close this window to disconnect
+  * Auto-disconnect after 2 hours
+
+

Device ID(如 desktop-a3f2)发给技术支持即可。

+
+ + +
+

安全说明

+

+ 单向连接 + Agent 只接收并执行技术支持发送的诊断命令 +

+

+ 随时断开 + 关闭终端窗口即可立即断开连接 +

+

+ 自动过期 + 连接 2 小时后自动断开,不会常驻 +

+

+ 无残留 + 断开后自动清理下载的文件 +

+
+ + +
+

Q: 运行报错"无法加载文件"怎么办?

+

在 PowerShell 里先运行:Set-ExecutionPolicy Bypass -Scope Process,然后再粘贴命令。

+ +

Q: 下载失败?

+

检查网络连接,或者联系技术支持获取离线安装包。

+ +

Q: 连不上服务器?

+

可能是公司防火墙限制,请联系技术支持。

+
+ +

+ U-Claw Remote Support © 2026 +

+ + + + diff --git a/website/agent.ps1 b/website/agent.ps1 index 46112ef..32e00fa 100644 --- a/website/agent.ps1 +++ b/website/agent.ps1 @@ -11,7 +11,7 @@ $RELAY_SERVER = "ws://47.107.130.152:8900" $DOWNLOAD_URL = "https://u-claw.org/downloads/agent.exe" $AGENT_DIR = "$env:TEMP\uclaw" $AGENT_PATH = "$AGENT_DIR\agent.exe" -$TOKEN = "remote-agent-secret" +$TOKEN = "uclaw-agent-pub" $TIMEOUT_HOURS = 2 Clear-Host diff --git a/website/agent.sh b/website/agent.sh index fd262be..e6ceb46 100644 --- a/website/agent.sh +++ b/website/agent.sh @@ -7,7 +7,7 @@ set -e RELAY_SERVER="ws://47.107.130.152:8900" -TOKEN="remote-agent-secret" +TOKEN="uclaw-agent-pub" TIMEOUT_HOURS=2 AGENT_DIR="/tmp/uclaw" AGENT_PATH="$AGENT_DIR/agent" diff --git a/website/downloads/agent b/website/downloads/agent index 9316f77..cae461a 100755 Binary files a/website/downloads/agent and b/website/downloads/agent differ diff --git a/website/downloads/agent-linux b/website/downloads/agent-linux index b65d1d2..ecdb156 100755 Binary files a/website/downloads/agent-linux and b/website/downloads/agent-linux differ diff --git a/website/downloads/agent.exe b/website/downloads/agent.exe index 930a7ff..990ddd0 100755 Binary files a/website/downloads/agent.exe and b/website/downloads/agent.exe differ