Compare commits

7 Commits

Author SHA1 Message Date
github-actions[bot]
33eab61d6c This build was committed by a bot. 2026-07-16 18:43:38 +00:00
3f19e1964a Update main.js 2026-07-16 11:43:21 -07:00
github-actions[bot]
1bb924d44c This build was committed by a bot. 2026-06-09 00:32:19 +00:00
f536e4f325 Remove online suffix from default model string 2026-06-08 17:32:03 -07:00
github-actions[bot]
78732b902d This build was committed by a bot. 2026-06-09 00:31:48 +00:00
5d832fd99c Update default model version to 4.8 2026-06-08 17:31:31 -07:00
github-actions[bot]
c7b58c37e1 This build was committed by a bot. 2026-06-02 04:05:43 +00:00
5 changed files with 8 additions and 11 deletions

View File

@@ -839,7 +839,7 @@ var __vitePreload = function preload(baseModule, deps, importerUrl) {
o != k && ((k = o) ? (history.pushState({ k: 1 }, ""), addEventListener("popstate", f)) : (removeEventListener("popstate", f), history.state?.k && history.back())); o != k && ((k = o) ? (history.pushState({ k: 1 }, ""), addEventListener("popstate", f)) : (removeEventListener("popstate", f), history.state?.k && history.back()));
}; };
})(); })();
var DEFAULT_MODEL = "anthropic/claude-opus-4.7"; var DEFAULT_MODEL = "openrouter/free";
var icons = () => window.lucide && lucide.createIcons(); var icons = () => window.lucide && lucide.createIcons();
var haptic = () => /android/i.test(navigator.userAgent) && navigator.vibrate?.(1); var haptic = () => /android/i.test(navigator.userAgent) && navigator.vibrate?.(1);
var su = { var su = {

View File

@@ -1,11 +1,7 @@
@import url(https://fonts.bunny.net/css?family=assistant:500); @import url(https://fonts.bunny.net/css?family=assistant:500);
:root{--safe-bottom:env(safe-area-inset-bottom)} :root{--safe-bottom:env(safe-area-inset-bottom)}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:999px}@media(pointer: coarse){.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}}
::-webkit-scrollbar{height:8px;width:8px}
::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:999px}
@media(pointer: coarse){.no-scrollbar::-webkit-scrollbar{display:none}.no-scrollbar{-ms-overflow-style:none;scrollbar-width:none}}
html,body{overscroll-behavior-y:contain;font-family:'Assistant',sans-serif} html,body{overscroll-behavior-y:contain;font-family:'Assistant',sans-serif}
.markdown-body{font-size:14px;line-height:1.6} .markdown-body{font-size:14px;line-height:1.6}.markdown-body pre{overflow:auto}
.markdown-body pre{overflow:auto}
.markdown-body ul,.markdown-body ol{list-style:revert;padding-left:2em} .markdown-body ul,.markdown-body ol{list-style:revert;padding-left:2em}
.msg-bubble{overflow-x:auto} .msg-bubble{overflow-x:auto}
.msg-avatar{font-size:16px} .msg-avatar{font-size:16px}
@@ -14,6 +10,7 @@ html,body{overscroll-behavior-y:contain;font-family:'Assistant',sans-serif}
#htmlEditor,#extensionHtmlEditor,#jsonSchemaEditor{outline:none;white-space:pre!important;font-size:11px;line-height:1.5;} #htmlEditor,#extensionHtmlEditor,#jsonSchemaEditor{outline:none;white-space:pre!important;font-size:11px;line-height:1.5;}
:not(pre)>code{font-size:85%;padding:.2em .4em;margin:0;border-radius:6px;background-color:rgba(175,184,193,0.2)} :not(pre)>code{font-size:85%;padding:.2em .4em;margin:0;border-radius:6px;background-color:rgba(175,184,193,0.2)}
#threadRepoInput::placeholder{font-family:sans-serif;font-weight:500;color:#9ca3af} #threadRepoInput::placeholder{font-family:sans-serif;font-weight:500;color:#9ca3af}
/* MathJax 3 SVG Scaling & Alignment */ /* MathJax 3 SVG Scaling & Alignment */
mjx-container[jax="SVG"] { mjx-container[jax="SVG"] {
display: inline-block; display: inline-block;

4
dist/index.html vendored
View File

@@ -13,8 +13,8 @@
<script defer src="//unpkg.com/alpinejs"></script> <script defer src="//unpkg.com/alpinejs"></script>
<script type="module" crossorigin src="/assets/index-Dkjswwpy.js"></script> <script type="module" crossorigin src="/assets/index-Cu66jDo0.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-DaGRC7Kr.css"> <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> <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')"> <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')">
<div class="flex flex-col h-dvh max-h-dvh overflow-hidden"> <div class="flex flex-col h-dvh max-h-dvh overflow-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),c={module:{uri:t},exports:o,require:l};s[t]=Promise.all(n.map(e=>c[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:"c59f6739a7fe91142d3b8530653b2d5c"},{url:"assets/index-Dkjswwpy.js",revision:null},{url:"assets/index-DaGRC7Kr.css",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 d=e=>i(e,t),l={module:{uri:t},exports:o,require:d};s[t]=Promise.all(n.map(e=>l[e]||d(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:"7b534141e72adae9028c64d6d22b3c40"},{url:"assets/index-DUC1RW1F.css",revision:null},{url:"assets/index-Cu66jDo0.js",revision:null},{url:"manifest.webmanifest",revision:"7a6c5c6ab9cb5d3605d21df44c6b17a2"}],{}),e.cleanupOutdatedCaches(),e.registerRoute(new e.NavigationRoute(e.createHandlerBoundToURL("index.html")))});

View File

@@ -13,7 +13,7 @@ import { titleFrom, serializeThreadName, deserializeThreadName } from './threads
import { resolveSuneSrc, processSuneIncludes, renderSuneHTML } from './sune-html.js'; import { resolveSuneSrc, processSuneIncludes, renderSuneHTML } from './sune-html.js';
(()=>{let k,v=visualViewport;const f=()=>{removeEventListener('popstate',f),document.activeElement?.blur()};v.onresize=()=>{let o=v.height<innerHeight;o!=k&&((k=o)?(history.pushState({k:1},''),addEventListener('popstate',f)):(removeEventListener('popstate',f),history.state?.k&&history.back()))}})() (()=>{let k,v=visualViewport;const f=()=>{removeEventListener('popstate',f),document.activeElement?.blur()};v.onresize=()=>{let o=v.height<innerHeight;o!=k&&((k=o)?(history.pushState({k:1},''),addEventListener('popstate',f)):(removeEventListener('popstate',f),history.state?.k&&history.back()))}})()
const DEFAULT_MODEL='anthropic/claude-opus-4.7' const DEFAULT_MODEL='openrouter/free'
const icons=()=>window.lucide&&lucide.createIcons() const icons=()=>window.lucide&&lucide.createIcons()
const haptic=()=>/android/i.test(navigator.userAgent)&&navigator.vibrate?.(1) const haptic=()=>/android/i.test(navigator.userAgent)&&navigator.vibrate?.(1)