Depth previously injected entries randomly. This is not ideal for
world info architectures that rely on insertion order to function
properly.
Redo depth injection to have its own parameter and redo how it's
handled in generate.
Signed-off-by: kingbri <bdashore3@proton.me>
* World Info: Add character locking for entries
With the addition of depth, world info has become more important than
ever. However, there is a conflict that can occur when using multiple
world info or lorebooks on a character. Add the ability to lock
entries to a specific character (or characters) if needed.
This allows for adequate separation especially when there are character
cards each with their separate lorebooks that build off of a core lorebook.
Signed-off-by: kingbri <bdashore3@proton.me>
* World Info: Add entry-specific character exclusions
This is the opposite of locking an entry to a specific character.
Exclusions allows the entry to get included for everyone except the
specified characters in the list.
Signed-off-by: kingbri <bdashore3@proton.me>
---------
Signed-off-by: kingbri <bdashore3@proton.me>
* Added custom CSS box to UI Theme settings
* Update index.html
Merged against release instead of staging. Whoops.
* Added an import stripper regex so that imports will be removed and show a toastr to inform the user.
* Moved import remove code to applyCustomCSS. Updated localStorage. Not re-running saveSettingsDebounced()
* Basic kobold grammar implementation
This is probably jank as all hell, I don't write js, but I think I got it to work.
* No value by default
* Visual cleanup
+ reworded it a bit
* Conditionally enable Grammar based on version flag. Fix layout
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Added control to audio ui to select bgm/ambient and lock selection to overide dynamic audio update. Load both assets and char specific audio assets
* correct ambient label and default value when no assets available.
* add padding in audio select
* Correct audio change of background ambient when locked. Updated CSS of audio ui for mobile friendly.
* add space between mixer
* Add checkbox to enable dynamic bgm/ambient switch
* correct background ambient fadout
* continue debuging ambient audio update
* finish debuging
* Fix BGM console error on first run. Reformat plugin code
* Changed audio bgm lock into loop on/off. Added random pick button for bgm. Moved ambient lock button to right.
* Add mouse wheel event handler on volume controls
* Change bgm select to only contain current chat character bgm (solo/group). When enable expression bgm is off, any of the char+asset bgm can play next if not looping.
* Corrected bgm looping at start. Force random to play another song if there is any.
* Format code
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
This makes the most sense for placement of memories. Add the functionality
for other extension prompt placements as well.
Signed-off-by: kingbri <bdashore3@proton.me>