### 新功能
- **命名启动会话** - 在交互式、打印、JSON 和 RPC 模式下,启动前使用 `--name` / `-n` 设置会话显示名称。详见 [命名会话](https://github.com/earendil-works/pi/blob/v0.78.0/packages/coding-agent/docs/sessions.md#naming-sessions) 和 [会话选项](https://github.com/earendil-works/pi/blob/v0.78.0/packages/coding-agent/docs/usage.md#session-options)。
- **可点击的文件工具路径** - 当终端(包括支持的 tmux 客户端)支持时,内置文件工具标题将渲染 OSC 8 `file://` 超链接。
### 新增
- 为扩展作者导出 `convertToPng` ([#5167](https://github.com/earendil-works/pi/pull/5167) by [@xl0](https://github.com/xl0))。
- 为扩展作者导出 `parseArgs` 和类型 `Args` ([#5202](https://github.com/earendil-works/pi/pull/5202) by [@xl0](https://github.com/xl0))。
- 新增 `--name` / `-n` 用于在启动时设置会话显示名称 ([#5153](https://github.com/earendil-works/pi/issues/5153))。
- 退出交互式会话时新增恢复命令提示 ([#5176](https://github.com/earendil-works/pi/pull/5176) by [@yzhg1983](https://github.com/yzhg1983))。
- 在内置文件工具标题显示的文件路径中新增 OSC 8 `file://` 超链接 ([#5189](https://github.com/earendil-works/pi/pull/5189) by [@mpazik](https://github.com/mpazik))。
- 新增继承自 `@earendil-works/pi-ai` 的自定义 Amazon Bedrock 请求头支持 ([#5178](https://github.com/earendil-works/pi/pull/5178) by [@stephanmck](https://github.com/stephanmck))。
### 修复
- 澄清了 WezTerm/WSL IME 硬件光标的文档,明确光标可见性仍为可选开启 ([#5200](https://github.com/earendil-works/pi/issues/5200))。
- 修复了 GitLab Duo 自定义提供程序示例,使其为 Claude 模型使用自适应思考,暴露 xhigh 思考,并包含更新的已验证模型 ID ([#5201](https://github.com/earendil-works/pi/issues/5201))。
- 修复了 Bun 发布归档的创建过程,确保安装并复制匹配的 `@mariozechner/clipboard` 基础包及原生 sidecar ([#5184](https://github.com/earendil-works/pi/issues/5184))。
- 修复了提示符循环开始前输入的早期交互式输入,使其被缓冲而非丢弃 ([#5195](https://github.com/earendil-works/pi/pull/5195) by [@yzhg1983](https://github.com/yzhg1983))。
- 修复了 OpenRouter Moonshot Kimi K2.6 请求,使其使用 `system` 而非不受支持的 `developer` 消息 ([#5159](https://github.com/earendil-works/pi/issues/5159))。
- 修复了 OpenCode Go Kimi K2.6 思考请求,使其发送 `thinking` 对象而非无效字符串值;并修复了 OpenCode Zen Grok Build 思考请求,移除了不受支持的 `reasoning_effort` ([#5169](https://github.com/earendil-works/pi/issues/5169))。
- 修复了 OpenAI Codex Responses SSE 流,使其在终端事件后中止响应体读取。
- 修复了 OpenCode Kimi K2.6 生成的元数据,使其使用 Anthropic 风格的思考元数据,而非无效的 reasoning-effort 参数。
- 修复了 OSC 8 超链接,使其在客户端支持时能正确穿透 tmux ([#5189](https://github.com/earendil-works/pi/pull/5189) by [@mpazik](https://github.com/mpazik))。
- 修复了 ANSI 文本换行逻辑,避免在超长换行时发生栈溢出 ([#5185](https://github.com/earendil-works/pi/issues/5185))。
### New Features
- **Named startup sessions** - `--name` / `-n` sets the session display name before startup across interactive, print, JSON, and RPC modes. See [Naming Sessions](https://github.com/earendil-works/pi/blob/v0.78.0/packages/coding-agent/docs/sessions.md#naming-sessions) and [Session Options](https://github.com/earendil-works/pi/blob/v0.78.0/packages/coding-agent/docs/usage.md#session-options).
- **Clickable file tool paths** - built-in file tool titles render OSC 8 `file://` hyperlinks when the terminal supports them, including supported tmux clients.
### Added
- Exported `convertToPng` for extension authors ([#5167](https://github.com/earendil-works/pi/pull/5167) by [@xl0](https://github.com/xl0)).
- Exported `parseArgs` and type `Args` for extension authors ([#5202](https://github.com/earendil-works/pi/pull/5202) by [@xl0](https://github.com/xl0)).
- Added `--name` / `-n` to set the session display name at startup ([#5153](https://github.com/earendil-works/pi/issues/5153)).
- Added a resume command hint when exiting interactive sessions ([#5176](https://github.com/earendil-works/pi/pull/5176) by [@yzhg1983](https://github.com/yzhg1983)).
- Added OSC 8 `file://` hyperlinks to file paths shown in built-in file tool titles ([#5189](https://github.com/earendil-works/pi/pull/5189) by [@mpazik](https://github.com/mpazik)).
- Added custom Amazon Bedrock request header support inherited from `@earendil-works/pi-ai` ([#5178](https://github.com/earendil-works/pi/pull/5178) by [@stephanmck](https://github.com/stephanmck)).
### Fixed
- Clarified the WezTerm/WSL IME hardware cursor docs to state that cursor visibility remains opt-in ([#5200](https://github.com/earendil-works/pi/issues/5200)).
- Fixed the GitLab Duo custom provider example to use adaptive thinking for Claude models, expose xhigh thinking, and include newer verified model IDs ([#5201](https://github.com/earendil-works/pi/issues/5201)).
- Fixed Bun release archive creation to install and copy the matching `@mariozechner/clipboard` base package and native sidecars ([#5184](https://github.com/earendil-works/pi/issues/5184)).
- Fixed early interactive input typed before the prompt loop starts so it is buffered instead of dropped ([#5195](https://github.com/earendil-works/pi/pull/5195) by [@yzhg1983](https://github.com/yzhg1983)).
- Fixed OpenRouter Moonshot Kimi K2.6 requests to use `system` instead of unsupported `developer` messages ([#5159](https://github.com/earendil-works/pi/issues/5159)).
- Fixed OpenCode Go Kimi K2.6 thinking requests to send `thinking` objects instead of invalid string values, and fixed OpenCode Zen Grok Build thinking requests to omit unsupported `reasoning_effort` ([#5169](https://github.com/earendil-works/pi/issues/5169)).
- Fixed OpenAI Codex Responses SSE streams to abort response body reads after terminal events.
- Fixed OpenCode Kimi K2.6 generated metadata to use Anthropic-style thinking metadata instead of invalid reasoning-effort parameters.
- Fixed OSC 8 hyperlinks to pass through tmux when the client supports them ([#5189](https://github.com/earendil-works/pi/pull/5189) by [@mpazik](https://github.com/mpazik)).
- Fixed ANSI text wrapping to avoid stack overflows on very long wrapped lines ([#5185](https://github.com/earendil-works/pi/issues/5185)).