This repository is a delivery bundle repo for DreamTavern/SillyTavern push-system updates.
It intentionally contains packaged ZIP artifacts, not a full server source tree. It is also really important to understand that if you are not admin or do not have admin privileges, you CANNOT see anyone else but the admin to push your book to.
Full-file replacement package containing:
public/index.htmlpublic/style.csspublic/scripts/world-info.jssrc/endpoints/characters.jssrc/endpoints/worldinfo.jsREADME.md(implementation + rollout guide)
Use this ZIP when you want a straightforward file-copy install.
Patch-only package containing:
patches/00-all-changes.patch(all changes in one patch)patches/01-public-index-html.patchpatches/02-public-style-css.patchpatches/03-public-scripts-world-info-js.patchpatches/04-src-endpoints-characters-js.patchpatches/05-src-endpoints-worldinfo-js.patchREADME_PATCHES.md
Use this ZIP when you prefer git apply workflows.
Core behavior delivered by these packages:
- Adds Push UI buttons to World Info editor
- Adds single push + admin bulk push flows
- Adds backend push endpoints and manifest handling
- Locks pushed lorebooks and pushed character advanced fields
- Enforces visibility/edit permissions so hidden pushed lorebooks are accessible only by:
- π Admin users
- βοΈ Original creator of that pushed lorebook
Special rule included:
- If a user-pushed
dd-*lorebook is later re-pushed by admin, it keeps creator lineage and hidden/locked behavior.
- Extract
SillyTavern-PushPatch-Package-20260302.zip - Copy each extracted file into matching path under your live SillyTavern root
- Restart server
- Hard refresh browser (
Ctrl+F5)
- Extract
SillyTavern-PushPatch-Patches-20260302.zip - From your server repo root:
git apply --reject /path/to/patches/00-all-changes.patch
- Validate:
node --check src/endpoints/worldinfo.js node --check src/endpoints/characters.js node --check public/scripts/world-info.js
- Restart server + hard refresh browser
- Stage changes in a test/staging copy first
- Run syntax checks there
- Start staging and verify push flows
- During cutover:
- Stop production process
- Copy validated files
- Start production process immediately
Downtime should be minimal (seconds to a couple of minutes depending on host).
Always keep a backup of the original 5 files before deploying.
If needed, restore those files and restart the server.
If you used patch flow:
git checkout -- public/index.html public/style.css public/scripts/world-info.js src/endpoints/characters.js src/endpoints/worldinfo.js- Open World Info editor
- Confirm push button(s) appear
- User pushes lorebook to admin
- Admin re-pushes to users
- Validate visibility/edit lock behavior by role
Screenshot section is intentionally left for manual additions by the maintainer.
If you want a fresh timestamped bundle, regenerate from your currently tested server copy and replace these ZIPs.




