# v0.28.1 Release Notes

> v0.28.0 -> v0.28.1

## Summary

Fixes a Gemini `generateContent` HTTP 400 by stripping JSON Schema meta keywords (`$schema`, `$ref`, `additionalProperties`, …) that its Schema proto rejects. Surfaces subagent streamed text to the parent event channel and reorders multiplexed SSE subscription to avoid initial-event loss. Adds a `reasoning_content` field to the message type and removes the `worker/` directory.

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

修正 Gemini `generateContent` HTTP 400：剝除其 Schema proto 不接受的 JSON Schema meta 關鍵字（`$schema`、`$ref`、`additionalProperties` 等）。將 subagent 串流文字轉發至 parent event channel，並調整多工 SSE 訂閱順序以避免初始事件遺失。訊息型別新增 `reasoning_content` 欄位，並移除 `worker/` 目錄。

</details>

## Changes

### FEAT
- Add `reasoning_content` field to `Message` type for reasoning-model output (@pardnchiu) [d32d75c]

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

- 訊息型別新增 `reasoning_content` 欄位以承載 reasoning model 輸出

</details>

### FIX
- Strip unsupported JSON Schema keywords (`$schema`, `$ref`, `$defs`, `additionalProperties`, …) from Gemini tool params to prevent `generateContent` HTTP 400 (@pardnchiu) [0a2d191]
- Forward subagent `EventText`/`EventTextDone` to parent so streamed text is no longer dropped (@pardnchiu) [de37b60]
- Reorder multiplexed SSE subscription to after the connected-event flush to prevent initial event loss; suppress duplicate agent-result line in TUI render (@pardnchiu) [de37b60]

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

- 剝除 Gemini 工具參數中不支援的 JSON Schema 關鍵字（`$schema`、`$ref`、`$defs`、`additionalProperties` 等），修正 `generateContent` HTTP 400
- 將 subagent `EventText`／`EventTextDone` 轉發至 parent，串流文字不再遺失
- 調整多工 SSE 訂閱至 connected 事件 flush 之後，避免初始事件遺失；抑制 TUI 重複的 agent-result 行

</details>

### REMOVE
- Remove the `worker/` directory (@pardnchiu) [d32d75c]

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

- 移除 `worker/` 目錄

</details>

## Scope

- `internal/agents/provider/gemini/` — FIX (`send.go`)
- `internal/agents/types/` — FEAT (`message.go`)
- `internal/agents/exec/` — FIX (`execWithSubagent.go`)
- `internal/runtime/routes/handler/` — FIX (`multilog.go`)
- `internal/runtime/tui/` — FIX (`viewRender.go`)
- `internal/session/summary/` — FEAT (`summary.go`)
- `worker/` — REMOVE (directory removed)

***

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