From 2ccef627b5ff361edb0db8489ad7d7c46fd5f8be Mon Sep 17 00:00:00 2001
From: "github-actions[bot]"
<41898282+github-actions[bot]@users.noreply.github.com>
Date: Mon, 26 Jan 2026 20:11:25 +0000
Subject: [PATCH] This build was committed by a bot.
---
.../{index-zttrb_rF.js => index-DlMcCiOg.js} | 55 ++++++++++++++-----
dist/index.html | 3 +-
dist/sw.js | 2 +-
3 files changed, 44 insertions(+), 16 deletions(-)
rename dist/assets/{index-zttrb_rF.js => index-DlMcCiOg.js} (97%)
diff --git a/dist/assets/index-zttrb_rF.js b/dist/assets/index-DlMcCiOg.js
similarity index 97%
rename from dist/assets/index-zttrb_rF.js
rename to dist/assets/index-DlMcCiOg.js
index 664a5c9..abc7221 100644
--- a/dist/assets/index-zttrb_rF.js
+++ b/dist/assets/index-DlMcCiOg.js
@@ -424,7 +424,7 @@ if (!sunes.length) {
const def = SUNE.create({ name: "Default" });
SUNE.setActive(def.id);
}
-const state = window.state = { messages: [], busy: false, controller: null, currentThreadId: null, abortRequested: false, attachments: [], stream: { rid: null, bubble: null, meta: null, text: "", done: false } };
+const state = window.state = { messages: [], busy: false, controller: null, currentThreadId: null, abortRequested: false, attachments: [], stream: { rid: null, bubble: null, meta: null, text: "", done: false }, viewingFile: false };
const getModelShort = (m) => {
const mm = m || SUNE.model || "";
return mm.includes("/") ? mm.split("/").pop() : mm;
@@ -480,7 +480,7 @@ const reflectActiveSune = async () => {
const a = SUNE.active;
el.suneBtnTop.title = `Settings — ${a.name}`;
el.suneBtnTop.innerHTML = a.avatar ? `` : "✺";
- el.footer.classList.toggle("hidden", !!a.settings.hide_composer);
+ el.footer.classList.toggle("hidden", !!a.settings.hide_composer || state.viewingFile);
await renderSuneHTML();
icons();
};
@@ -588,6 +588,8 @@ const clearChat = () => {
state.attachments = [];
updateAttachBadge();
el.fileInput.value = "";
+ state.viewingFile = false;
+ el.footer.classList.toggle("hidden", !!SUNE.active?.settings?.hide_composer);
};
const payloadWithSampling = (b) => {
const o = Object.assign({}, b), s = SUNE, p = { temperature: num(s.temperature, null), top_p: num(s.top_p, null), top_k: int(s.top_k, null), frequency_penalty: num(s.frequency_penalty, null), repetition_penalty: num(s.repetition_penalty, null), min_p: num(s.min_p, null), top_a: num(s.top_a, null) };
@@ -731,7 +733,7 @@ ${sysPrompt}` }], max_tokens: 20, temperature: 0.2 }) });
};
const threadRow = (t) => {
const icon = t.type === "folder" ? "folder" : t.type === "file" ? "file-text" : "";
- return `