From f74aae1bb446878bea5622634aad577646d7bd1a Mon Sep 17 00:00:00 2001 From: digua Date: Fri, 26 Jun 2026 10:07:20 +0800 Subject: [PATCH] release: v0.28.1 --- apps/cli/package.json | 2 +- changelogs/cn.json | 38 ++++++++++++++++++++++++++++++++++++++ changelogs/cn.md | 29 +++++++++++++++++++++++++++++ changelogs/en.json | 38 ++++++++++++++++++++++++++++++++++++++ changelogs/en.md | 29 +++++++++++++++++++++++++++++ changelogs/ja.json | 38 ++++++++++++++++++++++++++++++++++++++ changelogs/ja.md | 29 +++++++++++++++++++++++++++++ changelogs/tw.json | 38 ++++++++++++++++++++++++++++++++++++++ changelogs/tw.md | 29 +++++++++++++++++++++++++++++ package.json | 2 +- 10 files changed, 270 insertions(+), 2 deletions(-) diff --git a/apps/cli/package.json b/apps/cli/package.json index 3300761a..fd0d9e69 100644 --- a/apps/cli/package.json +++ b/apps/cli/package.json @@ -1,6 +1,6 @@ { "name": "chatlab-cli", - "version": "0.28.0", + "version": "0.28.1", "description": "ChatLab CLI & Service - Chat history analysis tool", "type": "module", "bin": { diff --git a/changelogs/cn.json b/changelogs/cn.json index 795bfacb..028906da 100644 --- a/changelogs/cn.json +++ b/changelogs/cn.json @@ -1,4 +1,42 @@ [ + { + "version": "0.28.1", + "date": "2026-06-26", + "summary": "聊天记录查看优化,新增导入 API,修复导入、同步和本地模型代理下载问题。", + "changes": [ + { + "type": "feat", + "items": [ + "新增 Push 导入 API,支持按会话追加写入、去重和增量索引生成", + "导入完成后自动生成会话索引,覆盖 CLI、桌面端和 pull sync 导入路径", + "优化聊天记录查看器控件与高亮显示体验", + "侧边栏默认隐藏滚动条,悬停时显示" + ] + }, + { + "type": "fix", + "items": [ + "强化 Push/Pull 导入校验、去重和并发锁,避免异常输入导致误写或重复导入", + "GET /api/v1/sessions/:id 补齐 lastPlatformMessageId 和 importedAt 字段,支持增量导入边界判断", + "后台 pull sync 完成后自动刷新会话列表", + "修复本地语义索引模型下载未正确使用代理的问题,并补齐 Worker 日志初始化", + "【桌面端】API 默认端口与 CLI 对齐为 3110,并在端口占用时自动尝试后续端口", + "【桌面端】系统代理解析支持 HTTP、HTTPS 与 SOCKS 结果,避免本地模型下载静默绕过代理" + ] + }, + { + "type": "refactor", + "items": [ + "【CLI】pull/sync 导入路径改用共享 streaming importer,移除旧解析与写库实现", + "【桌面端】移除增量导入后重复生成会话索引的冗余调用" + ] + }, + { + "type": "docs", + "items": ["修正文档中的 API 端口、示例与未实现能力说明"] + } + ] + }, { "version": "0.28.0", "date": "2026-06-25", diff --git a/changelogs/cn.md b/changelogs/cn.md index 078d052c..0c1b1595 100644 --- a/changelogs/cn.md +++ b/changelogs/cn.md @@ -1,5 +1,34 @@ # 更新日志 +## v0.28.1 (2026-06-26) + +> 聊天记录查看优化,新增导入 API,修复导入、同步和本地模型代理下载问题。 + +### ✨ 新功能 + +- 新增 Push 导入 API,支持按会话追加写入、去重和增量索引生成 +- 导入完成后自动生成会话索引,覆盖 CLI、桌面端和 pull sync 导入路径 +- 优化聊天记录查看器控件与高亮显示体验 +- 侧边栏默认隐藏滚动条,悬停时显示 + +### 🐛 修复 + +- 强化 Push/Pull 导入校验、去重和并发锁,避免异常输入导致误写或重复导入 +- GET /api/v1/sessions/:id 补齐 lastPlatformMessageId 和 importedAt 字段,支持增量导入边界判断 +- 后台 pull sync 完成后自动刷新会话列表 +- 修复本地语义索引模型下载未正确使用代理的问题,并补齐 Worker 日志初始化 +- 【桌面端】API 默认端口与 CLI 对齐为 3110,并在端口占用时自动尝试后续端口 +- 【桌面端】系统代理解析支持 HTTP、HTTPS 与 SOCKS 结果,避免本地模型下载静默绕过代理 + +### ♻️ 重构 + +- 【CLI】pull/sync 导入路径改用共享 streaming importer,移除旧解析与写库实现 +- 【桌面端】移除增量导入后重复生成会话索引的冗余调用 + +### 📝 文档 + +- 修正文档中的 API 端口、示例与未实现能力说明 + ## v0.28.0 (2026-06-25) > 新增 Google Chat 导入支持,引入统一应用日志模块,优化语义索引使用体验。 diff --git a/changelogs/en.json b/changelogs/en.json index b49055a0..7ec8d366 100644 --- a/changelogs/en.json +++ b/changelogs/en.json @@ -1,4 +1,42 @@ [ + { + "version": "0.28.1", + "date": "2026-06-26", + "summary": "Improve chat record viewing, add the import API, and fix import, sync, and local model proxy download issues.", + "changes": [ + { + "type": "feat", + "items": [ + "Add the Push Import API with per-session append, deduplication, and incremental index generation", + "Automatically generate session indexes after imports across CLI, Desktop, and pull sync paths", + "Improve chat record viewer controls and highlight behavior", + "Hide the sidebar scrollbar by default and show it on hover" + ] + }, + { + "type": "fix", + "items": [ + "Harden Push/Pull import validation, deduplication, and concurrency locks to avoid invalid writes or duplicate imports", + "Include lastPlatformMessageId and importedAt in GET /api/v1/sessions/:id for incremental import boundaries", + "Refresh the session list automatically after background pull sync completes", + "Fix local semantic index model downloads so they use the configured proxy correctly, and initialize worker logging", + "[Desktop] Align the default API port with CLI at 3110 and try following ports automatically when it is occupied", + "[Desktop] Resolve HTTP, HTTPS, and SOCKS system proxy results to avoid silently bypassing the proxy for local model downloads" + ] + }, + { + "type": "refactor", + "items": [ + "[CLI] Move pull/sync import paths to the shared streaming importer and remove the legacy parser/write path", + "[Desktop] Remove redundant session index generation after incremental imports" + ] + }, + { + "type": "docs", + "items": ["Fix API port references, examples, and documentation for unavailable capabilities"] + } + ] + }, { "version": "0.28.0", "date": "2026-06-25", diff --git a/changelogs/en.md b/changelogs/en.md index 3a8d3dcf..8e3008d7 100644 --- a/changelogs/en.md +++ b/changelogs/en.md @@ -1,5 +1,34 @@ # Changelog +## v0.28.1 (2026-06-26) + +> Improve chat record viewing, add the import API, and fix import, sync, and local model proxy download issues. + +### ✨ Features + +- Add the Push Import API with per-session append, deduplication, and incremental index generation +- Automatically generate session indexes after imports across CLI, Desktop, and pull sync paths +- Improve chat record viewer controls and highlight behavior +- Hide the sidebar scrollbar by default and show it on hover + +### 🐛 Bug Fixes + +- Harden Push/Pull import validation, deduplication, and concurrency locks to avoid invalid writes or duplicate imports +- Include lastPlatformMessageId and importedAt in GET /api/v1/sessions/:id for incremental import boundaries +- Refresh the session list automatically after background pull sync completes +- Fix local semantic index model downloads so they use the configured proxy correctly, and initialize worker logging +- [Desktop] Align the default API port with CLI at 3110 and try following ports automatically when it is occupied +- [Desktop] Resolve HTTP, HTTPS, and SOCKS system proxy results to avoid silently bypassing the proxy for local model downloads + +### ♻️ Refactoring + +- [CLI] Move pull/sync import paths to the shared streaming importer and remove the legacy parser/write path +- [Desktop] Remove redundant session index generation after incremental imports + +### 📝 Documentation + +- Fix API port references, examples, and documentation for unavailable capabilities + ## v0.28.0 (2026-06-25) > Add Google Chat import support, introduce a unified app logger with file rotation, and improve the semantic index experience. diff --git a/changelogs/ja.json b/changelogs/ja.json index 8ff35e34..bef894d7 100644 --- a/changelogs/ja.json +++ b/changelogs/ja.json @@ -1,4 +1,42 @@ [ + { + "version": "0.28.1", + "date": "2026-06-26", + "summary": "チャット記録の表示を改善し、インポート API を追加しました。インポート、同期、ローカルモデルのプロキシダウンロードも修正しています。", + "changes": [ + { + "type": "feat", + "items": [ + "Push Import API を追加し、セッション単位の追記、重複排除、増分インデックス生成に対応", + "CLI、デスクトップ、pull sync の各インポート経路で、インポート後にセッションインデックスを自動生成", + "チャット記録ビューアーの操作部とハイライト表示を改善", + "サイドバーのスクロールバーを通常は非表示にし、ホバー時に表示" + ] + }, + { + "type": "fix", + "items": [ + "Push/Pull インポートの検証、重複排除、同時実行ロックを強化し、不正な書き込みや重複インポートを防止", + "GET /api/v1/sessions/:id に lastPlatformMessageId と importedAt を追加し、増分インポートの境界判定に対応", + "バックグラウンドの pull sync 完了後、セッション一覧を自動更新", + "ローカルのセマンティックインデックスモデルのダウンロードでプロキシが正しく使われない問題を修正し、Worker ログの初期化を追加", + "【デスクトップ】API のデフォルトポートを CLI と同じ 3110 に合わせ、使用中の場合は後続ポートを自動で試行", + "【デスクトップ】システムプロキシの HTTP、HTTPS、SOCKS 結果を解決し、ローカルモデルのダウンロードがプロキシを静かに回避しないよう修正" + ] + }, + { + "type": "refactor", + "items": [ + "【CLI】pull/sync のインポート経路を共有 streaming importer に移行し、旧パーサーと書き込み実装を削除", + "【デスクトップ】増分インポート後の重複したセッションインデックス生成呼び出しを削除" + ] + }, + { + "type": "docs", + "items": ["ドキュメント内の API ポート、サンプル、未実装機能の説明を修正"] + } + ] + }, { "version": "0.28.0", "date": "2026-06-25", diff --git a/changelogs/ja.md b/changelogs/ja.md index d6b5e6ba..1b74c0e4 100644 --- a/changelogs/ja.md +++ b/changelogs/ja.md @@ -1,5 +1,34 @@ # 変更履歴 +## v0.28.1 (2026-06-26) + +> チャット記録の表示を改善し、インポート API を追加しました。インポート、同期、ローカルモデルのプロキシダウンロードも修正しています。 + +### ✨ 新機能 + +- Push Import API を追加し、セッション単位の追記、重複排除、増分インデックス生成に対応 +- CLI、デスクトップ、pull sync の各インポート経路で、インポート後にセッションインデックスを自動生成 +- チャット記録ビューアーの操作部とハイライト表示を改善 +- サイドバーのスクロールバーを通常は非表示にし、ホバー時に表示 + +### 🐛 バグ修正 + +- Push/Pull インポートの検証、重複排除、同時実行ロックを強化し、不正な書き込みや重複インポートを防止 +- GET /api/v1/sessions/:id に lastPlatformMessageId と importedAt を追加し、増分インポートの境界判定に対応 +- バックグラウンドの pull sync 完了後、セッション一覧を自動更新 +- ローカルのセマンティックインデックスモデルのダウンロードでプロキシが正しく使われない問題を修正し、Worker ログの初期化を追加 +- 【デスクトップ】API のデフォルトポートを CLI と同じ 3110 に合わせ、使用中の場合は後続ポートを自動で試行 +- 【デスクトップ】システムプロキシの HTTP、HTTPS、SOCKS 結果を解決し、ローカルモデルのダウンロードがプロキシを静かに回避しないよう修正 + +### ♻️ リファクタリング + +- 【CLI】pull/sync のインポート経路を共有 streaming importer に移行し、旧パーサーと書き込み実装を削除 +- 【デスクトップ】増分インポート後の重複したセッションインデックス生成呼び出しを削除 + +### 📝 ドキュメント + +- ドキュメント内の API ポート、サンプル、未実装機能の説明を修正 + ## v0.28.0 (2026-06-25) > Google Chat のインポートに対応し、統合ログモジュールを追加しました。セマンティックインデックスの管理操作と設定も改善しています。 diff --git a/changelogs/tw.json b/changelogs/tw.json index f5ca1384..08457bf6 100644 --- a/changelogs/tw.json +++ b/changelogs/tw.json @@ -1,4 +1,42 @@ [ + { + "version": "0.28.1", + "date": "2026-06-26", + "summary": "優化聊天記錄檢視,新增匯入 API,修正匯入、同步與本機模型代理下載問題。", + "changes": [ + { + "type": "feat", + "items": [ + "新增 Push 匯入 API,支援依會話追加寫入、去重與增量索引產生", + "匯入完成後自動產生會話索引,涵蓋 CLI、桌面端與 pull sync 匯入流程", + "優化聊天記錄檢視器的控制項與高亮顯示體驗", + "側邊欄預設隱藏捲軸,滑鼠移入時顯示" + ] + }, + { + "type": "fix", + "items": [ + "強化 Push/Pull 匯入校驗、去重與並發鎖定,避免異常輸入造成誤寫或重複匯入", + "GET /api/v1/sessions/:id 補齊 lastPlatformMessageId 與 importedAt 欄位,支援增量匯入邊界判斷", + "背景 pull sync 完成後自動刷新會話列表", + "修正本機語意索引模型下載未正確使用代理的問題,並補齊 Worker 日誌初始化", + "【桌面端】API 預設連接埠與 CLI 對齊為 3110,連接埠被占用時會自動嘗試後續連接埠", + "【桌面端】系統代理解析支援 HTTP、HTTPS 與 SOCKS 結果,避免本機模型下載靜默繞過代理" + ] + }, + { + "type": "refactor", + "items": [ + "【CLI】pull/sync 匯入流程改用共享 streaming importer,移除舊解析與寫入實作", + "【桌面端】移除增量匯入後重複產生會話索引的多餘呼叫" + ] + }, + { + "type": "docs", + "items": ["修正文檔中的 API 連接埠、範例與未實作能力說明"] + } + ] + }, { "version": "0.28.0", "date": "2026-06-25", diff --git a/changelogs/tw.md b/changelogs/tw.md index e78189dc..883ed97c 100644 --- a/changelogs/tw.md +++ b/changelogs/tw.md @@ -1,5 +1,34 @@ # 更新日誌 +## v0.28.1 (2026-06-26) + +> 優化聊天記錄檢視,新增匯入 API,修正匯入、同步與本機模型代理下載問題。 + +### ✨ 新功能 + +- 新增 Push 匯入 API,支援依會話追加寫入、去重與增量索引產生 +- 匯入完成後自動產生會話索引,涵蓋 CLI、桌面端與 pull sync 匯入流程 +- 優化聊天記錄檢視器的控制項與高亮顯示體驗 +- 側邊欄預設隱藏捲軸,滑鼠移入時顯示 + +### 🐛 修復 + +- 強化 Push/Pull 匯入校驗、去重與並發鎖定,避免異常輸入造成誤寫或重複匯入 +- GET /api/v1/sessions/:id 補齊 lastPlatformMessageId 與 importedAt 欄位,支援增量匯入邊界判斷 +- 背景 pull sync 完成後自動刷新會話列表 +- 修正本機語意索引模型下載未正確使用代理的問題,並補齊 Worker 日誌初始化 +- 【桌面端】API 預設連接埠與 CLI 對齊為 3110,連接埠被占用時會自動嘗試後續連接埠 +- 【桌面端】系統代理解析支援 HTTP、HTTPS 與 SOCKS 結果,避免本機模型下載靜默繞過代理 + +### ♻️ 重構 + +- 【CLI】pull/sync 匯入流程改用共享 streaming importer,移除舊解析與寫入實作 +- 【桌面端】移除增量匯入後重複產生會話索引的多餘呼叫 + +### 📝 文件 + +- 修正文檔中的 API 連接埠、範例與未實作能力說明 + ## v0.28.0 (2026-06-25) > 新增 Google Chat 匯入支援,引入統一應用程式日誌模組,優化語意索引使用體驗。 diff --git a/package.json b/package.json index 8c3b6206..81927cf9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ChatLab", - "version": "0.28.0", + "version": "0.28.1", "private": true, "description": "本地化的聊天记录分析工具,通过 SQL 和 AI Agent 回顾你的社交记忆", "repository": {