Compare commits

5 Commits
Author SHA1 Message Date
inference-bot 97d0130b89 manifest: chat memoryLimit 3 GiB -> 4 GiB (post-resize RAM headroom) 2026-12-02 03:36:14 +00:00
inference-bot 7efa9b738f manifest: chat memoryLimit 1 GiB -> 3 GiB
The chat container was pinned at its 1 GiB cgroup cap with a 1.3 GB
Meilisearch index as file cache; document indexing took ~8 s/document.
Raised live via POST /apps/:id/configure/memory_limit to 3221225472
(2026-12-01) and mirrored here so the next overlay update does not
silently revert the box to 1 GiB.
2026-12-01 03:21:28 +00:00
inference-admin 44c1c426fc verify: assert the manifest has no theme_color (Firefox chrome regression guard) 2026-11-28 17:08:58 +00:00
inference-admin 3708c44734 Pin manifest to 20261128-046e97b 2026-11-28 17:05:45 +00:00
inference-admin 6eb0e82948 README: document the Firefox PWA chrome cause (manifest-only colors) 2026-11-28 17:05:44 +00:00
3 changed files with 83 additions and 60 deletions

No files matched your search

+55 -55
View File
@@ -1,59 +1,59 @@
{ {
"id": "ai.librechat.cloudronapp", "id": "ai.librechat.cloudronapp",
"version": "1.4.8", "version": "1.4.8",
"title": "LibreChat", "title": "LibreChat",
"upstreamVersion": "0.8.8", "upstreamVersion": "0.8.8",
"author": "Danny Avila", "author": "Danny Avila",
"description": "LibreChat is an open-source chatbot client that supports multiple AI providers and models including:\n\n- OpenAI GPT Models\n- Anthropic Claude Models\n- Google PaLM Models\n- Various open-source local models\n\nFeatures:\n- Switch between various AI models\n- Conversation history\n- Plugins support\n- File upload and processing\n- Custom instructions\n- Multiple conversation modes\n\n", "description": "LibreChat is an open-source chatbot client that supports multiple AI providers and models including:\n\n- OpenAI GPT Models\n- Anthropic Claude Models\n- Google PaLM Models\n- Various open-source local models\n\nFeatures:\n- Switch between various AI models\n- Conversation history\n- Plugins support\n- File upload and processing\n- Custom instructions\n- Multiple conversation modes\n\n",
"changelog": "* Update uv to 0.13.5\n", "changelog": "* Update uv to 0.13.5\n",
"tagline": "ChatGPT-like interface with model switching", "tagline": "ChatGPT-like interface with model switching",
"website": "https://github.com/danny-avila/LibreChat", "website": "https://github.com/danny-avila/LibreChat",
"documentationUrl": "https://docs.cloudron.io/packages/librechat/", "documentationUrl": "https://docs.cloudron.io/packages/librechat/",
"forumUrl": "https://forum.cloudron.io/category/210/librechat", "forumUrl": "https://forum.cloudron.io/category/210/librechat",
"contactEmail": "support@cloudron.io", "contactEmail": "support@cloudron.io",
"healthCheckPath": "/health", "healthCheckPath": "/health",
"httpPort": 3080, "httpPort": 3080,
"addons": { "addons": {
"postgresql": {}, "postgresql": {},
"mongodb": {}, "mongodb": {},
"localstorage": {}, "localstorage": {},
"oidc": { "oidc": {
"loginRedirectUri": "/oauth/openid/callback" "loginRedirectUri": "/oauth/openid/callback"
},
"sendmail": {
"supportsDisplayName": true
},
"scheduler": {
"librechat_key_sync": {
"schedule": "* * * * *",
"command": "cd /app/code/librechat/api && node /app/code/sync-keys.js"
}
}
}, },
"sendmail": { "checklist": {
"supportsDisplayName": true "register-admin": {
"message": "On the first visit, register yourself as an admin user"
},
"disable-registration": {
"message": "Disable registration, if required, to prevent misuse"
},
"set-api-keys": {
"message": "Set API keys in /app/data/env file and restart the app"
}
}, },
"scheduler": { "optionalSso": true,
"librechat_key_sync": { "manifestVersion": 2,
"schedule": "* * * * *", "memoryLimit": 4294967296,
"command": "cd /app/code/librechat/api && node /app/code/sync-keys.js" "minBoxVersion": "8.1.0",
} "tags": [
} "ai",
}, "chat",
"checklist": { "gpt"
"register-admin": { ],
"message": "On the first visit, register yourself as an admin user" "mediaLinks": [
}, "https://screenshots.cloudron.io/ai.librechat.cloudronapp/librechat-00.png",
"disable-registration": { "https://screenshots.cloudron.io/ai.librechat.cloudronapp/librechat-01.png"
"message": "Disable registration, if required, to prevent misuse" ],
}, "icon": "file://logo.png",
"set-api-keys": { "dockerImage": "registry.inference.coop/co-op/librechat-custom:20261128-046e97b"
"message": "Set API keys in /app/data/env file and restart the app"
}
},
"optionalSso": true,
"manifestVersion": 2,
"memoryLimit": 1073741824,
"minBoxVersion": "8.1.0",
"tags": [
"ai",
"chat",
"gpt"
],
"mediaLinks": [
"https://screenshots.cloudron.io/ai.librechat.cloudronapp/librechat-00.png",
"https://screenshots.cloudron.io/ai.librechat.cloudronapp/librechat-01.png"
],
"icon": "file://logo.png",
"dockerImage": "registry.inference.coop/co-op/librechat-custom:20261119-c8b1b70"
} }
+15 -5
View File
@@ -465,11 +465,21 @@ number of members who have logged in to the sandbox.
on a solid brand background. Full-bleed logos get cropped ("zoomed in"). on a solid brand background. Full-bleed logos get cropped ("zoomed in").
- **Firefox Android**: `crossorigin="use-credentials"` on the manifest link - **Firefox Android**: `crossorigin="use-credentials"` on the manifest link
breaks icon resolution (blank launcher icon) — patch_index.py strips it. breaks icon resolution (blank launcher icon) — patch_index.py strips it.
- **Theme bars**: the manifest `theme_color` is one static value; Chromium's - **Theme bars (why Firefox showed light bands)**: Firefox for Android has never
nav bar and all Firefox bars use it even when the meta says otherwise. The implemented `<meta name="theme-color">` (desktop neither) — caniuse marks it
durable fix is `viewport-fit=cover` + standalone-mode safe-area padding unsupported through FF 163 — so `custom2.js`'s meta sync only affects Chromium.
(custom.css) so the bands show the theme-correct page background; custom2.js Firefox's PWA window colours its chrome from the MANIFEST alone
additionally syncs one meta `theme-color` to the app's resolved theme. (`android-components` `feature/pwa/ext/WebAppManifest.kt` → `toCustomTabConfig()`):
`toolbarColor = themeColor`, and `navigationBarColor` = WHITE or BLACK chosen
from `background_color`, **only when both members exist**. A cream
`theme_color` therefore painted a cream top band and a pure-white bottom band
around the dark app, unfixable at runtime. The fix is to omit `theme_color`
from `manifest.webmanifest` (patch_index.py): Firefox then uses its own
light/dark toolbar surface, which follows the phone theme. `background_color`
stays cream for Chrome's splash screen; Chromium still gets the light/dark
meta pair, and `custom2.js` re-syncs it at runtime. `viewport-fit=cover` +
safe-area padding only help browsers that draw the page under transparent
bars (Chromium/Safari) — they do nothing for Firefox's opaque bands.
## Deploy semantics — why the image tag can lag `main` ## Deploy semantics — why the image tag can lag `main`
+13
View File
@@ -142,6 +142,19 @@ cmd_verify() {
http_body "https://chat.inference.coop/" | grep -qE 'x-coop-build' && ok "x-coop-build marker present" \ http_body "https://chat.inference.coop/" | grep -qE 'x-coop-build' && ok "x-coop-build marker present" \
|| bad "no x-coop-build marker (stale service-worker clients will not self-heal)" || bad "no x-coop-build marker (stale service-worker clients will not self-heal)"
# Firefox for Android ignores <meta theme-color>; it colours its installed-site
# chrome from manifest theme_color (toolbar/status) plus a white/black nav bar
# derived from background_color. A theme_color here re-creates the light bands
# around the dark app, so its absence is a real assertion, not cosmetics.
local mf; mf=$(http_body "https://chat.inference.coop/manifest.webmanifest")
if grep -qE '"theme_color"' <<<"$mf"; then
bad "manifest carries theme_color — Firefox PWA chrome will again show static light bands"
else
ok "manifest has no theme_color (Firefox chrome follows the browser theme)"
fi
grep -qE '"background_color": *"#faf8f5"' <<<"$mf" && ok "manifest background_color cream" \
|| bad "manifest background_color is not #faf8f5"
# The scheduler task must point at a file that exists in the RUNNING image. # The scheduler task must point at a file that exists in the RUNNING image.
# Catches a manifest repoint deployed before its image landed (2026-10-25). # Catches a manifest repoint deployed before its image landed (2026-10-25).
local sched_cmd local sched_cmd