Commit Graph

513 Commits

Author SHA1 Message Date
LenAnderson c10e298777 fix old popup closing next popup 2023-12-02 21:22:58 +00:00
Cohee ff46a249d8 Add {{maxPrompt}} macro 2023-12-02 22:47:43 +02:00
Cohee 6e09e45651 Fix /trigger and /continue auto-execution 2023-12-02 22:34:46 +02:00
Cohee 64a3564892 lint: Comma dangle 2023-12-02 22:06:57 +02:00
Cohee 08fedf3a96 lint: Use 4 space indent 2023-12-02 21:56:16 +02:00
Cohee c63cd87cc0 lint: Require semicolons 2023-12-02 21:11:06 +02:00
Cohee 9faa1e34b0 Merge branch 'staging' into singlequote 2023-12-02 20:43:41 +02:00
Cohee a28c23d295 Wait for generation unlock before running continue or trigger 2023-12-02 20:12:36 +02:00
valadaptive a37f874e38 Require single quotes 2023-12-02 13:04:51 -05:00
valadaptive 518bb58d5a Enable no-unused-vars lint
This is the big one. Probably needs thorough review to make sure I
didn't accidentally remove any setInterval or fetch calls.
2023-12-02 12:11:19 -05:00
valadaptive 39bbef376f Enable no-undef lint
I'm not sure where run_edit is supposed to go or if any logic is
missing. I just made my best guess.
2023-12-02 12:11:19 -05:00
valadaptive 66f704bdda Refactor prompt itemization to not redeclare vars 2023-12-02 12:11:19 -05:00
valadaptive 45ad0683d9 Remove characterName silliness
If mes.name is name1, we set it to name1. Otherwise, we set it to
mes.name. It's always mes.name.
2023-12-02 12:10:31 -05:00
valadaptive b023312117 Enable no-useless-escape lint 2023-12-02 10:32:26 -05:00
valadaptive 0a27275772 Enable no-extra-semi lint 2023-12-02 10:32:26 -05:00
valadaptive 27e63a7a77 Enable no-case-declarations lint 2023-12-02 10:32:26 -05:00
Cohee 6b348f6128 Fix trailing stopping strings removal 2023-12-01 18:55:11 +02:00
Cohee bb9d302c3a Don't skip ephemeral stop strings if there are no custom stop strings 2023-12-01 17:18:30 +02:00
RossAscends 59880ee171 disallow newlines in onboarding username 2023-12-01 17:43:05 +09:00
RossAscends 862fc56b39 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-12-01 11:39:39 +09:00
RossAscends c050f2c44d better manual input for normal sliders 2023-12-01 11:39:37 +09:00
Cohee bb727d5f9c Insert files before user text, not after 2023-12-01 03:54:28 +02:00
Cohee ddd4fac38c Fix {{mesExamples}} strip behavior with in story string 2023-11-30 19:47:57 +02:00
Cohee 19df1f52cd Vector storage file retrieval 2023-11-30 00:01:59 +02:00
Cohee e0bf2b8e3e [FEATURE_REQUEST] Sending PDF/HTML files? #1414 2023-11-29 17:51:30 +02:00
Cohee b0d21659eb /inject command to add prompt injections 2023-11-28 01:44:13 +02:00
Cohee 188897a3df Add "at" argument to commands sending a message 2023-11-27 19:48:49 +02:00
Cohee edafb8dd13 Repurpose trigger command not just for groups 2023-11-27 11:16:40 +02:00
dllt98 50ebd1cf66
Add support for importing character from JanitorAI (#1401)
* Add Janny support

* Add description

* Remove unofficial JanAI mirror
2023-11-27 03:29:19 +02:00
Cohee f04c277f03 Add optional {{mesExamples}} to story string 2023-11-26 19:47:23 +02:00
Cohee fb08552d46 Add instruct mode sequence macros 2023-11-26 16:37:05 +02:00
Cohee c328d6f04a Add QR auto-exec on app startup 2023-11-26 02:12:31 +02:00
RossAscends df15a00430 resolve roll&random before parsing macro var commands 2023-11-26 06:27:13 +09:00
Cohee 67fa9c9595 Allow dice rolls in {{random}} 2023-11-25 20:11:47 +02:00
RossAscends 9645034b09 reverse compatibility for old random method 2023-11-26 03:08:03 +09:00
RossAscends 2bed9fde70 {{random}} split on :: to allow empty items & commas in items 2023-11-26 01:28:33 +09:00
Cohee adb3badcc1 Add /messages and /setinput commands 2023-11-24 17:12:59 +02:00
Cohee dd17c2483f Add lock=on/off to /gen and /genraw commands 2023-11-24 15:18:49 +02:00
Cohee 863554fea6 Add ephemeral stop strings to /genraw 2023-11-24 00:51:27 +02:00
Cohee c2e3bfa06d /genraw instruct=off 2023-11-24 00:36:35 +02:00
Cohee 3594c4aac7 Add {{newline}} and {{pipe}} macros 2023-11-23 22:56:52 +02:00
Cohee 6d0982e823 Unleash the variables / STscript alpha 2023-11-23 22:36:48 +02:00
RossAscends e672a7fe99 'New Chat' in Manage Chats & showLoader when delChat-ing 2023-11-23 17:20:31 +09:00
Cohee 57f303223b Don't add extra space on non-instruct continue 2023-11-22 16:34:25 +02:00
Cohee 73eeab9ace Don't display incomplete sentences in quiet-to-loud prompts if trim is enabled 2023-11-22 16:21:43 +02:00
Cohee 61908935f5 Stop string for user-continue. Trim spaces after name2 2023-11-22 16:16:48 +02:00
Cohee 55af72cb17 /addswipe command 2023-11-22 01:26:17 +02:00
Cohee 59e558fba5 Don't execute commands on dry runs 2023-11-22 00:50:41 +02:00
Cohee 73e081dd99 Don't use global state to build Chat Completion prompts 2023-11-21 14:38:15 +02:00
Cohee f60e74fbd9 Fix message timer showing NaN in some cases 2023-11-20 22:53:51 +02:00