Skip to content
This repository was archived by the owner on May 6, 2026. It is now read-only.

Commit c0a8ad4

Browse files
author
yysjasmine
committed
Polish Linux installer docs and messaging
1 parent f2b8e76 commit c0a8ad4

2 files changed

Lines changed: 15 additions & 5 deletions

File tree

README.zh-CN.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Bundled skills 已经直接放进 `repos/hermes-agent/skills/` 和 `repos/opencl
9090
|------|------|---------|
9191
| Windows | [去最新 release 下载 `-windows-x64.exe`](https://github.com/SenseTime-FVG/agent_pack/releases/latest) | 双击运行向导;安装过程在 WSL2 中执行,安装完成后当前 PowerShell 窗口会被接管,直接跑起 agent |
9292
| macOS | [去最新 release 下载 `-macos-universal.pkg`](https://github.com/SenseTime-FVG/agent_pack/releases/latest) | 双击后按图形向导完成产品选择和 LLM 配置;安装完成后会按所选产品自动打开 OpenClaw Gateway Terminal 与 dashboard,并打开 Hermes Terminal |
93-
| Linux | [去最新 release 下载 `-linux.sh`](https://github.com/SenseTime-FVG/agent_pack/releases/latest) 或下面的一行命令 | 下载后 `chmod +x AgentPack-*-linux.sh && ./AgentPack-*-linux.sh`,或直接粘贴 `curl -fsSL https://raw.githubusercontent.com/SenseTime-FVG/agent_pack/main/linux/install.sh \| bash` — 两种方式都会在安装结束后用 `exec` 在当前 shell 里拉起 agent |
93+
| Linux | [去最新 release 下载 `-linux.sh`](https://github.com/SenseTime-FVG/agent_pack/releases/latest) 或下面的一行命令 | 下载后 `chmod +x AgentPack-*-linux.sh && ./AgentPack-*-linux.sh`,或直接粘贴 `bash <(curl -fsSL https://raw.githubusercontent.com/SenseTime-FVG/agent_pack/main/linux/install.sh)` — 两种方式都会在安装结束后用 `exec` 在当前 shell 里拉起 agent |
9494

9595
## 从源码构建
9696

@@ -121,7 +121,17 @@ cd macos
121121
无需构建。可以分发 `linux/install.sh``linux/lib/` 目录,或者托管整个 repo 然后用:
122122

123123
```bash
124-
curl -fsSL https://raw.githubusercontent.com/SenseTime-FVG/agent_pack/main/linux/install.sh | bash
124+
bash <(curl -fsSL https://raw.githubusercontent.com/SenseTime-FVG/agent_pack/main/linux/install.sh)
125+
```
126+
127+
无人值守安装可以加上 `--yes` 和所需参数:
128+
129+
```bash
130+
bash <(curl -fsSL https://raw.githubusercontent.com/SenseTime-FVG/agent_pack/main/linux/install.sh) \
131+
--yes \
132+
--product hermes \
133+
--provider openrouter \
134+
--api-key sk-...
125135
```
126136

127137
## 配置

linux/lib/configure-llm.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ _llm_fill_defaults() {
4646

4747
prepare_llm_config_noninteractive() {
4848
if [ -z "$LLM_PROVIDER$LLM_BASE_URL$LLM_MODEL$LLM_API_KEY" ]; then
49-
echo "[*] Non-interactive mode: no LLM config supplied; product config will be skipped."
49+
echo "[*] Preset LLM config: none supplied; product config will be skipped."
5050
return 0
5151
fi
5252

@@ -70,11 +70,11 @@ prepare_llm_config_noninteractive() {
7070
fi
7171

7272
if [ -z "$LLM_API_KEY" ]; then
73-
echo "[*] Non-interactive mode: no API key supplied; product config will be skipped."
73+
echo "[*] Preset LLM config: no API key supplied; product config will be skipped."
7474
return 0
7575
fi
7676

77-
echo "[*] Using non-interactive LLM config: provider=$LLM_PROVIDER model=$LLM_MODEL"
77+
echo "[*] Using preset LLM config: provider=$LLM_PROVIDER model=$LLM_MODEL"
7878
}
7979

8080
# Exported by collect_llm_config, consumed by apply_llm_config.

0 commit comments

Comments
 (0)