opencode-usage 0.5.7 → 0.5.10
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/README.md +7 -2
- package/dist/commander/services/plugin-adapters.d.ts +0 -5
- package/dist/commander-ui/assets/index-Ctp6fkHv.js +20 -0
- package/dist/commander-ui/dist/assets/index-Ctp6fkHv.js +20 -0
- package/dist/commander-ui/dist/index.html +1 -1
- package/dist/commander-ui/index.html +1 -1
- package/dist/index.js +20 -2
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
- package/dist/commander-ui/assets/index-ybRDM9XN.js +0 -20
- package/dist/commander-ui/dist/assets/index-ybRDM9XN.js +0 -20
package/README.md
CHANGED
|
@@ -74,11 +74,16 @@ opencode-usage --commander
|
|
|
74
74
|
opencode-usage --commander --commander-port 5000
|
|
75
75
|
```
|
|
76
76
|
|
|
77
|
+

|
|
78
|
+
|
|
77
79
|
The Commander provides a single-page web UI with:
|
|
78
80
|
|
|
79
|
-
- **Quota Status** - Per-provider account usage with progress bars, thresholds, and stale detection
|
|
80
|
-
- **
|
|
81
|
+
- **Quota Status** - Per-provider account usage with progress bars, configurable thresholds, and stale detection
|
|
82
|
+
- **Multi-Account** - Full multi-account support for Anthropic and Gemini providers
|
|
83
|
+
- **Usage Breakdown** - Daily/monthly token usage table with cost estimates, provider filter, and date range
|
|
81
84
|
- **Account Management** - Add, switch, remove, and re-authenticate accounts
|
|
85
|
+
- **Plugins** - Extensible plugin system for custom providers and integrations
|
|
86
|
+
- **Configuration** - Customizable thresholds, display preferences, and provider settings
|
|
82
87
|
- **Ping** - Verify account connectivity with live PONG/FAIL indicators
|
|
83
88
|
- **Dark mode** toggle
|
|
84
89
|
- Auto-refresh every 5 minutes
|
|
@@ -4,9 +4,4 @@
|
|
|
4
4
|
* Each command is registered via `registerCommand` so the command-runner can
|
|
5
5
|
* execute them as background jobs.
|
|
6
6
|
*/
|
|
7
|
-
/**
|
|
8
|
-
* Proactively refresh Codex tokens that haven't been refreshed in 24+ hours.
|
|
9
|
-
* Keeps tokens fresh so they never silently expire.
|
|
10
|
-
* Safe to call frequently — skips accounts refreshed recently.
|
|
11
|
-
*/
|
|
12
7
|
export declare function proactiveRefreshCodexTokens(): Promise<void>;
|