@azumag/opencode-rate-limit-fallback 1.27.0 → 1.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Metrics Manager - Handles metrics collection, aggregation, and reporting
|
|
3
3
|
*/
|
|
4
|
-
import { RESET_INTERVAL_MS } from '
|
|
4
|
+
import { RESET_INTERVAL_MS } from '../types/index.js';
|
|
5
5
|
import { getModelKey } from '../utils/helpers.js';
|
|
6
6
|
/**
|
|
7
7
|
* Metrics Manager class for collecting and reporting metrics
|
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Metrics-specific types for the MetricsManager
|
|
3
|
-
*/
|
|
4
|
-
/**
|
|
5
|
-
* Reset interval options for metrics
|
|
6
|
-
*/
|
|
7
|
-
export type ResetInterval = "hourly" | "daily" | "weekly";
|
|
8
|
-
/**
|
|
9
|
-
* Reset interval values in milliseconds
|
|
10
|
-
*/
|
|
11
|
-
export declare const RESET_INTERVAL_MS: Record<ResetInterval, number>;
|