Repository navigation
v1.1.2
opencode removed GET /console/api/usage/rows (404), so the sync moves to the Console request log.
Fixed
- opencode data source:
GET /console/api/request-logs?category=inference(session cookie +x-org-id),cursor+untilpagination, one record per succeeded inference request. Retention is ~30d, so a full sync covers the window instead of full history. - opencode mapper: request-log schema (
startedAtms epoch, singlecacheWriteTokensbucket, numericcost, nobillingSource); non-succeeded and non-inference rows are skipped. Rejected rows carry no tokens/cost and never reach the store.