Skip to content

feat: configure API cost providers by adapter - #18

Merged
Gaalbu merged 1 commit into
mainfrom
feat/configurable-api-providers
Aug 27, 2026
Merged

feat: configure API cost providers by adapter#18
Gaalbu merged 1 commit into
mainfrom
feat/configurable-api-providers

Conversation

@Gaalbu

@Gaalbu Gaalbu commented Aug 27, 2026

Copy link
Copy Markdown
Owner

Summary

  • replaces fixed API-cost flags with an opt-in apiUsage.providers configuration array
  • supports custom provider IDs and labels while keeping collector selection explicit
  • blocks arbitrary URLs, headers, and credential-variable names to avoid credential redirection and SSRF
  • preserves the former Claude/Codex flags as a compatibility fallback

Relates to #15.

Validation

  • make test
  • mvn -q -DskipTests package
  • git diff --check

Unknown collectors remain offline and report unavailable; adding a new integration still requires a reviewed adapter.

@Gaalbu
Gaalbu merged commit d06ed7f into main Aug 27, 2026
5 checks passed
@Gaalbu
Gaalbu deleted the feat/configurable-api-providers branch August 27, 2026 03:48
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.

1 participant