docs: update

This commit is contained in:
digua committed 2026-05-09 00:28:41 +08:00
1 parent 6035ad2bcc
commit 24bdcc0a0e
15 files changed
+178 -243

No files matched your search

+10 -8
View File
@@ -1,12 +1,14 @@
<div align="center">
<picture>
<source media="(prefers-color-scheme: light)" srcset="https://github.com/ChatLab/ChatLab/raw/main/public/images/banner-light.png">
<img src="https://github.com/ChatLab/ChatLab/raw/main/public/images/banner.png" alt="ChatLab" title="ChatLab" width="500" />
</picture>
<img src="./public/images/chatlab.svg" alt="ChatLab" title="ChatLab" width="300" />
Your chat history, finally yours.
Rediscover your social memories with private, AI-powered analysis.
English | [简体中文](./docs/README.zh-CN.md)
English | [简体中文](./docs/README.zh-CN.md) | [繁體中文](./docs/README.zh-TW.md) | [日本語](./docs/README.ja-JP.md)
[Official Website](https://chatlab.fun/) · [Download](https://chatlab.fun/?type=download) · [Documentation](https://chatlab.fun/usage/) · [Roadmap](https://chatlabfun.featurebase.app/roadmap) · [Issue Submission](https://github.com/ChatLab/ChatLab/issues)
[Official Website](https://chatlab.fun/) · [Documentation](https://chatlab.fun/usage/) · [Roadmap](https://chatlab.fun/cn/roadmap/tasks)
</div>
@@ -25,9 +27,9 @@ Currently supported: **WhatsApp, LINE, WeChat, QQ, Discord, Instagram, and Teleg
## Usage Guides
- [Download Guide](https://chatlab.fun/?type=download)
- [Chat Record Export Guide](https://chatlab.fun/usage/how-to-export.html)
- [Standardized Format Specification](https://chatlab.fun/standard/chatlab-format.html)
- [Troubleshooting Guide](https://chatlab.fun/usage/troubleshooting.html)
- [Chat Record Export Guide](https://chatlab.fun/usage/how-to-export)
- [Standardized Format Specification](https://chatlab.fun/standard/chatlab-format)
- [Troubleshooting Guide](https://chatlab.fun/usage/troubleshooting)
## Preview
-105
View File
@@ -1,105 +0,0 @@
<div align="center">
<img src="../public/images/chatlab.svg" alt="ChatLab" title="ChatLab" width="300" />
AI Agent でチャット履歴をローカル分析し、あなたのソーシャルな記憶を掘り起こす
[English](../README.md) | [简体中文](./README.zh-CN.md) | [繁體中文](./README.zh-TW.md) | 日本語
[公式サイト](https://chatlab.fun/) · [ダウンロードガイド](https://chatlab.fun/?type=download) · [ドキュメント](https://chatlab.fun/usage/) · [Roadmap](https://chatlabfun.featurebase.app/roadmap) · [Issue](https://github.com/ChatLab/ChatLab/issues)
</div>
ChatLab は、チャット履歴を深く理解するためのローカル完結型アプリです。AI Agent と柔軟な SQL エンジンを組み合わせることで、会話データを自由に調べ、分解し、新しい視点で読み解けます。
現在対応:WhatsApp、LINE、QQ、Discord、Instagram、Telegram。今後対応予定:iMessage、Messenger、KakaoTalk。
## 主な機能
- 🚀 **大規模データでも快適**:ストリーミング処理とマルチワーカー構成により、数百万件規模の履歴でも安定して取り込みと分析を行えます。
- 🔒 **プライバシーを優先**:チャット履歴と設定はローカルに保持され、分析も基本的に端末上で完結します(AI 機能を除く)。
- 🤖 **実データを扱える AI Agent**:10 以上の Function Calling ツールを備え、文脈に応じて動的に呼び分けながら履歴を掘り下げます。
- 📊 **多面的な可視化**:アクティブ度の推移、時間帯の傾向、メンバーランキングなどを分かりやすく確認できます。
- 🧩 **形式差分を吸収する標準化**:異なるチャットアプリのエクスポート形式を統一モデルに変換し、同じ視点で比較・分析できます。
## ガイド
- [ChatLab ダウンロードガイド](https://chatlab.fun/?type=download)
- [チャット履歴の書き出しガイド](https://chatlab.fun/usage/how-to-export.html)
- [標準フォーマット仕様](https://chatlab.fun/standard/chatlab-format.html)
- [トラブルシューティング](https://chatlab.fun/usage/troubleshooting.html)
## プレビュー
その他の画面は公式サイト [chatlab.fun](https://chatlab.fun/) を参照してください。
![Preview Interface](../public/images/intro_en.png)
## システムアーキテクチャ
### 設計原則(Architecture Principles)
- **Local-first by default**:生のチャット履歴、インデックス、設定は原則として端末内に保持し、プライバシー境界を優先します。
- **Streaming over buffering**:ストリーミング解析と増分処理を中心に据え、大きなエクスポートでも安定した処理性能を保ちます。
- **Composable intelligence**:AI 機能は Agent + Tool Calling の組み合わせで構成し、単一モデルの固定ロジックに閉じません。
- **Schema-first evolution**:統一データモデルを軸に取り込み、検索、分析、可視化を設計し、将来の拡張を進めやすくします。
### 実行時アーキテクチャ(Runtime Architecture)
- **Main Process(制御層)**:`electron/main/index.ts` がライフサイクルとウィンドウを管理し、`electron/main/ipc/` がドメイン別 IPC を提供します。`electron/main/ai/` と `electron/main/i18n/` は AI と多言語化の基盤です。
- **Worker Layer(計算層)**:`electron/main/worker/` が `workerManager` を通じて取り込み、索引作成、検索処理を分離し、UI スレッドの負荷を抑えます。
- **Renderer Layer(表示・操作層)**:Vue 3 + Nuxt UI + Tailwind CSS を基盤に、管理画面、個別チャット、グループチャット、分析画面を構成します。`electron/preload/index.ts` から限定的な API を公開し、安全な境界を保ちます。
### データパイプライン(Data Pipeline)
1. **取り込み**:`parser/` が形式を判定し、対応するパーサーに処理を振り分けます。
2. **保存**:ストリーミング書き込みで、セッション、メンバー、メッセージなどの主要データをローカルに保存します。
3. **索引作成**:セッション軸と時間軸の索引を生成し、タイムライン表示や検索を支えます。
4. **検索と分析**:`worker/query/*` がアクティブ度分析、関係性分析、SQL Lab、AI 補助分析を支えます。
5. **表示**:レンダラー側で結果をグラフ、ランキング、タイムライン、対話型分析に変換します。
## ローカル開発
### 必要環境
- Node.js >= 20
- pnpm
### セットアップ
```bash
# 依存関係をインストール
pnpm install
# 開発モードで起動
pnpm dev
```
Electron の起動時に例外が発生する場合は、`electron-fix` を試してください。
```bash
npm install electron-fix -g
electron-fix start
```
## プライバシーポリシーと利用規約
利用前に [プライバシーポリシーと利用規約](../src/assets/docs/agreement_ja.md) を確認してください。
## コミュニティ
Pull Request を送る前に、次の方針を確認してください。
- 明らかなバグ修正はそのまま提出して構いません
- 新機能は先に Issue で相談してください。**事前の議論がない PR はクローズされます**
- 1 つの PR は 1 つの目的に絞り、変更が大きい場合は分割を検討してください
ChatLab に貢献してくださったすべての方に感謝します!
<a href="https://github.com/ChatLab/ChatLab/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ChatLab/ChatLab" />
</a>
## License
AGPL-3.0 License
+10 -8
View File
@@ -1,12 +1,14 @@
<div align="center">
<picture>
<source media="(prefers-color-scheme: light)" srcset="https://github.com/ChatLab/ChatLab/raw/main/public/images/banner-light.png">
<img src="https://github.com/ChatLab/ChatLab/raw/main/public/images/banner.png" alt="ChatLab" title="ChatLab" width="500" />
</picture>
<img src="../public/images/chatlab.svg" alt="ChatLab" title="ChatLab" width="300" />
聊天记忆驱动的 AI Agent
本地化的聊天记录分析工具,通过 AI Agent 回顾你的社交记忆
[English](../README.md) | 简体中文
[English](../README.md) | 简体中文 | [繁體中文](./README.zh-TW.md) | [日本語](./README.ja-JP.md)
[官网](https://chatlab.fun/cn/) · [下载指南](https://chatlab.fun/cn/?type=download) · [项目文档](https://chatlab.fun/cn/usage/) · [路线图](https://chatlabfun.featurebase.app/roadmap) · [问题提交](https://github.com/ChatLab/ChatLab/issues)
[官网](https://chatlab.fun/cn/) · [项目文档](https://chatlab.fun/cn/usage/) · [路线图](https://chatlab.fun/cn/roadmap/tasks)
</div>
@@ -25,9 +27,9 @@ ChatLab 是一个专注于社交记录分析的本地化应用。通过 AI Agent
## 使用指南
- [下载 ChatLab 指南](https://chatlab.fun/cn/?type=download)
- [导出聊天记录指南](https://chatlab.fun/cn/usage/how-to-export.html)
- [标准化格式规范](https://chatlab.fun/cn/standard/chatlab-format.html)
- [故障排查指南](https://chatlab.fun/cn/usage/troubleshooting.html)
- [导出聊天记录指南](https://chatlab.fun/cn/usage/how-to-export)
- [标准化格式规范](https://chatlab.fun/cn/standard/chatlab-format)
- [故障排查指南](https://chatlab.fun/cn/usage/troubleshooting)
## 预览界面
-105
View File
@@ -1,105 +0,0 @@
<div align="center">
<img src="../public/images/chatlab.svg" alt="ChatLab" title="ChatLab" width="300" />
在本機分析聊天記錄,透過 AI Agent 重新看見你的社交記憶
[English](../README.md) | [简体中文](./README.zh-CN.md) | 繁體中文 | [日本語](./README.ja-JP.md)
[官網](https://chatlab.fun/cn/) · [下載指南](https://chatlab.fun/cn/?type=download) · [使用文件](https://chatlab.fun/cn/usage/) · [Roadmap](https://chatlabfun.featurebase.app/roadmap) · [問題回報](https://github.com/ChatLab/ChatLab/issues)
</div>
ChatLab 是一款專注於社交記錄分析的本機應用。結合 AI Agent 與靈活的 SQL 引擎,你可以更自由地拆解、查詢,甚至重新理解自己的聊天資料。
目前已支援:WhatsApp、LINE、QQ、Discord、Instagram、Telegram 的聊天記錄分析;即將支援:iMessage、Messenger、KakaoTalk。
## 核心特色
- 🚀 **高效處理大型資料**:採用串流計算與多執行緒架構,就算是百萬筆聊天記錄,依然能保持流暢的匯入與分析體驗。
- 🔒 **預設重視隱私**:聊天記錄與設定都保留在本機,分析流程也以本地執行為主(AI 功能除外)。
- 🤖 **可實際操作資料的 AI Agent**:內建 10+ 個 Function Calling 工具,可依任務動態調度,深入挖掘聊天脈絡與重點。
- 📊 **多維度視覺化分析**:提供活躍度趨勢、時段分布、成員排行等多種圖表與分析視角。
- 🧩 **統一資料格式**:透過穩定的資料抽象層,抹平不同聊天平台的匯出差異,分析流程更一致。
## 使用指南
- [下載 ChatLab 指南](https://chatlab.fun/cn/?type=download)
- [匯出聊天記錄指南](https://chatlab.fun/cn/usage/how-to-export.html)
- [標準化格式規範](https://chatlab.fun/cn/standard/chatlab-format.html)
- [疑難排解指南](https://chatlab.fun/cn/usage/troubleshooting.html)
## 預覽畫面
更多畫面請前往官網 [chatlab.fun](https://chatlab.fun/cn/)
![預覽畫面](../public/images/intro_zh.png)
## 系統架構
### 架構原則(Architecture Principles)
- **Local-first by default**:原始聊天記錄、索引與設定預設留在本機,優先守住隱私邊界。
- **Streaming over buffering**:以串流解析與增量處理為核心,在大型匯出檔案下依然維持穩定吞吐。
- **Composable intelligence**:AI 能力透過 Agent + Tool Calling 組合,不把業務邏輯硬寫死在單一路徑。
- **Schema-first evolution**:圍繞統一資料模型設計匯入、查詢、分析與視覺化,降低後續演進成本。
### 執行期架構(Runtime Architecture)
- **Main Process(控制層)**:`electron/main/index.ts` 負責生命週期與視窗;`electron/main/ipc/` 提供分域 IPC;`electron/main/ai/` 與 `electron/main/i18n/` 提供 AI 與國際化基礎能力。
- **Worker Layer(計算層)**:`electron/main/worker/` 透過 `workerManager` 調度任務,隔離匯入、索引與查詢等高負載工作,降低 UI 阻塞風險。
- **Renderer Layer(互動層)**:基於 Vue 3 + Nuxt UI + Tailwind CSS,承載管理、私聊、群聊與分析視圖;透過 `electron/preload/index.ts` 暴露受控 API,確保渲染層與主進程隔離。
### 資料流程(Data Pipeline)
1. **匯入接入**:`parser/` 先偵測格式,再交由對應解析器執行標準化轉換。
2. **資料落盤**:以串流方式寫入本機資料庫,建立會話、成員、訊息等核心實體。
3. **索引建立**:依據會話與時間維度建立分析索引,支撐時間線與檢索能力。
4. **查詢與分析**:`worker/query/*` 提供活躍度、互動關係、SQL Lab 與 AI 檢索等查詢能力。
5. **結果呈現**:渲染層把查詢結果轉成圖表、排行、時間線與對話式分析體驗。
## 本機開發
### 環境需求
- Node.js >= 20
- pnpm
### 啟動方式
```bash
# 安裝依賴
pnpm install
# 啟動開發模式
pnpm dev
```
若 Electron 啟動時發生異常,可嘗試使用 `electron-fix`:
```bash
npm install electron-fix -g
electron-fix start
```
## 隱私權政策與使用者協議
使用本軟體前,請先閱讀 [隱私權政策與使用者協議](../src/assets/docs/agreement_zh_tw.md)
## 社群
提交 Pull Request 前請遵循以下原則:
- 明顯的 Bug 修復可直接提交
- 新功能請先提交 Issue 討論,**未經討論直接提交的 PR 會被關閉**
- 一個 PR 盡量只處理一件事;若改動較大,建議拆分成多個獨立 PR
感謝所有為 ChatLab 做出貢獻的人!
<a href="https://github.com/ChatLab/ChatLab/graphs/contributors">
<img src="https://contrib.rocks/image?repo=ChatLab/ChatLab" />
</a>
## License
AGPL-3.0 License
+68
View File
@@ -0,0 +1,68 @@
---
sidebar: false
aside: false
title: 项目路线 — ChatLab
titleTemplate: false
---
<RoadmapHero :title="'项目路线'" :subtitle="'ChatLab 未来的方向'" active="roadmap" compact />
> "你在聊天软件里说过的话,不应该消失在滚动条里。"
## **让每个人完整拥有自己的社交记忆**
聊天记录不应该被平台绑架、被设备丢失、被时间冲刷。
ChatLab 的使命是构建一个隐私优先、平台无关的聊天记忆分析基础设施,让用户对自己说过的每一句话拥有绝对的控制权。
## 现在能做什么
- 导入 WhatsApp、QQ、Telegram、Discord 等平台的聊天记录
- 与你的聊天记录对话——用自然语言查询任何历史内容
- 可视化洞察:关系分析、成员活跃度、时段分布、话题追踪、语言偏好等
- 完全离线,数据不离开你的设备
## 接下来的目标
### 更多平台:更完整的社交记忆
你的社交记忆分散在无数个 App 的聊天、私信、帖子、留言里。我们正在为更多平台构建适配器——目标是让你第一次看到跨越所有平台、完整连贯的自己。
### AI智能体:真正理解你的对话
现在的 AI 能回答"Ta说过什么"。接下来我们要做的是:
- 人脉网络:自动构建你的人脉网络,你和谁关系最近?你有几个圈子?谁是群里真正的核心?
- 记忆节点:自动找到对话里的重要决定、情感转折、里程碑事件
- 情感轨迹:一段关系随时间的温度变化,可视化呈现
- 跨平台身份合并:微信里的Ta、QQ 里的 @Ta、还有抖音里的 @Ta,其实是同一个人
### 开放标准:让聊天记录真正互通
今天的聊天数据是一座座孤岛,每个工具导出的东西都不一样,互不兼容。
ChatLab 希望推动建立一套聊天记录领域的开放标准,覆盖多个层面:
- 通用记录格式 — 无论数据来自哪个平台,都能转换为统一结构,不丢失任何信息
- 通用导入规范 — 任何工具、任何平台,只要遵循这套规范,都能一键导入
- 通用分析格式 — 关系图谱、情感分析、话题摘要……所有分析结果都有标准化的数据结构,可以被任何外部工具直接消费
我们希望这套标准成为聊天数据领域的通用语言——开放、免费、互联,任何开发者都可以复用。
### CLI 引擎:成为 AI 时代的社交记忆基础组件
你的聊天记录里藏着最真实的你——你的关系网络、决策习惯、情感轨迹。
而未来的 AI 助手,需要了解你才能真正帮助你。
ChatLab CLI 的目标是成为这一层社交记忆的标准接口。
当 Claude、OpenClaw、Hermes等各类 Agent 需要回答"我和这个人是什么关系"、"我们之前讨论过这个话题吗"、"帮我整理和张三的所有重要对话"——它们可以直接调用 ChatLab,获取结构化的、私密的、完全在本地的记忆数据。
## 终点在哪
我们希望 ChatLab 能成为聊天数据分析的基础设施。
任何平台的聊天记录进得来,任何分析需求接得住,任何用户用得上。
终有一天,你的社交记忆会成为你最了解自己的方式。
+8
View File
@@ -0,0 +1,8 @@
---
layout: page
sidebar: false
title: 开发进展 — ChatLab
titleTemplate: false
---
<TasksPage />
+68
View File
@@ -0,0 +1,68 @@
---
sidebar: false
aside: false
title: Roadmap — ChatLab
titleTemplate: false
---
<RoadmapHero :title="'Roadmap'" :subtitle="'Where ChatLab is headed.'" active="roadmap" compact />
> "What you said in your chat apps shouldn't disappear in the scroll."
## **Let Everyone Fully Own Their Social Memory**
Your chat history shouldn't be held hostage by platforms, lost to broken devices, or washed away by time.
ChatLab's mission is to build a privacy-first, platform-agnostic chat memory analysis infrastructure — giving users absolute control over every word they've ever said.
## What It Can Do Now
- Import chat history from WhatsApp, Telegram, Discord, iMessage, and more
- Talk to your chats — query any historical content in natural language
- Visual insights: relationship analysis, member activity, time distribution, topic tracking, and more
- Fully offline — your data never leaves your device
## What's Next
### More Platforms: A More Complete Social Memory
Your social memory is scattered across countless apps — chats, DMs, posts, comments. We're building adapters to cover more platforms, so that for the first time, you can see a complete and coherent picture of yourself across every single one of them.
### AI Agents: Conversations That Truly Understand You
Today's AI can answer "What did they say?" Next, we're building:
- Relationship network: Automatically build your relationship network. Who's closest to you? How many circles do you run in? Who's the real leader of the group?
- Memory nodes: Automatically find important decisions, emotional turning points, and milestone events in conversations
- Emotional trajectories: How the warmth of a relationship changes over time, visualized
- Cross-platform identity merging: The Alex on WeChat, @alex on QQ, and @alex on Douyin — they're actually the same person
### Open Standards: Making Chat Data Truly Interoperable
Today's chat data is a collection of islands — every tool exports differently, nothing is compatible.
ChatLab aims to drive the creation of an open standard for chat data, covering multiple layers:
- Universal record format — no matter which platform the data comes from, it can be converted to a unified structure without losing any information
- Universal import spec — any tool, any platform, following this spec, can import in one click
- Universal analysis format — relationship graphs, sentiment analysis, topic summaries... all analysis results have standardized data structures that any external tool can consume directly
We want this standard to become the common language of chat data — open, free, and interconnected — any developer can reuse it.
### CLI Engine: The Social Memory Primitive for the AI Era
Your chat history holds the most authentic version of you — your relationship network, decision patterns, emotional trajectory.
And the AI assistants of the future need to understand you to truly help you.
ChatLab CLI aims to become the standard interface for this social memory layer.
When Claude, OpenClaw, Hermes and other agents need to answer "What's my relationship with this person?", "Have we discussed this topic before?", or "Help me organize all important conversations with Alex" — they can call ChatLab directly to get structured, private, fully local memory data.
## Where Does This End?
We want ChatLab to become the infrastructure for chat data analysis.
Chat records from any platform come in, any analysis need is met, any user can use it.
Someday, your social memory will become the way you understand yourself best.
+8
View File
@@ -0,0 +1,8 @@
---
layout: page
sidebar: false
title: Progress — ChatLab
titleTemplate: false
---
<TasksPage />
+3 -3
View File
@@ -6,7 +6,7 @@ outline: deep
ChatLab 專注於對已匯出數據的分析,我們不提供抓取數據的功能。您需要先使用官方功能或開源社群的第三方工具,將聊天記錄匯出後,再匯入 ChatLab 進行分析。
Tips:歡迎訪問 [加入社群](/cn/other/community.html),討論問題以及溝通需求。
Tips:歡迎訪問 [加入社群](/cn/other/community),討論問題以及溝通需求。
## WhatsApp
@@ -66,9 +66,9 @@ Tips:歡迎訪問 [加入社群](/cn/other/community.html),討論問題以
ChatLab 的功能是 **對已匯出的固定文本格式的聊天記錄進行分析**,但前提是**您已經透過合法合規的管道匯出了聊天記錄**。
如果您有一定的技術基礎,可以嘗試使用 **AI 輔助轉換** 的方式,將您的數據轉換為標準格式。詳情請查看 [AI 輔助轉換指南](/cn/standard/ai-converter.html)。
如果您有一定的技術基礎,可以嘗試使用 **AI 輔助轉換** 的方式,將您的數據轉換為標準格式。詳情請查看 [AI 輔助轉換指南](/cn/standard/ai-converter)。
此外,如果您是開發者,並已支援了其他聊天應用的聊天記錄匯出,歡迎[相容 ChatLab 格式](/cn/standard/chatlab-format.html),我會將您的 Github 連結加到這裡。
此外,如果您是開發者,並已支援了其他聊天應用的聊天記錄匯出,歡迎[相容 ChatLab 格式](/cn/standard/chatlab-format),我會將您的 Github 連結加到這裡。
## ⚠️ 法律與安全聲明
Binary file not shown.

After

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 115 KiB

-10
View File
@@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" width="576" height="144">
<path d="M0 0 C6.8827425 7.90493198 9.32532061 16.50941554 11.3671875 26.71875 C1.4671875 26.71875 -8.4328125 26.71875 -18.6328125 26.71875 C-20.2828125 23.41875 -21.9328125 20.11875 -23.6328125 16.71875 C-28.76708719 12.42272424 -32.85109845 11.39265779 -39.4765625 11.50390625 C-44.4405629 11.99850774 -48.36249866 13.48276896 -51.9453125 16.96875 C-58.56513924 27.75661581 -59.33110236 39.96527885 -56.94921875 52.2421875 C-54.65102058 59.20353464 -51.67081829 62.36324662 -45.3828125 66.03125 C-38.64229521 67.71637932 -32.4142008 67.46523768 -26.3203125 63.98828125 C-22.08157426 60.79941568 -20.55230998 56.5174937 -18.6328125 51.71875 C-9.0628125 51.71875 0.5071875 51.71875 10.3671875 51.71875 C8.91264721 66.26415286 3.90654574 75.49421917 -7.08203125 84.89453125 C-19.03619308 93.44367914 -34.56248047 95.3391307 -48.80859375 93.25390625 C-60.80864509 90.6235448 -72.02887385 84.3491129 -79.3828125 74.3359375 C-89.29517568 58.52571823 -91.59318182 39.18469086 -87.5078125 20.96875 C-83.51302334 8.12568953 -76.0954148 -1.82693021 -64.6015625 -8.7421875 C-43.02563138 -19.92760442 -17.68792222 -16.53076843 0 0 Z " fill="#ED496B" transform="translate(91.6328125,32.28125)"/>
<path d="M0 0 C9.57 0 19.14 0 29 0 C29.33 12.54 29.66 25.08 30 38 C31.98 35.525 31.98 35.525 34 33 C40.57854444 28.28560162 48.20587125 28.09812152 56 29 C65.17779226 30.97695668 71.56485658 36.7048521 76.6015625 44.46875 C82.59394683 56.10308682 83.37409257 70.48651754 80 83 C76.11054255 92.79187972 71.44753095 100.09730401 62 105 C54.34847246 108.03173733 45.43172198 108.32665763 37.79296875 105.06640625 C34.63976977 103.19097418 32.42896633 100.73258712 30 98 C29.67 100.31 29.34 102.62 29 105 C19.43 105 9.86 105 0 105 C0 70.35 0 35.7 0 0 Z M33 54 C28.1644217 59.09696091 27.63820969 63.57880728 27.71875 70.39453125 C28.28256374 75.61763911 30.34358775 79.52763355 34.25 83 C37.94779549 84.3446529 41.11505075 84.70778428 45 84 C49.00803494 81.64745775 50.78379221 79.45942858 52 75 C53.33418348 68.32908261 53.29116233 62.26138362 49.99609375 56.1328125 C47.8249027 53.13757204 46.08446828 52.02610838 42.5625 50.9375 C38.42794433 51.01003606 36.42904486 51.71397009 33 54 Z " fill="#ED4A6C" transform="translate(489,19)"/>
<path d="M0 0 C9.57 0 19.14 0 29 0 C29.495 19.8 29.495 19.8 30 40 C31.65 38.02 33.3 36.04 35 34 C42.35307147 28.42022643 50.11000957 28.44570803 59 29 C65.13105927 30.00509168 68.68593989 33.04262114 72.52734375 37.8203125 C78.40542058 46.52048987 78.14703668 56.50292307 78.09765625 66.62109375 C78.0962413 67.72099136 78.09482635 68.82088898 78.09336853 69.95411682 C78.08779503 73.44860617 78.07524739 76.94303019 78.0625 80.4375 C78.05748158 82.8144522 78.05291927 85.1914054 78.04882812 87.56835938 C78.03868748 93.37895134 78.01910682 99.189403 78 105 C68.43 105 58.86 105 49 105 C48.95101562 101.79796875 48.90203125 98.5959375 48.8515625 95.296875 C48.79755302 92.19575322 48.74024535 89.09470873 48.68261719 85.99365234 C48.64433398 83.83843747 48.60947996 81.68315884 48.578125 79.52783203 C48.5324605 76.42978124 48.47446788 73.33216909 48.4140625 70.234375 C48.40251129 69.27070007 48.39096008 68.30702515 48.37905884 67.31414795 C48.35918915 66.41351624 48.33931946 65.51288452 48.31884766 64.58496094 C48.30552399 63.79442322 48.29220032 63.0038855 48.2784729 62.18939209 C47.96450854 59.72096129 47.31104838 58.1077803 46 56 C41.86913463 53.52148078 38.5928774 53.89430729 34 55 C31.41544715 56.89533875 31.03724494 57.88826517 30 61 C29.88650152 62.45706917 29.82398525 63.91844959 29.79467773 65.37963867 C29.77473251 66.26032516 29.75478729 67.14101166 29.73423767 68.04838562 C29.70916893 69.46882927 29.70916893 69.46882927 29.68359375 70.91796875 C29.66281265 71.89034988 29.64203156 72.86273102 29.62062073 73.86457825 C29.55521252 76.97214665 29.49628071 80.07979985 29.4375 83.1875 C29.39430649 85.29362858 29.35069193 87.39974856 29.30664062 89.50585938 C29.19874733 94.67048724 29.09960877 99.83517907 29 105 C19.43 105 9.86 105 0 105 C0 70.35 0 35.7 0 0 Z " fill="#ED4A6C" transform="translate(107,19)"/>
<path d="M0 0 C1.29647461 -0.01836914 1.29647461 -0.01836914 2.61914062 -0.03710938 C12.39348811 -0.05923997 22.84780766 1.95767787 30.0859375 9.046875 C36.424812 17.02458047 36.47154273 24.84098698 36.3828125 34.68359375 C36.3799826 35.87227554 36.37715271 37.06095734 36.37423706 38.28565979 C36.36308206 42.06554418 36.33798566 45.84518776 36.3125 49.625 C36.30246417 52.19465803 36.29333937 54.76431978 36.28515625 57.33398438 C36.26486348 63.61865601 36.2257048 69.90280984 36.1875 76.1875 C26.9475 76.1875 17.7075 76.1875 8.1875 76.1875 C7.6925 72.2275 7.6925 72.2275 7.1875 68.1875 C6.6925 68.93 6.1975 69.6725 5.6875 70.4375 C0.79096875 75.82368438 -4.98257709 77.7843825 -12.16796875 78.21484375 C-20.87211917 78.12484515 -27.54555576 76.43966371 -33.8125 70.1875 C-38.94012354 64.00155881 -39.53207612 57.97769365 -38.8125 50.1875 C-37.30001983 43.99307486 -34.39508868 40.20729728 -29.30078125 36.4765625 C-22.20402155 32.80006218 -14.79731328 31.53942594 -6.9375 30.5625 C-5.08562349 30.32272536 -3.23404422 30.08064054 -1.3828125 29.8359375 C-0.57602051 29.73458496 0.23077148 29.63323242 1.06201172 29.52880859 C3.36750533 29.21739614 3.36750533 29.21739614 6.1875 28.1875 C6.1875 26.2075 6.1875 24.2275 6.1875 22.1875 C2.0107041 20.7952347 -1.8980234 20.56658867 -6.125 21.9375 C-8.25490864 23.31810136 -8.25490864 23.31810136 -9.8125 27.1875 C-18.3925 27.1875 -26.9725 27.1875 -35.8125 27.1875 C-34.66506202 18.00799618 -33.140586 12.29066143 -25.80859375 6.50390625 C-17.54698982 1.05545121 -9.67702125 0.00712069 0 0 Z M-0.6875 46 C-1.78771484 46.2484668 -1.78771484 46.2484668 -2.91015625 46.50195312 C-8.10782035 47.65636605 -8.10782035 47.65636605 -11.8125 51.1875 C-12.3125 53.6875 -12.3125 53.6875 -11.8125 56.1875 C-10.15552535 58.40742116 -9.26487117 59.10929346 -6.5078125 59.5859375 C0.36488615 59.57874944 0.36488615 59.57874944 6.1875 56.1875 C8.9781929 52.59946627 8.33215334 48.52710021 8.1875 44.1875 C5.25848147 44.1875 2.16783896 45.31720155 -0.6875 46 Z " fill="#ED4A6C" transform="translate(228.8125,47.8125)"/>
<path d="M0 0 C4.92040144 4.14457051 7.72722115 7.89422031 9.5 14.125 C9.74050903 16.97250366 9.74050903 16.97250366 9.72705078 19.94677734 C9.72689972 21.06748627 9.72674866 22.18819519 9.72659302 23.34286499 C9.71627045 24.53682892 9.70594788 25.73079285 9.6953125 26.9609375 C9.6924826 28.19542633 9.68965271 29.42991516 9.68673706 30.70181274 C9.67556522 34.63464149 9.65046564 38.56724037 9.625 42.5 C9.61383825 45.17056959 9.60584119 47.84113701 9.59765625 50.51171875 C9.57733953 57.04963843 9.53818393 63.58706267 9.5 70.125 C0.26 70.125 -8.98 70.125 -18.5 70.125 C-18.995 66.66 -18.995 66.66 -19.5 63.125 C-19.95890625 63.53492187 -20.4178125 63.94484375 -20.890625 64.3671875 C-21.50421875 64.90601562 -22.1178125 65.44484375 -22.75 66 C-23.35328125 66.53367187 -23.9565625 67.06734375 -24.578125 67.6171875 C-30.33321822 72.13236226 -37.0676094 72.52969653 -44.1953125 71.87890625 C-51.23743596 70.66214791 -56.18786227 68.43713773 -61.3125 63.3125 C-65.47509466 57.24700493 -65.89158118 51.96690549 -65.03125 44.83984375 C-63.92549352 39.18910289 -61.8992429 34.89888598 -57.3125 31.3125 C-48.94401565 26.17856024 -39.71433609 25.32452323 -30.14453125 24.30859375 C-29.20222656 24.19644531 -28.25992188 24.08429688 -27.2890625 23.96875 C-26.44037598 23.87787109 -25.59168945 23.78699219 -24.71728516 23.69335938 C-22.1304724 23.03027855 -21.09533714 22.24512772 -19.5 20.125 C-19.57606836 17.98696946 -19.57606836 17.98696946 -20.5 16.125 C-23.64341993 14.55329004 -27.05771451 14.89324217 -30.5 15.125 C-33.70730603 15.80888393 -33.70730603 15.80888393 -34.82739258 18.65698242 C-36.5 21.125 -36.5 21.125 -39.13549805 21.69262695 C-40.16715088 21.66644287 -41.19880371 21.64025879 -42.26171875 21.61328125 C-43.37998047 21.59716797 -44.49824219 21.58105469 -45.65039062 21.56445312 C-47.40125977 21.50161133 -47.40125977 21.50161133 -49.1875 21.4375 C-50.36634766 21.41494141 -51.54519531 21.39238281 -52.75976562 21.36914062 C-55.67444548 21.31013901 -58.58659161 21.22786341 -61.5 21.125 C-63.13708555 17.85082889 -61.58253413 15.08336856 -60.50390625 11.7265625 C-57.75261045 4.59674538 -53.37766128 0.36783511 -46.5 -2.875 C-33.16653618 -8.53093269 -12.03360571 -8.53572032 0 0 Z M-26.8125 39.875 C-27.48990234 40.03226563 -28.16730469 40.18953125 -28.86523438 40.3515625 C-33.11828447 41.4324941 -35.84374069 42.56959348 -38.5 46.125 C-38.33849795 49.51654295 -37.91703243 50.70796757 -35.5 53.125 C-30.74232352 53.8608996 -26.06150817 53.93913428 -21.9375 51.25 C-19.46011374 49.36215667 -19.46011374 49.36215667 -18.5 47.125 C-18.43049459 45.58476004 -18.41547643 44.04165012 -18.4375 42.5 C-18.44652344 41.68273437 -18.45554687 40.86546875 -18.46484375 40.0234375 C-18.47644531 39.39695313 -18.48804688 38.77046875 -18.5 38.125 C-21.25864795 38.125 -24.13473511 39.20368008 -26.8125 39.875 Z " fill="#ED496B" transform="translate(471.5,53.875)"/>
<path d="M0 0 C9.9 0 19.8 0 30 0 C30 26.4 30 52.8 30 80 C44.85 80 59.7 80 75 80 C75 88.25 75 96.5 75 105 C50.25 105 25.5 105 0 105 C0 70.35 0 35.7 0 0 Z " fill="#ED496B" transform="translate(329,19)"/>
<path d="M0 0 C3.9693655 -0.02291487 7.9385632 -0.04284015 11.90795898 -0.05493164 C13.25920386 -0.05997057 14.61044326 -0.06680177 15.96166992 -0.07543945 C17.90020434 -0.08752419 19.838778 -0.09269828 21.77734375 -0.09765625 C23.52905884 -0.10551147 23.52905884 -0.10551147 25.31616211 -0.11352539 C28 0 28 0 29 1 C29.08651611 2.41570123 29.10704904 3.835595 29.09765625 5.25390625 C29.09443359 6.10791016 29.09121094 6.96191406 29.08789062 7.84179688 C29.07532227 9.18854492 29.07532227 9.18854492 29.0625 10.5625 C29.05798828 11.46419922 29.05347656 12.36589844 29.04882812 13.29492188 C29.03700225 15.53001314 29.0205222 17.76497437 29 20 C29.99902344 19.98839844 30.99804688 19.97679688 32.02734375 19.96484375 C33.31769531 19.95582031 34.60804688 19.94679688 35.9375 19.9375 C37.22527344 19.92589844 38.51304687 19.91429688 39.83984375 19.90234375 C43 20 43 20 44 21 C44.08685603 22.56172745 44.10702219 24.12729344 44.09765625 25.69140625 C44.09443359 26.63564453 44.09121094 27.57988281 44.08789062 28.55273438 C44.07532227 30.04256836 44.07532227 30.04256836 44.0625 31.5625 C44.05798828 32.55958984 44.05347656 33.55667969 44.04882812 34.58398438 C44.03700023 37.05601487 44.01906415 39.52801472 44 42 C39.05 42 34.1 42 29 42 C29.33 51.9 29.66 61.8 30 72 C36.93 72.495 36.93 72.495 44 73 C44 80.26 44 87.52 44 95 C40.04124276 95.08159271 36.08419901 95.14079035 32.125 95.1875 C31.01640625 95.21263672 29.9078125 95.23777344 28.765625 95.26367188 C20.53641217 95.33628258 13.12251414 94.63139201 6.0625 90.125 C0.23406924 84.11995013 -0.15024854 78.55213665 -0.09765625 70.515625 C-0.0962413 69.70003113 -0.09482635 68.88443726 -0.09336853 68.04412842 C-0.08778303 65.44604788 -0.07523321 62.84805437 -0.0625 60.25 C-0.05748312 58.48567833 -0.05292054 56.72135531 -0.04882812 54.95703125 C-0.03781835 50.63798744 -0.02056369 46.31900846 0 42 C-4.29 42 -8.58 42 -13 42 C-13.02683201 38.52078265 -13.0467567 35.04176961 -13.0625 31.5625 C-13.07087891 30.56927734 -13.07925781 29.57605469 -13.08789062 28.55273438 C-13.09111328 27.60849609 -13.09433594 26.66425781 -13.09765625 25.69140625 C-13.10289307 24.81685791 -13.10812988 23.94230957 -13.11352539 23.04125977 C-13 21 -13 21 -12 20 C-7.99779347 19.85644883 -4.00558317 19.95783597 0 20 C0 13.4 0 6.8 0 0 Z " fill="#ED4B6D" transform="translate(281,29)"/>
</svg>

Before

Width:  |  Height:  |  Size: 11 KiB

@@ -81,7 +81,7 @@ const apiBaseUrl = computed(() => {
const apiDocUrl = computed(() => {
const isChinese = locale.value === 'zh-CN' || locale.value === 'zh-TW'
return isChinese ? 'https://chatlab.fun/cn/standard/chatlab-api.html' : 'https://chatlab.fun/en/chatlab-api.html'
return isChinese ? 'https://chatlab.fun/cn/standard/chatlab-api' : 'https://chatlab.fun/en/chatlab-api'
})
async function toggleEnabled() {
+1 -2
View File
@@ -49,7 +49,6 @@
"operationFailed": "操作失败",
"allConversations": "全部对话",
"copyCell": "复制选中项",
"editRow": "编辑",
"copyRow": "复制整行 (JSON)",
"clearDebugContext": "清除 Debug 上下文",
"confirmClearDebug": "确认清除所有消息的 debug_context 数据?此操作不可撤销。"
@@ -57,7 +56,7 @@
},
"memory": {
"comingSoon": "正在计划中,如果你对记忆功能有什么建议,欢迎加群讨论。",
"joinLink": "https://chatlab.fun/cn/other/community.html"
"joinLink": "https://chatlab.fun/cn/other/community"
},
"yearFilter": {
"allTime": "全部时间",
+1 -1
View File
@@ -385,7 +385,7 @@ const tutorialUrl = computed(() => {
const { locale } = useI18n()
const localePath = getChatlabSiteLocalePath(locale.value)
const langPath = localePath ? `/${localePath}` : ''
return `https://chatlab.fun${langPath}/usage/how-to-export.html?utm_source=app`
return `https://chatlab.fun${langPath}/usage/how-to-export?utm_source=app`
})
// 打开最新的导入日志文件