Skip to content

Commit a991f79

Browse files
committed
docs: finalize v1.2.0 version surfaces
1 parent 3531bfe commit a991f79

14 files changed

Lines changed: 47 additions & 35 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# 更新日志
22

3+
## v1.2.0 (2026-08-31)
4+
5+
- 全面重构中英文主页:亮色乐观视觉、桌面/手机自适应、可访问性、品牌 404 与单一 canonical。
6+
- Pages 成为唯一网页源,Worker 自动生成同源资源;HTML 短缓存、版本化静态资源 immutable 缓存与 ETag 304。
7+
- `agentboot` 延迟加载 HTTP/SSL 网络栈与安装专用模块,控制台冷启动显著缩短。
8+
- 新增轻量 `launch.py`,让命令入口复用 Python 字节码缓存;频繁启动菜单实测降低约 34.6%。
9+
- 多 Agent 安装按相同 Node 约束合并 npm 解析与连接,失败自动回退逐个安装;批次内复用 Node、镜像和环境探测。
10+
- npm 安装优先本地缓存并关闭进度与冗余日志;在线安装器移除重复体检,POSIX 安装约减少一次 2 秒级网络检查。
11+
- 内置 Agent 使用紧凑请求 JSON,并在断线重连时复用 TLSContext;保持 TLS 校验、代理与流式安全边界。
12+
- 新增确定性性能基准,覆盖启动、内置 Agent 本地请求、安装调度与主页关键资源,所有实验保留/回退可审计。
13+
314
## v1.1.0 (2026-08-30)
415

516
- 新增 Agent 安全卸载:菜单 `[9]``agentboot uninstall <id>`、批量卸载与 CoCo `--purge`

README.en.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ ab model # provider manager
9898

9999
## Offline packages
100100

101-
Download a platform-and-Agent-specific verified pack from [Releases](https://github.com/bit-cook/AgentBoot/releases). v1.1.0 initially publishes Linux x64 and Windows x64 Codex packs only after CI installs them, runs `codex --version`, and uninstalls them. Build other Agents on their target platform with menu `[7]` or:
101+
Download a platform-and-Agent-specific verified pack from [Releases](https://github.com/bit-cook/AgentBoot/releases). v1.2.0 initially publishes Linux x64 and Windows x64 Codex packs only after CI installs them, runs `codex --version`, and uninstalls them. Build other Agents on their target platform with menu `[7]` or:
102102

103103
```bash
104104
python core/menu.py build-offline win-x64 claude-code,pi

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ ab bench # 性能基准
9999

100100
## 离线安装与瘦身定制
101101

102-
[Releases](https://github.com/bit-cook/AgentBoot/releases) 下载带平台与 Agent 名称的已验证精简包,拷到目标机解压后运行包内 `install-offline.ps1` / `sh install-offline.sh`。v1.1.0 首批发布 Linux x64 / Windows x64 的 Codex 包,发布流水线会实际执行安装、`codex --version` 和卸载后才上传。
102+
[Releases](https://github.com/bit-cook/AgentBoot/releases) 下载带平台与 Agent 名称的已验证精简包,拷到目标机解压后运行包内 `install-offline.ps1` / `sh install-offline.sh`。v1.2.0 首批发布 Linux x64 / Windows x64 的 Codex 包,发布流水线会实际执行安装、`codex --version` 和卸载后才上传。
103103

104104
其他 Agent 使用菜单 `[7]``build-offline win-x64 claude-code,pi` 在目标平台按需构建。Hermes 含平台相关 Python venv,必须在对应平台构建;Aider 暂不支持离线。
105105

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.0
1+
1.2.0

cloudflare/web-assets.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cloudflare/worker.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
import { WEB_ASSETS } from "./web-assets.js";
77

88
const REPO = "bit-cook/AgentBoot";
9-
const TAG = "v1.1.0";
9+
const TAG = "v1.2.0";
1010
const GH_REL = `https://github.com/${REPO}/releases/download/${TAG}`;
11-
const ASSET_CACHE = "public, max-age=86400, stale-while-revalidate=604800";
11+
const ASSET_CACHE = "public, max-age=31536000, immutable";
1212
const PAGE_CACHE = "public, max-age=300, stale-while-revalidate=3600";
1313

1414
export default {
@@ -24,7 +24,7 @@ export default {
2424
await Promise.all(required.map(async (name) => {
2525
try {
2626
const response = await fetch(`${GH_REL}/${name}`, {
27-
method: "HEAD", headers: { "User-Agent": "AgentBoot-Worker/1.1" },
27+
method: "HEAD", headers: { "User-Agent": "AgentBoot-Worker/1.2" },
2828
cf: { cacheEverything: false },
2929
});
3030
assets[name] = response.status;
@@ -61,7 +61,7 @@ export default {
6161
};
6262

6363
async function proxy(target, contentType, cacheTtl, incoming = null) {
64-
const requestHeaders = new Headers({ "User-Agent": "AgentBoot-Worker/1.1" });
64+
const requestHeaders = new Headers({ "User-Agent": "AgentBoot-Worker/1.2" });
6565
if (incoming) {
6666
for (const name of ["Range", "If-Range", "If-None-Match", "If-Modified-Since"]) {
6767
const value = incoming.headers.get(name);

core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
try:
2828
VERSION = open(os.path.join(APP_DIR, "VERSION"), "r", encoding="ascii").read().strip()
2929
except OSError:
30-
VERSION = "1.1.0"
30+
VERSION = "1.2.0"
3131
AB_HOME = os.environ.get("AGENTBOOT_HOME") or os.path.join(os.path.expanduser("~"), ".agentboot")
3232
CONFIG_PATH = os.path.join(AB_HOME, "config.json")
3333
KB_DIR = os.path.join(APP_DIR, "tools", "linux-kb")

docs/en/install-guide.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AgentBoot Installation Guide
22

3-
> **v1.1.0** · Linux / macOS / Windows · CLI UI in Chinese by default (switchable to English: `agentboot lang en`)
3+
> **v1.2.0** · Linux / macOS / Windows · CLI UI in Chinese by default (switchable to English: `agentboot lang en`)
44
> AgentBoot is a minimal, fast, ready-to-run AI Agent launcher: it ships a built-in fallback agent (free **Agnes** model by default), while the other agents (Claude Code, Codex, Qwen Code, OpenCode, CodeBuddy, MiMo Code, Cline, Pi, CoCo, …) are installed **from a menu of your choice**.
55
66
**目录 / Table of contents**: [One-command online install](#one-command-online-install) · [One-command offline install](#one-command-offline-install) · [Custom agents](#custom-agents-beyond-the-registry) · [Custom offline packages](#custom-offline-packages-slim) · [China network](#china-network-adaptive) · [Model providers](#model-providers) · [Built-in agent](#built-in-agent-ab) · [Upgrade & uninstall](#upgrade--uninstall) · [Troubleshooting](#online-install-troubleshooting) · [FAQ](#faq)
@@ -43,9 +43,9 @@ Three steps: **① get an offline package → ② copy & extract → ③ run the
4343
### Step 1 — Get an offline package
4444

4545
- **Option A**: download from [Releases](https://github.com/bit-cook/AgentBoot/releases)
46-
- `AgentBoot-offline-v1.1.0-win-x64-codex.zip` (Windows x64)
47-
- `AgentBoot-offline-v1.1.0-linux-x64-codex.tar.gz` (Linux x64)
48-
- `AgentBoot-offline-v1.1.0-linux-x64-codex-sfx.sh` (Linux x64 self-extracting file)
46+
- `AgentBoot-offline-v1.2.0-win-x64-codex.zip` (Windows x64)
47+
- `AgentBoot-offline-v1.2.0-linux-x64-codex.tar.gz` (Linux x64)
48+
- `AgentBoot-offline-v1.2.0-linux-x64-codex-sfx.sh` (Linux x64 self-extracting file)
4949
- **Option B — build your own slim package** (recommended; see [Custom offline packages](#custom-offline-packages-slim)):
5050
pick platforms and agents, output goes to `dist/`.
5151

@@ -54,9 +54,9 @@ Three steps: **① get an offline package → ② copy & extract → ③ run the
5454
| Target machine | How |
5555
|---|---|
5656
| Windows (any) | Right-click the ZIP → Extract All (built into Explorer) |
57-
| Windows 10/11 (CLI) | `tar -xf AgentBoot-offline-v1.1.0-win-x64-codex.zip` |
58-
| Linux x64 | `tar -xzf AgentBoot-offline-v1.1.0-linux-x64-codex.tar.gz -C ~` |
59-
| Minimal Linux x64 | `sh AgentBoot-offline-v1.1.0-linux-x64-codex-sfx.sh` |
57+
| Windows 10/11 (CLI) | `tar -xf AgentBoot-offline-v1.2.0-win-x64-codex.zip` |
58+
| Linux x64 | `tar -xzf AgentBoot-offline-v1.2.0-linux-x64-codex.tar.gz -C ~` |
59+
| Minimal Linux x64 | `sh AgentBoot-offline-v1.2.0-linux-x64-codex-sfx.sh` |
6060

6161
### Step 3 — Run the offline installer
6262

docs/zh/安装指南.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# AgentBoot 安装指南
22

3-
> **版本 v1.1.0** · 支持 Linux / macOS / Windows · 界面默认中文(切换:`agentboot lang en`
3+
> **版本 v1.2.0** · 支持 Linux / macOS / Windows · 界面默认中文(切换:`agentboot lang en`
44
> 语言 / Language: 中文(本页) | [English](../en/install-guide.md)[根目录中文指南](../../安装指南.md)
55
> AgentBoot 是一个极简、极速、开箱即用的 AI Agent 启动器:内置保底 Agent,其余 Agent 通过菜单自选安装。离线能力以注册表和目标平台构建验证为准;Aider 与 OpenCode 当前仅在线安装,Hermes 必须在目标平台原生构建。
66
@@ -61,9 +61,9 @@ curl -fsSL https://bit-cook.github.io/AgentBoot/install.sh | sh
6161

6262
- **方式 A(推荐)**:到 GitHub Releases 下载现成的离线包
6363
`https://github.com/bit-cook/AgentBoot/releases` → 选择
64-
- `AgentBoot-offline-v1.1.0-win-x64-codex.zip`(Windows x64)
65-
- `AgentBoot-offline-v1.1.0-linux-x64-codex.tar.gz`(Linux x64)
66-
- `AgentBoot-offline-v1.1.0-linux-x64-codex-sfx.sh`(Linux x64 自解压单文件)
64+
- `AgentBoot-offline-v1.2.0-win-x64-codex.zip`(Windows x64)
65+
- `AgentBoot-offline-v1.2.0-linux-x64-codex.tar.gz`(Linux x64)
66+
- `AgentBoot-offline-v1.2.0-linux-x64-codex-sfx.sh`(Linux x64 自解压单文件)
6767
- **方式 B(自建)**:在有网的 Linux/macOS 或 Windows 机器上运行项目自带的构建脚本,
6868
自动从 npmmirror 镜像拉取全部 Agent 离线载荷并打包:
6969

@@ -83,9 +83,9 @@ curl -fsSL https://bit-cook.github.io/AgentBoot/install.sh | sh
8383
| 目标机器情况 | 解压方法 |
8484
|---|---|
8585
| **Windows(任意版本)** | 直接**右键 ZIP → 全部解压缩**。Windows 资源管理器自带 ZIP 支持,无需安装任何软件 |
86-
| **Windows 10/11(命令行党)** | 系统自带 `tar``tar -xf AgentBoot-offline-v1.1.0-win-x64-codex.zip` |
87-
| **Linux x64** | 系统自带 `tar``tar -xzf AgentBoot-offline-v1.1.0-linux-x64-codex.tar.gz -C ~` |
88-
| **Linux x64 极简环境** | 用自解压单文件:`sh AgentBoot-offline-v1.1.0-linux-x64-codex-sfx.sh` |
86+
| **Windows 10/11(命令行党)** | 系统自带 `tar``tar -xf AgentBoot-offline-v1.2.0-win-x64-codex.zip` |
87+
| **Linux x64** | 系统自带 `tar``tar -xzf AgentBoot-offline-v1.2.0-linux-x64-codex.tar.gz -C ~` |
88+
| **Linux x64 极简环境** | 用自解压单文件:`sh AgentBoot-offline-v1.2.0-linux-x64-codex-sfx.sh` |
8989

9090
> 自解压包 `*-sfx.sh` 本身就是一个 shell 脚本 + 内嵌 base64 数据,`sh xxx-sfx.sh` 即自动解压并直接进入安装流程,非常适合只有最小化系统的服务器。
9191

install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
set -eu
1010

1111
REPO="bit-cook/AgentBoot"
12-
TAG="v1.1.0"
12+
TAG="v1.2.0"
1313
TARBALL="agentboot-online-${TAG}.tar.gz"
1414
BOOT_BASE="https://boot.ide.pub"
1515
GH="https://github.com/${REPO}/releases/download/${TAG}"
@@ -156,7 +156,7 @@ OLD_APP="${AB_ROOT}/app.old.$$"
156156
rm -rf "$NEW_APP" "$OLD_APP"
157157
mkdir -p "$NEW_APP"
158158
cp -R "${SRC_DIR}/." "$NEW_APP/"
159-
if [ ! -f "$NEW_APP/core/menu.py" ] || [ ! -f "$NEW_APP/core/agent.py" ]; then
159+
if [ ! -f "$NEW_APP/core/menu.py" ] || [ ! -f "$NEW_APP/core/agent.py" ] || [ ! -f "$NEW_APP/core/launch.py" ]; then
160160
err "安装包结构无效,保留现有版本"
161161
rm -rf "$NEW_APP"
162162
exit 1

0 commit comments

Comments
 (0)