Commit Graph
10937 Commits
Author SHA1 Message Date
Marcela Petra Ferraz de NovaesandCohee 34118bbdc2 Feature/Perchance AI Character Chat import (#4211)
* 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>
2025-06-28 16:18:26 +03:00
Vin Astralis 363192dd39 feat(elevenlabs): add new models and deprecate old ones (#4212)
* feat(elevenlabs): add new models and deprecate old ones

* feat(elevenlabs): update default model to eleven_turbo_v2_5 and enhance extended settings check
2025-06-28 15:58:09 +03:00
Cohee d91c6c28cb Translate: Update API key management 2025-06-28 15:32:29 +03:00
Cohee 579ef1e86c Refactor API key management in extensions 2025-06-26 21:24:51 +03:00
Cohee 0f73e361df Remove nomicai from secrets input map 2025-06-26 20:53:36 +03:00
Cohee b618f7e4ce select2: Replace line-height with vertical padding 2025-06-26 20:50:44 +03:00
Cohee 780bd1fc65 Add backfill for missing WI entries fields (#4203)
* Add backfill for missing WI entries fields
Fixes #4202

* Backfill before filter/sorting

* Fix array wrapping

* Check if characterFilter is array

* Add console debug for isArray check

* Add isArray check for entry
2025-06-26 20:48:24 +03:00
Cohee 1ad7662f10 select2: adjust single selection placeholder override 2025-06-26 20:31:30 +03:00
qvinkandqvink b3bc065713 Select2 visual bug fix (#4207)
* attempt at fixing select2 spacing issue across browsers

* found the actual problem

* fixing placeholder text

* fixing placeholder text again

* removing references to the select2_multi_sameline

---------

Co-authored-by: qvink <qvink@users.noreply.github.com>
2025-06-26 20:24:21 +03:00
Wolfsblvt b1887a0cc2 Fix default emojis expression setting resetting (#4206)
Adjusts conditions to properly enforce mutual exclusivity between fallback expression and default emoji settings

- Ensures "[ No fallback ]" option only appears when both settings are inactive
- Updates migration logic to ONLY reset default emoji setting when fallback is active

Fixes #4205
2025-06-26 09:47:16 +03:00
Cohee 6f5f945eb2 Merge pull request #4208 from qvink/staging
Removing zh-tw translations for specific extension
2025-06-26 09:45:54 +03:00
Cohee 28f5b74cc7 OpenRouter: Use display name for options on text completion 2025-06-25 22:05:16 +03:00
Cohee 7bf1da7384 Perform save if fixing placement 2025-06-25 22:03:25 +03:00
Cohee 7d7f1b1e29 Check if regex script placement is an array 2025-06-25 22:01:45 +03:00
Cohee 17511c444f Hide image models from Together textgen select 2025-06-25 21:39:24 +03:00
Cohee dbe0111034 Refactor saveBase64AsFile uploads (#4200)
* Refactor saveBase64AsFile uploads

* Add request body check

* Extract server-side constants

* Allow .jfif media attachments

* Allow .bmp uploads

* Enhance image prompt handling: support additional MIME types and prevent upscaling in thumbnails

* Convert file extension to lowercase

* Enhance thumbnail creation: improve image quality and add white background

* Add toast for error in media upload
2025-06-25 21:34:08 +03:00
Cohee 7755fc50a5 Image Generation: Support video outputs for ComfyUI (#4194)
* ImgGen: ComfyUI support video outputs

* Fix video format check to handle undefined and case sensitivity

* Fix error handling and add output debug log in comfy workflows

* Refactor Comfy generation result

* Add video file extensions constant
2025-06-25 20:11:09 +03:00
Cohee 9e6fbde3cf Webpack: Use cache version scoping in Docker 2025-06-25 10:52:04 +00:00
Cohee 66adbea12b Merge branch 'release' into staging 2025-06-25 10:39:14 +00:00
Cohee 12a54d901e WI: exclude characterFilter fields from new entry template 2025-06-25 10:38:08 +00:00
Cohee d641089107 Merge pull request #4199 from GregW6/fix/file-attachment-1
Fix attachment file extension extraction
2025-06-25 00:21:04 +03:00
Cohee f8d7a3e853 Verify if passed a jimp instance to applyAvatarCropResize 2025-06-24 23:38:25 +03:00
GregW6 9bfb4163d3 refactor(Attachment): ♻️ Simplify extension extraction to one line
Removing temporary variable.
2025-06-25 02:27:00 +07:00
GregW6 4785d7580c fix(Attachment): 🐛 Extract file attachment extension through file name 2025-06-24 22:03:11 +07:00
Cohee f30cc04e9e Fix npm audit in tests 2025-06-24 12:59:54 +00:00
Cohee dc533b5ae8 Merge branch 'release' into staging 2025-06-24 12:59:18 +00:00
Cohee 06db0c15db Scope webpack cache by version 2025-06-24 12:58:43 +00:00
Cohee 5b96dc3547 Scope webpack cache by version 2025-06-24 12:54:39 +00:00
qvink b37b4d0357 removing zh-tw translations specific to the qvink memory extension 2025-06-23 15:12:01 -06:00
02lokaandCohee e3923a7be3 Fixed minor avatar cropping bug in avatars.js (#4192)
* Fixed avatar cropping bug in avatars.js

Persona icons/profile pictures were forced to a 2:3 ratio despite "Never resize avatars" being enabled.

Moved a misplaced line of code inside the crop condition to fix this behavior.

* Fix indentation for ESLint compliance

**Attempted** to correct indentation on line 49 of avatars.js to pass ESLint check.

* Update avatars.js

Gave my best to fix it :(

At the very least the issue is known now.

* Update avatars.js

Removed empty characters (formatting)

* Fixed avatars.js

Fixed the issue of avatar's not changing after my recent revision.

* Update avatars.js

Accidentally left a duplicate line; removed it now

* Extract reusable function for avatar resize

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-23 23:09:54 +03:00
Cohee 2b7c0a3d37 Extensions: Check if directory is a repo root before updating/getting status 2025-06-23 22:03:41 +03:00
Cohee f84d5a037e Merge pull request #4193 from henk717/staging
KoboldAI Instruct format preset
2025-06-23 20:47:34 +03:00
Henk 42eb25dcd0 KoboldAI Instruct format preset 2025-06-23 18:56:08 +02:00
Cohee 0fa1b26fa4 Add deletion control for attached videos 2025-06-23 01:01:44 +03:00
Cohee b357e5d25e Add video preview to clean-up dialog 2025-06-23 00:39:21 +03:00
Cohee 2a1d07c46a Don't treat attached videos as unused files 2025-06-23 00:16:44 +03:00
Cohee 0599b91609 Pass yaml library to frontend 2025-06-22 23:37:44 +03:00
Cohee ebfd8a2256 Fix "Test Message" font size 2025-06-22 23:36:21 +03:00
Cohee 5ea2c48bf8 Allow message swipe gens with image attachments (#4184)
* Allow message swipe gens with image attachments

* Replace JSON.parse with structuredClone
2025-06-22 20:55:54 +03:00
Cohee 9481f9989a Closes #4187 [FEATURE_REQUEST] Allow wildcards in Banned Strings List 2025-06-22 20:35:46 +03:00
Cohee 50cd88c5dc Ollama: deprecate Mirostat params
Closes #4188
2025-06-22 18:39:28 +03:00
Cohee a2efd8792c Merge pull request #4189 from SillyTavern/staging
Staging
1.13.1
2025-06-22 18:15:27 +03:00
Cohee fb46343b85 Clarify title for WEBP bg anims toggle 2025-06-22 17:01:52 +03:00
Cohee 4376d66b33 Add timeout to extensions auto-update 2025-06-22 16:28:29 +03:00
Cohee 9014a2e3d3 1.13.0 => 1.13.1 2025-06-22 16:13:16 +03:00
Cohee 5605265862 Google: Fix image generation on deprecated models 2025-06-21 23:54:36 +03:00
Cohee 0677777a74 Fix AI Studio image generation params 2025-06-21 23:38:26 +03:00
Wandering MouseandCohee 116bef6c9f Add support for characterFilter to getEntryField and setEntryField (#4185)
* Add support for characterFilter to getEntryField and setEntryField

* No more conflicts between lint and autoformat

* Fix array type default values hint

* Properly capitalize name

* Fix search by name

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2025-06-21 22:10:56 +03:00
Cohee 40f10d7d38 TTS: Add registerTtsProvider function export 2025-06-20 23:37:36 +03:00
Cohee 1786e641f7 Image Generation: save modified prompt on image swipe gen 2025-06-20 20:56:58 +03:00