LibreChat/client/src
Marco Beretta 219ce08872
feat: add ephemeral retention mode for forced temporary chats
Extends the `retentionMode` interface option with a new `ephemeral` value
that forces every conversation to be temporary and applies expiration
deadlines to all data. Unlike `all` (which keeps chats visible until they
expire), `ephemeral` marks all chats temporary so they are hidden from
history and search, with the per-chat toggle locked on.

- Add RetentionMode.EPHEMERAL plus isAllDataRetention and
  isForcedTemporaryRetention helpers
- Force isTemporary and expiry on conversations, messages, imports, and files
- Force the TEMPORARY_CHAT permission on so the locked indicator is shown
- Lock the temporary-chat toggle in the UI and force new/existing chats temporary
- Document the new mode in librechat.example.yaml
2026-06-23 16:40:21 +02:00
..
@types ⚙️ refactor: Lazy load locale resources (#13640) 2026-06-10 08:48:58 -04:00
a11y 👷 ci: Type-check the Client Workspace (#13560) 2026-06-06 18:40:31 -04:00
common 🖇️ feat: Reference Selected Chat Text with Multi-Quote Popup (#13868) 2026-06-21 08:33:11 -04:00
components feat: add ephemeral retention mode for forced temporary chats 2026-06-23 16:40:21 +02:00
constants
data-provider 🔐 fix: Gate Shared Startup Config By Link Access (#13897) 2026-06-23 08:28:37 -04:00
hooks ⌨️ feat: Keyboard Shortcuts (#12425) 2026-06-22 17:02:46 -04:00
lib/rum 👷 ci: Type-check the Client Workspace (#13560) 2026-06-06 18:40:31 -04:00
locales feat: add ephemeral retention mode for forced temporary chats 2026-06-23 16:40:21 +02:00
polyfills chore: Upgrade Vite For Node 24 (#13450) 2026-06-01 15:47:58 -04:00
Providers 🔗 feat: Snapshot Files for Shared-Link Attachments (#13740) 2026-06-20 23:05:13 -04:00
routes feat: add ephemeral retention mode for forced temporary chats 2026-06-23 16:40:21 +02:00
store ⌨️ feat: Keyboard Shortcuts (#12425) 2026-06-22 17:02:46 -04:00
utils 🔐 fix: Gate Shared Startup Config By Link Access (#13897) 2026-06-23 08:28:37 -04:00
App.jsx ⚙️ refactor: lazy-load React Query Devtools (#13639) 2026-06-10 13:06:20 -04:00
main.jsx 🛟 fix: Auto-Recover from Stale Service Worker Assets After Deploys (#13686) 2026-06-11 11:57:06 -04:00
mobile.css 🎨 refactor: Redesign Sidebar with Unified Icon Strip Layout (#12013) 2026-03-22 01:15:20 -04:00
style.css ⌨️ feat: Keyboard Shortcuts (#12425) 2026-06-22 17:02:46 -04:00
vite-env.d.ts