diff --git a/dist/assets/index-CAlY_Fnl.js b/dist/assets/index-DSULKYNe.js similarity index 99% rename from dist/assets/index-CAlY_Fnl.js rename to dist/assets/index-DSULKYNe.js index 0774f08..ad75a41 100644 --- a/dist/assets/index-CAlY_Fnl.js +++ b/dist/assets/index-DSULKYNe.js @@ -923,8 +923,7 @@ var makeSune = (p = {}) => ({ avatar: p.avatar || "", url: p.url || "", updatedAt: p.updatedAt || Date.now(), - settings: Object.assign({}, defaultSettings, p.settings || {}), - storage: p.storage || {} + settings: Object.assign({}, defaultSettings, p.settings || {}) }); var sunes = (su.load() || []).map(makeSune); var SUNE = window.SUNE = new Proxy({ @@ -1078,7 +1077,7 @@ var SUNE = window.SUNE = new Proxy({ if (!a) return false; const i = sunes.findIndex((s) => s.id === a.id); if (i < 0) return false; - const isTopLevel = /^(name|avatar|url|pinned|storage)$/.test(p), target = isTopLevel ? sunes[i] : sunes[i].settings; + const isTopLevel = /^(name|avatar|url|pinned)$/.test(p), target = isTopLevel ? sunes[i] : sunes[i].settings; let value = v; if (!isTopLevel) { if (p === "system_prompt") value = v || ""; @@ -2252,8 +2251,8 @@ el.importAccountSettingsInput.onchange = async (e) => { apiKeyOpenRouter: "apiKeyOR", apiKeyOpenAI: "apiKeyOAI", apiKeyGoogle: "apiKeyG", - apiKeyClaude: "apiKeyC", - apiKeyCloudflare: "apiKeyCF", + apiKeyClaude: "apiKeyClaude", + apiKeyCloudflare: "apiKeyCloudflare", customKey1: "customKey1", masterPrompt: "masterPrompt", titleModel: "titleModel", diff --git a/dist/index.html b/dist/index.html index febd144..8afaf01 100644 --- a/dist/index.html +++ b/dist/index.html @@ -13,7 +13,7 @@ - + diff --git a/dist/sw.js b/dist/sw.js index 8a3728b..2a4a4e0 100644 --- a/dist/sw.js +++ b/dist/sw.js @@ -1 +1 @@ -if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const l=e=>i(e,t),d={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map(e=>d[e]||l(e))).then(e=>(r(...e),o))}}define(["./workbox-9c191d2f"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"index.html",revision:"a803b47dd5e78160a07e19aeed859e51"},{url:"assets/index-DUC1RW1F.css",revision:null},{url:"assets/index-CAlY_Fnl.js",revision:null},{url:"manifest.webmanifest",revision:"7a6c5c6ab9cb5d3605d21df44c6b17a2"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))}); +if(!self.define){let e,s={};const i=(i,n)=>(i=new URL(i+".js",n).href,s[i]||new Promise(s=>{if("document"in self){const e=document.createElement("script");e.src=i,e.onload=s,document.head.appendChild(e)}else e=i,importScripts(i),s()}).then(()=>{let e=s[i];if(!e)throw new Error(`Module ${i} didn’t register its module`);return e}));self.define=(n,r)=>{const t=e||("document"in self?document.currentScript.src:"")||location.href;if(s[t])return;let o={};const c=e=>i(e,t),d={module:{uri:t},exports:o,require:c};s[t]=Promise.all(n.map(e=>d[e]||c(e))).then(e=>(r(...e),o))}}define(["./workbox-9c191d2f"],function(e){"use strict";self.skipWaiting(),e.clientsClaim(),e.precacheAndRoute([{url:"registerSW.js",revision:"1872c500de691dce40960bb85481de07"},{url:"index.html",revision:"a5eb77c86e6543dd7b8f4cd4109829ce"},{url:"assets/index-DUC1RW1F.css",revision:null},{url:"assets/index-DSULKYNe.js",revision:null},{url:"manifest.webmanifest",revision:"7a6c5c6ab9cb5d3605d21df44c6b17a2"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});