# v1.5.1 Release Notes

> v1.5.0 -> v1.5.1

## Summary

Tightens network and updater exposure by making LAN access an opt-in build choice and embedding the update script. The web UI splits into standalone pages, and the terminal launcher is generalized behind a shared command route. Prompt guides catch up with the latest UI framework.

<details>
<summary>翻譯</summary>

本版收緊網路與更新器的對外暴露：LAN 存取改為建置時才啟用，更新指令碼改為內嵌。網頁介面拆成獨立頁面，終端機啟動器則泛化為共用的指令路由。提示指南同步至最新的介面框架。

</details>

## Changes

### SECURITY

- Compile LAN access only into builds made with `make build ENABLE_LAN=1` (@pardnchiu) [8f3cb3c8]
  - Force the LAN listener and `lan_access` config off in default builds
  - Reject LAN access changes with 403 when the build has no LAN support
  - Expose `lan_available` in the config response
- Embed the update script in the binary instead of downloading it with curl (@pardnchiu) [40e5754f]

<details>
<summary>翻譯</summary>

- LAN 存取只編進以 `make build ENABLE_LAN=1` 建置的版本
  - 預設建置強制關閉 LAN 監聽與 `lan_access` 設定
  - 建置不含 LAN 支援時，變更 LAN 存取回傳 403
  - 設定回應新增 `lan_available`
- 更新指令碼改為內嵌於執行檔，不再以 curl 下載

</details>

### UPDATE

- Move the update route to `POST /v1/cmd/update` and add a Claude login launcher at `POST /v1/cmd/claude/login` (@pardnchiu) [dabc6008]
  - Generalize the terminal launcher to run any command on macOS, Linux and WSL
  - Return 404 when `claude` is not in PATH
  - Move `claude-code` in the provider list
- Serve monitor, config and features pages from `/monitor/*`, `/config/*` and `/features/*`, and hash-check them in the service worker (@pardnchiu) [dabc6008, af435239]
- Unify command failure hints for network and sandbox retries (@pardnchiu) [40e5754f]
- Sync prompt guides with QuickUI v1.0.0 and convert guide tables to lists (@pardnchiu) [465f717f]

<details>
<summary>翻譯</summary>

- 更新路由改為 `POST /v1/cmd/update`，並新增 `POST /v1/cmd/claude/login` 的 Claude 登入啟動器
  - 終端機啟動器泛化，可在 macOS、Linux 與 WSL 執行任意指令
  - `claude` 不在 PATH 時回傳 404
  - 調整供應商清單中 `claude-code` 的位置
- monitor、config、features 頁面改由 `/monitor/*`、`/config/*`、`/features/*` 提供，並在 service worker 中以雜湊檢查
- 統一網路與沙箱重試的指令失敗提示
- 提示指南同步至 QuickUI v1.0.0，並將指南表格改為清單

</details>

### REFACTOR

- Split the web UI monitor, config and features tabs into standalone pages and bump QuickUI to v1.0.0 and nanomd to 2.0.15 (@pardnchiu) [af435239]

<details>
<summary>翻譯</summary>

- 將網頁介面的 monitor、config、features 分頁拆成獨立頁面，並升級 QuickUI 至 v1.0.0、nanomd 至 2.0.15

</details>

### CHORE

- Bump `golang.org/x/crypto`, `x/sync`, `x/sys` and `x/text` (@pardnchiu) [40e5754f]

<details>
<summary>翻譯</summary>

- 升級 `golang.org/x/crypto`、`x/sync`、`x/sys`、`x/text`

</details>

## Scope

- `internal/runtime/routes/` — SECURITY, UPDATE, REFACTOR (`new.go`, `page.go`, `sw.go`, `handler/`)
- `configs/` — SECURITY, UPDATE (`lan_enabled.go`, `lan_disabled.go`, `scripts/update.sh`, `prompts/`)
- `cmd/app/` — SECURITY
- `internal/tools/command/` — UPDATE
- `internal/runtime/tui/` — SECURITY
- `makefile` — SECURITY
- `page/` — REFACTOR, UPDATE (multiple files)
- `go.mod`, `go.sum` — CHORE

---

Generated by [SKILL](https://github.com/pardnchiu/skill-version-generate)
