@leo000001/opencode-quota-sidebar 4.0.9 → 4.0.12

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.
package/dist/format.d.ts CHANGED
@@ -1,7 +1,7 @@
1
- import type { QuotaSidebarConfig, QuotaSnapshot } from './types.js';
2
- import type { HistoryUsageResult } from './usage_service.js';
3
- import { type UsageSummary } from './usage.js';
4
- export type TitleView = 'multiline' | 'compact';
1
+ import type { QuotaSidebarConfig, QuotaSnapshot } from "./types.js";
2
+ import type { HistoryUsageResult } from "./usage_service.js";
3
+ import { type UsageSummary } from "./usage.js";
4
+ export type TitleView = "multiline" | "compact";
5
5
  /**
6
6
  * Truncate `value` to at most `width` terminal cells.
7
7
  * Keep plain text only (no ANSI) to avoid renderer corruption.
@@ -19,7 +19,7 @@ export declare function selectDesktopCompactProviderIDs(usage: UsageSummary, con
19
19
  * Input 18.9k Output 53
20
20
  * Cache Read 1.5k (only if read > 0)
21
21
  * Cache Write 200 (only if write > 0)
22
- * $3.81 as API cost (only if showCost=true)
22
+ * API $3.81 (only if showCost=true)
23
23
  * OpenAI Remaining 78% (only if quota available)
24
24
  */
25
25
  export declare function renderSidebarTitle(baseTitle: string, usage: UsageSummary, quotas: QuotaSnapshot[], config: QuotaSidebarConfig, view?: TitleView): string;