# v0.8.2 Release Notes

> v0.8.1 -> v0.8.2

## Summary

Returns Claude and Codex model discovery to each provider's own authenticated catalog, so listings track upstream availability directly. Tool call construction now shares a single named function type across providers.

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

Claude 與 Codex 的模型清單改回由各供應商需驗證的官方目錄提供，清單直接反映上游可用模型。各 provider 建構 tool call 時改用共用的具名 function 型別。

</details>

## Changes

### UPDATE

- Revert Claude model listing to the Anthropic models API and Codex model listing to the ChatGPT Codex models endpoint, resolving `client_version` from the latest `@openai/codex` npm release and keeping only `visibility: list` models; both now require `Config.APIKey` again (@pardnchiu) [10a1ab2]

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

- Claude 模型清單改回 Anthropic models API，Codex 模型清單改回 ChatGPT Codex models 端點，`client_version` 取自 `@openai/codex` 在 npm 的最新版本並只保留 `visibility: list` 的模型；兩者再度需要 `Config.APIKey`

</details>

### REFACTOR

- Extract `ToolCallFunction` as a named type for `ToolCall.Function` and build tool calls as single literals in the Claude, Gemini, Copilot, xAI and Codex providers (@pardnchiu) [10a1ab2]

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

- 將 `ToolCall.Function` 抽出為具名型別 `ToolCallFunction`，Claude、Gemini、Copilot、xAI 與 Codex provider 改以單一 literal 建構 tool call

</details>

## Scope

- `core/` — REFACTOR (`type.go`)
- `core/claude/` — UPDATE, REFACTOR (`models.go`, `send.go`)
- `core/openaiCodex/` — UPDATE, REFACTOR (`models.go`, `send.go`)
- `core/gemini/` — REFACTOR (`send.go`)
- `core/copilot/response/` — REFACTOR (`responses.go`)
- `core/xai/` — REFACTOR (`responses.go`)

***

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