Commit Graph

326 Commits

Author SHA1 Message Date
ceruleandeep 3dad029091 Add Featherless to modelSelectMap for /model 2024-10-02 06:55:32 +10:00
Cohee bb1139bda9 Merge branch 'staging' into model-write-in 2024-10-01 21:26:34 +03:00
Cohee 89642f217d Merge branch 'staging' into send-commands-return-value 2024-10-01 19:08:34 +03:00
Cohee c76fc7d23c /model: Better support for write-in controls 2024-10-01 15:02:14 +03:00
Cohee 5489dd61a7 Pass /continue error to slash command executor 2024-10-01 14:14:19 +03:00
Wolfsblvt f6726db9fb Fix empty script injections on /listinjects 2024-10-01 01:30:20 +02:00
Cohee d82dc4952b Merge branch 'staging' into send-commands-return-value 2024-10-01 01:52:33 +03:00
Wolfsblvt f317b1b764 Oversight, missed /send in refactoring... 2024-10-01 00:41:14 +02:00
Wolfsblvt 7a1b43eb89 Refactor /classify-expressions, deprecating...
- Update /classify-expressions, deprecating the old "format"
- Fix some oversights
2024-10-01 00:37:21 +02:00
Wolfsblvt 697b3b2034 Refactor /listvar, deprecate its "format" arg
- Update /listvar
- Fix toasts not doing correct HMTL here
2024-10-01 00:23:00 +02:00
Wolfsblvt 62fd450c59 Refactor /listinjects, deprecate its "format" arg 2024-10-01 00:06:18 +02:00
Wolfsblvt e3c0c5442c Update /ask with return types, defaulting 'pipe' 2024-09-30 23:37:21 +02:00
Wolfsblvt d8379edee7 Update return types as optional via named arg
- Update the modified slash commands for chat sending to use the named arg
- Add `slashCommandReturnHelper` for shared funcitonality on return type usage
2024-09-30 23:32:24 +02:00
Cohee 0d83480e90 Merge branch 'staging' into char-find-and-sendas-extended 2024-09-30 22:15:38 +03:00
Wolfsblvt 1c65a5badd Update /ask toasts to warnings for consistency 2024-09-30 18:38:17 +02:00
Wolfsblvt 1128de91f4 /send with return value too
- /send
- return message on `sendMessageAsUser` now
2024-09-30 18:32:21 +02:00
Wolfsblvt 0ab74f0819 Update return values of send commands
- /sendas
- /sys
- /comment
2024-09-30 18:30:09 +02:00
Wolfsblvt 5952c35402 Refactor if checks on /sendas 2024-09-30 18:13:13 +02: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
Cohee 57bbd349a0 Merge branch 'staging' into char-find-and-sendas-extended 2024-09-29 13:37:09 +03:00
Cohee c3d5fba598 Support multiple in /setpromptentry 2024-09-29 12:48:40 +03: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 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
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
Cohee 38660df93f /model: fix not working on Novel/Horde 2024-09-26 23:46:03 +03:00
Cohee 8dd7a97eb3 Prevent duplicate toasts 2024-09-13 11:22:12 +00:00
Cohee 620847c4d6 Fixed logs 2024-09-13 11:12:41 +00:00
Cohee 88fab65a8f Fix /gen log 2024-09-13 11:01:59 +00:00
Wolfsblvt f5b68893d0 Improve error handling of /genraw and /gen
- /generate TC backend returns more status/error texts
- Fix /genraw and /gen returning null/undefined
- Logging errors on /genraw if backend throws an error
- Fixes #2836
2024-09-12 22:41:53 +02:00
Cohee 81cd38d4f7 #2832 /ask text non-required 2024-09-12 20:13:05 +03:00
Cohee 6a3b226da2 Still fighting /ask corruptions #2832 2024-09-12 10:02:37 +00:00
Cohee 4e67cc1bc4 One more /ask corruption fix
Closes #2832
2024-09-12 09:50:06 +00:00
Cohee 2379fd5970 Fix /ask corruption + add return value
Fixes #2832 and a skill issue
2024-09-12 10:19:03 +03:00
Cohee 86d9a80ff8 Fix restoration of current character after /ask
Fixes #2825
2024-09-11 19:34:26 +03:00
Cohee aed4a8e36d It was very close. 2024-09-10 22:37:53 +03:00
Wolfsblvt d21b24666a fix neutral avatar again 2024-09-10 20:02:26 +02:00
Wolfsblvt a989ccf318 Don't force avatar on neutral assistant chat 2024-09-10 19:44:27 +02:00
Wolfsblvt 9e73e2598e Small fix group chats not using default avatars 2024-09-10 19:15:49 +02:00