open-usage 0.2.0 → 0.3.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.
- package/README.md +5 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -96,7 +96,10 @@ It reuses the logins your CLIs already have: Claude and Codex limits come from t
|
|
|
96
96
|
The one credential file it opens is OpenCode's `auth.json`, and only to show connection status - the key is masked on read and never displayed, logged, or sent anywhere.
|
|
97
97
|
|
|
98
98
|
Nothing is written outside its own config directory, and there is no telemetry or analytics of any kind.
|
|
99
|
-
|
|
99
|
+
It makes two outbound requests of its own accord.
|
|
100
|
+
One is to `opencode.ai`, and only if you opt in by configuring the cookie below.
|
|
101
|
+
The other asks `registry.npmjs.org` whether a newer version has been published, so an installed copy can tell you it is out of date - it sends nothing but the request, caches the answer for a day, gives up after 1.5 seconds, and stays silent on any failure.
|
|
102
|
+
Set `OPEN_USAGE_NO_UPDATE_CHECK` to switch it off.
|
|
100
103
|
|
|
101
104
|
OpenCode Go does not publish per-account limits, so its percentages are local estimates and are labelled as such in the UI.
|
|
102
105
|
Configuring the cookie below replaces those estimates with exact figures, and is enough on its own: OpenCode itself need not be installed, though without it the Go card has no token history to chart.
|
|
@@ -113,6 +116,7 @@ They persist to `~/.config/open-usage/preferences.json` (or `$XDG_CONFIG_HOME/op
|
|
|
113
116
|
| `CODEX_HOME` | non-default Codex home |
|
|
114
117
|
| `OPENCODE_DB` | non-default `opencode.db` path, for history |
|
|
115
118
|
| `OPEN_USAGE_OPENCODE_COOKIE` | exact OpenCode Go windows, no install needed |
|
|
119
|
+
| `OPEN_USAGE_NO_UPDATE_CHECK` | set to anything to stop the daily version check |
|
|
116
120
|
|
|
117
121
|
## Development
|
|
118
122
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "open-usage",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "A terminal dashboard for unified AI plan usage across Claude Code, Codex, and OpenCode Go",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "GPL-3.0-only",
|
|
@@ -54,10 +54,10 @@
|
|
|
54
54
|
"typescript": "^5"
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
|
-
"@open-usage/darwin-arm64": "0.
|
|
58
|
-
"@open-usage/linux-arm64": "0.
|
|
59
|
-
"@open-usage/linux-x64": "0.
|
|
60
|
-
"@open-usage/win32-arm64": "0.
|
|
61
|
-
"@open-usage/win32-x64": "0.
|
|
57
|
+
"@open-usage/darwin-arm64": "0.3.0",
|
|
58
|
+
"@open-usage/linux-arm64": "0.3.0",
|
|
59
|
+
"@open-usage/linux-x64": "0.3.0",
|
|
60
|
+
"@open-usage/win32-arm64": "0.3.0",
|
|
61
|
+
"@open-usage/win32-x64": "0.3.0"
|
|
62
62
|
}
|
|
63
63
|
}
|