Forum Post Draft — Conversation history lost after updating to Antigravity IDE
## English Version
**Title: All conversation history lost after updating from Antigravity to Antigravity IDE**
**Environment:**
- OS (Client): macOS
- OS (Remote): Ubuntu (Linux)
- Setup: Mac app connecting to Ubuntu via Remote SSH
- App version (before update): Antigravity
- App version (after update): Antigravity IDE 2.0.1
---
**Problem:**
After updating the Mac app from "Antigravity" to "Antigravity IDE", all previous conversation history has disappeared from the sidebar.
**What changed on disk:**
The update created new data directories on both the Mac and the Ubuntu remote server:
| Before update | After update |
|---|---|
| `~/Library/Application Support/Antigravity` (Mac) | `~/Library/Application Support/Antigravity IDE` (Mac) |
| `~/.gemini/antigravity` (Ubuntu) | `~/.gemini/antigravity-ide` (Ubuntu) |
| `~/.antigravity-server/` (Ubuntu) | `~/.antigravity-ide-server/` (Ubuntu) |
The old directories were left untouched, but the new app reads from the new directories, which are empty.
**What I tried:**
I manually copied all data from the old directories to the new ones:
- `~/.gemini/antigravity` → `~/.gemini/antigravity-ide` (Linux)
- `~/.antigravity-server/data` → `~/.antigravity-ide-server/data` (Linux)
- `~/Library/Application Support/Antigravity` → `~/Library/Application Support/Antigravity IDE` (Mac)
- Also copied `installation_id` from the old directory
Despite all files being in place, the conversation history still does not appear in the new app.
**Root cause investigation:**
I inspected the `.pb` conversation files and found they appear to be **encrypted**. This means the app is likely failing to decrypt/parse the old files due to a key or format change introduced in the update.
The server log also showed the following error while trying to load files:
```
While decoding the file, it failed to detect the charset with sufficient confidence
```
**Request:**
Could the team please:
Clarify what data format/encryption change was introduced between "Antigravity" and "Antigravity IDE"?
Provide an official migration script or tool to port old conversation history to the new format?
At a minimum, document the migration steps so users can manually recover their data.
The conversation data files still exist on disk — they are not deleted. But without a migration path, this data is effectively inaccessible.
Thank you.
---
## 🇯🇵Japanese Version
**タイトル: Antigravity IDE へのアップデート後、会話履歴がすべて消えてしまった**
**環境:**
- クライアント OS: macOS
- リモート OS: Ubuntu (Linux)
- 接続方法: Mac アプリから Remote SSH で Ubuntu に接続して使用
- アップデート前バージョン: Antigravity
- アップデート後バージョン: Antigravity IDE 2.0.1
---
**問題:**
Mac アプリを「Antigravity」から「Antigravity IDE」にアップデートしたところ、サイドバーから過去の会話履歴がすべて消えてしまいました。
**ディスク上の変化:**
アップデートにより、Mac・Ubuntu の両方に新しいデータディレクトリが作成されていました。
| アップデート前 | アップデート後 |
|---|---|
| `~/Library/Application Support/Antigravity` (Mac) | `~/Library/Application Support/Antigravity IDE` (Mac) |
| `~/.gemini/antigravity` (Ubuntu) | `~/.gemini/antigravity-ide` (Ubuntu) |
| `~/.antigravity-server/` (Ubuntu) | `~/.antigravity-ide-server/` (Ubuntu) |
旧ディレクトリのデータは残ったまま、新アプリは新しいディレクトリ(空)を参照するため、履歴が表示されなくなっていました。
**試したこと:**
旧ディレクトリのデータをすべて新ディレクトリに手動でコピーしました。
- `~/.gemini/antigravity` → `~/.gemini/antigravity-ide`(Linux側)
- `~/.antigravity-server/data` → `~/.antigravity-ide-server/data`(Linux側)
- `~/Library/Application Support/Antigravity` → `~/Library/Application Support/Antigravity IDE`(Mac側)
- `installation_id` も旧ディレクトリのものへ書き戻し
しかし、すべてのファイルを配置しても、履歴は依然として表示されませんでした。
**原因の調査:**
会話履歴ファイル(`.pb`)の中身を調査したところ、**暗号化されている**ことがわかりました。
アップデートにより暗号化キーやファイルフォーマットが変更されたため、新バージョンのアプリが旧ファイルを正常に読み込めていない可能性が高いです。
またサーバーログにも以下のエラーが記録されていました:
```
while decoding file, failed to detect charset with sufficient confidence
```
**要望:**
以下の対応をご検討いただけますでしょうか。
「Antigravity」→「Antigravity IDE」間でファイルフォーマット・暗号化キーに変更があったか、公式に明示していただきたい。
旧形式のデータを新形式に変換する公式マイグレーションツールまたはスクリプトの提供。
最低限、手動で移行できるようなドキュメントの整備。
会話データはディスク上に残っており、削除はされていません。しかし、移行手段がない現状では実質的にアクセス不能な状態です。
ご対応をよろしくお願いいたします。