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>
* Initial idle stuff
* Much closer, can now quietly send as user to get a char response.
* Tweaks
* Better, reset the count of getting a message back, don't send while prompt is waiting.
* Allow selecting who is being prompted
* Comments and cleaup
* Remove char name for the moment (needs something here probably)
* Add random time period and "Always add character's name to prompt" respect
* Tooltips
* Load/unload listeners
* Reduce log spam
* Add inline prompt inclusion
* Add full loud prompting
* Comments
* Fix instruct newline (I think)
* Don't reset count on continue
* add quietToLoud for script.js
* add quietToLoud for slashcommands.js
* Keep instruct directives
* Removed some logging, don't do the Novel formatting if Q2L
* Logspam begone.
* Removed a bit more logging
* Add alignment style
* Reformat files. Add comments
* Reorder extensions
* Fix repeat logic to prompt once then only repeat the number specified
* Make repeat count more clear
---------
Co-authored-by: RossAscends <124905043+RossAscends@users.noreply.github.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>