Skip to content

feat(usage): widen response schema with serde flatten + tests#3

Merged
deniaud merged 3 commits into
masterfrom
feature/usage-schema-serde-flatten
May 16, 2026
Merged

feat(usage): widen response schema with serde flatten + tests#3
deniaud merged 3 commits into
masterfrom
feature/usage-schema-serde-flatten

Conversation

@deniaud

@deniaud deniaud commented May 16, 2026

Copy link
Copy Markdown
Owner

Cherry-picks from gushul/CCometixLine (T00 + T01).

  • 08e5a176 — pin existing pure helpers with unit tests (T00)
  • acd48fb3 — widen Anthropic API response struct with #[serde(flatten)] + extra: HashMap<String, Value> field (T01)

Forward-compat fix: unknown fields from future Claude Code API versions no longer break parsing.

Source: https://github.com/gushul/CCometixLine

@deniaud deniaud merged commit fbd14e2 into master May 16, 2026
3 of 4 checks passed
@deniaud deniaud deleted the feature/usage-schema-serde-flatten branch May 16, 2026 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants