This build was committed by a bot.

This commit is contained in:
github-actions[bot]
2026-08-31 21:09:57 +00:00
parent a023ad0423
commit e7ffe2d606
3 changed files with 6 additions and 7 deletions

View File

@@ -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",

2
dist/index.html vendored
View File

@@ -13,7 +13,7 @@
<script defer src="//unpkg.com/alpinejs"></script>
<script type="module" crossorigin src="/assets/index-CAlY_Fnl.js"></script>
<script type="module" crossorigin src="/assets/index-DSULKYNe.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DUC1RW1F.css">
<link rel="manifest" href="/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/registerSW.js"></script></head>
<body class="bg-white text-gray-900 selection:bg-black/10" x-data @click.window="if($event.target.closest('button')) haptic(); if(!document.getElementById('threadPopover').contains($event.target)&&!$event.target.closest('[data-thread-menu]')) hideThreadPopover(); if(!document.getElementById('sunePopover').contains($event.target)&&!$event.target.closest('[data-sune-menu]')) hideSunePopover(); if(!document.getElementById('userMenu').contains($event.target)&&!document.getElementById('userMenuBtn').contains($event.target)) document.getElementById('userMenu').classList.add('hidden')">

2
dist/sw.js vendored
View File

@@ -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} didnt 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} didnt 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")))});