LibreChat/packages/data-provider/src
Marco Beretta a48576b6fa
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-30 04:51:45 +02:00
..
react-query
types 🪝 feat: Human-in-the-Loop Runtime - Tool Approval + Ask-User-Question (Slice B) (#13942) 2026-06-29 16:56:41 -04:00
accessPermissions.ts
actions.ts
api-endpoints.ts ♻️ refactor: Compute Context Gauge Client-Side, Drop Projection Endpoint (#13953) 2026-06-25 15:29:31 -04:00
artifacts.ts
azure.ts
balance.spec.ts
balance.ts
bedrock.ts
cloudfront-config.spec.ts
codeEnvRef.spec.ts
codeEnvRef.ts
config.spec.ts
config.ts feat: add ephemeral retention mode for forced temporary chats 2026-06-30 04:51:45 +02:00
createPayload.ts
data-service.ts 🦥 perf: Lazy-Load Agent Version History in Editor (#13977) 2026-06-26 12:19:54 -04:00
feedback.ts
file-config.spec.ts
file-config.ts
generate.ts
headers-helpers.ts
index.ts
keys.ts ♻️ refactor: Compute Context Gauge Client-Side, Drop Projection Endpoint (#13953) 2026-06-25 15:29:31 -04:00
limits.ts
mcp.ts
messages.ts
models.ts 🧠 feat: Add Memory as an Agent Capability with Inline Tools and Ephemeral Badge (#13869) 2026-06-24 17:14:13 -04:00
parameterSettings.spec.ts
parameterSettings.ts
parsers.ts
permissions.ts
request.ts 🔄 feat: Continue Shared Conversations as Personal Copies (#13714) 2026-06-24 16:27:01 -04:00
roles.spec.ts
roles.ts
schemas.spec.ts
schemas.ts 🧠 feat: Add Memory as an Agent Capability with Inline Tools and Ephemeral Badge (#13869) 2026-06-24 17:14:13 -04:00
types.ts 🧠 feat: Add Memory as an Agent Capability with Inline Tools and Ephemeral Badge (#13869) 2026-06-24 17:14:13 -04:00
utils.ts