LibreChat/client
Marco Beretta 06f462ded6
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-07-24 16:21:58 +02:00
..
public
scripts
src feat: add ephemeral retention mode for forced temporary chats 2026-07-24 16:21:58 +02:00
sw
test
babel.config.cjs
check_updates.sh
index.html
jest.config.cjs
jest.resolver.cjs
nginx.conf
package.json feat: Add Gemini 3.6 Flash and Gemini 3.5 Flash-Lite Support (#14369) 2026-07-21 21:14:11 -04:00
postcss.config.cjs
tailwind.config.cjs
tsconfig.json
vite.config.ts 🧩 chore: Prebundle Node Polyfills for Buffer, Process, and Global in Vite optimizeDeps (#14354) 2026-07-20 21:18:27 -04:00