Repository navigation
v0.2.0
What's New
Bug Fixes
- Fix OpenCode plugin loading error by removing class/function exports from main entry
- Improve span detection for OpenCode compatibility (auto-create sessions, extended attribute matching)
Features
- Add automatic cost calculation based on Claude model pricing
- Supports Opus, Sonnet, Haiku (v3, v3.5, v4)
- Calculates from token counts when cost not provided in spans
Pricing (per million tokens)
| Model | Input | Output |
|---|---|---|
| Opus 4 | $15 | $75 |
| Sonnet 4 | $3 | $15 |
| Haiku 4 | $0.80 | $4 |
Full Changelog: v0.1.1...v0.2.0