Fix Antigravity 2.0 duplicate projects (MyApp, MyApp 2, … MyApp 41) — free one-command tool that keeps your chats

After updating to Antigravity 2.0, my Projects sidebar filled with duplicates of the same folder — MyApp, MyApp 2, MyApp 3 … all the way to MyApp 41. There’s no “remove all” button and deleting them one by one is hopeless.

I built a free, open-source, zero-dependency tool that cleans this up in one command — and can keep your chats grouped under a single project:

npx antigravity-projects-fix scan            # see the duplicates (read-only)
npx antigravity-projects-fix consolidate --apply   # keep one entry per folder
npx antigravity-projects-fix merge --apply   # also re-home your chats under one project

It groups the entries in ~/.gemini/config/projects by their real folder. Dry-run by default, automatic backup, restore to undo, and it never deletes a chat.

Repo: https://github.com/ryukenshin546-a11y/antigravity-projects-fix

:warning: Tested on Windows; macOS/Linux feedback welcome. If merge reports “0 chats,” run npx antigravity-projects-fix diagnose and share the output.

Script seems to be blocking itself

Antigravity appears to be RUNNING.
  Close it completely first, or the files may be locked or rewritten.
  (use --force to override)

  Matched process(es):
    74769 npm exec antigravity-projects-fix merge --apply --allow-agyhub-only

Does it requires a package install? I am being asked to install the following package in my terminal:
antigravity-projects-fix@1.7.3