File tree Expand file tree Collapse file tree
rust/adapters/antigravity Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,9 +44,10 @@ ANTIGRAVITY_DATA_DIR="$HOME/.gemini/antigravity-cli,/backup/antigravity" \
4444Only ` .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 `
4646schema 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
101101has the expected ` gen_metadata (idx, data) ` schema. Other readable databases
102102remain in the report.
103103:::
Original file line number Diff line number Diff line change @@ -26,10 +26,10 @@ The adapter reads `.db` files below these default roots:
2626root may contain a ` conversations/ ` child or be the conversation directory
2727itself. Databases are opened read-only and must provide the ` gen_metadata `
2828table. 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
You can’t perform that action at this time.
0 commit comments