Highlights
✨ New worth-it mode — a real-time, predictive cost gate. Instead of capping
raw tokens, it costs each step in currency, smooths the trend (EMA), and
projects the run's total spend against a budgetLimit — firing graduated events
predictive_warning (0.70) → optimize_context (0.85) → trip (0.95) before the
budget is gone. Progress is developer-driven via a milestone API (no LLM
self-reporting).
What's Changed
- feat(core): worth-it predictive cost engine + progress/EVM API
(WorthItEngine, ProgressTracker, createWorthItRunner); CircuitBreaker is now
the unified entry point for all three modes - feat: worth-it support in all adapters — Vercel AI SDK, Claude Agent SDK,
OpenAI Agents SDK, LangChain, LangGraph Platform SDK - New @monetisebg/circuit-breaker/worth-it subpath export
- docs: worth-it documented in README + AGENTS
Full Changelog:
0.1.1...v0.2.0