(snapshot)
| 885 | } |
| 886 | |
| 887 | function parseCodexSnapshotUpdatedAt(snapshot) { |
| 888 | const value = snapshot?.updatedAt ? Date.parse(snapshot.updatedAt) : 0; |
| 889 | return Number.isFinite(value) ? value : 0; |
| 890 | } |
| 891 | |
| 892 | async function readDesktopCodexQuotaSnapshot() { |
| 893 | const usageUrlMarker = Buffer.from("/backend-api/wham/usage"); |
no outgoing calls
no test coverage detected