# v1.3.6 Release Notes

> v1.3.5 -> v1.3.6

## Summary

Fixes logged-in page fetches on Linux, which failed with a generic 503 before ever reaching the page, and makes local setup failures report their real cause instead. Splits reading from saving so page fetches only read, while downloads handle both files and rendered pages.

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

修正 Linux 上帶登入狀態抓取網頁時，尚未開到頁面就以通用 503 失敗的問題，本機設定錯誤改為回報實際原因。讀取與存檔分開：抓取網頁只負責讀取，下載同時處理檔案與渲染後的網頁。

</details>

## Changes

### FIX

- Fix `fetch_page` with `same_session=true` failing on Linux by bumping `github.com/pardnchiu/go-browser` to v0.3.4: Linux `v11` cookies are decrypted with the keyring password (GNOME Keyring via `secret-tool`, KDE via KWallet), Linux uses its own key derivation, and undecryptable cookies are skipped instead of injected as garbage (@pardnchiu) [0df26cd7]
- Return the underlying cause of local `fetch_page` failures (cookies, keyring, profile, browser launch) instead of `fetch failed [503]`, and stop recording them as an unavailable site (@pardnchiu) [0df26cd7]
- Fix `type=json` always returning empty content by reading the title and tree from the serialized result (@pardnchiu) [0df26cd7]

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

- 修正 Linux 上 `fetch_page` 在 `same_session=true` 時失敗：升級 `github.com/pardnchiu/go-browser` 至 v0.3.4，Linux 的 `v11` Cookie 以 keyring 密碼解密（GNOME Keyring 經 `secret-tool`、KDE 經 KWallet），Linux 使用自己的金鑰推導參數，解不開的 Cookie 直接略過、不再注入亂碼
- `fetch_page` 的本機失敗（Cookie、keyring、profile、瀏覽器啟動）改為回傳底層原因，不再只回 `fetch failed [503]`，也不再把該網站記為不可用
- 修正 `type=json` 一律回傳空內容：改從序列化結果讀取標題與結構樹

</details>

### UPDATE

- Move page saving from `fetch_page` to `download_file`: `save` and `save_to` are removed from `fetch_page`, and `download_file` gains `render` and `type` to save a browser-rendered page as markdown, html or json (@pardnchiu) [0df26cd7]
- Add `scroll` to `fetch_page` (0–20, default 3) so the agent sets how far to load lazy content (@pardnchiu) [0df26cd7]
- Rewrite the `fetch_page` description and parameter docs (@pardnchiu) [0df26cd7]

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

- 存檔功能由 `fetch_page` 移至 `download_file`：`fetch_page` 移除 `save` 與 `save_to`，`download_file` 新增 `render` 與 `type`，可把瀏覽器渲染後的網頁存成 markdown、html 或 json
- `fetch_page` 新增 `scroll`（0–20，預設 3），由 agent 決定延遲載入內容要捲動幾次
- 改寫 `fetch_page` 的描述與參數說明

</details>

### DOC

- Drop the free ollama-cloud recommendation and make GitHub Copilot ($10/mo) the lowest-cost recommended setup, since Ollama Cloud's Free plan became pay-as-you-go on 2026-11-09 (@pardnchiu) [a1a83dbc]

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

- 移除 ollama-cloud 免費方案推薦，最低推薦改為 GitHub Copilot（$10/月），原因是 Ollama Cloud 的 Free 方案自 2026-11-09 起改為 pay-as-you-go

</details>

## Scope

- `internal/tools/fetchPage/` — FIX, UPDATE (`fetchPage.go`)
- `internal/tools/` — UPDATE (`downloadFile.go`)
- `internal/tools/file/boundary/` — UPDATE (`boundary.go`)
- `go.mod`, `go.sum` — FIX
- `README.md`, `doc/` — DOC

---

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