From 563208d03b8b07458d87db07e7cd6d8731e1ef46 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 11 Jun 2026 03:12:47 -0700 Subject: [PATCH] taffybar: point library input to anthropic-usage-rate-limit-backoff PR branch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Pins taffybar to github:taffybar/taffybar/anthropic-usage-rate-limit-backoff (commit 7beecc89, taffybar/taffybar#681) so the Anthropic usage widget backs off the OAuth usage endpoint on 429/Retry-After, caches the last good response during backoff, and recovers immediately when the access token is refreshed — instead of hammering the endpoint and dropping to the token-count fallback. Bumps both the imalison-taffybar config flake.lock and the transitive node in nixos/flake.lock. Revert to master after the PR merges. Co-Authored-By: Claude Opus 4.8 --- dotfiles/config/taffybar/flake.lock | 7 ++++--- dotfiles/config/taffybar/flake.nix | 4 +++- nixos/flake.lock | 7 ++++--- 3 files changed, 11 insertions(+), 7 deletions(-) diff --git a/dotfiles/config/taffybar/flake.lock b/dotfiles/config/taffybar/flake.lock index 123e447f..274bf410 100644 --- a/dotfiles/config/taffybar/flake.lock +++ b/dotfiles/config/taffybar/flake.lock @@ -136,15 +136,16 @@ "xmonad-contrib": "xmonad-contrib" }, "locked": { - "lastModified": 1781159184, - "narHash": "sha256-w5drkb9QGCQMphSyyh1SplfH74hMib+eZ74rra/8yQk=", + "lastModified": 1781172310, + "narHash": "sha256-mBd3obUUS+ICqL+U2bOanGwaGl2rfbMZdGzAFiqRSaE=", "owner": "taffybar", "repo": "taffybar", - "rev": "f160fcd1dff1c5fcf8331d3b5b86aec0a36346eb", + "rev": "7beecc89928df669281977e41ceed213c5ede88f", "type": "github" }, "original": { "owner": "taffybar", + "ref": "anthropic-usage-rate-limit-backoff", "repo": "taffybar", "type": "github" } diff --git a/dotfiles/config/taffybar/flake.nix b/dotfiles/config/taffybar/flake.nix index c1e36a5b..91edb319 100644 --- a/dotfiles/config/taffybar/flake.nix +++ b/dotfiles/config/taffybar/flake.nix @@ -3,7 +3,9 @@ taffybar = { # Keep the default source usable in CI. Local iteration uses # IMALISON_TAFFYBAR_LIVE_CHECKOUT below via `just switch-local-taffybar`. - url = "github:taffybar/taffybar"; + # Pinned to the rate-limit-backoff PR branch (taffybar/taffybar#681); + # revert to master after it merges. + url = "github:taffybar/taffybar/anthropic-usage-rate-limit-backoff"; inputs.weeder-nix = { url = "github:NorfairKing/weeder-nix"; inputs.pre-commit-hooks.inputs.nixpkgs.follows = "nixpkgs"; diff --git a/nixos/flake.lock b/nixos/flake.lock index 69a47207..76cda36b 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -2160,15 +2160,16 @@ "xmonad-contrib": "xmonad-contrib" }, "locked": { - "lastModified": 1781159184, - "narHash": "sha256-w5drkb9QGCQMphSyyh1SplfH74hMib+eZ74rra/8yQk=", + "lastModified": 1781172310, + "narHash": "sha256-mBd3obUUS+ICqL+U2bOanGwaGl2rfbMZdGzAFiqRSaE=", "owner": "taffybar", "repo": "taffybar", - "rev": "f160fcd1dff1c5fcf8331d3b5b86aec0a36346eb", + "rev": "7beecc89928df669281977e41ceed213c5ede88f", "type": "github" }, "original": { "owner": "taffybar", + "ref": "anthropic-usage-rate-limit-backoff", "repo": "taffybar", "type": "github" }