You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a2b3f59
Browse filesBrowse the repository at this point in the historyBrowse files
feat(session): keep transcripts for 365 days by default
Transcripts now default to a 365-day retention and can be changed from
Settings > General, where a change previews how many files the new window
removes and requires confirmation before anything is deleted. Plans, file
history, debug logs, pastes and agent worktrees keep the previous 30-day
window instead of inheriting the transcript setting.
Also cleans subagent transcripts together with their parent session, and
restricts the bulk cleanup endpoint to the desktop process token so an H5
token cannot wipe every transcript in one request.
'settings.general.sessionRetentionDescription': 'How long transcripts are kept on this device. Lowering the value deletes older sessions right away, so it asks for confirmation first.',
1554
+
'settings.general.sessionRetentionLabel': 'Keep session history for',
'settings.general.sessionRetentionCurrentOff': 'Current: not saved',
1557
+
'settings.general.sessionRetentionUnit': 'days',
1558
+
'settings.general.sessionRetentionHint': 'Default is 365 days. Setting this to 0 stops recording session content and deletes every existing transcript.',
1559
+
'settings.general.sessionRetentionRequired': 'Enter a number of days.',
1560
+
'settings.general.sessionRetentionRange': 'Enter a whole number from 0 to {max}.',
1561
+
'settings.general.sessionRetentionSave': 'Save',
1562
+
'settings.general.sessionRetentionSaved': 'Retention updated. {count} old session files removed.',
1563
+
'settings.general.sessionRetentionSavedPartial': 'Retention updated. {count} old session files removed, {errors} could not be removed.',
1564
+
'settings.general.sessionRetentionConfirmTitle': 'Change session history retention?',
1565
+
'settings.general.sessionRetentionConfirmDelete': 'Sessions older than {days} days will be permanently deleted. This cannot be undone.',
1566
+
'settings.general.sessionRetentionConfirmDisable': 'Setting this to 0 stops recording new session content and permanently deletes every existing transcript. This cannot be undone.',
1567
+
'settings.general.sessionRetentionPreview': '{count} files currently match this cutoff.',
1568
+
'settings.general.sessionRetentionPreviewUnavailable': 'Could not count matching files. You can still confirm.',
1569
+
'settings.general.sessionRetentionConfirmAction': 'Delete and save',
'settings.general.storageDescription': 'Advanced, low-frequency setting. After switching, sessions, Skills, MCP, plugins, provider settings, tasks, and caches are read from the new directory.',
1554
1572
'settings.general.storageSystemTitle': 'Use system directory',
0 commit comments