mirror of
https://github.com/yigitkonur/cli-continues.git
synced 2026-04-26 00:36:02 +03:00
[GH-ISSUE #23] Bug: Antigravity sessions not detected - file extension mismatch (.json vs .jsonl) #10
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/cli-continues#10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DaveW001 on GitHub (Mar 1, 2026).
Original GitHub issue: https://github.com/yigitkonur/cli-continues/issues/23
Bug Description
The continues tool fails to detect Antigravity sessions because it looks for
*.jsonlfiles, but Antigravity stores sessions as*.jsonfiles.Environment
Steps to Reproduce
continues scanExpected Behavior
Antigravity sessions should appear in the scan results:
Actual Behavior
Antigravity shows 0 sessions:
(No antigravity line shown)
Root Cause Analysis
In the Antigravity parser (
src/parsers/antigravity.ts):The code looks for
.jsonlfiles, but Antigravity stores sessions as.jsonfiles.Actual Antigravity file structure:
File format: The
.jsonfiles contain JSON data with a binary/protobuf prefix (which the parser already handles withstripBinaryPrefix).Evidence
Antigravity sessions exist:
But continues doesn't see them:
Fix Required
Change the file extension filter in
src/parsers/antigravity.ts:Current (broken):
Fixed:
Or better yet, support both:
Additional Context
Looking at the code, the parser already handles the binary prefix in JSON files via
stripBinaryPrefix(), so it seems the code was designed to handle these files but the file extension filter was set incorrectly to.jsonlinstead of.json.The
stripBinaryPrefixfunction:This confirms the parser expects JSON content after a binary prefix, which matches the actual
.jsonfile format.Labels
bug, antigravity, parser
@yigitkonur commented on GitHub (Mar 2, 2026):
hey @DaveW001 — this should be fixed in #30. beyond the extension mismatch you found, it also fixes recursive directory traversal, async io, and project name parsing. would you mind giving it a try once merged and letting us know if your 9 sessions show up? thanks for the detailed report 🙏
@yigitkonur commented on GitHub (Mar 2, 2026):
merged #30 — @DaveW001 this should be fixed now. grab the latest version and your antigravity sessions should show up. let us know if anything's still off 👍
@DaveW001 commented on GitHub (Mar 3, 2026):
Apology: First, I want to apologize for my previous comment which I deleted. I should have done more thorough investigation.
Investigation Summary
Testing with cli-continues v4.0.9 (built from GitHub main):
What I Found
cli-continues parser expects (from
src/parsers/antigravity.ts):~/.gemini/antigravity/code_tracker/**/*.jsonor.jsonl{type: "user"|"assistant", content, timestamp}entriesMy Antigravity installation has:
conversations/.pb(encrypted protobuf)implicit/.pb(encrypted protobuf)code_tracker/active/.json,.md,.txtThe
code_tracker/directory contains file snapshots (Perplexity results, source code, etc.) rather than conversation logs. The actual conversations are in.pbprotobuf files.