* TC/AF: Add Story String position
* Update public/scripts/power-user.js
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Add before/after anchors as story string params
* Move autofix story string at settings load
* Substitute in story string wrappers
* Only add an auto-newline after story string if wrap is enabled
* Do not init names_force_groups with default value
* Update default settings
* Auto-delete obsolete fields from instruct templates
* Update default templates
* Remove newline from GLM-4 prefix
* Format as one line
* Remove auto-fix leftovers from renderStoryString
* Remove pointless reassignments in autoFixMissingField
* Update KoboldAI template
* Add info hint for Story String sequences
* Update default templates
* Reformat extractMessageFromData
* Fix condition in autoFixStoryString
* Update tooltip text for Story String Sequences
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Adding ZLib and Jimp imports.
* Adding checks to see if UUID or URL are from Perchance.
* Adding conversion for Perchance cards and avatar.
* Adding label and example for Perchance character import.
* Adding localization of Perchance import option.
* Lint dangling comma fix.
* Simplifying one liner arrow function.
* Checking .gz at the end of Perchance url.
* Refactoring.
* Handling Base64 avatars.
* Fixing issue with UUID and refactoring.
* Adding char name to Perchance UUID example.
* Undoing unwanted variable name change of avatarBuffer to defaultAvatarBuffer
* Adding null check.
* Minor adjustments: renaming variable and organizing imports.
* Simple refactoring and reducing level of console messages.
* Add character source for perchance
* Add null check
* Use slug for source
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
* Secret manager (now for real)
* Refactor secret manager dialog
* Add error handling to secrets migration
* Adjust default value
* Add secret-id slash command
* Add secret management slash commands
* Improve type definitions
* Improve compatibility of UUID generator
* Add copy buttons to manager view
* Improve compatibility with Vertex AI service account
- Changed to input since textarea can't be used with datalist
- Unblock regular key placeholder
- Save email as a key label
- Interrupt validation if the input is a UUID (autocompleted)
* Add optional label input for secret values in key manager dialog
* Update masking rules
* /secret-id: make the arg "required" (it's not)
* [wip] Add user data cleanup service
* Add clean-up report viewer
* Fix review comments
* Add function comments
* Implement item actions
* Fix UI styles
* Add placeholder for empty results, update category description view
* Add displayEmptyPlaceholder method to show message when results list is empty
* Adjust menu buttons row
* Delete char-scoped data bank attachments on character deletion
* Data Bank: Handle character attachments on rename
* Remove line breaks in description strings
* Drop the category when the last item is deleted
* Skip invalid hashes instead of bailing
* Fixed header alignment
* Building HTML with browser api instead of string.
* jqueryElement.data(key, value) usages converted to jqueryElement.attr(data-key, value)
* Logs simplified
* Removed success toastry message
Up until now, the {{firstIncludedMessageId}} macro relied on searching the DOM for the actual CSS class applied for the context line.
Bad design, as the actual message was maybe not display, with display X messages enabled.
- Use setInContextMessages() that sets the context line on generation to also update a chat metadata field
- Utilize that field inside the macro
- Update docs to clarify that this will only show the mesid that was relevant during last generation