848af1fd4b
Add inject roles to slash command
2024-03-23 18:44:40 +02:00
cda7ab0530
Add /model command
2024-03-15 16:08:22 +02:00
bb53fef531
Clean-up docs and leftover logs
2024-03-06 23:10:52 +02:00
9a6824f86c
Merge pull request #1886 from parsedone/patch-2
...
Fixes [BUG] STscript parser() incorrectly manages spaces
2024-03-06 23:04:10 +02:00
975206fd06
Clean-up /fuzzy command doc comments
2024-03-03 16:04:48 +02:00
d217a4e32f
Fixes [BUG] STscript SlashCommandParser.parser() incorrectly manages spaces
...
Fixes bug SillyTavern#1884
Parses a command even when spaces are present in arguments
Examples that now work:
/buttons labels=["OK","I do not accept"] some text /fuzzy list=[ "red pink" , "yellow" ] threshold=" 0.6 " he yelled when the color was reddish and not pink | /echo
2024-03-03 04:09:58 +01:00
88f42132c2
Update slash-commands.js [BUG] STscript /fuzzy returning wrong answer
...
Implements fix of the bug #1883 "[BUG] STscript /fuzzy returning wrong answer".
Fix the params so tha /fuzzy detect when a "candidate" item is found (using fuzzy matching) in the text passed without argument name.
Also added optional "threshold" that allows to change the value used by Fuse in order to have stricter or looselier matching.
Also updated the parser.addCommand('fuzzy', fuzzyCallback
2024-03-03 03:43:44 +01:00
f0141b4dd1
Update slash-commands.js
2024-02-20 16:57:00 +02:00
095cd873de
Update slash-commands.js
...
added the word "persona" to the /sync description to make it easier for users to find.
2024-02-20 16:48:43 +04:00
8e66a14e37
Add hints to doc strings about additional command prompts
2024-02-20 02:29:14 +02:00
550d8483cc
Extend impersonate/continue/regenerate with possible custom prompts
...
- Use custom prompt provided via slash command arguments (similar to /sysgen and others)
- Use written text from textbox, if the popout menu actions are clicked
2024-02-19 22:23:58 +01:00
29b971a986
Merge branch 'staging' into slash-fix-bleed
2024-02-16 20:48:32 +02:00
a8cd6c9fe7
Allow finding characters in slash commands by exact PNG name
2024-02-16 20:24:47 +02:00
cab6f90519
stop named args from nested commands bleeding into parent
2024-02-09 22:49:38 +00:00
44a3bb8ec7
#1777 Add await argument to /trigger command
2024-02-08 00:20:36 +02:00
07677584c4
#1781 Fix /len and unescape for non-string arguments
2024-02-03 02:06:49 +02:00
2cdf928fc7
unescape args before calling callback
2024-01-26 18:58:44 +00:00
1647e5ae49
Merge pull request #1734 from khanonnie/alternative-tokens
...
Implement Token Probabilities UI panel using logprobs
2024-01-26 03:39:25 +02:00
60044c18a4
Implement Token Probabilities UI using logprobs
2024-01-25 18:34:46 -06:00
6ff998816d
#1728 Missed one
2024-01-25 03:28:30 +02:00
55984a59bb
#1728 Allow zeros in {{pipe}} macro
2024-01-24 21:19:29 +02:00
4fe13fab8e
Customizable /gen instruct name
2024-01-12 19:16:42 +02:00
d5e3f5491d
Fix formatting
2024-01-05 20:12:59 +02:00
1b86ded198
add group support to /go
2024-01-05 18:02:44 +00:00
03b80900d6
add optional named arguments to /run command
2023-12-27 12:28:15 +00:00
a85a6cf606
Allow displaying unreferenced macro in message texts
2023-12-21 20:49:03 +02:00
029cf598ce
Fix /peek command
2023-12-19 23:12:14 +02:00
f249ff8b20
Fix slash commands for offscreen group members
2023-12-18 01:39:37 +02:00
69f90a0b30
add /tokens slash command to call getTokenCount
2023-12-11 22:51:07 +00:00
6f610204d6
Merge pull request #1488 from LenAnderson/add-index-argument-to-setvar-/-setglobalvar
...
Add index argument to setvar / setglobalvar
2023-12-08 00:40:14 +02:00
2607e787ff
Put comment command on hold
2023-12-08 00:38:13 +02:00
e2f886d796
Revert pipe caching
2023-12-08 00:33:27 +02:00
65f2cc1952
add a comment slash commend /#
...
for commenting longer ST scripts
2023-12-07 18:29:28 +00:00
d52b5fb947
pass prev pipeResult through if result undefined
2023-12-07 18:28:58 +00:00
e804f27368
Convert value to string for echo. Fix return value
2023-12-07 19:37:55 +02:00
75abc6101a
/input input => /input default
2023-12-07 13:44:49 +02:00
0e6802c9d9
Too much lint
2023-12-07 13:35:48 +02:00
d6d0371459
add missing args to some slash commands
2023-12-06 19:26:29 -06:00
6e09e45651
Fix /trigger and /continue auto-execution
2023-12-02 22:34:46 +02:00
64a3564892
lint: Comma dangle
2023-12-02 22:06:57 +02:00
c63cd87cc0
lint: Require semicolons
2023-12-02 21:11:06 +02:00
9faa1e34b0
Merge branch 'staging' into singlequote
2023-12-02 20:43:41 +02:00
a28c23d295
Wait for generation unlock before running continue or trigger
2023-12-02 20:12:36 +02:00
a37f874e38
Require single quotes
2023-12-02 13:04:51 -05:00
c893e2165e
Enable no-prototype-builtins lint
2023-12-02 12:10:31 -05:00
9204a31d32
Enable no-self-assign lint
2023-12-02 10:32:07 -05:00
b0d21659eb
/inject command to add prompt injections
2023-11-28 01:44:13 +02:00
188897a3df
Add "at" argument to commands sending a message
2023-11-27 19:48:49 +02:00
edafb8dd13
Repurpose trigger command not just for groups
2023-11-27 11:16:40 +02:00
fd0edd67a6
Fix recursive QR auto-execution
2023-11-27 02:18:36 +02:00