272 Commits

Author SHA1 Message Date
Cohee
aa3cb62b4c Fix /echo escapeHtml being false by default 2024-09-07 14:46:21 +03:00
Cohee
c77c3d8f37 Extend quiet effect in /model 2024-09-07 13:36:21 +03:00
Cohee
ed115d4e11 Add quiet argument to /api-url 2024-09-07 13:09:10 +03:00
Wolfsblvt
2385c5a59a Change popup cancel result in command to empty str 2024-09-07 01:21:04 +02:00
Wolfsblvt
43b08cdd64 Refactor /popup to actual booleans
- still supports on/off, no worries.
2024-09-06 23:56:26 +02:00
Wolfsblvt
a3468db94e Allow /popup to optionally return popup result 2024-09-06 23:29:18 +02:00
Wolfsblvt
e4e10c3d6b /popup allow header arg, with sanitization 2024-09-06 23:14:52 +02:00
Wolfsblvt
a9c0dd38c7 Refactor /popup args and docs, add 'cancelButton' 2024-09-06 22:38:02 +02:00
Wolfsblvt
a9e4bef01b Add wider and transparent styles to /popup 2024-09-06 22:22:35 +02:00
Cohee
c68b344b60 Add quiet args to /instruct and /model 2024-09-06 23:09:06 +03:00
Cohee
50217e37b8 Spell CSS consistently 2024-09-06 22:27:53 +03:00
Wolfsblvt
63c6fbaf58 /echo html allowed sanitize title too 2024-09-06 21:18:16 +02:00
Wolfsblvt
50a716a593 Update /echo docs helpstring 2024-09-06 20:53:39 +02:00
Sneha C
fc942842b9
Update slash-commands.js
added some examples to /echo command
2024-09-06 22:39:30 +04:00
Wolfsblvt
25d8286dfc DOM.purify toast if HTML is allowed 2024-09-06 20:31:13 +02:00
Wolfsblvt
0d9843cdd6 clear onProgress before closure for no progress 2024-09-06 20:21:32 +02:00
Wolfsblvt
ad04d0c9a2 Fix async closure call not clearing progress 2024-09-06 20:01:45 +02:00
Wolfsblvt
e48ff8daae Add check for closure type 2024-09-06 19:49:32 +02:00
Wolfsblvt
de8732fad6 Add onClick arg to /echo executing closures
- Adds the 'onclick' slash command arg to /echo
- It utilizes the Closure object without serialization, using the exact same scope it received on creation. Should be mindful about memory leaks and possible parallel execution.
2024-09-06 19:32:35 +02:00
Wolfsblvt
885a014507 Add escapeHtml arg to /echo 2024-09-06 19:03:21 +02:00
Wolfsblvt
a4e72da40f Add color arg to /echo for custom color 2024-09-06 18:55:50 +02:00
Wolfsblvt
c9ed91099f Add cssClass arg to /echo 2024-09-06 18:46:35 +02:00
Wolfsblvt
d663be53ac Refactor deleteSwipe from callback into func 2024-09-01 23:12:33 +02:00
Cohee
2a598fb706 Allow /gen with empty prompts 2024-08-24 15:22:50 +03:00
Cohee
976be98dd7 Move command registration 2024-08-19 21:31:58 +03:00
Succubyss
43e64cffa2 use push instead of fixed size array 2024-08-18 15:37:31 -05:00
Succubyss
d263e3e33a switch to filter method 2024-08-18 14:44:48 -05:00
Succubyss
5e354f22c5 getMessagesCallback: refactor to async 2024-08-18 14:23:21 -05:00
Cohee
abdf1f29cf Add support for Kobold Classic 2024-08-18 12:18:06 +03:00
Cohee
7b3d13ac00 Move command from script.js 2024-08-18 12:02:15 +03:00
Cohee
8df27254fd
Merge pull request #2640 from edk208/release
Adding Block Entropy API endpoints for chat, image, and video generation
2024-08-11 16:19:14 +03:00
Wolfsblvt
7ffc69b83b /delswipe returns current swipe id 2024-08-09 00:38:51 +02:00
Wolfsblvt
2ce58bb0a6 Allow switching on /addswipe
- Add optional "switch" arg to /addswipe
- Make /addswipe return the new swipe id
2024-08-09 00:37:26 +02:00
Edward Kim
b9857eb315 Added block entropy endpoints for chat and image 2024-08-08 00:08:03 -04:00
LenAnderson
2470f775e2 Merge branch 'staging' into parser-followup-2 2024-07-28 08:32:25 -04:00
Cohee
bdafa09c1b
Merge pull request #2572 from SillyTavern/theme-command-improvements
/theme allows returning current theme & fix /theme and /bg doc
2024-07-28 11:51:41 +03:00
joenunezb
211c671cb6 FIX: Properly handle text responses when character name is not provided in sendas cmd 2024-07-27 21:29:37 -07:00
Wolfsblvt
6b1045ab52 Update /bg docs to match the actual command 2024-07-28 01:17:11 +02:00
Cohee
87e562b752 Allow "none" position for extension prompt injects 2024-07-28 00:26:44 +03:00
LenAnderson
b7e8f8faaa don't let progress bar go backwards 2024-07-26 22:26:52 -04:00
LenAnderson
0d75ca9a5d add BreakController to /run closure 2024-07-23 16:27:27 -04:00
LenAnderson
621ef197da don't update command progress CSS property if not changed
performance improvement from luccy
2024-07-22 18:28:30 -04:00
LenAnderson
5dc7b4567d Merge branch 'staging' into parser-followup-2 2024-07-22 12:44:07 -04:00
Succubyss
a712e92125 moves persona's alias line upward 2024-07-21 16:19:47 -05:00
LenAnderson
10b9fdd06d add /pick-icon to show Font Awesome icon picker 2024-07-16 09:28:33 -04:00
LenAnderson
956a676390 fix return for /run with closure 2024-07-12 15:05:39 -04:00
LenAnderson
3327be5468 Merge branch 'staging' into parser-followup-2 2024-07-12 08:33:28 -04:00
Cohee
4895b6def8 Use enumList for /fuzzy 2024-07-11 21:19:09 +03:00
Cohee
aadc8d74a2 #2513 Add 'mode' argument for /fuzzy 2024-07-11 21:05:42 +03:00
LenAnderson
6d003cf140 Merge branch 'staging' into parser-followup-2 2024-07-10 17:35:17 -04:00