Commit Graph

6013 Commits

Author SHA1 Message Date
Cohee
bc05c8de15
Merge pull request #2923 from SillyTavern/fix-piping-split-unnamed-args
Fix piping not actually using/inputting an array for empty unnamed args
2024-09-30 23:25:20 +03:00
Cohee
0d83480e90 Merge branch 'staging' into char-find-and-sendas-extended 2024-09-30 22:15:38 +03:00
Wolfsblvt
140aeb2bb7 Fix piping not using array for empty unnamed args
- Lenny said if `splitUnnamedArgument` is enabled, the callback should always receive an array.
- It is intended that if no value was provided, it'll get an array with an empty string. Because.. if no argument was provided for a non-split arg, it'll receive an empty string too.
2024-09-30 20:22:44 +02:00
Cohee
dedb96ec8d Don't trim on whitespace user prefix sequence 2024-09-30 15:05:15 +00:00
RossAscends
8cb4aa6a49 whoopsie daisey 2024-09-30 22:00:38 +09:00
RossAscends
da161b9628 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2024-09-30 21:49:41 +09:00
RossAscends
020741d78b make AF panel toggles red and opaque when disabled 2024-09-30 21:49:39 +09:00
Cohee
8061f45368 RossMods: Debounce online status display 2024-09-29 19:13:19 +03:00
Cohee
2f43c8e227 Fix /ask in neutral chats 2024-09-29 19:12:26 +03:00
Wolfsblvt
314771fd9a Fix /sendas wrong name being used 2024-09-29 17:32:18 +02:00
Wolfsblvt
7c2fcbc522 Fix non-provided name not correctly preferring cur 2024-09-29 17:00:28 +02:00
Cohee
9f0c2300d2 Add connection map aliases 2024-09-29 16:24:40 +03:00
Wolfsblvt
8e445c75ae Fix bug with undefined char on empty chats 2024-09-29 13:38:15 +02:00
Cohee
57bbd349a0 Merge branch 'staging' into char-find-and-sendas-extended 2024-09-29 13:37:09 +03:00
Cohee
53424d4c8e
Merge pull request #2917 from SillyTavern/st-parser-accept-multiple-named
STscript allow named arguments to be an array
2024-09-29 13:36:33 +03:00
Cohee
c3d5fba598 Support multiple in /setpromptentry 2024-09-29 12:48:40 +03:00
Wolfsblvt
cc527a3a33 Correct async calls to init scrapers 2024-09-29 11:27:07 +02:00
Wolfsblvt
ab83138b1e missing closing tag 2024-09-29 11:02:54 +02:00
Wolfsblvt
44c8d45957 missing import 2024-09-29 04:02:00 +02:00
Wolfsblvt
d7bad6335c Refactor findChar to utils
- Refactor and move finChar to utils, instead of slashcommands function
- Refactor scrapers to use actual init functionality
2024-09-29 03:20:01 +02:00
Wolfsblvt
edcf52e3a8 Update more commands for new char find
- Update /member-add to utilize new char find functionality
- Update /tag-add, /tag-remove, /tag-exists and /tag-list to utilize new char find functionality
. Update /lastsprite to utilize new char find functionality
2024-09-29 02:54:12 +02:00
Wolfsblvt
145023ba8d Update existing slash commands to findChar
- Update /gen to utilize new char find functionality
- Update /go to utilize new char find functionality
- Update /delname to utilize new char find functionality
- Change /send persona search to equalsIgnoreCaseAndAccents
2024-09-29 02:36:33 +02:00
Wolfsblvt
d6e52dbb97 Update /ask with new char find functionality 2024-09-29 02:14:06 +02:00
Wolfsblvt
ca009dee59 Respect tags for current char(s) selection
- Respect tags for prefer current char(s)
- Fix preferCurrentChar not being true by default
2024-09-29 01:17:13 +02:00
Wolfsblvt
5a0e70e8fa Add "quiet" to /char-find 2024-09-29 00:55:41 +02:00
Wolfsblvt
231ea98b25 Update /sendas to work with findChar 2024-09-29 00:53:43 +02:00
Wolfsblvt
5295c4c023 Merge branch 'staging' into char-find-and-sendas-extended 2024-09-29 00:41:34 +02:00
Wolfsblvt
0be48c567a /char-find command to get a specific unique char
- findChar utility function that does the heavy lifting of finding a specific char based on conditions
- Log/warn if multiple characters match
- Validation function for named args that should be arrays
2024-09-29 00:36:13 +02:00
Cohee
14b48c5b34 Add warning for trim spaces disabled 2024-09-29 01:28:02 +03:00
Cohee
42cfeae8ab Adjust WI headers 2024-09-29 01:17:22 +03:00
Cohee
c37a83836a Arrows on selects always visible 2024-09-29 01:17:15 +03:00
Wolfsblvt
898c6471c4 Fix WI Entry Status tooltip, no disabled anymore 2024-09-29 00:03:34 +02:00
Cohee
5d60897cfa Fix drawer icon not changing on WI 2024-09-29 01:00:56 +03:00
Wolfsblvt
20a82fb242 Merge branch 'st-parser-accept-multiple-named' into char-find-and-sendas-extended 2024-09-28 22:40:22 +02:00
Wolfsblvt
22d8a654d9 Allow searching on /sendas via tag= 2024-09-28 22:22:44 +02:00
Wolfsblvt
4594353c72 Add avatar= to /sendas to allow avatar override 2024-09-28 22:22:44 +02:00
Wolfsblvt
d8e57c507f Allow case-insensitive name search 2024-09-28 22:22:44 +02:00
Wolfsblvt
6714bb8c15 Prefer current char if multiple have the same name
- Match against current chat character first
- Also removed avatar-key matching, it was broken
2024-09-28 22:22:44 +02:00
Wolfsblvt
d231b7f5f4 "acceptsMultiple" should always return array 2024-09-28 22:14:33 +02:00
Wolfsblvt
2444e9be43 STscript allow named arguments to be an array
- Use named args definition and "acceptsMultiple" to build arrays of values, if provided
- Add a debug warning if non-multiple named args are provided multiple times
2024-09-28 21:59:29 +02:00
Yokayo
9041eb8081
Remove debug stuff 2024-09-28 21:54:44 +07:00
Yokayo
78a287e7f5 Resolve conflict 2024-09-28 21:31:13 +07:00
Yokayo
bb76649478 Update tl 2024-09-28 20:47:37 +07:00
Cohee
ac1bc95551 Xtra Type Cafety 2024-09-28 13:59:03 +03:00
Cohee
b1bb41313f Insert missing ooba samplers 2024-09-28 13:56:57 +03:00
Cohee
8bd1c88d15 Enable XTC 2024-09-28 13:52:55 +03:00
Cohee
e59dacc27f Merge branch 'staging' into xtc-ooba 2024-09-28 13:49:49 +03:00
Cohee
5fa574b851 Alt.greetings br0ke 2024-09-28 02:03:11 +03:00
Cohee
eaefcaa6bc Fix QR editor sizing 2024-09-28 01:00:07 +03:00
Cohee
3b27c90a19 Don't allow empty stop strings 2024-09-27 21:08:28 +03:00