release: v0.21.0

This commit is contained in:
digua committed 2026-05-22 14:45:17 +08:00
1 parent dc5ab71521
commit b984b79bc9
5 files changed
+193 -1

No files matched your search

+48
View File
@@ -1,4 +1,52 @@
[
{
"version": "0.21.0",
"date": "2026-05-22",
"summary": "本次新增支持 MCP,统一多端导入与服务层,并修复 Web、AI、同步和发布稳定性问题。",
"changes": [
{
"type": "feat",
"items": [
"Electron 与 Web 模式支持统一的文件夹导入流程,适配多文件聊天记录格式",
"【MCP】新增独立命令入口,并在设置页接入 MCP 配置",
"【MCP】Server 扩展到 19 个工具,并支持紧凑文本与 JSON 双格式输出"
]
},
{
"type": "fix",
"items": [
"修复目录导入路径处理不稳导致的导入失败风险",
"修复新增订阅时可能出现的同步竞态问题",
"修复 MiniMax 流式响应中的 <think> 内容未正确识别为思考事件的问题",
"【CLI Web】修复增量导入不可用的问题",
"【CLI Web】修复会话不存在、成员历史等行为与桌面端不一致的问题",
"【CLI Web】修复开发服务的 Node 运行时配置问题",
"【MCP】修复启动时原生模块 ABI 绑定不一致的问题"
]
},
{
"type": "refactor",
"items": [
"统一 CLI Web 与 Electron 的共享服务层,减少路由与 IPC 中的重复业务逻辑",
"【MCP】瘦身对外暴露的工具注册表,降低外部 AI Agent 的工具 schema 成本",
"【MCP】将核心能力抽取为独立共享包,简化 CLI 与桌面端集成",
"【MCP】精简设置页集成方式,降低桌面端辅助代码复杂度"
]
},
{
"type": "ci",
"items": ["【CLI】发布流程支持同步发布 npm 包"]
},
{
"type": "docs",
"items": ["补充 changelog 端特有变更的前缀与排序规则"]
},
{
"type": "chore",
"items": ["【CLI】【MCP】补齐 npm 发布所需配置和发布说明"]
}
]
},
{
"version": "0.20.0",
"date": "2026-05-19",
+48
View File
@@ -1,4 +1,52 @@
[
{
"version": "0.21.0",
"date": "2026-05-22",
"summary": "This update adds MCP support, unifies multi-platform import and service layers, and improves Web, AI, sync, and release stability.",
"changes": [
{
"type": "feat",
"items": [
"Support a unified folder import flow across Electron and Web mode for multi-file chat history formats",
"【MCP】Add a standalone command entry and integrate MCP settings into the settings page",
"【MCP】Expand the server to 19 tools with compact text and JSON output formats"
]
},
{
"type": "fix",
"items": [
"Harden directory import path handling to reduce import failure risks",
"Fix a race condition that could occur when adding new subscriptions",
"Parse MiniMax streaming <think> content correctly as thinking events",
"【CLI Web】Fix incremental import support",
"【CLI Web】Keep session not-found and member history behavior aligned with the desktop app",
"【CLI Web】Fix the Node runtime configuration for the development server",
"【MCP】Fix native module ABI binding mismatches during startup"
]
},
{
"type": "refactor",
"items": [
"Unify the shared service layer for CLI Web and Electron to reduce duplicated route and IPC logic",
"【MCP】Trim the externally exposed tool registry to reduce tool schema cost for external AI agents",
"【MCP】Extract core MCP capabilities into a standalone shared package and simplify CLI and desktop integration",
"【MCP】Simplify settings page integration and reduce desktop-side helper complexity"
]
},
{
"type": "ci",
"items": ["【CLI】Publish the npm package as part of the release workflow"]
},
{
"type": "docs",
"items": ["Document prefix and ordering rules for platform-specific changelog entries"]
},
{
"type": "chore",
"items": ["【CLI】【MCP】Complete the configuration and release notes needed for npm publishing"]
}
]
},
{
"version": "0.20.0",
"date": "2026-05-19",
+48
View File
@@ -1,4 +1,52 @@
[
{
"version": "0.21.0",
"date": "2026-05-22",
"summary": "MCP 対応を追加し、複数プラットフォームのインポートとサービス層を統一しました。Web、AI、同期、リリースの安定性も改善しています。",
"changes": [
{
"type": "feat",
"items": [
"Electron と Web モードで共通のフォルダーインポートフローに対応し、複数ファイルのチャット履歴形式を扱えるように改善",
"【MCP】独立したコマンドエントリを追加し、設定画面から MCP 設定を扱えるように改善",
"【MCP】Server のツール数を 19 個に拡張し、コンパクトなテキスト出力と JSON 出力に対応"
]
},
{
"type": "fix",
"items": [
"ディレクトリインポートのパス処理を強化し、インポート失敗のリスクを低減",
"新しいサブスクリプション追加時に発生する可能性がある同期の競合を修正",
"MiniMax のストリーミング応答に含まれる <think> 内容を思考イベントとして正しく処理するように修正",
"【CLI Web】差分インポートが使えない問題を修正",
"【CLI Web】セッション未検出やメンバー履歴の挙動がデスクトップ版と一致しない問題を修正",
"【CLI Web】開発サーバーの Node ランタイム設定を修正",
"【MCP】起動時のネイティブモジュール ABI バインディング不一致を修正"
]
},
{
"type": "refactor",
"items": [
"CLI Web と Electron の共通サービス層を統一し、ルートと IPC に重複していた業務ロジックを削減",
"【MCP】外部に公開するツール登録を整理し、外部 AI Agent 向けのツール schema コストを削減",
"【MCP】中核機能を独立した共通パッケージへ抽出し、CLI とデスクトップ版の連携を簡素化",
"【MCP】設定画面への統合方法を整理し、デスクトップ側の補助コードを簡素化"
]
},
{
"type": "ci",
"items": ["【CLI】リリースフローで npm パッケージをあわせて公開できるように改善"]
},
{
"type": "docs",
"items": ["プラットフォーム固有の changelog 項目に使う接頭辞と並び順のルールを補足"]
},
{
"type": "chore",
"items": ["【CLI】【MCP】npm 公開に必要な設定とリリース説明を整備"]
}
]
},
{
"version": "0.20.0",
"date": "2026-05-19",
+48
View File
@@ -1,4 +1,52 @@
[
{
"version": "0.21.0",
"date": "2026-05-22",
"summary": "本次更新新增 MCP 支援,統一多端匯入與服務層,並改善 Web、AI、同步與發布穩定性。",
"changes": [
{
"type": "feat",
"items": [
"Electron 與 Web 模式支援一致的資料夾匯入流程,可處理多檔聊天記錄格式",
"【MCP】新增獨立命令入口,並在設定頁接入 MCP 設定",
"【MCP】Server 擴充至 19 個工具,並支援精簡文字與 JSON 兩種輸出格式"
]
},
{
"type": "fix",
"items": [
"強化資料夾匯入路徑處理,降低匯入失敗風險",
"修復新增訂閱時可能發生的同步競態問題",
"修復 MiniMax 串流回應中的 <think> 內容未正確識別為思考事件的問題",
"【CLI Web】修復增量匯入無法使用的問題",
"【CLI Web】修復會話不存在與成員歷史等行為和桌面版不一致的問題",
"【CLI Web】修復開發服務的 Node 執行環境設定問題",
"【MCP】修復啟動時原生模組 ABI 綁定不一致的問題"
]
},
{
"type": "refactor",
"items": [
"統一 CLI Web 與 Electron 的共用服務層,減少路由與 IPC 中的重複業務邏輯",
"【MCP】精簡對外暴露的工具註冊表,降低外部 AI Agent 的工具 schema 成本",
"【MCP】將核心能力抽取為獨立共用套件,簡化 CLI 與桌面版整合",
"【MCP】精簡設定頁整合方式,降低桌面端輔助程式碼複雜度"
]
},
{
"type": "ci",
"items": ["【CLI】發布流程支援同步發布 npm 套件"]
},
{
"type": "docs",
"items": ["補充 changelog 端特有變更的前綴與排序規則"]
},
{
"type": "chore",
"items": ["【CLI】【MCP】補齊 npm 發布所需設定與發布說明"]
}
]
},
{
"version": "0.20.0",
"date": "2026-05-19",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "ChatLab",
"version": "0.20.0",
"version": "0.21.0",
"private": true,
"description": "本地化的聊天记录分析工具,通过 SQL 和 AI Agent 回顾你的社交记忆",
"repository": {