feat: agent-claude-code reports real $usage from stream-json output
CI / check (pull_request) Successful in 1m40s

- Map parsed numTurns, inputTokens, outputTokens, durationMs to Usage type
- Add @united-workforce/protocol dependency + tsconfig reference
- 747 tests pass

Fixes #77
Refs #68
This commit is contained in:
2026-06-04 22:36:44 +00:00
parent 7681e8b8e2
commit be92cb2dd2
4 changed files with 14 additions and 2 deletions
+3
View File
@@ -63,6 +63,9 @@ importers:
'@ocas/core':
specifier: ^0.3.0
version: 0.3.0
'@united-workforce/protocol':
specifier: workspace:^
version: link:../protocol
'@united-workforce/util':
specifier: workspace:^
version: link:../util