diff --git a/apps/cli/package.json b/apps/cli/package.json index 5b8390c0..0476dc82 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,6 +1,6 @@ { "name": "chatlab-cli", - "version": "0.37.1", + "version": "0.37.2", "description": "ChatLab CLI & Service - Chat history analysis tool", "type": "module", "bin": { diff --git a/changelogs/cn.json b/changelogs/cn.json index 49742b5a..84681025 100644 --- a/changelogs/cn.json +++ b/changelogs/cn.json @@ -1,4 +1,48 @@ [ + { + "version": "0.37.2", + "date": "2026-09-18", + "summary": "修复 AI 回复截断与停止后的续聊问题,完善表情识别、技能入口和下载安全校验。", + "changes": [ + { + "type": "feat", + "items": [ + { + "text": "词频与语言偏好分析支持识别抖音表情代码,避免表情名称混入高频词", + "contributors": ["babybitter"] + } + ] + }, + { + "type": "fix", + "items": [ + { + "text": "修复 AI 回复截断后部分入口丢失已生成内容或用量的问题,支持保存后继续对话" + }, + { + "text": "修复手动停止 AI 后已生成内容未保存、继续提问可能丢失上下文的问题", + "contributors": ["Sanssssssssssssssss"] + }, + { + "text": "修复停止 AI 请求后上下文压缩仍继续执行的问题,避免额外模型调用和摘要写入", + "contributors": ["Sanssssssssssssssss"] + }, + { + "text": "修复下载接口的文件名校验,防止文件被写入下载目录之外", + "contributors": ["ttsdj"] + } + ] + }, + { + "type": "refactor", + "items": [ + { + "text": "统一外部 Agent 的导入、转换和分析技能入口,按用户语言回复,并兼容已发布版本的旧导入安装命令" + } + ] + } + ] + }, { "version": "0.37.1", "date": "2026-09-04", diff --git a/changelogs/cn.md b/changelogs/cn.md index 58107d4e..701a9837 100644 --- a/changelogs/cn.md +++ b/changelogs/cn.md @@ -1,5 +1,24 @@ # 更新日志 +## v0.37.2 (2026-09-18) + +> 修复 AI 回复截断与停止后的续聊问题,完善表情识别、技能入口和下载安全校验。 + +### ✨ 新功能 + +- 词频与语言偏好分析支持识别抖音表情代码,避免表情名称混入高频词 (by [@babybitter](https://github.com/babybitter)) + +### 🐛 修复 + +- 修复 AI 回复截断后部分入口丢失已生成内容或用量的问题,支持保存后继续对话 +- 修复手动停止 AI 后已生成内容未保存、继续提问可能丢失上下文的问题 (by [@Sanssssssssssssssss](https://github.com/Sanssssssssssssssss)) +- 修复停止 AI 请求后上下文压缩仍继续执行的问题,避免额外模型调用和摘要写入 (by [@Sanssssssssssssssss](https://github.com/Sanssssssssssssssss)) +- 修复下载接口的文件名校验,防止文件被写入下载目录之外 (by [@ttsdj](https://github.com/ttsdj)) + +### ♻️ 重构 + +- 统一外部 Agent 的导入、转换和分析技能入口,按用户语言回复,并兼容已发布版本的旧导入安装命令 + ## v0.37.1 (2026-09-04) > 新增贡献者署名,优化 Docker 启动,并修复 AI 工具循环、文本统计和关系图资源占用。 diff --git a/changelogs/en.json b/changelogs/en.json index dda8c10b..7216f40c 100644 --- a/changelogs/en.json +++ b/changelogs/en.json @@ -1,4 +1,48 @@ [ + { + "version": "0.37.2", + "date": "2026-09-18", + "summary": "Fix issues resuming AI conversations after truncated or stopped replies, and improve emoji recognition, skill entry points, and download safety.", + "changes": [ + { + "type": "feat", + "items": [ + { + "text": "Recognize Douyin emoji codes in word frequency and language preference analysis so emoji names no longer appear as frequent words", + "contributors": ["babybitter"] + } + ] + }, + { + "type": "fix", + "items": [ + { + "text": "Fix cases where truncated AI replies lost generated content or token usage, allowing saved conversations to be continued" + }, + { + "text": "Save content received before an AI reply is stopped manually, preserving context for follow-up questions", + "contributors": ["Sanssssssssssssssss"] + }, + { + "text": "Cancel context compression when an AI request is stopped to prevent further model calls and summary writes", + "contributors": ["Sanssssssssssssssss"] + }, + { + "text": "Validate filenames in the download endpoint to prevent writes outside the downloads directory", + "contributors": ["ttsdj"] + } + ] + }, + { + "type": "refactor", + "items": [ + { + "text": "Unify external Agent skills for import, conversion, and analysis, follow the user's language, and retain compatibility with import skill installation commands from released versions" + } + ] + } + ] + }, { "version": "0.37.1", "date": "2026-09-04", diff --git a/changelogs/en.md b/changelogs/en.md index e0cd9675..718d7874 100644 --- a/changelogs/en.md +++ b/changelogs/en.md @@ -1,5 +1,24 @@ # Changelog +## v0.37.2 (2026-09-18) + +> Fix issues resuming AI conversations after truncated or stopped replies, and improve emoji recognition, skill entry points, and download safety. + +### ✨ Features + +- Recognize Douyin emoji codes in word frequency and language preference analysis so emoji names no longer appear as frequent words (by [@babybitter](https://github.com/babybitter)) + +### 🐛 Bug Fixes + +- Fix cases where truncated AI replies lost generated content or token usage, allowing saved conversations to be continued +- Save content received before an AI reply is stopped manually, preserving context for follow-up questions (by [@Sanssssssssssssssss](https://github.com/Sanssssssssssssssss)) +- Cancel context compression when an AI request is stopped to prevent further model calls and summary writes (by [@Sanssssssssssssssss](https://github.com/Sanssssssssssssssss)) +- Validate filenames in the download endpoint to prevent writes outside the downloads directory (by [@ttsdj](https://github.com/ttsdj)) + +### ♻️ Refactoring + +- Unify external Agent skills for import, conversion, and analysis, follow the user's language, and retain compatibility with import skill installation commands from released versions + ## v0.37.1 (2026-09-04) > Add contributor attribution, improve Docker startup, and fix AI tool loops, text statistics, and relationship graph resource usage. diff --git a/changelogs/ja.json b/changelogs/ja.json index 41019575..b82d7ac7 100644 --- a/changelogs/ja.json +++ b/changelogs/ja.json @@ -1,4 +1,48 @@ [ + { + "version": "0.37.2", + "date": "2026-09-18", + "summary": "AI の応答が途中で切れたり停止されたりした後の会話再開に関する問題を修正し、絵文字の認識、スキルの呼び出し方法、ダウンロード時の安全性を改善しました。", + "changes": [ + { + "type": "feat", + "items": [ + { + "text": "単語頻度と言語傾向の分析で抖音(Douyin)の絵文字コードを認識し、絵文字名が頻出語に混ざるのを防止", + "contributors": ["babybitter"] + } + ] + }, + { + "type": "fix", + "items": [ + { + "text": "一部のチャット画面やコマンドで AI の応答が途中で切れた際に、生成済みの内容やトークン使用量が失われる問題を修正し、保存後に会話を続けられるように改善" + }, + { + "text": "AI の応答を手動で停止すると生成済みの内容が保存されず、次の質問で文脈が失われることがある問題を修正", + "contributors": ["Sanssssssssssssssss"] + }, + { + "text": "AI リクエストの停止後もコンテキスト圧縮が続く問題を修正し、余分なモデル呼び出しや要約の書き込みを防止", + "contributors": ["Sanssssssssssssssss"] + }, + { + "text": "ダウンロード API のファイル名検証を修正し、ダウンロードフォルダー外への書き込みを防止", + "contributors": ["ttsdj"] + } + ] + }, + { + "type": "refactor", + "items": [ + { + "text": "外部 Agent のインポート・変換・分析スキルの呼び出し方法を統一し、ユーザーの言語で応答するように変更。リリース済みバージョンの旧インポートスキルのインストールコマンドも引き続きサポート" + } + ] + } + ] + }, { "version": "0.37.1", "date": "2026-09-04", diff --git a/changelogs/ja.md b/changelogs/ja.md index 7e351733..edf47a20 100644 --- a/changelogs/ja.md +++ b/changelogs/ja.md @@ -1,5 +1,24 @@ # 変更履歴 +## v0.37.2 (2026-09-18) + +> AI の応答が途中で切れたり停止されたりした後の会話再開に関する問題を修正し、絵文字の認識、スキルの呼び出し方法、ダウンロード時の安全性を改善しました。 + +### ✨ 新機能 + +- 単語頻度と言語傾向の分析で抖音(Douyin)の絵文字コードを認識し、絵文字名が頻出語に混ざるのを防止 (by [@babybitter](https://github.com/babybitter)) + +### 🐛 バグ修正 + +- 一部のチャット画面やコマンドで AI の応答が途中で切れた際に、生成済みの内容やトークン使用量が失われる問題を修正し、保存後に会話を続けられるように改善 +- AI の応答を手動で停止すると生成済みの内容が保存されず、次の質問で文脈が失われることがある問題を修正 (by [@Sanssssssssssssssss](https://github.com/Sanssssssssssssssss)) +- AI リクエストの停止後もコンテキスト圧縮が続く問題を修正し、余分なモデル呼び出しや要約の書き込みを防止 (by [@Sanssssssssssssssss](https://github.com/Sanssssssssssssssss)) +- ダウンロード API のファイル名検証を修正し、ダウンロードフォルダー外への書き込みを防止 (by [@ttsdj](https://github.com/ttsdj)) + +### ♻️ リファクタリング + +- 外部 Agent のインポート・変換・分析スキルの呼び出し方法を統一し、ユーザーの言語で応答するように変更。リリース済みバージョンの旧インポートスキルのインストールコマンドも引き続きサポート + ## v0.37.1 (2026-09-04) > コントリビューター表記を追加し、Docker の起動を改善。AI ツールのループ、テキスト統計、関係グラフのリソース使用に関する問題を修正しました。 diff --git a/changelogs/tw.json b/changelogs/tw.json index 473b8995..a217c54e 100644 --- a/changelogs/tw.json +++ b/changelogs/tw.json @@ -1,4 +1,48 @@ [ + { + "version": "0.37.2", + "date": "2026-09-18", + "summary": "修正 AI 回覆遭截斷或停止後無法順利接續對話的問題,改善表情符號辨識、技能入口與下載安全檢查。", + "changes": [ + { + "type": "feat", + "items": [ + { + "text": "詞頻與語言偏好分析可辨識抖音表情代碼,避免將表情名稱列入高頻詞", + "contributors": ["babybitter"] + } + ] + }, + { + "type": "fix", + "items": [ + { + "text": "修正部分介面在 AI 回覆遭截斷後遺失已產生內容或用量資訊的問題,儲存後可接續對話" + }, + { + "text": "修正手動停止 AI 回覆後未儲存已產生內容,導致後續提問可能遺失對話脈絡的問題", + "contributors": ["Sanssssssssssssssss"] + }, + { + "text": "停止 AI 請求時一併取消上下文壓縮,避免額外的模型呼叫與摘要寫入", + "contributors": ["Sanssssssssssssssss"] + }, + { + "text": "修正下載介面的檔名檢查,防止檔案寫入下載資料夾以外的位置", + "contributors": ["ttsdj"] + } + ] + }, + { + "type": "refactor", + "items": [ + { + "text": "統一外部 Agent 的匯入、轉換與分析技能入口,依使用者的語言回覆,並保留已發布版本中舊匯入技能安裝指令的相容性" + } + ] + } + ] + }, { "version": "0.37.1", "date": "2026-09-04", diff --git a/changelogs/tw.md b/changelogs/tw.md index 39444bd1..278bc5b6 100644 --- a/changelogs/tw.md +++ b/changelogs/tw.md @@ -1,5 +1,24 @@ # 更新日誌 +## v0.37.2 (2026-09-18) + +> 修正 AI 回覆遭截斷或停止後無法順利接續對話的問題,改善表情符號辨識、技能入口與下載安全檢查。 + +### ✨ 新功能 + +- 詞頻與語言偏好分析可辨識抖音表情代碼,避免將表情名稱列入高頻詞 (by [@babybitter](https://github.com/babybitter)) + +### 🐛 修復 + +- 修正部分介面在 AI 回覆遭截斷後遺失已產生內容或用量資訊的問題,儲存後可接續對話 +- 修正手動停止 AI 回覆後未儲存已產生內容,導致後續提問可能遺失對話脈絡的問題 (by [@Sanssssssssssssssss](https://github.com/Sanssssssssssssssss)) +- 停止 AI 請求時一併取消上下文壓縮,避免額外的模型呼叫與摘要寫入 (by [@Sanssssssssssssssss](https://github.com/Sanssssssssssssssss)) +- 修正下載介面的檔名檢查,防止檔案寫入下載資料夾以外的位置 (by [@ttsdj](https://github.com/ttsdj)) + +### ♻️ 重構 + +- 統一外部 Agent 的匯入、轉換與分析技能入口,依使用者的語言回覆,並保留已發布版本中舊匯入技能安裝指令的相容性 + ## v0.37.1 (2026-09-04) > 新增貢獻者署名,改善 Docker 啟動,並修正 AI 工具迴圈、文字統計與關係圖資源占用問題。 diff --git a/package.json b/package.json index fa740c96..2ee9ed10 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ChatLab", - "version": "0.37.1", + "version": "0.37.2", "private": true, "description": "本地化的聊天记录分析工具,通过 SQL 和 AI Agent 回顾你的社交记忆", "repository": {