agent-plugin-usage / Exports
agent-plugin-usage
Table of contents
Classes
Interfaces
Type Aliases
Functions
Type Aliases
TUsageTrackingStrategy
Ƭ TUsageTrackingStrategy: "memory" | "file" | "remote" | "silent"
Usage tracking strategy types
Defined in
agent-plugin-usage/src/types.ts:4
Functions
aggregateUsageStats
▸ aggregateUsageStats(stats, timeRange?): IAggregatedUsageStats
Aggregate usage statistics into a single summary object. This is a shared SSOT utility (composition over inheritance).
Parameters
| Name | Type |
|---|---|
stats | readonly IUsageStats[] |
timeRange? | IUsageTimeRange |