Merge pull request #56 from outis1one/claude/read-repo-YMu21

fix: restore working injector + add get:decrypted-config handler, bump 0.9.19
This commit is contained in:
Outis
2026-03-29 14:07:38 -04:00
committed by GitHub
6 changed files with 18 additions and 12 deletions
+11
View File
@@ -164,6 +164,17 @@ api.runtime.onMessage.addListener((message, sender, sendResponse) => {
});
const messageHandlers = {
async 'get:decrypted-config'(_message, _sender, sendResponse) {
try {
const mappings = await Storage.getMappings();
const identity = await Storage.getIdentity();
const settings = await Storage.getSettings();
sendResponse({ mappings, identity, settings });
} catch {
sendResponse(null);
}
},
async 'substitution:performed'(message, sender) {
const tabId = sender.tab?.id;
if (tabId == null) return;