Commit Graph

135 Commits

Author SHA1 Message Date
Juha Jeronen
1184ea2c3b clarity 2024-01-08 00:47:18 +02:00
Juha Jeronen
3f3e68c492 document some functions 2024-01-08 00:46:54 +02:00
Cohee
ad94ba57b1 Move clear function names 2024-01-07 21:14:29 +02:00
Juha Jeronen
5bc08ab8c1 check also that expressions is running with extras 2024-01-06 02:48:39 +02:00
Juha Jeronen
e6ade18b58 ehm, once more, correctly. 2024-01-06 02:23:10 +02:00
Juha Jeronen
d1e9c59e72 meh, don't check for static sprite, correctly 2024-01-06 02:17:07 +02:00
Juha Jeronen
2d85d7e1e1 talkinghead mode: don't check for existence of static emote sprite 2024-01-06 02:10:09 +02:00
Juha Jeronen
a7c6f4f56e refresh live char when a new talkinghead image is uploaded 2024-01-06 02:09:34 +02:00
Juha Jeronen
7f4a45a4a3 add comment 2024-01-06 02:09:27 +02:00
Cohee
6c03e81d8d chore: format fix 2024-01-05 15:45:05 +02:00
Juha Jeronen
77c11b8f2b set_emotion is not supported by old talkinghead versions 2024-01-05 12:15:24 +02:00
Juha Jeronen
059f61fee8 add "/emote xxx" support for talkinghead (when VN mode off) 2024-01-02 02:18:54 +02:00
Cohee
30732ada32 Lint fix 2024-01-01 16:08:24 +02:00
LenAnderson
a2aa8ba6a0 add export and slash command for last set expressions 2023-12-30 11:37:13 +00:00
Cohee
e1afe41c91 Fix custom expression duplication 2023-12-21 16:50:30 +02:00
Cohee
64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee
c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
valadaptive
a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive
518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive
b023312117 Enable no-useless-escape lint 2023-12-02 10:32:26 -05:00
Cohee
5dd6665505 Don't set negative zIndex for regular image when using group VN mode 2023-11-28 11:40:39 +02:00
Cohee
c742251c5a Mobile sprites fixes: hide non-VN sprite, fix group VN position, fix live2d conflicts 2023-11-27 03:22:35 +02:00
RossAscends
fe21a7c25b Add toggle for hiding muted group member sprites 2023-11-22 07:48:35 +09:00
Cohee
fadd92a6c3 Fix expressions sometimes getting stuck when switching chats 2023-10-29 23:15:40 +02:00
Cohee
635df947c5 Increase classify sampling window; 300=>500 chars 2023-10-23 02:14:29 +03:00
Cohee
63b34d9851 Call expression module worker when switching chats 2023-10-23 01:56:27 +03:00
kingbri
dfa25a1796 Commands: Add ask command
The ask command aims to ask another character about a question or
topic from the current chat. Essentially, the current chat is taken
out and prompted to another character.

This command also requires a few fixes to sprites and prompt creation.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-10-16 02:12:12 -04:00
Cohee
57bf499ce9 Fix group expressions 2023-10-08 11:22:48 +03:00
SDS
5848ec498b
Assorted fixes and improvements (#1208)
* Kobold Presets fixed

* Help texts fixed

* Scale API for connectAPISlash

* Quick Reply checkboxes fixed

* New Instruct Mode Presets

* More date/time macros

* ChatML context template and instruct prompt format

* Mistral context template and instruct prompt format

* Removed use_default_badwordsids from kobold presets

* Renamed ChatML to Mistral-OpenOrca (ChatML)

* Renamed Mistral-OpenOrca (removed ChatML)

* Removed single_line from kobold presets

* Removed obsolete use_stop_sequence setting

* Ban EOS Token off by default

* Split AI Resp. Conf. in global and preset-specific settings

* Resolve conflicts

* Fix title

* Add translations for new help texts

* Fix i18n.json whitespace

* Make Mistral-OpenOrca system prompt more generic

* Renamed "Mistral-OpenOrca" to "ChatML" again

* More (UI) fixes and improvements

* Sendas hint fixed

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2023-10-07 19:25:36 +03:00
Cohee
5fbb232d69 Fix sprites plugin console spam 2023-09-21 21:15:05 +03:00
Cohee
e9c459690f Don't classify when no sprites/default. H-center sprite in non-waifu mode 2023-09-18 01:49:00 +03:00
Cohee
ab9aa28fe4 Move missed endpoints 2023-09-16 18:03:31 +03:00
Cohee
38b63b07f5 Extract sprite and custom content endpoints to a separate files. Update constants references 2023-09-16 17:28:28 +03:00
Cohee
5827f9638f Fix /emote in groups 2023-09-15 01:17:24 +03:00
Cohee
b24509ef43 Visual touchup of custom expressions 2023-09-14 21:41:30 +03:00
Cohee
7553efc308 Custom char expressions 2023-09-14 21:30:02 +03:00
Cohee
9fb4b3425e Costume subfolders 2023-09-14 19:12:54 +03:00
Cohee
182216e711 /costume slash command 2023-09-14 18:37:13 +03:00
Cohee
77a28c7131 Don't hide expressions menu if no chat open 2023-09-13 15:19:10 +03:00
Cohee
7f55d108cf Don't use talkinghead with local classification model 2023-09-11 13:01:45 +03:00
Cohee
9a5e667674 Throttle classification requests during streaming 2023-09-10 20:14:57 +03:00
Cohee
4cf6a1f7da Cache and sample classification results 2023-09-09 17:31:27 +03:00
Cohee
967a084aad (WIP) Local emotion classification pipeline 2023-09-09 15:14:16 +03:00
Cohee
89705391d1 Fix getSpriteFolderName function call 2023-09-07 17:52:37 +03:00
Cohee
bbe52886da Slash command to set sprite / emote. Also allow to do it per click even in online mode 2023-09-07 17:48:12 +03:00
Cohee
7b51d94e1b Add check for module before offloading TH sprite 2023-08-29 21:50:26 +03:00
Cohee
409eef6e46 Extract expressions HTML to templates 2023-08-25 23:48:59 +03:00
Tony Ribeiro
011834b8fc
Merge branch 'SillyTavern:staging' into staging 2023-08-25 02:55:05 +02:00
Cohee
acdd6dad1b Fix sprite animation 2023-08-25 02:07:59 +03:00
Tony Ribeiro
a622810c38
Merge branch 'SillyTavern:staging' into staging 2023-08-25 00:45:34 +02:00
RossAscends
ce5e706fac topbar resize, font scaling fix, mobile slider fix 2023-08-25 07:06:52 +09:00
Tony Ribeiro
25daa61e83 Audio module proper extension code. Dedicated Audio extension scripts. Simple UI to adjust bgm/ambient. Load bgm per character from character folder and switch audio dynamically w.r.t. expression. Ambient sound updated when background change. 2023-08-21 23:33:30 +02:00
Tony Ribeiro
8590de7229 Redesigned RVC UI for easier use and intelligibility 2023-08-21 23:33:30 +02:00
Tony Ribeiro
51fdff5ea3 Prototype of dynamic background music using expression extension 2023-08-21 23:33:30 +02:00
Cohee
106f7afdcb Slight performance increase for opening large World Infos 2023-08-20 13:15:02 +03:00
deffcolony
33a5a026d5 removes width: 100% from img.expression
this will fix the image resolution on mobile
2023-08-18 15:13:41 +02:00
Cohee
9bd9ddb9e1 Fix expressions display 2023-08-18 14:47:59 +03:00
joe
5feebd4897 live2d -> talking head 2023-08-11 06:55:05 +09:00
joe
e4f22fdc99 live2d -> talkinghead 2023-08-11 06:52:14 +09:00
Cohee
2e81e47967 Fix default expressions 2023-08-10 12:47:56 +03:00
Cohee
2622999284 #911 Fix expressions 2023-08-10 12:42:52 +03:00
joe
c18a845f64 Fix duplicate call by mistake 2023-08-04 16:35:30 +09:00
joe
853d81e67c Bug and performance Fix's 2023-08-04 14:54:01 +09:00
joe
791b18d78e Removed old code 2023-08-04 11:25:58 +09:00
joe
708b065300 Merge branch 'staging' 2023-08-04 09:32:02 +09:00
joe
140b86d822 updates 2023-08-04 09:27:01 +09:00
pyrater
8f1321f09d
Update index.js 2023-08-04 09:26:17 +09:00
pyrater
9333340175
Update index.js
somehow display:none; was missing from line 1183
2023-08-04 09:21:52 +09:00
joe
4698f0f765 Perfomance Increase for unloading animation 2023-08-04 08:29:39 +09:00
pyrater
f106666ded
Merge branch 'SillyTavern:staging' into staging 2023-08-04 06:43:17 +09:00
Cohee
0a12fe0bdb Unhide expression holder on setting live2d sprite 2023-08-03 14:07:50 +03:00
joe
56a4a6eb83 Bug fix 2023-08-03 20:01:35 +09:00
joe
4b7c837fe3 Removed unneeded IF 2023-08-03 19:29:48 +09:00
joe
aebdd6cd42 Fallback expression and tweak 2023-08-03 19:23:15 +09:00
joe
9f44a72d76 Setting Tracking Live2d 2023-08-03 19:05:21 +09:00
Cohee
9d023dc3b1 Load live2d by posting a file 2023-08-01 23:57:04 +03:00
Cohee
7f86551ab4 Don't try to load live2d if variable is disabled or module is not loaded to Extras 2023-08-01 16:33:30 +03:00
Cohee
16b45f1ea9 Reformat new code 2023-07-31 20:56:05 +03:00
joe
4939387bbf Updated based on feedback 2023-07-31 19:14:15 +09:00
joe
4c14b8ee2d Updated Static URL 2023-07-31 19:01:45 +09:00
joe
0bbcf0db83 Updated non static URL Calls 2023-07-31 18:54:50 +09:00
joe
7824a18103 Live2d Commits 2023-07-31 16:09:36 +09:00
joe
0eef05908d live2d addition 2023-07-31 14:52:30 +09:00
RossAscends
e2c7f770e4 fix default expressions 2023-07-21 06:06:00 +09:00
Cohee
edd41989fd Initial commit 2023-07-20 20:32:15 +03:00