triflux 3.1.0-dev.4 → 3.1.0-dev.5
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/hud/hud-qos-status.mjs +1 -1
- package/package.json +1 -1
package/hud/hud-qos-status.mjs
CHANGED
|
@@ -791,7 +791,7 @@ async function fetchClaudeUsage(forceRefresh = false) {
|
|
|
791
791
|
: result.status === 401 || result.status === 403 ? "auth"
|
|
792
792
|
: result.error === "timeout" || result.error === "network" ? "network"
|
|
793
793
|
: "unknown";
|
|
794
|
-
writeClaudeUsageCache(
|
|
794
|
+
writeClaudeUsageCache(existingSnapshot.data, { type: errorType, status: result.status });
|
|
795
795
|
return existingSnapshot.data || null;
|
|
796
796
|
}
|
|
797
797
|
const usage = parseClaudeUsageResponse(result.data);
|