mirror of
https://github.com/instructkr/claude-code.git
synced 2026-05-14 18:06:45 +00:00
9 lines
210 B
Python
9 lines
210 B
Python
from __future__ import annotations
|
|
|
|
from .cost_tracker import CostTracker
|
|
|
|
|
|
def apply_cost_hook(tracker: CostTracker, label: str, units: int) -> CostTracker:
|
|
tracker.record(label, units)
|
|
return tracker
|