mirror of
https://github.com/yigitkonur/cli-continues.git
synced 2026-04-26 00:36:02 +03:00
[PR #30] [MERGED] fix: detect antigravity .json files and use async io in parser #30
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#30
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?
📋 Pull Request Information
Original PR: https://github.com/yigitkonur/cli-continues/pull/30
Author: @yigitkonur
Created: 3/2/2026
Status: ✅ Merged
Merged: 3/2/2026
Merged by: @yigitkonur
Base:
main← Head:fix/antigravity-json-extension📝 Commits (1)
e0b0ccbfix: detect Antigravity .json files, async IO, recursive search, correct project name📊 Changes
1 file changed (+63 additions, -53 deletions)
View changed files
📝
src/parsers/antigravity.ts(+63 -53)📄 Description
fixes #23
hey @DaveW001 — good catch on the extension mismatch. this pr fixes all the issues you identified plus a few more that were lurking:
what changed
.jsonand.jsonl(was only.jsonl)recursive: trueso files inside nestedactive/<project>/dirs are found.jsonand.jsonlextensionsreadFileSyncwithreadline.createInterfacestreaming,statSyncwithfsp.stat_<hex-hash>suffixes (e.g.marketing_c6b0a246...→marketing)isNaN→Number.isNaNall 688 tests pass, build + biome lint clean.
Review all of them with eye of John Carmack-like simplicity with elegeance approach and apply the one only if required
Greptile Summary
Fixes Antigravity parser to detect both
.jsonand.jsonlfiles with recursive search, and migrates to async I/O (streaming). The async conversion is solid — follows the "streaming-large-files" rule properly.Major changes:
antigravity.ts: Streaming with readline (good), recursive file search (fixes nestedactive/<project>/), extension handling (both.json/.jsonl), project name hash strippingresume.ts: Fixes Node 22 DEP0190 deprecation by refactoring Windows spawn to quote args manually — but has a command quoting bug (see inline comment)registry.ts: Updates Gemini (--continue→--resume) and OpenCode (['--prompt', prompt]→['run', prompt]) args — these fixes aren't mentioned in the PR descriptionIssues:
resume.ts:172will break if the command path contains spacesConfidence Score: 3/5
Important Files Changed
Last reviewed commit: ae26442
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.