Preface¶
When developing or debugging in DeepSeek Harness (DSH), sessions typically exist as files like session.jsonl.zstd in the sidebar for easy retrospection and continuation. If you have also run conversations in Google Antigravity (the Gemini side), those records are stored locally in SQLite by default. Their format does not interoperate with DSH, so to “continue viewing” or “import as a formal session” within the Harness, you often have to manually query the database or copy-paste content.
The following introduces the community plugin dsh-antigravity-bridge (maintainer: qvsix, SkillHub category: Memory). It reads the conversation database saved locally by Antigravity and provides listing, reading, and import capabilities through native DSH tools and slash commands. It attaches selected cascade conversations to the current workspace sidebar, aligning with DSH’s existing session persistence paths.
What Is This¶
dsh-antigravity-bridge is a Cordis plugin that opens Google Antigravity conversation content inside DSH. Antigravity stores each conversation as a SQLite database and keeps step data in protobuf blobs within the database. The default directory is ~/.gemini/antigravity/conversations/<cascade_id>.db. This plugin uses Python to decode these database files and exposes them as tools and / commands on the DSH side, where import generates spec-compliant DSH session logs and attaches them to the workspace.
Repository: https://github.com/qvsix/dsh-antigravity-bridge
Directory page: https://www.skillhub.cn/plugins/qvsix/dsh-antigravity-bridge
Core Features¶
The capabilities listed in the plugin’s README are as follows (Agent tools and slash commands correspond one-to-one).
Agent Tools¶
| Tool | Description |
|---|---|
antigravity_list |
Recent conversations (id, timestamp, number of steps, title), supports limit / offset |
antigravity_read |
Read a single conversation as organized text (user prompts, tool results, summaries, background task outputs, etc.), supports max_chars |
antigravity_import |
Convert a conversation into a DSH session (session.jsonl.zstd), attach it to the workspace, and return a conversation:// link |
Slash Commands¶
These can be executed directly without asking the Agent to do it for you:
| Command | Description |
|---|---|
/antigravity-list [N] |
Recent conversations (useful for looking up IDs) |
/antigravity-read <cascade_id> |
Read a conversation |
/antigravity-import <cascade_id \| latest> |
Import as a DSH session; when only the command is entered, it displays the 5 most recent conversations and usage instructions |
The import path is consistent with DSH’s native flow: sessions are written to sessions/<projectKey(cwd)>/session-<cascade_id>/session.jsonl.zstd, mounted via workspaceRegistry.resolveByPath and attachSession; the sidebar updates without requiring a restart. Re-importing the same conversation is idempotent—it returns the existing link rather than overwriting. The README notes that session_projcache is not modified; on first open, the backend materializes projections from the session log.
Environment and Dependencies¶
Confirm local conditions before installing (all from the README):
- Python 3: Only the standard library, no additional pip dependencies; you can specify an interpreter via the environment variable
ANTIGRAVITY_PYTHON. zstdCLI: Used for compression during import; the README states that DSH hosts typically already include it.- Antigravity conversations directory: Defaults to
~/.gemini/antigravity/conversations; can be overridden withANTIGRAVITY_CONVERSATIONSor theconversations_dirparameter. DSH_HOME: If not set, macOS defaults to~/Library/Application Support/dsh-desktop/harness.- Node:
package.jsonrequiresnode >= 22; peer dependencies are@deepseek-ai/cordisand@deepseek-ai/dsh-tools.
The current plugin version in package.json is 0.2.0, license MIT.
Installation and Activation¶
Official installation command (web profile):
dsh plugin --profile web add dsh-antigravity-bridge
If you have already downloaded the source code, you can also install from a local path (no build required; src/index.js and decoder/*.py run as-is):
dsh plugin --profile web add /path/to/dsh-antigravity-bridge
The DSH ecosystem emphasizes “everything is a plugin”; community directories like SkillHub are independent sites and have no official affiliation with DeepSeek or 幻方 (High-Flyer). Please refer to the directory page and GitHub for installation sources.
Typical Usage¶
- List IDs first: Enter
/antigravity-listin the Harness, or ask the Agent to callantigravity_list, and note thecascade_idfrom the output. - Quick preview:
/antigravity-read <cascade_id>, or the toolantigravity_read; usemax_charsto control length if needed. - Import to sidebar session:
/antigravity-import latestor/antigravity-import <cascade_id>; after success, use the returnedconversation://link to open it in the sidebar.
Development self-check (from the repository README):
npm run check # node --check + python py_compile
python3 decoder/antigravity_decode.py list --limit 5
In the decoding implementation, decoder/antigravity_decode.py first copies the .db file to a temporary directory before reading SQLite (to avoid journal issues), and performs heuristic protobuf decoding on steps.step_payload (e.g., type 14 for user, 132/15 for tools, 23 for summaries, 101 for background tasks).
Use Cases and Considerations¶
Who it’s for: Developers who have used Antigravity locally and want to review or continue those conversations within the same DSH workspace; scenarios where external Gemini/Antigravity sessions need to be incorporated into the DSH sidebar and persistence pipeline.
Sidebar and other plugins: The README states that import goes through the same attachSession channel as the native flow and has no special conflicts with plugins like dsh-better-sidebar, dsh-archived-chats, or dsh-rewind-plugin; it only writes when explicitly importing, with no background global state modifications.
Security and permissions: The plugin reads databases under ~/.gemini with the current dsh process permissions and writes to the DSH_HOME session directory. Before installing, you should review the GitHub source code and the MIT license yourself, and confirm that the paths and environment variables meet your machine and compliance requirements.
Conclusion¶
dsh-antigravity-bridge bridges Antigravity’s local SQLite sessions into DSH: list, read, and one-click import as sidebar sessions, aligning with DSH’s sanctioned attach flow. If you are selecting a “Memory” category plugin from SkillHub or GitHub, you can install it using the commands above and start your trial with /antigravity-list to view your recent conversations.