Skip to content

selinawynters-ops/ST---LoreBotPush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

11,490 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

ST LoreBot Push Patch Bundle πŸš€

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.

πŸ“¦ What's Inside

1) SillyTavern-PushPatch-Package-20260302.zip

Full-file replacement package containing:

  • public/index.html
  • public/style.css
  • public/scripts/world-info.js
  • src/endpoints/characters.js
  • src/endpoints/worldinfo.js
  • README.md (implementation + rollout guide)

Use this ZIP when you want a straightforward file-copy install.

2) SillyTavern-PushPatch-Patches-20260302.zip

Patch-only package containing:

  • patches/00-all-changes.patch (all changes in one patch)
  • patches/01-public-index-html.patch
  • patches/02-public-style-css.patch
  • patches/03-public-scripts-world-info-js.patch
  • patches/04-src-endpoints-characters-js.patch
  • patches/05-src-endpoints-worldinfo-js.patch
  • README_PATCHES.md

Use this ZIP when you prefer git apply workflows.

🧠 What These Changes Do

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.

Style 1

brave_F48EPcfLAm brave_ZyB5pczdjE brave_poGXxvH71C brave_NvRYiyCLbh brave_FbF6IiSZGm

πŸ› οΈ Install Options

Option A: Full-file package (fastest)

  1. Extract SillyTavern-PushPatch-Package-20260302.zip
  2. Copy each extracted file into matching path under your live SillyTavern root
  3. Restart server
  4. Hard refresh browser (Ctrl+F5)

Option B: Patch package

  1. Extract SillyTavern-PushPatch-Patches-20260302.zip
  2. From your server repo root:
    git apply --reject /path/to/patches/00-all-changes.patch
  3. Validate:
    node --check src/endpoints/worldinfo.js
    node --check src/endpoints/characters.js
    node --check public/scripts/world-info.js
  4. Restart server + hard refresh browser

⚑ Low-Downtime Rollout (Recommended)

  1. Stage changes in a test/staging copy first
  2. Run syntax checks there
  3. Start staging and verify push flows
  4. 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).

πŸ” Rollback

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

πŸ§ͺ Quick Smoke Test

  1. Open World Info editor
  2. Confirm push button(s) appear
  3. User pushes lorebook to admin
  4. Admin re-pushes to users
  5. Validate visibility/edit lock behavior by role

πŸ–ΌοΈ Screenshots

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.

About

πŸ“¦ DreamTavern/SillyTavern LoreBot push patch bundles. Requires a coding LLM to apply changes safely and verify syntax/tests before production.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors