You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,6 +59,7 @@ shelltime codex install
59
59
- Syncs your command history to ShellTime so you can search and analyze it.
60
60
- Runs a background daemon for low-latency, non-blocking sync.
61
61
- Forwards Claude Code and OpenAI Codex telemetry through OTEL.
62
+
- Syncs the rate-limit windows and extra-credit status that Codex currently reports.
62
63
- Shows a live Claude Code statusline with cost, quota, time, and context usage.
63
64
- Syncs supported dotfiles to and from the ShellTime service.
64
65
@@ -176,6 +177,17 @@ Example output:
176
177
177
178
For formatting details and platform notes, see [docs/CC_STATUSLINE.md](docs/CC_STATUSLINE.md).
178
179
180
+
## Codex Usage Tracking
181
+
182
+
ShellTime receives Codex data through two independent paths:
183
+
184
+
- `shelltime codex install`configures Codex OTEL export for sessions, tokens, tool activity, and cost telemetry.
185
+
- The running `shelltime-daemon` reads your local Codex login, fetches the rate-limit windows and credit status currently returned by Codex, and syncs that summary when the daemon starts and every 10 minutes afterward.
186
+
187
+
Quota sync requires both a ShellTime login (`shelltime auth`) and a ChatGPT-authenticated Codex installation. ShellTime reads the Codex access token from `~/.codex/auth.json` only for the direct request to Codex; the token stays on your machine, and only the returned plan, quota windows, percentages, reset times, and credit summary are sent to ShellTime.
188
+
189
+
Codex decides which windows are present. ShellTime displays the windows returned by Codex instead of assuming that every account has a fixed 5-hour window.
190
+
179
191
## Security and Privacy
180
192
181
193
- **Data masking** redacts sensitive command content before it leaves your machine.
0 commit comments