OpenCode provider returns zero usage although opencode.db has sessions/messages/parts.
OpenCode DB schema has session.time_created/time_updated and session-level token columns:
cost, tokens_input, tokens_output, tokens_reasoning, tokens_cache_read, tokens_cache_write.
There is no session.time column.
Counts:
session=13, message=226, part=883
root sessions=11, child sessions=2
Command:
codeburn report --provider opencode -p all --format json
Result:
overview.cost=0, calls=0, sessions=0
OpenCode provider returns zero usage although opencode.db has sessions/messages/parts.
OpenCode DB schema has session.time_created/time_updated and session-level token columns:
cost, tokens_input, tokens_output, tokens_reasoning, tokens_cache_read, tokens_cache_write.
There is no session.time column.
Counts:
session=13, message=226, part=883
root sessions=11, child sessions=2
Command:
codeburn report --provider opencode -p all --format json
Result:
overview.cost=0, calls=0, sessions=0