# v1.1.4 Release Notes

> v1.1.3 -> v1.1.4

## Summary

Hands the claude-code provider over to the shared LLM router library, leaving Agenvoy with only the enable gate and the session-level cache policy. Fixes page fetching that stayed headless when a visible browser was requested, and repositions the README as a self-hosted personal agent.

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

將 claude-code provider 移交給共用的 LLM router 函式庫，Agenvoy 只保留啟用閘門與 session 層級的快取策略。修正要求開啟可見瀏覽器時網頁擷取仍維持無頭模式的問題，並將 README 重新定位為自架的個人代理。

</details>

## Changes

### FIX

- Fix `fetch_page` with `headless: false` being forced into headless-only mode; it now opens a visible browser directly when a display exists, while the default still tries headless first (@pardnchiu) [c74d5b35, 0ffdf8e3]
- Stop truncating claude-code tool calls whose JSON arguments contain a literal `</tool_call>`; arguments are now read as a complete JSON value before matching the closing tag (@pardnchiu) [ac080005]

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

- 修正 `fetch_page` 指定 `headless: false` 時反而被強制為僅無頭模式；現在有顯示器時直接開啟可見瀏覽器，預設仍先嘗試無頭模式
- claude-code 的 tool call 參數 JSON 內含 `</tool_call>` 字串時不再被截斷；改為先解析完整 JSON 值再比對閉合標籤

</details>

### REFACTOR

- Move the claude-code provider (process pool, resume, rendering, models and usage) into go-llm-router; Agenvoy keeps `EnableClaudeCode` in agent types, passes the sessions directory as `StateDir`, and sets the 1-hour cache TTL through the request context when the session's model and reasoning are both fixed (@pardnchiu) [ac080005]

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

- 將 claude-code provider（程序池、resume、訊息轉換、模型列表與用量）移至 go-llm-router；Agenvoy 將 `EnableClaudeCode` 保留於 agent types，以 sessions 目錄作為 `StateDir` 傳入，並在 session 的 model 與 reasoning 皆固定時經由 request context 設定 1 小時快取 TTL

</details>

### CHORE

- Upgrade go-llm-router from v0.8.3 to v0.9.1 (@pardnchiu) [c74d5b35, ac080005]
- Upgrade go-browser from v0.3.2 to v0.3.3 (@pardnchiu) [0ffdf8e3]

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

- 升級 go-llm-router 由 v0.8.3 至 v0.9.1
- 升級 go-browser 由 v0.3.2 至 v0.3.3

</details>

## Scope

- `internal/agents/claudeCode/` — REFACTOR, UPDATE, FIX (removed)
- `internal/agents/` — REFACTOR (`types/agent.go`, `keychain/keychain.go`, `probe/probe.go`, `exec/execute.go`)
- `internal/app/` — REFACTOR (`agentRegistry.go`, `spawnDaemon.go`)
- `internal/runtime/` — REFACTOR (multiple files)
- `internal/session/usage/` — REFACTOR (`record.go`)
- `internal/utils/` — REFACTOR (`event.go`)
- `cmd/app/` — REFACTOR (`main.go`, `tui.go`)
- `configs/` — REFACTOR (`configs.go`, `prompts/claude_code/`)
- `internal/tools/fetchPage/` — FIX (`fetchPage.go`)
- `go.mod` — FIX, CHORE
- `README.md`, `doc/README.zh.md` — DOC

---

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