security: require encryption for all sync channels, reduce activity log to 100

Sync operations (browser sync, Gist, custom URL, sync code) now refuse to
operate without encryption enabled. Disabling encryption also turns off all
active sync channels. Activity log cap reduced from 200 to 100 entries for
both storage and display.

https://claude.ai/code/session_01KF4i7Ra7zCEDskxDBaNtcT
This commit is contained in:
Claude
2026-03-27 04:17:50 +00:00
parent ad0176c2cf
commit a3904843ba
5 changed files with 50 additions and 21 deletions
+1 -1
View File
@@ -105,7 +105,7 @@
url: location.href,
});
// Trim
if (log.length > 200) log.length = 200;
if (log.length > 100) log.length = 100;
await api.storage.local.set({ ss_activity_log: log });
}
}