# v0.21.1 Release Notes

> v0.21.0 -> v0.21.1

## Summary

Plumbs the binary as its own updater so each release can refresh in place from the runtime. The TUI grows a complete session-administration surface where slash commands now cover lifecycle, persona, model setup, and Discord enablement. Background refinements drop a legacy listing command, auto-detect external CLI agents, and gate prior session state behind an opt-in prompt.

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

把 binary 自己接上 self-update 路徑，每次發布皆可由 runtime 原地刷新。TUI 長出完整的 session 管理介面，slash command 涵蓋生命週期、persona、model 設定與 Discord 啟用。背景收斂移除舊有列表命令、自動偵測外部 CLI agent，並將歷史載入收為 opt-in 確認。

</details>

## Changes

### FEAT
- Add self-update command for CLI, TUI, and Makefile (@pardnchiu) [faa65dc]
- Add per-session model and reasoning selection (@pardnchiu) [4ad2ab9]
- Auto-detect external CLI agents from PATH (@pardnchiu) [b53ce9c]
- Add `/bot` command to edit current session bot.md (@pardnchiu) [17e9463]
- Add Discord enable flow with config-based daemon reload (@pardnchiu) [b5fdeee]
- Add model re-auth checks and session creation command (@pardnchiu) [53834f3]
- Add `/new` command to create and switch CLI sessions (@pardnchiu) [6cd5efe]

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

- 新增 `agen update` 命令，CLI、TUI 與 Makefile 三條入口可從 runtime 直接 self-update
- 新增 per-session model 與 reasoning 設定
- 自動從 PATH 偵測外部 CLI agent（codex／claude／copilot／gemini）
- 新增 `/bot` 命令以 `$EDITOR` 編輯當前 session 的 `bot.md`
- 新增 Discord 啟用流程，daemon 透過 config fsnotify 熱重載
- 新增 model 重新驗證檢查與 session 建立命令
- 新增 `/new` 命令建立並切換新的 CLI session

</details>

### UPDATE
- Ask before loading previous session history (@pardnchiu) [7d6cb6e]
- Default the load-history popup to No (@pardnchiu) [7b992a8]

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

- 啟動時不再自動載入舊 session 歷史，改先彈 popup 詢問
- 「Load previous session history?」popup 預設游標移至 No，避免誤按 Enter 自動載入

</details>

### REFACTOR
- Pass cwd into TUI event rendering and search log formatting (@pardnchiu) [f6b463f]

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

- 把 cwd 一路傳進 TUI 事件渲染與 log 搜尋格式化，避免依賴 process-wide state

</details>

### REMOVE
- Remove `agen skill` CLI command and `make skill` / `make test` shortcuts (@pardnchiu) [7b992a8]
- Remove `/model-list` command from TUI (@pardnchiu) [6ab60ac]

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

- 移除 `agen skill` 子命令與 `make skill`／`make test` 捷徑（skill 系統本體保留，agent 透過 `activate_skill` 與 `/<skill-name>` 仍可用）
- TUI 移除 `/model-list` 命令

</details>

### DOC
- Update install and CLI documentation (@pardnchiu) [cd5ca06]

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

- 同步 wiki／CLAUDE.md 至最新 dispatch 表（移 skill、加 stop／update）

</details>

***

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