Skip to content

Commit 7076515

Browse files
committed
chore: release v0.5.29
- Embedded chat pins Open WebUI v0.12.4.3-subpath (fork fix for title links and Back buttons). - Studio's chat mask targets the current Open WebUI markup (main, not main#main-content), so the admin tab bar is hidden again.
1 parent 9f01bd7 commit 7076515

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

‎chat/embed_admin.css‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* pages have no chat sidebar, but the "Open Sidebar" toggle button is present
1212
* and must stay hidden (same hook as embed.css).
1313
*
14-
* DRIFT RISK: the tab-nav selector below is structural (main#main-content >
14+
* DRIFT RISK: the tab-nav selector below is structural (main >
1515
* div > nav) because Open WebUI gives that <nav> no id or aria-label, only
1616
* Tailwind classes. An upgrade that changes the DOM depth or adds a sibling
1717
* nav will silently re-expose the tab bar. Detection is visual: if the
@@ -22,14 +22,14 @@
2222
*/
2323

2424
/* The workspace tab bar (Models / Knowledge / Prompts / Skills / Tools).
25-
* Structural: the <nav> in the first child of main#main-content holds this
25+
* Structural: the <nav> in the first child of main holds this
2626
* link row, but also the section's "Create" button — so only the scrollable
2727
* link row (the overflow-x-auto div) goes, not the whole nav. Detection is
2828
* visual: if the Models/Knowledge/Prompts/Skills/Tools links reappear at the
2929
* top of the embedded frame, re-check the workspace DOM and update the
3030
* selector. The #workspace-container id is the stable "keep" hook — if it is
3131
* renamed, the whole section disappears, which is loud and easy to spot. */
32-
main#main-content > div > nav div.overflow-x-auto {
32+
main > div > nav div.overflow-x-auto {
3333
display: none !important;
3434
}
3535

‎chat/embed_admin.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ if (typeof base === 'undefined') {
106106
// weight in every Studio surface: the button goes in the embed and on
107107
// the top-level workspace pages, and the modal is hidden if it is
108108
// opened (the Private/Public state itself stays).
109-
for (const b of document.querySelectorAll('main#main-content button')) {
109+
for (const b of document.querySelectorAll('main button')) {
110110
if ((b.textContent || '').trim() === 'Access' &&
111111
b.style.display !== 'none') {
112112
b.style.display = 'none';
@@ -126,7 +126,7 @@ if (typeof base === 'undefined') {
126126
// card shown in empty workspace states: pure branding, no function here.
127127
// Find the promo link, then climb to the smallest ancestor that also
128128
// holds the credit text — that is the card — and hide it.
129-
var link = document.querySelector('main#main-content a[href*="openwebui.com"]');
129+
var link = document.querySelector('main a[href*="openwebui.com"]');
130130
if (!link) {
131131
return;
132132
}
@@ -193,7 +193,7 @@ if (typeof base === 'undefined') {
193193
var attempts = 0;
194194
var poll = setInterval(function () {
195195
attempts += 1;
196-
var btns = document.querySelectorAll('main#main-content nav button');
196+
var btns = document.querySelectorAll('main nav button');
197197
for (var i = 0; i < btns.length; i++) {
198198
if (btns[i].textContent.trim() === 'Create') {
199199
clearInterval(poll);

‎chat/proxy.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -585,7 +585,7 @@ def start_open_webui(studio_port: int | None = None) -> subprocess.Popen:
585585
OWUI_WHEEL_URL = os.environ.get(
586586
"SIMPLEAUDIT_CHAT_WHEEL",
587587
"https://github.com/SushantGautam/open-webui/releases/download/"
588-
"v0.12.4.1-subpath/open_webui-0.12.4.1-py3-none-any.whl",
588+
"v0.12.4.3-subpath/open_webui-0.12.4.3-py3-none-any.whl",
589589
)
590590
OWUI_PACKAGE = os.environ.get("SIMPLEAUDIT_CHAT_PACKAGE", "open-webui")
591591

‎chat/tests/test_proxy.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ class WheelMarkerTests(SimpleTestCase):
381381
def test_default_wheel_is_content_capture_release(self):
382382
# Pinned exactly: a version bump must change this assertion deliberately,
383383
# not pass silently via a substring of an older tag.
384-
self.assertIn("v0.12.4.1-subpath", proxy.OWUI_WHEEL_URL)
385-
self.assertIn("open_webui-0.12.4.1-py3-none-any.whl", proxy.OWUI_WHEEL_URL)
384+
self.assertIn("v0.12.4.3-subpath", proxy.OWUI_WHEEL_URL)
385+
self.assertIn("open_webui-0.12.4.3-py3-none-any.whl", proxy.OWUI_WHEEL_URL)
386386

387387
def test_install_requirement_includes_observability_extra(self):
388388
requirement = proxy._owui_install_requirement()

‎deploy/openwebui-subpath/Caddyfile.subpath‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
# The routing shape enabled by the subpath fork built via
55
# deploy/openwebui-subpath/build.sh (published as
6-
# ghcr.io/sushantgautam/open-webui:v0.12.4.1-subpath). It replaces the old
6+
# ghcr.io/sushantgautam/open-webui:v0.12.4.3-subpath). It replaces the old
77
# cross-origin iframe model (Caddyfile.chat on :8801) with one origin / one
88
# port:
99
#

‎docker-compose.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ services:
187187
# forward /chat/* WITHOUT stripping the prefix (see the Caddyfile header).
188188
open-webui:
189189
profiles: ["chat"]
190-
image: ${OPEN_WEBUI_IMAGE:-ghcr.io/sushantgautam/open-webui:v0.12.4.1-subpath}
190+
image: ${OPEN_WEBUI_IMAGE:-ghcr.io/sushantgautam/open-webui:v0.12.4.3-subpath}
191191
environment:
192192
WEBUI_SUBPATH: /chat
193193
WEBUI_AUTH_TRUSTED_EMAIL_HEADER: X-Studio-Email

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "simpleaudit-studio"
7-
version = "0.5.28"
7+
version = "0.5.29"
88
description = "Production AI model audit platform — one-liner demo mode via uvx"
99
readme = "README.md"
1010
requires-python = ">=3.11"

‎uv.lock‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)