v1.3.11

v0.17.4 Release Notes

Released


v0.17.3 -> v0.17.4

Summary


This release hardens summary generation, improves tool fallback behavior, adds OpenAI Codex support, restores Yahoo Finance tooling, and expands file/scheduler capabilities across CLI, server, and Discord flows.
翻譯此版本強化了摘要生成流程、補強工具 fallback 行為、新增 OpenAI Codex 支援、恢復 Yahoo Finance 工具,並擴充 CLI、server、Discord 端的檔案與排程能力。

Changes


FEAT

  • Add OpenAI Codex OAuth provider support and wire it into agent registry and CLI provider setup
  • Add local image reading support and inject image content into tool and session flows
  • Add Yahoo Finance Go tool implementation and register native finance endpoints

翻譯
  • 新增 OpenAI Codex OAuth provider,並串接到 agent registry 與 CLI provider 設定流程
  • 新增本地圖片讀取能力,並將圖片內容注入工具與 session 流程
  • 新增 Yahoo Finance Go 工具實作,並註冊原生財經查詢端點


FIX

  • Fix summary generation reliability in CLI by completing summary work before final completion signaling
  • Fix summary parsing and prompt contract so models return valid <summary> JSON blocks consistently
  • Fix event logging crashes when tool execution errors do not include Err
  • Fix tool fallback handling for search_history and fetch_google_rss when models send query instead of keyword
  • Fix stale discussion_log retention by filtering entries older than the oldest active context
  • Fix scheduler task and cron flows with nil-safe operations and more complete CRUD coverage

翻譯
  • 修正 CLI 摘要生成可靠性,改為在最終完成訊號前先完成摘要處理
  • 修正摘要 prompt 與 parser 契約,讓模型穩定回傳合法的 <summary> JSON 區塊
  • 修正工具執行錯誤事件未帶 Err 時造成的 event logging crash
  • 修正 search_history 與 fetch_google_rss 在模型誤傳 query 而非 keyword 時的 fallback 行為
  • 修正 discussion_log 過舊項目殘留問題,會依目前上下文最早訊息過濾
  • 修正 scheduler task 與 cron 流程中的 nil-safe 問題,並補齊 CRUD 能力


UPDATE

  • Update system prompt rules for news retrieval with mandatory fallback windows 1h -> 24h -> 7d -> search_web
  • Update CLI runtime output to normalize line rendering and expose summary-generation progress
  • Update Discord and HTTP summary generation to clone histories before async processing
  • Update HTTP request handling to support extra system prompt injection and temp session management

翻譯
  • 更新 system prompt 的新聞查詢規則,強制採用 1h -> 24h -> 7d -> search_web fallback
  • 更新 CLI 執行輸出,統一換行處理並顯示摘要整理進度
  • 更新 Discord 與 HTTP 的摘要生成流程,改為先複製 histories 再進行非同步摘要
  • 更新 HTTP request handling,支援額外 system prompt 注入與臨時 session 管理


REFACTOR

  • Refactor summary extraction by moving generation into a dedicated workflow and simplifying legacy extraction logic
  • Refactor provider initialization by trimming unused token fields and simplifying provider startup paths
  • Refactor Yahoo Finance integration from split JSON API definitions back to native concurrent fetch logic
  • Refactor scheduler tool registration and internal execution paths for clearer behavior boundaries

翻譯
  • 重構摘要擷取流程,將摘要生成抽成獨立流程並簡化舊有 extraction 邏輯
  • 重構 provider 初始化,移除未使用 token 欄位並簡化 provider 啟動路徑
  • 重構 Yahoo Finance 整合,從拆分 JSON API 定義改回原生並行抓取邏輯
  • 重構 scheduler tool 註冊與內部執行流程,讓行為邊界更清楚


ADD

  • Add Codex provider metadata and embedded provider configuration entries
  • Add session summary persistence helpers and summary path management
  • Add task listing support and extend scheduler delete/get/update handlers

翻譯
  • 新增 Codex provider metadata 與內嵌 provider 設定
  • 新增 session summary 持久化 helper 與 summary 路徑管理
  • 新增 task list 支援,並擴充 scheduler 的 delete/get/update handlers


DOC

  • Update agent selector, summary prompt, system prompt, and schedule-task skill documentation to match new routing and summary behavior

翻譯
  • 更新 agent selector、summary prompt、system prompt 與 schedule-task skill 文件,使其符合新的 routing 與摘要行為


CHORE

  • Remove deprecated Yahoo Finance extension API JSON files and obsolete CLI printTool helper
  • Adjust embedded provider definitions and config assets for the new provider mix

翻譯
  • 移除已棄用的 Yahoo Finance extension API JSON 檔與舊版 CLI printTool helper
  • 調整內嵌 provider 定義與設定資產,以配合新的 provider 組合




Files Changed


FileStatusTag
cmd/app/main.goModifiedFEAT
cmd/cli/addProvider.goModifiedFEAT
cmd/cli/embed/providers.jsonModifiedADD
cmd/cli/getAgentRegistry.goModifiedFEAT
cmd/cli/main.goModifiedFEAT
cmd/cli/printTool.goDeletedREMOVE
cmd/cli/runEvents.goModifiedUPDATE
cmd/server/main.goModifiedFEAT
configs/configs.goModifiedADD
configs/jsons/providors/claude.jsonModifiedCHORE
configs/jsons/providors/codex.jsonAddedADD
configs/jsons/providors/copilot.jsonModifiedCHORE
configs/jsons/providors/gemini.jsonModifiedCHORE
configs/jsons/providors/nvidia.jsonModifiedCHORE
configs/jsons/providors/openai.jsonModifiedCHORE
configs/prompts/agent_selector.mdModifiedDOC
configs/prompts/summary_prompt.mdModifiedDOC
configs/prompts/system_prompt.mdModifiedDOC
extensions/apis/yahoo-finance-1.jsonDeletedREMOVE
extensions/apis/yahoo-finance-2.jsonDeletedREMOVE
extensions/skills/schedule-task/SKILL.mdModifiedDOC
internal/agents/exec/execute.goModifiedFIX
internal/agents/exec/extractSummary.goModifiedREFACTOR
internal/agents/exec/generateSummary.goAddedFIX
internal/agents/exec/getSession.goModifiedFIX
internal/agents/exec/run.goModifiedFIX
internal/agents/exec/toolCall.goModifiedREFACTOR
internal/agents/provider/claude/new.goModifiedCHORE
internal/agents/provider/claude/send.goModifiedUPDATE
internal/agents/provider/compat/new.goModifiedCHORE
internal/agents/provider/copilot/new.goModifiedCHORE
internal/agents/provider/gemini/new.goModifiedCHORE
internal/agents/provider/gemini/send.goModifiedUPDATE
internal/agents/provider/nvidia/new.goModifiedCHORE
internal/agents/provider/openai/new.goModifiedCHORE
internal/agents/provider/openaiCodex/login.goAddedFEAT
internal/agents/provider/openaiCodex/new.goAddedFEAT
internal/agents/provider/openaiCodex/refresh.goAddedFEAT
internal/agents/provider/openaiCodex/send.goAddedFEAT
internal/agents/provider/openaiCodex/type.goAddedFEAT
internal/agents/provider/provider.goModifiedREFACTOR
internal/agents/types/agent.goModifiedREFACTOR
internal/discord/messageCreate.goModifiedUPDATE
internal/discord/run.goModifiedFIX
internal/discord/session.goModifiedUPDATE
internal/routes/handler/send.goModifiedUPDATE
internal/scheduler/crons/delete.goModifiedFIX
internal/scheduler/crons/get.goModifiedADD
internal/scheduler/crons/list.goModifiedUPDATE
internal/scheduler/crons/update.goModifiedFIX
internal/scheduler/tasks/delete.goModifiedFIX
internal/scheduler/tasks/list.goAddedADD
internal/scheduler/tasks/tasks.goModifiedUPDATE
internal/scheduler/tasks/update.goModifiedFIX
internal/session/session.goModifiedADD
internal/session/summary.goModifiedFIX
internal/tools/executor.goModifiedUPDATE
internal/tools/external/googleRSS/register.goModifiedFIX
internal/tools/external/yahooFinance/fetch.goAddedFEAT
internal/tools/external/yahooFinance/register.goAddedFEAT
internal/tools/file/readFile.goModifiedUPDATE
internal/tools/file/readImage.goAddedFEAT
internal/tools/file/register.goModifiedADD
internal/tools/file/searchHistory.goModifiedFIX
internal/tools/file/writeFile.goModifiedUPDATE
internal/tools/register.goModifiedADD
internal/tools/schedulerTools/register.goModifiedREFACTOR
internal/utils/utils.goModifiedFIX



Generated by SKILL