LibreChat/client
Danny Avila cb133ebf09
🗓️ feat: Align Balance Resets to Fixed Calendar Boundaries (#18144)
* 🗓️ feat: Align Balance Resets to Fixed Calendar Boundaries

Add balance.refillAnchor, an ISO timestamp with a fixed offset that periods align to: a refill or reset is due at the first anchor-plus-whole-intervals boundary after the last one, so every user resets at the same moment (e.g. each Monday at 00:00 UTC, or the 1st of each month). Omitted, periods keep running from each user's last refill. The gauge names the reset date for anchored periods.

* 🧭 fix: Clear a Removed Reset Anchor During Admission and Shape Balance Responses in TS

A policy built without a record now always carries refillAnchor, null when unset, so removing the setting clears a stored anchor instead of looping admission until its retry bound throws. Balance response shaping moves to toBalanceResponse in packages/api; the CJS controller delegates to it.
2026-11-17 09:37:34 -05:00
..
public 💬 feat: Redesign the Slack Channels Setup and Management UI (#18105) 2026-11-13 15:44:17 +01:00
src 🗓️ feat: Align Balance Resets to Fixed Calendar Boundaries (#18144) 2026-11-17 09:37:34 -05:00
sw
test ⏳ refactor: Render the Pending Turn and Steers From @librechat/chat by Default (#18134) 2026-11-14 17:01:27 +01:00
babel.config.cjs 🧹 chore: Clear the Whole-Repo Lint Errors on Dev (#17702) 2026-11-01 01:23:47 +01:00
check_updates.sh
index.html 📶 fix: Show Progress on Slow Connections and Name Offline Failures (#18107) 2026-11-13 17:22:22 +01:00
jest.config.cjs 🚀 v0.8.9 (#18236) 2026-11-17 09:22:57 -05:00
jest.resolver.cjs
nginx.conf
package.json 🚀 v0.8.9 (#18236) 2026-11-17 09:22:57 -05:00
postcss.config.cjs
tailwind.config.cjs 📊 refactor: Move the Context Usage Popover Into @librechat/chat (#17799) 2026-11-05 22:36:51 +01:00
tsconfig.json
vite.config.ts 🖋️ perf: Keep the Markdown Renderer Out of Boot (#18131) 2026-11-14 01:52:59 +01:00