@dubusoft/toodo-linux-arm64 1.11.1-dev.180 → 1.11.1-dev.181

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/web/sw.js CHANGED
@@ -1,6 +1,6 @@
1
1
  // Generated by vite-pwa.ts for this build.
2
- const CACHE = "toodo-shell-9ad23ec0d2a25471";
3
- const SHELL = ["/","/assets/Item-BwIA2qYJ.js","/assets/LayoutChangeSnapshot-CKXseiXe.js","/assets/MenuBottomSheet-JyWCs-nD.js","/assets/MenuBottomSheetActionList-VK0x4-S-.js","/assets/Selector-BPVKqXPd.js","/assets/SwipeActionsLayer-DyTcKith.js","/assets/Tooltip-D5RzAbgJ.js","/assets/button-CBaPb4j9.js","/assets/createLucideIcon-DtNDbJdC.js","/assets/details-sheet-CRELNzf_.js","/assets/disabledInteraction-u9yjM5Jo.js","/assets/event-COpa9hhp.js","/assets/focusOutline.stylex-ZXdUNMFw.js","/assets/focusReturn-BAqtMp_d.js","/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2","/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2","/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2","/assets/geist-latin-wght-normal-BgDaEnEv.woff2","/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2","/assets/index-BVWdydjt.js","/assets/index-bmzrMLgi.css","/assets/inputHold-CZa_Ny55.js","/assets/jsx-runtime-C3cWAN_r.js","/assets/markdown-CC5k3Mg1.js","/assets/mergeProps-Poh9JbFs.js","/assets/offline-screen-2u_fz51g.js","/assets/opener-DWhHPoCL.js","/assets/padding.stylex-Q-kmgnXU.js","/assets/primaryClick-88oQu3_u.js","/assets/queries-a7XPgRcU.js","/assets/reducedMotion-DCkUC6gt.js","/assets/resolveSnapPoint-CBS37OcT.js","/assets/review-BJ4W6_x5.js","/assets/rolldown-runtime-XKyaHtl9.js","/assets/server-access-CvhYUwwt.js","/assets/session-sBDFnC3r.js","/assets/task-details-B1CNC08j.js","/assets/task-graph-DLioOiRN.css","/assets/task-graph-DSKsuPl9.js","/assets/useDevWarning-DtAYt56R.js","/assets/useLayerDismissal-BWIjwIJ-.js","/assets/useLinkComponent-CqCWDM4X.js","/assets/useTooltip-C_x74aGj.js","/favicon.svg","/manifest.webmanifest","/pwa/apple-touch-icon.png","/pwa/icon-192.png","/pwa/icon-512.png","/pwa/icon-maskable-192.png","/pwa/icon-maskable-512.png"];
2
+ const CACHE = "toodo-shell-b8ae63a56f160c55";
3
+ const SHELL = ["/","/assets/Item-CxXDVdxg.js","/assets/LayoutChangeSnapshot-CKXseiXe.js","/assets/MenuBottomSheet-mlD8Gm29.js","/assets/MenuBottomSheetActionList-Dbjqtifj.js","/assets/Selector-B5jbIiZk.js","/assets/SwipeActionsLayer-Bejm-fRw.js","/assets/Tooltip-D5RzAbgJ.js","/assets/button-CBaPb4j9.js","/assets/createLucideIcon-DtNDbJdC.js","/assets/details-sheet-m1U7cINQ.js","/assets/disabledInteraction-u9yjM5Jo.js","/assets/event-CSYkpd32.js","/assets/focusOutline.stylex-ZXdUNMFw.js","/assets/focusReturn-BAqtMp_d.js","/assets/geist-cyrillic-ext-wght-normal-DjL33-gN.woff2","/assets/geist-cyrillic-wght-normal-BEAKL7Jp.woff2","/assets/geist-latin-ext-wght-normal-DC-KSUi6.woff2","/assets/geist-latin-wght-normal-BgDaEnEv.woff2","/assets/geist-vietnamese-wght-normal-6IgcOCM7.woff2","/assets/index-CEWalcgJ.js","/assets/index-bmzrMLgi.css","/assets/inputHold-CZa_Ny55.js","/assets/jsx-runtime-C3cWAN_r.js","/assets/markdown-qm8X61w7.js","/assets/mergeProps-Poh9JbFs.js","/assets/offline-screen-Dd05eBVY.js","/assets/opener-DWhHPoCL.js","/assets/padding.stylex-Q-kmgnXU.js","/assets/primaryClick-88oQu3_u.js","/assets/queries-qy-Fgikw.js","/assets/reducedMotion-DCkUC6gt.js","/assets/resolveSnapPoint-CBS37OcT.js","/assets/review-DMyn842Z.js","/assets/rolldown-runtime-XKyaHtl9.js","/assets/server-access-Bq8jX3SY.js","/assets/session-sBDFnC3r.js","/assets/task-details-9__-MrOK.js","/assets/task-graph-DLioOiRN.css","/assets/task-graph-DPobWe6a.js","/assets/useDevWarning-DtAYt56R.js","/assets/useLayerDismissal-BWIjwIJ-.js","/assets/useLinkComponent-CqCWDM4X.js","/assets/useTooltip-C_x74aGj.js","/favicon.svg","/manifest.webmanifest","/pwa/apple-touch-icon.png","/pwa/icon-192.png","/pwa/icon-512.png","/pwa/icon-maskable-192.png","/pwa/icon-maskable-512.png"];
4
4
  const SERVER_PATHS = ["/api","/mcp"];
5
5
  const NOTIFICATION_ICON = "/pwa/icon-192.png";
6
6
  // The message that asks an open page to show a task; see listenForOpenTask in src/web/push.ts.
package/web/version.json CHANGED
@@ -1 +1 @@
1
- {"build":"d5280a1c10e7284d"}
1
+ {"build":"90fe804e32d7c686"}
@@ -1,7 +0,0 @@
1
- import{n as e}from"./rolldown-runtime-XKyaHtl9.js";import{d as t,f as n,g as r,i,l as a,m as o,o as s}from"./session-sBDFnC3r.js";var c=e({listen:()=>D,onReconnect:()=>O,parseServerSentEvents:()=>v}),l=`resync`,u=1e3,d=3e4,f=45e3,p=new Map,m=new Set,h=null,g=0,_=null;function v(e){let t=e.replace(/\r\n?/g,`
2
- `).split(`
3
-
4
- `),n=t.pop()??``,r=[];for(let e of t){let t=``,n,i=[];for(let r of e.split(`
5
- `))r.startsWith(`event:`)?t=r.slice(6).trim():r.startsWith(`data:`)?i.push(r.slice(5).replace(/^ /,``)):r.startsWith(`id:`)&&(n=r.slice(3).trim());t&&r.push(n===void 0?{event:t,data:i.join(`
6
- `)}:{event:t,data:i.join(`
7
- `),id:n})}return{events:r,rest:n}}function y(e,t){let n=t=>console.error(`toodo: a listener for ${e} failed`,t);try{let e=t();e instanceof Promise&&e.catch(n)}catch(e){n(e)}}function b(){m.forEach(e=>y(l,e))}function x({event:e,data:t,id:n}){if(n!==void 0&&(_=n),e===l){b();return}let r=p.get(e);if(!r)return;let i=null;try{t&&(i=JSON.parse(t))}catch(t){console.error(`toodo: dropped a ${e} event whose payload is not JSON`,t);return}for(let t of r)y(e,()=>t({event:e,id:g++,payload:i}))}async function S(e,t){let n={...e,..._===null?{}:{"Last-Event-ID":_}},i=await r(`/api/events`,{headers:n,signal:t});if(await a(i)&&s(),!i.ok||i.body===null)throw Error(`event stream failed: ${i.status}`);return i.body.pipeThrough(new TextDecoderStream).getReader()}async function C(e){let t,n=new Promise((n,r)=>{t=setTimeout(()=>{e.cancel(),r(Error(`event stream sent nothing for ${f/1e3} s`))},f)});try{return await Promise.race([e.read(),n])}finally{clearTimeout(t)}}async function w(e){let t=``;for(;;){let{value:n,done:r}=await C(e);if(r)return;let i=v(t+n);t=i.rest,i.events.forEach(x)}}function T(){let e=i();if(h!==null||e===null||p.size===0)return;let t=new AbortController;h=t,(async()=>{let r=u,i=!1;for(;!t.signal.aborted;){let a=o();try{let n=await S(e,t.signal);i&&_===null&&b(),i=!0,r=u,await w(n)}catch(e){if(t.signal.aborted)return;console.warn(`toodo: event stream dropped, reconnecting`,e)}o()===a&&(await new Promise(e=>{let t=()=>{clearTimeout(i),a(),e()},i=setTimeout(t,r),a=n(t)}),r=Math.min(r*2,d))}})()}function E(){h?.abort(),h=null}t(()=>{E(),T()});async function D(e,t){let n=p.get(e)??new Set;return n.add(t),p.set(e,n),T(),()=>{n.delete(t),n.size===0&&p.delete(e),p.size===0&&E()}}function O(e){return m.add(e),()=>m.delete(e)}export{D as n,c as t};