From 1282d8ab65d778dbdc3418e172a89f7a20923a8b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Feb 2026 00:29:37 +0000 Subject: [PATCH 1/4] Initial plan From c9f22b4e72296c3705f4eb498585250635a201a1 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Feb 2026 00:57:52 +0000 Subject: [PATCH 2/4] Add settings panel, panic button, PWA support, and combined notifications Co-authored-by: sriail <225764385+sriail@users.noreply.github.com> --- worker.js | 416 ++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 403 insertions(+), 13 deletions(-) diff --git a/worker.js b/worker.js index 3957167..2402b01 100644 --- a/worker.js +++ b/worker.js @@ -6,6 +6,13 @@ addEventListener('fetch', event => { async function handleRequest(request) { const url = new URL(request.url); + // Serve PWA manifest + if (url.pathname === '/manifest.json') { + return new Response(getPWAManifest(), { + headers: { 'Content-Type': 'application/json' } + }); + } + // Serve the main HTML page if (url.pathname === '/' || url.pathname === '') { return new Response(getMainHTML(), { @@ -178,6 +185,11 @@ function getMainHTML() {