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.
翻譯
修正 Gemini generateContent HTTP 400:剝除其 Schema proto 不接受的 JSON Schema meta 關鍵字($schema、$ref、additionalProperties 等)。將 subagent 串流文字轉發至 parent event channel,並調整多工 SSE 訂閱順序以避免初始事件遺失。訊息型別新增 reasoning_content 欄位,並移除 worker/ 目錄。
Changes
FEAT
- Add
reasoning_contentfield toMessagetype for reasoning-model output (@pardnchiu) [d32d75c]
翻譯
- 訊息型別新增
reasoning_content欄位以承載 reasoning model 輸出
FIX
- Strip unsupported JSON Schema keywords (
$schema,$ref,$defs,additionalProperties, …) from Gemini tool params to preventgenerateContentHTTP 400 (@pardnchiu) [0a2d191] - Forward subagent
EventText/EventTextDoneto 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]
翻譯
- 剝除 Gemini 工具參數中不支援的 JSON Schema 關鍵字(
$schema、$ref、$defs、additionalProperties等),修正generateContentHTTP 400 - 將 subagent
EventText/EventTextDone轉發至 parent,串流文字不再遺失 - 調整多工 SSE 訂閱至 connected 事件 flush 之後,避免初始事件遺失;抑制 TUI 重複的 agent-result 行
REMOVE
- Remove the
worker/directory (@pardnchiu) [d32d75c]
翻譯
- 移除
worker/目錄
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