Track session usage totals (#26644)

This commit is contained in:
Dax
2026-05-12 01:18:57 -04:00
committed by GitHub
parent e36bc20f84
commit 36d40fee4d
20 changed files with 1882 additions and 26 deletions

View File

@@ -12,6 +12,8 @@ const info = {
directory: "/tmp/opencode",
parentID: undefined,
summary: undefined,
cost: 0,
tokens: { input: 0, output: 0, reasoning: 0, cache: { read: 0, write: 0 } },
share: undefined,
title: "Test session",
version: "1.0.0",