1034 Commits

Author SHA1 Message Date
Cohee
c7dc63200a Merge branch 'staging' into ruRuNew 2024-06-16 15:56:07 +03:00
Cohee
b22bc47c4f Update ext.macro calls in built-in extensions 2024-06-15 01:40:16 +03:00
Cohee
2aa8564522 Substitute params with addl. macro 2024-06-15 01:22:15 +03: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
Yokayo
10a4e54a3b Another small fix 2024-06-12 17:15:56 +07:00
Yokayo
839d79f407 Small fix 2024-06-12 16:50:08 +07:00
Yokayo
a1a9f0002c Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-06-12 16:31:11 +07:00
Yokayo
84ee968ab4 More localizable text 2024-06-12 16:30:32 +07:00
Wolfsblvt
679b3587b5 Data attribute for the currently open menu_type
- Add data attribute to the right nav panel for the currently open menu type
- JSDoc of possible menu_type values
- Refactor using the menu_type setter
- Remove legacy "settings" menu type, as that one is not part of those really
2024-06-11 02:54:06 +02:00
Cohee
bb48dfe084 Add await arg to /imp command 2024-06-09 18:36:52 +03:00
Cohee
671b7ef7cb Add just a chat fields list from server 2024-06-06 02:05:26 +03:00
Cohee
ff241dd0a9 Add events for completed prompts 2024-06-06 00:23:12 +03:00
Wolfsblvt
f04bbdf112 Small changes to /rename-char 2024-06-05 20:24:50 +02:00
Wolfsblvt
858e5f2efb /rename-char slash command
- Rename char slash command (with optional parameters for silent and rename old chats)
- JSDoc fix for STscript named args in callbacks
2024-06-05 02:19:22 +02:00
Cohee
340b3920ac
Merge pull request #2344 from Wolfsblvt/fix-tags-on-char-creation
Fix adding tags on char/group creation again
2024-06-04 17:09:32 +03:00
Wolfsblvt
e8aba9fa5f Fix adding tags on char/group creation again 2024-06-04 00:32:30 +02:00
Wolfsblvt
98905e0e53 Slight layout fixes to the char import popup
- Need to pull my "wider" popup type from the other branch, because 1/1 aspect ratio scaling is just bad
- Add a few tailwind-like classes for ul-li styling
- Add <kbd> element styling for keyboard buttons
2024-06-03 01:17:19 +02:00
Cohee
91061c1d55 Fix i18n, make dialog wide 2024-06-03 01:49:01 +03:00
Wolfsblvt
e93bc49b36 Support importing multiple URLs on external import 2024-06-02 23:44:50 +02:00
Cohee
20d12dc98e (WIP) Import JSON from .charx 2024-06-02 00:28:41 +03:00
kingbri
4528655bb7 Textgen: Add multiswipe support for TabbyAPI
Tabby now supports batching and the "n" parameter for both non-streaming
and streaming. Add this into SillyTavern.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-28 00:55:57 -04:00
Cohee
a20c6bb01e Extension framework for function tool calling 2024-05-25 15:31:57 +03:00
Cohee
439ef0dc5e #2308 Preserve itemized prompts for branches and checkpoints 2024-05-25 00:07:36 +03:00
Cohee
da4f0f53be Resolve char macros to message name in first message display 2024-05-24 23:41:27 +03:00
Cohee
7dc3b06d0f /api returns current name if no params 2024-05-24 20:34:29 +03:00
Cohee
a11231dd2e Revert export removal 2024-05-23 01:47:06 +03:00
Wolfsblvt
ab8c67ede6 Refactor overwrite check to utility function
- Refactor overwrite check to utility function
- Don't mind me refactoring character delete functions. I tried something, but I think the refactoring still makes sense
2024-05-22 23:52:35 +02:00
Gabraham
a9c3a808ac Merge remote-tracking branch 'upstream/staging' into Gabraham/Markdown-Single-Space-Indent 2024-05-22 04:03:33 -04:00
Gabraham
d5533854cc Merge branch 'staging' into Gabraham/Markdown-Single-Space-Indent 2024-05-22 00:57:08 -04:00
Cohee
0371bf4e9f Revoke 1-time object URLs 2024-05-22 01:36:38 +03:00
Cohee
319b0a543c Enable markdown strikethough 2024-05-21 16:58:42 +03:00
Cohee
b1c9fee29e #2188 Make first message not required 2024-05-21 15:46:41 +03:00
Cohee
c21deb3a8c #2289 Fix message translation on edit 2024-05-21 14:23:18 +03:00
Cohee
3dc4c8ca39 #2284 Persona description in-chat-at-depth 2024-05-21 01:57:04 +03:00
Cohee
0d68473010 Fix client version display on welcome message 2024-05-20 21:50:57 +03:00
Cohee
0c36d4e67d Merge branch 'staging' into ru-l10n 2024-05-20 21:45:02 +03:00
RossAscends
8d2b7a15dc don't hide close button on unzoomified avatars 2024-05-20 12:23:54 +09:00
RossAscends
67381cf493 fix zoomedAvatar resize and movement 2024-05-20 12:18:30 +09:00
Cohee
cf28d6653c Import characters from RisuRealm by URL 2024-05-19 20:19:20 +03:00
Cohee
1eca18f287 Merge branch 'staging' into ru-l10n 2024-05-19 19:48:38 +03:00
Yokayo
6671c9aa80 Move dynamic html to templates 2024-05-19 21:49:43 +07:00
Cohee
dd06fddd17 #2267 Fix multiswipe mutating the array returning by the streaming provider 2024-05-19 16:38:18 +03:00
Cohee
e9c5618b10 Force generate unlock on wrapped API error 2024-05-19 16:25:22 +03:00
RossAscends
c7232ae23c WIP textgen API custom sampler display 2024-05-19 15:06:29 +09:00
Cohee
748dd5f2e6 Remove duplicate command registration 2024-05-17 15:04:53 +03:00
Cohee
71a3e2c91b Don't modify response length when changing mancer model 2024-05-17 00:19:43 +03:00
Cohee
964f53273c Emit event after edited message is updated 2024-05-16 23:13:11 +03:00
steve green
3389b5dd16
allow custom source url (#2255)
* Update script.js to allow custom source url

* type hint fix

* fixes
2024-05-16 22:16:57 +03:00
Cohee
e026ddf6be
Merge pull request #2246 from Wolfsblvt/tag-folders-folder-filter
Tag folders folder filter
2024-05-16 22:08:28 +03:00
Wolfsblvt
a6333f3285 Sort tag folder inline avatars too 2024-05-16 00:05:03 +02:00