Skip to content

Commit 8e4b2a3

Browse files
ryoppippichrissound
andcommitted
docs(antigravity): clarify which skipped databases warn
Co-authored-by: chrissound <[email protected]>
1 parent 4d89e8f commit 8e4b2a3

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎docs/guide/antigravity/index.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,10 @@ ANTIGRAVITY_DATA_DIR="$HOME/.gemini/antigravity-cli,/backup/antigravity" \
4444
Only `.db` files are read. ccusage opens them read-only and reads the
4545
`gen_metadata` rows in ascending `idx` order. When present, the real `steps`
4646
schema contributes step and retry usage, and `trajectory_metadata_blob` supplies
47-
the timestamp fallback. Empty or unreadable databases are skipped with a warning
48-
that names the file. A database contributes usage only after its full read
49-
succeeds, and other readable databases remain in the report.
47+
the timestamp fallback. Empty databases are skipped silently (use `--debug` to
48+
list them), and unreadable databases are skipped with a warning that names the
49+
file. A database contributes usage only after its full read succeeds, and other
50+
readable databases remain in the report.
5051

5152
## What Gets Calculated
5253

@@ -96,8 +97,7 @@ databases must contain the `gen_metadata` table.
9697
:::
9798

9899
::: details A database warning is shown
99-
ccusage skips empty or unreadable databases and excludes all usage from that
100-
file. Check the filename in the warning and ensure the database is readable and
100+
ccusage skips unreadable databases and excludes all usage from that file. Check the filename in the warning and ensure the database is readable and
101101
has the expected `gen_metadata (idx, data)` schema. Other readable databases
102102
remain in the report.
103103
:::

‎rust/adapters/antigravity/README.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ The adapter reads `.db` files below these default roots:
2626
root may contain a `conversations/` child or be the conversation directory
2727
itself. Databases are opened read-only and must provide the `gen_metadata`
2828
table. When present, the real `steps` schema contributes step and retry usage,
29-
and `trajectory_metadata_blob` supplies the timestamp fallback. Empty or
30-
unreadable databases are skipped with a filename warning, and a database only
31-
contributes usage when its full read succeeds. Other readable databases remain
32-
available to the report.
29+
and `trajectory_metadata_blob` supplies the timestamp fallback. Empty
30+
databases are skipped silently (logged with `--debug`), and unreadable databases
31+
are skipped with a filename warning. A database only contributes usage when its
32+
full read succeeds. Other readable databases remain available to the report.
3333

3434
## Public surface
3535

0 commit comments

Comments
 (0)