Commit Graph

207 Commits

Author SHA1 Message Date
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
Cohee adc3eeea51 Fix /trigger getting stuck on generation lock timeout 2024-07-11 00:32:45 +03:00
Cohee daa582bb73 Fix /echo mishandling non-string values 2024-07-09 01:26:15 +03:00
Cohee 21360a97fc Fix /continue getting stuck on API errors 2024-07-08 20:12:52 +03:00
Cohee f8a55d51d2 Clearer wording and examples 2024-07-08 20:02:21 +03:00
Wolfsblvt aad65c9273 Added /continue "await" arg 2024-07-08 18:43:55 +02:00
Wolfsblvt 7de43d3a9c /stop slash command to stop generation 2024-07-03 14:44:17 +02:00
Cohee 2b30555f3a Use correct persona provider for /send command 2024-07-01 13:59:34 +00:00
Cohee 2ff1d600fc Check for avatar file name match in sendas 2024-07-01 13:44:01 +00:00
Wolfsblvt da968e127b Refactor Popup.complete to async 2024-06-30 20:44:29 +02:00
Cohee bf28ae07b3
Merge pull request #2438 from SillyTavern/commands-send-at-supports-depth
Various commands with 'at' support depth values
2024-06-29 14:33:22 +03:00
Wolfsblvt f7d3a1c942 Various commands with 'at' support depth values 2024-06-29 02:52:30 +02:00
Wolfsblvt 5c3b799d65 Fix naming inconsistencies 2024-06-29 02:24:20 +02:00
Wolfsblvt 1d6f038601 Add optional args to /echo command 2024-06-29 02:16:36 +02:00
Wolfsblvt cba2b54531 Refactor main slassh-commands into init func 2024-06-29 00:25:10 +02:00
Wolfsblvt 38792d071b Remove variable usage of 'at' arg in send commands 2024-06-28 20:48:55 +02:00
Cohee 8136293593
Merge pull request #2431 from SillyTavern/remove-slash-command-var-usages
Remove slash command var usages
2024-06-28 13:50:06 +03:00
Cohee e713b32bdc Fix empty toast suppression 2024-06-28 10:22:26 +00:00
Cohee 043eead149 Don't show empty toasts in slash command executor 2024-06-28 08:06:33 +00:00
Wolfsblvt b97dceeb7a Remove /flushinject's variable usage in unnamed 2024-06-28 04:00:32 +02:00
Wolfsblvt 11ca0dd22e Remove /send's variable usage in 'name' argument 2024-06-28 03:58:04 +02:00
Wolfsblvt 7cf5a4cb2e Remove /inject's variable usage in 'id' argument 2024-06-28 03:53:23 +02:00
Cohee cf56bfb6a9 Add 01.AI as a chat completion source 2024-06-28 00:51:09 +03:00
Cohee d9536ae3a8 Add tri-state argument for /lock command 2024-06-26 20:18:05 +03:00
Cohee 112e26a0ff Model icon for slash command messages 2024-06-26 19:48:45 +03:00
Wolfsblvt 0c402e2a5f Setup swipe data on /sendas 2024-06-26 03:13:05 +02:00
Wolfsblvt 9113fae4fe Fix /addswipe error if swipe_info not initialized 2024-06-26 02:46:53 +02:00
Wolfsblvt e7ab43527a Fix /echo command falsely stripping HTML-like text 2024-06-24 03:09:46 +02:00
Cohee 946994af22 /input should return empty string if canceled 2024-06-23 18:16:15 +03:00
Cohee bd9c10c2eb /messages text consistency 2024-06-23 18:14:10 +03:00
Cohee b105a2ef24 Add missing /trigger unnamed type, fix names for ask and delname 2024-06-23 18:10:56 +03:00
Cohee a85ac96f82 Fix /peek typings. Clarify hints for member indices 2024-06-23 18:01:16 +03:00
Cohee f3327c06ab Update trim direction emoji 2024-06-23 17:39:57 +03:00
Cohee 6594b3c7fa Inject supports variables for ID 2024-06-23 17:21:55 +03:00
Cohee d0b6243f77 Add character filter to lastsprite 2024-06-23 15:23:03 +03:00
Wolfsblvt c6c8f91c99 forceEnum:false as default & enum icon changes
- Set forceEnum to false, for now
- Switch some icons around
2024-06-22 01:04:03 +02:00
Wolfsblvt da6d77cffd Enum provider for /model 2024-06-21 21:24:37 +02:00
Wolfsblvt 48077d200b More slash command enums (nearly done) 2024-06-21 20:04:55 +02:00
Wolfsblvt ffc84f5118 Merge branch 'staging' into slash-command-enums 2024-06-20 20:38:55 +02:00
Wolfsblvt 461b1a9d87 Even more enum refactorings (not done yet)
- Add common enum icons
- enum def for existing enum types, with color description
2024-06-20 20:33:45 +02:00
Wolfsblvt dca81aef3d Small fixes to /popup, /buttons and QR popup
- FIx /popup and /buttons commands to use the new popups
- Change /buttons to utilize data results
- Fix "hide while executing" option from QR editor
- Fix QR editor throwing an error on execution
2024-06-19 01:40:22 +02:00
Wolfsblvt 7f7ecdcca8 Merge branch 'staging' into slash-command-enums 2024-06-17 07:06:26 +02:00
Wolfsblvt 6f7ef25369 Rework slash command enum values pt.2
- Fix jsconfig module resolution for imports in frontend scripts
- Add file with common slash command enum values
2024-06-17 03:30:52 +02:00
Cohee 861decd5c9 Refactor prompt entry callback 2024-06-16 13:56:43 +03:00
splitclover aa513e1e3d
Fix helpString 2024-06-16 12:36:52 +02:00
splitclover 7f284a3752
Merged redundant args for /setpromptentry 2024-06-16 12:16:56 +02:00
splitclover e5ba96d6aa
Clarify /setpromptentry descriptions 2024-06-16 04:43:45 +02:00
splitclover 716d407753
Add /setpromptentry command to manipulate chat completion presets 2024-06-16 04:37:42 +02:00
Len 5cb319771d
Parser followup (#2377)
* set pipe to empty string on empty closure

* fix missing parser flags and scope

* add closure serializing

* add enum provider function to slash command arguments

* add enum providers for /bg, /ask, and /go

* fix index out of bounds returning undefined

* keep whitespace as is in mixed unnamed args (string+closure)

* add _hasUnnamedArgument to named arguments dictionary

* allow /var key=x retrieval

* add enum provider to /tag-add

* fix typo (case)

* add option to make enum matching optional

* add executor to enum provider

* change /tag-add enum provider to only show tags not already assigned

* add enum provider to /tag-remove

* fix name enum provider excluding groups

* remove void from slash command callback return types

* Lint undefined and null pipes

* enable pointer events in chat autocomplete

* fix type hint

---------

Co-authored-by: LenAnderson <Anderson.Len@outlook.com>
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-06-15 00:48:41 +03:00