diff --git a/changelogs/cn.json b/changelogs/cn.json index f61bafca..fa38bd3d 100644 --- a/changelogs/cn.json +++ b/changelogs/cn.json @@ -1,4 +1,32 @@ [ + { + "version": "0.26.1", + "date": "2026-06-10", + "summary": "修复工具调用历史重放多处问题,补齐工具调用持久化与重放能力;新增状态栏 Token 缓存统计,消息导出支持多种格式。", + "changes": [ + { + "type": "feat", + "items": ["聊天状态栏新增 Token 缓存命中/未命中用量展示", "消息导出支持 TXT、JSON、Markdown 多种格式"] + }, + { + "type": "fix", + "items": [ + "支持持久化并重放对话中的工具调用记录,保持多轮 AI 上下文完整性", + "修复工具调用无文字输出的 assistant 轮次被历史重放过滤导致工具结果丢失的问题", + "修复连续导出同一会话时文件名冲突导致静默覆盖的问题", + "【桌面端】修复大型会话导出因 60 秒 IPC 超时提前失败的问题", + "修复 DeepSeek 工具调用轮次的 reasoning_content 未随历史重放", + "修复历史压缩时重放工具结果的 token 数未被正确计入", + "修复工具结果传给模型的文本中包含不应暴露的原始消息数据", + "修复工具面板点击外部区域时未自动关闭" + ] + }, + { + "type": "refactor", + "items": ["提取会话页面顶部栏为共享组件"] + } + ] + }, { "version": "0.26.0", "date": "2026-06-10", diff --git a/changelogs/cn.md b/changelogs/cn.md index 6a62e38e..3d6793fe 100644 --- a/changelogs/cn.md +++ b/changelogs/cn.md @@ -1,5 +1,29 @@ # 更新日志 +## v0.26.1 (2026-06-10) + +> 修复工具调用历史重放多处问题,补齐工具调用持久化与重放能力;新增状态栏 Token 缓存统计,消息导出支持多种格式。 + +### ✨ 新功能 + +- 聊天状态栏新增 Token 缓存命中/未命中用量展示 +- 消息导出支持 TXT、JSON、Markdown 多种格式 + +### 🐛 修复 + +- 支持持久化并重放对话中的工具调用记录,保持多轮 AI 上下文完整性 +- 修复工具调用无文字输出的 assistant 轮次被历史重放过滤导致工具结果丢失的问题 +- 修复连续导出同一会话时文件名冲突导致静默覆盖的问题 +- 【桌面端】修复大型会话导出因 60 秒 IPC 超时提前失败的问题 +- 修复 DeepSeek 工具调用轮次的 reasoning_content 未随历史重放 +- 修复历史压缩时重放工具结果的 token 数未被正确计入 +- 修复工具结果传给模型的文本中包含不应暴露的原始消息数据 +- 修复工具面板点击外部区域时未自动关闭 + +### ♻️ 重构 + +- 提取会话页面顶部栏为共享组件 + ## v0.26.0 (2026-06-10) > 新增 AI 分析规划器,优化系统提示词,支持流式结构化计划生成与图表规划集成;优化图表模式工具可用性,修复多处 AI 与导入问题。 diff --git a/changelogs/en.json b/changelogs/en.json index 8838bd5e..f9d0e5c8 100644 --- a/changelogs/en.json +++ b/changelogs/en.json @@ -1,4 +1,35 @@ [ + { + "version": "0.26.1", + "date": "2026-06-10", + "summary": "Fix several tool-call history replay issues and complete tool-call persistence and replay support; add Token cache usage stats to the status bar and support multiple export formats.", + "changes": [ + { + "type": "feat", + "items": [ + "Add Token cache hit/miss usage display to the chat status bar", + "Support TXT, JSON, and Markdown export formats" + ] + }, + { + "type": "fix", + "items": [ + "Persist and replay tool calls across conversation turns to maintain multi-turn AI context", + "Fix tool-only assistant turns being filtered out during history replay, causing tool results to be lost", + "Fix repeated exports of the same session silently overwriting the previous file due to a deterministic filename", + "Desktop: Fix large session exports failing prematurely due to the 60-second IPC timeout", + "Fix DeepSeek tool-call turns not replaying `reasoning_content` in history", + "Fix replayed tool results not being counted correctly in history compression token accounting", + "Fix raw message data leaking into the tool result text sent to the model", + "Fix the tool panel not closing when clicking outside" + ] + }, + { + "type": "refactor", + "items": ["Extract the session page header into a shared component"] + } + ] + }, { "version": "0.26.0", "date": "2026-06-10", diff --git a/changelogs/en.md b/changelogs/en.md index e8ba75ae..dbeffeb6 100644 --- a/changelogs/en.md +++ b/changelogs/en.md @@ -1,5 +1,29 @@ # Changelog +## v0.26.1 (2026-06-10) + +> Fix several tool-call history replay issues and complete tool-call persistence and replay support; add Token cache usage stats to the status bar and support multiple export formats. + +### ✨ Features + +- Add Token cache hit/miss usage display to the chat status bar +- Support TXT, JSON, and Markdown export formats + +### 🐛 Bug Fixes + +- Persist and replay tool calls across conversation turns to maintain multi-turn AI context +- Fix tool-only assistant turns being filtered out during history replay, causing tool results to be lost +- Fix repeated exports of the same session silently overwriting the previous file due to a deterministic filename +- Desktop: Fix large session exports failing prematurely due to the 60-second IPC timeout +- Fix DeepSeek tool-call turns not replaying `reasoning_content` in history +- Fix replayed tool results not being counted correctly in history compression token accounting +- Fix raw message data leaking into the tool result text sent to the model +- Fix the tool panel not closing when clicking outside + +### ♻️ Refactoring + +- Extract the session page header into a shared component + ## v0.26.0 (2026-06-10) > Add an AI analysis planner with streaming structured plan generation and chart planning integration; improve chart mode tool availability and fix several AI and import issues. diff --git a/changelogs/ja.json b/changelogs/ja.json index 7b5123eb..4bb45298 100644 --- a/changelogs/ja.json +++ b/changelogs/ja.json @@ -1,4 +1,35 @@ [ + { + "version": "0.26.1", + "date": "2026-06-10", + "summary": "ツール呼び出し履歴の再生に関する複数の問題を修正し、ツール呼び出しの永続化と再生に対応。ステータスバーへの Token キャッシュ統計表示とメッセージの複数形式エクスポートを追加。", + "changes": [ + { + "type": "feat", + "items": [ + "チャットステータスバーに Token キャッシュのヒット/ミス使用量を表示", + "メッセージのエクスポートで TXT・JSON・Markdown 形式に対応" + ] + }, + { + "type": "fix", + "items": [ + "ツール呼び出し記録の永続化と再生に対応し、複数ターンの AI コンテキストを維持", + "テキスト出力のないアシスタントターンが履歴再生でフィルタリングされ、ツール結果が失われる問題を修正", + "同一セッションを連続エクスポートする際、ファイル名の衝突でサイレント上書きされる問題を修正", + "Desktop: 大規模セッションのエクスポートが 60 秒の IPC タイムアウトで失敗する問題を修正", + "DeepSeek のツール呼び出しターンで reasoning_content が履歴再生されない問題を修正", + "履歴圧縮時にリプレイされたツール結果の token 数が正しく計上されない問題を修正", + "ツール結果としてモデルに送信されるテキストに、公開すべきでない生メッセージデータが含まれる問題を修正", + "ツールパネルが外側クリックで自動的に閉じない問題を修正" + ] + }, + { + "type": "refactor", + "items": ["セッションページのヘッダーを共有コンポーネントとして切り出し"] + } + ] + }, { "version": "0.26.0", "date": "2026-06-10", diff --git a/changelogs/ja.md b/changelogs/ja.md index 9398e5d4..339a0730 100644 --- a/changelogs/ja.md +++ b/changelogs/ja.md @@ -1,5 +1,29 @@ # 変更履歴 +## v0.26.1 (2026-06-10) + +> ツール呼び出し履歴の再生に関する複数の問題を修正し、ツール呼び出しの永続化と再生に対応。ステータスバーへの Token キャッシュ統計表示とメッセージの複数形式エクスポートを追加。 + +### ✨ 新機能 + +- チャットステータスバーに Token キャッシュのヒット/ミス使用量を表示 +- メッセージのエクスポートで TXT・JSON・Markdown 形式に対応 + +### 🐛 バグ修正 + +- ツール呼び出し記録の永続化と再生に対応し、複数ターンの AI コンテキストを維持 +- テキスト出力のないアシスタントターンが履歴再生でフィルタリングされ、ツール結果が失われる問題を修正 +- 同一セッションを連続エクスポートする際、ファイル名の衝突でサイレント上書きされる問題を修正 +- Desktop: 大規模セッションのエクスポートが 60 秒の IPC タイムアウトで失敗する問題を修正 +- DeepSeek のツール呼び出しターンで reasoning_content が履歴再生されない問題を修正 +- 履歴圧縮時にリプレイされたツール結果の token 数が正しく計上されない問題を修正 +- ツール結果としてモデルに送信されるテキストに、公開すべきでない生メッセージデータが含まれる問題を修正 +- ツールパネルが外側クリックで自動的に閉じない問題を修正 + +### ♻️ リファクタリング + +- セッションページのヘッダーを共有コンポーネントとして切り出し + ## v0.26.0 (2026-06-10) > AI 分析プランナーを追加し、ストリーミング形式の構造化プラン生成とチャート計画の連携に対応。チャートモードのツール可用性を改善し、AI とインポートに関する複数の問題を修正しました。 diff --git a/changelogs/tw.json b/changelogs/tw.json index 27350e27..9a9901a0 100644 --- a/changelogs/tw.json +++ b/changelogs/tw.json @@ -1,4 +1,32 @@ [ + { + "version": "0.26.1", + "date": "2026-06-10", + "summary": "修正工具呼叫歷史重播多項問題,補齊工具呼叫持久化與重播能力;狀態列新增 Token 快取統計,訊息匯出支援多種格式。", + "changes": [ + { + "type": "feat", + "items": ["聊天狀態列新增 Token 快取命中/未命中用量顯示", "訊息匯出支援 TXT、JSON、Markdown 多種格式"] + }, + { + "type": "fix", + "items": [ + "支援持久化並重播對話中的工具呼叫記錄,保持多輪 AI 上下文完整性", + "修正工具呼叫無文字輸出的 assistant 輪次被歷史重播過濾,導致工具結果遺失的問題", + "修正連續匯出同一會話時,因檔名衝突導致靜默覆蓋的問題", + "【桌面版】修正大型會話匯出因 60 秒 IPC 逾時提前失敗的問題", + "修正 DeepSeek 工具呼叫輪次的 reasoning_content 未隨歷史重播", + "修正歷史壓縮時重播工具結果的 token 數未被正確計入", + "修正工具結果傳給模型的文字中包含不應暴露的原始訊息資料", + "修正工具面板在點擊外部區域時未自動關閉" + ] + }, + { + "type": "refactor", + "items": ["將會話頁面頂部列提取為共用元件"] + } + ] + }, { "version": "0.26.0", "date": "2026-06-10", diff --git a/changelogs/tw.md b/changelogs/tw.md index c421fe9e..139c7972 100644 --- a/changelogs/tw.md +++ b/changelogs/tw.md @@ -1,5 +1,29 @@ # 更新日誌 +## v0.26.1 (2026-06-10) + +> 修正工具呼叫歷史重播多項問題,補齊工具呼叫持久化與重播能力;狀態列新增 Token 快取統計,訊息匯出支援多種格式。 + +### ✨ 新功能 + +- 聊天狀態列新增 Token 快取命中/未命中用量顯示 +- 訊息匯出支援 TXT、JSON、Markdown 多種格式 + +### 🐛 修復 + +- 支援持久化並重播對話中的工具呼叫記錄,保持多輪 AI 上下文完整性 +- 修正工具呼叫無文字輸出的 assistant 輪次被歷史重播過濾,導致工具結果遺失的問題 +- 修正連續匯出同一會話時,因檔名衝突導致靜默覆蓋的問題 +- 【桌面版】修正大型會話匯出因 60 秒 IPC 逾時提前失敗的問題 +- 修正 DeepSeek 工具呼叫輪次的 reasoning_content 未隨歷史重播 +- 修正歷史壓縮時重播工具結果的 token 數未被正確計入 +- 修正工具結果傳給模型的文字中包含不應暴露的原始訊息資料 +- 修正工具面板在點擊外部區域時未自動關閉 + +### ♻️ 重構 + +- 將會話頁面頂部列提取為共用元件 + ## v0.26.0 (2026-06-10) > 新增 AI 分析規劃器,支援流式結構化計畫產生與圖表規劃整合;改善圖表模式工具可用性,修正多項 AI 與匯入問題。 diff --git a/package.json b/package.json index f3075f6a..b8c605b0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ChatLab", - "version": "0.26.0", + "version": "0.26.1", "private": true, "description": "本地化的聊天记录分析工具,通过 SQL 和 AI Agent 回顾你的社交记忆", "repository": {