Skip to content

Commit 7febf88

Browse files
committed
docs(antigravity): document multi-root and nested database discovery
ANTIGRAVITY_DATA_DIR accepts comma-separated roots and discovery walks below conversations/, neither of which the guide's single-root, direct-children wording described. Co-authored-by: Codesmith <[email protected]>
1 parent 64cfb29 commit 7febf88

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

‎docs/guide/antigravity/index.md‎

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,21 +23,22 @@ ccusage daily
2323
By default, ccusage reads every conversation database under:
2424

2525
```text
26-
~/.gemini/antigravity-cli/conversations/*.db
26+
~/.gemini/antigravity-cli/conversations/**/*.db
2727
```
2828

2929
Antigravity is a Gemini-family tool, so its CLI state lives under the shared `.gemini` directory rather than a directory of its own.
3030

31-
Set `ANTIGRAVITY_DATA_DIR` when Antigravity is stored somewhere else:
31+
Set `ANTIGRAVITY_DATA_DIR` when Antigravity is stored somewhere else. It accepts comma-separated roots, so a current profile and an archive can be reported together:
3232

3333
```bash
3434
ANTIGRAVITY_DATA_DIR="/path/to/antigravity-cli" ccusage antigravity daily
35+
ANTIGRAVITY_DATA_DIR="/path/to/antigravity-cli,/archive/antigravity-cli" ccusage antigravity daily
3536
```
3637

37-
With `ANTIGRAVITY_DATA_DIR` set, ccusage reads:
38+
With `ANTIGRAVITY_DATA_DIR` set, ccusage reads every `.db` file below each root's `conversations/` directory, nested ones included:
3839

3940
```text
40-
$ANTIGRAVITY_DATA_DIR/conversations/*.db
41+
<each-root>/conversations/**/*.db
4142
```
4243

4344
Each conversation is a separate database, and a session in these reports is one conversation.

0 commit comments

Comments
 (0)